types

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Call

type Call = types.Call

type ChainProperties

type ChainProperties struct {
	IsEthereum    bool
	SS58Format    types.U32
	TokenDecimals types.U32
	TokenSymbol   types.Text
}

type DispatchClass

type DispatchClass = types.DispatchClass

type Hash

type Hash = types.Hash

type Metadata

type Metadata = types.Metadata

type MultiAddress

type MultiAddress = types.MultiAddress

type PartialFee

type PartialFee = types.UCompact

type U128

type U128 = types.U128

type U256

type U256 = types.U256

type U264

type U264 = types.U64

type U32

type U32 = types.U32

type UCompact

type UCompact big.Int

func NewUCompact

func NewUCompact(value *big.Int) UCompact

func NewUCompactFromUInt

func NewUCompactFromUInt(value uint64) UCompact

func (*UCompact) Decode

func (u *UCompact) Decode(decoder scale.Decoder) error

func (UCompact) Encode

func (u UCompact) Encode(encoder scale.Encoder) error

func (*UCompact) Int64

func (u *UCompact) Int64() int64

func (UCompact) MarshalJSON

func (u UCompact) MarshalJSON() ([]byte, error)

func (*UCompact) UnmarshalJSON

func (u *UCompact) UnmarshalJSON(b []byte) error

type Weight

type Weight = types.Weight

Jump to

Keyboard shortcuts

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