Module mainnet_lib::wallet_state
source · Expand description
wallet state utils
Structs
- Represents wallet candidate for registration. Defines wallet role (delegator/direct-voter/representative)
Enums
- Actor represent input definition of mainnet wallet from registration angle
- Wallet state template builder error
Traits
- Trait for retrieving information about address registrations from network
- Wallet state builder for Network state builder is a trait which creates nice interface for defining role of particular mainnet wallet in voting round. Wallet can be a direct voter/ delegator or representative
Functions
- Builds collection of
MainnetWalletState
structs based on configuration and external provider which will provide information about existing wallets - Builds collection of
MainnetWalletState
structs based on default configuration