eam

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0, MIT Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Methods = map[abi.MethodNum]builtin.MethodMeta{
	1: {"Constructor", *new(func(*abi.EmptyValue) *abi.EmptyValue)},
	2: {"Create", *new(func(*CreateParams) *CreateReturn)},
	3: {"Create2", *new(func(*Create2Params) *Create2Return)},
	4: {"CreateExternal", *new(func(*abi.CborBytes) *CreateExternalReturn)},
}

Functions

This section is empty.

Types

type Create2Params

type Create2Params struct {
	Initcode []byte
	Salt     [32]byte
}

func (*Create2Params) MarshalCBOR

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

func (*Create2Params) UnmarshalCBOR

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

type Create2Return

type Create2Return Return

func (*Create2Return) MarshalCBOR

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

func (*Create2Return) UnmarshalCBOR

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

type CreateExternalReturn

type CreateExternalReturn Return

func (*CreateExternalReturn) MarshalCBOR

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

func (*CreateExternalReturn) UnmarshalCBOR

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

type CreateParams

type CreateParams struct {
	Initcode []byte
	Nonce    uint64
}

func (*CreateParams) MarshalCBOR

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

func (*CreateParams) UnmarshalCBOR

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

type CreateReturn

type CreateReturn Return

func (*CreateReturn) MarshalCBOR

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

func (*CreateReturn) UnmarshalCBOR

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

type Return

type Return struct {
	ActorID       uint64
	RobustAddress *address.Address
	EthAddress    [20]byte
}

Jump to

Keyboard shortcuts

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