@bitgo-beta/statics 15.1.1-beta.178 → 15.1.1-beta.1780

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