Skip to content

Commit

Permalink
Peerplays types bundle (#10347)
Browse files Browse the repository at this point in the history
* Peerplays types bundle

* Fix lint errors
  • Loading branch information
serkixenos authored Mar 11, 2024
1 parent cd2122b commit e57ea8c
Showing 1 changed file with 84 additions and 0 deletions.
84 changes: 84 additions & 0 deletions packages/apps-config/src/api/typesBundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70918,6 +70918,90 @@ export const typesBundle = {
}
}
},
"peerplays": {
"rpc": {
"validatormanager": {
"activeValidators": {
"description": "Get the list of active validators",
"params": [],
"type": "Vec<AccountId>",
"isSubscription": false,
"jsonrpc": "validatormanager_activeValidators",
"method": "activeValidators",
"section": "validatormanager"
},
"currentMaintenanceIndex": {
"description": "Get current maintenance index",
"params": [],
"type": "MaintenanceIndex",
"isSubscription": false,
"jsonrpc": "validatormanager_currentMaintenanceIndex",
"method": "currentMaintenanceIndex",
"section": "validatormanager"
},
"nextMaintenanceIndex": {
"description": "Get next maintenance index",
"params": [],
"type": "MaintenanceIndex",
"isSubscription": false,
"jsonrpc": "validatormanager_nextMaintenanceIndex",
"method": "nextMaintenanceIndex",
"section": "validatormanager"
},
"offenceValidators": {
"description": "Get the list of active validators who made the offence",
"params": [],
"type": "Vec<(AccountId, AuthIndex)>",
"isSubscription": false,
"jsonrpc": "validatormanager_offenceValidators",
"method": "offenceValidators",
"section": "validatormanager"
},
"offlineValidators": {
"description": "Get the list of active validators who went offline",
"params": [],
"type": "Vec<(AccountId, AuthIndex)>",
"isSubscription": false,
"jsonrpc": "validatormanager_offlineValidators",
"method": "offlineValidators",
"section": "validatormanager"
},
"validatorsPool": {
"description": "Get the list of validator candidates",
"params": [],
"type": "Vec<AccountId>",
"isSubscription": false,
"jsonrpc": "validatormanager_validatorsPool",
"method": "validatorsPool",
"section": "validatormanager"
}
}
},
"types": [
{
"minmax": [
0,
null
],
"types": {
"AccountId": "EthereumAccountId",
"AccountId20": "EthereumAccountId",
"AccountId32": "EthereumAccountId",
"Address": "AccountId",
"AuthIndex": "u32",
"EthereumSignature": {
"r": "H256",
"s": "H256",
"v": "U8"
},
"ExtrinsicSignature": "EthereumSignature",
"Lookup0": "AccountId",
"LookupSource": "AccountId",
"MaintenanceIndex": "u32"
}
}
]
},
"pendulum": {
"rpc": {
"issue": {
Expand Down

0 comments on commit e57ea8c

Please sign in to comment.