Struct multiversx_chain_vm::scenario::model::CheckAccount
source · pub struct CheckAccount {
pub comment: Option<String>,
pub nonce: CheckValue<U64Value>,
pub balance: CheckValue<BigUintValue>,
pub esdt: CheckEsdtMap,
pub username: CheckValue<BytesValue>,
pub storage: CheckStorage,
pub code: CheckValue<BytesValue>,
pub owner: CheckValue<BytesValue>,
pub developer_rewards: CheckValue<BigUintValue>,
pub async_call_data: CheckValue<BytesValue>,
}Fields§
§comment: Option<String>§nonce: CheckValue<U64Value>§balance: CheckValue<BigUintValue>§esdt: CheckEsdtMap§username: CheckValue<BytesValue>§storage: CheckStorage§code: CheckValue<BytesValue>§owner: CheckValue<BytesValue>§developer_rewards: CheckValue<BigUintValue>§async_call_data: CheckValue<BytesValue>Implementations§
source§impl CheckAccount
impl CheckAccount
pub fn new() -> Self
pub fn nonce<V>(self, nonce: V) -> Selfwhere
U64Value: InterpretableFrom<V>,
pub fn balance<V>(self, balance_expr: V) -> Selfwhere
BigUintValue: InterpretableFrom<V>,
pub fn esdt_balance<K, V>(self, token_id_expr: K, balance_expr: V) -> Selfwhere
BytesKey: From<K>,
BigUintValue: From<V>,
pub fn check_storage(self, key: &str, value: &str) -> Self
Trait Implementations§
source§impl Debug for CheckAccount
impl Debug for CheckAccount
source§impl Default for CheckAccount
impl Default for CheckAccount
source§fn default() -> CheckAccount
fn default() -> CheckAccount
Returns the “default value” for a type. Read more