Struct elrond_wasm_debug::world_mock::BlockchainTxInfo
source · pub struct BlockchainTxInfo {
pub previous_block_info: BlockInfo,
pub current_block_info: BlockInfo,
pub contract_balance: BigUint,
pub contract_esdt: AccountEsdt,
pub contract_owner: Option<Address>,
}
Expand description
Some data to get copied for the tx. Would be nice maybe at some point to have a reference to the full blockchain mock in the tx context, but for now, copying some data is enough.
Fields§
§previous_block_info: BlockInfo
§current_block_info: BlockInfo
§contract_balance: BigUint
§contract_esdt: AccountEsdt
§contract_owner: Option<Address>
Trait Implementations§
source§impl Clone for BlockchainTxInfo
impl Clone for BlockchainTxInfo
source§fn clone(&self) -> BlockchainTxInfo
fn clone(&self) -> BlockchainTxInfo
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 more