[−][src]Struct elrond_wasm_node::ArwenBigInt
Fields
handle: i32
Implementations
impl ArwenBigInt
[src]
pub fn from_i64(value: i64) -> ArwenBigInt
[src]
Trait Implementations
impl<'a, 'b> Add<&'b ArwenBigInt> for &'a ArwenBigInt
[src]
type Output = ArwenBigInt
The resulting type after applying the +
operator.
fn add(self, other: &ArwenBigInt) -> ArwenBigInt
[src]
impl Add<ArwenBigInt> for ArwenBigInt
[src]
type Output = ArwenBigInt
The resulting type after applying the +
operator.
fn add(self, other: ArwenBigInt) -> ArwenBigInt
[src]
impl<'_> AddAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]
fn add_assign(&mut self, other: &ArwenBigInt)
[src]
impl AddAssign<ArwenBigInt> for ArwenBigInt
[src]
fn add_assign(&mut self, other: Self)
[src]
impl BigIntApi<ArwenBigUint> for ArwenBigInt
[src]
fn abs_uint(&self) -> ArwenBigUint
[src]
fn sign(&self) -> Sign
[src]
fn to_signed_bytes_be(&self) -> Vec<u8>
[src]
fn from_signed_bytes_be(bytes: &[u8]) -> Self
[src]
fn zero() -> Self
[src]
impl Clone for ArwenBigInt
[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_sc_address(&self) -> Address
[src]
fn get_owner_address(&self) -> Address
[src]
fn get_caller(&self) -> Address
[src]
fn get_balance(&self, address: &Address) -> ArwenBigUint
[src]
fn storage_store_slice_u8(&self, key: &[u8], value: &[u8])
[src]
fn storage_load_len(&self, key: &[u8]) -> usize
[src]
fn storage_load_vec_u8(&self, key: &[u8]) -> Vec<u8>
[src]
fn storage_load_boxed_slice_u8(&self, key: &[u8]) -> Box<[u8]>ⓘ
[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_u64(&self, key: &[u8], value: u64)
[src]
fn storage_store_i64(&self, key: &[u8], value: i64)
[src]
fn storage_load_u64(&self, key: &[u8]) -> u64
[src]
fn storage_load_i64(&self, key: &[u8]) -> i64
[src]
fn get_call_value_big_uint(&self) -> ArwenBigUint
[src]
fn get_esdt_value_big_uint(&self) -> ArwenBigUint
[src]
fn get_esdt_token_name(&self) -> Option<Vec<u8>>
[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) -> u64
[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 get_block_random_seed(&self) -> Box<[u8; 48]>ⓘ
[src]
fn get_prev_block_timestamp(&self) -> u64
[src]
fn get_prev_block_nonce(&self) -> u64
[src]
fn get_prev_block_round(&self) -> u64
[src]
fn get_prev_block_epoch(&self) -> u64
[src]
fn get_prev_block_random_seed(&self) -> Box<[u8; 48]>ⓘ
[src]
fn sha256(&self, data: &[u8]) -> H256
[src]
fn keccak256(&self, data: &[u8]) -> H256
[src]
fn get_sc_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_u8(&self, arg_index: i32) -> Vec<u8>
[src]
fn get_argument_boxed_slice_u8(&self, arg_index: i32) -> Box<[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_u64(&self, arg_id: i32) -> u64
[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_big_int_raw(&self, handle: i32)
[src]
fn finish_big_uint_raw(&self, handle: i32)
[src]
fn finish_u64(&self, value: u64)
[src]
fn finish_i64(&self, value: i64)
[src]
fn signal_error(&self, message: &[u8]) -> !
[src]
fn write_log(&self, topics: &[[u8; 32]], data: &[u8])
[src]
fn check_num_arguments(&self, expected: i32)
[src]
fn get_argument_address(&self, arg_index: i32) -> H256
[src]
impl<'a, 'b> Div<&'b ArwenBigInt> for &'a ArwenBigInt
[src]
type Output = ArwenBigInt
The resulting type after applying the /
operator.
fn div(self, other: &ArwenBigInt) -> ArwenBigInt
[src]
impl Div<ArwenBigInt> for ArwenBigInt
[src]
type Output = ArwenBigInt
The resulting type after applying the /
operator.
fn div(self, other: ArwenBigInt) -> ArwenBigInt
[src]
impl<'_> DivAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]
fn div_assign(&mut self, other: &ArwenBigInt)
[src]
impl DivAssign<ArwenBigInt> for ArwenBigInt
[src]
fn div_assign(&mut self, other: Self)
[src]
impl Eq for ArwenBigInt
[src]
impl From<ArwenBigUint> for ArwenBigInt
[src]
fn from(item: ArwenBigUint) -> Self
[src]
impl From<i32> for ArwenBigInt
[src]
impl From<i64> for ArwenBigInt
[src]
impl<'a, 'b> Mul<&'b ArwenBigInt> for &'a ArwenBigInt
[src]
type Output = ArwenBigInt
The resulting type after applying the *
operator.
fn mul(self, other: &ArwenBigInt) -> ArwenBigInt
[src]
impl Mul<ArwenBigInt> for ArwenBigInt
[src]
type Output = ArwenBigInt
The resulting type after applying the *
operator.
fn mul(self, other: ArwenBigInt) -> ArwenBigInt
[src]
impl<'_> MulAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]
fn mul_assign(&mut self, other: &ArwenBigInt)
[src]
impl MulAssign<ArwenBigInt> for ArwenBigInt
[src]
fn mul_assign(&mut self, other: Self)
[src]
impl Neg for ArwenBigInt
[src]
type Output = ArwenBigInt
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
impl NestedDecode for ArwenBigInt
[src]
const TYPE_INFO: TypeInfo
[src]
fn dep_decode_to<I: NestedDecodeInput>(
input: &mut I
) -> Result<Self, DecodeError>
[src]
input: &mut I
) -> Result<Self, DecodeError>
fn dep_decode<I, R, F>(input: &mut I, f: F) -> R where
F: FnOnce(Result<Self, DecodeError>) -> R,
I: NestedDecodeInput,
F: FnOnce(Result<Self, DecodeError>) -> R,
I: NestedDecodeInput,
impl NestedEncode for ArwenBigInt
[src]
const TYPE_INFO: TypeInfo
[src]
fn dep_encode_to<O: NestedEncodeOutput>(
&self,
dest: &mut O
) -> Result<(), EncodeError>
[src]
&self,
dest: &mut O
) -> Result<(), EncodeError>
impl Ord for ArwenBigInt
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ArwenBigInt> for ArwenBigInt
[src]
impl PartialEq<i64> for ArwenBigInt
[src]
impl PartialOrd<ArwenBigInt> for ArwenBigInt
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<i64> for ArwenBigInt
[src]
fn partial_cmp(&self, other: &i64) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a, 'b> Rem<&'b ArwenBigInt> for &'a ArwenBigInt
[src]
type Output = ArwenBigInt
The resulting type after applying the %
operator.
fn rem(self, other: &ArwenBigInt) -> ArwenBigInt
[src]
impl Rem<ArwenBigInt> for ArwenBigInt
[src]
type Output = ArwenBigInt
The resulting type after applying the %
operator.
fn rem(self, other: ArwenBigInt) -> ArwenBigInt
[src]
impl<'_> RemAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]
fn rem_assign(&mut self, other: &ArwenBigInt)
[src]
impl RemAssign<ArwenBigInt> for ArwenBigInt
[src]
fn rem_assign(&mut self, other: Self)
[src]
impl<'a, 'b> Sub<&'b ArwenBigInt> for &'a ArwenBigInt
[src]
type Output = ArwenBigInt
The resulting type after applying the -
operator.
fn sub(self, other: &ArwenBigInt) -> ArwenBigInt
[src]
impl Sub<ArwenBigInt> for ArwenBigInt
[src]
type Output = ArwenBigInt
The resulting type after applying the -
operator.
fn sub(self, other: ArwenBigInt) -> ArwenBigInt
[src]
impl<'_> SubAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]
fn sub_assign(&mut self, other: &ArwenBigInt)
[src]
impl SubAssign<ArwenBigInt> for ArwenBigInt
[src]
fn sub_assign(&mut self, other: Self)
[src]
impl TopDecode for ArwenBigInt
[src]
const TYPE_INFO: TypeInfo
[src]
fn top_decode<I: TopDecodeInput, R, F: FnOnce(Result<Self, DecodeError>) -> R>(
input: I,
f: F
) -> R
[src]
input: I,
f: F
) -> R
impl TopEncode for ArwenBigInt
[src]
const TYPE_INFO: TypeInfo
[src]
fn top_encode<O: TopEncodeOutput>(&self, output: O) -> Result<(), EncodeError>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsyncCallArg for T where
T: TopEncode,
[src]
T: TopEncode,
pub fn push_async_arg(
&self,
serializer: &mut CallDataSerializer
) -> Result<(), SCError>
[src]
&self,
serializer: &mut CallDataSerializer
) -> Result<(), SCError>
fn push_async_arg_exact(
&self,
_serializer: &mut CallDataSerializer,
_expected_len: usize
) -> Result<(), SCError>
[src]
&self,
_serializer: &mut CallDataSerializer,
_expected_len: usize
) -> Result<(), SCError>
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<I, D, T> DynArg<I, D> for T where
D: DynArgInput<I>,
I: TopDecodeInput,
T: TopDecode,
[src]
D: DynArgInput<I>,
I: TopDecodeInput,
T: TopDecode,
impl<A, BigInt, BigUint, T> EndpointResult<A, BigInt, BigUint> for T where
A: ContractHookApi<BigInt, BigUint> + ContractIOApi<BigInt, BigUint> + 'static,
BigInt: BigIntApi<BigUint> + 'static,
BigUint: BigUintApi + 'static,
T: TopEncode,
[src]
A: ContractHookApi<BigInt, BigUint> + ContractIOApi<BigInt, BigUint> + 'static,
BigInt: BigIntApi<BigUint> + 'static,
BigUint: BigUintApi + 'static,
T: TopEncode,
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,