Module iota::auth_context
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<u8>
Implementation
public fun digest(ctx: &AuthContext): &vector<u8> {
&ctx.auth_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<CallArg> {
&ctx.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<Command> {
&ctx.tx_commands
}