@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.
- package/dist/cjs/src/arch/evm/BlockUtils.js +11 -6
- package/dist/cjs/src/arch/evm/BlockUtils.js.map +1 -1
- package/dist/cjs/src/arch/tvm/TransactionUtils.js +15 -2
- package/dist/cjs/src/arch/tvm/TransactionUtils.js.map +1 -1
- 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/arch/evm/BlockUtils.js +18 -6
- package/dist/esm/src/arch/evm/BlockUtils.js.map +1 -1
- package/dist/esm/src/arch/tvm/TransactionUtils.d.ts +7 -1
- package/dist/esm/src/arch/tvm/TransactionUtils.js +40 -4
- package/dist/esm/src/arch/tvm/TransactionUtils.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/arch/evm/BlockUtils.d.ts.map +1 -1
- package/dist/types/src/arch/tvm/TransactionUtils.d.ts +7 -1
- package/dist/types/src/arch/tvm/TransactionUtils.d.ts.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/arch/evm/BlockUtils.ts +20 -6
- package/src/arch/tvm/TransactionUtils.ts +44 -4
- 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
|
@@ -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: "
|
|
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,
|
|
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"}
|
package/dist/cjs/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";
|