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