Struct multiversx_chain_vm::scenario::model::TxTransfer
source · pub struct TxTransfer {
pub from: AddressValue,
pub to: AddressValue,
pub egld_value: BigUintValue,
pub esdt_value: Vec<TxESDT>,
pub gas_limit: U64Value,
pub gas_price: U64Value,
}Fields§
§from: AddressValue§to: AddressValue§egld_value: BigUintValue§esdt_value: Vec<TxESDT>§gas_limit: U64Value§gas_price: U64ValueImplementations§
source§impl TxTransfer
impl TxTransfer
sourcepub fn to_tx_call(&self) -> TxCall
pub fn to_tx_call(&self) -> TxCall
Converts to a TxCall, with empty endpoint and arguments.
Trait Implementations§
source§impl Debug for TxTransfer
impl Debug for TxTransfer
source§impl Default for TxTransfer
impl Default for TxTransfer
source§fn default() -> TxTransfer
fn default() -> TxTransfer
Returns the “default value” for a type. Read more