Name | Lookup | Parameters | |
|---|---|---|---|
| signup_solution_registrar | 9600 | 2 | |
| delete_solution_registrar | 9601 | - | |
| register_solution | 9602 | 10 | |
| set_activation_status | 9604 | 2 | |
| delete_solution | 9605 | 1 | |
| solution_group_registration | 9606 | 6 | |
| solution_group_deregistration | 9607 | 1 | |
| signup_worker_node_operator | 9608 | 2 | |
| operator_deregistration | 9609 | - | |
| subscribe_to_solution_group | 960a | 2 | |
| allow_account | 960b | 1 | |
| remove_allowed_account | 960c | 1 | |
| add_solution_to_group | 960d | 2 | |
| remove_solution_from_group | 960e | 1 | |
| submit_solution_result | 960f | 5 | |
| claim_rewards | 9610 | 1 | |
| connect_worker_node | 9611 | 1 | |
| unsubscribe_from_solution_group | 9612 | 1 | |
| allow_operator | 9613 | 2 | |
| remove_allowed_operator | 9614 | 2 | |
| set_reward_period_len | 9615 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| NewRewardPeriod | 9600 | ["BlockNumber","RewardPeriodIndex","u32"] | |
| RewardsCalculatedForPeriod | 9601 | ["RewardPeriodIndex"] | |
| NewSolutionRegistrarSignup | 9602 | ["AccountId","Bytes","Bytes"] | |
| SolutionCreated | 9603 | ["AccountId","EntityNamespace"] | |
| SolutionGroupCreated | 9604 | ["AccountId","EntityNamespace"] | |
| SolutionStatusChanged | 9605 | ["EntityNamespace","SolutionStatus","SolutionStatus"] | |
| NewWorkerNodeOperatorSignup | 9606 | ["AccountId","Bytes","Bytes"] | |
| WorkerNodeOperatorRemoval | 9607 | ["AccountId"] | |
| NewWorkerConnected | 9608 | ["AccountId","AccountId"] | |
| NewSolutionGroupSubscription | 9609 | ["AccountId","EntityNamespace"] | |
| UnsubscribeFromSolutionGroup | 960a | ["AccountId","EntityNamespace"] | |
| SolutionGroupRemoved | 960b | ["AccountId","EntityNamespace"] | |
| RemovedSolutionRegistrar | 960c | ["AccountId"] | |
| NewRegistrarAllowed | 960d | ["AccountId"] | |
| NewOperatorAllowed | 960e | ["AccountId"] | |
| RegistrarDisallowed | 960f | ["AccountId"] | |
| OperatorDisallowed | 9610 | ["AccountId"] | |
| SolutionResultSubmitted | 9611 | ["EntityNamespace","VotingRoundId","SolutionResult"] | |
| RemovedSolution | 9612 | ["AccountId","EntityNamespace"] | |
| SolutionAddedToGroup | 9613 | ["EntityNamespace","EntityNamespace"] | |
| SolutionRemovedFromGroup | 9614 | ["EntityNamespace","EntityNamespace"] | |
| RewardsClaimed | 9615 | ["AccountId"] | |
| UnexpectedState | 9616 | ["FieldCode"] |
Name | Type | |
|---|---|---|
| RegistrarInventory | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_ewx_worker_solution:data_structs:RegistrarInfo","keys_id":0,"value_id":456}} | |
| AllowedAccounts | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"NULL","keys_id":0,"value_id":95}} | |
| AllowedOperators | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","AccountId"],"value":"NULL","keys_id":458,"value_id":95}} | |
| OperatorSubscriptions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":459,"value_id":95}} | |
| RegistrarDeposit | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| Solutions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"pallet_ewx_worker_solution:solution:Solution","keys_id":135,"value_id":460}} | |
| RegistrarActiveSolutionRegistry | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":459,"value_id":95}} | |
| WorkerNodeOperatorInventory | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_ewx_worker_solution:data_structs:WorkerNodeOperatorInfo","keys_id":0,"value_id":463}} | |
| WorkerNodeOperatorDeposit | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| SolutionGroupSubscriptionRegistry | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","Tuple:Vec<U8>AccountId"],"value":"U128","keys_id":464,"value_id":6}} | |
| SolutionGroupSubscribersCount | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U32","keys_id":135,"value_id":4}} | |
| SolutionsGroups | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"pallet_ewx_worker_solution:data_structs:SolutionGroup","keys_id":135,"value_id":465}} | |
| SolutionsGroupsInventory | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":459,"value_id":95}} | |
| RewardPeriodLength | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| ActiveRewardPeriodInfo | {"origin":"PlainType","plain_type":"pallet_ewx_worker_solution:rewards:primitive:RewardPeriod","PlainTypeValue":466} | |
| EarnedRewards | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"Tuple:U128U128","keys_id":459,"value_id":467}} | |
| ArchivedSolutionGroupSubscriptions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","AccountId"],"value":"U128","keys_id":458,"value_id":6}} | |
| SolutionGroupRewardPeriodConfig | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","Vec<U8>"],"value":"pallet_ewx_worker_solution:data_structs:SolutionGroupRewardData","keys_id":468,"value_id":469}} | |
| WorkerNodeToOperator | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"AccountId","keys_id":0,"value_id":0}} | |
| OperatorToWorkerNode | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"AccountId","keys_id":0,"value_id":0}} | |
| MaxSolutionResultLength | {"origin":"PlainType","plain_type":"U16","PlainTypeValue":104} | |
| SolutionResults | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","Vec<U8>","AccountId"],"value":"Vec<U8>","keys_id":470,"value_id":137}} | |
| SubmissionsQuota | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":10} | |
| NumberOfSubmissions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","U32","AccountId"],"value":"U64","keys_id":471,"value_id":10}} | |
| GroupOfSolution | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"Vec<U8>","keys_id":135,"value_id":135}} | |
| LatestGeneratedSubscription | {"origin":"PlainType","plain_type":"pallet_ewx_worker_solution:rewards:reward_period:RewardPeriodStatus","PlainTypeValue":472} | |
| LatestRewardsCalculated | {"origin":"PlainType","plain_type":"pallet_ewx_worker_solution:rewards:reward_period:RewardPeriodStatus","PlainTypeValue":472} |
Name | Docs |
|---|---|
| ArgumentInvalid | The argument provided was either incorrect or has missing elements |
| ArgumentOutOfBounds | The argument provided was out of bounds |
| NotImplemented | This interface is not implemented |
| ExistingRegistrar | Registar has already been registered |
| PrerequisiteNotMet | Request cannot be complete due to a prerequisite operation not yet being performed |
| DataNotFound | The data required to perform the requested operation was not found |
| InsufficientFunds | Account doesn't have enough funds |
| ExistingWorkerNodeOperator | Operator has already been registered |
| WorkerNodeOperatorNotFound | Worker node operator not found |
| ExistingWorkerNode | Worker node is already connected to a worker node operator |
| WorkerAlreadyConnectedToOperator | Worker node has been already connected to a worker node operator |
| OperatorAlreadyConnectedToWorker | Operator has already connected worker node |
| RegistrarNotFound | Registar has not been registered |
| ExistingNamespace | Solution namespace exists |
| OperatorNotFound | Origin is not worker node operator |
| ExistingSubscription | Worker node has already been subscribed to solution group |
| SolutionGroupSubscriptionNotFound | |
| SolutionGroupNotFound | Solution group was not created yet |
| SolutionGroupExpired | Solution group was not created yet |
| SolutionStatusNotChanged | Solution already has the requested status |
| AlreadyAllowedAccount | Existing allowed account |
| NotAllowedRegistrar | Account is not allowed to register |
| OperatorNotAllowed | Operator is not allowed to subscribe to this group |
| SolutionAlreadyInGroup | Solution is in a group |
| StakeAmountIsOutOfBounds | Group subscription stake amount is above or below limits |
| InvalidPublicKey | Public key of transaction sender is not valid |
| SolutionResultOutOfBounds | Solution result exceeds maximum length |
| InvalidSolutionResult | Solution result is invalid |
| SolutionIsNotActive | Votes in solution are not accepted |
| SolutionResultSignatureNotVerified | Signature of the solution result is not verified |
| SolutionNotFound | The solution is not registered |
| SolutionIsPartOfGroup | Solution currently participating in group |
| SolutionIsNotPartOfGroup | Solution currently is not participating in any of the groups |
| SubscriptionFound | |
| SubscriptionNotFound | Subcription does not exist |
| IsNotWorker | Account was not assigned as a worker |
| TooManyGroupNamespaces | Too many groups |
| ArchivedSolutionGroup | Solution Group is archived, certain operations are restricted |
| SolutionResultChanged | Worker submitted different solution result in the same voting round |
| SubmissionsQuotaExceeded | Number of submissions within the period is too high |
| SolutionGroupDoesntSupportOperatorAllowList | Solution Group doesnt have an operator allow list |
| RewardPeriodLengthInvalid | Length of the reward period is too short or too long |
| RewardPeriodLengthNotChanged | Legth of the reward period set to the same value |
| SolutionGroupHasSubscribedWorkerNodes | Solution Group has subscribed worker nodes |
| MaxAllowedOperatorsExceeded | Max number of allowed operators exceeded |