Struct elrond_wasm_module_features::FeaturesModuleImpl [−][src]
Implementations
impl<T, BigInt, BigUint> FeaturesModuleImpl<T, BigInt, BigUint> where
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
[src]
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
Trait Implementations
impl<T, BigInt, BigUint> CallableContract<T> for FeaturesModuleImpl<T, BigInt, BigUint> where
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
[src]
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
fn call(&self, fn_name: &[u8]) -> bool
[src]
fn clone_contract(&self) -> Box<dyn CallableContract<T>>
[src]
fn into_api(self: Box<Self>) -> T
[src]
impl<T, BigInt, BigUint> ContractHookApi<BigInt, BigUint> for FeaturesModuleImpl<T, BigInt, BigUint> where
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
[src]
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
type Storage = T::Storage
Abstracts the lower-level storage functionality.
type CallValue = T::CallValue
Abstracts the call value handling at the beginning of a function call.
type SendApi = T::SendApi
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) -> BigUint
[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<T, BigInt, BigUint> ContractWithAbi for FeaturesModuleImpl<T, BigInt, BigUint> where
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
[src]
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
type Storage = T::Storage
The generated ABI generation code sometimes references the contract storage manager type, e.g. with storage mappers. Read more
fn abi(&self, include_modules: bool) -> ContractAbi
[src]
impl<T, BigInt, BigUint> CryptoApi for FeaturesModuleImpl<T, BigInt, BigUint> where
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
[src]
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
fn sha256(&self, data: &[u8]) -> H256
[src]
fn keccak256(&self, data: &[u8]) -> H256
[src]
fn verify_bls(&self, key: &[u8], message: &[u8], signature: &[u8]) -> bool
[src]
fn verify_ed25519(&self, key: &[u8], message: &[u8], signature: &[u8]) -> bool
[src]
fn verify_secp256k1(&self, key: &[u8], message: &[u8], signature: &[u8]) -> bool
[src]
impl<T, BigInt, BigUint> FeaturesModule<T, BigInt, BigUint> for FeaturesModuleImpl<T, BigInt, BigUint> where
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
[src]
BigUint: BigUintApi + 'static,
&'a BigUint: Add<&'b BigUint, Output = BigUint>,
&'a BigUint: Sub<&'b BigUint, Output = BigUint>,
&'a BigUint: Mul<&'b BigUint, Output = BigUint>,
&'a BigUint: Div<&'b BigUint, Output = BigUint>,
&'a BigUint: Rem<&'b BigUint, Output = BigUint>,
BigUint: AddAssign<&'b BigUint>,
BigUint: SubAssign<&'b BigUint>,
BigUint: MulAssign<&'b BigUint>,
BigUint: DivAssign<&'b BigUint>,
BigUint: RemAssign<&'b BigUint>,
&'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
&'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
&'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
BigUint: BitAndAssign<&'b BigUint>,
BigUint: BitOrAssign<&'b BigUint>,
BigUint: BitXorAssign<&'b BigUint>,
&'a BigUint: Shr<usize, Output = BigUint>,
&'a BigUint: Shl<usize, Output = BigUint>,
BigInt: BigIntApi<BigUint> + 'static,
&'a BigInt: Add<&'b BigInt, Output = BigInt>,
&'a BigInt: Sub<&'b BigInt, Output = BigInt>,
&'a BigInt: Mul<&'b BigInt, Output = BigInt>,
&'a BigInt: Div<&'b BigInt, Output = BigInt>,
&'a BigInt: Rem<&'b BigInt, Output = BigInt>,
BigInt: AddAssign<&'b BigInt>,
BigInt: SubAssign<&'b BigInt>,
BigInt: MulAssign<&'b BigInt>,
BigInt: DivAssign<&'b BigInt>,
BigInt: RemAssign<&'b BigInt>,
T: ContractHookApi<BigInt, BigUint> + ErrorApi + CallValueApi<BigUint> + EndpointArgumentApi + EndpointFinishApi + StorageReadApi + StorageWriteApi + LogApi + Clone + 'static,
fn get_feature_flag(&self, feature_name: FeatureName<'_>) -> u8
[src]
fn set_feature_flag(&self, feature_name: FeatureName<'_>, value: u8)
[src]
fn contract_proxy(
&self,
address: &Address
) -> Box<OtherContractHandle<T, BigInt, BigUint>>
[src]
&self,
address: &Address
) -> Box<OtherContractHandle<T, BigInt, BigUint>>
fn callback(&self)
[src]
fn check_feature_on(
&self,
feature_name: &'static [u8],
default: bool
) -> SCResult<()>
[src]
&self,
feature_name: &'static [u8],
default: bool
) -> SCResult<()>
fn set_feature_flag_endpoint(
&self,
feature_name: Vec<u8>,
value: bool
) -> SCResult<()>
[src]
&self,
feature_name: Vec<u8>,
value: bool
) -> SCResult<()>
Auto Trait Implementations
impl<T, BigInt, BigUint> Send for FeaturesModuleImpl<T, BigInt, BigUint> where
BigInt: Send,
BigUint: Send,
T: Send,
[src]
BigInt: Send,
BigUint: Send,
T: Send,
impl<T, BigInt, BigUint> Sync for FeaturesModuleImpl<T, BigInt, BigUint> where
BigInt: Sync,
BigUint: Sync,
T: Sync,
[src]
BigInt: Sync,
BigUint: Sync,
T: Sync,
impl<T, BigInt, BigUint> Unpin for FeaturesModuleImpl<T, BigInt, BigUint> where
BigInt: Unpin,
BigUint: Unpin,
T: Unpin,
[src]
BigInt: Unpin,
BigUint: Unpin,
T: Unpin,
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,
pub 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, 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>,