staking

package
v0.0.0-...-9d9ea44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Staking

type Staking struct {
	// contains filtered or unexported fields
}

func NewStaking

func NewStaking(logger *log.Entry, client *ethclient.Client) (*Staking, error)

func (*Staking) Stakes

func (s *Staking) Stakes(stakerAddr string) (big.Int, error)

func (*Staking) TotalVotedStakes

func (s *Staking) TotalVotedStakes(votee string) (big.Int, error)

func (*Staking) TotalVotedStakesCached

func (s *Staking) TotalVotedStakesCached(votee string) (*big.Int, error)

func (*Staking) VotersForStaker

func (s *Staking) VotersForStaker(votee string) ([]string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL