Struct everscale_types::models::transaction::ExecutedComputePhase
source · pub struct ExecutedComputePhase {Show 13 fields
pub success: bool,
pub msg_state_used: bool,
pub account_activated: bool,
pub gas_fees: Tokens,
pub gas_used: VarUint56,
pub gas_limit: VarUint56,
pub gas_credit: Option<VarUint24>,
pub mode: i8,
pub exit_code: i32,
pub exit_arg: Option<i32>,
pub vm_steps: u32,
pub vm_init_state_hash: CellHash,
pub vm_final_state_hash: CellHash,
}Expand description
Executed compute phase info.
Fields§
§success: boolWhether the execution was successful.
msg_state_used: boolWhether the init from the incoming message was used.
account_activated: boolWhether the account state changed to Active during this phase.
gas_fees: TokensTotal amount of tokens spent to execute this phase.
gas_used: VarUint56Amount of gas used by the VM to execute this phase.
gas_limit: VarUint56Max gas amount which could be used.
gas_credit: Option<VarUint24>Max gas amount which could be used before accepting this transaction.
mode: i8Execution mode.
exit_code: i32VM exit code.
exit_arg: Option<i32>Additional VM exit argument.
vm_steps: u32The number of VM steps it took to complete this phase.
vm_init_state_hash: CellHashHash of the initial state of the VM.
vm_final_state_hash: CellHashHash of the VM state after executing this phase.
Trait Implementations§
source§impl Clone for ExecutedComputePhase
impl Clone for ExecutedComputePhase
source§fn clone(&self) -> ExecutedComputePhase
fn clone(&self) -> ExecutedComputePhase
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ExecutedComputePhase
impl Debug for ExecutedComputePhase
source§impl PartialEq<ExecutedComputePhase> for ExecutedComputePhase
impl PartialEq<ExecutedComputePhase> for ExecutedComputePhase
source§fn eq(&self, other: &ExecutedComputePhase) -> bool
fn eq(&self, other: &ExecutedComputePhase) -> bool
This method tests for
self and other values to be equal, and is used
by ==.