@bitgo-beta/statics 15.1.1-beta.187 → 15.1.1-beta.1871

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/src/account.d.ts +1130 -75
  2. package/dist/src/account.d.ts.map +1 -1
  3. package/dist/src/account.js +1780 -160
  4. package/dist/src/ada.d.ts.map +1 -1
  5. package/dist/src/ada.js +7 -3
  6. package/dist/src/allCoinsAndTokens.d.ts +2 -0
  7. package/dist/src/allCoinsAndTokens.d.ts.map +1 -0
  8. package/dist/src/allCoinsAndTokens.js +1755 -0
  9. package/dist/src/avaxp.d.ts.map +1 -1
  10. package/dist/src/avaxp.js +9 -3
  11. package/dist/src/base.d.ts +2713 -57
  12. package/dist/src/base.d.ts.map +1 -1
  13. package/dist/src/base.js +2823 -67
  14. package/dist/src/canton.d.ts +34 -0
  15. package/dist/src/canton.d.ts.map +1 -0
  16. package/dist/src/canton.js +51 -0
  17. package/dist/src/coinFeatures.d.ts +119 -0
  18. package/dist/src/coinFeatures.d.ts.map +1 -0
  19. package/dist/src/coinFeatures.js +774 -0
  20. package/dist/src/coins/adaTokens.d.ts +2 -0
  21. package/dist/src/coins/adaTokens.d.ts.map +1 -0
  22. package/dist/src/coins/adaTokens.js +22 -0
  23. package/dist/src/coins/avaxTokens.d.ts +2 -0
  24. package/dist/src/coins/avaxTokens.d.ts.map +1 -0
  25. package/dist/src/coins/avaxTokens.js +131 -0
  26. package/dist/src/coins/botOfcTokens.d.ts +3 -0
  27. package/dist/src/coins/botOfcTokens.d.ts.map +1 -0
  28. package/dist/src/coins/botOfcTokens.js +64 -0
  29. package/dist/src/coins/botTokens.d.ts +3 -0
  30. package/dist/src/coins/botTokens.d.ts.map +1 -0
  31. package/dist/src/coins/botTokens.js +282 -0
  32. package/dist/src/coins/bscTokens.d.ts +2 -0
  33. package/dist/src/coins/bscTokens.d.ts.map +1 -0
  34. package/dist/src/coins/bscTokens.js +220 -0
  35. package/dist/src/coins/cantonTokens.d.ts +2 -0
  36. package/dist/src/coins/cantonTokens.d.ts.map +1 -0
  37. package/dist/src/coins/cantonTokens.js +106 -0
  38. package/dist/src/coins/cosmosTokens.d.ts +2 -0
  39. package/dist/src/coins/cosmosTokens.d.ts.map +1 -0
  40. package/dist/src/coins/cosmosTokens.js +14 -0
  41. package/dist/src/coins/erc20Coins.d.ts +2 -0
  42. package/dist/src/coins/erc20Coins.d.ts.map +1 -0
  43. package/dist/src/coins/erc20Coins.js +2048 -0
  44. package/dist/src/coins/erc7984Tokens.d.ts +18 -0
  45. package/dist/src/coins/erc7984Tokens.d.ts.map +1 -0
  46. package/dist/src/coins/erc7984Tokens.js +32 -0
  47. package/dist/src/coins/generateERC20.d.ts +36 -0
  48. package/dist/src/coins/generateERC20.d.ts.map +1 -0
  49. package/dist/src/coins/generateERC20.js +46 -0
  50. package/dist/src/coins/hoodethTokens.d.ts +2 -0
  51. package/dist/src/coins/hoodethTokens.d.ts.map +1 -0
  52. package/dist/src/coins/hoodethTokens.js +115 -0
  53. package/dist/src/coins/jettonTokens.d.ts +2 -0
  54. package/dist/src/coins/jettonTokens.d.ts.map +1 -0
  55. package/dist/src/coins/jettonTokens.js +19 -0
  56. package/dist/src/coins/nep141Tokens.d.ts +2 -0
  57. package/dist/src/coins/nep141Tokens.d.ts.map +1 -0
  58. package/dist/src/coins/nep141Tokens.js +18 -0
  59. package/dist/src/coins/ofcCoins.d.ts +2 -0
  60. package/dist/src/coins/ofcCoins.d.ts.map +1 -0
  61. package/dist/src/coins/ofcCoins.js +1162 -0
  62. package/dist/src/coins/ofcErc20Coins.d.ts +4 -0
  63. package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
  64. package/dist/src/coins/ofcErc20Coins.js +1837 -0
  65. package/dist/src/coins/ofcHoodethTokens.d.ts +2 -0
  66. package/dist/src/coins/ofcHoodethTokens.d.ts.map +1 -0
  67. package/dist/src/coins/ofcHoodethTokens.js +113 -0
  68. package/dist/src/coins/polygonTokens.d.ts +2 -0
  69. package/dist/src/coins/polygonTokens.d.ts.map +1 -0
  70. package/dist/src/coins/polygonTokens.js +203 -0
  71. package/dist/src/coins/polyxTokens.d.ts +2 -0
  72. package/dist/src/coins/polyxTokens.d.ts.map +1 -0
  73. package/dist/src/coins/polyxTokens.js +22 -0
  74. package/dist/src/coins/sip10Tokens.d.ts +2 -0
  75. package/dist/src/coins/sip10Tokens.d.ts.map +1 -0
  76. package/dist/src/coins/sip10Tokens.js +25 -0
  77. package/dist/src/coins/solTokens.d.ts +3 -0
  78. package/dist/src/coins/solTokens.d.ts.map +1 -0
  79. package/dist/src/coins/solTokens.js +499 -0
  80. package/dist/src/coins/vetTokens.d.ts +2 -0
  81. package/dist/src/coins/vetTokens.d.ts.map +1 -0
  82. package/dist/src/coins/vetTokens.js +11 -0
  83. package/dist/src/coins.d.ts +22 -1
  84. package/dist/src/coins.d.ts.map +1 -1
  85. package/dist/src/coins.js +463 -1708
  86. package/dist/src/constants.d.ts +1 -0
  87. package/dist/src/constants.d.ts.map +1 -1
  88. package/dist/src/constants.js +3 -2
  89. package/dist/src/errors.d.ts +9 -0
  90. package/dist/src/errors.d.ts.map +1 -1
  91. package/dist/src/errors.js +23 -2
  92. package/dist/src/flrp.d.ts +40 -0
  93. package/dist/src/flrp.d.ts.map +1 -0
  94. package/dist/src/flrp.js +68 -0
  95. package/dist/src/hypeevm.d.ts +28 -0
  96. package/dist/src/hypeevm.d.ts.map +1 -0
  97. package/dist/src/hypeevm.js +60 -0
  98. package/dist/src/index.d.ts +5 -1
  99. package/dist/src/index.d.ts.map +1 -1
  100. package/dist/src/index.js +41 -3
  101. package/dist/src/kaspa.d.ts +34 -0
  102. package/dist/src/kaspa.d.ts.map +1 -0
  103. package/dist/src/kaspa.js +63 -0
  104. package/dist/src/lightning.d.ts +43 -0
  105. package/dist/src/lightning.d.ts.map +1 -0
  106. package/dist/src/lightning.js +64 -0
  107. package/dist/src/map.d.ts +34 -1
  108. package/dist/src/map.d.ts.map +1 -1
  109. package/dist/src/map.js +250 -35
  110. package/dist/src/networkFeatureMapForTokens.d.ts +17 -0
  111. package/dist/src/networkFeatureMapForTokens.d.ts.map +1 -0
  112. package/dist/src/networkFeatureMapForTokens.js +84 -0
  113. package/dist/src/networks.d.ts +1968 -67
  114. package/dist/src/networks.d.ts.map +1 -1
  115. package/dist/src/networks.js +2416 -108
  116. package/dist/src/ofc.d.ts +695 -3
  117. package/dist/src/ofc.d.ts.map +1 -1
  118. package/dist/src/ofc.js +1653 -28
  119. package/dist/src/tokenConfig.d.ts +692 -108
  120. package/dist/src/tokenConfig.d.ts.map +1 -1
  121. package/dist/src/tokenConfig.js +1087 -220
  122. package/dist/src/utxo.d.ts +3 -1
  123. package/dist/src/utxo.d.ts.map +1 -1
  124. package/dist/src/utxo.js +84 -3
  125. package/dist/tsconfig.tsbuildinfo +1 -1
  126. package/package.json +6 -3
  127. package/.mocharc.js +0 -10
  128. package/.prettierignore +0 -2
  129. package/CHANGELOG.md +0 -1221
@@ -1,3 +1,6 @@
1
+ import { CoinFamily, BaseCoin, CoinFeature } from './base';
2
+ import { coins } from './coins';
3
+ import { DynamicNetworkOptions } from './networks';
1
4
  export interface BaseTokenConfig {
2
5
  coin: string;
3
6
  decimalPlaces: number;
@@ -10,129 +13,283 @@ export interface BaseNetworkConfig extends BaseTokenConfig {
10
13
  export interface BaseContractAddressConfig extends BaseNetworkConfig {
11
14
  tokenContractAddress: string;
12
15
  }
13
- export declare type AvaxcTokenConfig = BaseContractAddressConfig;
14
- export declare type CeloTokenConfig = BaseContractAddressConfig;
15
- export declare type EthLikeTokenConfig = BaseContractAddressConfig;
16
- export declare type EosTokenConfig = BaseContractAddressConfig;
17
- export declare type Erc20TokenConfig = BaseContractAddressConfig;
18
- export declare type TrxTokenConfig = BaseContractAddressConfig;
19
- export declare type StellarTokenConfig = BaseNetworkConfig;
20
- export declare type SolTokenConfig = BaseNetworkConfig & {
16
+ export type AvaxcTokenConfig = BaseContractAddressConfig;
17
+ export type CeloTokenConfig = BaseContractAddressConfig;
18
+ export type EthLikeTokenConfig = BaseContractAddressConfig;
19
+ export type EosTokenConfig = BaseContractAddressConfig & {
20
+ contractName: string;
21
+ contractAddress: string;
22
+ };
23
+ export type Erc20TokenConfig = BaseContractAddressConfig;
24
+ export type Erc7984TokenConfig = BaseContractAddressConfig;
25
+ export type TrxTokenConfig = BaseContractAddressConfig;
26
+ export type StellarTokenConfig = BaseNetworkConfig;
27
+ export type SolTokenConfig = BaseNetworkConfig & {
21
28
  tokenAddress: string;
29
+ contractAddress: string;
30
+ programId?: string;
22
31
  };
23
- export declare type AdaTokenConfig = BaseNetworkConfig & {
32
+ export type AdaTokenConfig = BaseNetworkConfig & {
24
33
  policyId: string;
25
34
  assetName: string;
35
+ contractAddress: string;
26
36
  };
27
- export declare type AlgoTokenConfig = BaseNetworkConfig & {
37
+ export type AlgoTokenConfig = BaseNetworkConfig & {
28
38
  alias?: string;
29
39
  };
30
- export declare type OfcTokenConfig = BaseTokenConfig & {
40
+ export type OfcTokenConfig = BaseTokenConfig & {
31
41
  backingCoin: string;
32
42
  isFiat: boolean;
33
43
  };
34
- export declare type HbarTokenConfig = BaseNetworkConfig;
35
- export declare type XrpTokenConfig = BaseNetworkConfig & {
44
+ export type HbarTokenConfig = BaseNetworkConfig & {
45
+ nodeAccountId: string;
46
+ tokenId: string;
47
+ contractAddress: string;
48
+ };
49
+ export type XrpTokenConfig = BaseNetworkConfig & {
36
50
  issuerAddress: string;
37
51
  currencyCode: string;
38
52
  domain?: string;
53
+ contractAddress: string;
39
54
  };
40
- export interface Tokens {
41
- bitcoin: {
42
- eth: {
43
- tokens: Erc20TokenConfig[];
44
- };
45
- xlm: {
46
- tokens: StellarTokenConfig[];
47
- };
48
- algo: {
49
- tokens: AlgoTokenConfig[];
50
- };
51
- ofc: {
52
- tokens: OfcTokenConfig[];
53
- };
54
- celo: {
55
- tokens: CeloTokenConfig[];
56
- };
57
- eos: {
58
- tokens: EosTokenConfig[];
59
- };
60
- avaxc: {
61
- tokens: AvaxcTokenConfig[];
62
- };
63
- polygon: {
64
- tokens: EthLikeTokenConfig[];
65
- };
66
- bsc: {
67
- tokens: EthLikeTokenConfig[];
68
- };
69
- arbeth: {
70
- tokens: EthLikeTokenConfig[];
71
- };
72
- sol: {
73
- tokens: SolTokenConfig[];
74
- };
75
- hbar: {
76
- tokens: HbarTokenConfig[];
77
- };
78
- ada: {
79
- tokens: AdaTokenConfig[];
80
- };
81
- trx: {
82
- tokens: TrxTokenConfig[];
83
- };
84
- xrp: {
85
- tokens: XrpTokenConfig[];
86
- };
87
- };
88
- testnet: {
89
- eth: {
90
- tokens: Erc20TokenConfig[];
91
- };
92
- xlm: {
93
- tokens: StellarTokenConfig[];
94
- };
95
- algo: {
96
- tokens: AlgoTokenConfig[];
97
- };
98
- ofc: {
99
- tokens: OfcTokenConfig[];
100
- };
101
- celo: {
102
- tokens: CeloTokenConfig[];
103
- };
104
- bsc: {
105
- tokens: EthLikeTokenConfig[];
106
- };
107
- eos: {
108
- tokens: EosTokenConfig[];
109
- };
110
- avaxc: {
111
- tokens: AvaxcTokenConfig[];
112
- };
113
- polygon: {
114
- tokens: EthLikeTokenConfig[];
115
- };
116
- arbeth: {
117
- tokens: EthLikeTokenConfig[];
118
- };
119
- sol: {
120
- tokens: SolTokenConfig[];
121
- };
122
- hbar: {
123
- tokens: HbarTokenConfig[];
124
- };
125
- ada: {
126
- tokens: AdaTokenConfig[];
127
- };
128
- trx: {
129
- tokens: TrxTokenConfig[];
130
- };
131
- xrp: {
132
- tokens: XrpTokenConfig[];
133
- };
55
+ export type XrpMptTokenConfig = BaseNetworkConfig & {
56
+ contractAddress: string;
57
+ canTransfer: boolean;
58
+ };
59
+ export type SuiTokenConfig = BaseNetworkConfig & {
60
+ packageId: string;
61
+ module: string;
62
+ symbol: string;
63
+ contractAddress: string;
64
+ };
65
+ export type AptTokenConfig = BaseNetworkConfig & {
66
+ assetId: string;
67
+ };
68
+ export type AptNFTCollectionConfig = BaseNetworkConfig & {
69
+ nftCollectionId: string;
70
+ };
71
+ export type Sip10TokenConfig = BaseNetworkConfig & {
72
+ assetId: string;
73
+ };
74
+ export type TaoTokenConfig = BaseNetworkConfig & {
75
+ subnetId: string;
76
+ };
77
+ export type PolyxTokenConfig = BaseNetworkConfig & {
78
+ ticker: string;
79
+ assetId: string;
80
+ };
81
+ export type Nep141TokenConfig = BaseNetworkConfig & {
82
+ contractAddress: string;
83
+ storageDepositAmount: string;
84
+ };
85
+ export type CantonTokenConfig = BaseNetworkConfig & {
86
+ baseUrl: string;
87
+ contractAddress: string;
88
+ };
89
+ export type VetTokenConfig = BaseNetworkConfig & {
90
+ contractAddress: string;
91
+ };
92
+ export type VetNFTCollectionConfig = BaseNetworkConfig & {
93
+ nftCollectionId: string;
94
+ };
95
+ export type CosmosTokenConfig = BaseNetworkConfig & {
96
+ denom: string;
97
+ };
98
+ export type JettonTokenConfig = BaseNetworkConfig & {
99
+ contractAddress: string;
100
+ };
101
+ export type EthLikeERC721TokenConfig = BaseContractAddressConfig & {
102
+ network: string;
103
+ };
104
+ export type Tip20TokenConfig = BaseContractAddressConfig;
105
+ export type TokenConfig = Erc20TokenConfig | StellarTokenConfig | OfcTokenConfig | CeloTokenConfig | EthLikeTokenConfig | EosTokenConfig | AvaxcTokenConfig | SolTokenConfig | HbarTokenConfig | AdaTokenConfig | AlgoTokenConfig | TrxTokenConfig | XrpTokenConfig | XrpMptTokenConfig | SuiTokenConfig | AptTokenConfig | AptNFTCollectionConfig | Sip10TokenConfig | Nep141TokenConfig | CantonTokenConfig | CosmosTokenConfig | VetTokenConfig | VetNFTCollectionConfig | TaoTokenConfig | PolyxTokenConfig | JettonTokenConfig | EthLikeERC721TokenConfig | Tip20TokenConfig | Erc7984TokenConfig;
106
+ export interface TokenNetwork {
107
+ eth: {
108
+ tokens: Erc20TokenConfig[];
109
+ nfts: EthLikeTokenConfig[];
110
+ confidentialTokens: Erc7984TokenConfig[];
111
+ };
112
+ xlm: {
113
+ tokens: StellarTokenConfig[];
114
+ };
115
+ algo: {
116
+ tokens: AlgoTokenConfig[];
117
+ };
118
+ ofc: {
119
+ tokens: OfcTokenConfig[];
120
+ };
121
+ celo: {
122
+ tokens: CeloTokenConfig[];
123
+ };
124
+ eos: {
125
+ tokens: EosTokenConfig[];
126
+ };
127
+ avaxc: {
128
+ tokens: AvaxcTokenConfig[];
129
+ };
130
+ polygon: {
131
+ tokens: EthLikeTokenConfig[];
132
+ };
133
+ soneium: {
134
+ tokens: EthLikeTokenConfig[];
135
+ };
136
+ bsc: {
137
+ tokens: EthLikeTokenConfig[];
138
+ };
139
+ arbeth: {
140
+ tokens: EthLikeTokenConfig[];
141
+ };
142
+ opeth: {
143
+ tokens: EthLikeTokenConfig[];
144
+ };
145
+ baseeth: {
146
+ tokens: EthLikeTokenConfig[];
147
+ };
148
+ og: {
149
+ tokens: EthLikeTokenConfig[];
150
+ };
151
+ flow: {
152
+ tokens: EthLikeTokenConfig[];
153
+ };
154
+ lineaeth: {
155
+ tokens: EthLikeTokenConfig[];
156
+ };
157
+ seievm: {
158
+ tokens: EthLikeTokenConfig[];
159
+ };
160
+ coredao: {
161
+ tokens: EthLikeTokenConfig[];
162
+ };
163
+ world: {
164
+ tokens: EthLikeTokenConfig[];
165
+ };
166
+ flr: {
167
+ tokens: EthLikeTokenConfig[];
168
+ };
169
+ sol: {
170
+ tokens: SolTokenConfig[];
171
+ };
172
+ hbar: {
173
+ tokens: HbarTokenConfig[];
174
+ };
175
+ ada: {
176
+ tokens: AdaTokenConfig[];
177
+ };
178
+ trx: {
179
+ tokens: TrxTokenConfig[];
180
+ };
181
+ xrp: {
182
+ tokens: XrpTokenConfig[];
183
+ mptTokens: XrpMptTokenConfig[];
184
+ };
185
+ zketh: {
186
+ tokens: EthLikeTokenConfig[];
187
+ };
188
+ sui: {
189
+ tokens: SuiTokenConfig[];
190
+ };
191
+ tao: {
192
+ tokens: TaoTokenConfig[];
193
+ };
194
+ polyx: {
195
+ tokens: PolyxTokenConfig[];
196
+ };
197
+ bera: {
198
+ tokens: EthLikeTokenConfig[];
199
+ };
200
+ mon: {
201
+ tokens: EthLikeTokenConfig[];
202
+ };
203
+ xdc: {
204
+ tokens: EthLikeTokenConfig[];
205
+ };
206
+ hypeevm: {
207
+ tokens: EthLikeTokenConfig[];
208
+ };
209
+ ip: {
210
+ tokens: EthLikeTokenConfig[];
211
+ };
212
+ apt: {
213
+ tokens: AptTokenConfig[];
214
+ nftCollections: AptNFTCollectionConfig[];
134
215
  };
216
+ stx: {
217
+ tokens: Sip10TokenConfig[];
218
+ };
219
+ near: {
220
+ tokens: Nep141TokenConfig[];
221
+ };
222
+ vet: {
223
+ tokens: VetTokenConfig[];
224
+ nftCollections: VetNFTCollectionConfig[];
225
+ };
226
+ cosmos: {
227
+ tokens: CosmosTokenConfig[];
228
+ };
229
+ ton: {
230
+ tokens: JettonTokenConfig[];
231
+ };
232
+ tempo: {
233
+ tokens: Tip20TokenConfig[];
234
+ };
235
+ canton: {
236
+ tokens: CantonTokenConfig[];
237
+ };
238
+ }
239
+ export interface Tokens {
240
+ bitcoin: TokenNetwork;
241
+ testnet: TokenNetwork;
242
+ }
243
+ export interface AmsTokenConfig {
244
+ id: string;
245
+ name: string;
246
+ fullName: string;
247
+ family: string;
248
+ decimalPlaces: number;
249
+ asset: string;
250
+ features?: string[];
251
+ prefix?: string;
252
+ suffix?: string;
253
+ network?: unknown;
254
+ primaryKeyCurve?: string;
255
+ contractAddress?: string;
256
+ tokenAddress?: string;
257
+ nftCollectionId?: string;
258
+ alias?: string;
259
+ contractName?: string;
260
+ tokenId?: string;
261
+ packageId?: string;
262
+ module?: string;
263
+ symbol?: string;
264
+ issuerAddress?: string;
265
+ currecnycode?: string;
266
+ domain?: string;
267
+ assetId?: string;
268
+ denom?: string;
269
+ isToken: boolean;
270
+ baseUnit?: string;
271
+ kind?: string;
272
+ subnetId?: string;
273
+ ticker?: string;
274
+ programId?: string;
275
+ addressCoin?: string;
276
+ assetName?: string;
277
+ policyId?: string;
278
+ }
279
+ export interface AmsNetworkConfig extends DynamicNetworkOptions {
280
+ features: CoinFeature[];
281
+ }
282
+ export type AmsNetworkConfigMap = Record<string, AmsNetworkConfig>;
283
+ export interface TrimmedAmsNetworkConfig {
284
+ name: string;
135
285
  }
286
+ export interface TrimmedAmsTokenConfig extends Omit<AmsTokenConfig, 'features' | 'network'> {
287
+ network: TrimmedAmsNetworkConfig;
288
+ excludedFeatures?: string[];
289
+ additionalFeatures?: string[];
290
+ }
291
+ export declare const getFormattedErc20Tokens: (customCoinMap?: import("./map").CoinMap) => BaseContractAddressConfig[];
292
+ export declare const getFormattedErc7984Tokens: (customCoinMap?: import("./map").CoinMap) => BaseContractAddressConfig[];
136
293
  export declare const ethGasConfigs: {
137
294
  minimumGasPrice: number;
138
295
  defaultGasPrice: number;
@@ -141,13 +298,440 @@ export declare const ethGasConfigs: {
141
298
  defaultGasLimitTokenSend: number;
142
299
  minimumGasLimit: number;
143
300
  maximumGasLimit: number;
301
+ newEthLikeCoinsMinGasLimit: number;
302
+ l1GasFeeBuffer: number;
144
303
  };
145
- export declare const formattedAlgoTokens: AlgoTokenConfig[];
304
+ export declare const getFormattedSolTokens: (customCoinMap?: import("./map").CoinMap) => SolTokenConfig[];
305
+ export declare const getFormattedAlgoTokens: (customCoinMap?: import("./map").CoinMap) => AlgoTokenConfig[];
306
+ type EthLikeTokenMap = {
307
+ [K in CoinFamily]: {
308
+ tokens: EthLikeTokenConfig[];
309
+ };
310
+ };
311
+ export declare enum TokenTypeEnum {
312
+ ERC20 = "erc20",
313
+ ERC721 = "erc721",
314
+ ERC7984 = "erc7984"
315
+ }
316
+ export declare const getFormattedEthLikeTokenConfig: (customCoinMap: import("./map").CoinMap | undefined, tokenType: TokenTypeEnum) => EthLikeTokenConfig[];
317
+ export declare const getEthLikeTokens: (network: "Mainnet" | "Testnet", tokenType: TokenTypeEnum) => EthLikeTokenMap;
318
+ export declare const getFormattedTokensByNetwork: (network: "Mainnet" | "Testnet", coinMap: typeof coins) => {
319
+ eth: {
320
+ tokens: BaseContractAddressConfig[];
321
+ nfts: BaseContractAddressConfig[];
322
+ confidentialTokens: BaseContractAddressConfig[];
323
+ };
324
+ xlm: {
325
+ tokens: BaseNetworkConfig[];
326
+ };
327
+ algo: {
328
+ tokens: AlgoTokenConfig[];
329
+ };
330
+ ofc: {
331
+ tokens: OfcTokenConfig[];
332
+ };
333
+ celo: {
334
+ tokens: BaseContractAddressConfig[];
335
+ };
336
+ bsc: {
337
+ tokens: BaseContractAddressConfig[];
338
+ };
339
+ eos: {
340
+ tokens: EosTokenConfig[];
341
+ };
342
+ avaxc: {
343
+ tokens: BaseContractAddressConfig[];
344
+ };
345
+ polygon: {
346
+ tokens: BaseContractAddressConfig[];
347
+ };
348
+ soneium: {
349
+ tokens: BaseContractAddressConfig[];
350
+ };
351
+ arbeth: {
352
+ tokens: BaseContractAddressConfig[];
353
+ };
354
+ opeth: {
355
+ tokens: BaseContractAddressConfig[];
356
+ };
357
+ baseeth: {
358
+ tokens: BaseContractAddressConfig[];
359
+ };
360
+ og: {
361
+ tokens: BaseContractAddressConfig[];
362
+ };
363
+ flow: {
364
+ tokens: BaseContractAddressConfig[];
365
+ };
366
+ mon: {
367
+ tokens: BaseContractAddressConfig[];
368
+ };
369
+ xdc: {
370
+ tokens: BaseContractAddressConfig[];
371
+ };
372
+ lineaeth: {
373
+ tokens: BaseContractAddressConfig[];
374
+ };
375
+ seievm: {
376
+ tokens: BaseContractAddressConfig[];
377
+ };
378
+ zketh: {
379
+ tokens: BaseContractAddressConfig[];
380
+ };
381
+ sol: {
382
+ tokens: SolTokenConfig[];
383
+ };
384
+ hbar: {
385
+ tokens: HbarTokenConfig[];
386
+ };
387
+ ada: {
388
+ tokens: AdaTokenConfig[];
389
+ };
390
+ trx: {
391
+ tokens: BaseContractAddressConfig[];
392
+ };
393
+ xrp: {
394
+ tokens: XrpTokenConfig[];
395
+ mptTokens: XrpMptTokenConfig[];
396
+ };
397
+ sui: {
398
+ tokens: SuiTokenConfig[];
399
+ };
400
+ tao: {
401
+ tokens: TaoTokenConfig[];
402
+ };
403
+ polyx: {
404
+ tokens: PolyxTokenConfig[];
405
+ };
406
+ bera: {
407
+ tokens: BaseContractAddressConfig[];
408
+ };
409
+ coredao: {
410
+ tokens: BaseContractAddressConfig[];
411
+ };
412
+ world: {
413
+ tokens: BaseContractAddressConfig[];
414
+ };
415
+ flr: {
416
+ tokens: BaseContractAddressConfig[];
417
+ };
418
+ stx: {
419
+ tokens: Sip10TokenConfig[];
420
+ };
421
+ near: {
422
+ tokens: Nep141TokenConfig[];
423
+ };
424
+ cosmos: {
425
+ tokens: CosmosTokenConfig[];
426
+ };
427
+ ton: {
428
+ tokens: JettonTokenConfig[];
429
+ };
430
+ tempo: {
431
+ tokens: BaseContractAddressConfig[];
432
+ };
433
+ canton: {
434
+ tokens: CantonTokenConfig[];
435
+ };
436
+ abstracteth: {
437
+ tokens: EthLikeTokenConfig[];
438
+ };
439
+ apechain: {
440
+ tokens: EthLikeTokenConfig[];
441
+ };
442
+ apt: {
443
+ tokens: EthLikeTokenConfig[];
444
+ };
445
+ asi: {
446
+ tokens: EthLikeTokenConfig[];
447
+ };
448
+ atom: {
449
+ tokens: EthLikeTokenConfig[];
450
+ };
451
+ avaxp: {
452
+ tokens: EthLikeTokenConfig[];
453
+ };
454
+ baby: {
455
+ tokens: EthLikeTokenConfig[];
456
+ };
457
+ bch: {
458
+ tokens: EthLikeTokenConfig[];
459
+ };
460
+ bcha: {
461
+ tokens: EthLikeTokenConfig[];
462
+ };
463
+ bld: {
464
+ tokens: EthLikeTokenConfig[];
465
+ };
466
+ bsv: {
467
+ tokens: EthLikeTokenConfig[];
468
+ };
469
+ btc: {
470
+ tokens: EthLikeTokenConfig[];
471
+ };
472
+ btg: {
473
+ tokens: EthLikeTokenConfig[];
474
+ };
475
+ chiliz: {
476
+ tokens: EthLikeTokenConfig[];
477
+ };
478
+ codexeth: {
479
+ tokens: EthLikeTokenConfig[];
480
+ };
481
+ coreum: {
482
+ tokens: EthLikeTokenConfig[];
483
+ };
484
+ cronos: {
485
+ tokens: EthLikeTokenConfig[];
486
+ };
487
+ cspr: {
488
+ tokens: EthLikeTokenConfig[];
489
+ };
490
+ dash: {
491
+ tokens: EthLikeTokenConfig[];
492
+ };
493
+ doge: {
494
+ tokens: EthLikeTokenConfig[];
495
+ };
496
+ dogeos: {
497
+ tokens: EthLikeTokenConfig[];
498
+ };
499
+ dot: {
500
+ tokens: EthLikeTokenConfig[];
501
+ };
502
+ dydx: {
503
+ tokens: EthLikeTokenConfig[];
504
+ };
505
+ dydxcosmos: {
506
+ tokens: EthLikeTokenConfig[];
507
+ };
508
+ etc: {
509
+ tokens: EthLikeTokenConfig[];
510
+ };
511
+ eth2: {
512
+ tokens: EthLikeTokenConfig[];
513
+ };
514
+ ethw: {
515
+ tokens: EthLikeTokenConfig[];
516
+ };
517
+ fetchai: {
518
+ tokens: EthLikeTokenConfig[];
519
+ };
520
+ fiat: {
521
+ tokens: EthLikeTokenConfig[];
522
+ };
523
+ fantom: {
524
+ tokens: EthLikeTokenConfig[];
525
+ };
526
+ flrp: {
527
+ tokens: EthLikeTokenConfig[];
528
+ };
529
+ gasevm: {
530
+ tokens: EthLikeTokenConfig[];
531
+ };
532
+ h: {
533
+ tokens: EthLikeTokenConfig[];
534
+ };
535
+ hash: {
536
+ tokens: EthLikeTokenConfig[];
537
+ };
538
+ hbarevm: {
539
+ tokens: EthLikeTokenConfig[];
540
+ };
541
+ hemieth: {
542
+ tokens: EthLikeTokenConfig[];
543
+ };
544
+ hoodeth: {
545
+ tokens: EthLikeTokenConfig[];
546
+ };
547
+ hppeth: {
548
+ tokens: EthLikeTokenConfig[];
549
+ };
550
+ icp: {
551
+ tokens: EthLikeTokenConfig[];
552
+ };
553
+ inketh: {
554
+ tokens: EthLikeTokenConfig[];
555
+ };
556
+ initia: {
557
+ tokens: EthLikeTokenConfig[];
558
+ };
559
+ injective: {
560
+ tokens: EthLikeTokenConfig[];
561
+ };
562
+ iota: {
563
+ tokens: EthLikeTokenConfig[];
564
+ };
565
+ irys: {
566
+ tokens: EthLikeTokenConfig[];
567
+ };
568
+ islm: {
569
+ tokens: EthLikeTokenConfig[];
570
+ };
571
+ jovayeth: {
572
+ tokens: EthLikeTokenConfig[];
573
+ };
574
+ kaia: {
575
+ tokens: EthLikeTokenConfig[];
576
+ };
577
+ kaspa: {
578
+ tokens: EthLikeTokenConfig[];
579
+ };
580
+ katanaeth: {
581
+ tokens: EthLikeTokenConfig[];
582
+ };
583
+ kavacosmos: {
584
+ tokens: EthLikeTokenConfig[];
585
+ };
586
+ kavaevm: {
587
+ tokens: EthLikeTokenConfig[];
588
+ };
589
+ lnbtc: {
590
+ tokens: EthLikeTokenConfig[];
591
+ };
592
+ ltc: {
593
+ tokens: EthLikeTokenConfig[];
594
+ };
595
+ mantle: {
596
+ tokens: EthLikeTokenConfig[];
597
+ };
598
+ mantra: {
599
+ tokens: EthLikeTokenConfig[];
600
+ };
601
+ megaeth: {
602
+ tokens: EthLikeTokenConfig[];
603
+ };
604
+ xpl: {
605
+ tokens: EthLikeTokenConfig[];
606
+ };
607
+ phrs: {
608
+ tokens: EthLikeTokenConfig[];
609
+ };
610
+ prividiumeth: {
611
+ tokens: EthLikeTokenConfig[];
612
+ };
613
+ ctc: {
614
+ tokens: EthLikeTokenConfig[];
615
+ };
616
+ hypeevm: {
617
+ tokens: EthLikeTokenConfig[];
618
+ };
619
+ hyperliquid: {
620
+ tokens: EthLikeTokenConfig[];
621
+ };
622
+ oas: {
623
+ tokens: EthLikeTokenConfig[];
624
+ };
625
+ opbnb: {
626
+ tokens: EthLikeTokenConfig[];
627
+ };
628
+ okbxlayer: {
629
+ tokens: EthLikeTokenConfig[];
630
+ };
631
+ osmo: {
632
+ tokens: EthLikeTokenConfig[];
633
+ };
634
+ plume: {
635
+ tokens: EthLikeTokenConfig[];
636
+ };
637
+ rbtc: {
638
+ tokens: EthLikeTokenConfig[];
639
+ };
640
+ scrolleth: {
641
+ tokens: EthLikeTokenConfig[];
642
+ };
643
+ sgb: {
644
+ tokens: EthLikeTokenConfig[];
645
+ };
646
+ sei: {
647
+ tokens: EthLikeTokenConfig[];
648
+ };
649
+ sonic: {
650
+ tokens: EthLikeTokenConfig[];
651
+ };
652
+ starknet: {
653
+ tokens: EthLikeTokenConfig[];
654
+ };
655
+ stt: {
656
+ tokens: EthLikeTokenConfig[];
657
+ };
658
+ susd: {
659
+ tokens: EthLikeTokenConfig[];
660
+ };
661
+ thor: {
662
+ tokens: EthLikeTokenConfig[];
663
+ };
664
+ tia: {
665
+ tokens: EthLikeTokenConfig[];
666
+ };
667
+ usdt0: {
668
+ tokens: EthLikeTokenConfig[];
669
+ };
670
+ vet: {
671
+ tokens: EthLikeTokenConfig[];
672
+ };
673
+ wemix: {
674
+ tokens: EthLikeTokenConfig[];
675
+ };
676
+ xtz: {
677
+ tokens: EthLikeTokenConfig[];
678
+ };
679
+ xtzevm: {
680
+ tokens: EthLikeTokenConfig[];
681
+ };
682
+ zec: {
683
+ tokens: EthLikeTokenConfig[];
684
+ };
685
+ zeta: {
686
+ tokens: EthLikeTokenConfig[];
687
+ };
688
+ zksyncera: {
689
+ tokens: EthLikeTokenConfig[];
690
+ };
691
+ ip: {
692
+ tokens: EthLikeTokenConfig[];
693
+ };
694
+ somi: {
695
+ tokens: EthLikeTokenConfig[];
696
+ };
697
+ fluenteth: {
698
+ tokens: EthLikeTokenConfig[];
699
+ };
700
+ morph: {
701
+ tokens: EthLikeTokenConfig[];
702
+ };
703
+ morpheth: {
704
+ tokens: EthLikeTokenConfig[];
705
+ };
706
+ arcusdc: {
707
+ tokens: EthLikeTokenConfig[];
708
+ };
709
+ unieth: {
710
+ tokens: EthLikeTokenConfig[];
711
+ };
712
+ bobaeth: {
713
+ tokens: EthLikeTokenConfig[];
714
+ };
715
+ };
716
+ export declare const getFormattedTokens: (coinMap?: import("./map").CoinMap) => Tokens;
717
+ /**
718
+ * Verify mainnet or testnet tokens
719
+ * @param tokens
720
+ */
721
+ export declare const verifyTokens: (tokens: BaseTokenConfig[]) => Record<string, boolean>;
146
722
  export declare const tokens: Tokens;
723
+ export declare const formattedAlgoTokens: AlgoTokenConfig[];
147
724
  export declare const mainnetTokens: {
148
725
  [x: string]: boolean;
149
726
  };
150
727
  export declare const testnetTokens: {
151
728
  [x: string]: boolean;
152
729
  };
730
+ /**
731
+ * Get formatted token configuration for a single coin
732
+ * @param coin - Static Base coin instance
733
+ * @returns The formatted token configuration for the coin, or undefined if not supported
734
+ */
735
+ export declare function getFormattedTokenConfigForCoin(coin: Readonly<BaseCoin>): TokenConfig | undefined;
736
+ export {};
153
737
  //# sourceMappingURL=tokenConfig.d.ts.map