Struct elrond_wasm_module_dns::ContractObj [−][src]
pub struct ContractObj<A: ContractBase> { /* fields omitted */ }
Trait Implementations
impl<A> CallableContract<A> for ContractObj<A> where
A::BigUint: BigUintApi,
for<'a, 'b> &'a A::BigUint: Add<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: Sub<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: Mul<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: Div<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: Rem<&'b A::BigUint, Output = A::BigUint>,
for<'b> A::BigUint: AddAssign<&'b A::BigUint>,
for<'b> A::BigUint: SubAssign<&'b A::BigUint>,
for<'b> A::BigUint: MulAssign<&'b A::BigUint>,
for<'b> A::BigUint: DivAssign<&'b A::BigUint>,
for<'b> A::BigUint: RemAssign<&'b A::BigUint>,
for<'a, 'b> &'a A::BigUint: BitAnd<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: BitOr<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: BitXor<&'b A::BigUint, Output = A::BigUint>,
for<'b> A::BigUint: BitAndAssign<&'b A::BigUint>,
for<'b> A::BigUint: BitOrAssign<&'b A::BigUint>,
for<'b> A::BigUint: BitXorAssign<&'b A::BigUint>,
for<'a> &'a A::BigUint: Shr<usize, Output = A::BigUint>,
for<'a> &'a A::BigUint: Shl<usize, Output = A::BigUint>,
A::BigInt: BigIntApi,
for<'a, 'b> &'a A::BigInt: Add<&'b A::BigInt, Output = A::BigInt>,
for<'a, 'b> &'a A::BigInt: Sub<&'b A::BigInt, Output = A::BigInt>,
for<'a, 'b> &'a A::BigInt: Mul<&'b A::BigInt, Output = A::BigInt>,
for<'a, 'b> &'a A::BigInt: Div<&'b A::BigInt, Output = A::BigInt>,
for<'a, 'b> &'a A::BigInt: Rem<&'b A::BigInt, Output = A::BigInt>,
for<'b> A::BigInt: AddAssign<&'b A::BigInt>,
for<'b> A::BigInt: SubAssign<&'b A::BigInt>,
for<'b> A::BigInt: MulAssign<&'b A::BigInt>,
for<'b> A::BigInt: DivAssign<&'b A::BigInt>,
for<'b> A::BigInt: RemAssign<&'b A::BigInt>,
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
impl<A> CallableContract<A> for ContractObj<A> where
A::BigUint: BigUintApi,
for<'a, 'b> &'a A::BigUint: Add<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: Sub<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: Mul<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: Div<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: Rem<&'b A::BigUint, Output = A::BigUint>,
for<'b> A::BigUint: AddAssign<&'b A::BigUint>,
for<'b> A::BigUint: SubAssign<&'b A::BigUint>,
for<'b> A::BigUint: MulAssign<&'b A::BigUint>,
for<'b> A::BigUint: DivAssign<&'b A::BigUint>,
for<'b> A::BigUint: RemAssign<&'b A::BigUint>,
for<'a, 'b> &'a A::BigUint: BitAnd<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: BitOr<&'b A::BigUint, Output = A::BigUint>,
for<'a, 'b> &'a A::BigUint: BitXor<&'b A::BigUint, Output = A::BigUint>,
for<'b> A::BigUint: BitAndAssign<&'b A::BigUint>,
for<'b> A::BigUint: BitOrAssign<&'b A::BigUint>,
for<'b> A::BigUint: BitXorAssign<&'b A::BigUint>,
for<'a> &'a A::BigUint: Shr<usize, Output = A::BigUint>,
for<'a> &'a A::BigUint: Shl<usize, Output = A::BigUint>,
A::BigInt: BigIntApi,
for<'a, 'b> &'a A::BigInt: Add<&'b A::BigInt, Output = A::BigInt>,
for<'a, 'b> &'a A::BigInt: Sub<&'b A::BigInt, Output = A::BigInt>,
for<'a, 'b> &'a A::BigInt: Mul<&'b A::BigInt, Output = A::BigInt>,
for<'a, 'b> &'a A::BigInt: Div<&'b A::BigInt, Output = A::BigInt>,
for<'a, 'b> &'a A::BigInt: Rem<&'b A::BigInt, Output = A::BigInt>,
for<'b> A::BigInt: AddAssign<&'b A::BigInt>,
for<'b> A::BigInt: SubAssign<&'b A::BigInt>,
for<'b> A::BigInt: MulAssign<&'b A::BigInt>,
for<'b> A::BigInt: DivAssign<&'b A::BigInt>,
for<'b> A::BigInt: RemAssign<&'b A::BigInt>,
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
impl<A> ContractBase for ContractObj<A> where
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
impl<A> ContractBase for ContractObj<A> where
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
type EllipticCurve = A::EllipticCurve
type BlockchainApi = A::BlockchainApi
Gateway into the lower-level storage functionality. Storage related annotations make use of this. Using it directly is not recommended. Read more
Gateway into the call value retrieval functionality. The payment annotations should normally be the ones to handle this, but the developer is also given direct access to the API. Read more
Gateway to the functionality related to sending transactions from the current contract.
Gateway blockchain info related to the current transaction and to accounts.
Gateway into the lower-level event log functionality.
Gets called in auto-generated
Using it directly is not recommended.
TODO: consider moving to ContractPrivateApi
. Read more
Currently for some auto-generated code involving callbacks. Please avoid using it directly. TODO: find a way to hide this API. Read more