UNPKG

@polkadot/types

Version:
71 lines (70 loc) 1.88 kB
const BEEFY_V1_V2 = { beefy_genesis: { description: 'Return the block number where BEEFY consensus is enabled/started', params: [], type: 'Option<BlockNumber>' }, generate_key_ownership_proof: { description: 'Generates a proof of key ownership for the given authority in the given set.', params: [ { name: 'setId', type: 'ValidatorSetId' }, { name: 'authorityId', type: 'AuthorityId' } ], type: 'Option<OpaqueKeyOwnershipProof>' }, submit_report_equivocation_unsigned_extrinsic: { description: 'Submits an unsigned extrinsic to report an equivocation.', params: [ { name: 'equivocationProof', type: 'BeefyEquivocationProof' }, { name: 'keyOwnerProof', type: 'OpaqueKeyOwnershipProof' } ], type: 'Option<Null>' }, validator_set: { description: 'Return the current active BEEFY validator set', params: [], type: 'Option<ValidatorSet>' } }; const BEEFY_MMR_V1 = { authority_set_proof: { description: 'Return the currently active BEEFY authority set proof.', params: [], type: 'BeefyAuthoritySet' }, next_authority_set_proof: { description: 'Return the next/queued BEEFY authority set proof.', params: [], type: 'BeefyNextAuthoritySet' } }; export const runtime = { BeefyApi: [ { methods: BEEFY_V1_V2, version: 2 }, { methods: BEEFY_V1_V2, version: 1 } ], BeefyMmrApi: [ { methods: BEEFY_MMR_V1, version: 1 } ] };