@across-protocol/sdk 4.4.16 → 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.
Files changed (162) hide show
  1. package/dist/cjs/src/utils/abi/typechain/Constants.d.ts +9 -1
  2. package/dist/cjs/src/utils/abi/typechain/CounterfactualConfig.d.ts +9 -1
  3. package/dist/cjs/src/utils/abi/typechain/DeploymentUtils.d.ts +9 -1
  4. package/dist/cjs/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts +42 -0
  5. package/dist/cjs/src/utils/abi/typechain/ERC6492SignatureHandler.js +3 -0
  6. package/dist/cjs/src/utils/abi/typechain/ERC6492SignatureHandler.js.map +1 -0
  7. package/dist/cjs/src/utils/abi/typechain/HubPoolTestBase.d.ts +9 -1
  8. package/dist/cjs/src/utils/abi/typechain/IERC20AuthBytes.d.ts +58 -0
  9. package/dist/cjs/src/utils/abi/typechain/IERC20AuthBytes.js +3 -0
  10. package/dist/cjs/src/utils/abi/typechain/IERC20AuthBytes.js.map +1 -0
  11. package/dist/cjs/src/utils/abi/typechain/IMulticall3.d.ts +2 -226
  12. package/dist/cjs/src/utils/abi/typechain/SpokePoolPeriphery.d.ts +53 -1
  13. package/dist/cjs/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts +45 -1
  14. package/dist/cjs/src/utils/abi/typechain/factories/Constants__factory.d.ts +10 -0
  15. package/dist/cjs/src/utils/abi/typechain/factories/Constants__factory.js +13 -0
  16. package/dist/cjs/src/utils/abi/typechain/factories/Constants__factory.js.map +1 -1
  17. package/dist/cjs/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts +10 -0
  18. package/dist/cjs/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js +13 -0
  19. package/dist/cjs/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js.map +1 -1
  20. package/dist/cjs/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts +10 -0
  21. package/dist/cjs/src/utils/abi/typechain/factories/DeploymentUtils__factory.js +13 -0
  22. package/dist/cjs/src/utils/abi/typechain/factories/DeploymentUtils__factory.js.map +1 -1
  23. package/dist/cjs/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts +18 -0
  24. package/dist/cjs/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js +30 -0
  25. package/dist/cjs/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js.map +1 -0
  26. package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +10 -0
  27. package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js +13 -0
  28. package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js.map +1 -1
  29. package/dist/cjs/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts +42 -0
  30. package/dist/cjs/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js +60 -0
  31. package/dist/cjs/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js.map +1 -0
  32. package/dist/cjs/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts +1 -296
  33. package/dist/cjs/src/utils/abi/typechain/factories/IMulticall3__factory.js +1 -391
  34. package/dist/cjs/src/utils/abi/typechain/factories/IMulticall3__factory.js.map +1 -1
  35. package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts +226 -0
  36. package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js +288 -0
  37. package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js.map +1 -1
  38. package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +240 -0
  39. package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js +306 -0
  40. package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js.map +1 -1
  41. package/dist/cjs/src/utils/abi/typechain/factories/index.d.ts +2 -0
  42. package/dist/cjs/src/utils/abi/typechain/factories/index.js +10 -6
  43. package/dist/cjs/src/utils/abi/typechain/factories/index.js.map +1 -1
  44. package/dist/cjs/src/utils/abi/typechain/index.d.ts +4 -0
  45. package/dist/cjs/src/utils/abi/typechain/index.js +10 -6
  46. package/dist/cjs/src/utils/abi/typechain/index.js.map +1 -1
  47. package/dist/esm/src/utils/abi/typechain/Constants.d.ts +9 -1
  48. package/dist/esm/src/utils/abi/typechain/CounterfactualConfig.d.ts +9 -1
  49. package/dist/esm/src/utils/abi/typechain/DeploymentUtils.d.ts +9 -1
  50. package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts +42 -0
  51. package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.js +2 -0
  52. package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.js.map +1 -0
  53. package/dist/esm/src/utils/abi/typechain/HubPoolTestBase.d.ts +9 -1
  54. package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.d.ts +58 -0
  55. package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.js +2 -0
  56. package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.js.map +1 -0
  57. package/dist/esm/src/utils/abi/typechain/IMulticall3.d.ts +2 -226
  58. package/dist/esm/src/utils/abi/typechain/SpokePoolPeriphery.d.ts +53 -1
  59. package/dist/esm/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts +45 -1
  60. package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.d.ts +10 -0
  61. package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.js +13 -0
  62. package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.js.map +1 -1
  63. package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts +10 -0
  64. package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js +13 -0
  65. package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js.map +1 -1
  66. package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts +10 -0
  67. package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.js +13 -0
  68. package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.js.map +1 -1
  69. package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts +18 -0
  70. package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js +30 -0
  71. package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js.map +1 -0
  72. package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +10 -0
  73. package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js +13 -0
  74. package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js.map +1 -1
  75. package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts +42 -0
  76. package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js +60 -0
  77. package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js.map +1 -0
  78. package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts +1 -296
  79. package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.js +1 -391
  80. package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.js.map +1 -1
  81. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts +226 -0
  82. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js +288 -0
  83. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js.map +1 -1
  84. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +240 -0
  85. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js +306 -0
  86. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js.map +1 -1
  87. package/dist/esm/src/utils/abi/typechain/factories/index.d.ts +2 -0
  88. package/dist/esm/src/utils/abi/typechain/factories/index.js +2 -0
  89. package/dist/esm/src/utils/abi/typechain/factories/index.js.map +1 -1
  90. package/dist/esm/src/utils/abi/typechain/index.d.ts +4 -0
  91. package/dist/esm/src/utils/abi/typechain/index.js +2 -0
  92. package/dist/esm/src/utils/abi/typechain/index.js.map +1 -1
  93. package/dist/types/src/utils/abi/typechain/Constants.d.ts +9 -1
  94. package/dist/types/src/utils/abi/typechain/Constants.d.ts.map +1 -1
  95. package/dist/types/src/utils/abi/typechain/CounterfactualConfig.d.ts +9 -1
  96. package/dist/types/src/utils/abi/typechain/CounterfactualConfig.d.ts.map +1 -1
  97. package/dist/types/src/utils/abi/typechain/DeploymentUtils.d.ts +9 -1
  98. package/dist/types/src/utils/abi/typechain/DeploymentUtils.d.ts.map +1 -1
  99. package/dist/types/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts +43 -0
  100. package/dist/types/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts.map +1 -0
  101. package/dist/types/src/utils/abi/typechain/HubPoolTestBase.d.ts +9 -1
  102. package/dist/types/src/utils/abi/typechain/HubPoolTestBase.d.ts.map +1 -1
  103. package/dist/types/src/utils/abi/typechain/IERC20AuthBytes.d.ts +59 -0
  104. package/dist/types/src/utils/abi/typechain/IERC20AuthBytes.d.ts.map +1 -0
  105. package/dist/types/src/utils/abi/typechain/IMulticall3.d.ts +2 -226
  106. package/dist/types/src/utils/abi/typechain/IMulticall3.d.ts.map +1 -1
  107. package/dist/types/src/utils/abi/typechain/SpokePoolPeriphery.d.ts +53 -1
  108. package/dist/types/src/utils/abi/typechain/SpokePoolPeriphery.d.ts.map +1 -1
  109. package/dist/types/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts +45 -1
  110. package/dist/types/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts.map +1 -1
  111. package/dist/types/src/utils/abi/typechain/factories/Constants__factory.d.ts +10 -0
  112. package/dist/types/src/utils/abi/typechain/factories/Constants__factory.d.ts.map +1 -1
  113. package/dist/types/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts +10 -0
  114. package/dist/types/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts.map +1 -1
  115. package/dist/types/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts +10 -0
  116. package/dist/types/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts.map +1 -1
  117. package/dist/types/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts +19 -0
  118. package/dist/types/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts.map +1 -0
  119. package/dist/types/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +10 -0
  120. package/dist/types/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts.map +1 -1
  121. package/dist/types/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts +43 -0
  122. package/dist/types/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts.map +1 -0
  123. package/dist/types/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts +1 -296
  124. package/dist/types/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts.map +1 -1
  125. package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts +226 -0
  126. package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts.map +1 -1
  127. package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +240 -0
  128. package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts.map +1 -1
  129. package/dist/types/src/utils/abi/typechain/factories/index.d.ts +2 -0
  130. package/dist/types/src/utils/abi/typechain/factories/index.d.ts.map +1 -1
  131. package/dist/types/src/utils/abi/typechain/index.d.ts +4 -0
  132. package/dist/types/src/utils/abi/typechain/index.d.ts.map +1 -1
  133. package/package.json +2 -2
  134. package/src/utils/abi/contracts/Constants.json +13 -0
  135. package/src/utils/abi/contracts/CounterfactualConfig.json +13 -0
  136. package/src/utils/abi/contracts/DeploymentUtils.json +13 -0
  137. package/src/utils/abi/contracts/ERC6492SignatureHandler.json +15 -0
  138. package/src/utils/abi/contracts/HubPoolTestBase.json +13 -0
  139. package/src/utils/abi/contracts/IERC20AuthBytes.json +45 -0
  140. package/src/utils/abi/contracts/IMulticall3.json +1 -391
  141. package/src/utils/abi/contracts/SpokePoolPeriphery.json +306 -0
  142. package/src/utils/abi/contracts/SpokePoolPeripheryInterface.json +288 -0
  143. package/src/utils/abi/typechain/Constants.ts +20 -0
  144. package/src/utils/abi/typechain/CounterfactualConfig.ts +20 -0
  145. package/src/utils/abi/typechain/DeploymentUtils.ts +20 -0
  146. package/src/utils/abi/typechain/ERC6492SignatureHandler.ts +85 -0
  147. package/src/utils/abi/typechain/HubPoolTestBase.ts +20 -0
  148. package/src/utils/abi/typechain/IERC20AuthBytes.ts +146 -0
  149. package/src/utils/abi/typechain/IMulticall3.ts +1 -458
  150. package/src/utils/abi/typechain/SpokePoolPeriphery.ts +139 -0
  151. package/src/utils/abi/typechain/SpokePoolPeripheryInterface.ts +122 -0
  152. package/src/utils/abi/typechain/factories/Constants__factory.ts +13 -0
  153. package/src/utils/abi/typechain/factories/CounterfactualConfig__factory.ts +13 -0
  154. package/src/utils/abi/typechain/factories/DeploymentUtils__factory.ts +13 -0
  155. package/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.ts +44 -0
  156. package/src/utils/abi/typechain/factories/HubPoolTestBase__factory.ts +13 -0
  157. package/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.ts +70 -0
  158. package/src/utils/abi/typechain/factories/IMulticall3__factory.ts +1 -391
  159. package/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.ts +288 -0
  160. package/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.ts +306 -0
  161. package/src/utils/abi/typechain/factories/index.ts +2 -0
  162. package/src/utils/abi/typechain/index.ts +4 -0
@@ -6,6 +6,11 @@
6
6
  "name": "_permit2",
7
7
  "type": "address",
8
8
  "internalType": "contract IPermit2"
9
+ },
10
+ {
11
+ "name": "_multicall3",
12
+ "type": "address",
13
+ "internalType": "address"
9
14
  }
10
15
  ],
11
16
  "stateMutability": "nonpayable"
@@ -290,6 +295,135 @@
290
295
  "outputs": [],
291
296
  "stateMutability": "nonpayable"
292
297
  },
298
+ {
299
+ "type": "function",
300
+ "name": "depositWithAuthorizationBytes",
301
+ "inputs": [
302
+ {
303
+ "name": "signatureOwner",
304
+ "type": "address",
305
+ "internalType": "address"
306
+ },
307
+ {
308
+ "name": "depositData",
309
+ "type": "tuple",
310
+ "internalType": "struct SpokePoolPeripheryInterface.DepositData",
311
+ "components": [
312
+ {
313
+ "name": "submissionFees",
314
+ "type": "tuple",
315
+ "internalType": "struct SpokePoolPeripheryInterface.Fees",
316
+ "components": [
317
+ {
318
+ "name": "amount",
319
+ "type": "uint256",
320
+ "internalType": "uint256"
321
+ },
322
+ {
323
+ "name": "recipient",
324
+ "type": "address",
325
+ "internalType": "address"
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "name": "baseDepositData",
331
+ "type": "tuple",
332
+ "internalType": "struct SpokePoolPeripheryInterface.BaseDepositData",
333
+ "components": [
334
+ {
335
+ "name": "inputToken",
336
+ "type": "address",
337
+ "internalType": "address"
338
+ },
339
+ {
340
+ "name": "outputToken",
341
+ "type": "bytes32",
342
+ "internalType": "bytes32"
343
+ },
344
+ {
345
+ "name": "outputAmount",
346
+ "type": "uint256",
347
+ "internalType": "uint256"
348
+ },
349
+ {
350
+ "name": "depositor",
351
+ "type": "address",
352
+ "internalType": "address"
353
+ },
354
+ {
355
+ "name": "recipient",
356
+ "type": "bytes32",
357
+ "internalType": "bytes32"
358
+ },
359
+ {
360
+ "name": "destinationChainId",
361
+ "type": "uint256",
362
+ "internalType": "uint256"
363
+ },
364
+ {
365
+ "name": "exclusiveRelayer",
366
+ "type": "bytes32",
367
+ "internalType": "bytes32"
368
+ },
369
+ {
370
+ "name": "quoteTimestamp",
371
+ "type": "uint32",
372
+ "internalType": "uint32"
373
+ },
374
+ {
375
+ "name": "fillDeadline",
376
+ "type": "uint32",
377
+ "internalType": "uint32"
378
+ },
379
+ {
380
+ "name": "exclusivityParameter",
381
+ "type": "uint32",
382
+ "internalType": "uint32"
383
+ },
384
+ {
385
+ "name": "message",
386
+ "type": "bytes",
387
+ "internalType": "bytes"
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "name": "inputAmount",
393
+ "type": "uint256",
394
+ "internalType": "uint256"
395
+ },
396
+ {
397
+ "name": "spokePool",
398
+ "type": "address",
399
+ "internalType": "address"
400
+ },
401
+ {
402
+ "name": "nonce",
403
+ "type": "uint256",
404
+ "internalType": "uint256"
405
+ }
406
+ ]
407
+ },
408
+ {
409
+ "name": "validAfter",
410
+ "type": "uint256",
411
+ "internalType": "uint256"
412
+ },
413
+ {
414
+ "name": "validBefore",
415
+ "type": "uint256",
416
+ "internalType": "uint256"
417
+ },
418
+ {
419
+ "name": "receiveWithAuthSignature",
420
+ "type": "bytes",
421
+ "internalType": "bytes"
422
+ }
423
+ ],
424
+ "outputs": [],
425
+ "stateMutability": "nonpayable"
426
+ },
293
427
  {
294
428
  "type": "function",
295
429
  "name": "depositWithPermit",
@@ -946,6 +1080,19 @@
946
1080
  ],
947
1081
  "stateMutability": "nonpayable"
948
1082
  },
1083
+ {
1084
+ "type": "function",
1085
+ "name": "multicall3",
1086
+ "inputs": [],
1087
+ "outputs": [
1088
+ {
1089
+ "name": "",
1090
+ "type": "address",
1091
+ "internalType": "contract IMulticall3"
1092
+ }
1093
+ ],
1094
+ "stateMutability": "view"
1095
+ },
949
1096
  {
950
1097
  "type": "function",
951
1098
  "name": "permit2",
@@ -1276,6 +1423,165 @@
1276
1423
  "outputs": [],
1277
1424
  "stateMutability": "nonpayable"
1278
1425
  },
1426
+ {
1427
+ "type": "function",
1428
+ "name": "swapAndBridgeWithAuthorizationBytes",
1429
+ "inputs": [
1430
+ {
1431
+ "name": "signatureOwner",
1432
+ "type": "address",
1433
+ "internalType": "address"
1434
+ },
1435
+ {
1436
+ "name": "swapAndDepositData",
1437
+ "type": "tuple",
1438
+ "internalType": "struct SpokePoolPeripheryInterface.SwapAndDepositData",
1439
+ "components": [
1440
+ {
1441
+ "name": "submissionFees",
1442
+ "type": "tuple",
1443
+ "internalType": "struct SpokePoolPeripheryInterface.Fees",
1444
+ "components": [
1445
+ {
1446
+ "name": "amount",
1447
+ "type": "uint256",
1448
+ "internalType": "uint256"
1449
+ },
1450
+ {
1451
+ "name": "recipient",
1452
+ "type": "address",
1453
+ "internalType": "address"
1454
+ }
1455
+ ]
1456
+ },
1457
+ {
1458
+ "name": "depositData",
1459
+ "type": "tuple",
1460
+ "internalType": "struct SpokePoolPeripheryInterface.BaseDepositData",
1461
+ "components": [
1462
+ {
1463
+ "name": "inputToken",
1464
+ "type": "address",
1465
+ "internalType": "address"
1466
+ },
1467
+ {
1468
+ "name": "outputToken",
1469
+ "type": "bytes32",
1470
+ "internalType": "bytes32"
1471
+ },
1472
+ {
1473
+ "name": "outputAmount",
1474
+ "type": "uint256",
1475
+ "internalType": "uint256"
1476
+ },
1477
+ {
1478
+ "name": "depositor",
1479
+ "type": "address",
1480
+ "internalType": "address"
1481
+ },
1482
+ {
1483
+ "name": "recipient",
1484
+ "type": "bytes32",
1485
+ "internalType": "bytes32"
1486
+ },
1487
+ {
1488
+ "name": "destinationChainId",
1489
+ "type": "uint256",
1490
+ "internalType": "uint256"
1491
+ },
1492
+ {
1493
+ "name": "exclusiveRelayer",
1494
+ "type": "bytes32",
1495
+ "internalType": "bytes32"
1496
+ },
1497
+ {
1498
+ "name": "quoteTimestamp",
1499
+ "type": "uint32",
1500
+ "internalType": "uint32"
1501
+ },
1502
+ {
1503
+ "name": "fillDeadline",
1504
+ "type": "uint32",
1505
+ "internalType": "uint32"
1506
+ },
1507
+ {
1508
+ "name": "exclusivityParameter",
1509
+ "type": "uint32",
1510
+ "internalType": "uint32"
1511
+ },
1512
+ {
1513
+ "name": "message",
1514
+ "type": "bytes",
1515
+ "internalType": "bytes"
1516
+ }
1517
+ ]
1518
+ },
1519
+ {
1520
+ "name": "swapToken",
1521
+ "type": "address",
1522
+ "internalType": "address"
1523
+ },
1524
+ {
1525
+ "name": "exchange",
1526
+ "type": "address",
1527
+ "internalType": "address"
1528
+ },
1529
+ {
1530
+ "name": "transferType",
1531
+ "type": "uint8",
1532
+ "internalType": "enum SpokePoolPeripheryInterface.TransferType"
1533
+ },
1534
+ {
1535
+ "name": "swapTokenAmount",
1536
+ "type": "uint256",
1537
+ "internalType": "uint256"
1538
+ },
1539
+ {
1540
+ "name": "minExpectedInputTokenAmount",
1541
+ "type": "uint256",
1542
+ "internalType": "uint256"
1543
+ },
1544
+ {
1545
+ "name": "routerCalldata",
1546
+ "type": "bytes",
1547
+ "internalType": "bytes"
1548
+ },
1549
+ {
1550
+ "name": "enableProportionalAdjustment",
1551
+ "type": "bool",
1552
+ "internalType": "bool"
1553
+ },
1554
+ {
1555
+ "name": "spokePool",
1556
+ "type": "address",
1557
+ "internalType": "address"
1558
+ },
1559
+ {
1560
+ "name": "nonce",
1561
+ "type": "uint256",
1562
+ "internalType": "uint256"
1563
+ }
1564
+ ]
1565
+ },
1566
+ {
1567
+ "name": "validAfter",
1568
+ "type": "uint256",
1569
+ "internalType": "uint256"
1570
+ },
1571
+ {
1572
+ "name": "validBefore",
1573
+ "type": "uint256",
1574
+ "internalType": "uint256"
1575
+ },
1576
+ {
1577
+ "name": "receiveWithAuthSignature",
1578
+ "type": "bytes",
1579
+ "internalType": "bytes"
1580
+ }
1581
+ ],
1582
+ "outputs": [],
1583
+ "stateMutability": "nonpayable"
1584
+ },
1279
1585
  {
1280
1586
  "type": "function",
1281
1587
  "name": "swapAndBridgeWithPermit",
@@ -201,6 +201,135 @@
201
201
  "outputs": [],
202
202
  "stateMutability": "nonpayable"
203
203
  },
204
+ {
205
+ "type": "function",
206
+ "name": "depositWithAuthorizationBytes",
207
+ "inputs": [
208
+ {
209
+ "name": "signatureOwner",
210
+ "type": "address",
211
+ "internalType": "address"
212
+ },
213
+ {
214
+ "name": "depositData",
215
+ "type": "tuple",
216
+ "internalType": "struct SpokePoolPeripheryInterface.DepositData",
217
+ "components": [
218
+ {
219
+ "name": "submissionFees",
220
+ "type": "tuple",
221
+ "internalType": "struct SpokePoolPeripheryInterface.Fees",
222
+ "components": [
223
+ {
224
+ "name": "amount",
225
+ "type": "uint256",
226
+ "internalType": "uint256"
227
+ },
228
+ {
229
+ "name": "recipient",
230
+ "type": "address",
231
+ "internalType": "address"
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ "name": "baseDepositData",
237
+ "type": "tuple",
238
+ "internalType": "struct SpokePoolPeripheryInterface.BaseDepositData",
239
+ "components": [
240
+ {
241
+ "name": "inputToken",
242
+ "type": "address",
243
+ "internalType": "address"
244
+ },
245
+ {
246
+ "name": "outputToken",
247
+ "type": "bytes32",
248
+ "internalType": "bytes32"
249
+ },
250
+ {
251
+ "name": "outputAmount",
252
+ "type": "uint256",
253
+ "internalType": "uint256"
254
+ },
255
+ {
256
+ "name": "depositor",
257
+ "type": "address",
258
+ "internalType": "address"
259
+ },
260
+ {
261
+ "name": "recipient",
262
+ "type": "bytes32",
263
+ "internalType": "bytes32"
264
+ },
265
+ {
266
+ "name": "destinationChainId",
267
+ "type": "uint256",
268
+ "internalType": "uint256"
269
+ },
270
+ {
271
+ "name": "exclusiveRelayer",
272
+ "type": "bytes32",
273
+ "internalType": "bytes32"
274
+ },
275
+ {
276
+ "name": "quoteTimestamp",
277
+ "type": "uint32",
278
+ "internalType": "uint32"
279
+ },
280
+ {
281
+ "name": "fillDeadline",
282
+ "type": "uint32",
283
+ "internalType": "uint32"
284
+ },
285
+ {
286
+ "name": "exclusivityParameter",
287
+ "type": "uint32",
288
+ "internalType": "uint32"
289
+ },
290
+ {
291
+ "name": "message",
292
+ "type": "bytes",
293
+ "internalType": "bytes"
294
+ }
295
+ ]
296
+ },
297
+ {
298
+ "name": "inputAmount",
299
+ "type": "uint256",
300
+ "internalType": "uint256"
301
+ },
302
+ {
303
+ "name": "spokePool",
304
+ "type": "address",
305
+ "internalType": "address"
306
+ },
307
+ {
308
+ "name": "nonce",
309
+ "type": "uint256",
310
+ "internalType": "uint256"
311
+ }
312
+ ]
313
+ },
314
+ {
315
+ "name": "validAfter",
316
+ "type": "uint256",
317
+ "internalType": "uint256"
318
+ },
319
+ {
320
+ "name": "validBefore",
321
+ "type": "uint256",
322
+ "internalType": "uint256"
323
+ },
324
+ {
325
+ "name": "receiveWithAuthSignature",
326
+ "type": "bytes",
327
+ "internalType": "bytes"
328
+ }
329
+ ],
330
+ "outputs": [],
331
+ "stateMutability": "nonpayable"
332
+ },
204
333
  {
205
334
  "type": "function",
206
335
  "name": "depositWithPermit",
@@ -800,6 +929,165 @@
800
929
  "outputs": [],
801
930
  "stateMutability": "nonpayable"
802
931
  },
932
+ {
933
+ "type": "function",
934
+ "name": "swapAndBridgeWithAuthorizationBytes",
935
+ "inputs": [
936
+ {
937
+ "name": "signatureOwner",
938
+ "type": "address",
939
+ "internalType": "address"
940
+ },
941
+ {
942
+ "name": "swapAndDepositData",
943
+ "type": "tuple",
944
+ "internalType": "struct SpokePoolPeripheryInterface.SwapAndDepositData",
945
+ "components": [
946
+ {
947
+ "name": "submissionFees",
948
+ "type": "tuple",
949
+ "internalType": "struct SpokePoolPeripheryInterface.Fees",
950
+ "components": [
951
+ {
952
+ "name": "amount",
953
+ "type": "uint256",
954
+ "internalType": "uint256"
955
+ },
956
+ {
957
+ "name": "recipient",
958
+ "type": "address",
959
+ "internalType": "address"
960
+ }
961
+ ]
962
+ },
963
+ {
964
+ "name": "depositData",
965
+ "type": "tuple",
966
+ "internalType": "struct SpokePoolPeripheryInterface.BaseDepositData",
967
+ "components": [
968
+ {
969
+ "name": "inputToken",
970
+ "type": "address",
971
+ "internalType": "address"
972
+ },
973
+ {
974
+ "name": "outputToken",
975
+ "type": "bytes32",
976
+ "internalType": "bytes32"
977
+ },
978
+ {
979
+ "name": "outputAmount",
980
+ "type": "uint256",
981
+ "internalType": "uint256"
982
+ },
983
+ {
984
+ "name": "depositor",
985
+ "type": "address",
986
+ "internalType": "address"
987
+ },
988
+ {
989
+ "name": "recipient",
990
+ "type": "bytes32",
991
+ "internalType": "bytes32"
992
+ },
993
+ {
994
+ "name": "destinationChainId",
995
+ "type": "uint256",
996
+ "internalType": "uint256"
997
+ },
998
+ {
999
+ "name": "exclusiveRelayer",
1000
+ "type": "bytes32",
1001
+ "internalType": "bytes32"
1002
+ },
1003
+ {
1004
+ "name": "quoteTimestamp",
1005
+ "type": "uint32",
1006
+ "internalType": "uint32"
1007
+ },
1008
+ {
1009
+ "name": "fillDeadline",
1010
+ "type": "uint32",
1011
+ "internalType": "uint32"
1012
+ },
1013
+ {
1014
+ "name": "exclusivityParameter",
1015
+ "type": "uint32",
1016
+ "internalType": "uint32"
1017
+ },
1018
+ {
1019
+ "name": "message",
1020
+ "type": "bytes",
1021
+ "internalType": "bytes"
1022
+ }
1023
+ ]
1024
+ },
1025
+ {
1026
+ "name": "swapToken",
1027
+ "type": "address",
1028
+ "internalType": "address"
1029
+ },
1030
+ {
1031
+ "name": "exchange",
1032
+ "type": "address",
1033
+ "internalType": "address"
1034
+ },
1035
+ {
1036
+ "name": "transferType",
1037
+ "type": "uint8",
1038
+ "internalType": "enum SpokePoolPeripheryInterface.TransferType"
1039
+ },
1040
+ {
1041
+ "name": "swapTokenAmount",
1042
+ "type": "uint256",
1043
+ "internalType": "uint256"
1044
+ },
1045
+ {
1046
+ "name": "minExpectedInputTokenAmount",
1047
+ "type": "uint256",
1048
+ "internalType": "uint256"
1049
+ },
1050
+ {
1051
+ "name": "routerCalldata",
1052
+ "type": "bytes",
1053
+ "internalType": "bytes"
1054
+ },
1055
+ {
1056
+ "name": "enableProportionalAdjustment",
1057
+ "type": "bool",
1058
+ "internalType": "bool"
1059
+ },
1060
+ {
1061
+ "name": "spokePool",
1062
+ "type": "address",
1063
+ "internalType": "address"
1064
+ },
1065
+ {
1066
+ "name": "nonce",
1067
+ "type": "uint256",
1068
+ "internalType": "uint256"
1069
+ }
1070
+ ]
1071
+ },
1072
+ {
1073
+ "name": "validAfter",
1074
+ "type": "uint256",
1075
+ "internalType": "uint256"
1076
+ },
1077
+ {
1078
+ "name": "validBefore",
1079
+ "type": "uint256",
1080
+ "internalType": "uint256"
1081
+ },
1082
+ {
1083
+ "name": "receiveWithAuthSignature",
1084
+ "type": "bytes",
1085
+ "internalType": "bytes"
1086
+ }
1087
+ ],
1088
+ "outputs": [],
1089
+ "stateMutability": "nonpayable"
1090
+ },
803
1091
  {
804
1092
  "type": "function",
805
1093
  "name": "swapAndBridgeWithPermit",