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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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