energywebx-testnet
subscan
Runtime Modules / WorkerNodePallet
Spec Version:
Events
Name
Lookup
Attributes
NewRewardPeriod9600["BlockNumberFor","RewardPeriodIndex","BlockNumberFor"]
RewardsCalculatedForPeriod9601["RewardPeriodIndex"]
NewSolutionRegistrarSignup9602["AccountId","Bytes","Bytes"]
SolutionCreated9603["AccountId","SolutionNamespace"]
SolutionGroupCreated9604["AccountId","SolutionGroupNamespace"]
SolutionStatusChanged9605["SolutionNamespace","SolutionStatus","SolutionStatus"]
NewWorkerNodeOperatorSignup9606["AccountId","Bytes","Bytes"]
WorkerNodeOperatorRemoval9607["AccountId"]
NewWorkerConnected9608["AccountId","AccountId"]
NewSolutionGroupSubscription9609["AccountId","SolutionGroupNamespace"]
UnsubscribeFromSolutionGroup960a["AccountId","SolutionGroupNamespace"]
SolutionGroupRemoved960b["AccountId","SolutionGroupNamespace"]
RemovedSolutionRegistrar960c["AccountId"]
NewRegistrarAllowed960d["AccountId"]
NewOperatorAllowed960e["AccountId","SolutionGroupNamespace"]
RegistrarDisallowed960f["AccountId"]
OperatorDisallowed9610["AccountId","SolutionGroupNamespace"]
SolutionResultSubmitted9611["SolutionNamespace","VotingRoundId","SolutionResult","AccountId","AccountId","RewardPeriodIndex"]
RemovedSolution9612["AccountId","SolutionNamespace"]
SolutionAddedToGroup9613["SolutionNamespace","SolutionGroupNamespace"]
SolutionRemovedFromGroup9614["SolutionNamespace","SolutionGroupNamespace"]
RewardsClaimed9615["AccountId","BalanceOf"]
UnexpectedState9616["FieldCode"]
ClaimedRewardsCounterUpdated9617["EntityNamespace","BalanceOf"]
AdminSettingsUpdated9618["AdminSettings<BlockNumberFor>"]
StakeIncreased9619["AccountId","u128","Stake","EntityNamespace"]
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"]
VotingRoundStarted9623["AccountId","SolutionNamespace","VotingRoundId","BlockNumberFor"]
VotingRoundSettled9624["SolutionNamespace","VotingRoundId","SolutionResult"]
VotingRoundExpired9625["SolutionNamespace","VotingRoundId"]
VoteSubmitted9626["SolutionNamespace","VotingRoundId","AccountId","AccountId","RewardPeriodIndex"]
VotingRoundProcessed9627["SolutionNamespace","VotingRoundId"]
Storage Functions
Name
Type
RegistrarInventory{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"primitive_ewx_data_structs:entities:RegistrarInfo","keys_id":0,"value_id":586}}
AllowedAccounts{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"NULL","keys_id":0,"value_id":112}}
NominatedWorkerNodes{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","AccountId"],"value":"NULL","keys_id":587,"value_id":112}}
AllowedOperators{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","AccountId"],"value":"NULL","keys_id":587,"value_id":112}}
OperatorSubscriptions{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":588,"value_id":112}}
RegisteredUnsubscriptions{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","AccountId"],"value":"U32","keys_id":587,"value_id":4}}
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":167,"value_id":589}}
RegistrarActiveSolutionRegistry{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":588,"value_id":112}}
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":592}}
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":587,"value_id":593}}
SolutionGroupSubscribersCount{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U32","keys_id":167,"value_id":4}}
SolutionGroupStakeCurrency{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"pallet_ewx_worker_solution:data_structs:StakeCurrency","keys_id":167,"value_id":596}}
SolutionsGroups{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"pallet_ewx_worker_solution:data_structs:SolutionGroup","keys_id":167,"value_id":597}}
SolutionsGroupsInventory{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"NULL","keys_id":588,"value_id":112}}
DeregisteredGroupsWithRewards{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"NULL","keys_id":167,"value_id":112}}
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":167,"value_id":598}}
SolutionGroupDeposit{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U128","keys_id":167,"value_id":6}}
ActiveRewardPeriodInfo{"origin":"PlainType","plain_type":"pallet_ewx_worker_solution:rewards:primitive:RewardPeriod","PlainTypeValue":599}
EarnedRewards{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"Tuple:U128U128","keys_id":588,"value_id":598}}
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":600,"value_id":601}}
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":123}
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":602,"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":603,"value_id":11}}
GroupOfSolution{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"Vec<U8>","keys_id":167,"value_id":167}}
NumberOfSolutionsInGroup{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U64","keys_id":167,"value_id":11}}
LatestRewardsCalculated{"origin":"PlainType","plain_type":"pallet_ewx_worker_solution:rewards:reward_period:RewardPeriodStatus","PlainTypeValue":604}
AllowedWorkLogics{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","Vec<U8>"],"value":"NULL","keys_id":606,"value_id":112}}
SystemVotingRound{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","pallet_ewx_worker_solution:solution:VotingRoundKey"],"value":"pallet_ewx_worker_solution:data_structs:VotingRoundInfo","keys_id":607,"value_id":608}}
NumberOfVotings{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","Vec<U8>"],"value":"U32","keys_id":600,"value_id":4}}
NumberOfVotingsWithNomination{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","Vec<U8>"],"value":"U32","keys_id":600,"value_id":4}}
NumberOfOperatorVotingsWithNomination{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","Tuple:AccountIdVec<U8>"],"value":"U32","keys_id":609,"value_id":4}}
ConsensusResults{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["pallet_ewx_worker_solution:solution:VotingRoundKey","pallet_ewx_worker_solution:data_structs:VotingRoundStatus"],"value":"Vec<AccountId>","keys_id":610,"value_id":611}}
CalculatedVotingRounds{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"U32","keys_id":4,"value_id":4}}
Votes{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["pallet_ewx_worker_solution:solution:VotingRoundKey","AccountId"],"value":"pallet_ewx_worker_solution:solution:Vote","keys_id":612,"value_id":613}}
VoteMetadata{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat","Blake2_128Concat"],"key_vec":["Vec<U8>","U32","AccountId"],"value":"U32","keys_id":603,"value_id":4}}
VotingRoundToNominatedSnapshot{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_ewx_worker_solution:solution:VotingRoundKey"],"value":"Vec<Tuple:AccountIdpallet_ewx_worker_solution:data_structs:EligibleVoter>","keys_id":493,"value_id":614}}
Constants
Name
Type
Value
StakeAssetIdstaging_xcm:v3:multilocation:MultiLocation0002043c0504
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[deprecated]
SubmissionsQuotaExceededNumber of submissions within the period is too high[deprecated]
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[deprecated]
SubmissionsQuotaNotChangedSubmissions quota set to the same value[deprecated]
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
VotingStartMethodIsNotAllowedAccount is not allowed to start a voting round
VotingRoundExpirationIsBeforeStartNumber of blocks of voting round is zero
VotingRoundIdIsInvalidVoting round Id length is zero
VotingRoundIdIsNotUniqueVoting round Id is already in use
VotingRoundLastsLongerThenGroupExpiration block of the voting round is greater then group operation end block
VotingRoundLastsLongerThenSolutionExpiration block of the voting round is greater then solution end block
VotingRoundNotFoundVoting round does not exist
VotingRoundDoesNotAcceptVotesVoting round does not accept votes
VotingLimitReachedCannot store more votes than [`MaxVotesPerVotingRound`]
WrongVotingResultVote does match settled result
TooManyNominatedWorkersCannot have more than [`AccountsListBound`] nominated worker
VotingLastsLongerThanPeriodVoting round lasts longer than current reward period
VotingRoundNotExpiredYetAttempt to process not expired voting round
VoterIsNotAuthorityConsensus vote is not from authority
SubscriptionNotActiveSubscription stake in this period is 0
SubscriptionWasCanceledOperator canceled subscription and it will end in this period
SolutionVotingsNotProcessedYetAttempt to delete solution while its votings are being processed
FailedToConvertBalanceThe balance of the asset kind is not convertible to the native balance.
FailedToReleaseStakeFailed to release requested unstake amount
StakeCurrencyIsNotSupportedStake currency is not supported
AssetsFrozenForConflictingReasonAssets are frozen for a conflicting reason (e.g., frozen for Stake when trying tofreeze for Rewards)