Generating typescript type for DecCoin
This commit is contained in:
@@ -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, }
|
||||
Reference in New Issue
Block a user