@gearbox-protocol/sdk 0.0.78 → 0.0.79
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/lib/types/contracts/adapters/lido/LidoV1.sol/LidoV1Adapter.d.ts +97 -1
- package/lib/types/contracts/adapters/lido/LidoV1_WETHGateway.sol/LidoV1Gateway.d.ts +97 -1
- package/lib/types/contracts/integrations/lido/IstETH.sol/IstETH.d.ts +226 -0
- package/lib/types/contracts/integrations/lido/IstETH.sol/IstETH.js +2 -0
- package/lib/types/contracts/integrations/lido/IstETH.sol/IstETHGetters.d.ts +210 -0
- package/lib/types/contracts/integrations/lido/IstETH.sol/IstETHGetters.js +2 -0
- package/lib/types/contracts/integrations/lido/IstETH.sol/index.d.ts +2 -0
- package/lib/types/contracts/integrations/lido/IstETH.sol/index.js +2 -0
- package/lib/types/contracts/integrations/lido/index.d.ts +2 -1
- package/lib/types/contracts/interfaces/adapters/lido/ILidoV1Adapter.sol/ILidoV1Adapter.d.ts +97 -1
- package/lib/types/factories/contracts/adapters/lido/LidoV1.sol/LidoV1Adapter__factory.d.ts +1 -1
- package/lib/types/factories/contracts/adapters/lido/LidoV1.sol/LidoV1Adapter__factory.js +192 -1
- package/lib/types/factories/contracts/adapters/lido/LidoV1_WETHGateway.sol/LidoV1Gateway__factory.d.ts +1 -1
- package/lib/types/factories/contracts/adapters/lido/LidoV1_WETHGateway.sol/LidoV1Gateway__factory.js +192 -1
- package/lib/types/factories/contracts/integrations/lido/IstETH.sol/IstETHGetters__factory.d.ts +35 -0
- package/lib/types/factories/contracts/integrations/lido/IstETH.sol/IstETHGetters__factory.js +340 -0
- package/lib/types/factories/contracts/integrations/lido/IstETH.sol/IstETH__factory.d.ts +35 -0
- package/lib/types/factories/contracts/integrations/lido/IstETH.sol/IstETH__factory.js +359 -0
- package/lib/types/factories/contracts/integrations/lido/IstETH.sol/index.d.ts +2 -0
- package/lib/types/factories/contracts/integrations/lido/IstETH.sol/index.js +10 -0
- package/lib/types/factories/contracts/integrations/lido/index.d.ts +1 -1
- package/lib/types/factories/contracts/integrations/lido/index.js +25 -3
- package/lib/types/factories/contracts/interfaces/adapters/lido/ILidoV1Adapter.sol/ILidoV1Adapter__factory.d.ts +3 -10
- package/lib/types/factories/contracts/interfaces/adapters/lido/ILidoV1Adapter.sol/ILidoV1Adapter__factory.js +191 -0
- package/lib/types/factories/contracts/support/PauseMulticall__factory.d.ts +1 -1
- package/lib/types/factories/contracts/support/PauseMulticall__factory.js +1 -1
- package/lib/types/factories/contracts/test/adapters/LidoV1Adapter.t.sol/LidoV1AdapterTest__factory.d.ts +1 -1
- package/lib/types/factories/contracts/test/adapters/LidoV1Adapter.t.sol/LidoV1AdapterTest__factory.js +1 -1
- package/lib/types/factories/contracts/test/support/PauseMulticall.t.sol/PauseMulticallTest__factory.d.ts +1 -1
- package/lib/types/factories/contracts/test/support/PauseMulticall.t.sol/PauseMulticallTest__factory.js +1 -1
- package/lib/types/hardhat.d.ts +9 -0
- package/lib/types/index.d.ts +4 -2
- package/lib/types/index.js +7 -5
- package/package.json +1 -1
- package/src/types/contracts/adapters/lido/LidoV1.sol/LidoV1Adapter.ts +262 -0
- package/src/types/contracts/adapters/lido/LidoV1_WETHGateway.sol/LidoV1Gateway.ts +266 -1
- package/src/types/contracts/integrations/lido/{IstETH.ts → IstETH.sol/IstETH.ts} +186 -1
- package/src/types/contracts/integrations/lido/IstETH.sol/IstETHGetters.ts +507 -0
- package/src/types/contracts/integrations/lido/IstETH.sol/index.ts +5 -0
- package/src/types/contracts/integrations/lido/index.ts +2 -1
- package/src/types/contracts/interfaces/adapters/lido/ILidoV1Adapter.sol/ILidoV1Adapter.ts +262 -0
- package/src/types/factories/contracts/adapters/lido/LidoV1.sol/LidoV1Adapter__factory.ts +192 -1
- package/src/types/factories/contracts/adapters/lido/LidoV1_WETHGateway.sol/LidoV1Gateway__factory.ts +192 -1
- package/src/types/factories/contracts/integrations/lido/IstETH.sol/IstETHGetters__factory.ts +344 -0
- package/src/types/factories/contracts/integrations/lido/{IstETH__factory.ts → IstETH.sol/IstETH__factory.ts} +136 -1
- package/src/types/factories/contracts/integrations/lido/IstETH.sol/index.ts +5 -0
- package/src/types/factories/contracts/integrations/lido/index.ts +1 -1
- package/src/types/factories/contracts/interfaces/adapters/lido/ILidoV1Adapter.sol/ILidoV1Adapter__factory.ts +191 -0
- package/src/types/factories/contracts/support/PauseMulticall__factory.ts +1 -1
- package/src/types/factories/contracts/test/adapters/LidoV1Adapter.t.sol/LidoV1AdapterTest__factory.ts +1 -1
- package/src/types/factories/contracts/test/support/PauseMulticall.t.sol/PauseMulticallTest__factory.ts +1 -1
- package/src/types/hardhat.d.ts +9 -0
- package/src/types/index.ts +4 -2
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IstETH__factory = void 0;
|
|
7
|
+
var ethers_1 = require("ethers");
|
|
8
|
+
var _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: true,
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "owner",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: true,
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "spender",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
indexed: false,
|
|
26
|
+
internalType: "uint256",
|
|
27
|
+
name: "value",
|
|
28
|
+
type: "uint256",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "Approval",
|
|
32
|
+
type: "event",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
anonymous: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
indexed: true,
|
|
39
|
+
internalType: "address",
|
|
40
|
+
name: "from",
|
|
41
|
+
type: "address",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
indexed: true,
|
|
45
|
+
internalType: "address",
|
|
46
|
+
name: "to",
|
|
47
|
+
type: "address",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
indexed: false,
|
|
51
|
+
internalType: "uint256",
|
|
52
|
+
name: "value",
|
|
53
|
+
type: "uint256",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "Transfer",
|
|
57
|
+
type: "event",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "owner",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
internalType: "address",
|
|
68
|
+
name: "spender",
|
|
69
|
+
type: "address",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
name: "allowance",
|
|
73
|
+
outputs: [
|
|
74
|
+
{
|
|
75
|
+
internalType: "uint256",
|
|
76
|
+
name: "",
|
|
77
|
+
type: "uint256",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
stateMutability: "view",
|
|
81
|
+
type: "function",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
inputs: [
|
|
85
|
+
{
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "spender",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
internalType: "uint256",
|
|
92
|
+
name: "amount",
|
|
93
|
+
type: "uint256",
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
name: "approve",
|
|
97
|
+
outputs: [
|
|
98
|
+
{
|
|
99
|
+
internalType: "bool",
|
|
100
|
+
name: "",
|
|
101
|
+
type: "bool",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
stateMutability: "nonpayable",
|
|
105
|
+
type: "function",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
inputs: [
|
|
109
|
+
{
|
|
110
|
+
internalType: "address",
|
|
111
|
+
name: "account",
|
|
112
|
+
type: "address",
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
name: "balanceOf",
|
|
116
|
+
outputs: [
|
|
117
|
+
{
|
|
118
|
+
internalType: "uint256",
|
|
119
|
+
name: "",
|
|
120
|
+
type: "uint256",
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
stateMutability: "view",
|
|
124
|
+
type: "function",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
inputs: [],
|
|
128
|
+
name: "decimals",
|
|
129
|
+
outputs: [
|
|
130
|
+
{
|
|
131
|
+
internalType: "uint8",
|
|
132
|
+
name: "",
|
|
133
|
+
type: "uint8",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
stateMutability: "view",
|
|
137
|
+
type: "function",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
inputs: [],
|
|
141
|
+
name: "getFee",
|
|
142
|
+
outputs: [
|
|
143
|
+
{
|
|
144
|
+
internalType: "uint16",
|
|
145
|
+
name: "",
|
|
146
|
+
type: "uint16",
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
stateMutability: "view",
|
|
150
|
+
type: "function",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
inputs: [
|
|
154
|
+
{
|
|
155
|
+
internalType: "uint256",
|
|
156
|
+
name: "_sharesAmount",
|
|
157
|
+
type: "uint256",
|
|
158
|
+
},
|
|
159
|
+
],
|
|
160
|
+
name: "getPooledEthByShares",
|
|
161
|
+
outputs: [
|
|
162
|
+
{
|
|
163
|
+
internalType: "uint256",
|
|
164
|
+
name: "",
|
|
165
|
+
type: "uint256",
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
stateMutability: "view",
|
|
169
|
+
type: "function",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
inputs: [
|
|
173
|
+
{
|
|
174
|
+
internalType: "uint256",
|
|
175
|
+
name: "_ethAmount",
|
|
176
|
+
type: "uint256",
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
name: "getSharesByPooledEth",
|
|
180
|
+
outputs: [
|
|
181
|
+
{
|
|
182
|
+
internalType: "uint256",
|
|
183
|
+
name: "",
|
|
184
|
+
type: "uint256",
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
stateMutability: "view",
|
|
188
|
+
type: "function",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
inputs: [],
|
|
192
|
+
name: "getTotalPooledEther",
|
|
193
|
+
outputs: [
|
|
194
|
+
{
|
|
195
|
+
internalType: "uint256",
|
|
196
|
+
name: "",
|
|
197
|
+
type: "uint256",
|
|
198
|
+
},
|
|
199
|
+
],
|
|
200
|
+
stateMutability: "view",
|
|
201
|
+
type: "function",
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
inputs: [],
|
|
205
|
+
name: "getTotalShares",
|
|
206
|
+
outputs: [
|
|
207
|
+
{
|
|
208
|
+
internalType: "uint256",
|
|
209
|
+
name: "",
|
|
210
|
+
type: "uint256",
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
stateMutability: "view",
|
|
214
|
+
type: "function",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
inputs: [],
|
|
218
|
+
name: "name",
|
|
219
|
+
outputs: [
|
|
220
|
+
{
|
|
221
|
+
internalType: "string",
|
|
222
|
+
name: "",
|
|
223
|
+
type: "string",
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
stateMutability: "view",
|
|
227
|
+
type: "function",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
inputs: [
|
|
231
|
+
{
|
|
232
|
+
internalType: "address",
|
|
233
|
+
name: "_account",
|
|
234
|
+
type: "address",
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
name: "sharesOf",
|
|
238
|
+
outputs: [
|
|
239
|
+
{
|
|
240
|
+
internalType: "uint256",
|
|
241
|
+
name: "",
|
|
242
|
+
type: "uint256",
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
stateMutability: "view",
|
|
246
|
+
type: "function",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
inputs: [
|
|
250
|
+
{
|
|
251
|
+
internalType: "address",
|
|
252
|
+
name: "_referral",
|
|
253
|
+
type: "address",
|
|
254
|
+
},
|
|
255
|
+
],
|
|
256
|
+
name: "submit",
|
|
257
|
+
outputs: [
|
|
258
|
+
{
|
|
259
|
+
internalType: "uint256",
|
|
260
|
+
name: "",
|
|
261
|
+
type: "uint256",
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
stateMutability: "payable",
|
|
265
|
+
type: "function",
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
inputs: [],
|
|
269
|
+
name: "symbol",
|
|
270
|
+
outputs: [
|
|
271
|
+
{
|
|
272
|
+
internalType: "string",
|
|
273
|
+
name: "",
|
|
274
|
+
type: "string",
|
|
275
|
+
},
|
|
276
|
+
],
|
|
277
|
+
stateMutability: "view",
|
|
278
|
+
type: "function",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
inputs: [],
|
|
282
|
+
name: "totalSupply",
|
|
283
|
+
outputs: [
|
|
284
|
+
{
|
|
285
|
+
internalType: "uint256",
|
|
286
|
+
name: "",
|
|
287
|
+
type: "uint256",
|
|
288
|
+
},
|
|
289
|
+
],
|
|
290
|
+
stateMutability: "view",
|
|
291
|
+
type: "function",
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
inputs: [
|
|
295
|
+
{
|
|
296
|
+
internalType: "address",
|
|
297
|
+
name: "recipient",
|
|
298
|
+
type: "address",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
internalType: "uint256",
|
|
302
|
+
name: "amount",
|
|
303
|
+
type: "uint256",
|
|
304
|
+
},
|
|
305
|
+
],
|
|
306
|
+
name: "transfer",
|
|
307
|
+
outputs: [
|
|
308
|
+
{
|
|
309
|
+
internalType: "bool",
|
|
310
|
+
name: "",
|
|
311
|
+
type: "bool",
|
|
312
|
+
},
|
|
313
|
+
],
|
|
314
|
+
stateMutability: "nonpayable",
|
|
315
|
+
type: "function",
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
inputs: [
|
|
319
|
+
{
|
|
320
|
+
internalType: "address",
|
|
321
|
+
name: "sender",
|
|
322
|
+
type: "address",
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
internalType: "address",
|
|
326
|
+
name: "recipient",
|
|
327
|
+
type: "address",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
internalType: "uint256",
|
|
331
|
+
name: "amount",
|
|
332
|
+
type: "uint256",
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
name: "transferFrom",
|
|
336
|
+
outputs: [
|
|
337
|
+
{
|
|
338
|
+
internalType: "bool",
|
|
339
|
+
name: "",
|
|
340
|
+
type: "bool",
|
|
341
|
+
},
|
|
342
|
+
],
|
|
343
|
+
stateMutability: "nonpayable",
|
|
344
|
+
type: "function",
|
|
345
|
+
},
|
|
346
|
+
];
|
|
347
|
+
var IstETH__factory = /** @class */ (function () {
|
|
348
|
+
function IstETH__factory() {
|
|
349
|
+
}
|
|
350
|
+
IstETH__factory.createInterface = function () {
|
|
351
|
+
return new ethers_1.utils.Interface(_abi);
|
|
352
|
+
};
|
|
353
|
+
IstETH__factory.connect = function (address, signerOrProvider) {
|
|
354
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
355
|
+
};
|
|
356
|
+
IstETH__factory.abi = _abi;
|
|
357
|
+
return IstETH__factory;
|
|
358
|
+
}());
|
|
359
|
+
exports.IstETH__factory = IstETH__factory;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IstETHGetters__factory = exports.IstETH__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
var IstETH__factory_1 = require("./IstETH__factory");
|
|
8
|
+
Object.defineProperty(exports, "IstETH__factory", { enumerable: true, get: function () { return IstETH__factory_1.IstETH__factory; } });
|
|
9
|
+
var IstETHGetters__factory_1 = require("./IstETHGetters__factory");
|
|
10
|
+
Object.defineProperty(exports, "IstETHGetters__factory", { enumerable: true, get: function () { return IstETHGetters__factory_1.IstETHGetters__factory; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * as istEthSol from "./IstETH.sol";
|
|
@@ -1,8 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
26
|
+
exports.istEthSol = void 0;
|
|
4
27
|
/* Autogenerated file. Do not edit manually. */
|
|
5
28
|
/* tslint:disable */
|
|
6
29
|
/* eslint-disable */
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "IstETH__factory", { enumerable: true, get: function () { return IstETH__factory_1.IstETH__factory; } });
|
|
30
|
+
exports.istEthSol = __importStar(require("./IstETH.sol"));
|
|
@@ -26,24 +26,17 @@ export declare class ILidoV1Adapter__factory {
|
|
|
26
26
|
outputs?: undefined;
|
|
27
27
|
stateMutability?: undefined;
|
|
28
28
|
} | {
|
|
29
|
-
inputs:
|
|
30
|
-
name: string;
|
|
31
|
-
outputs: {
|
|
29
|
+
inputs: {
|
|
32
30
|
internalType: string;
|
|
33
31
|
name: string;
|
|
34
32
|
type: string;
|
|
35
33
|
}[];
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
anonymous?: undefined;
|
|
39
|
-
} | {
|
|
40
|
-
inputs: {
|
|
34
|
+
name: string;
|
|
35
|
+
outputs: {
|
|
41
36
|
internalType: string;
|
|
42
37
|
name: string;
|
|
43
38
|
type: string;
|
|
44
39
|
}[];
|
|
45
|
-
name: string;
|
|
46
|
-
outputs: never[];
|
|
47
40
|
stateMutability: string;
|
|
48
41
|
type: string;
|
|
49
42
|
anonymous?: undefined;
|
|
@@ -61,6 +61,49 @@ var _abi = [
|
|
|
61
61
|
stateMutability: "pure",
|
|
62
62
|
type: "function",
|
|
63
63
|
},
|
|
64
|
+
{
|
|
65
|
+
inputs: [
|
|
66
|
+
{
|
|
67
|
+
internalType: "address",
|
|
68
|
+
name: "_owner",
|
|
69
|
+
type: "address",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
internalType: "address",
|
|
73
|
+
name: "_spender",
|
|
74
|
+
type: "address",
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
name: "allowance",
|
|
78
|
+
outputs: [
|
|
79
|
+
{
|
|
80
|
+
internalType: "uint256",
|
|
81
|
+
name: "",
|
|
82
|
+
type: "uint256",
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
stateMutability: "view",
|
|
86
|
+
type: "function",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
inputs: [
|
|
90
|
+
{
|
|
91
|
+
internalType: "address",
|
|
92
|
+
name: "_account",
|
|
93
|
+
type: "address",
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
name: "balanceOf",
|
|
97
|
+
outputs: [
|
|
98
|
+
{
|
|
99
|
+
internalType: "uint256",
|
|
100
|
+
name: "",
|
|
101
|
+
type: "uint256",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
stateMutability: "view",
|
|
105
|
+
type: "function",
|
|
106
|
+
},
|
|
64
107
|
{
|
|
65
108
|
inputs: [],
|
|
66
109
|
name: "creditFacade",
|
|
@@ -87,6 +130,109 @@ var _abi = [
|
|
|
87
130
|
stateMutability: "view",
|
|
88
131
|
type: "function",
|
|
89
132
|
},
|
|
133
|
+
{
|
|
134
|
+
inputs: [],
|
|
135
|
+
name: "decimals",
|
|
136
|
+
outputs: [
|
|
137
|
+
{
|
|
138
|
+
internalType: "uint8",
|
|
139
|
+
name: "",
|
|
140
|
+
type: "uint8",
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
stateMutability: "view",
|
|
144
|
+
type: "function",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
inputs: [],
|
|
148
|
+
name: "getFee",
|
|
149
|
+
outputs: [
|
|
150
|
+
{
|
|
151
|
+
internalType: "uint16",
|
|
152
|
+
name: "",
|
|
153
|
+
type: "uint16",
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
stateMutability: "view",
|
|
157
|
+
type: "function",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
inputs: [
|
|
161
|
+
{
|
|
162
|
+
internalType: "uint256",
|
|
163
|
+
name: "_sharesAmount",
|
|
164
|
+
type: "uint256",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
name: "getPooledEthByShares",
|
|
168
|
+
outputs: [
|
|
169
|
+
{
|
|
170
|
+
internalType: "uint256",
|
|
171
|
+
name: "",
|
|
172
|
+
type: "uint256",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
stateMutability: "view",
|
|
176
|
+
type: "function",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
inputs: [
|
|
180
|
+
{
|
|
181
|
+
internalType: "uint256",
|
|
182
|
+
name: "_ethAmount",
|
|
183
|
+
type: "uint256",
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
name: "getSharesByPooledEth",
|
|
187
|
+
outputs: [
|
|
188
|
+
{
|
|
189
|
+
internalType: "uint256",
|
|
190
|
+
name: "",
|
|
191
|
+
type: "uint256",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
stateMutability: "view",
|
|
195
|
+
type: "function",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
inputs: [],
|
|
199
|
+
name: "getTotalPooledEther",
|
|
200
|
+
outputs: [
|
|
201
|
+
{
|
|
202
|
+
internalType: "uint256",
|
|
203
|
+
name: "",
|
|
204
|
+
type: "uint256",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
stateMutability: "view",
|
|
208
|
+
type: "function",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
inputs: [],
|
|
212
|
+
name: "getTotalShares",
|
|
213
|
+
outputs: [
|
|
214
|
+
{
|
|
215
|
+
internalType: "uint256",
|
|
216
|
+
name: "",
|
|
217
|
+
type: "uint256",
|
|
218
|
+
},
|
|
219
|
+
],
|
|
220
|
+
stateMutability: "view",
|
|
221
|
+
type: "function",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
inputs: [],
|
|
225
|
+
name: "name",
|
|
226
|
+
outputs: [
|
|
227
|
+
{
|
|
228
|
+
internalType: "string",
|
|
229
|
+
name: "",
|
|
230
|
+
type: "string",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
stateMutability: "view",
|
|
234
|
+
type: "function",
|
|
235
|
+
},
|
|
90
236
|
{
|
|
91
237
|
inputs: [
|
|
92
238
|
{
|
|
@@ -100,6 +246,38 @@ var _abi = [
|
|
|
100
246
|
stateMutability: "nonpayable",
|
|
101
247
|
type: "function",
|
|
102
248
|
},
|
|
249
|
+
{
|
|
250
|
+
inputs: [
|
|
251
|
+
{
|
|
252
|
+
internalType: "address",
|
|
253
|
+
name: "_account",
|
|
254
|
+
type: "address",
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
name: "sharesOf",
|
|
258
|
+
outputs: [
|
|
259
|
+
{
|
|
260
|
+
internalType: "uint256",
|
|
261
|
+
name: "",
|
|
262
|
+
type: "uint256",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
stateMutability: "view",
|
|
266
|
+
type: "function",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
inputs: [],
|
|
270
|
+
name: "symbol",
|
|
271
|
+
outputs: [
|
|
272
|
+
{
|
|
273
|
+
internalType: "string",
|
|
274
|
+
name: "",
|
|
275
|
+
type: "string",
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
stateMutability: "view",
|
|
279
|
+
type: "function",
|
|
280
|
+
},
|
|
103
281
|
{
|
|
104
282
|
inputs: [],
|
|
105
283
|
name: "targetContract",
|
|
@@ -113,6 +291,19 @@ var _abi = [
|
|
|
113
291
|
stateMutability: "view",
|
|
114
292
|
type: "function",
|
|
115
293
|
},
|
|
294
|
+
{
|
|
295
|
+
inputs: [],
|
|
296
|
+
name: "totalSupply",
|
|
297
|
+
outputs: [
|
|
298
|
+
{
|
|
299
|
+
internalType: "uint256",
|
|
300
|
+
name: "",
|
|
301
|
+
type: "uint256",
|
|
302
|
+
},
|
|
303
|
+
],
|
|
304
|
+
stateMutability: "view",
|
|
305
|
+
type: "function",
|
|
306
|
+
},
|
|
116
307
|
];
|
|
117
308
|
var ILidoV1Adapter__factory = /** @class */ (function () {
|
|
118
309
|
function ILidoV1Adapter__factory() {
|
|
@@ -12,7 +12,7 @@ export declare class PauseMulticall__factory extends ContractFactory {
|
|
|
12
12
|
}): TransactionRequest;
|
|
13
13
|
attach(address: string): PauseMulticall;
|
|
14
14
|
connect(signer: Signer): PauseMulticall__factory;
|
|
15
|
-
static readonly bytecode = "
|
|
15
|
+
static readonly bytecode = "0x60e060405234801561001057600080fd5b50604051610e07380380610e0783398101604081905261002f916101d3565b6000805460ff19169055806001600160a01b03811661006157604051635919af9760e11b815260040160405180910390fd5b806001600160a01b031663087376956040518163ffffffff1660e01b8152600401602060405180830381865afa15801561009f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c391906101d3565b6001600160a01b03166080816001600160a01b031681525050506000819050806001600160a01b031663087376956040518163ffffffff1660e01b8152600401602060405180830381865afa158015610120573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014491906101d3565b6001600160a01b031660a0816001600160a01b031681525050806001600160a01b031663c513c9bb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561019b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101bf91906101d3565b6001600160a01b031660c052506102039050565b6000602082840312156101e557600080fd5b81516001600160a01b03811681146101fc57600080fd5b9392505050565b60805160a05160c051610b9e6102696000396000818160da0152818161035e015281816104fb015261064d015260008181610165015281816102a301528181610440015261059201526000818161013e015281816101b501526106e40152610b9e6000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c80636f074436116100765780638456cb591161005b5780638456cb5914610131578063a50cf2c814610139578063de2873591461016057600080fd5b80636f074436146101215780637c205cc41461012957600080fd5b80633f4ba83a146100a8578063488bf5b4146100b25780635c975abb146100ba57806362eb33e3146100d5575b600080fd5b6100b0610187565b005b6100b0610275565b60005460ff1660405190151581526020015b60405180910390f35b6100fc7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100cc565b6100b0610412565b6100b0610564565b6100b06106b6565b6100fc7f000000000000000000000000000000000000000000000000000000000000000081565b6100fc7f000000000000000000000000000000000000000000000000000000000000000081565b6040517fd4eb5db00000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063d4eb5db090602401602060405180830381865afa158015610211573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023591906109d5565b61026b576040517f10332dee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102736107a2565b565b6040517f3a41ec640000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690633a41ec6490602401602060405180830381865afa1580156102ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032391906109d5565b610359576040517fd794b1e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102737f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663673a2a1f6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103c7573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261040d9190810190610a56565b610888565b6040517f3a41ec640000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690633a41ec6490602401602060405180830381865afa15801561049c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c091906109d5565b6104f6576040517fd794b1e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102737f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663941448566040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103c7573d6000803e3d6000fd5b6040517f3a41ec640000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690633a41ec6490602401602060405180830381865afa1580156105ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061291906109d5565b610648576040517fd794b1e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6104f67f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663673a2a1f6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103c7573d6000803e3d6000fd5b6040517f3a41ec640000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690633a41ec6490602401602060405180830381865afa158015610740573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076491906109d5565b61079a576040517fd794b1e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610273610915565b60005460ff16610813576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b805160005b81811015610910578281815181106108a7576108a7610b39565b602002602001015173ffffffffffffffffffffffffffffffffffffffff16638456cb596040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156108f657600080fd5b505af1925050508015610907575060015b5060010161088d565b505050565b60005460ff1615610982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161080a565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861085e3390565b6000602082840312156109e757600080fd5b815180151581146109f757600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b805173ffffffffffffffffffffffffffffffffffffffff81168114610a5157600080fd5b919050565b60006020808385031215610a6957600080fd5b825167ffffffffffffffff80821115610a8157600080fd5b818501915085601f830112610a9557600080fd5b815181811115610aa757610aa76109fe565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715610aea57610aea6109fe565b604052918252848201925083810185019188831115610b0857600080fd5b938501935b82851015610b2d57610b1e85610a2d565b84529385019392850192610b0d565b98975050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220447f0f77525e705c0a5e6b52ca0e24e5cc01de5da45af8d70c2ebe6c0db8851364736f6c634300080a0033";
|
|
16
16
|
static readonly abi: ({
|
|
17
17
|
inputs: {
|
|
18
18
|
internalType: string;
|