Documentation ¶
Index ¶
- Constants
- type AccountAddress
- func (a AccountAddress) Data() []byte
- func (a AccountAddress) Length() int
- func (a AccountAddress) MarshalBCS() ([]byte, error)
- func (a AccountAddress) MarshalJSON() ([]byte, error)
- func (a AccountAddress) ShortString() string
- func (a AccountAddress) String() string
- func (a *AccountAddress) UnmarshalJSON(data []byte) error
- type Identifier
- type StructTag
- type TypeTag
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 }
Click to show internal directories.
Click to hide internal directories.