Name | Lookup | Parameters | |
---|---|---|---|
instantiate_with_code_perms | 2f00 | 7 | |
instantiate_with_hash_perms | 2f01 | 7 | |
update_call_runtime_whitelist | 2f02 | 1 | |
instantiate_with_code_as_primary_key | 2f03 | 6 | |
instantiate_with_hash_as_primary_key | 2f04 | 6 | |
upgrade_api | 2f05 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
ApiHashUpdated | 2f00 | ["Api","ChainVersion","Hash"] | |
SCRuntimeCall | 2f01 | ["AccountId","ExtrinsicId"] |
Name | Type | |
---|---|---|
CallRuntimeWhitelist | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["polymesh_contracts:chain_extension:ExtrinsicId"],"value":"Bool","keys_id":293,"value_id":74}} | |
StorageVersion | {"origin":"PlainType","plain_type":"U8","PlainTypeValue":737} | |
ApiNextUpgrade | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["polymesh_contracts:Api"],"value":"polymesh_contracts:NextUpgrade","keys_id":291,"value_id":547}} | |
CurrentApiHash | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["polymesh_contracts:Api"],"value":"H256","keys_id":291,"value_id":548}} |
Name | Docs |
---|---|
InvalidFuncId | Invalid `func_id` provided from contract. |
InvalidRuntimeCall | Failed to decode a valid `RuntimeCall`. |
ReadStorageFailed | `ReadStorage` failed to write value into the contract's buffer. |
DataLeftAfterDecoding | Data left in input when decoding arguments of a call. |
InLenTooLarge | Input data that a contract passed when using the ChainExtension was too large. |
OutLenTooLarge | Output data returned from the ChainExtension was too large. |
InstantiatorWithNoIdentity | A contract was attempted to be instantiated,but no identity was given to associate the new contract's key with. |
RuntimeCallDenied | Extrinsic is not allowed to be called by contracts. |
CallerNotAPrimaryKey | The caller is not a primary key. |
MissingKeyPermissions | Secondary key permissions are missing. |
InvalidChainVersion | Only future chain versions are allowed. |
NoUpgradesSupported | There are no api upgrades supported for the contract. |