Expand description

A crate that hosts a common definitions that are relevant for the pallet-contracts.


The result of succesfully uploading a contract.
Result type of a bare_call or bare_instantiate call.
Output of a contract call or instantiation which ran to completion.
The result of a successful contract instantiation.
Flags used by a contract to customize exit behaviour.


Reference to an existing code hash or a new wasm module.
The possible errors that can happen querying the storage of a contract.
The amount of balance that was either charged or refunded in order to pay for storage.

Type Definitions

Result type of a bare_code_upload call.
Result type of a bare_call call.
Result type of a bare_instantiate call.
Result type of a get_storage call.