@bitgo-beta/statics 15.1.1-beta.205 → 15.1.1-beta.2050

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