More type-restrictive exported denom type

This commit is contained in:
Jędrzej Stuczyński
2022-06-09 11:48:53 +01:00
parent 7c9fbc9c73
commit 7ffc8b9999
6 changed files with 67 additions and 17 deletions
+2 -1
View File
@@ -4,7 +4,7 @@ use walkdir::WalkDir;
use mixnet_contract_common::mixnode::RewardedSetNodeStatus;
use nym_types::account::{Account, AccountEntry, AccountWithMnemonic, Balance};
use nym_types::currency::DecCoin;
use nym_types::currency::{CurrencyDenom, DecCoin};
use nym_types::delegation::{
Delegation, DelegationEvent, DelegationEventKind, DelegationRecord, DelegationResult,
DelegationWithEverything, DelegationsSummaryResponse, PendingUndelegate,
@@ -71,6 +71,7 @@ fn main() {
do_export!(GasInfo);
do_export!(Gateway);
do_export!(GatewayBond);
do_export!(CurrencyDenom);
do_export!(DecCoin);
do_export!(MixNode);
do_export!(MixNodeBond);