@bitgo-beta/statics 10.0.1-alpha.46 → 10.0.1-alpha.460

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