@morpho-org/blue-sdk 3.0.0-next.1 → 3.0.0-next.10

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.
@@ -6,7 +6,50 @@ import type { Address } from "./types.js";
6
6
  * NB: data might differ from expected onchain native token data
7
7
  */
8
8
  export declare const NATIVE_ADDRESS = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
9
- export declare const addresses: {
9
+ export interface ChainAddresses {
10
+ morpho: Address;
11
+ permit2?: Address;
12
+ /**
13
+ * @deprecated All bundles should use Bundler3 instead.
14
+ */
15
+ bundler?: Address;
16
+ aaveV3OptimizerBundler?: Address;
17
+ aaveV2Bundler?: Address;
18
+ aaveV3Bundler?: Address;
19
+ compoundV3Bundler?: Address;
20
+ compoundV2Bundler?: Address;
21
+ bundler3: {
22
+ bundler3: Address;
23
+ generalAdapter1: Address;
24
+ paraswapAdapter?: Address;
25
+ erc20WrapperAdapter?: Address;
26
+ compoundV2MigrationAdapter?: Address;
27
+ compoundV3MigrationAdapter?: Address;
28
+ aaveV2MigrationAdapter?: Address;
29
+ aaveV3CoreMigrationAdapter?: Address;
30
+ aaveV3PrimeMigrationAdapter?: Address;
31
+ aaveV3EtherFiMigrationAdapter?: Address;
32
+ aaveV3OptimizerMigrationAdapter?: Address;
33
+ };
34
+ adaptiveCurveIrm: Address;
35
+ publicAllocator?: Address;
36
+ metaMorphoFactory?: Address;
37
+ chainlinkOracleFactory?: Address;
38
+ preLiquidationFactory?: Address;
39
+ wNative?: Address;
40
+ morphoToken?: Address;
41
+ /**
42
+ * Must implement DAI specific permit (otherwise breaks permit signatures).
43
+ */
44
+ dai?: Address;
45
+ /**
46
+ * Must implement USDC permit version 2 (otherwise breaks permit signatures).
47
+ */
48
+ usdc?: Address;
49
+ stEth?: Address;
50
+ wstEth?: Address;
51
+ }
52
+ export declare const addressesRegistry: {
10
53
  readonly 1: {
11
54
  readonly morpho: "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb";
12
55
  readonly permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3";
@@ -34,16 +77,16 @@ export declare const addresses: {
34
77
  readonly compoundV2Bundler: "0x26bF52a84360Ad3d01d7CDc28FC2dDC04d8c8647";
35
78
  readonly adaptiveCurveIrm: "0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC";
36
79
  readonly publicAllocator: "0xfd32fA2ca22c76dD6E550706Ad913FC6CE91c75D";
37
- readonly metaMorphoFactory: "0xA9c3D3a366466Fa809d1Ae982Fb2c46E5fC41101";
80
+ readonly metaMorphoFactory: "0x1897A8997241C1cD4bD0698647e4EB7213535c24";
81
+ readonly chainlinkOracleFactory: "0x3A7bB36Ee3f3eE32A60e9f2b33c1e5f2E83ad766";
82
+ readonly preLiquidationFactory: "0x6FF33615e792E35ed1026ea7cACCf42D9BF83476";
38
83
  readonly wNative: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
39
84
  readonly morphoToken: "0x9994E35Db50125E0DF82e4c2dde62496CE330999";
40
- readonly aaveV3Optimizer: "0x33333aea097c193e66081E930c33020272b33333";
41
85
  readonly dai: "0x6B175474E89094C44Da98b954EedeAC495271d0F";
42
86
  readonly sDai: "0x83F20F44975D03b1b09e64809B757c47f942BEeA";
43
87
  readonly mkr: "0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2";
44
88
  readonly stEth: "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84";
45
89
  readonly wstEth: "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0";
46
- readonly cEth: "0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5";
47
90
  readonly osEth: "0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38";
48
91
  readonly bIB01: "0xCA30c93B02514f86d5C86a6e375E3A330B435Fb5";
49
92
  readonly wbIB01: "0xcA2A7068e551d5C4482eb34880b194E4b945712F";
@@ -85,82 +128,189 @@ export declare const addresses: {
85
128
  readonly compoundV3Bundler: "0x1f8076e2EB6f10b12e6886f30D4909A91969F7dA";
86
129
  readonly adaptiveCurveIrm: "0x46415998764C29aB2a25CbeA6254146D50D22687";
87
130
  readonly publicAllocator: "0xA090dD1a701408Df1d4d0B85b716c87565f90467";
88
- readonly metaMorphoFactory: "0xA9c3D3a366466Fa809d1Ae982Fb2c46E5fC41101";
131
+ readonly metaMorphoFactory: "0xFf62A7c278C62eD665133147129245053Bbf5918";
132
+ readonly chainlinkOracleFactory: "0x2DC205F24BCb6B311E5cdf0745B0741648Aebd3d";
133
+ readonly preLiquidationFactory: "0x8cd16b62E170Ee0bA83D80e1F80E6085367e2aef";
89
134
  readonly wNative: "0x4200000000000000000000000000000000000006";
90
135
  readonly usdc: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
91
136
  readonly verUsdc: "0x59aaF835D34b1E3dF2170e4872B785f11E2a964b";
92
137
  readonly testUsdc: "0xBC77067f829979812d795d516E523C4033b66409";
93
138
  };
139
+ readonly 137: {
140
+ readonly morpho: "0x1bF0c2541F820E775182832f06c0B7Fc27A25f67";
141
+ readonly bundler3: {
142
+ readonly bundler3: "0x2d9C3A9E67c966C711208cc78b34fB9E9f8db589";
143
+ readonly generalAdapter1: "0xB261B51938A9767406ef83bbFbaAFE16691b7047";
144
+ readonly paraswapAdapter: "0x5F2617F12D1fDd1e43e72Cb80C92dFcE8124Db8d";
145
+ readonly compoundV3MigrationAdapter: "0xB34D2f54139bA12defC315C0822aDf9A5eB9A9b7";
146
+ readonly aaveV2MigrationAdapter: "0x43980Ae597f12Ff64690506b2AEEFFb4D8BeAF2a";
147
+ readonly aaveV3CoreMigrationAdapter: "0xEcB1662a1dff5C20650CF98c3334d2fddcD50742";
148
+ };
149
+ readonly permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3";
150
+ readonly adaptiveCurveIrm: "0xe675A2161D4a6E2de2eeD70ac98EEBf257FBF0B0";
151
+ readonly publicAllocator: "0xfac15aff53ADd2ff80C2962127C434E8615Df0d3";
152
+ readonly metaMorphoFactory: "0xa9c87daB340631C34BB738625C70499e29ddDC98";
153
+ readonly chainlinkOracleFactory: "0x1ff7895Eb842794c5d07C4c547b6730e61295215";
154
+ readonly preLiquidationFactory: "0xeDadDe37D76c72b98725614d0b41C20Fe612d304";
155
+ readonly wNative: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270";
156
+ };
94
157
  readonly 42161: {
95
158
  readonly morpho: "0x6c247b1F6182318877311737BaC0844bAa518F5e";
96
159
  readonly bundler3: {
97
- readonly bundler3: "0x044aE7bA624a047535F4A6ae5FE6E9EA8d1D93B0";
98
- readonly generalAdapter1: "0x1B15458e2688c8ced79d88DC460Eb2017bbaC36b";
99
- readonly paraswapAdapter: "0xAE745bA0BbB59476BD9fe94a8df4EB93a92AdCf4";
160
+ readonly bundler3: "0x1FA4431bC113D308beE1d46B0e98Cb805FB48C13";
161
+ readonly generalAdapter1: "0x9954aFB60BB5A222714c478ac86990F221788B88";
162
+ readonly paraswapAdapter: "0xAA5c30C1482c189cA0d56057D3ac4dD7Af1e4726";
100
163
  };
101
164
  readonly permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3";
102
165
  readonly adaptiveCurveIrm: "0x66F30587FB8D4206918deb78ecA7d5eBbafD06DA";
103
166
  readonly publicAllocator: "0x769583Af5e9D03589F159EbEC31Cc2c23E8C355E";
104
167
  readonly metaMorphoFactory: "0x878988f5f561081deEa117717052164ea1Ef0c82";
168
+ readonly chainlinkOracleFactory: "0x98Ce5D183DC0c176f54D37162F87e7eD7f2E41b5";
169
+ readonly preLiquidationFactory: "0x635c31B5DF1F7EFbCbC07E302335Ef4230758e3d";
105
170
  readonly wNative: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1";
106
171
  readonly usdc: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
107
172
  };
108
173
  readonly 10: {
109
174
  readonly morpho: "0xce95AfbB8EA029495c66020883F87aaE8864AF92";
110
175
  readonly bundler3: {
111
- readonly bundler3: "0x0b812d4592e8af9f0d2ffC51cf05F6BAB7d344A1";
112
- readonly generalAdapter1: "0x67Df9629F29E4502f87343c759FeDdDdAB12dB85";
113
- readonly paraswapAdapter: "0xF445B0864190a1eA333eb6f7B0B9dddA7ec46340";
176
+ readonly bundler3: "0xFBCd3C258feB131D8E038F2A3a670A7bE0507C05";
177
+ readonly generalAdapter1: "0x79481C87f24A3C4332442A2E9faaf675e5F141f0";
178
+ readonly paraswapAdapter: "0x31F539f4Ed14fA1fd18781e93f6739249692aDC5";
114
179
  };
115
180
  readonly permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3";
116
181
  readonly adaptiveCurveIrm: "0x8cD70A8F399428456b29546BC5dBe10ab6a06ef6";
117
182
  readonly publicAllocator: "0x0d68a97324E602E02799CD83B42D337207B40658";
118
183
  readonly metaMorphoFactory: "0x3Bb6A6A0Bc85b367EFE0A5bAc81c5E52C892839a";
184
+ readonly chainlinkOracleFactory: "0x1ec408D4131686f727F3Fd6245CF85Bc5c9DAD70";
185
+ readonly preLiquidationFactory: "0x3d05C01EE8e97361b9E19D172128255eaE5F98B9";
119
186
  readonly wNative: "0x4200000000000000000000000000000000000006";
120
187
  readonly usdc: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85";
121
188
  };
122
- };
123
- export interface ChainAddresses {
124
- morpho: Address;
125
- permit2: Address;
126
- /**
127
- * @deprecated All bundles should use Bundler3 instead.
128
- */
129
- bundler?: Address;
130
- aaveV3OptimizerBundler?: Address;
131
- aaveV2Bundler?: Address;
132
- aaveV3Bundler?: Address;
133
- compoundV3Bundler?: Address;
134
- compoundV2Bundler?: Address;
135
- bundler3: {
136
- bundler3: Address;
137
- generalAdapter1: Address;
138
- paraswapAdapter: Address;
139
- erc20WrapperAdapter?: Address;
140
- compoundV2MigrationAdapter?: Address;
141
- compoundV3MigrationAdapter?: Address;
142
- aaveV2MigrationAdapter?: Address;
143
- aaveV3CoreMigrationAdapter?: Address;
144
- aaveV3PrimeMigrationAdapter?: Address;
145
- aaveV3EtherFiMigrationAdapter?: Address;
146
- aaveV3OptimizerMigrationAdapter?: Address;
189
+ readonly 480: {
190
+ readonly morpho: "0xE741BC7c34758b4caE05062794E8Ae24978AF432";
191
+ readonly bundler3: {
192
+ readonly bundler3: "0x3D07BF2FFb23248034bF704F3a4786F1ffE2a448";
193
+ readonly generalAdapter1: "0x30fa9A3cF56931ACEea42E28D35519a97D90aA67";
194
+ };
195
+ readonly adaptiveCurveIrm: "0x34E99D604751a72cF8d0CFDf87069292d82De472";
196
+ readonly publicAllocator: "0xef9889B4e443DEd35FA0Bd060f2104Cca94e6A43";
197
+ readonly metaMorphoFactory: "0x4DBB3a642a2146d5413750Cca3647086D9ba5F12";
198
+ readonly chainlinkOracleFactory: "0xd706690BA1Fe26b70c4AD89e60ff62cEB3A2eD02";
199
+ readonly preLiquidationFactory: "0xe3cE2051a24e58DBFC0eFBe4c2d9e89c5eAe4695";
200
+ readonly wNative: "0x4200000000000000000000000000000000000006";
147
201
  };
148
- adaptiveCurveIrm: Address;
149
- publicAllocator: Address;
150
- metaMorphoFactory: Address;
151
- wNative: Address;
152
- morphoToken?: Address;
153
- aaveV3Optimizer?: Address;
154
- dai?: Address;
155
- mkr?: Address;
156
- usdc?: Address;
157
- stEth?: Address;
158
- wstEth?: Address;
159
- cEth?: Address;
160
- }
161
- export type AddressLabel = DottedKeys<(typeof addresses)[ChainId]>;
162
- declare const _default: { [n in ChainId]: ChainAddresses; };
163
- export default _default;
202
+ readonly 252: {
203
+ readonly morpho: "0xa6030627d724bA78a59aCf43Be7550b4C5a0653b";
204
+ readonly bundler3: {
205
+ readonly bundler3: "0xA7a414823Ef0F8CFb2c4f67f2F445DA940641d91";
206
+ readonly generalAdapter1: "0x228dDF333DDf6D1895dA1dE8a846EDD27F1284eD";
207
+ };
208
+ readonly adaptiveCurveIrm: "0xA0D4D77b5D9933073572E19C172BFE866312673b";
209
+ readonly publicAllocator: "0x37a888192165fC39884f87c64E2476BfD2C09675";
210
+ readonly metaMorphoFactory: "0x27D4Af0AC9E7FDfA6D0853236f249CC27AE79488";
211
+ readonly chainlinkOracleFactory: "0x39d8622C607A691D7705E8842fbB12E3c38dCD41";
212
+ readonly preLiquidationFactory: "0xe3cE2051a24e58DBFC0eFBe4c2d9e89c5eAe4695";
213
+ readonly wNative: "0xfc00000000000000000000000000000000000006";
214
+ };
215
+ readonly 534352: {
216
+ readonly morpho: "0x2d012EdbAdc37eDc2BC62791B666f9193FDF5a55";
217
+ readonly bundler3: {
218
+ readonly bundler3: "0x60F9159d4dCd724e743212416FD57d8aC0B60768";
219
+ readonly generalAdapter1: "0xD2780fae0869cDc06EE202152304A39653361525";
220
+ };
221
+ readonly adaptiveCurveIrm: "0xa5EA7500A27C0079961D93366A6e93aafF18CB90";
222
+ readonly publicAllocator: "0x8a7f671E45E51dE245649Cf916cA0256FB8a9927";
223
+ readonly metaMorphoFactory: "0x56b65742ade55015e6480959808229Ad6dbc9295";
224
+ readonly chainlinkOracleFactory: "0xb5961902E60b188b1c665B7b72Ef616656A9e24E";
225
+ readonly preLiquidationFactory: "0xeD960178e4aDA0296786Fa79D84e8FDF7bd44B25";
226
+ readonly wNative: "0x5300000000000000000000000000000000000004";
227
+ readonly usdc: "0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4";
228
+ };
229
+ readonly 57073: {
230
+ readonly morpho: "0x857f3EefE8cbda3Bc49367C996cd664A880d3042";
231
+ readonly bundler3: {
232
+ readonly bundler3: "0x7db0F1E2bf1f47ec82220090F388d75D8B9BB6BC";
233
+ readonly generalAdapter1: "0xB8B2aDdCDe1cdC94AaE18a0F8A19df03D8683610";
234
+ };
235
+ readonly adaptiveCurveIrm: "0x9515407b1512F53388ffE699524100e7270Ee57B";
236
+ readonly publicAllocator: "0x85416891752a6B81106c1C2999AE1AF5d8Cd3357";
237
+ readonly metaMorphoFactory: "0xd3f39505d0c48AFED3549D625982FdC38Ea9904b";
238
+ readonly chainlinkOracleFactory: "0x3FFFE273ee348b9E1ef89533025C7f165B17B439";
239
+ readonly preLiquidationFactory: "0x30607fEa77168d2c0401B6f60F0B40E32F9339E3";
240
+ readonly wNative: "0x4200000000000000000000000000000000000006";
241
+ readonly usdc: "0xF1815bd50389c46847f0Bda824eC8da914045D14";
242
+ };
243
+ readonly 130: {
244
+ readonly morpho: "0x8f5ae9CddB9f68de460C77730b018Ae7E04a140A";
245
+ readonly bundler3: {
246
+ readonly bundler3: "0x7DD85759182495AF7F6757DA75036d24A9B58bc3";
247
+ readonly generalAdapter1: "0xC11329d19C2275c9E759867e879ECFcEeD7e30A0";
248
+ };
249
+ readonly adaptiveCurveIrm: "0x9a6061d51743B31D2c3Be75D83781Fa423f53F0E";
250
+ readonly publicAllocator: "0xB0c9a107fA17c779B3378210A7a593e88938C7C9";
251
+ readonly metaMorphoFactory: "0xe9EdE3929F43a7062a007C3e8652e4ACa610Bdc0";
252
+ readonly chainlinkOracleFactory: "0x43269546e1D586a1f7200a0AC07e26f9631f7539";
253
+ readonly preLiquidationFactory: "0xb04e4D3D59Ee47Ca9BA192707AF13A7D02969911";
254
+ readonly wNative: "0x4200000000000000000000000000000000000006";
255
+ readonly usdc: "0x078D782b760474a361dDA0AF3839290b0EF57AD6";
256
+ };
257
+ readonly 146: {
258
+ readonly morpho: "0xd6c916eB7542D0Ad3f18AEd0FCBD50C582cfa95f";
259
+ readonly bundler3: {
260
+ readonly bundler3: "0xB06F1Ad8c908b958E596c42973f67F2f1d9a9afF";
261
+ readonly generalAdapter1: "0x31D5aee8D75EEab548cfA0d11C4f9843a5201eaf";
262
+ };
263
+ readonly adaptiveCurveIrm: "0xDEfCf242226425f93d8DD0e314735C28517C473F";
264
+ readonly publicAllocator: "0x6Cef2EDC70D87E8f1623f3096efF05d066E59B36";
265
+ readonly metaMorphoFactory: "0x0cE9e3512CB4df8ae7e265e62Fb9258dc14f12e8";
266
+ readonly chainlinkOracleFactory: "0x7DA59Fa482F1F49fADc486d8e47BADc506fEb86d";
267
+ readonly preLiquidationFactory: "0xc72129DA4CC808e955699111b8c22B22Ca8A10b8";
268
+ readonly wNative: "0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38";
269
+ };
270
+ readonly 43111: {
271
+ readonly morpho: "0xa4Ca2c2e25b97DA19879201bA49422bc6f181f42";
272
+ readonly bundler3: {
273
+ readonly bundler3: "0x8eDa6E01a20E3Cd90B3B2AF6F790cB8FADEf3Ea8";
274
+ readonly generalAdapter1: "0x9623090C3943ad63F7d794378273610Dd0deeFD4";
275
+ };
276
+ readonly adaptiveCurveIrm: "0xdEbdEa31624552DF904A065221cD14088ABDeD70";
277
+ readonly publicAllocator: "0x4107Ea1746909028d6212B315dE5fE9538F9eb39";
278
+ readonly metaMorphoFactory: "0x8e52179BeB18E882040b01632440d8Ca0f01da82";
279
+ readonly chainlinkOracleFactory: "0xB3cb32E6185446a6Bc7A047E4FfA138fA939e133";
280
+ readonly preLiquidationFactory: "0x40F2896C551194e364F7C846046C34d8a9FE97e4";
281
+ readonly wNative: "0x4200000000000000000000000000000000000006";
282
+ readonly usdc: "0xad11a8BEb98bbf61dbb1aa0F6d6F2ECD87b35afA";
283
+ };
284
+ readonly 34443: {
285
+ readonly morpho: "0xd85cE6BD68487E0AaFb0858FDE1Cd18c76840564";
286
+ readonly bundler3: {
287
+ readonly bundler3: "0xFEA0edFa081C8D5960Ec9Bf6684981dB1834305d";
288
+ readonly generalAdapter1: "0xF53925b95Cc409447066cd5c1A7756084b2Ee0a4";
289
+ };
290
+ readonly adaptiveCurveIrm: "0xE3d46Ae190Cb39ccA3655E966DcEF96b4eAe1d1c";
291
+ readonly publicAllocator: "0xEE868Bf3359DA30c10ea472EAEBFC0a06E8F0120";
292
+ readonly metaMorphoFactory: "0xae5b0884bfff430493D6C844B9fd052Af7d79278";
293
+ readonly chainlinkOracleFactory: "0xf9380f7898423Bd7FDe3C9fDD1b2671A2471f39D";
294
+ readonly preLiquidationFactory: "0x249E4808264c545861e43728186a731dE7c7D745";
295
+ readonly wNative: "0x4200000000000000000000000000000000000006";
296
+ };
297
+ readonly 21000000: {
298
+ readonly morpho: "0xc2B1E031540e3F3271C5F3819F0cC7479a8DdD90";
299
+ readonly bundler3: {
300
+ readonly bundler3: "0x086889F9bdE8349512dD77088A7114E6C1c42Af7";
301
+ readonly generalAdapter1: "0x464a402244bCDdc0c2091D5193E8ffdb2be54Ca9";
302
+ };
303
+ readonly adaptiveCurveIrm: "0x58a42117d753a0e69694545DfA19d64c2fB759fB";
304
+ readonly publicAllocator: "0xDFde06e2B2A2D718eE5560b73dA4F830E56A2f10";
305
+ readonly metaMorphoFactory: "0xe430821595602eA5DD0cD350f86987437c7362fA";
306
+ readonly chainlinkOracleFactory: "0x16278156D366fC91536b6b81482ffaC47EEa06D6";
307
+ readonly preLiquidationFactory: "0xb9065AC18d3EBdb3263B77B587f9c5CD570545D1";
308
+ readonly wNative: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
309
+ readonly usdc: "0xDF0B24095e15044538866576754F3C964e902Ee6";
310
+ };
311
+ };
312
+ export declare const addresses: Record<number, ChainAddresses>;
313
+ export type AddressLabel = DottedKeys<(typeof addressesRegistry)[ChainId]>;
164
314
  export declare const getChainAddresses: (chainId: number) => ChainAddresses;
165
315
  /**
166
316
  * Assumptions:
@@ -171,23 +321,24 @@ export declare function getUnwrappedToken(wrappedToken: Address, chainId: ChainI
171
321
  /**
172
322
  * The registry of all known ERC20Wrapper tokens.
173
323
  */
174
- export declare const erc20WrapperTokens: Record<ChainId, Set<Address>>;
324
+ export declare const erc20WrapperTokens: Record<number, Set<Address>>;
175
325
  /**
176
326
  * The registry of all known PermissionedERC20Wrapper with a `hasPermission` getter.
177
327
  * All permissioned wrapper tokens are considered ERC20Wrapper and automatically added to the erc20WrapperTokens registry.
178
328
  */
179
- export declare const permissionedWrapperTokens: Record<ChainId, Set<Address>>;
329
+ export declare const permissionedWrapperTokens: Record<number, Set<Address>>;
180
330
  /**
181
331
  * The registry of all known permissioned wrapped Backed tokens.
182
332
  * All permissioned Backed tokens are considered ERC20Wrapper and automatically added to the erc20WrapperTokens registry.
183
333
  */
184
- export declare const permissionedBackedTokens: Record<ChainId, Set<Address>>;
334
+ export declare const permissionedBackedTokens: Record<number, Set<Address>>;
185
335
  /**
186
336
  * The registry of all known permissioned wrapped tokens that require a Coinbase attestation.
187
337
  * All permissioned Coinbase tokens are considered PermissionedERC20Wrapper and automatically added to the permissionedWrapperTokens registry.
188
338
  */
189
- export declare const permissionedCoinbaseTokens: Record<ChainId, Set<Address>>;
339
+ export declare const permissionedCoinbaseTokens: Record<number, Set<Address>>;
340
+ export declare const getPermissionedCoinbaseTokens: (chainId: number) => Set<`0x${string}`>;
190
341
  /** /!\ These tokens can not be listed in `erc20WrapperTokens` because the following specs are different:
191
342
  * - calling `depositFor` supplies on blue instead of minting wrapped token to the user
192
343
  */
193
- export declare const convexWrapperTokens: Record<ChainId, Set<Address>>;
344
+ export declare const convexWrapperTokens: Record<number, Set<Address>>;