vesting

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: Apache-2.0, MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type CoinbaseInfo

type CoinbaseInfo struct {
	Total   abi.TokenAmount
	Vested  abi.TokenAmount
	Vesting abi.TokenAmount
}

type State

type State interface {
	cbor.Marshaler

	TotalLocked() abi.TokenAmount
	Coinbase(address.Address, abi.ChainEpoch) (*CoinbaseInfo, error)
	TotalMined(address.Address) (abi.TokenAmount, error)
}

func Load

func Load(store adt.Store, act *types.Actor) (st State, err error)

Jump to

Keyboard shortcuts

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