custom_type

package
v0.0.0-...-dc32c78 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Address common.Address
}

func NewAddress

func NewAddress(value common.Address) Address

func (Address) MarshalJSON

func (a Address) MarshalJSON() ([]byte, error)

func (*Address) Scan

func (a *Address) Scan(value interface{}) error

func (*Address) UnmarshalJSON

func (a *Address) UnmarshalJSON(data []byte) error

func (Address) Value

func (a Address) Value() (driver.Value, error)

type BigInt

type BigInt struct {
	*big.Int
}

func NewBigInt

func NewBigInt(value *big.Int) BigInt

func (BigInt) MarshalJSON

func (b BigInt) MarshalJSON() ([]byte, error)

func (*BigInt) Scan

func (b *BigInt) Scan(value interface{}) error

func (*BigInt) UnmarshalJSON

func (b *BigInt) UnmarshalJSON(data []byte) error

func (BigInt) Value

func (b BigInt) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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