Struct elrond_wasm_node::api::ArwenBigInt [−][src]
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]
pub fn zero() -> Self
[src]
impl Clone for ArwenBigInt
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ContractHookApi<ArwenBigInt, ArwenBigUint> for ArwenApiImpl
[src]
type Storage = Self
Abstracts the lower-level storage functionality.
type CallValue = Self
Abstracts the call value handling at the beginning of a function call.
type SendApi = Self
Abstracts the sending of EGLD & ESDT transactions, as well as async calls.
fn get_storage_raw(&self) -> Self::Storage
[src]
fn call_value(&self) -> Self::CallValue
[src]
fn send(&self) -> Self::SendApi
[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 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]
pub fn get_sc_balance(&self) -> BigUint
[src]
pub fn storage_load_cumulated_validator_reward(&self) -> BigUint
[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<I: NestedDecodeInput>(input: &mut I) -> Result<Self, DecodeError>
[src]
fn dep_decode_or_exit<I: NestedDecodeInput, ExitCtx: Clone>(
input: &mut I,
c: ExitCtx,
exit: fn(_: ExitCtx, _: DecodeError) -> !
) -> Self
[src]
input: &mut I,
c: ExitCtx,
exit: fn(_: ExitCtx, _: DecodeError) -> !
) -> Self
impl NestedEncode for ArwenBigInt
[src]
const TYPE_INFO: TypeInfo
[src]
fn dep_encode<O: NestedEncodeOutput>(
&self,
dest: &mut O
) -> Result<(), EncodeError>
[src]
&self,
dest: &mut O
) -> Result<(), EncodeError>
fn dep_encode_or_exit<O: NestedEncodeOutput, ExitCtx: Clone>(
&self,
dest: &mut O,
c: ExitCtx,
exit: fn(_: ExitCtx, _: EncodeError) -> !
)
[src]
&self,
dest: &mut O,
c: ExitCtx,
exit: fn(_: ExitCtx, _: EncodeError) -> !
)
impl Ord for ArwenBigInt
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[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]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub 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]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub 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>(input: I) -> Result<Self, DecodeError>
[src]
fn top_decode_or_exit<I: TopDecodeInput, ExitCtx: Clone>(
input: I,
_: ExitCtx,
_: fn(_: ExitCtx, _: DecodeError) -> !
) -> Self
[src]
input: I,
_: ExitCtx,
_: fn(_: ExitCtx, _: DecodeError) -> !
) -> Self
impl TopEncode for ArwenBigInt
[src]
const TYPE_INFO: TypeInfo
[src]
fn top_encode<O: TopEncodeOutput>(&self, output: O) -> Result<(), EncodeError>
[src]
fn top_encode_or_exit<O: TopEncodeOutput, ExitCtx: Clone>(
&self,
output: O,
_: ExitCtx,
_: fn(_: ExitCtx, _: EncodeError) -> !
)
[src]
&self,
output: O,
_: ExitCtx,
_: fn(_: ExitCtx, _: EncodeError) -> !
)
impl TypeAbi for ArwenBigInt
[src]
fn type_name() -> String
[src]
pub fn provide_type_descriptions<TDC>(accumulator: &mut TDC) where
TDC: TypeDescriptionContainer,
[src]
TDC: TypeDescriptionContainer,
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 HexCallDataSerializer
) -> Result<(), SCError>
[src]
&self,
serializer: &mut HexCallDataSerializer
) -> Result<(), SCError>
pub fn push_async_arg_exact(
&self,
_serializer: &mut HexCallDataSerializer,
_expected_len: usize
) -> Result<(), SCError>
[src]
&self,
_serializer: &mut HexCallDataSerializer,
_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
I: TopDecodeInput,
T: TopDecode,
D: DynArgInput<I>,
[src]
I: TopDecodeInput,
T: TopDecode,
D: DynArgInput<I>,
impl<FA, T> EndpointResult<FA> for T where
T: TopEncode,
FA: EndpointFinishApi + ErrorApi + Clone + 'static,
[src]
T: TopEncode,
FA: EndpointFinishApi + ErrorApi + Clone + 'static,
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>,