Documentation
¶
Index ¶
- Constants
- Variables
- func BlocksToDuration(blocks uint32, halfBlockInterval bool) time.Duration
- func DurationByType(duration time.Duration, durationType uint8) uint32
- func DurationFromType(duration uint32, durationType uint8) time.Duration
- func GetVoteWeight(blkHeight uint64, duration time.Duration, stakeAmount *big.Int, ...) *big.Int
- type BucketInfo
Constants ¶
View Source
const (
ABIStr = `` /* 19947-byte string literal not displayed */
)
View Source
const (
ABIV3Str = `` /* 19762-byte string literal not displayed */
)
Variables ¶
View Source
var (
ABI abi.ABI
)
View Source
var (
ABIV3 abi.ABI
)
Functions ¶
func BlocksToDuration ¶ added in v1.17.13
func DurationByType ¶ added in v1.17.13
func DurationFromType ¶ added in v1.17.13
Types ¶
Click to show internal directories.
Click to hide internal directories.