[−][src]Struct elrond_wasm_node::ArwenApiImpl
Trait Implementations
impl Clone for ArwenApiImpl
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ContractHookApi<ArwenBigInt> for ArwenApiImpl
[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: &ArwenBigInt)
[src]
fn storage_load_big_int(&self, key: &StorageKey) -> ArwenBigInt
[src]
fn get_call_value_big_int(&self) -> ArwenBigInt
[src]
fn send_tx(&self, to: &Address, amount: &ArwenBigInt, message: &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<ArwenBigInt, ArwenBigUint> for ArwenApiImpl
[src]
fn check_num_arguments(&self, expected: i32) -> bool
[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_unsigned(&self, arg_id: i32) -> ArwenBigUint
[src]
fn get_argument_big_int_signed(&self, arg_id: i32) -> ArwenBigInt
[src]
fn get_argument_i64(&self, arg_id: i32) -> i64
[src]
fn finish_vec(&self, v: Vec<u8>)
[src]
fn finish_big_int_signed(&self, b: ArwenBigInt)
[src]
fn finish_big_int_unsigned(&self, b: ArwenBigUint)
[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 get_argument_address(&self, arg_index: i32) -> H256
[src]
fn signal_error(&self, message: &str)
[src]
Auto Trait Implementations
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> 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>,