pub struct ContractObj<A>where
    A: VMApi,
{ /* private fields */ }

Trait Implementations§

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.
Gateway to the functionality related to sending transactions from the current contract.
Low-level functionality related to sending transactions from the current contract. Read more
Gateway blockchain info related to the current transaction and to accounts.
Stateless crypto functions provided by the Arwen VM.
Component that provides contract developers access to highly optimized manual serialization and deserialization.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Run the given lambda function until it’s either completed or it runs out of gas. min_gas_to_save_progress should be a reasonable value to save gas. This can vary a lot based on the given ongoing operation data structures. Read more
Load the current ongoing operation. Will return the default value if no operation is saved.
Save progress for the current operation. The given value can be any serializable type.
Clears the currently stored operation. This is for internal use.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.