Name | Lookup | Parameters | |
|---|---|---|---|
| signup_solution_registrar | 9600 | 2 | |
| delete_solution_registrar | 9601 | - | |
| register_solution | 9602 | 11 | |
| set_activation_status | 9604 | 2 | |
| delete_solution | 9605 | 1 | |
| solution_group_registration | 9606 | 7 | |
| 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 | |
| disconnect_worker_node | 9619 | - | |
| unsubscribe_from_solution_group | 9612 | 1 | |
| allow_operator | 9613 | 2 | |
| remove_allowed_operator | 9614 | 2 | |
| set_reward_period_len | 9615 | 1 | |
| set_admin_setting | 9616 | 1 | |
| execute_scheduled_unsubscribe | 9617 | 2 | |
| top_up_stake | 9618 | 2 | |
| nominate_worker_nodes | 961a | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| NewRewardPeriod | 9600 | ["BlockNumberFor","RewardPeriodIndex","BlockNumberFor"] | |
| 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","EntityNamespace"] | |
| RegistrarDisallowed | 960f | ["AccountId"] | |
| OperatorDisallowed | 9610 | ["AccountId","EntityNamespace"] | |
| SolutionResultSubmitted | 9611 | ["EntityNamespace","VotingRoundId","SolutionResult","AccountId","AccountId"] | |
| RemovedSolution | 9612 | ["AccountId","EntityNamespace"] | |
| SolutionAddedToGroup | 9613 | ["EntityNamespace","EntityNamespace"] | |
| SolutionRemovedFromGroup | 9614 | ["EntityNamespace","EntityNamespace"] | |
| RewardsClaimed | 9615 | ["AccountId"] | |
| UnexpectedState | 9616 | ["FieldCode"] | |
| ClaimedRewardsCounterUpdated | 9617 | ["EntityNamespace","BalanceOf"] | |
| AdminSettingsUpdated | 9618 | ["AdminSettings<BlockNumberFor>"] | |
| StakeIncreased | 9619 | ["AccountId","u128","Stake"] | |
| UnsubscriptionScheduled | 961a | ["AccountId","EntityNamespace","TaskName","BlockNumberFor"] | |
| WorkerDisconnected | 961b | ["AccountId","AccountId"] | |
| EarnedRewardCalculated | 961c | ["BTreeSet<AccountId>"] | |
| WorkerNodesNominated | 961d | ["EntityNamespace","BoundedVec<AccountId, AccountsListBound>"] |
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":525}} | |
| AllowedAccounts | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"NULL","keys_id":0,"value_id":109}} | |
| NominatedWorkerNodes | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","AccountId"],"value":"NULL","keys_id":527,"value_id":109}} | |
| AllowedOperators | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","AccountId"],"value":"NULL","keys_id":527,"value_id":109}} | |
| OperatorSubscriptions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":528,"value_id":109}} | |
| 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":166,"value_id":529}} | |
| RegistrarActiveSolutionRegistry | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":528,"value_id":109}} | |
| 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":532}} | |
| WorkerNodeOperatorDeposit | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| SolutionGroupStakeRecords | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","AccountId"],"value":"Vec<Tuple:U32U128>","keys_id":527,"value_id":533}} | |
| SolutionGroupSubscriptionRegistry | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","Tuple:Vec<U8>AccountId"],"value":"U128","keys_id":538,"value_id":6}} | |
| SolutionGroupSubscribersCount | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U32","keys_id":166,"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":166,"value_id":539}} | |
| SolutionsGroupsInventory | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":528,"value_id":109}} | |
| DeregisteredGroupsWithRewards | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"NULL","keys_id":166,"value_id":109}} | |
| RewardPeriodLength | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| SolutionGroupCalculatedRewards | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"Tuple:U128U128","keys_id":166,"value_id":540}} | |
| ActiveRewardPeriodInfo | {"origin":"PlainType","plain_type":"pallet_ewx_worker_solution:rewards:primitive:RewardPeriod","PlainTypeValue":541} | |
| EarnedRewards | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"Tuple:U128U128","keys_id":528,"value_id":540}} | |
| ArchivedSolutionGroupSubscriptions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","AccountId"],"value":"U128","keys_id":527,"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":542,"value_id":543}} | |
| 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":120} | |
| 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":544,"value_id":158}} | |
| SubmissionsQuota | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":11} | |
| NumberOfSubmissions | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","U32","AccountId"],"value":"U64","keys_id":545,"value_id":11}} | |
| GroupOfSolution | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"Vec<U8>","keys_id":166,"value_id":166}} | |
| NumberOfSolutionsInGroup | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U64","keys_id":166,"value_id":11}} | |
| LatestGeneratedSubscription | {"origin":"PlainType","plain_type":"pallet_ewx_worker_solution:rewards:reward_period:RewardPeriodStatus","PlainTypeValue":546} | |
| LatestRewardsCalculated | {"origin":"PlainType","plain_type":"pallet_ewx_worker_solution:rewards:reward_period:RewardPeriodStatus","PlainTypeValue":546} |
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 performedNote: Do NOT use this error. It is kept to avoid breaking error decoding.A more descriptive error should be used. |
| 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 is not active |
| 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 |
| NoSubscriptionsAllowed | No subscriptions are allowed |
| SolutionIsExpired | Solution is expired |
| StakeRecordUpdatesExceeded | Limit of stake record updates exceeded |
| InvalidRewardPeriod | Invalid reward period |
| SolutionGroupRewardsNotCalculated | Not all rewards for a solution group are calculated |
| SolutionGroupHasBeenDeregistered | Group deregistered |
| NotAllowedToAddSolution | Solution is not allowed to be added to solution group |
| RegistrarIsGroupOwner | Registrar, who is deregistered, ownes solutions |
| RegistrarIsSolutionOwner | Registrar, who is deregistered, ownes groups |
| SenderNotSolutionOwner | Account is not the owner of the solution |
| SenderNotGroupOwner | Account is not the owner of the group |
| SenderNotGroupOrSolutionOwner | Account is not the owner of the group or owner of the solution |
| InvalidExpirationBlock | Invalid expiration block number |
| GroupInactive | Group is inactive |
| RewardsDepositInsufficient | Reserved balance of the registrar is insufficient to pay reward |
| SubmissionsQuotaInvalid | Invalid submissions quota |
| SubmissionsQuotaNotChanged | Submissions quota set to the same value |
| Deprecated | The extrinsic is deprecated |
| InvalidUnsubscribeCall | Invalid unsubscribe call |
| UnsubscribeAlreadyScheduled | Unsubscribe already scheduled |
| GroupHasSolutions | Group has assosiated solutions |
| NoWorkerConnected | The operator has no associated worker node |
| WorkerNotAuthorizedForSolution | Worker not authorized for solution |