Trait tidefi_primitives::pallet::QuorumExt
source · pub trait QuorumExt<AccountId, BlockNumber> {
fn is_quorum_enabled() -> bool;
fn add_new_withdrawal_in_queue(
account_id: AccountId,
asset_id: CurrencyId,
amount: Balance,
external_address: Vec<u8>
) -> Result<(), DispatchError>;
}
Expand description
Quorum traits to share with pallets.
Required Methods§
sourcefn is_quorum_enabled() -> bool
fn is_quorum_enabled() -> bool
Get current Quorum status.
sourcefn add_new_withdrawal_in_queue(
account_id: AccountId,
asset_id: CurrencyId,
amount: Balance,
external_address: Vec<u8>
) -> Result<(), DispatchError>
fn add_new_withdrawal_in_queue(
account_id: AccountId,
asset_id: CurrencyId,
amount: Balance,
external_address: Vec<u8>
) -> Result<(), DispatchError>
Add a new withdrawl to the queue.