Generating typescript type for DecCoin

This commit is contained in:
Jędrzej Stuczyński
2022-06-01 16:21:17 +01:00
parent 93705d83ab
commit dbbd94d64c
2 changed files with 4 additions and 1 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::{CurrencyDenom, MajorAmountString, MajorCurrencyAmount};
use nym_types::currency::{CurrencyDenom, DecCoin, MajorAmountString, MajorCurrencyAmount};
use nym_types::delegation::{
Delegation, DelegationEvent, DelegationEventKind, DelegationRecord, DelegationResult,
DelegationWithEverything, DelegationsSummaryResponse, PendingUndelegate,
@@ -74,6 +74,7 @@ fn main() {
do_export!(GatewayBond);
do_export!(MajorAmountString);
do_export!(MajorCurrencyAmount);
do_export!(DecCoin);
do_export!(MixNode);
do_export!(MixNodeBond);
do_export!(OriginalVestingResponse);
@@ -0,0 +1,2 @@
export interface DecCoin { denom: string, amount: string, }