types

package
v0.0.0-...-5495d05 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

func (Address) Bytes

func (a Address) Bytes() []byte

func (*Address) FromParam

func (a *Address) FromParam(param any) error

func (Address) MarshalText

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

func (*Address) SetBytes

func (a *Address) SetBytes(b []byte)

func (Address) String

func (a Address) String() string

func (*Address) UnmarshalText

func (a *Address) UnmarshalText(val []byte) error

type BigInt

type BigInt struct {
	// contains filtered or unexported fields
}

func BigIntOf

func BigIntOf(i *big.Int) *BigInt

func NewBigInt

func NewBigInt() *BigInt

func (BigInt) Int

func (b BigInt) Int() *big.Int

func (*BigInt) MarshalText

func (b *BigInt) MarshalText() ([]byte, error)

func (*BigInt) SetBytes

func (b *BigInt) SetBytes(d []byte) *BigInt

func (*BigInt) SetUint64

func (b *BigInt) SetUint64(x uint64) *BigInt

func (BigInt) String

func (b BigInt) String() string

func (BigInt) Uint64

func (b BigInt) Uint64() uint64

func (*BigInt) UnmarshalText

func (b *BigInt) UnmarshalText(val []byte) error

type Data

type Data []byte

func (Data) Bytes

func (d Data) Bytes() []byte

func (*Data) FromParam

func (d *Data) FromParam(param any) error

func (Data) MarshalText

func (d Data) MarshalText() ([]byte, error)

func (*Data) SetBytes

func (d *Data) SetBytes(b []byte)

func (Data) String

func (d Data) String() string

func (*Data) UnmarshalText

func (d *Data) UnmarshalText(val []byte) error

type Hash

func (Hash) Bytes

func (h Hash) Bytes() []byte

func (*Hash) FromParam

func (h *Hash) FromParam(param any) error

func (Hash) MarshalText

func (h Hash) MarshalText() ([]byte, error)

func (*Hash) SetBytes

func (h *Hash) SetBytes(b []byte)

func (Hash) String

func (h Hash) String() string

func (*Hash) UnmarshalText

func (h *Hash) UnmarshalText(val []byte) error

type Key

func (Key) Bytes

func (k Key) Bytes() []byte

func (*Key) FromParam

func (k *Key) FromParam(param any) error

func (Key) MarshalText

func (k Key) MarshalText() ([]byte, error)

func (*Key) SetBytes

func (k *Key) SetBytes(b []byte)

func (Key) String

func (k Key) String() string

func (*Key) UnmarshalText

func (k *Key) UnmarshalText(val []byte) error

type Uint64

type Uint64 uint64

func (Uint64) Bytes

func (u Uint64) Bytes() []byte

func (*Uint64) FromParam

func (u *Uint64) FromParam(param any) error

func (Uint64) MarshalText

func (u Uint64) MarshalText() ([]byte, error)

func (*Uint64) SetBytes

func (u *Uint64) SetBytes(b []byte)

func (Uint64) String

func (u Uint64) String() string

func (*Uint64) UnmarshalText

func (u *Uint64) UnmarshalText(val []byte) error

Jump to

Keyboard shortcuts

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