verifreg

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0, MIT Imports: 31 Imported by: 15

Documentation

Index

Constants

View Source
const SignatureDomainSeparation_RemoveDataCap = verifreg7.SignatureDomainSeparation_RemoveDataCap

Variables

Functions

func GetActorCodeID added in v1.11.0

func GetActorCodeID(av actors.Version) (cid.Cid, error)

Types

type RemoveDataCapParams added in v1.15.1

type RemoveDataCapParams = verifreg7.RemoveDataCapParams

type RemoveDataCapProposal added in v1.15.1

type RemoveDataCapProposal = verifreg7.RemoveDataCapProposal

type RemoveDataCapRequest added in v1.15.1

type RemoveDataCapRequest = verifreg7.RemoveDataCapRequest

type RmDcProposalID added in v1.15.1

type RmDcProposalID = verifreg7.RmDcProposalID

type State

type State interface {
	cbor.Marshaler

	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
	GetState() interface{}
}

func Load

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

func MakeState added in v1.11.0

func MakeState(store adt.Store, av actors.Version, rootKeyAddress address.Address) (State, error)

Jump to

Keyboard shortcuts

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