@bitgo-beta/statics 15.1.1-beta.213 → 15.1.1-beta.2131

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