Module auth_context

Module auth_context 

Source

Structs§

AuthContext
AuthContext provides a lightweight execution context used during the authentication phase of a transaction.
MoveAuthContext
A Move-side AuthContext representation. It is supposed to be used with empty fields since the Move AuthContext struct is managed by the native functions.
MoveProgrammableMoveCall
Mirrors crate::transaction::ProgrammableMoveCall for use in MoveCommand, substituting TypeName for crate::type_input::TypeInput so that the type can derive Serialize/Deserialize without a custom implementation.

Enums§

AuthContextKind
MoveCallArg
Mirrors crate::transaction::CallArg, matching the BCS layout expected by the Move-side ptb_call_arg::CallArg.
MoveCommand
Mirrors crate::transaction::Command, substituting TypeName for crate::type_input::TypeInput in MoveCall and MakeMoveVec so that the type matches the BCS layout expected by the Move-side ptb_command::Command.
MoveObjectArg
Mirrors crate::transaction::ObjectArg, matching the BCS layout expected by the Move-side ptb_call_arg::ObjectArg.

Constants§

ARGUMENT_STRUCT_NAME
AUTH_CONTEXT_MODULE_NAME
AUTH_CONTEXT_STRUCT_NAME
CALL_ARG_MODULE_NAME
CALL_ARG_STRUCT_NAME
COMMAND_MODULE_NAME
COMMAND_STRUCT_NAME
MAKE_MOVE_VEC_DATA_STRUCT_NAME
MERGE_COINS_DATA_STRUCT_NAME
OBJECT_ARG_STRUCT_NAME
OBJECT_REF_STRUCT_NAME
PROGRAMMABLE_MOVE_CALL_STRUCT_NAME
PUBLISH_DATA_STRUCT_NAME
SPLIT_COINS_DATA_STRUCT_NAME
TRANSFER_OBJECTS_DATA_STRUCT_NAME
UPGRADE_DATA_STRUCT_NAME

Functions§

is_auth_context