Expand description
A crate that hosts a common definitions that are relevant for the pallet-contracts.
Structs§
- Code
Upload Return Value - The result of successfully uploading a contract.
- Contract
Result - Result type of a
bare_call
orbare_instantiate
call as well asContractsApi::call
andContractsApi::instantiate
. - Exec
Return Value - Output of a contract call or instantiation which ran to completion.
- Instantiate
Return Value - The result of a successful contract instantiation.
- Return
Flags - Flags used by a contract to customize exit behaviour.
Enums§
- Code
- Reference to an existing code hash or a new wasm module.
- Contract
Access Error - The possible errors that can happen querying the storage of a contract.
- Storage
Deposit - The amount of balance that was either charged or refunded in order to pay for storage.
Type Aliases§
- Code
Upload Result - Result type of a
bare_code_upload
call. - Contract
Exec Result - Result type of a
bare_call
call as well asContractsApi::call
. - Contract
Instantiate Result - Result type of a
bare_instantiate
call as well asContractsApi::instantiate
. - GetStorage
Result - Result type of a
get_storage
call.