File tree 3 files changed +7
-9
lines changed
3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -983,9 +983,3 @@ export const TxTags = {
983
983
stateTrieMigration : StateTrieMigrationTx ,
984
984
electionProviderMultiPhase : ElectionProviderMultiPhaseTx ,
985
985
} ;
986
-
987
- export const TX_TAG_VALUES : string [ ] = Object . values ( TxTags )
988
- . map ( v => Object . values ( v ) )
989
- . flat ( ) ;
990
-
991
- export const MODULE_NAMES : string [ ] = Object . values ( ModuleName ) ;
Original file line number Diff line number Diff line change 1
1
import BigNumber from 'bignumber.js' ;
2
2
import { coerce } from 'semver' ;
3
3
4
- import { TransactionArgumentType } from '~/types' ;
4
+ import { ModuleName , TransactionArgumentType , TxTags } from '~/types' ;
5
5
6
6
/**
7
7
* Maximum amount of decimals for on-chain values
@@ -178,3 +178,7 @@ export const GLOBAL_TOKEN_URI_NAME = 'tokenUri';
178
178
export const GLOBAL_BASE_TOKEN_URI_NAME = 'baseTokenUri' ;
179
179
180
180
export const ASSET_ID_PREFIX = 'modlpy/pallet_asset' ;
181
+
182
+ export const TX_TAG_VALUES : string [ ] = Object . values ( TxTags ) . flatMap ( v => Object . values ( v ) ) ;
183
+
184
+ export const MODULE_NAMES : string [ ] = Object . values ( ModuleName ) ;
Original file line number Diff line number Diff line change @@ -227,7 +227,6 @@ import {
227
227
MetadataType ,
228
228
MetadataValue ,
229
229
MetadataValueDetails ,
230
- MODULE_NAMES ,
231
230
ModuleName ,
232
231
MultiClaimCondition ,
233
232
NftMetadataInput ,
@@ -275,7 +274,6 @@ import {
275
274
TransferRestrictionType ,
276
275
TransferStatus ,
277
276
TrustedClaimIssuer ,
278
- TX_TAG_VALUES ,
279
277
TxGroup ,
280
278
TxTag ,
281
279
TxTags ,
@@ -308,6 +306,8 @@ import {
308
306
MAX_MODULE_LENGTH ,
309
307
MAX_OFF_CHAIN_METADATA_LENGTH ,
310
308
MAX_TICKER_LENGTH ,
309
+ MODULE_NAMES ,
310
+ TX_TAG_VALUES ,
311
311
} from '~/utils/constants' ;
312
312
import {
313
313
asAccount ,
You can’t perform that action at this time.
0 commit comments