derived

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Derived

type Derived struct {
	SenderEVMAddr common.Address
	SenderSeiAddr sdk.AccAddress
	PubKey        *secp256k1.PubKey
	IsAssociate   bool
	Version       SignerVersion
}

func (Derived) Marshal

func (d Derived) Marshal() ([]byte, error)

Derived should never come from deserialization or be transmitted after serialization, so all methods below would no-op.

func (Derived) MarshalJSON

func (d Derived) MarshalJSON() ([]byte, error)

func (*Derived) MarshalTo

func (d *Derived) MarshalTo([]byte) (n int, err error)

func (*Derived) Size

func (d *Derived) Size() int

func (*Derived) Unmarshal

func (d *Derived) Unmarshal([]byte) error

func (*Derived) UnmarshalJSON

func (d *Derived) UnmarshalJSON([]byte) error

type SignerVersion

type SignerVersion int
const (
	London SignerVersion = iota
	Cancun
)

Jump to

Keyboard shortcuts

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