@across-protocol/sdk 4.4.16 → 4.4.18

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