Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peerplays types bundle #10347

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading