[−][src]Trait elrond_wasm::ContractIOApi
Interface to only be used by code generated by the macros. The smart contract code doesn't have access to these methods directly.
Interface to only be used by code generated by the macros. The smart contract code doesn't have access to these methods directly.
fn get_num_arguments(&self) -> i32
fn check_not_payable(&self)
fn get_argument_len(&self, arg_index: i32) -> usize
fn copy_argument_to_slice(&self, arg_index: i32, slice: &mut [u8])
fn get_argument_vec(&self, arg_index: i32) -> Vec<u8>
fn get_argument_bytes32(&self, arg_index: i32) -> [u8; 32]
fn get_argument_big_int(&self, arg_id: i32) -> BigInt
fn get_argument_big_uint(&self, arg_id: i32) -> BigUint
fn get_argument_i64(&self, arg_id: i32) -> i64
fn finish_slice_u8(&self, slice: &[u8])
fn finish_bytes32(&self, bytes: &[u8; 32])
fn finish_big_int(&self, b: &BigInt)
fn finish_big_uint(&self, b: &BigUint)
fn finish_i64(&self, value: i64)
fn signal_error_raw(&self, message_ptr: *const u8, message_len: usize) -> !
fn write_log(&self, topics: &[[u8; 32]], data: &[u8])
fn check_num_arguments(&self, expected: i32) -> bool
fn get_argument_address(&self, arg_index: i32) -> Address
fn get_argument_i32(&self, arg_id: i32) -> i32
fn get_argument_u32(&self, arg_id: i32) -> u32
fn get_argument_isize(&self, arg_id: i32) -> isize
fn get_argument_usize(&self, arg_id: i32) -> usize
fn get_argument_i8(&self, arg_id: i32) -> i8
fn get_argument_u8(&self, arg_id: i32) -> u8
fn get_argument_bool(&self, arg_id: i32) -> bool
fn signal_error(&self, message: &str) -> !
fn signal_sd_error(&self, ser_type: &str, type_name: &str, e: SDError) -> !