@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
@@ -3,338 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IMulticall3__factory = void 0;
4
4
  const ethers_1 = require("ethers");
5
5
  const _abi = [
6
- {
7
- type: "function",
8
- name: "aggregate",
9
- inputs: [
10
- {
11
- name: "calls",
12
- type: "tuple[]",
13
- internalType: "struct IMulticall3.Call[]",
14
- components: [
15
- {
16
- name: "target",
17
- type: "address",
18
- internalType: "address",
19
- },
20
- {
21
- name: "callData",
22
- type: "bytes",
23
- internalType: "bytes",
24
- },
25
- ],
26
- },
27
- ],
28
- outputs: [
29
- {
30
- name: "blockNumber",
31
- type: "uint256",
32
- internalType: "uint256",
33
- },
34
- {
35
- name: "returnData",
36
- type: "bytes[]",
37
- internalType: "bytes[]",
38
- },
39
- ],
40
- stateMutability: "payable",
41
- },
42
- {
43
- type: "function",
44
- name: "aggregate3",
45
- inputs: [
46
- {
47
- name: "calls",
48
- type: "tuple[]",
49
- internalType: "struct IMulticall3.Call3[]",
50
- components: [
51
- {
52
- name: "target",
53
- type: "address",
54
- internalType: "address",
55
- },
56
- {
57
- name: "allowFailure",
58
- type: "bool",
59
- internalType: "bool",
60
- },
61
- {
62
- name: "callData",
63
- type: "bytes",
64
- internalType: "bytes",
65
- },
66
- ],
67
- },
68
- ],
69
- outputs: [
70
- {
71
- name: "returnData",
72
- type: "tuple[]",
73
- internalType: "struct IMulticall3.Result[]",
74
- components: [
75
- {
76
- name: "success",
77
- type: "bool",
78
- internalType: "bool",
79
- },
80
- {
81
- name: "returnData",
82
- type: "bytes",
83
- internalType: "bytes",
84
- },
85
- ],
86
- },
87
- ],
88
- stateMutability: "payable",
89
- },
90
- {
91
- type: "function",
92
- name: "aggregate3Value",
93
- inputs: [
94
- {
95
- name: "calls",
96
- type: "tuple[]",
97
- internalType: "struct IMulticall3.Call3Value[]",
98
- components: [
99
- {
100
- name: "target",
101
- type: "address",
102
- internalType: "address",
103
- },
104
- {
105
- name: "allowFailure",
106
- type: "bool",
107
- internalType: "bool",
108
- },
109
- {
110
- name: "value",
111
- type: "uint256",
112
- internalType: "uint256",
113
- },
114
- {
115
- name: "callData",
116
- type: "bytes",
117
- internalType: "bytes",
118
- },
119
- ],
120
- },
121
- ],
122
- outputs: [
123
- {
124
- name: "returnData",
125
- type: "tuple[]",
126
- internalType: "struct IMulticall3.Result[]",
127
- components: [
128
- {
129
- name: "success",
130
- type: "bool",
131
- internalType: "bool",
132
- },
133
- {
134
- name: "returnData",
135
- type: "bytes",
136
- internalType: "bytes",
137
- },
138
- ],
139
- },
140
- ],
141
- stateMutability: "payable",
142
- },
143
- {
144
- type: "function",
145
- name: "blockAndAggregate",
146
- inputs: [
147
- {
148
- name: "calls",
149
- type: "tuple[]",
150
- internalType: "struct IMulticall3.Call[]",
151
- components: [
152
- {
153
- name: "target",
154
- type: "address",
155
- internalType: "address",
156
- },
157
- {
158
- name: "callData",
159
- type: "bytes",
160
- internalType: "bytes",
161
- },
162
- ],
163
- },
164
- ],
165
- outputs: [
166
- {
167
- name: "blockNumber",
168
- type: "uint256",
169
- internalType: "uint256",
170
- },
171
- {
172
- name: "blockHash",
173
- type: "bytes32",
174
- internalType: "bytes32",
175
- },
176
- {
177
- name: "returnData",
178
- type: "tuple[]",
179
- internalType: "struct IMulticall3.Result[]",
180
- components: [
181
- {
182
- name: "success",
183
- type: "bool",
184
- internalType: "bool",
185
- },
186
- {
187
- name: "returnData",
188
- type: "bytes",
189
- internalType: "bytes",
190
- },
191
- ],
192
- },
193
- ],
194
- stateMutability: "payable",
195
- },
196
- {
197
- type: "function",
198
- name: "getBasefee",
199
- inputs: [],
200
- outputs: [
201
- {
202
- name: "basefee",
203
- type: "uint256",
204
- internalType: "uint256",
205
- },
206
- ],
207
- stateMutability: "view",
208
- },
209
- {
210
- type: "function",
211
- name: "getBlockHash",
212
- inputs: [
213
- {
214
- name: "blockNumber",
215
- type: "uint256",
216
- internalType: "uint256",
217
- },
218
- ],
219
- outputs: [
220
- {
221
- name: "blockHash",
222
- type: "bytes32",
223
- internalType: "bytes32",
224
- },
225
- ],
226
- stateMutability: "view",
227
- },
228
- {
229
- type: "function",
230
- name: "getBlockNumber",
231
- inputs: [],
232
- outputs: [
233
- {
234
- name: "blockNumber",
235
- type: "uint256",
236
- internalType: "uint256",
237
- },
238
- ],
239
- stateMutability: "view",
240
- },
241
- {
242
- type: "function",
243
- name: "getChainId",
244
- inputs: [],
245
- outputs: [
246
- {
247
- name: "chainid",
248
- type: "uint256",
249
- internalType: "uint256",
250
- },
251
- ],
252
- stateMutability: "view",
253
- },
254
- {
255
- type: "function",
256
- name: "getCurrentBlockCoinbase",
257
- inputs: [],
258
- outputs: [
259
- {
260
- name: "coinbase",
261
- type: "address",
262
- internalType: "address",
263
- },
264
- ],
265
- stateMutability: "view",
266
- },
267
- {
268
- type: "function",
269
- name: "getCurrentBlockDifficulty",
270
- inputs: [],
271
- outputs: [
272
- {
273
- name: "difficulty",
274
- type: "uint256",
275
- internalType: "uint256",
276
- },
277
- ],
278
- stateMutability: "view",
279
- },
280
- {
281
- type: "function",
282
- name: "getCurrentBlockGasLimit",
283
- inputs: [],
284
- outputs: [
285
- {
286
- name: "gaslimit",
287
- type: "uint256",
288
- internalType: "uint256",
289
- },
290
- ],
291
- stateMutability: "view",
292
- },
293
- {
294
- type: "function",
295
- name: "getCurrentBlockTimestamp",
296
- inputs: [],
297
- outputs: [
298
- {
299
- name: "timestamp",
300
- type: "uint256",
301
- internalType: "uint256",
302
- },
303
- ],
304
- stateMutability: "view",
305
- },
306
- {
307
- type: "function",
308
- name: "getEthBalance",
309
- inputs: [
310
- {
311
- name: "addr",
312
- type: "address",
313
- internalType: "address",
314
- },
315
- ],
316
- outputs: [
317
- {
318
- name: "balance",
319
- type: "uint256",
320
- internalType: "uint256",
321
- },
322
- ],
323
- stateMutability: "view",
324
- },
325
- {
326
- type: "function",
327
- name: "getLastBlockHash",
328
- inputs: [],
329
- outputs: [
330
- {
331
- name: "blockHash",
332
- type: "bytes32",
333
- internalType: "bytes32",
334
- },
335
- ],
336
- stateMutability: "view",
337
- },
338
6
  {
339
7
  type: "function",
340
8
  name: "tryAggregate",
@@ -364,65 +32,7 @@ const _abi = [
364
32
  ],
365
33
  outputs: [
366
34
  {
367
- name: "returnData",
368
- type: "tuple[]",
369
- internalType: "struct IMulticall3.Result[]",
370
- components: [
371
- {
372
- name: "success",
373
- type: "bool",
374
- internalType: "bool",
375
- },
376
- {
377
- name: "returnData",
378
- type: "bytes",
379
- internalType: "bytes",
380
- },
381
- ],
382
- },
383
- ],
384
- stateMutability: "payable",
385
- },
386
- {
387
- type: "function",
388
- name: "tryBlockAndAggregate",
389
- inputs: [
390
- {
391
- name: "requireSuccess",
392
- type: "bool",
393
- internalType: "bool",
394
- },
395
- {
396
- name: "calls",
397
- type: "tuple[]",
398
- internalType: "struct IMulticall3.Call[]",
399
- components: [
400
- {
401
- name: "target",
402
- type: "address",
403
- internalType: "address",
404
- },
405
- {
406
- name: "callData",
407
- type: "bytes",
408
- internalType: "bytes",
409
- },
410
- ],
411
- },
412
- ],
413
- outputs: [
414
- {
415
- name: "blockNumber",
416
- type: "uint256",
417
- internalType: "uint256",
418
- },
419
- {
420
- name: "blockHash",
421
- type: "bytes32",
422
- internalType: "bytes32",
423
- },
424
- {
425
- name: "returnData",
35
+ name: "",
426
36
  type: "tuple[]",
427
37
  internalType: "struct IMulticall3.Result[]",
428
38
  components: [
@@ -1 +1 @@
1
- {"version":3,"file":"IMulticall3__factory.js","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/IMulticall3__factory.ts"],"names":[],"mappings":";;;AAKA,mCAAiD;AAIjD,MAAM,IAAI,GAAG;IACX;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,2BAA2B;gBACzC,UAAU,EAAE;oBACV;wBACE,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBACxB;oBACD;wBACE,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACtB;iBACF;aACF;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,SAAS;aACxB;YACD;gBACE,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,SAAS;aACxB;SACF;QACD,eAAe,EAAE,SAAS;KAC3B;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,4BAA4B;gBAC1C,UAAU,EAAE;oBACV;wBACE,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBACxB;oBACD;wBACE,IAAI,EAAE,cAAc;wBACpB,IAAI,EAAE,MAA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YAAY,EAAE,OAAO;qBACtB;iBACF;aACF;SACF;QACD,eAAe,EAAE,SAAS;KAC3B;CACO,CAAC;AAEX,MAAa,oBAAoB;IAC/B,MAAM,CAAU,GAAG,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAyB,CAAC;IAC3D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAgB,CAAC;IACtE,CAAC;;AAVH,oDAWC"}
1
+ {"version":3,"file":"IMulticall3__factory.js","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/IMulticall3__factory.ts"],"names":[],"mappings":";;;AAKA,mCAAiD;AAIjD,MAAM,IAAI,GAAG;IACX;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,MAAM;gBACZ,YAAY,EAAE,MAAM;aACrB;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,2BAA2B;gBACzC,UAAU,EAAE;oBACV;wBACE,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBACxB;oBACD;wBACE,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACtB;iBACF;aACF;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,6BAA6B;gBAC3C,UAAU,EAAE;oBACV;wBACE,IAAI,EAAE,SAAS;wBACf,IAAI,EAAE,MAAM;wBACZ,YAAY,EAAE,MAAM;qBACrB;oBACD;wBACE,IAAI,EAAE,YAAY;wBAClB,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACtB;iBACF;aACF;SACF;QACD,eAAe,EAAE,SAAS;KAC3B;CACO,CAAC;AAEX,MAAa,oBAAoB;IAC/B,MAAM,CAAU,GAAG,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAyB,CAAC;IAC3D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAgB,CAAC;IACtE,CAAC;;AAVH,oDAWC"}
@@ -161,6 +161,107 @@ export declare class SpokePoolPeripheryInterface__factory {
161
161
  }];
162
162
  readonly outputs: readonly [];
163
163
  readonly stateMutability: "nonpayable";
164
+ }, {
165
+ readonly type: "function";
166
+ readonly name: "depositWithAuthorizationBytes";
167
+ readonly inputs: readonly [{
168
+ readonly name: "signatureOwner";
169
+ readonly type: "address";
170
+ readonly internalType: "address";
171
+ }, {
172
+ readonly name: "depositData";
173
+ readonly type: "tuple";
174
+ readonly internalType: "struct SpokePoolPeripheryInterface.DepositData";
175
+ readonly components: readonly [{
176
+ readonly name: "submissionFees";
177
+ readonly type: "tuple";
178
+ readonly internalType: "struct SpokePoolPeripheryInterface.Fees";
179
+ readonly components: readonly [{
180
+ readonly name: "amount";
181
+ readonly type: "uint256";
182
+ readonly internalType: "uint256";
183
+ }, {
184
+ readonly name: "recipient";
185
+ readonly type: "address";
186
+ readonly internalType: "address";
187
+ }];
188
+ }, {
189
+ readonly name: "baseDepositData";
190
+ readonly type: "tuple";
191
+ readonly internalType: "struct SpokePoolPeripheryInterface.BaseDepositData";
192
+ readonly components: readonly [{
193
+ readonly name: "inputToken";
194
+ readonly type: "address";
195
+ readonly internalType: "address";
196
+ }, {
197
+ readonly name: "outputToken";
198
+ readonly type: "bytes32";
199
+ readonly internalType: "bytes32";
200
+ }, {
201
+ readonly name: "outputAmount";
202
+ readonly type: "uint256";
203
+ readonly internalType: "uint256";
204
+ }, {
205
+ readonly name: "depositor";
206
+ readonly type: "address";
207
+ readonly internalType: "address";
208
+ }, {
209
+ readonly name: "recipient";
210
+ readonly type: "bytes32";
211
+ readonly internalType: "bytes32";
212
+ }, {
213
+ readonly name: "destinationChainId";
214
+ readonly type: "uint256";
215
+ readonly internalType: "uint256";
216
+ }, {
217
+ readonly name: "exclusiveRelayer";
218
+ readonly type: "bytes32";
219
+ readonly internalType: "bytes32";
220
+ }, {
221
+ readonly name: "quoteTimestamp";
222
+ readonly type: "uint32";
223
+ readonly internalType: "uint32";
224
+ }, {
225
+ readonly name: "fillDeadline";
226
+ readonly type: "uint32";
227
+ readonly internalType: "uint32";
228
+ }, {
229
+ readonly name: "exclusivityParameter";
230
+ readonly type: "uint32";
231
+ readonly internalType: "uint32";
232
+ }, {
233
+ readonly name: "message";
234
+ readonly type: "bytes";
235
+ readonly internalType: "bytes";
236
+ }];
237
+ }, {
238
+ readonly name: "inputAmount";
239
+ readonly type: "uint256";
240
+ readonly internalType: "uint256";
241
+ }, {
242
+ readonly name: "spokePool";
243
+ readonly type: "address";
244
+ readonly internalType: "address";
245
+ }, {
246
+ readonly name: "nonce";
247
+ readonly type: "uint256";
248
+ readonly internalType: "uint256";
249
+ }];
250
+ }, {
251
+ readonly name: "validAfter";
252
+ readonly type: "uint256";
253
+ readonly internalType: "uint256";
254
+ }, {
255
+ readonly name: "validBefore";
256
+ readonly type: "uint256";
257
+ readonly internalType: "uint256";
258
+ }, {
259
+ readonly name: "receiveWithAuthSignature";
260
+ readonly type: "bytes";
261
+ readonly internalType: "bytes";
262
+ }];
263
+ readonly outputs: readonly [];
264
+ readonly stateMutability: "nonpayable";
164
265
  }, {
165
266
  readonly type: "function";
166
267
  readonly name: "depositWithPermit";
@@ -629,6 +730,131 @@ export declare class SpokePoolPeripheryInterface__factory {
629
730
  }];
630
731
  readonly outputs: readonly [];
631
732
  readonly stateMutability: "nonpayable";
733
+ }, {
734
+ readonly type: "function";
735
+ readonly name: "swapAndBridgeWithAuthorizationBytes";
736
+ readonly inputs: readonly [{
737
+ readonly name: "signatureOwner";
738
+ readonly type: "address";
739
+ readonly internalType: "address";
740
+ }, {
741
+ readonly name: "swapAndDepositData";
742
+ readonly type: "tuple";
743
+ readonly internalType: "struct SpokePoolPeripheryInterface.SwapAndDepositData";
744
+ readonly components: readonly [{
745
+ readonly name: "submissionFees";
746
+ readonly type: "tuple";
747
+ readonly internalType: "struct SpokePoolPeripheryInterface.Fees";
748
+ readonly components: readonly [{
749
+ readonly name: "amount";
750
+ readonly type: "uint256";
751
+ readonly internalType: "uint256";
752
+ }, {
753
+ readonly name: "recipient";
754
+ readonly type: "address";
755
+ readonly internalType: "address";
756
+ }];
757
+ }, {
758
+ readonly name: "depositData";
759
+ readonly type: "tuple";
760
+ readonly internalType: "struct SpokePoolPeripheryInterface.BaseDepositData";
761
+ readonly components: readonly [{
762
+ readonly name: "inputToken";
763
+ readonly type: "address";
764
+ readonly internalType: "address";
765
+ }, {
766
+ readonly name: "outputToken";
767
+ readonly type: "bytes32";
768
+ readonly internalType: "bytes32";
769
+ }, {
770
+ readonly name: "outputAmount";
771
+ readonly type: "uint256";
772
+ readonly internalType: "uint256";
773
+ }, {
774
+ readonly name: "depositor";
775
+ readonly type: "address";
776
+ readonly internalType: "address";
777
+ }, {
778
+ readonly name: "recipient";
779
+ readonly type: "bytes32";
780
+ readonly internalType: "bytes32";
781
+ }, {
782
+ readonly name: "destinationChainId";
783
+ readonly type: "uint256";
784
+ readonly internalType: "uint256";
785
+ }, {
786
+ readonly name: "exclusiveRelayer";
787
+ readonly type: "bytes32";
788
+ readonly internalType: "bytes32";
789
+ }, {
790
+ readonly name: "quoteTimestamp";
791
+ readonly type: "uint32";
792
+ readonly internalType: "uint32";
793
+ }, {
794
+ readonly name: "fillDeadline";
795
+ readonly type: "uint32";
796
+ readonly internalType: "uint32";
797
+ }, {
798
+ readonly name: "exclusivityParameter";
799
+ readonly type: "uint32";
800
+ readonly internalType: "uint32";
801
+ }, {
802
+ readonly name: "message";
803
+ readonly type: "bytes";
804
+ readonly internalType: "bytes";
805
+ }];
806
+ }, {
807
+ readonly name: "swapToken";
808
+ readonly type: "address";
809
+ readonly internalType: "address";
810
+ }, {
811
+ readonly name: "exchange";
812
+ readonly type: "address";
813
+ readonly internalType: "address";
814
+ }, {
815
+ readonly name: "transferType";
816
+ readonly type: "uint8";
817
+ readonly internalType: "enum SpokePoolPeripheryInterface.TransferType";
818
+ }, {
819
+ readonly name: "swapTokenAmount";
820
+ readonly type: "uint256";
821
+ readonly internalType: "uint256";
822
+ }, {
823
+ readonly name: "minExpectedInputTokenAmount";
824
+ readonly type: "uint256";
825
+ readonly internalType: "uint256";
826
+ }, {
827
+ readonly name: "routerCalldata";
828
+ readonly type: "bytes";
829
+ readonly internalType: "bytes";
830
+ }, {
831
+ readonly name: "enableProportionalAdjustment";
832
+ readonly type: "bool";
833
+ readonly internalType: "bool";
834
+ }, {
835
+ readonly name: "spokePool";
836
+ readonly type: "address";
837
+ readonly internalType: "address";
838
+ }, {
839
+ readonly name: "nonce";
840
+ readonly type: "uint256";
841
+ readonly internalType: "uint256";
842
+ }];
843
+ }, {
844
+ readonly name: "validAfter";
845
+ readonly type: "uint256";
846
+ readonly internalType: "uint256";
847
+ }, {
848
+ readonly name: "validBefore";
849
+ readonly type: "uint256";
850
+ readonly internalType: "uint256";
851
+ }, {
852
+ readonly name: "receiveWithAuthSignature";
853
+ readonly type: "bytes";
854
+ readonly internalType: "bytes";
855
+ }];
856
+ readonly outputs: readonly [];
857
+ readonly stateMutability: "nonpayable";
632
858
  }, {
633
859
  readonly type: "function";
634
860
  readonly name: "swapAndBridgeWithPermit";