@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
@@ -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",