[−][src]Crate pallet_plasm_lockdrop
Plasm Lockdrop Module
This module held lockdrop event on live network.
Overview
Interface
Dispatchable Functions
Re-exports
pub use generic_array::typenum; |
Modules
ed25519 | ED25519 keys support |
sr25519 | SR25519 keys support |
Structs
BitcoinLock | Bitcoin chain transactions oracle. |
BitcoinPrice | BTC price oracle. |
Claim | Lockdrop claim request description. |
ClaimVote | Lockdrop claim vote. |
DustyDurationBonus | |
EthereumLock | Ethereum chain transactions oracle. |
EthereumPrice | ETH price oracle. |
GenesisConfig | Genesis config for the module, allow to build genesis storage. |
LockCheck | Lock check request parameters. |
Module | |
TickerRate | Oracle dollar rate ticker. |
Enums
Call | Dispatchable calls. |
Error | |
Lockdrop | Plasm Lockdrop parameters. |
RawEvent | Events for this module. |
Constants
ERROR_ALREADY_CLAIMED | |
ERROR_CLAIM_ON_VOTING | |
ERROR_UNKNOWN_AUTHORITY | |
ERROR_WRONG_POW_PROOF | |
KEY_TYPE | Plasm Lockdrop Authority local KeyType. |
Traits
DurationBonus | Lock duration bonuses, in principle when you lock for long time you'll get more lockdrop tokens. |
LockOracle | HTTP source of blockchain transactions. |
PriceOracle | HTTP source of currency price. |
Trait | The module's main configuration trait. |
Type Definitions
AuthorityIndex | Type for enumerating authorities in list (2^16 authorities is enough). |
AuthorityVote | Type for enumerating claim proof votes. |
BalanceOf | |
ClaimId | Claim id is a hash of claim parameters. |
Event |