[−][src]Trait elrond_wasm_module_features::FeaturesModule
Required methods
fn get_feature_flag(&self, feature_name: FeatureName<'_>) -> u8
fn set_feature_flag(&self, feature_name: FeatureName<'_>, value: u8)
fn contract_proxy(
&self,
address: &Address
) -> Box<OtherContractHandle<T, BigInt, BigUint>>
&self,
address: &Address
) -> Box<OtherContractHandle<T, BigInt, BigUint>>
fn callback(&self)
Provided methods
fn check_feature_on(
&self,
feature_name: &'static [u8],
default: bool
) -> SCResult<()>
&self,
feature_name: &'static [u8],
default: bool
) -> SCResult<()>
fn set_feature_flag_endpoint(
&self,
feature_name: Vec<u8>,
value: bool
) -> SCResult<()>
&self,
feature_name: Vec<u8>,
value: bool
) -> SCResult<()>
Implementors
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> + ContractIOApi<BigInt, BigUint> + 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> + ContractIOApi<BigInt, BigUint> + 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>>