energywebx
subscan
Runtime Modules / WorkerNodePallet
Spec Version:
Events
Name
Lookup
Attributes
NewRewardPeriod9600["BlockNumber","RewardPeriodIndex","u32"]
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"]
RegistrarDisallowed960f["AccountId"]
OperatorDisallowed9610["AccountId"]
SolutionResultSubmitted9611["EntityNamespace","VotingRoundId","SolutionResult"]
RemovedSolution9612["AccountId","EntityNamespace"]
SolutionAddedToGroup9613["EntityNamespace","EntityNamespace"]
SolutionRemovedFromGroup9614["EntityNamespace","EntityNamespace"]
RewardsClaimed9615["AccountId"]
UnexpectedState9616["FieldCode"]
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":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}
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 performed
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 was not created yet
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