Module pallet_contracts::pallet::dispatchables
source · Expand description
Auto-generated docs-only module listing all defined dispatchables for this pallet.
Warning: Doc-Only
Members of this module cannot be used directly and are only provided for documentation
purposes. To see the real version of each dispatchable, look for them in Pallet or
Call.
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
codeoptionally 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_idlehooks to run migration steps. - Remove the code stored under
code_hashand refund the deposit to its owner. - Privileged function that changes the code of an existing contract.
- Upload new
codewithout instantiating a contract from it.