account

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0, MIT Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

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

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) (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

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