Expand description
Primitives that are used to interact with BEEFY bridge pallet.
Structs§
- Beefy
Authority Set - Details of a BEEFY authority set.
- Beefy
Ecdsa ToEthereum - Convert BEEFY secp256k1 public keys into Ethereum addresses
- Beefy
Payload - A BEEFY payload type allowing for future extensibility of adding additional kinds of payloads.
- Commitment
- A commitment signed by GRANDPA validators as part of BEEFY protocol.
- Imported
Commitment - Basic data, stored by the pallet for every imported commitment.
- Initialization
Data - Data required for initializing the BEEFY pallet.
- MmrLeaf
Version - An MMR leaf versioning scheme.
- MmrProof
- An MMR proof data for a group of leaves.
- Signed
Commitment - A commitment with matching GRANDPA validators’ signatures.
- Validator
Set - A set of BEEFY authorities, a.k.a. validators.
Enums§
- MmrData
OrHash - An element representing either full data or its hash.
Constants§
- BEEFY_
ENGINE_ ID - The
ConsensusEngineId
of BEEFY. - MMR_
ROOT_ PAYLOAD_ ID - A
Payload
identifier for Merkle Mountain Range root hash.
Traits§
- Beefy
Authority Id - Trait representing BEEFY authority id, including custom signature verification.
- Chain
With Beefy - Substrate-based chain with BEEFY && MMR pallets deployed.
Functions§
- merkle_
root - Construct a root hash of a Binary Merkle Tree created from given leaves.
- verify_
mmr_ leaves_ proof - Stateless MMR proof verification for batch of leaves.
Type Aliases§
- Beefy
Authority IdOf - BEEFY validator id used by given Substrate chain.
- Beefy
Authority IdTo Merkle Leaf Of - A way to convert a validator id to its raw representation in the BEEFY merkle tree, used by the given Substrate chain.
- Beefy
Authority SetInfo Of - BEEFY authority set, containing both validator identifiers and the numeric set id.
- Beefy
Authority SetOf - BEEFY validator set, containing both validator identifiers and the numeric set id.
- Beefy
Commitment Hasher - Hash algorithm, used to compute the digest of the BEEFY commitment before signing it.
- Beefy
MmrLeaf Extra Of - The type of the MMR leaf extra data used by the given Substrate chain.
- Beefy
MmrLeaf Of - Actual type of leafs in the BEEFY MMR.
- Beefy
Signed Commitment Of - Signed BEEFY commitment used by given Substrate chain.
- Beefy
Validator Signature Of - BEEFY validator signature used by given Substrate chain.
- Ecdsa
Validator Id - Identity of a BEEFY authority using ECDSA as its crypto.
- Ecdsa
Validator Signature - Signature for a BEEFY authority using ECDSA as its crypto.
- MmrHash
Of - Hash type, used in MMR construction by given Substrate chain.
- MmrHashing
Of - Hash algorithm used in Beefy MMR construction by given Substrate chain.
- MmrProof
Of - BEEFY MMR proof type used by the given Substrate chain.
- Validator
SetId - A typedef for validator set id.