@across-protocol/sdk 4.4.16 → 4.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/utils/abi/typechain/Constants.d.ts +9 -1
- package/dist/cjs/src/utils/abi/typechain/CounterfactualConfig.d.ts +9 -1
- package/dist/cjs/src/utils/abi/typechain/DeploymentUtils.d.ts +9 -1
- package/dist/cjs/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts +42 -0
- package/dist/cjs/src/utils/abi/typechain/ERC6492SignatureHandler.js +3 -0
- package/dist/cjs/src/utils/abi/typechain/ERC6492SignatureHandler.js.map +1 -0
- package/dist/cjs/src/utils/abi/typechain/HubPoolTestBase.d.ts +9 -1
- package/dist/cjs/src/utils/abi/typechain/IERC20AuthBytes.d.ts +58 -0
- package/dist/cjs/src/utils/abi/typechain/IERC20AuthBytes.js +3 -0
- package/dist/cjs/src/utils/abi/typechain/IERC20AuthBytes.js.map +1 -0
- package/dist/cjs/src/utils/abi/typechain/IMulticall3.d.ts +2 -226
- package/dist/cjs/src/utils/abi/typechain/SpokePoolPeriphery.d.ts +53 -1
- package/dist/cjs/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts +45 -1
- package/dist/cjs/src/utils/abi/typechain/factories/Constants__factory.d.ts +10 -0
- package/dist/cjs/src/utils/abi/typechain/factories/Constants__factory.js +13 -0
- package/dist/cjs/src/utils/abi/typechain/factories/Constants__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts +10 -0
- package/dist/cjs/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js +13 -0
- package/dist/cjs/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts +10 -0
- package/dist/cjs/src/utils/abi/typechain/factories/DeploymentUtils__factory.js +13 -0
- package/dist/cjs/src/utils/abi/typechain/factories/DeploymentUtils__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts +18 -0
- package/dist/cjs/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js +30 -0
- package/dist/cjs/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js.map +1 -0
- package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +10 -0
- package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js +13 -0
- package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts +42 -0
- package/dist/cjs/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js +60 -0
- package/dist/cjs/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js.map +1 -0
- package/dist/cjs/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts +1 -296
- package/dist/cjs/src/utils/abi/typechain/factories/IMulticall3__factory.js +1 -391
- package/dist/cjs/src/utils/abi/typechain/factories/IMulticall3__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts +226 -0
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js +288 -0
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +240 -0
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js +306 -0
- package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/factories/index.d.ts +2 -0
- package/dist/cjs/src/utils/abi/typechain/factories/index.js +10 -6
- package/dist/cjs/src/utils/abi/typechain/factories/index.js.map +1 -1
- package/dist/cjs/src/utils/abi/typechain/index.d.ts +4 -0
- package/dist/cjs/src/utils/abi/typechain/index.js +10 -6
- package/dist/cjs/src/utils/abi/typechain/index.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/Constants.d.ts +9 -1
- package/dist/esm/src/utils/abi/typechain/CounterfactualConfig.d.ts +9 -1
- package/dist/esm/src/utils/abi/typechain/DeploymentUtils.d.ts +9 -1
- package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts +42 -0
- package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.js +2 -0
- package/dist/esm/src/utils/abi/typechain/ERC6492SignatureHandler.js.map +1 -0
- package/dist/esm/src/utils/abi/typechain/HubPoolTestBase.d.ts +9 -1
- package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.d.ts +58 -0
- package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.js +2 -0
- package/dist/esm/src/utils/abi/typechain/IERC20AuthBytes.js.map +1 -0
- package/dist/esm/src/utils/abi/typechain/IMulticall3.d.ts +2 -226
- package/dist/esm/src/utils/abi/typechain/SpokePoolPeriphery.d.ts +53 -1
- package/dist/esm/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts +45 -1
- package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.d.ts +10 -0
- package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.js +13 -0
- package/dist/esm/src/utils/abi/typechain/factories/Constants__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts +10 -0
- package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js +13 -0
- package/dist/esm/src/utils/abi/typechain/factories/CounterfactualConfig__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts +10 -0
- package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.js +13 -0
- package/dist/esm/src/utils/abi/typechain/factories/DeploymentUtils__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts +18 -0
- package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js +30 -0
- package/dist/esm/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.js.map +1 -0
- package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +10 -0
- package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js +13 -0
- package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts +42 -0
- package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js +60 -0
- package/dist/esm/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.js.map +1 -0
- package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts +1 -296
- package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.js +1 -391
- package/dist/esm/src/utils/abi/typechain/factories/IMulticall3__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts +226 -0
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js +288 -0
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +240 -0
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js +306 -0
- package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/factories/index.d.ts +2 -0
- package/dist/esm/src/utils/abi/typechain/factories/index.js +2 -0
- package/dist/esm/src/utils/abi/typechain/factories/index.js.map +1 -1
- package/dist/esm/src/utils/abi/typechain/index.d.ts +4 -0
- package/dist/esm/src/utils/abi/typechain/index.js +2 -0
- package/dist/esm/src/utils/abi/typechain/index.js.map +1 -1
- package/dist/types/src/utils/abi/typechain/Constants.d.ts +9 -1
- package/dist/types/src/utils/abi/typechain/Constants.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/CounterfactualConfig.d.ts +9 -1
- package/dist/types/src/utils/abi/typechain/CounterfactualConfig.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/DeploymentUtils.d.ts +9 -1
- package/dist/types/src/utils/abi/typechain/DeploymentUtils.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts +43 -0
- package/dist/types/src/utils/abi/typechain/ERC6492SignatureHandler.d.ts.map +1 -0
- package/dist/types/src/utils/abi/typechain/HubPoolTestBase.d.ts +9 -1
- package/dist/types/src/utils/abi/typechain/HubPoolTestBase.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/IERC20AuthBytes.d.ts +59 -0
- package/dist/types/src/utils/abi/typechain/IERC20AuthBytes.d.ts.map +1 -0
- package/dist/types/src/utils/abi/typechain/IMulticall3.d.ts +2 -226
- package/dist/types/src/utils/abi/typechain/IMulticall3.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/SpokePoolPeriphery.d.ts +53 -1
- package/dist/types/src/utils/abi/typechain/SpokePoolPeriphery.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts +45 -1
- package/dist/types/src/utils/abi/typechain/SpokePoolPeripheryInterface.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/Constants__factory.d.ts +10 -0
- package/dist/types/src/utils/abi/typechain/factories/Constants__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts +10 -0
- package/dist/types/src/utils/abi/typechain/factories/CounterfactualConfig__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts +10 -0
- package/dist/types/src/utils/abi/typechain/factories/DeploymentUtils__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts +19 -0
- package/dist/types/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.d.ts.map +1 -0
- package/dist/types/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +10 -0
- package/dist/types/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts +43 -0
- package/dist/types/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.d.ts.map +1 -0
- package/dist/types/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts +1 -296
- package/dist/types/src/utils/abi/typechain/factories/IMulticall3__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts +226 -0
- package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts +240 -0
- package/dist/types/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/factories/index.d.ts +2 -0
- package/dist/types/src/utils/abi/typechain/factories/index.d.ts.map +1 -1
- package/dist/types/src/utils/abi/typechain/index.d.ts +4 -0
- package/dist/types/src/utils/abi/typechain/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/utils/abi/contracts/Constants.json +13 -0
- package/src/utils/abi/contracts/CounterfactualConfig.json +13 -0
- package/src/utils/abi/contracts/DeploymentUtils.json +13 -0
- package/src/utils/abi/contracts/ERC6492SignatureHandler.json +15 -0
- package/src/utils/abi/contracts/HubPoolTestBase.json +13 -0
- package/src/utils/abi/contracts/IERC20AuthBytes.json +45 -0
- package/src/utils/abi/contracts/IMulticall3.json +1 -391
- package/src/utils/abi/contracts/SpokePoolPeriphery.json +306 -0
- package/src/utils/abi/contracts/SpokePoolPeripheryInterface.json +288 -0
- package/src/utils/abi/typechain/Constants.ts +20 -0
- package/src/utils/abi/typechain/CounterfactualConfig.ts +20 -0
- package/src/utils/abi/typechain/DeploymentUtils.ts +20 -0
- package/src/utils/abi/typechain/ERC6492SignatureHandler.ts +85 -0
- package/src/utils/abi/typechain/HubPoolTestBase.ts +20 -0
- package/src/utils/abi/typechain/IERC20AuthBytes.ts +146 -0
- package/src/utils/abi/typechain/IMulticall3.ts +1 -458
- package/src/utils/abi/typechain/SpokePoolPeriphery.ts +139 -0
- package/src/utils/abi/typechain/SpokePoolPeripheryInterface.ts +122 -0
- package/src/utils/abi/typechain/factories/Constants__factory.ts +13 -0
- package/src/utils/abi/typechain/factories/CounterfactualConfig__factory.ts +13 -0
- package/src/utils/abi/typechain/factories/DeploymentUtils__factory.ts +13 -0
- package/src/utils/abi/typechain/factories/ERC6492SignatureHandler__factory.ts +44 -0
- package/src/utils/abi/typechain/factories/HubPoolTestBase__factory.ts +13 -0
- package/src/utils/abi/typechain/factories/IERC20AuthBytes__factory.ts +70 -0
- package/src/utils/abi/typechain/factories/IMulticall3__factory.ts +1 -391
- package/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.ts +288 -0
- package/src/utils/abi/typechain/factories/SpokePoolPeriphery__factory.ts +306 -0
- package/src/utils/abi/typechain/factories/index.ts +2 -0
- package/src/utils/abi/typechain/index.ts +4 -0
|
@@ -4,338 +4,6 @@
|
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Contract, utils } from "ethers";
|
|
6
6
|
const _abi = [
|
|
7
|
-
{
|
|
8
|
-
type: "function",
|
|
9
|
-
name: "aggregate",
|
|
10
|
-
inputs: [
|
|
11
|
-
{
|
|
12
|
-
name: "calls",
|
|
13
|
-
type: "tuple[]",
|
|
14
|
-
internalType: "struct IMulticall3.Call[]",
|
|
15
|
-
components: [
|
|
16
|
-
{
|
|
17
|
-
name: "target",
|
|
18
|
-
type: "address",
|
|
19
|
-
internalType: "address",
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
name: "callData",
|
|
23
|
-
type: "bytes",
|
|
24
|
-
internalType: "bytes",
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
outputs: [
|
|
30
|
-
{
|
|
31
|
-
name: "blockNumber",
|
|
32
|
-
type: "uint256",
|
|
33
|
-
internalType: "uint256",
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
name: "returnData",
|
|
37
|
-
type: "bytes[]",
|
|
38
|
-
internalType: "bytes[]",
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
stateMutability: "payable",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
type: "function",
|
|
45
|
-
name: "aggregate3",
|
|
46
|
-
inputs: [
|
|
47
|
-
{
|
|
48
|
-
name: "calls",
|
|
49
|
-
type: "tuple[]",
|
|
50
|
-
internalType: "struct IMulticall3.Call3[]",
|
|
51
|
-
components: [
|
|
52
|
-
{
|
|
53
|
-
name: "target",
|
|
54
|
-
type: "address",
|
|
55
|
-
internalType: "address",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
name: "allowFailure",
|
|
59
|
-
type: "bool",
|
|
60
|
-
internalType: "bool",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: "callData",
|
|
64
|
-
type: "bytes",
|
|
65
|
-
internalType: "bytes",
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
outputs: [
|
|
71
|
-
{
|
|
72
|
-
name: "returnData",
|
|
73
|
-
type: "tuple[]",
|
|
74
|
-
internalType: "struct IMulticall3.Result[]",
|
|
75
|
-
components: [
|
|
76
|
-
{
|
|
77
|
-
name: "success",
|
|
78
|
-
type: "bool",
|
|
79
|
-
internalType: "bool",
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
name: "returnData",
|
|
83
|
-
type: "bytes",
|
|
84
|
-
internalType: "bytes",
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
stateMutability: "payable",
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
type: "function",
|
|
93
|
-
name: "aggregate3Value",
|
|
94
|
-
inputs: [
|
|
95
|
-
{
|
|
96
|
-
name: "calls",
|
|
97
|
-
type: "tuple[]",
|
|
98
|
-
internalType: "struct IMulticall3.Call3Value[]",
|
|
99
|
-
components: [
|
|
100
|
-
{
|
|
101
|
-
name: "target",
|
|
102
|
-
type: "address",
|
|
103
|
-
internalType: "address",
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
name: "allowFailure",
|
|
107
|
-
type: "bool",
|
|
108
|
-
internalType: "bool",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
name: "value",
|
|
112
|
-
type: "uint256",
|
|
113
|
-
internalType: "uint256",
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
name: "callData",
|
|
117
|
-
type: "bytes",
|
|
118
|
-
internalType: "bytes",
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
|
-
outputs: [
|
|
124
|
-
{
|
|
125
|
-
name: "returnData",
|
|
126
|
-
type: "tuple[]",
|
|
127
|
-
internalType: "struct IMulticall3.Result[]",
|
|
128
|
-
components: [
|
|
129
|
-
{
|
|
130
|
-
name: "success",
|
|
131
|
-
type: "bool",
|
|
132
|
-
internalType: "bool",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
name: "returnData",
|
|
136
|
-
type: "bytes",
|
|
137
|
-
internalType: "bytes",
|
|
138
|
-
},
|
|
139
|
-
],
|
|
140
|
-
},
|
|
141
|
-
],
|
|
142
|
-
stateMutability: "payable",
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
type: "function",
|
|
146
|
-
name: "blockAndAggregate",
|
|
147
|
-
inputs: [
|
|
148
|
-
{
|
|
149
|
-
name: "calls",
|
|
150
|
-
type: "tuple[]",
|
|
151
|
-
internalType: "struct IMulticall3.Call[]",
|
|
152
|
-
components: [
|
|
153
|
-
{
|
|
154
|
-
name: "target",
|
|
155
|
-
type: "address",
|
|
156
|
-
internalType: "address",
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
name: "callData",
|
|
160
|
-
type: "bytes",
|
|
161
|
-
internalType: "bytes",
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
},
|
|
165
|
-
],
|
|
166
|
-
outputs: [
|
|
167
|
-
{
|
|
168
|
-
name: "blockNumber",
|
|
169
|
-
type: "uint256",
|
|
170
|
-
internalType: "uint256",
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
name: "blockHash",
|
|
174
|
-
type: "bytes32",
|
|
175
|
-
internalType: "bytes32",
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
name: "returnData",
|
|
179
|
-
type: "tuple[]",
|
|
180
|
-
internalType: "struct IMulticall3.Result[]",
|
|
181
|
-
components: [
|
|
182
|
-
{
|
|
183
|
-
name: "success",
|
|
184
|
-
type: "bool",
|
|
185
|
-
internalType: "bool",
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
name: "returnData",
|
|
189
|
-
type: "bytes",
|
|
190
|
-
internalType: "bytes",
|
|
191
|
-
},
|
|
192
|
-
],
|
|
193
|
-
},
|
|
194
|
-
],
|
|
195
|
-
stateMutability: "payable",
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
type: "function",
|
|
199
|
-
name: "getBasefee",
|
|
200
|
-
inputs: [],
|
|
201
|
-
outputs: [
|
|
202
|
-
{
|
|
203
|
-
name: "basefee",
|
|
204
|
-
type: "uint256",
|
|
205
|
-
internalType: "uint256",
|
|
206
|
-
},
|
|
207
|
-
],
|
|
208
|
-
stateMutability: "view",
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
type: "function",
|
|
212
|
-
name: "getBlockHash",
|
|
213
|
-
inputs: [
|
|
214
|
-
{
|
|
215
|
-
name: "blockNumber",
|
|
216
|
-
type: "uint256",
|
|
217
|
-
internalType: "uint256",
|
|
218
|
-
},
|
|
219
|
-
],
|
|
220
|
-
outputs: [
|
|
221
|
-
{
|
|
222
|
-
name: "blockHash",
|
|
223
|
-
type: "bytes32",
|
|
224
|
-
internalType: "bytes32",
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
stateMutability: "view",
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
type: "function",
|
|
231
|
-
name: "getBlockNumber",
|
|
232
|
-
inputs: [],
|
|
233
|
-
outputs: [
|
|
234
|
-
{
|
|
235
|
-
name: "blockNumber",
|
|
236
|
-
type: "uint256",
|
|
237
|
-
internalType: "uint256",
|
|
238
|
-
},
|
|
239
|
-
],
|
|
240
|
-
stateMutability: "view",
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
type: "function",
|
|
244
|
-
name: "getChainId",
|
|
245
|
-
inputs: [],
|
|
246
|
-
outputs: [
|
|
247
|
-
{
|
|
248
|
-
name: "chainid",
|
|
249
|
-
type: "uint256",
|
|
250
|
-
internalType: "uint256",
|
|
251
|
-
},
|
|
252
|
-
],
|
|
253
|
-
stateMutability: "view",
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
type: "function",
|
|
257
|
-
name: "getCurrentBlockCoinbase",
|
|
258
|
-
inputs: [],
|
|
259
|
-
outputs: [
|
|
260
|
-
{
|
|
261
|
-
name: "coinbase",
|
|
262
|
-
type: "address",
|
|
263
|
-
internalType: "address",
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
stateMutability: "view",
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
type: "function",
|
|
270
|
-
name: "getCurrentBlockDifficulty",
|
|
271
|
-
inputs: [],
|
|
272
|
-
outputs: [
|
|
273
|
-
{
|
|
274
|
-
name: "difficulty",
|
|
275
|
-
type: "uint256",
|
|
276
|
-
internalType: "uint256",
|
|
277
|
-
},
|
|
278
|
-
],
|
|
279
|
-
stateMutability: "view",
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
type: "function",
|
|
283
|
-
name: "getCurrentBlockGasLimit",
|
|
284
|
-
inputs: [],
|
|
285
|
-
outputs: [
|
|
286
|
-
{
|
|
287
|
-
name: "gaslimit",
|
|
288
|
-
type: "uint256",
|
|
289
|
-
internalType: "uint256",
|
|
290
|
-
},
|
|
291
|
-
],
|
|
292
|
-
stateMutability: "view",
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
type: "function",
|
|
296
|
-
name: "getCurrentBlockTimestamp",
|
|
297
|
-
inputs: [],
|
|
298
|
-
outputs: [
|
|
299
|
-
{
|
|
300
|
-
name: "timestamp",
|
|
301
|
-
type: "uint256",
|
|
302
|
-
internalType: "uint256",
|
|
303
|
-
},
|
|
304
|
-
],
|
|
305
|
-
stateMutability: "view",
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
type: "function",
|
|
309
|
-
name: "getEthBalance",
|
|
310
|
-
inputs: [
|
|
311
|
-
{
|
|
312
|
-
name: "addr",
|
|
313
|
-
type: "address",
|
|
314
|
-
internalType: "address",
|
|
315
|
-
},
|
|
316
|
-
],
|
|
317
|
-
outputs: [
|
|
318
|
-
{
|
|
319
|
-
name: "balance",
|
|
320
|
-
type: "uint256",
|
|
321
|
-
internalType: "uint256",
|
|
322
|
-
},
|
|
323
|
-
],
|
|
324
|
-
stateMutability: "view",
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
type: "function",
|
|
328
|
-
name: "getLastBlockHash",
|
|
329
|
-
inputs: [],
|
|
330
|
-
outputs: [
|
|
331
|
-
{
|
|
332
|
-
name: "blockHash",
|
|
333
|
-
type: "bytes32",
|
|
334
|
-
internalType: "bytes32",
|
|
335
|
-
},
|
|
336
|
-
],
|
|
337
|
-
stateMutability: "view",
|
|
338
|
-
},
|
|
339
7
|
{
|
|
340
8
|
type: "function",
|
|
341
9
|
name: "tryAggregate",
|
|
@@ -365,65 +33,7 @@ const _abi = [
|
|
|
365
33
|
],
|
|
366
34
|
outputs: [
|
|
367
35
|
{
|
|
368
|
-
name: "
|
|
369
|
-
type: "tuple[]",
|
|
370
|
-
internalType: "struct IMulticall3.Result[]",
|
|
371
|
-
components: [
|
|
372
|
-
{
|
|
373
|
-
name: "success",
|
|
374
|
-
type: "bool",
|
|
375
|
-
internalType: "bool",
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
name: "returnData",
|
|
379
|
-
type: "bytes",
|
|
380
|
-
internalType: "bytes",
|
|
381
|
-
},
|
|
382
|
-
],
|
|
383
|
-
},
|
|
384
|
-
],
|
|
385
|
-
stateMutability: "payable",
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
type: "function",
|
|
389
|
-
name: "tryBlockAndAggregate",
|
|
390
|
-
inputs: [
|
|
391
|
-
{
|
|
392
|
-
name: "requireSuccess",
|
|
393
|
-
type: "bool",
|
|
394
|
-
internalType: "bool",
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
name: "calls",
|
|
398
|
-
type: "tuple[]",
|
|
399
|
-
internalType: "struct IMulticall3.Call[]",
|
|
400
|
-
components: [
|
|
401
|
-
{
|
|
402
|
-
name: "target",
|
|
403
|
-
type: "address",
|
|
404
|
-
internalType: "address",
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
name: "callData",
|
|
408
|
-
type: "bytes",
|
|
409
|
-
internalType: "bytes",
|
|
410
|
-
},
|
|
411
|
-
],
|
|
412
|
-
},
|
|
413
|
-
],
|
|
414
|
-
outputs: [
|
|
415
|
-
{
|
|
416
|
-
name: "blockNumber",
|
|
417
|
-
type: "uint256",
|
|
418
|
-
internalType: "uint256",
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
name: "blockHash",
|
|
422
|
-
type: "bytes32",
|
|
423
|
-
internalType: "bytes32",
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
name: "returnData",
|
|
36
|
+
name: "",
|
|
427
37
|
type: "tuple[]",
|
|
428
38
|
internalType: "struct IMulticall3.Result[]",
|
|
429
39
|
components: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IMulticall3__factory.js","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/IMulticall3__factory.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,QAAQ,EAAU,KAAK,EAAE,MAAM,QAAQ,CAAC;AAIjD,MAAM,IAAI,GAAG;IACX;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"IMulticall3__factory.js","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/IMulticall3__factory.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,QAAQ,EAAU,KAAK,EAAE,MAAM,QAAQ,CAAC;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,MAAM,OAAO,oBAAoB;IAC/B,MAAM,CAAU,GAAG,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,KAAK,CAAC,SAAS,CAAC,IAAI,CAAyB,CAAC;IAC3D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAgB,CAAC;IACtE,CAAC"}
|
package/dist/esm/src/utils/abi/typechain/factories/SpokePoolPeripheryInterface__factory.d.ts
CHANGED
|
@@ -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";
|