move_types

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

View Source
const SuiAddressLen = 32

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountAddress

type AccountAddress [SuiAddressLen]uint8

func NewAccountAddressHex

func NewAccountAddressHex(str string) (*AccountAddress, error)

func (AccountAddress) Data

func (a AccountAddress) Data() []byte

func (AccountAddress) Length

func (a AccountAddress) Length() int

func (AccountAddress) MarshalBCS

func (a AccountAddress) MarshalBCS() ([]byte, error)

func (AccountAddress) MarshalJSON

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

func (AccountAddress) ShortString

func (a AccountAddress) ShortString() string

func (AccountAddress) String

func (a AccountAddress) String() string

func (*AccountAddress) UnmarshalJSON

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

type Identifier

type Identifier string

type StructTag

type StructTag struct {
	Address    AccountAddress
	Module     Identifier
	Name       Identifier
	TypeParams []TypeTag
}

type TypeTag

type TypeTag struct {
	Bool    *lib.EmptyEnum
	U8      *lib.EmptyEnum
	U64     *lib.EmptyEnum
	U128    *lib.EmptyEnum
	Address *lib.EmptyEnum
	Signer  *lib.EmptyEnum
	Vector  *TypeTag
	Struct  *StructTag
	U16     *lib.EmptyEnum
	U32     *lib.EmptyEnum
	U256    *lib.EmptyEnum
}

func (TypeTag) IsBcsEnum

func (t TypeTag) IsBcsEnum()

Jump to

Keyboard shortcuts

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