account

package
v0.11.0-alpha-2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0, MIT Imports: 9 Imported by: 7

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)},
	builtin.MustGenerateFRCMethodNum("AuthenticateMessage"): {"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) 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