@across-protocol/sdk 4.4.15 → 4.4.17
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.
- package/dist/cjs/src/clients/HubPoolClient.js +1 -1
- package/dist/cjs/src/clients/HubPoolClient.js.map +1 -1
- package/dist/cjs/src/providers/quicknode.js +10 -1
- package/dist/cjs/src/providers/quicknode.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/Constants.d.ts +9 -1
- package/dist/cjs/src/utils/abi/typechain/CounterfactualConfig.d.ts +9 -1
- package/dist/cjs/src/utils/abi/typechain/DeploymentUtils.d.ts +9 -1
- package/dist/cjs/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts +42 -0
- package/dist/cjs/src/utils/abi/typechain/ERC6492SignatureHandler.js +3 -0
- package/dist/cjs/src/utils/abi/typechain/ERC6492SignatureHandler.js.map +1 -0
- package/dist/cjs/src/utils/abi/typechain/HubPoolTestBase.d.ts +9 -1
- package/dist/cjs/src/utils/abi/typechain/IERC20AuthBytes.d.ts +58 -0
- package/dist/cjs/src/utils/abi/typechain/IERC20AuthBytes.js +3 -0
- package/dist/cjs/src/utils/abi/typechain/IERC20AuthBytes.js.map +1 -0
- package/dist/cjs/src/utils/abi/typechain/IMulticall3.d.ts +2 -226
- package/dist/cjs/src/utils/abi/typechain/SpokePoolPeriphery.d.ts +53 -1
- package/dist/cjs/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts +45 -1
- package/dist/cjs/src/utils/abi/typechain/factories/Constants__factory.d.ts +10 -0
- package/dist/cjs/src/utils/abi/typechain/factories/Constants__factory.js +13 -0
- package/dist/cjs/src/utils/abi/typechain/factories/Constants__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts +10 -0
- package/dist/cjs/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js +13 -0
- package/dist/cjs/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts +10 -0
- package/dist/cjs/src/utils/abi/typechain/factories/DeploymentUtils__factory.js +13 -0
- package/dist/cjs/src/utils/abi/typechain/factories/DeploymentUtils__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts +18 -0
- package/dist/cjs/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js +30 -0
- package/dist/cjs/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js.map +1 -0
- package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +10 -0
- package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js +13 -0
- package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts +42 -0
- package/dist/cjs/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js +60 -0
- package/dist/cjs/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js.map +1 -0
- package/dist/cjs/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts +1 -296
- package/dist/cjs/src/utils/abi/typechain/factories/IMulticall3__factory.js +1 -391
- package/dist/cjs/src/utils/abi/typechain/factories/IMulticall3__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts +226 -0
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js +288 -0
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +240 -0
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js +306 -0
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/index.d.ts +2 -0
- package/dist/cjs/src/utils/abi/typechain/factories/index.js +10 -6
- package/dist/cjs/src/utils/abi/typechain/factories/index.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/index.d.ts +4 -0
- package/dist/cjs/src/utils/abi/typechain/index.js +10 -6
- package/dist/cjs/src/utils/abi/typechain/index.js.map +1 -1
- package/dist/esm/src/clients/HubPoolClient.js +3 -2
- package/dist/esm/src/clients/HubPoolClient.js.map +1 -1
- package/dist/esm/src/providers/quicknode.js +11 -1
- package/dist/esm/src/providers/quicknode.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/Constants.d.ts +9 -1
- package/dist/esm/src/utils/abi/typechain/CounterfactualConfig.d.ts +9 -1
- package/dist/esm/src/utils/abi/typechain/DeploymentUtils.d.ts +9 -1
- package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts +42 -0
- package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.js +2 -0
- package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.js.map +1 -0
- package/dist/esm/src/utils/abi/typechain/HubPoolTestBase.d.ts +9 -1
- package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.d.ts +58 -0
- package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.js +2 -0
- package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.js.map +1 -0
- package/dist/esm/src/utils/abi/typechain/IMulticall3.d.ts +2 -226
- package/dist/esm/src/utils/abi/typechain/SpokePoolPeriphery.d.ts +53 -1
- package/dist/esm/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts +45 -1
- package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.d.ts +10 -0
- package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.js +13 -0
- package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts +10 -0
- package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js +13 -0
- package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts +10 -0
- package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.js +13 -0
- package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts +18 -0
- package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js +30 -0
- package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js.map +1 -0
- package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +10 -0
- package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js +13 -0
- package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts +42 -0
- package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js +60 -0
- package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js.map +1 -0
- package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts +1 -296
- package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.js +1 -391
- package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts +226 -0
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js +288 -0
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +240 -0
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js +306 -0
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/index.d.ts +2 -0
- package/dist/esm/src/utils/abi/typechain/factories/index.js +2 -0
- package/dist/esm/src/utils/abi/typechain/factories/index.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/index.d.ts +4 -0
- package/dist/esm/src/utils/abi/typechain/index.js +2 -0
- package/dist/esm/src/utils/abi/typechain/index.js.map +1 -1
- package/dist/types/src/clients/HubPoolClient.d.ts.map +1 -1
- package/dist/types/src/providers/quicknode.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/Constants.d.ts +9 -1
- package/dist/types/src/utils/abi/typechain/Constants.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/CounterfactualConfig.d.ts +9 -1
- package/dist/types/src/utils/abi/typechain/CounterfactualConfig.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/DeploymentUtils.d.ts +9 -1
- package/dist/types/src/utils/abi/typechain/DeploymentUtils.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts +43 -0
- package/dist/types/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts.map +1 -0
- package/dist/types/src/utils/abi/typechain/HubPoolTestBase.d.ts +9 -1
- package/dist/types/src/utils/abi/typechain/HubPoolTestBase.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/IERC20AuthBytes.d.ts +59 -0
- package/dist/types/src/utils/abi/typechain/IERC20AuthBytes.d.ts.map +1 -0
- package/dist/types/src/utils/abi/typechain/IMulticall3.d.ts +2 -226
- package/dist/types/src/utils/abi/typechain/IMulticall3.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/SpokePoolPeriphery.d.ts +53 -1
- package/dist/types/src/utils/abi/typechain/SpokePoolPeriphery.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts +45 -1
- package/dist/types/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/Constants__factory.d.ts +10 -0
- package/dist/types/src/utils/abi/typechain/factories/Constants__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts +10 -0
- package/dist/types/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts +10 -0
- package/dist/types/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts +19 -0
- package/dist/types/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts.map +1 -0
- package/dist/types/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +10 -0
- package/dist/types/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts +43 -0
- package/dist/types/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts.map +1 -0
- package/dist/types/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts +1 -296
- package/dist/types/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts +226 -0
- package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +240 -0
- package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/index.d.ts +2 -0
- package/dist/types/src/utils/abi/typechain/factories/index.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/index.d.ts +4 -0
- package/dist/types/src/utils/abi/typechain/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/clients/HubPoolClient.ts +3 -2
- package/src/providers/quicknode.ts +13 -1
- package/src/utils/abi/contracts/Constants.json +13 -0
- package/src/utils/abi/contracts/CounterfactualConfig.json +13 -0
- package/src/utils/abi/contracts/DeploymentUtils.json +13 -0
- package/src/utils/abi/contracts/ERC6492SignatureHandler.json +15 -0
- package/src/utils/abi/contracts/HubPoolTestBase.json +13 -0
- package/src/utils/abi/contracts/IERC20AuthBytes.json +45 -0
- package/src/utils/abi/contracts/IMulticall3.json +1 -391
- package/src/utils/abi/contracts/SpokePoolPeriphery.json +306 -0
- package/src/utils/abi/contracts/SpokePoolPeripheryInterface.json +288 -0
- package/src/utils/abi/typechain/Constants.ts +20 -0
- package/src/utils/abi/typechain/CounterfactualConfig.ts +20 -0
- package/src/utils/abi/typechain/DeploymentUtils.ts +20 -0
- package/src/utils/abi/typechain/ERC6492SignatureHandler.ts +85 -0
- package/src/utils/abi/typechain/HubPoolTestBase.ts +20 -0
- package/src/utils/abi/typechain/IERC20AuthBytes.ts +146 -0
- package/src/utils/abi/typechain/IMulticall3.ts +1 -458
- package/src/utils/abi/typechain/SpokePoolPeriphery.ts +139 -0
- package/src/utils/abi/typechain/SpokePoolPeripheryInterface.ts +122 -0
- package/src/utils/abi/typechain/factories/Constants__factory.ts +13 -0
- package/src/utils/abi/typechain/factories/CounterfactualConfig__factory.ts +13 -0
- package/src/utils/abi/typechain/factories/DeploymentUtils__factory.ts +13 -0
- package/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.ts +44 -0
- package/src/utils/abi/typechain/factories/HubPoolTestBase__factory.ts +13 -0
- package/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.ts +70 -0
- package/src/utils/abi/typechain/factories/IMulticall3__factory.ts +1 -391
- package/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.ts +288 -0
- package/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.ts +306 -0
- package/src/utils/abi/typechain/factories/index.ts +2 -0
- package/src/utils/abi/typechain/index.ts +4 -0
|
@@ -8,6 +8,10 @@ export declare class SpokePoolPeriphery__factory {
|
|
|
8
8
|
readonly name: "_permit2";
|
|
9
9
|
readonly type: "address";
|
|
10
10
|
readonly internalType: "contract IPermit2";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "_multicall3";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
readonly internalType: "address";
|
|
11
15
|
}];
|
|
12
16
|
readonly stateMutability: "nonpayable";
|
|
13
17
|
}, {
|
|
@@ -229,6 +233,107 @@ export declare class SpokePoolPeriphery__factory {
|
|
|
229
233
|
}];
|
|
230
234
|
readonly outputs: readonly [];
|
|
231
235
|
readonly stateMutability: "nonpayable";
|
|
236
|
+
}, {
|
|
237
|
+
readonly type: "function";
|
|
238
|
+
readonly name: "depositWithAuthorizationBytes";
|
|
239
|
+
readonly inputs: readonly [{
|
|
240
|
+
readonly name: "signatureOwner";
|
|
241
|
+
readonly type: "address";
|
|
242
|
+
readonly internalType: "address";
|
|
243
|
+
}, {
|
|
244
|
+
readonly name: "depositData";
|
|
245
|
+
readonly type: "tuple";
|
|
246
|
+
readonly internalType: "struct SpokePoolPeripheryInterface.DepositData";
|
|
247
|
+
readonly components: readonly [{
|
|
248
|
+
readonly name: "submissionFees";
|
|
249
|
+
readonly type: "tuple";
|
|
250
|
+
readonly internalType: "struct SpokePoolPeripheryInterface.Fees";
|
|
251
|
+
readonly components: readonly [{
|
|
252
|
+
readonly name: "amount";
|
|
253
|
+
readonly type: "uint256";
|
|
254
|
+
readonly internalType: "uint256";
|
|
255
|
+
}, {
|
|
256
|
+
readonly name: "recipient";
|
|
257
|
+
readonly type: "address";
|
|
258
|
+
readonly internalType: "address";
|
|
259
|
+
}];
|
|
260
|
+
}, {
|
|
261
|
+
readonly name: "baseDepositData";
|
|
262
|
+
readonly type: "tuple";
|
|
263
|
+
readonly internalType: "struct SpokePoolPeripheryInterface.BaseDepositData";
|
|
264
|
+
readonly components: readonly [{
|
|
265
|
+
readonly name: "inputToken";
|
|
266
|
+
readonly type: "address";
|
|
267
|
+
readonly internalType: "address";
|
|
268
|
+
}, {
|
|
269
|
+
readonly name: "outputToken";
|
|
270
|
+
readonly type: "bytes32";
|
|
271
|
+
readonly internalType: "bytes32";
|
|
272
|
+
}, {
|
|
273
|
+
readonly name: "outputAmount";
|
|
274
|
+
readonly type: "uint256";
|
|
275
|
+
readonly internalType: "uint256";
|
|
276
|
+
}, {
|
|
277
|
+
readonly name: "depositor";
|
|
278
|
+
readonly type: "address";
|
|
279
|
+
readonly internalType: "address";
|
|
280
|
+
}, {
|
|
281
|
+
readonly name: "recipient";
|
|
282
|
+
readonly type: "bytes32";
|
|
283
|
+
readonly internalType: "bytes32";
|
|
284
|
+
}, {
|
|
285
|
+
readonly name: "destinationChainId";
|
|
286
|
+
readonly type: "uint256";
|
|
287
|
+
readonly internalType: "uint256";
|
|
288
|
+
}, {
|
|
289
|
+
readonly name: "exclusiveRelayer";
|
|
290
|
+
readonly type: "bytes32";
|
|
291
|
+
readonly internalType: "bytes32";
|
|
292
|
+
}, {
|
|
293
|
+
readonly name: "quoteTimestamp";
|
|
294
|
+
readonly type: "uint32";
|
|
295
|
+
readonly internalType: "uint32";
|
|
296
|
+
}, {
|
|
297
|
+
readonly name: "fillDeadline";
|
|
298
|
+
readonly type: "uint32";
|
|
299
|
+
readonly internalType: "uint32";
|
|
300
|
+
}, {
|
|
301
|
+
readonly name: "exclusivityParameter";
|
|
302
|
+
readonly type: "uint32";
|
|
303
|
+
readonly internalType: "uint32";
|
|
304
|
+
}, {
|
|
305
|
+
readonly name: "message";
|
|
306
|
+
readonly type: "bytes";
|
|
307
|
+
readonly internalType: "bytes";
|
|
308
|
+
}];
|
|
309
|
+
}, {
|
|
310
|
+
readonly name: "inputAmount";
|
|
311
|
+
readonly type: "uint256";
|
|
312
|
+
readonly internalType: "uint256";
|
|
313
|
+
}, {
|
|
314
|
+
readonly name: "spokePool";
|
|
315
|
+
readonly type: "address";
|
|
316
|
+
readonly internalType: "address";
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: "nonce";
|
|
319
|
+
readonly type: "uint256";
|
|
320
|
+
readonly internalType: "uint256";
|
|
321
|
+
}];
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: "validAfter";
|
|
324
|
+
readonly type: "uint256";
|
|
325
|
+
readonly internalType: "uint256";
|
|
326
|
+
}, {
|
|
327
|
+
readonly name: "validBefore";
|
|
328
|
+
readonly type: "uint256";
|
|
329
|
+
readonly internalType: "uint256";
|
|
330
|
+
}, {
|
|
331
|
+
readonly name: "receiveWithAuthSignature";
|
|
332
|
+
readonly type: "bytes";
|
|
333
|
+
readonly internalType: "bytes";
|
|
334
|
+
}];
|
|
335
|
+
readonly outputs: readonly [];
|
|
336
|
+
readonly stateMutability: "nonpayable";
|
|
232
337
|
}, {
|
|
233
338
|
readonly type: "function";
|
|
234
339
|
readonly name: "depositWithPermit";
|
|
@@ -739,6 +844,16 @@ export declare class SpokePoolPeriphery__factory {
|
|
|
739
844
|
readonly internalType: "bytes[]";
|
|
740
845
|
}];
|
|
741
846
|
readonly stateMutability: "nonpayable";
|
|
847
|
+
}, {
|
|
848
|
+
readonly type: "function";
|
|
849
|
+
readonly name: "multicall3";
|
|
850
|
+
readonly inputs: readonly [];
|
|
851
|
+
readonly outputs: readonly [{
|
|
852
|
+
readonly name: "";
|
|
853
|
+
readonly type: "address";
|
|
854
|
+
readonly internalType: "contract IMulticall3";
|
|
855
|
+
}];
|
|
856
|
+
readonly stateMutability: "view";
|
|
742
857
|
}, {
|
|
743
858
|
readonly type: "function";
|
|
744
859
|
readonly name: "permit2";
|
|
@@ -997,6 +1112,131 @@ export declare class SpokePoolPeriphery__factory {
|
|
|
997
1112
|
}];
|
|
998
1113
|
readonly outputs: readonly [];
|
|
999
1114
|
readonly stateMutability: "nonpayable";
|
|
1115
|
+
}, {
|
|
1116
|
+
readonly type: "function";
|
|
1117
|
+
readonly name: "swapAndBridgeWithAuthorizationBytes";
|
|
1118
|
+
readonly inputs: readonly [{
|
|
1119
|
+
readonly name: "signatureOwner";
|
|
1120
|
+
readonly type: "address";
|
|
1121
|
+
readonly internalType: "address";
|
|
1122
|
+
}, {
|
|
1123
|
+
readonly name: "swapAndDepositData";
|
|
1124
|
+
readonly type: "tuple";
|
|
1125
|
+
readonly internalType: "struct SpokePoolPeripheryInterface.SwapAndDepositData";
|
|
1126
|
+
readonly components: readonly [{
|
|
1127
|
+
readonly name: "submissionFees";
|
|
1128
|
+
readonly type: "tuple";
|
|
1129
|
+
readonly internalType: "struct SpokePoolPeripheryInterface.Fees";
|
|
1130
|
+
readonly components: readonly [{
|
|
1131
|
+
readonly name: "amount";
|
|
1132
|
+
readonly type: "uint256";
|
|
1133
|
+
readonly internalType: "uint256";
|
|
1134
|
+
}, {
|
|
1135
|
+
readonly name: "recipient";
|
|
1136
|
+
readonly type: "address";
|
|
1137
|
+
readonly internalType: "address";
|
|
1138
|
+
}];
|
|
1139
|
+
}, {
|
|
1140
|
+
readonly name: "depositData";
|
|
1141
|
+
readonly type: "tuple";
|
|
1142
|
+
readonly internalType: "struct SpokePoolPeripheryInterface.BaseDepositData";
|
|
1143
|
+
readonly components: readonly [{
|
|
1144
|
+
readonly name: "inputToken";
|
|
1145
|
+
readonly type: "address";
|
|
1146
|
+
readonly internalType: "address";
|
|
1147
|
+
}, {
|
|
1148
|
+
readonly name: "outputToken";
|
|
1149
|
+
readonly type: "bytes32";
|
|
1150
|
+
readonly internalType: "bytes32";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly name: "outputAmount";
|
|
1153
|
+
readonly type: "uint256";
|
|
1154
|
+
readonly internalType: "uint256";
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly name: "depositor";
|
|
1157
|
+
readonly type: "address";
|
|
1158
|
+
readonly internalType: "address";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly name: "recipient";
|
|
1161
|
+
readonly type: "bytes32";
|
|
1162
|
+
readonly internalType: "bytes32";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly name: "destinationChainId";
|
|
1165
|
+
readonly type: "uint256";
|
|
1166
|
+
readonly internalType: "uint256";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly name: "exclusiveRelayer";
|
|
1169
|
+
readonly type: "bytes32";
|
|
1170
|
+
readonly internalType: "bytes32";
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly name: "quoteTimestamp";
|
|
1173
|
+
readonly type: "uint32";
|
|
1174
|
+
readonly internalType: "uint32";
|
|
1175
|
+
}, {
|
|
1176
|
+
readonly name: "fillDeadline";
|
|
1177
|
+
readonly type: "uint32";
|
|
1178
|
+
readonly internalType: "uint32";
|
|
1179
|
+
}, {
|
|
1180
|
+
readonly name: "exclusivityParameter";
|
|
1181
|
+
readonly type: "uint32";
|
|
1182
|
+
readonly internalType: "uint32";
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly name: "message";
|
|
1185
|
+
readonly type: "bytes";
|
|
1186
|
+
readonly internalType: "bytes";
|
|
1187
|
+
}];
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly name: "swapToken";
|
|
1190
|
+
readonly type: "address";
|
|
1191
|
+
readonly internalType: "address";
|
|
1192
|
+
}, {
|
|
1193
|
+
readonly name: "exchange";
|
|
1194
|
+
readonly type: "address";
|
|
1195
|
+
readonly internalType: "address";
|
|
1196
|
+
}, {
|
|
1197
|
+
readonly name: "transferType";
|
|
1198
|
+
readonly type: "uint8";
|
|
1199
|
+
readonly internalType: "enum SpokePoolPeripheryInterface.TransferType";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly name: "swapTokenAmount";
|
|
1202
|
+
readonly type: "uint256";
|
|
1203
|
+
readonly internalType: "uint256";
|
|
1204
|
+
}, {
|
|
1205
|
+
readonly name: "minExpectedInputTokenAmount";
|
|
1206
|
+
readonly type: "uint256";
|
|
1207
|
+
readonly internalType: "uint256";
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly name: "routerCalldata";
|
|
1210
|
+
readonly type: "bytes";
|
|
1211
|
+
readonly internalType: "bytes";
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly name: "enableProportionalAdjustment";
|
|
1214
|
+
readonly type: "bool";
|
|
1215
|
+
readonly internalType: "bool";
|
|
1216
|
+
}, {
|
|
1217
|
+
readonly name: "spokePool";
|
|
1218
|
+
readonly type: "address";
|
|
1219
|
+
readonly internalType: "address";
|
|
1220
|
+
}, {
|
|
1221
|
+
readonly name: "nonce";
|
|
1222
|
+
readonly type: "uint256";
|
|
1223
|
+
readonly internalType: "uint256";
|
|
1224
|
+
}];
|
|
1225
|
+
}, {
|
|
1226
|
+
readonly name: "validAfter";
|
|
1227
|
+
readonly type: "uint256";
|
|
1228
|
+
readonly internalType: "uint256";
|
|
1229
|
+
}, {
|
|
1230
|
+
readonly name: "validBefore";
|
|
1231
|
+
readonly type: "uint256";
|
|
1232
|
+
readonly internalType: "uint256";
|
|
1233
|
+
}, {
|
|
1234
|
+
readonly name: "receiveWithAuthSignature";
|
|
1235
|
+
readonly type: "bytes";
|
|
1236
|
+
readonly internalType: "bytes";
|
|
1237
|
+
}];
|
|
1238
|
+
readonly outputs: readonly [];
|
|
1239
|
+
readonly stateMutability: "nonpayable";
|
|
1000
1240
|
}, {
|
|
1001
1241
|
readonly type: "function";
|
|
1002
1242
|
readonly name: "swapAndBridgeWithPermit";
|
|
@@ -12,6 +12,11 @@ const _abi = [
|
|
|
12
12
|
type: "address",
|
|
13
13
|
internalType: "contract IPermit2",
|
|
14
14
|
},
|
|
15
|
+
{
|
|
16
|
+
name: "_multicall3",
|
|
17
|
+
type: "address",
|
|
18
|
+
internalType: "address",
|
|
19
|
+
},
|
|
15
20
|
],
|
|
16
21
|
stateMutability: "nonpayable",
|
|
17
22
|
},
|
|
@@ -295,6 +300,135 @@ const _abi = [
|
|
|
295
300
|
outputs: [],
|
|
296
301
|
stateMutability: "nonpayable",
|
|
297
302
|
},
|
|
303
|
+
{
|
|
304
|
+
type: "function",
|
|
305
|
+
name: "depositWithAuthorizationBytes",
|
|
306
|
+
inputs: [
|
|
307
|
+
{
|
|
308
|
+
name: "signatureOwner",
|
|
309
|
+
type: "address",
|
|
310
|
+
internalType: "address",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
name: "depositData",
|
|
314
|
+
type: "tuple",
|
|
315
|
+
internalType: "struct SpokePoolPeripheryInterface.DepositData",
|
|
316
|
+
components: [
|
|
317
|
+
{
|
|
318
|
+
name: "submissionFees",
|
|
319
|
+
type: "tuple",
|
|
320
|
+
internalType: "struct SpokePoolPeripheryInterface.Fees",
|
|
321
|
+
components: [
|
|
322
|
+
{
|
|
323
|
+
name: "amount",
|
|
324
|
+
type: "uint256",
|
|
325
|
+
internalType: "uint256",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
name: "recipient",
|
|
329
|
+
type: "address",
|
|
330
|
+
internalType: "address",
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
name: "baseDepositData",
|
|
336
|
+
type: "tuple",
|
|
337
|
+
internalType: "struct SpokePoolPeripheryInterface.BaseDepositData",
|
|
338
|
+
components: [
|
|
339
|
+
{
|
|
340
|
+
name: "inputToken",
|
|
341
|
+
type: "address",
|
|
342
|
+
internalType: "address",
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
name: "outputToken",
|
|
346
|
+
type: "bytes32",
|
|
347
|
+
internalType: "bytes32",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
name: "outputAmount",
|
|
351
|
+
type: "uint256",
|
|
352
|
+
internalType: "uint256",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
name: "depositor",
|
|
356
|
+
type: "address",
|
|
357
|
+
internalType: "address",
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
name: "recipient",
|
|
361
|
+
type: "bytes32",
|
|
362
|
+
internalType: "bytes32",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
name: "destinationChainId",
|
|
366
|
+
type: "uint256",
|
|
367
|
+
internalType: "uint256",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
name: "exclusiveRelayer",
|
|
371
|
+
type: "bytes32",
|
|
372
|
+
internalType: "bytes32",
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
name: "quoteTimestamp",
|
|
376
|
+
type: "uint32",
|
|
377
|
+
internalType: "uint32",
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
name: "fillDeadline",
|
|
381
|
+
type: "uint32",
|
|
382
|
+
internalType: "uint32",
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
name: "exclusivityParameter",
|
|
386
|
+
type: "uint32",
|
|
387
|
+
internalType: "uint32",
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
name: "message",
|
|
391
|
+
type: "bytes",
|
|
392
|
+
internalType: "bytes",
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
name: "inputAmount",
|
|
398
|
+
type: "uint256",
|
|
399
|
+
internalType: "uint256",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
name: "spokePool",
|
|
403
|
+
type: "address",
|
|
404
|
+
internalType: "address",
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
name: "nonce",
|
|
408
|
+
type: "uint256",
|
|
409
|
+
internalType: "uint256",
|
|
410
|
+
},
|
|
411
|
+
],
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
name: "validAfter",
|
|
415
|
+
type: "uint256",
|
|
416
|
+
internalType: "uint256",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
name: "validBefore",
|
|
420
|
+
type: "uint256",
|
|
421
|
+
internalType: "uint256",
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
name: "receiveWithAuthSignature",
|
|
425
|
+
type: "bytes",
|
|
426
|
+
internalType: "bytes",
|
|
427
|
+
},
|
|
428
|
+
],
|
|
429
|
+
outputs: [],
|
|
430
|
+
stateMutability: "nonpayable",
|
|
431
|
+
},
|
|
298
432
|
{
|
|
299
433
|
type: "function",
|
|
300
434
|
name: "depositWithPermit",
|
|
@@ -951,6 +1085,19 @@ const _abi = [
|
|
|
951
1085
|
],
|
|
952
1086
|
stateMutability: "nonpayable",
|
|
953
1087
|
},
|
|
1088
|
+
{
|
|
1089
|
+
type: "function",
|
|
1090
|
+
name: "multicall3",
|
|
1091
|
+
inputs: [],
|
|
1092
|
+
outputs: [
|
|
1093
|
+
{
|
|
1094
|
+
name: "",
|
|
1095
|
+
type: "address",
|
|
1096
|
+
internalType: "contract IMulticall3",
|
|
1097
|
+
},
|
|
1098
|
+
],
|
|
1099
|
+
stateMutability: "view",
|
|
1100
|
+
},
|
|
954
1101
|
{
|
|
955
1102
|
type: "function",
|
|
956
1103
|
name: "permit2",
|
|
@@ -1281,6 +1428,165 @@ const _abi = [
|
|
|
1281
1428
|
outputs: [],
|
|
1282
1429
|
stateMutability: "nonpayable",
|
|
1283
1430
|
},
|
|
1431
|
+
{
|
|
1432
|
+
type: "function",
|
|
1433
|
+
name: "swapAndBridgeWithAuthorizationBytes",
|
|
1434
|
+
inputs: [
|
|
1435
|
+
{
|
|
1436
|
+
name: "signatureOwner",
|
|
1437
|
+
type: "address",
|
|
1438
|
+
internalType: "address",
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
name: "swapAndDepositData",
|
|
1442
|
+
type: "tuple",
|
|
1443
|
+
internalType: "struct SpokePoolPeripheryInterface.SwapAndDepositData",
|
|
1444
|
+
components: [
|
|
1445
|
+
{
|
|
1446
|
+
name: "submissionFees",
|
|
1447
|
+
type: "tuple",
|
|
1448
|
+
internalType: "struct SpokePoolPeripheryInterface.Fees",
|
|
1449
|
+
components: [
|
|
1450
|
+
{
|
|
1451
|
+
name: "amount",
|
|
1452
|
+
type: "uint256",
|
|
1453
|
+
internalType: "uint256",
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
name: "recipient",
|
|
1457
|
+
type: "address",
|
|
1458
|
+
internalType: "address",
|
|
1459
|
+
},
|
|
1460
|
+
],
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
name: "depositData",
|
|
1464
|
+
type: "tuple",
|
|
1465
|
+
internalType: "struct SpokePoolPeripheryInterface.BaseDepositData",
|
|
1466
|
+
components: [
|
|
1467
|
+
{
|
|
1468
|
+
name: "inputToken",
|
|
1469
|
+
type: "address",
|
|
1470
|
+
internalType: "address",
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
name: "outputToken",
|
|
1474
|
+
type: "bytes32",
|
|
1475
|
+
internalType: "bytes32",
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
name: "outputAmount",
|
|
1479
|
+
type: "uint256",
|
|
1480
|
+
internalType: "uint256",
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
name: "depositor",
|
|
1484
|
+
type: "address",
|
|
1485
|
+
internalType: "address",
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
name: "recipient",
|
|
1489
|
+
type: "bytes32",
|
|
1490
|
+
internalType: "bytes32",
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
name: "destinationChainId",
|
|
1494
|
+
type: "uint256",
|
|
1495
|
+
internalType: "uint256",
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
name: "exclusiveRelayer",
|
|
1499
|
+
type: "bytes32",
|
|
1500
|
+
internalType: "bytes32",
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
name: "quoteTimestamp",
|
|
1504
|
+
type: "uint32",
|
|
1505
|
+
internalType: "uint32",
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
name: "fillDeadline",
|
|
1509
|
+
type: "uint32",
|
|
1510
|
+
internalType: "uint32",
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
name: "exclusivityParameter",
|
|
1514
|
+
type: "uint32",
|
|
1515
|
+
internalType: "uint32",
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
name: "message",
|
|
1519
|
+
type: "bytes",
|
|
1520
|
+
internalType: "bytes",
|
|
1521
|
+
},
|
|
1522
|
+
],
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
name: "swapToken",
|
|
1526
|
+
type: "address",
|
|
1527
|
+
internalType: "address",
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
name: "exchange",
|
|
1531
|
+
type: "address",
|
|
1532
|
+
internalType: "address",
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
name: "transferType",
|
|
1536
|
+
type: "uint8",
|
|
1537
|
+
internalType: "enum SpokePoolPeripheryInterface.TransferType",
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
name: "swapTokenAmount",
|
|
1541
|
+
type: "uint256",
|
|
1542
|
+
internalType: "uint256",
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
name: "minExpectedInputTokenAmount",
|
|
1546
|
+
type: "uint256",
|
|
1547
|
+
internalType: "uint256",
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
name: "routerCalldata",
|
|
1551
|
+
type: "bytes",
|
|
1552
|
+
internalType: "bytes",
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
name: "enableProportionalAdjustment",
|
|
1556
|
+
type: "bool",
|
|
1557
|
+
internalType: "bool",
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
name: "spokePool",
|
|
1561
|
+
type: "address",
|
|
1562
|
+
internalType: "address",
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
name: "nonce",
|
|
1566
|
+
type: "uint256",
|
|
1567
|
+
internalType: "uint256",
|
|
1568
|
+
},
|
|
1569
|
+
],
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
name: "validAfter",
|
|
1573
|
+
type: "uint256",
|
|
1574
|
+
internalType: "uint256",
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
name: "validBefore",
|
|
1578
|
+
type: "uint256",
|
|
1579
|
+
internalType: "uint256",
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
name: "receiveWithAuthSignature",
|
|
1583
|
+
type: "bytes",
|
|
1584
|
+
internalType: "bytes",
|
|
1585
|
+
},
|
|
1586
|
+
],
|
|
1587
|
+
outputs: [],
|
|
1588
|
+
stateMutability: "nonpayable",
|
|
1589
|
+
},
|
|
1284
1590
|
{
|
|
1285
1591
|
type: "function",
|
|
1286
1592
|
name: "swapAndBridgeWithPermit",
|