Module pallet_contracts::pallet::dispatchables
source · Expand description
Functions§
- Makes a call to an account, optionally transferring some balance.
- Deprecated version if [
Self::call
] for use in an in-storageCall
. - Instantiates a contract from a previously deployed wasm binary.
- Deprecated version if [
Self::instantiate
] for use in an in-storageCall
. - Instantiates a new contract from the supplied
code
optionally transferring some balance. - Deprecated version if [
Self::instantiate_with_code
] for use in an in-storageCall
. - When a migration is in progress, this dispatchable can be used to run migration steps. Calls that contribute to advancing the migration have their fees waived, as it’s helpful for the chain. Note that while the migration is in progress, the pallet will also leverage the
on_idle
hooks to run migration steps. - Remove the code stored under
code_hash
and refund the deposit to its owner. - Privileged function that changes the code of an existing contract.
- Upload new
code
without instantiating a contract from it.