account

package
v0.0.0-...-451b363 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: Apache-2.0, MIT Imports: 9 Imported by: 0

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

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

func (*AuthenticateMessageParams) UnmarshalCBOR

func (t *AuthenticateMessageParams) UnmarshalCBOR(r io.Reader) 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) error

type StateSummary

type StateSummary struct {
	PubKeyAddr address.Address
}

func CheckStateInvariants

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