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: HashBytes,
pub vm_final_state_hash: HashBytes,
}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: HashBytesHash of the initial state of the VM.
vm_final_state_hash: HashBytesHash 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 ==.impl Eq for ExecutedComputePhase
impl StructuralEq for ExecutedComputePhase
impl StructuralPartialEq for ExecutedComputePhase
Auto Trait Implementations§
impl RefUnwindSafe for ExecutedComputePhase
impl Send for ExecutedComputePhase
impl Sync for ExecutedComputePhase
impl Unpin for ExecutedComputePhase
impl UnwindSafe for ExecutedComputePhase
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more