@across-protocol/sdk 4.4.15 → 4.4.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/dist/cjs/src/clients/HubPoolClient.js +1 -1
  2. package/dist/cjs/src/clients/HubPoolClient.js.map +1 -1
  3. package/dist/cjs/src/providers/quicknode.js +10 -1
  4. package/dist/cjs/src/providers/quicknode.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/clients/HubPoolClient.js +3 -2
  52. package/dist/esm/src/clients/HubPoolClient.js.map +1 -1
  53. package/dist/esm/src/providers/quicknode.js +11 -1
  54. package/dist/esm/src/providers/quicknode.js.map +1 -1
  55. package/dist/esm/src/utils/abi/typechain/Constants.d.ts +9 -1
  56. package/dist/esm/src/utils/abi/typechain/CounterfactualConfig.d.ts +9 -1
  57. package/dist/esm/src/utils/abi/typechain/DeploymentUtils.d.ts +9 -1
  58. package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts +42 -0
  59. package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.js +2 -0
  60. package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.js.map +1 -0
  61. package/dist/esm/src/utils/abi/typechain/HubPoolTestBase.d.ts +9 -1
  62. package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.d.ts +58 -0
  63. package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.js +2 -0
  64. package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.js.map +1 -0
  65. package/dist/esm/src/utils/abi/typechain/IMulticall3.d.ts +2 -226
  66. package/dist/esm/src/utils/abi/typechain/SpokePoolPeriphery.d.ts +53 -1
  67. package/dist/esm/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts +45 -1
  68. package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.d.ts +10 -0
  69. package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.js +13 -0
  70. package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.js.map +1 -1
  71. package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts +10 -0
  72. package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js +13 -0
  73. package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js.map +1 -1
  74. package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts +10 -0
  75. package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.js +13 -0
  76. package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.js.map +1 -1
  77. package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts +18 -0
  78. package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js +30 -0
  79. package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js.map +1 -0
  80. package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +10 -0
  81. package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js +13 -0
  82. package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js.map +1 -1
  83. package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts +42 -0
  84. package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js +60 -0
  85. package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js.map +1 -0
  86. package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts +1 -296
  87. package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.js +1 -391
  88. package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.js.map +1 -1
  89. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts +226 -0
  90. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js +288 -0
  91. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js.map +1 -1
  92. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +240 -0
  93. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js +306 -0
  94. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js.map +1 -1
  95. package/dist/esm/src/utils/abi/typechain/factories/index.d.ts +2 -0
  96. package/dist/esm/src/utils/abi/typechain/factories/index.js +2 -0
  97. package/dist/esm/src/utils/abi/typechain/factories/index.js.map +1 -1
  98. package/dist/esm/src/utils/abi/typechain/index.d.ts +4 -0
  99. package/dist/esm/src/utils/abi/typechain/index.js +2 -0
  100. package/dist/esm/src/utils/abi/typechain/index.js.map +1 -1
  101. package/dist/types/src/clients/HubPoolClient.d.ts.map +1 -1
  102. package/dist/types/src/providers/quicknode.d.ts.map +1 -1
  103. package/dist/types/src/utils/abi/typechain/Constants.d.ts +9 -1
  104. package/dist/types/src/utils/abi/typechain/Constants.d.ts.map +1 -1
  105. package/dist/types/src/utils/abi/typechain/CounterfactualConfig.d.ts +9 -1
  106. package/dist/types/src/utils/abi/typechain/CounterfactualConfig.d.ts.map +1 -1
  107. package/dist/types/src/utils/abi/typechain/DeploymentUtils.d.ts +9 -1
  108. package/dist/types/src/utils/abi/typechain/DeploymentUtils.d.ts.map +1 -1
  109. package/dist/types/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts +43 -0
  110. package/dist/types/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts.map +1 -0
  111. package/dist/types/src/utils/abi/typechain/HubPoolTestBase.d.ts +9 -1
  112. package/dist/types/src/utils/abi/typechain/HubPoolTestBase.d.ts.map +1 -1
  113. package/dist/types/src/utils/abi/typechain/IERC20AuthBytes.d.ts +59 -0
  114. package/dist/types/src/utils/abi/typechain/IERC20AuthBytes.d.ts.map +1 -0
  115. package/dist/types/src/utils/abi/typechain/IMulticall3.d.ts +2 -226
  116. package/dist/types/src/utils/abi/typechain/IMulticall3.d.ts.map +1 -1
  117. package/dist/types/src/utils/abi/typechain/SpokePoolPeriphery.d.ts +53 -1
  118. package/dist/types/src/utils/abi/typechain/SpokePoolPeriphery.d.ts.map +1 -1
  119. package/dist/types/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts +45 -1
  120. package/dist/types/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts.map +1 -1
  121. package/dist/types/src/utils/abi/typechain/factories/Constants__factory.d.ts +10 -0
  122. package/dist/types/src/utils/abi/typechain/factories/Constants__factory.d.ts.map +1 -1
  123. package/dist/types/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts +10 -0
  124. package/dist/types/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts.map +1 -1
  125. package/dist/types/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts +10 -0
  126. package/dist/types/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts.map +1 -1
  127. package/dist/types/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts +19 -0
  128. package/dist/types/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts.map +1 -0
  129. package/dist/types/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +10 -0
  130. package/dist/types/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts.map +1 -1
  131. package/dist/types/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts +43 -0
  132. package/dist/types/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts.map +1 -0
  133. package/dist/types/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts +1 -296
  134. package/dist/types/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts.map +1 -1
  135. package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts +226 -0
  136. package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts.map +1 -1
  137. package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +240 -0
  138. package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts.map +1 -1
  139. package/dist/types/src/utils/abi/typechain/factories/index.d.ts +2 -0
  140. package/dist/types/src/utils/abi/typechain/factories/index.d.ts.map +1 -1
  141. package/dist/types/src/utils/abi/typechain/index.d.ts +4 -0
  142. package/dist/types/src/utils/abi/typechain/index.d.ts.map +1 -1
  143. package/package.json +2 -2
  144. package/src/clients/HubPoolClient.ts +3 -2
  145. package/src/providers/quicknode.ts +13 -1
  146. package/src/utils/abi/contracts/Constants.json +13 -0
  147. package/src/utils/abi/contracts/CounterfactualConfig.json +13 -0
  148. package/src/utils/abi/contracts/DeploymentUtils.json +13 -0
  149. package/src/utils/abi/contracts/ERC6492SignatureHandler.json +15 -0
  150. package/src/utils/abi/contracts/HubPoolTestBase.json +13 -0
  151. package/src/utils/abi/contracts/IERC20AuthBytes.json +45 -0
  152. package/src/utils/abi/contracts/IMulticall3.json +1 -391
  153. package/src/utils/abi/contracts/SpokePoolPeriphery.json +306 -0
  154. package/src/utils/abi/contracts/SpokePoolPeripheryInterface.json +288 -0
  155. package/src/utils/abi/typechain/Constants.ts +20 -0
  156. package/src/utils/abi/typechain/CounterfactualConfig.ts +20 -0
  157. package/src/utils/abi/typechain/DeploymentUtils.ts +20 -0
  158. package/src/utils/abi/typechain/ERC6492SignatureHandler.ts +85 -0
  159. package/src/utils/abi/typechain/HubPoolTestBase.ts +20 -0
  160. package/src/utils/abi/typechain/IERC20AuthBytes.ts +146 -0
  161. package/src/utils/abi/typechain/IMulticall3.ts +1 -458
  162. package/src/utils/abi/typechain/SpokePoolPeriphery.ts +139 -0
  163. package/src/utils/abi/typechain/SpokePoolPeripheryInterface.ts +122 -0
  164. package/src/utils/abi/typechain/factories/Constants__factory.ts +13 -0
  165. package/src/utils/abi/typechain/factories/CounterfactualConfig__factory.ts +13 -0
  166. package/src/utils/abi/typechain/factories/DeploymentUtils__factory.ts +13 -0
  167. package/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.ts +44 -0
  168. package/src/utils/abi/typechain/factories/HubPoolTestBase__factory.ts +13 -0
  169. package/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.ts +70 -0
  170. package/src/utils/abi/typechain/factories/IMulticall3__factory.ts +1 -391
  171. package/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.ts +288 -0
  172. package/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.ts +306 -0
  173. package/src/utils/abi/typechain/factories/index.ts +2 -0
  174. package/src/utils/abi/typechain/index.ts +4 -0
@@ -3,257 +3,6 @@ import type { Provider } from "@ethersproject/providers";
3
3
  import type { IMulticall3, IMulticall3Interface } from "../IMulticall3";
4
4
  export declare class IMulticall3__factory {
5
5
  static readonly abi: readonly [{
6
- readonly type: "function";
7
- readonly name: "aggregate";
8
- readonly inputs: readonly [{
9
- readonly name: "calls";
10
- readonly type: "tuple[]";
11
- readonly internalType: "struct IMulticall3.Call[]";
12
- readonly components: readonly [{
13
- readonly name: "target";
14
- readonly type: "address";
15
- readonly internalType: "address";
16
- }, {
17
- readonly name: "callData";
18
- readonly type: "bytes";
19
- readonly internalType: "bytes";
20
- }];
21
- }];
22
- readonly outputs: readonly [{
23
- readonly name: "blockNumber";
24
- readonly type: "uint256";
25
- readonly internalType: "uint256";
26
- }, {
27
- readonly name: "returnData";
28
- readonly type: "bytes[]";
29
- readonly internalType: "bytes[]";
30
- }];
31
- readonly stateMutability: "payable";
32
- }, {
33
- readonly type: "function";
34
- readonly name: "aggregate3";
35
- readonly inputs: readonly [{
36
- readonly name: "calls";
37
- readonly type: "tuple[]";
38
- readonly internalType: "struct IMulticall3.Call3[]";
39
- readonly components: readonly [{
40
- readonly name: "target";
41
- readonly type: "address";
42
- readonly internalType: "address";
43
- }, {
44
- readonly name: "allowFailure";
45
- readonly type: "bool";
46
- readonly internalType: "bool";
47
- }, {
48
- readonly name: "callData";
49
- readonly type: "bytes";
50
- readonly internalType: "bytes";
51
- }];
52
- }];
53
- readonly outputs: readonly [{
54
- readonly name: "returnData";
55
- readonly type: "tuple[]";
56
- readonly internalType: "struct IMulticall3.Result[]";
57
- readonly components: readonly [{
58
- readonly name: "success";
59
- readonly type: "bool";
60
- readonly internalType: "bool";
61
- }, {
62
- readonly name: "returnData";
63
- readonly type: "bytes";
64
- readonly internalType: "bytes";
65
- }];
66
- }];
67
- readonly stateMutability: "payable";
68
- }, {
69
- readonly type: "function";
70
- readonly name: "aggregate3Value";
71
- readonly inputs: readonly [{
72
- readonly name: "calls";
73
- readonly type: "tuple[]";
74
- readonly internalType: "struct IMulticall3.Call3Value[]";
75
- readonly components: readonly [{
76
- readonly name: "target";
77
- readonly type: "address";
78
- readonly internalType: "address";
79
- }, {
80
- readonly name: "allowFailure";
81
- readonly type: "bool";
82
- readonly internalType: "bool";
83
- }, {
84
- readonly name: "value";
85
- readonly type: "uint256";
86
- readonly internalType: "uint256";
87
- }, {
88
- readonly name: "callData";
89
- readonly type: "bytes";
90
- readonly internalType: "bytes";
91
- }];
92
- }];
93
- readonly outputs: readonly [{
94
- readonly name: "returnData";
95
- readonly type: "tuple[]";
96
- readonly internalType: "struct IMulticall3.Result[]";
97
- readonly components: readonly [{
98
- readonly name: "success";
99
- readonly type: "bool";
100
- readonly internalType: "bool";
101
- }, {
102
- readonly name: "returnData";
103
- readonly type: "bytes";
104
- readonly internalType: "bytes";
105
- }];
106
- }];
107
- readonly stateMutability: "payable";
108
- }, {
109
- readonly type: "function";
110
- readonly name: "blockAndAggregate";
111
- readonly inputs: readonly [{
112
- readonly name: "calls";
113
- readonly type: "tuple[]";
114
- readonly internalType: "struct IMulticall3.Call[]";
115
- readonly components: readonly [{
116
- readonly name: "target";
117
- readonly type: "address";
118
- readonly internalType: "address";
119
- }, {
120
- readonly name: "callData";
121
- readonly type: "bytes";
122
- readonly internalType: "bytes";
123
- }];
124
- }];
125
- readonly outputs: readonly [{
126
- readonly name: "blockNumber";
127
- readonly type: "uint256";
128
- readonly internalType: "uint256";
129
- }, {
130
- readonly name: "blockHash";
131
- readonly type: "bytes32";
132
- readonly internalType: "bytes32";
133
- }, {
134
- readonly name: "returnData";
135
- readonly type: "tuple[]";
136
- readonly internalType: "struct IMulticall3.Result[]";
137
- readonly components: readonly [{
138
- readonly name: "success";
139
- readonly type: "bool";
140
- readonly internalType: "bool";
141
- }, {
142
- readonly name: "returnData";
143
- readonly type: "bytes";
144
- readonly internalType: "bytes";
145
- }];
146
- }];
147
- readonly stateMutability: "payable";
148
- }, {
149
- readonly type: "function";
150
- readonly name: "getBasefee";
151
- readonly inputs: readonly [];
152
- readonly outputs: readonly [{
153
- readonly name: "basefee";
154
- readonly type: "uint256";
155
- readonly internalType: "uint256";
156
- }];
157
- readonly stateMutability: "view";
158
- }, {
159
- readonly type: "function";
160
- readonly name: "getBlockHash";
161
- readonly inputs: readonly [{
162
- readonly name: "blockNumber";
163
- readonly type: "uint256";
164
- readonly internalType: "uint256";
165
- }];
166
- readonly outputs: readonly [{
167
- readonly name: "blockHash";
168
- readonly type: "bytes32";
169
- readonly internalType: "bytes32";
170
- }];
171
- readonly stateMutability: "view";
172
- }, {
173
- readonly type: "function";
174
- readonly name: "getBlockNumber";
175
- readonly inputs: readonly [];
176
- readonly outputs: readonly [{
177
- readonly name: "blockNumber";
178
- readonly type: "uint256";
179
- readonly internalType: "uint256";
180
- }];
181
- readonly stateMutability: "view";
182
- }, {
183
- readonly type: "function";
184
- readonly name: "getChainId";
185
- readonly inputs: readonly [];
186
- readonly outputs: readonly [{
187
- readonly name: "chainid";
188
- readonly type: "uint256";
189
- readonly internalType: "uint256";
190
- }];
191
- readonly stateMutability: "view";
192
- }, {
193
- readonly type: "function";
194
- readonly name: "getCurrentBlockCoinbase";
195
- readonly inputs: readonly [];
196
- readonly outputs: readonly [{
197
- readonly name: "coinbase";
198
- readonly type: "address";
199
- readonly internalType: "address";
200
- }];
201
- readonly stateMutability: "view";
202
- }, {
203
- readonly type: "function";
204
- readonly name: "getCurrentBlockDifficulty";
205
- readonly inputs: readonly [];
206
- readonly outputs: readonly [{
207
- readonly name: "difficulty";
208
- readonly type: "uint256";
209
- readonly internalType: "uint256";
210
- }];
211
- readonly stateMutability: "view";
212
- }, {
213
- readonly type: "function";
214
- readonly name: "getCurrentBlockGasLimit";
215
- readonly inputs: readonly [];
216
- readonly outputs: readonly [{
217
- readonly name: "gaslimit";
218
- readonly type: "uint256";
219
- readonly internalType: "uint256";
220
- }];
221
- readonly stateMutability: "view";
222
- }, {
223
- readonly type: "function";
224
- readonly name: "getCurrentBlockTimestamp";
225
- readonly inputs: readonly [];
226
- readonly outputs: readonly [{
227
- readonly name: "timestamp";
228
- readonly type: "uint256";
229
- readonly internalType: "uint256";
230
- }];
231
- readonly stateMutability: "view";
232
- }, {
233
- readonly type: "function";
234
- readonly name: "getEthBalance";
235
- readonly inputs: readonly [{
236
- readonly name: "addr";
237
- readonly type: "address";
238
- readonly internalType: "address";
239
- }];
240
- readonly outputs: readonly [{
241
- readonly name: "balance";
242
- readonly type: "uint256";
243
- readonly internalType: "uint256";
244
- }];
245
- readonly stateMutability: "view";
246
- }, {
247
- readonly type: "function";
248
- readonly name: "getLastBlockHash";
249
- readonly inputs: readonly [];
250
- readonly outputs: readonly [{
251
- readonly name: "blockHash";
252
- readonly type: "bytes32";
253
- readonly internalType: "bytes32";
254
- }];
255
- readonly stateMutability: "view";
256
- }, {
257
6
  readonly type: "function";
258
7
  readonly name: "tryAggregate";
259
8
  readonly inputs: readonly [{
@@ -275,51 +24,7 @@ export declare class IMulticall3__factory {
275
24
  }];
276
25
  }];
277
26
  readonly outputs: readonly [{
278
- readonly name: "returnData";
279
- readonly type: "tuple[]";
280
- readonly internalType: "struct IMulticall3.Result[]";
281
- readonly components: readonly [{
282
- readonly name: "success";
283
- readonly type: "bool";
284
- readonly internalType: "bool";
285
- }, {
286
- readonly name: "returnData";
287
- readonly type: "bytes";
288
- readonly internalType: "bytes";
289
- }];
290
- }];
291
- readonly stateMutability: "payable";
292
- }, {
293
- readonly type: "function";
294
- readonly name: "tryBlockAndAggregate";
295
- readonly inputs: readonly [{
296
- readonly name: "requireSuccess";
297
- readonly type: "bool";
298
- readonly internalType: "bool";
299
- }, {
300
- readonly name: "calls";
301
- readonly type: "tuple[]";
302
- readonly internalType: "struct IMulticall3.Call[]";
303
- readonly components: readonly [{
304
- readonly name: "target";
305
- readonly type: "address";
306
- readonly internalType: "address";
307
- }, {
308
- readonly name: "callData";
309
- readonly type: "bytes";
310
- readonly internalType: "bytes";
311
- }];
312
- }];
313
- readonly outputs: readonly [{
314
- readonly name: "blockNumber";
315
- readonly type: "uint256";
316
- readonly internalType: "uint256";
317
- }, {
318
- readonly name: "blockHash";
319
- readonly type: "bytes32";
320
- readonly internalType: "bytes32";
321
- }, {
322
- readonly name: "returnData";
27
+ readonly name: "";
323
28
  readonly type: "tuple[]";
324
29
  readonly internalType: "struct IMulticall3.Result[]";
325
30
  readonly components: readonly [{
@@ -1 +1 @@
1
- {"version":3,"file":"IMulticall3__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/IMulticall3__factory.ts"],"names":[],"mappings":"AAKA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AA2bxE,qBAAa,oBAAoB;IAC/B,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,oBAAoB;IAG9C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,WAAW;CAGf"}
1
+ {"version":3,"file":"IMulticall3__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/IMulticall3__factory.ts"],"names":[],"mappings":"AAKA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAqDxE,qBAAa,oBAAoB;IAC/B,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,oBAAoB;IAG9C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,WAAW;CAGf"}
@@ -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";
@@ -1 +1 @@
1
- {"version":3,"file":"SpokePoolPeripheryInterface__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.ts"],"names":[],"mappings":"AAKA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,gCAAgC,CAAC;AA4nCxC,qBAAa,oCAAoC;IAC/C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,oCAAoC;IAG9D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,2BAA2B;CAO/B"}
1
+ {"version":3,"file":"SpokePoolPeripheryInterface__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.ts"],"names":[],"mappings":"AAKA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,gCAAgC,CAAC;AA45CxC,qBAAa,oCAAoC;IAC/C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,oCAAoC;IAG9D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,2BAA2B;CAO/B"}