[−][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, ArwenBigUint> for ArwenApiImpl
[src]
fn get_own_address(&self) -> Address
[src]
fn get_caller(&self) -> Address
[src]
fn get_balance(&self, address: &Address) -> ArwenBigUint
[src]
fn storage_store(&self, key: &[u8], value: &[u8])
[src]
fn storage_load(&self, key: &[u8]) -> Vec<u8>
[src]
fn storage_load_len(&self, key: &[u8]) -> usize
[src]
fn storage_store_bytes32(&self, key: &[u8], value: &[u8; 32])
[src]
fn storage_load_bytes32(&self, key: &[u8]) -> [u8; 32]
[src]
fn storage_store_big_uint(&self, key: &[u8], value: &ArwenBigUint)
[src]
fn storage_load_big_uint(&self, key: &[u8]) -> ArwenBigUint
[src]
fn storage_store_big_int(&self, key: &[u8], value: &ArwenBigInt)
[src]
fn storage_load_big_int(&self, key: &[u8]) -> ArwenBigInt
[src]
fn storage_store_i64(&self, key: &[u8], value: i64)
[src]
fn storage_load_i64(&self, key: &[u8]) -> Option<i64>
[src]
fn get_call_value_big_uint(&self) -> ArwenBigUint
[src]
fn send_tx(&self, to: &Address, amount: &ArwenBigUint, message: &str)
[src]
fn async_call(&self, to: &Address, amount: &ArwenBigUint, data: &[u8])
[src]
fn get_tx_hash(&self) -> H256
[src]
fn get_gas_left(&self) -> i64
[src]
fn get_block_timestamp(&self) -> u64
[src]
fn get_block_nonce(&self) -> u64
[src]
fn get_block_round(&self) -> u64
[src]
fn get_block_epoch(&self) -> u64
[src]
fn sha256(&self, data: &[u8]) -> [u8; 32]
[src]
fn keccak256(&self, data: &[u8]) -> [u8; 32]
[src]
fn get_own_balance(&self) -> BigUint
[src]
fn storage_load_cumulated_validator_reward(&self) -> BigUint
[src]
impl ContractIOApi<ArwenBigInt, ArwenBigUint> for ArwenApiImpl
[src]
fn get_num_arguments(&self) -> i32
[src]
fn check_not_payable(&self)
[src]
fn get_argument_len(&self, arg_index: i32) -> usize
[src]
fn copy_argument_to_slice(&self, arg_index: i32, slice: &mut [u8])
[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_uint(&self, arg_id: i32) -> ArwenBigUint
[src]
fn get_argument_big_int(&self, arg_id: i32) -> ArwenBigInt
[src]
fn get_argument_i64(&self, arg_id: i32) -> i64
[src]
fn finish_slice_u8(&self, slice: &[u8])
[src]
fn finish_bytes32(&self, bytes: &[u8; 32])
[src]
fn finish_big_int(&self, b: &ArwenBigInt)
[src]
fn finish_big_uint(&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 check_num_arguments(&self, expected: i32) -> bool
[src]
fn get_argument_address(&self, arg_index: i32) -> H256
[src]
fn get_argument_i32(&self, arg_id: i32) -> i32
[src]
fn get_argument_isize(&self, arg_id: i32) -> isize
[src]
fn get_argument_i8(&self, arg_id: i32) -> i8
[src]
fn get_argument_u64(&self, arg_id: i32) -> u64
[src]
fn get_argument_u32(&self, arg_id: i32) -> u32
[src]
fn get_argument_usize(&self, arg_id: i32) -> usize
[src]
fn get_argument_u8(&self, arg_id: i32) -> u8
[src]
fn get_argument_bool(&self, arg_id: i32) -> bool
[src]
fn finish_u64(&self, value: u64)
[src]
fn signal_error(&self, message: &str) -> !
[src]
fn signal_sd_error(&self, ser_type: &str, type_name: &str, e: SDError) -> !
[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>,