Module iota::auth_context
- Struct
AuthContext - Function
digest - Function
tx_inputs - Function
tx_commands - Function
native_digest - Function
native_tx_inputs - Function
native_tx_commands
use iota::address;
use iota::hex;
use iota::object;
use iota::ptb_call_arg;
use iota::ptb_command;
use iota::tx_context;
use std::address;
use std::ascii;
use std::bcs;
use std::option;
use std::string;
use std::type_name;
use std::vector;
Struct AuthContext
public struct AuthContext has drop
Fields
auth_digest: vector<u8>The digest of the MoveAuthenticator
tx_inputs: vector<iota::ptb_call_arg::CallArg>The transaction input objects or primitive values
tx_commands: vector<iota::ptb_command::Command>The transaction commands to be executed sequentially.
Function digest
public fun digest(_ctx: &iota::auth_context::AuthContext): &vector
Implementation
public fun digest(_ctx: &AuthContext): &vector {
native_digest()
}
Function tx_inputs
public fun tx_inputs(_ctx: &iota::auth_context::AuthContext): &vector<iota::ptb_call_arg::CallArg>
Implementation
public fun tx_inputs(_ctx: &AuthContext): &vector {
native_tx_inputs()
}
Function tx_commands
public fun tx_commands(_ctx: &iota::auth_context::AuthContext): &vector<iota::ptb_command::Command>
Implementation
public fun tx_commands(_ctx: &AuthContext): &vector {
native_tx_commands()
}
Function native_digest
fun native_digest(): &vector
Implementation
native fun native_digest(): &vector;
Function native_tx_inputs
fun native_tx_inputs<I>(): &vector
Implementation
native fun native_tx_inputs<I>(): &vector;
Function native_tx_commands
fun native_tx_commands<C>(): &vector
Implementation
native fun native_tx_commands<C>(): &vector;