[−][src]Struct elrond_wasm_debug::ArwenMockRef
Methods
impl ArwenMockRef
[src]
pub fn execute_tx(&self, tx: TxData) -> TxResult
[src]
pub fn add_account(&self, acct: AccountData)
[src]
pub fn print_accounts(&self)
[src]
Trait Implementations
impl Clone for ArwenMockRef
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ContractHookApi<RustBigInt> for ArwenMockRef
[src]
fn get_owner(&self) -> Address
[src]
fn get_caller(&self) -> Address
[src]
fn storage_store(&self, key: &StorageKey, value: &Vec<u8>)
[src]
fn storage_load(&self, key: &StorageKey) -> Vec<u8>
[src]
fn storage_store_bytes32(&self, key: &StorageKey, value: &[u8; 32])
[src]
fn storage_load_bytes32(&self, key: &StorageKey) -> [u8; 32]
[src]
fn storage_store_big_int(&self, key: &StorageKey, value: &RustBigInt)
[src]
fn storage_load_big_int(&self, key: &StorageKey) -> RustBigInt
[src]
fn storage_store_i64(&self, key: &StorageKey, value: i64)
[src]
fn storage_load_i64(&self, key: &StorageKey) -> Option<i64>
[src]
fn get_call_value_big_int(&self) -> RustBigInt
[src]
fn send_tx(&self, to: &Address, amount: &RustBigInt, _message: &str)
[src]
fn async_call(&self, _to: &Address, _amount: &RustBigInt, _data: &str)
[src]
fn get_gas_left(&self) -> i64
[src]
fn sha256(&self, data: &Vec<u8>) -> [u8; 32]
[src]
fn keccak256(&self, data: &Vec<u8>) -> [u8; 32]
[src]
impl ContractIOApi<RustBigInt, RustBigUint> for ArwenMockRef
[src]
fn get_num_arguments(&self) -> i32
[src]
fn check_not_payable(&self) -> bool
[src]
fn get_argument_vec(&self, arg_index: i32) -> Vec<u8>
[src]
fn get_argument_bytes32(&self, arg_index: i32) -> [u8; 32]
[src]
fn get_argument_big_int_signed(&self, arg_index: i32) -> RustBigInt
[src]
fn get_argument_big_int_unsigned(&self, arg_index: i32) -> RustBigUint
[src]
fn get_argument_i64(&self, arg_index: i32) -> i64
[src]
fn finish_vec(&self, v: Vec<u8>)
[src]
fn finish_big_int_signed(&self, bi: RustBigInt)
[src]
fn finish_big_int_unsigned(&self, bu: RustBigUint)
[src]
fn finish_i64(&self, value: i64)
[src]
fn signal_error_raw(&self, message_ptr: *const u8, message_len: usize)
[src]
fn write_log(&self, _topics: &[[u8; 32]], _data: &[u8])
[src]
fn check_num_arguments(&self, expected: i32) -> bool
[src]
fn get_argument_address(&self, arg_index: i32) -> H256
[src]
fn signal_error(&self, message: &str)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ArwenMockRef
impl !Send for ArwenMockRef
impl !Sync for ArwenMockRef
impl Unpin for ArwenMockRef
impl !UnwindSafe for ArwenMockRef
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,