Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2021 Changes in this version + const MethodAbortWith + const MethodCallerValidation + const MethodCreateActor + const MethodCreateState + const MethodDeleteActor + const MethodInspectRuntime + const MethodMutateState + const MethodResolveAddress + const MethodSend + var Address = func() address.Address { ... }() + var ChaosActorCodeCID = func() cid.Cid { ... }() + type AbortWithArgs struct + Code exitcode.ExitCode + Message string + Uncontrolled bool + func (t *AbortWithArgs) MarshalCBOR(w io.Writer) error + func (t *AbortWithArgs) UnmarshalCBOR(r io.Reader) error + type Actor struct + func (a Actor) AbortWith(rt runtime2.Runtime, args *AbortWithArgs) *abi.EmptyValue + func (a Actor) CallerValidation(rt runtime2.Runtime, args *CallerValidationArgs) *abi.EmptyValue + func (a Actor) Code() cid.Cid + func (a Actor) Constructor(_ runtime2.Runtime, _ *abi.EmptyValue) *abi.EmptyValue + func (a Actor) CreateActor(rt runtime2.Runtime, args *CreateActorArgs) *abi.EmptyValue + func (a Actor) CreateState(rt runtime2.Runtime, _ *abi.EmptyValue) *abi.EmptyValue + func (a Actor) DeleteActor(rt runtime2.Runtime, beneficiary *address.Address) *abi.EmptyValue + func (a Actor) Exports() []interface{} + func (a Actor) InspectRuntime(rt runtime2.Runtime, _ *abi.EmptyValue) *InspectRuntimeReturn + func (a Actor) IsSingleton() bool + func (a Actor) MutateState(rt runtime2.Runtime, args *MutateStateArgs) *abi.EmptyValue + func (a Actor) ResolveAddress(rt runtime2.Runtime, args *address.Address) *ResolveAddressResponse + func (a Actor) Send(rt runtime2.Runtime, args *SendArgs) *SendReturn + func (a Actor) State() cbor.Er + type CallerValidationArgs struct + Addrs []address.Address + Branch CallerValidationBranch + Types []cid.Cid + func (t *CallerValidationArgs) MarshalCBOR(w io.Writer) error + func (t *CallerValidationArgs) UnmarshalCBOR(r io.Reader) error + type CallerValidationBranch int64 + const CallerValidationBranchIsAddress + const CallerValidationBranchIsType + const CallerValidationBranchNone + const CallerValidationBranchTwice + type CreateActorArgs struct + ActorCID cid.Cid + Address address.Address + UndefActorCID bool + UndefAddress bool + func (t *CreateActorArgs) MarshalCBOR(w io.Writer) error + func (t *CreateActorArgs) UnmarshalCBOR(r io.Reader) error + type InspectRuntimeReturn struct + Caller address.Address + CurrEpoch abi.ChainEpoch + CurrentBalance abi.TokenAmount + Receiver address.Address + State State + ValueReceived abi.TokenAmount + func (t *InspectRuntimeReturn) MarshalCBOR(w io.Writer) error + func (t *InspectRuntimeReturn) UnmarshalCBOR(r io.Reader) error + type MutateStateArgs struct + Branch MutateStateBranch + Value string + func (t *MutateStateArgs) MarshalCBOR(w io.Writer) error + func (t *MutateStateArgs) UnmarshalCBOR(r io.Reader) error + type MutateStateBranch int64 + const MutateAfterTransaction + const MutateInTransaction + const MutateReadonly + type ResolveAddressResponse struct + Address address.Address + Success bool + func (t *ResolveAddressResponse) MarshalCBOR(w io.Writer) error + func (t *ResolveAddressResponse) UnmarshalCBOR(r io.Reader) error + type SendArgs struct + Method abi.MethodNum + Params []byte + To address.Address + Value abi.TokenAmount + func (t *SendArgs) MarshalCBOR(w io.Writer) error + func (t *SendArgs) UnmarshalCBOR(r io.Reader) error + type SendReturn struct + Code exitcode.ExitCode + Return builtin2.CBORBytes + func (t *SendReturn) MarshalCBOR(w io.Writer) error + func (t *SendReturn) UnmarshalCBOR(r io.Reader) error + type State struct + Unmarshallable []*UnmarshallableCBOR + Value string + func (t *State) MarshalCBOR(w io.Writer) error + func (t *State) UnmarshalCBOR(r io.Reader) error + type UnmarshallableCBOR struct + func (t *UnmarshallableCBOR) MarshalCBOR(io.Writer) error + func (t *UnmarshallableCBOR) UnmarshalCBOR(io.Reader) error