Documentation ¶
Overview ¶
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Code generated by: `make actors-gen`. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func AllCodes() []cid.Cid
- func NewVerifierDiffContainer(pre, cur State) *verifierDiffContainer
- func VersionCodes() map[actorstypes.Version]cid.Cid
- type AddVerifiedClientParams
- type AddVerifierParams
- type Allocation
- type AllocationId
- type AllocationRequest
- type AllocationRequests
- type Claim
- type ClaimId
- type RemoveExpiredAllocationsParams
- type State
- type VerifierChange
- type VerifierChanges
- type VerifierInfo
Constants ¶
const ( NoAllocationID = verifregtypes.NoAllocationID MinimumVerifiedAllocationTerm = verifregtypes12.MinimumVerifiedAllocationTerm MaximumVerifiedAllocationTerm = verifregtypes12.MaximumVerifiedAllocationTerm MaximumVerifiedAllocationExpiration = verifregtypes12.MaximumVerifiedAllocationExpiration )
Variables ¶
var ( Address = builtin16.VerifiedRegistryActorAddr Methods = builtin16.MethodsVerifiedRegistry )
Functions ¶
func NewVerifierDiffContainer ¶
func NewVerifierDiffContainer(pre, cur State) *verifierDiffContainer
func VersionCodes ¶ added in v0.11.0
func VersionCodes() map[actorstypes.Version]cid.Cid
Types ¶
type AddVerifiedClientParams ¶ added in v0.21.0
type AddVerifiedClientParams = verifregtypes12.AddVerifiedClientParams
type AddVerifierParams ¶ added in v0.21.0
type AddVerifierParams = verifregtypes12.AddVerifierParams
type Allocation ¶ added in v0.14.0
type Allocation = verifregtypes.Allocation
type AllocationId ¶ added in v0.14.0
type AllocationId = verifregtypes.AllocationId
type AllocationRequest ¶ added in v0.21.0
type AllocationRequest = verifregtypes12.AllocationRequest
type AllocationRequests ¶ added in v0.21.0
type AllocationRequests = verifregtypes12.AllocationRequests
type Claim ¶ added in v0.14.0
type Claim = verifregtypes.Claim
type ClaimId ¶ added in v0.14.0
type ClaimId = verifregtypes.ClaimId
type RemoveExpiredAllocationsParams ¶ added in v0.21.0
type RemoveExpiredAllocationsParams = verifregtypes12.RemoveExpiredAllocationsParams
type State ¶
type State interface { cbor.Marshaler Code() cid.Cid ActorKey() string ActorVersion() actorstypes.Version VerifiersMap() (adt.Map, error) VerifiersMapBitWidth() int VerifiersMapHashFunction() func(input []byte) []byte VerifiedClientsMap() (adt.Map, error) VerifiedClientsMapBitWidth() int VerifiedClientsMapHashFunction() func(input []byte) []byte RootKey() (address.Address, error) VerifiedClientDataCap(address.Address) (bool, abi.StoragePower, error) VerifierDataCap(address.Address) (bool, abi.StoragePower, error) RemoveDataCapProposalID(verifier address.Address, client address.Address) (bool, uint64, error) ForEachVerifier(func(addr address.Address, dcap abi.StoragePower) error) error ForEachClient(func(addr address.Address, dcap abi.StoragePower) error) error GetAllocation(clientIdAddr address.Address, allocationId verifregtypes.AllocationId) (*verifregtypes.Allocation, bool, error) GetAllocations(clientIdAddr address.Address) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error) GetClaim(providerIdAddr address.Address, claimId verifregtypes.ClaimId) (*verifregtypes.Claim, bool, error) GetClaims(providerIdAddr address.Address) (map[verifregtypes.ClaimId]verifregtypes.Claim, error) GetState() interface{} ClaimsMap() (adt.Map, error) ClaimMapForProvider(providerIdAddr address.Address) (adt.Map, error) ClaimsMapBitWidth() int ClaimsMapHashFunction() func(input []byte) []byte }
type VerifierChange ¶
type VerifierChange struct { Before VerifierInfo After VerifierInfo }
type VerifierChanges ¶
type VerifierChanges struct { Added []VerifierInfo Modified []VerifierChange Removed []VerifierInfo }
func DiffVerifiedClients ¶
func DiffVerifiers ¶
type VerifierInfo ¶
type VerifierInfo struct { Address address.Address DataCap abi.StoragePower }