Contracts
#29WASM smart contracts (ink!)
Part of EVM & Smart Contracts: Ethereum compatibility and smart contract execution
API version of the contracts pallet.
Calls a deployed WASM smart contract, executing its code with provided data.
Legacy call interface using old weight format (deprecated).
Emitted when a smart contract is called and executed.
A contract cannot add its own code hash as a delegate dependency.
Percentage of code deposit locked during instance lifetime.
No code info could be found at the supplied code hash.
Metadata about stored contract code.
Cannot remove code because contract instances still use it.
No code exists with the specified code hash.
The WASM code was rejected during validation.
Emitted when contract code is removed from on-chain storage.
Emitted when contract code is uploaded and stored on-chain.
The WASM code exceeds the maximum allowed size.
Emitted when a contract's code is updated to a different code hash.
Emitted when a contract emits a custom event during execution.
Information about deployed contract instances.
No contract exists at the specified address.
The contract execution was reverted.
The contract execution trapped (crashed) during execution.
Failed to decode input data for the contract.
Default maximum deposit for a contract deployment.
Emitted when a contract executes code from another contract in its own context.
The contract already depends on the given delegate dependency.
The dependency was not found in the contract's delegate dependencies.
Queue of contracts marked for deletion.
Counter for the deletion queue.
Storage deposit per byte of code or contract storage.
Deposit per storage item (key) in a contract.
A contract already exists at the target address.
Environment constants available to contracts at runtime.
The code contains non-deterministic operations.
Input data was forwarded to a nested call unexpectedly.
Creates a new contract instance from previously uploaded code.
Legacy instantiate using old weight format (deprecated).
Deploys new WASM contract code and instantiates a contract from it in one operation.
Legacy instantiate_with_code using old weight format (deprecated).
Emitted when a new smart contract is successfully deployed and instantiated.
The call flags specified for this contract call are invalid.
The cost schedule for contract execution is invalid.
Contract call depth exceeded the maximum allowed nesting level.
Maximum size of WASM code that can be uploaded.
Maximum size of the debug buffer for contract debugging.
Maximum number of delegate dependencies for a contract.
The contract has reached its maximum number of delegate dependencies.
Maximum length of a storage key in a contract.
Maximum size of transient storage during contract execution.
Runs migration logic for contracts after a runtime upgrade.
Cursor tracking migration progress after runtime upgrades.
A migration is in progress and contract operations are blocked.
The contract tried to use a chain extension that doesn't exist.
No migration was performed (nothing to migrate).
A running counter used for contract address derivation.
A memory access in the contract went out of bounds.
The contract execution ran out of gas before completing.
Cannot add more data to transient storage.
The output buffer provided is too small for the contract's return data.
Stored WASM code identified by code hash.
The subject provided for random number generation is too long.
A reentrant call was denied by the contract or runtime.
Removes previously uploaded contract code if no instances exist.
Cost schedule for contract operations.
Updates the code of an existing contract to a different code hash (admin only).
A contract attempted to modify state while in read-only mode.
The storage deposit limit for this call was exceeded.
Insufficient funds for storage deposit.
Emitted when storage deposit is transferred and held by the contract system.
Emitted when a storage deposit is refunded due to storage cleanup.
Emitted when a contract is terminated and removed from the chain.
Contract tried to self-destruct in its constructor.
Contract was terminated during a reentrant call.
Too many topics were provided for an event.
A value transfer within the contract failed.
Whether unstable/experimental host functions are available.
Uploads WASM contract code without instantiating a contract.
The value being transferred is too large.
Failed to decode the XCM program.