Expand description
A crate that hosts a common definitions that are relevant for the pallet-contracts.
Structs
- The result of successfully uploading a contract.
- Result type of a
bare_call
orbare_instantiate
call as well asContractsApi::call
andContractsApi::instantiate
. - 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.
Enums
- 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 as well asContractsApi::call
. - Result type of a
bare_instantiate
call as well asContractsApi::instantiate
. - Result type of a
get_storage
call.