@polkadot/types
Version:
Implementation of the Parity codec
76 lines (75 loc) • 2.41 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.runtime = void 0;
exports.runtime = {
// deprecated, the NimbusApi is current - this is for backwards compat
AuthorFilterAPI: [
{
methods: {
can_author: {
description: 'The runtime api used to predict whether an author will be eligible in the given slot',
params: [
{
name: 'author',
type: 'AccountId'
},
{
name: 'relayParent',
type: 'u32'
},
{
name: 'parentHeader',
type: 'Header'
}
],
type: 'bool'
}
},
version: 2
},
{
methods: {
can_author: {
description: 'The runtime api used to predict whether an author will be eligible in the given slot',
params: [
{
name: 'author',
type: 'AccountId'
},
{
name: 'relayParent',
type: 'u32'
}
],
type: 'bool'
}
},
version: 1
}
],
NimbusApi: [
{
methods: {
can_author: {
description: 'The runtime api used to predict whether a Nimbus author will be eligible in the given slot',
params: [
{
name: 'author',
type: 'AccountId'
},
{
name: 'relayParent',
type: 'u32'
},
{
name: 'parentHeader',
type: 'Header'
}
],
type: 'bool'
}
},
version: 1
}
]
};
;