Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Address = builtin2.RetrievalFundActorAddr Methods = builtin2.MethodsRetrieval )
Functions ¶
This section is empty.
Types ¶
type BindMinersParams ¶
type BindMinersParams = retrieval2.BindMinersParams
type LockedState ¶
type LockedState = retrieval2.LockedState
type PledgeParams ¶
type PledgeParams = retrieval2.PledgeParams
type PledgeState ¶
type PledgeState = retrieval2.PledgeState
type RetrievalDataParams ¶
type RetrievalDataParams = retrieval2.RetrievalDataParams
type RetrievalState ¶
type RetrievalState struct { BindMiners []address.Address Amount abi.TokenAmount EpochDate uint64 DateSize abi.PaddedPieceSize // date retrieval size }
type State ¶
type State interface { cbor.Marshaler PledgesInfo(addr address.Address) (map[address.Address]abi.TokenAmount, error) StateInfo(fromAddr address.Address) (*RetrievalState, error) DayExpend(epoch abi.ChainEpoch, fromAddr address.Address) (abi.TokenAmount, error) LockedPeriod() (abi.ChainEpoch, error) LockedState(fromAddr address.Address, out *LockedState) (bool, error) TotalCollateral() (abi.TokenAmount, error) TotalRetrievalReward() (abi.TokenAmount, error) PendingReward() (abi.TokenAmount, error) ForEachState(func(addr address.Address, state *RetrievalState) error) error }
type WithdrawBalanceParams ¶
type WithdrawBalanceParams = retrieval2.WithdrawBalanceParams
Click to show internal directories.
Click to hide internal directories.