account

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0, MIT Imports: 10 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Methods = map[abi.MethodNum]builtin.MethodMeta{
	1: {"Constructor", *new(func(*address.Address) *abi.EmptyValue)},
	2: {"PubkeyAddress", *new(func(*abi.EmptyValue) *address.Address)},
	3: {"AuthenticateMessage", *new(func(*AuthenticateMessageParams) *abi.EmptyValue)},
	builtin.MustGenerateFRCMethodNum("Receive"): {"UniversalReceiverHook", *new(func(*abi.CborBytesTransparent) *abi.EmptyValue)},
}

Functions

This section is empty.

Types

type AuthenticateMessageParams

type AuthenticateMessageParams struct {
	Signature []byte
	Message   []byte
}

func (*AuthenticateMessageParams) MarshalCBOR added in v0.9.4

func (t *AuthenticateMessageParams) MarshalCBOR(w io.Writer) error

func (*AuthenticateMessageParams) UnmarshalCBOR added in v0.9.4

func (t *AuthenticateMessageParams) UnmarshalCBOR(r io.Reader) (err error)

type State

type State struct {
	Address addr.Address
}

func (*State) MarshalCBOR

func (t *State) MarshalCBOR(w io.Writer) error

func (*State) UnmarshalCBOR

func (t *State) UnmarshalCBOR(r io.Reader) (err error)

type StateSummary added in v0.9.3

type StateSummary struct {
	PubKeyAddr address.Address
}

func CheckStateInvariants added in v0.9.3

func CheckStateInvariants(st *State, idAddr address.Address) (*StateSummary, *builtin.MessageAccumulator)

Checks internal invariants of account state.

Jump to

Keyboard shortcuts

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