Struct elrond_wasm_module_features::ContractObj [−][src]
pub struct ContractObj<A: ContractBase> { /* fields omitted */ }
Trait Implementations
impl<A> CallableContract<A> for ContractObj<A> where
A::BigUint: BigUintApi,
&'a A::BigUint: Add<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: Sub<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: Mul<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: Div<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: Rem<&'b A::BigUint, Output = A::BigUint>,
A::BigUint: AddAssign<&'b A::BigUint>,
A::BigUint: SubAssign<&'b A::BigUint>,
A::BigUint: MulAssign<&'b A::BigUint>,
A::BigUint: DivAssign<&'b A::BigUint>,
A::BigUint: RemAssign<&'b A::BigUint>,
&'a A::BigUint: BitAnd<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: BitOr<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: BitXor<&'b A::BigUint, Output = A::BigUint>,
A::BigUint: BitAndAssign<&'b A::BigUint>,
A::BigUint: BitOrAssign<&'b A::BigUint>,
A::BigUint: BitXorAssign<&'b A::BigUint>,
&'a A::BigUint: Shr<usize, Output = A::BigUint>,
&'a A::BigUint: Shl<usize, Output = A::BigUint>,
A::BigInt: BigIntApi,
&'a A::BigInt: Add<&'b A::BigInt, Output = A::BigInt>,
&'a A::BigInt: Sub<&'b A::BigInt, Output = A::BigInt>,
&'a A::BigInt: Mul<&'b A::BigInt, Output = A::BigInt>,
&'a A::BigInt: Div<&'b A::BigInt, Output = A::BigInt>,
&'a A::BigInt: Rem<&'b A::BigInt, Output = A::BigInt>,
A::BigInt: AddAssign<&'b A::BigInt>,
A::BigInt: SubAssign<&'b A::BigInt>,
A::BigInt: MulAssign<&'b A::BigInt>,
A::BigInt: DivAssign<&'b A::BigInt>,
A::BigInt: RemAssign<&'b A::BigInt>,
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
[src]
impl<A> CallableContract<A> for ContractObj<A> where
A::BigUint: BigUintApi,
&'a A::BigUint: Add<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: Sub<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: Mul<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: Div<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: Rem<&'b A::BigUint, Output = A::BigUint>,
A::BigUint: AddAssign<&'b A::BigUint>,
A::BigUint: SubAssign<&'b A::BigUint>,
A::BigUint: MulAssign<&'b A::BigUint>,
A::BigUint: DivAssign<&'b A::BigUint>,
A::BigUint: RemAssign<&'b A::BigUint>,
&'a A::BigUint: BitAnd<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: BitOr<&'b A::BigUint, Output = A::BigUint>,
&'a A::BigUint: BitXor<&'b A::BigUint, Output = A::BigUint>,
A::BigUint: BitAndAssign<&'b A::BigUint>,
A::BigUint: BitOrAssign<&'b A::BigUint>,
A::BigUint: BitXorAssign<&'b A::BigUint>,
&'a A::BigUint: Shr<usize, Output = A::BigUint>,
&'a A::BigUint: Shl<usize, Output = A::BigUint>,
A::BigInt: BigIntApi,
&'a A::BigInt: Add<&'b A::BigInt, Output = A::BigInt>,
&'a A::BigInt: Sub<&'b A::BigInt, Output = A::BigInt>,
&'a A::BigInt: Mul<&'b A::BigInt, Output = A::BigInt>,
&'a A::BigInt: Div<&'b A::BigInt, Output = A::BigInt>,
&'a A::BigInt: Rem<&'b A::BigInt, Output = A::BigInt>,
A::BigInt: AddAssign<&'b A::BigInt>,
A::BigInt: SubAssign<&'b A::BigInt>,
A::BigInt: MulAssign<&'b A::BigInt>,
A::BigInt: DivAssign<&'b A::BigInt>,
A::BigInt: RemAssign<&'b A::BigInt>,
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
[src]impl<A> ContractBase for ContractObj<A> where
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
[src]
impl<A> ContractBase for ContractObj<A> where
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
[src]type BigUint = A::BigUint
type BigInt = A::BigInt
type BlockchainApi = A::BlockchainApi
type CryptoApi = A::CryptoApi
type LogApi = A::LogApi
type ErrorApi = A::ErrorApi
fn get_storage_raw(&self) -> Self::Storage
[src]
fn get_storage_raw(&self) -> Self::Storage
[src]Gateway into the lower-level storage functionality. Storage related annotations make use of this. Using it directly is not recommended. Read more
fn call_value(&self) -> Self::CallValue
[src]
fn call_value(&self) -> Self::CallValue
[src]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
fn send(&self) -> Self::SendApi
[src]
fn send(&self) -> Self::SendApi
[src]Gateway to the functionality related to sending transactions from the current contract.
fn blockchain(&self) -> Self::BlockchainApi
[src]
fn blockchain(&self) -> Self::BlockchainApi
[src]Gateway blockchain info related to the current transaction and to accounts.
fn log_api_raw(&self) -> Self::LogApi
[src]
fn log_api_raw(&self) -> Self::LogApi
[src]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
fn error_api(&self) -> Self::ErrorApi
[src]
fn error_api(&self) -> Self::ErrorApi
[src]Currently for some auto-generated code involving callbacks. Please avoid using it directly. TODO: find a way to hide this API. Read more
fn proxy<P>(&self, address: Address) -> P where
P: ProxyObjApi<SendApi = Self::SendApi>,
[src]
P: ProxyObjApi<SendApi = Self::SendApi>,
impl<A> ContractPrivateApi for ContractObj<A> where
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
[src]
impl<A> ContractPrivateApi for ContractObj<A> where
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
[src]type ArgumentApi = A
type FinishApi = A
fn argument_api(&self) -> Self::ArgumentApi
[src]
fn finish_api(&self) -> Self::FinishApi
[src]
impl<A> EndpointWrappers for ContractObj<A> where
Self::BigUint: BigUintApi,
&'a Self::BigUint: Add<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: Sub<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: Mul<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: Div<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: Rem<&'b Self::BigUint, Output = Self::BigUint>,
Self::BigUint: AddAssign<&'b Self::BigUint>,
Self::BigUint: SubAssign<&'b Self::BigUint>,
Self::BigUint: MulAssign<&'b Self::BigUint>,
Self::BigUint: DivAssign<&'b Self::BigUint>,
Self::BigUint: RemAssign<&'b Self::BigUint>,
&'a Self::BigUint: BitAnd<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: BitOr<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: BitXor<&'b Self::BigUint, Output = Self::BigUint>,
Self::BigUint: BitAndAssign<&'b Self::BigUint>,
Self::BigUint: BitOrAssign<&'b Self::BigUint>,
Self::BigUint: BitXorAssign<&'b Self::BigUint>,
&'a Self::BigUint: Shr<usize, Output = Self::BigUint>,
&'a Self::BigUint: Shl<usize, Output = Self::BigUint>,
Self::BigInt: BigIntApi,
&'a Self::BigInt: Add<&'b Self::BigInt, Output = Self::BigInt>,
&'a Self::BigInt: Sub<&'b Self::BigInt, Output = Self::BigInt>,
&'a Self::BigInt: Mul<&'b Self::BigInt, Output = Self::BigInt>,
&'a Self::BigInt: Div<&'b Self::BigInt, Output = Self::BigInt>,
&'a Self::BigInt: Rem<&'b Self::BigInt, Output = Self::BigInt>,
Self::BigInt: AddAssign<&'b Self::BigInt>,
Self::BigInt: SubAssign<&'b Self::BigInt>,
Self::BigInt: MulAssign<&'b Self::BigInt>,
Self::BigInt: DivAssign<&'b Self::BigInt>,
Self::BigInt: RemAssign<&'b Self::BigInt>,
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
[src]
impl<A> EndpointWrappers for ContractObj<A> where
Self::BigUint: BigUintApi,
&'a Self::BigUint: Add<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: Sub<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: Mul<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: Div<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: Rem<&'b Self::BigUint, Output = Self::BigUint>,
Self::BigUint: AddAssign<&'b Self::BigUint>,
Self::BigUint: SubAssign<&'b Self::BigUint>,
Self::BigUint: MulAssign<&'b Self::BigUint>,
Self::BigUint: DivAssign<&'b Self::BigUint>,
Self::BigUint: RemAssign<&'b Self::BigUint>,
&'a Self::BigUint: BitAnd<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: BitOr<&'b Self::BigUint, Output = Self::BigUint>,
&'a Self::BigUint: BitXor<&'b Self::BigUint, Output = Self::BigUint>,
Self::BigUint: BitAndAssign<&'b Self::BigUint>,
Self::BigUint: BitOrAssign<&'b Self::BigUint>,
Self::BigUint: BitXorAssign<&'b Self::BigUint>,
&'a Self::BigUint: Shr<usize, Output = Self::BigUint>,
&'a Self::BigUint: Shl<usize, Output = Self::BigUint>,
Self::BigInt: BigIntApi,
&'a Self::BigInt: Add<&'b Self::BigInt, Output = Self::BigInt>,
&'a Self::BigInt: Sub<&'b Self::BigInt, Output = Self::BigInt>,
&'a Self::BigInt: Mul<&'b Self::BigInt, Output = Self::BigInt>,
&'a Self::BigInt: Div<&'b Self::BigInt, Output = Self::BigInt>,
&'a Self::BigInt: Rem<&'b Self::BigInt, Output = Self::BigInt>,
Self::BigInt: AddAssign<&'b Self::BigInt>,
Self::BigInt: SubAssign<&'b Self::BigInt>,
Self::BigInt: MulAssign<&'b Self::BigInt>,
Self::BigInt: DivAssign<&'b Self::BigInt>,
Self::BigInt: RemAssign<&'b Self::BigInt>,
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
[src]impl<A> AutoImpl for ContractObj<A> where
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
[src]
A: ContractBase + ErrorApi + EndpointArgumentApi + EndpointFinishApi + Clone + 'static,
Auto Trait Implementations
impl<A> Send for ContractObj<A> where
A: Send,
A: Send,
impl<A> Sync for ContractObj<A> where
A: Sync,
A: Sync,
impl<A> Unpin for ContractObj<A> where
A: Unpin,
A: Unpin,