bcs/move/move
library
Classes
AptosEntryFunctionArguments <T >
Abstract class for representing Aptos Entry Function arguments.
Inherits from MoveType with the generic type T
.
AptosScriptArguments <T >
Abstract class for representing Aptos Script arguments.
Inherits from MoveType with the generic type T
.
Contains a method to convert to MoveArgument .
MoveAddress
Represents a Move address
argument type.
The bytes should be 32 bytes, and data is encoded without length.
MoveArgument <T >
MoveBool
Represents a Move bool
argument type (boolean value).
MoveOption <CODEC extends MoveType >
Represents a Move Option
argument type (optional type).
MoveSerialized
Represents a Move serialized
argument type.
This is used for Move transaction script arguments, similar to MoveU8Vector
,
MoveString
Represents a Move string
argument type (a UTF-8 encoded string).
The data is encoded to UTF-8, and then the bytes are encoded as BCS with the length encoded as LEB128.
MoveType <T >
Abstract base class for Move types, extends BcsSerialization .
This class holds a value of type T
and provides layout structure serialization.
MoveU128
Represents a Move u128
argument type (128-bit unsigned integer).
this class provides encoding for integers to little-endian byte format.
MoveU16
Represents a Move u16
argument type (16-bit unsigned integer).
this class provides encoding for integers to little-endian byte format.
MoveU256
Represents a Move u256
argument type (256-bit unsigned integer).
this class provides encoding for integers to little-endian byte format.
MoveU32
Represents a Move u32
argument type (32-bit unsigned integer).
this class provides encoding for integers to little-endian byte format.
MoveU64
Represents a Move u64
argument type (64-bit unsigned integer).
this class provides encoding for integers to little-endian byte format.
MoveU8
Represents a Move u8
argument type (8-bit unsigned integer).
this class provides encoding for integers to little-endian byte format.
MoveU8Vector
Represents a Move u8Vector
argument type (a vector of u8 values).
The data is encoded in BCS format, with the length encoded as LEB128.
MoveUtils
MoveVector <MOVE extends MoveType >
Represents a Move vector
argument type (a list of MoveType values).
The length of the vector is encoded as LEB128.
SuiCallArguments <T >
Abstract class for representing Sui call arguments.
Inherits from MoveType with the generic type T
.
Enums
MoveArgumentType
Enum representing different Move argument types with associated values.