energywebx-testnet
subscan
Runtime Modules / WorkerNodePallet
Spec Version:
Events
Name
Lookup
Attributes
NewRewardPeriod9600["BlockNumberFor","RewardPeriodIndex","BlockNumberFor"]
RewardsCalculatedForPeriod9601["RewardPeriodIndex"]
NewSolutionRegistrarSignup9602["AccountId","Bytes","Bytes"]
SolutionCreated9603["AccountId","EntityNamespace"]
SolutionGroupCreated9604["AccountId","EntityNamespace"]
SolutionStatusChanged9605["EntityNamespace","SolutionStatus","SolutionStatus"]
NewWorkerNodeOperatorSignup9606["AccountId","Bytes","Bytes"]
WorkerNodeOperatorRemoval9607["AccountId"]
NewWorkerConnected9608["AccountId","AccountId"]
NewSolutionGroupSubscription9609["AccountId","EntityNamespace"]
UnsubscribeFromSolutionGroup960a["AccountId","EntityNamespace"]
SolutionGroupRemoved960b["AccountId","EntityNamespace"]
RemovedSolutionRegistrar960c["AccountId"]
NewRegistrarAllowed960d["AccountId"]
NewOperatorAllowed960e["AccountId","EntityNamespace"]
RegistrarDisallowed960f["AccountId"]
OperatorDisallowed9610["AccountId","EntityNamespace"]
SolutionResultSubmitted9611["EntityNamespace","VotingRoundId","SolutionResult","AccountId","AccountId","RewardPeriodIndex"]
RemovedSolution9612["AccountId","EntityNamespace"]
SolutionAddedToGroup9613["EntityNamespace","EntityNamespace"]
SolutionRemovedFromGroup9614["EntityNamespace","EntityNamespace"]
RewardsClaimed9615["AccountId"]
UnexpectedState9616["FieldCode"]
ClaimedRewardsCounterUpdated9617["EntityNamespace","BalanceOf"]
AdminSettingsUpdated9618["AdminSettings<BlockNumberFor>"]
StakeIncreased9619["AccountId","u128","Stake"]
UnsubscriptionScheduled961a["AccountId","EntityNamespace","TaskName","BlockNumberFor"]
WorkerDisconnected961b["AccountId","AccountId"]
EarnedRewardCalculated961c["BTreeSet<AccountId>"]
WorkerNodesNominated961d["EntityNamespace","BoundedVec<AccountId, AccountsListBound>"]
SolutionGroupExpirationUpdated961e["EntityNamespace","BlockNumberFor","BlockNumberFor","BalanceOf"]
GroupRewardsRaised961f["EntityNamespace","GroupRewardsRaise"]
WorklogicAllowed9620["EntityNamespace","Bytes"]
SolutionGroupUpdated9621["EntityNamespace","SolutionGroupConfig"]
SolutionConfigUpdated9622["EntityNamespace","SolutionConfig"]
Storage Functions
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":553}}
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":555,"value_id":109}}
AllowedOperators{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","AccountId"],"value":"NULL","keys_id":555,"value_id":109}}
OperatorSubscriptions{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":556,"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":557}}
RegistrarActiveSolutionRegistry{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":556,"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":560}}
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":555,"value_id":561}}
SolutionGroupSubscriptionRegistry{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","Tuple:Vec<U8>AccountId"],"value":"U128","keys_id":566,"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":567}}
SolutionsGroupsInventory{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":556,"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":568}}
ActiveRewardPeriodInfo{"origin":"PlainType","plain_type":"pallet_ewx_worker_solution:rewards:primitive:RewardPeriod","PlainTypeValue":569}
EarnedRewards{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"Tuple:U128U128","keys_id":556,"value_id":568}}
ArchivedSolutionGroupSubscriptions{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","AccountId"],"value":"U128","keys_id":555,"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":570,"value_id":571}}
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":572,"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":573,"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":574}
LatestRewardsCalculated{"origin":"PlainType","plain_type":"pallet_ewx_worker_solution:rewards:reward_period:RewardPeriodStatus","PlainTypeValue":574}
AllowedWorkLogics{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","Vec<U8>"],"value":"NULL","keys_id":576,"value_id":109}}
Error Types
Name
Docs
ArgumentInvalidThe argument provided was either incorrect or has missing elements
ArgumentOutOfBoundsThe argument provided was out of bounds
NotImplementedThis interface is not implemented
ExistingRegistrarRegistar has already been registered
PrerequisiteNotMetRequest 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.
DataNotFoundThe data required to perform the requested operation was not found
InsufficientFundsAccount doesn't have enough funds
ExistingWorkerNodeOperatorOperator has already been registered
WorkerNodeOperatorNotFoundWorker node operator not found
ExistingWorkerNodeWorker node is already connected to a worker node operator
WorkerAlreadyConnectedToOperatorWorker node has been already connected to a worker node operator
OperatorAlreadyConnectedToWorkerOperator has already connected worker node
RegistrarNotFoundRegistar has not been registered
ExistingNamespaceSolution namespace exists
OperatorNotFoundOrigin is not worker node operator
ExistingSubscriptionWorker node has already been subscribed to solution group
SolutionGroupSubscriptionNotFound
SolutionGroupNotFoundSolution group was not created yet
SolutionGroupExpiredSolution group is not active
SolutionStatusNotChangedSolution already has the requested status
AlreadyAllowedAccountExisting allowed account
NotAllowedRegistrarAccount is not allowed to register
OperatorNotAllowedOperator is not allowed to subscribe to this group
SolutionAlreadyInGroupSolution is in a group
StakeAmountIsOutOfBoundsGroup subscription stake amount is above or below limits
InvalidPublicKeyPublic key of transaction sender is not valid
SolutionResultOutOfBoundsSolution result exceeds maximum length
InvalidSolutionResultSolution result is invalid
SolutionIsNotActiveVotes in solution are not accepted
SolutionResultSignatureNotVerifiedSignature of the solution result is not verified
SolutionNotFoundThe solution is not registered
SolutionIsPartOfGroupSolution currently participating in group
SolutionIsNotPartOfGroupSolution currently is not participating in any of the groups
SubscriptionFound
SubscriptionNotFoundSubcription does not exist
IsNotWorkerAccount was not assigned as a worker
TooManyGroupNamespacesToo many groups
ArchivedSolutionGroupSolution Group is archived, certain operations are restricted
SolutionResultChangedWorker submitted different solution result in the same voting round
SubmissionsQuotaExceededNumber of submissions within the period is too high
SolutionGroupDoesntSupportOperatorAllowListSolution Group doesnt have an operator allow list
RewardPeriodLengthInvalidLength of the reward period is too short or too long
RewardPeriodLengthNotChangedLegth of the reward period set to the same value
SolutionGroupHasSubscribedWorkerNodesSolution Group has subscribed worker nodes
MaxAllowedOperatorsExceededMax number of allowed operators exceeded
NoSubscriptionsAllowedNo subscriptions are allowed
SolutionIsExpiredSolution is expired
StakeRecordUpdatesExceededLimit of stake record updates exceeded
InvalidRewardPeriodInvalid reward period
SolutionGroupRewardsNotCalculatedNot all rewards for a solution group are calculated
SolutionGroupHasBeenDeregisteredGroup deregistered
NotAllowedToAddSolutionSolution is not allowed to be added to solution group
RegistrarIsGroupOwnerRegistrar, who is deregistered, ownes solutions
RegistrarIsSolutionOwnerRegistrar, who is deregistered, ownes groups
SenderNotSolutionOwnerAccount is not the owner of the solution
SenderNotGroupOwnerAccount is not the owner of the group
SenderNotGroupOrSolutionOwnerAccount is not the owner of the group or owner of the solution
InvalidExtensionBlockCountInvalid extension block count
GroupInactiveGroup is inactive
RewardsDepositInsufficientReserved balance of the registrar is insufficient to pay reward
SubmissionsQuotaInvalidInvalid submissions quota
SubmissionsQuotaNotChangedSubmissions quota set to the same value
DeprecatedThe extrinsic is deprecated
InvalidUnsubscribeCallInvalid unsubscribe call
UnsubscribeAlreadyScheduledUnsubscribe already scheduled
GroupHasSolutionsGroup has assosiated solutions
NoWorkerConnectedThe operator has no associated worker node
WorkerNotAuthorizedForSolutionWorker not authorized for solution
InvalidRewardRaiseRewards raise value is invalid
GroupUpdatedInLastPeriodGroup configuration updated in last operational period
WorkLogicAlreadyAllowedThe Worklogic is already allowed into the current group
SolutionNotAuthorizedInGroupThe solution worklogic has not been allowed in the group's allow list CID
DuplicateVoteSame solution result submitted from same worker in the same voting round