subscan
Runtime Modules / PhalaPhatContracts
Spec Version:
Events
Name
Lookup
Attributes
ClusterCreated5d00["ContractClusterId","ContractId"]
ClusterPubkeyAvailable5d01["ContractClusterId","ClusterPublicKey"]
ClusterDeployed5d02["ContractClusterId","ClusterPublicKey","WorkerPublicKey"]
ClusterDeploymentFailed5d03["ContractClusterId","WorkerPublicKey"]
Instantiating5d04["ContractId","ContractClusterId","AccountId"]
ContractPubkeyAvailable5d05["ContractId","ContractClusterId","ContractPublicKey"]
Instantiated5d06["ContractId","ContractClusterId","H256"]
ClusterDestroyed5d07["ContractClusterId"]
Transfered5d08["ContractClusterId","H256","BalanceOf"]
WorkerAddedToCluster5d09["WorkerPublicKey","ContractClusterId"]
WorkerRemovedFromCluster5d0a["WorkerPublicKey","ContractClusterId"]
Storage Functions
Name
Type
Contracts{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["H256"],"value":"phala_pallets:phat:pallet:BasicContractInfo","keys_id":12,"value_id":647}}
ClusterCounter{"origin":"PlainType","plain_type":"U64","PlainTypeValue":11}
Clusters{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["H256"],"value":"phala_types:contract:ClusterInfo","keys_id":12,"value_id":648}}
ClusterContracts{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["H256"],"value":"Vec<H256>","keys_id":12,"value_id":175}}
ClusterWorkers{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["H256"],"value":"Vec<[U8; 32]>","keys_id":12,"value_id":343}}
ClusterByWorkers{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"H256","keys_id":137,"value_id":12}}
PinkSystemCode{"origin":"PlainType","plain_type":"Tuple:U16Vec<U8>","PlainTypeValue":649}
PinkSystemCodeHash{"origin":"PlainType","plain_type":"H256","PlainTypeValue":12}
PinkRuntimeVersion{"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":40}
NextPinkSystemCode{"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":13}
Error Types
Name
Docs
CodeNotFound
ClusterNotFound
ClusterNotDeployed
ClusterPermissionDenied
DuplicatedContract
DuplicatedDeployment
NoWorkerSpecified
InvalidSender
WorkerNotFound
PayloadTooLarge
NoPinkSystemCode
ContractNotFound
WorkerIsBusy