Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Address = builtin9.DatacapActorAddr Methods = builtin9.MethodsDatacap )
Functions ¶
func NewBalanceDiffContainer ¶
func NewBalanceDiffContainer(pre, cur State) *balanceDiffContainer
func VersionCodes ¶
Types ¶
type BalanceChange ¶
type BalanceChange struct {
Before BalanceInfo
After BalanceInfo
}
type BalanceChanges ¶
type BalanceChanges struct {
Added []BalanceInfo
Modified []BalanceChange
Removed []BalanceInfo
}
func DiffDataCapBalances ¶
type BalanceInfo ¶
type BalanceInfo struct {
Address address.Address
DataCap abi.StoragePower
}
type State ¶
type State interface {
cbor.Marshaler
Code() cid.Cid
ActorKey() string
ActorVersion() actors.Version
ForEachClient(func(addr address.Address, dcap abi.StoragePower) error) error
VerifiedClientDataCap(address.Address) (bool, abi.StoragePower, error)
Governor() (address.Address, error)
GetState() interface{}
VerifiedClients() (adt.Map, error)
VerifiedClientsMapBitWidth() int
VerifiedClientsMapHashFunction() func(input []byte) []byte
}
Click to show internal directories.
Click to hide internal directories.