mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 13:09:24 +00:00
Report a Change Output with every Eventuality to ensure we don't fall out of synchrony
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
use serai_client::primitives::Amount;
|
||||
|
||||
pub(crate) mod output;
|
||||
pub(crate) mod transaction;
|
||||
pub(crate) mod machine;
|
||||
@@ -10,3 +12,10 @@ pub(crate) const DAI: [u8; 20] =
|
||||
};
|
||||
|
||||
pub(crate) const TOKENS: [[u8; 20]; 1] = [DAI];
|
||||
|
||||
// 8 decimals, so 1_000_000_00 would be 1 ETH. This is 0.0015 ETH (5 USD if Ether is ~3300 USD).
|
||||
#[allow(clippy::inconsistent_digit_grouping)]
|
||||
pub(crate) const ETHER_DUST: Amount = Amount(1_500_00);
|
||||
// 5 DAI
|
||||
#[allow(clippy::inconsistent_digit_grouping)]
|
||||
pub(crate) const DAI_DUST: Amount = Amount(5_000_000_00);
|
||||
|
||||
Reference in New Issue
Block a user