Documentation ¶
Index ¶
Constants ¶
View Source
const ( NoAllocationID = verifregtypes.NoAllocationID MinimumVerifiedAllocationTerm = verifregtypes12.MinimumVerifiedAllocationTerm MaximumVerifiedAllocationTerm = verifregtypes12.MaximumVerifiedAllocationTerm MaximumVerifiedAllocationExpiration = verifregtypes12.MaximumVerifiedAllocationExpiration )
Variables ¶
View Source
var ( Address = builtin15.VerifiedRegistryActorAddr Methods = builtin15.MethodsVerifiedRegistry )
Functions ¶
Types ¶
type AddVerifiedClientParams ¶ added in v1.30.0
type AddVerifiedClientParams = verifregtypes12.AddVerifiedClientParams
type AddVerifierParams ¶ added in v1.30.0
type AddVerifierParams = verifregtypes12.AddVerifierParams
type Allocation ¶ added in v1.20.0
type Allocation = verifregtypes.Allocation
type AllocationId ¶ added in v1.20.0
type AllocationId = verifregtypes.AllocationId
type AllocationRequest ¶ added in v1.30.0
type AllocationRequest = verifregtypes12.AllocationRequest
type AllocationRequests ¶ added in v1.30.0
type AllocationRequests = verifregtypes12.AllocationRequests
type Claim ¶ added in v1.20.0
type Claim = verifregtypes.Claim
type ClaimId ¶ added in v1.20.0
type ClaimId = verifregtypes.ClaimId
type RemoveExpiredAllocationsParams ¶ added in v1.30.0
type RemoveExpiredAllocationsParams = verifregtypes12.RemoveExpiredAllocationsParams
type State ¶
type State interface { cbor.Marshaler Code() cid.Cid ActorKey() string ActorVersion() actorstypes.Version 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 AllocationId) (*Allocation, bool, error) GetAllocations(clientIdAddr address.Address) (map[AllocationId]Allocation, error) GetAllAllocations() (map[AllocationId]Allocation, error) GetClaim(providerIdAddr address.Address, claimId ClaimId) (*Claim, bool, error) GetClaims(providerIdAddr address.Address) (map[ClaimId]Claim, error) GetAllClaims() (map[ClaimId]Claim, error) GetClaimIdsBySector(providerIdAddr address.Address) (map[abi.SectorNumber][]ClaimId, error) GetState() interface{} }
Click to show internal directories.
Click to hide internal directories.