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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutedComputePhase
impl Debug for ExecutedComputePhase
Source§impl<'de> Deserialize<'de> for ExecutedComputePhase
impl<'de> Deserialize<'de> for ExecutedComputePhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExecutedComputePhase
impl PartialEq for ExecutedComputePhase
Source§impl Serialize for ExecutedComputePhase
impl Serialize for ExecutedComputePhase
impl Eq for ExecutedComputePhase
impl StructuralPartialEq for ExecutedComputePhase
Auto Trait Implementations§
impl Freeze for ExecutedComputePhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.