@hinkal/common 0.0.111 → 0.0.113

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 (261) hide show
  1. package/index-DXElTGy9.mjs +254449 -0
  2. package/index.js +455 -642
  3. package/package.json +1 -1
  4. package/{webworker/snarkjsWorker/snarkjsWorkerLogic.js → snarkjsWorkerLogic-CVna_BW9.mjs} +1 -1
  5. package/utxoWorkerLogic-B1Hh-bq4.mjs +64 -0
  6. package/{webworker/workerProxy.js → workerProxy-BDj498Ht.mjs} +1 -1
  7. package/zkProofWorkerLogic-D9rxuuiK.mjs +60 -0
  8. package/API/API.js +0 -58
  9. package/API/HinkalPointsCalls.js +0 -38
  10. package/API/callBeefyGraphAPI.js +0 -37
  11. package/API/callCurveAPI.js +0 -156
  12. package/API/callMonitor.js +0 -30
  13. package/API/callOdosAPI.js +0 -44
  14. package/API/callOneInchAPI.js +0 -37
  15. package/API/callRelayer.js +0 -32
  16. package/API/checkRisk.js +0 -30
  17. package/API/dataServerCalls.js +0 -32
  18. package/API/fetchCommitmentsCache.js +0 -31
  19. package/API/fetchNullifiers.js +0 -30
  20. package/API/getAxelarGasEstimate.js +0 -37
  21. package/API/getCoingeckoPrice.js +0 -27
  22. package/API/getConnextReceiveFee.js +0 -30
  23. package/API/getGasEstimates.js +0 -38
  24. package/API/getRelayerURL.js +0 -32
  25. package/API/getServerURL.js +0 -67
  26. package/API/getTokenPrice.js +0 -41
  27. package/API/kycCalls.js +0 -32
  28. package/API/passwordCalls.js +0 -36
  29. package/API/referralProgramCalls.js +0 -58
  30. package/API/relayCalls.js +0 -30
  31. package/API/restoreSnapshots.js +0 -32
  32. package/API/rewardsPointsCalls.js +0 -40
  33. package/API/userVerifyTransactions.js +0 -45
  34. package/constants/assets.constants.js +0 -16
  35. package/constants/axelar.constants.js +0 -55
  36. package/constants/backend.constants.js +0 -18
  37. package/constants/beefy.registry.js +0 -24
  38. package/constants/chains.constants.js +0 -204
  39. package/constants/coingecko.constants.js +0 -53
  40. package/constants/contracts.constants.js +0 -276
  41. package/constants/crvCvx.registry.js +0 -636
  42. package/constants/crvDynamic.registry.js +0 -24
  43. package/constants/deploy-data/deploy-data-arbMainnet.json.js +0 -7415
  44. package/constants/deploy-data/deploy-data-avalanche.json.js +0 -7411
  45. package/constants/deploy-data/deploy-data-axelar1.json.js +0 -4329
  46. package/constants/deploy-data/deploy-data-axelar2.json.js +0 -4329
  47. package/constants/deploy-data/deploy-data-base.json.js +0 -8425
  48. package/constants/deploy-data/deploy-data-blast.json.js +0 -9600
  49. package/constants/deploy-data/deploy-data-bnbMainnet.json.js +0 -6877
  50. package/constants/deploy-data/deploy-data-ethMainnet.json.js +0 -11427
  51. package/constants/deploy-data/deploy-data-localhost.json.js +0 -13283
  52. package/constants/deploy-data/deploy-data-optimism.json.js +0 -7417
  53. package/constants/deploy-data/deploy-data-polygon.json.js +0 -7439
  54. package/constants/fees.constants.js +0 -57
  55. package/constants/kyc.constants.js +0 -118
  56. package/constants/lido.constants.js +0 -13
  57. package/constants/pendle.registry.js +0 -253
  58. package/constants/protocol.constants.js +0 -26
  59. package/constants/reorg-depths.constants.js +0 -15
  60. package/constants/rewards.constants.js +0 -27
  61. package/constants/server.constants.js +0 -157
  62. package/constants/token-data/ERC20Registry.js +0 -85
  63. package/constants/token-data/arbMainnetRegistry.json.js +0 -946
  64. package/constants/token-data/arbMainnetRegistryFixed.json.js +0 -856
  65. package/constants/token-data/avalancheRegistry.json.js +0 -591
  66. package/constants/token-data/avalancheRegistryFixed.json.js +0 -591
  67. package/constants/token-data/baseRegistry.json.js +0 -490
  68. package/constants/token-data/baseRegistryFixed.json.js +0 -463
  69. package/constants/token-data/blastRegistry.json.js +0 -137
  70. package/constants/token-data/blastRegistryFixed.json.js +0 -137
  71. package/constants/token-data/bnbMainnetRegistry.json.js +0 -973
  72. package/constants/token-data/bnbMainnetRegistryFixed.json.js +0 -973
  73. package/constants/token-data/coingeckoRegistry.json.js +0 -115623
  74. package/constants/token-data/ethMainnetRegistry.json.js +0 -2700
  75. package/constants/token-data/ethMainnetRegistryFixed.json.js +0 -2251
  76. package/constants/token-data/index.js +0 -6
  77. package/constants/token-data/localhostRegistry.json.js +0 -2768
  78. package/constants/token-data/optimismRegistry.json.js +0 -1455
  79. package/constants/token-data/optimismRegistryFixed.json.js +0 -1392
  80. package/constants/token-data/polygonRegistry.json.js +0 -1327
  81. package/constants/token-data/polygonRegistryFixed.json.js +0 -1255
  82. package/constants/token-data/popularTokens.constants.js +0 -14
  83. package/constants/token-data/tokenPricing.consts.js +0 -8
  84. package/constants/vite.constants.js +0 -29
  85. package/crypto/babyJub.js +0 -15
  86. package/crypto/poseidon.js +0 -26
  87. package/crypto/preProcessing.js +0 -9
  88. package/data-structures/Hinkal/Hinkal.js +0 -299
  89. package/data-structures/Hinkal/hinkalActionBeefy.js +0 -101
  90. package/data-structures/Hinkal/hinkalActionConvex.js +0 -83
  91. package/data-structures/Hinkal/hinkalActionCurve.js +0 -112
  92. package/data-structures/Hinkal/hinkalActionLidoEth.js +0 -91
  93. package/data-structures/Hinkal/hinkalActionPendle.js +0 -140
  94. package/data-structures/Hinkal/hinkalActionPendleLP.js +0 -96
  95. package/data-structures/Hinkal/hinkalActionStake.js +0 -138
  96. package/data-structures/Hinkal/hinkalActionVolatile.js +0 -112
  97. package/data-structures/Hinkal/hinkalDeposit.js +0 -95
  98. package/data-structures/Hinkal/hinkalGetZkMeProvider.js +0 -47
  99. package/data-structures/Hinkal/hinkalPrivateWallet.js +0 -66
  100. package/data-structures/Hinkal/hinkalSwap.js +0 -98
  101. package/data-structures/Hinkal/hinkalTransfer.js +0 -5
  102. package/data-structures/Hinkal/hinkalWithdraw.js +0 -91
  103. package/data-structures/Hinkal/resetMerkleTrees.js +0 -49
  104. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.js +0 -83
  105. package/data-structures/ValueCache/ValueCache.js +0 -25
  106. package/data-structures/crypto-keys/decodeUTXO.js +0 -40
  107. package/data-structures/crypto-keys/encryptDecryptUtxo.js +0 -41
  108. package/data-structures/crypto-keys/keyUtils.js +0 -10
  109. package/data-structures/crypto-keys/keys.js +0 -90
  110. package/data-structures/custom-token-registry/CustomTokenRegistry.js +0 -33
  111. package/data-structures/event-service/AbstractAccessTokenSnapshotService.js +0 -131
  112. package/data-structures/event-service/AbstractCommitmentsSnapshotService.js +0 -132
  113. package/data-structures/event-service/AbstractEventService.js +0 -118
  114. package/data-structures/event-service/AbstractNullifierSnapshotService.js +0 -59
  115. package/data-structures/event-service/AbstractSnapshotService.js +0 -35
  116. package/data-structures/merkle-tree/MerkleTree.js +0 -177
  117. package/data-structures/merkle-tree/MerkleTreeIncompleteError.js +0 -8
  118. package/data-structures/snapshot/ClientAccessTokenSnapshotService.js +0 -48
  119. package/data-structures/snapshot/ClientCommitmentsSnapshotService.js +0 -47
  120. package/data-structures/snapshot/ClientNullifierSnapshotService.js +0 -44
  121. package/data-structures/token-price-fetcher/TokenChecker.js +0 -29
  122. package/data-structures/token-price-fetcher/TokenPriceFetcher.js +0 -218
  123. package/data-structures/transactions-manager/TransactionsManager.js +0 -194
  124. package/data-structures/transactions-manager/history/getBeefyData.js +0 -68
  125. package/data-structures/transactions-manager/history/getConvexData.js +0 -57
  126. package/data-structures/transactions-manager/history/getCurveData.js +0 -97
  127. package/data-structures/transactions-manager/history/getDepositData.js +0 -36
  128. package/data-structures/transactions-manager/history/getLidoData.js +0 -44
  129. package/data-structures/transactions-manager/history/getPendleData.js +0 -59
  130. package/data-structures/transactions-manager/history/getSwapData.js +0 -43
  131. package/data-structures/transactions-manager/history/getTxDetails.js +0 -74
  132. package/data-structures/transactions-manager/history/getVolatileData.js +0 -75
  133. package/data-structures/transactions-manager/history/history.types.js +0 -62
  134. package/data-structures/transactions-manager/history/history.utils.js +0 -8
  135. package/data-structures/utxo/Utxo.js +0 -134
  136. package/data-structures/volatile-helper/VolatileHelper.js +0 -181
  137. package/error-handling/customErrors/ErrorWithAmount.js +0 -9
  138. package/error-handling/customErrors/FeeOverTransactionValueError.js +0 -9
  139. package/error-handling/customErrors/customErrors.helpers.js +0 -21
  140. package/error-handling/error-codes.constants.js +0 -184
  141. package/error-handling/get-error.message.js +0 -53
  142. package/error-handling/handleErrorRestore.js +0 -35
  143. package/error-handling/logError.js +0 -7
  144. package/error-handling/types.js +0 -4
  145. package/externalABIs/BUSD.js +0 -519
  146. package/externalABIs/BabPassport.json.js +0 -24
  147. package/externalABIs/BeefyRouterAbi.json.js +0 -1022
  148. package/externalABIs/BeefyStrategyAbi.json.js +0 -1423
  149. package/externalABIs/BeefyVaultAbi.json.js +0 -570
  150. package/externalABIs/BeefyZapAbi.json.js +0 -208
  151. package/externalABIs/BeefyZapOneInchAbi.json.js +0 -340
  152. package/externalABIs/ConvexBoosterAbi.json.js +0 -674
  153. package/externalABIs/ConvexBoosterAbiMainnet.json.js +0 -1002
  154. package/externalABIs/ConvexRewardPoolAbi.json.js +0 -883
  155. package/externalABIs/CurveReadingWrapperAbi.json.js +0 -1422
  156. package/externalABIs/CurveWrappedMainPool.json.js +0 -1136
  157. package/externalABIs/CurveZap.json.js +0 -262
  158. package/externalABIs/CvxCrvUtilities.json.js +0 -264
  159. package/externalABIs/DAI.js +0 -334
  160. package/externalABIs/ERC20.json.js +0 -291
  161. package/externalABIs/GalxePassport.json.js +0 -41
  162. package/externalABIs/IQuoterV2.json.js +0 -205
  163. package/externalABIs/ISwapRouter.json.js +0 -568
  164. package/externalABIs/IUniswapV3Factory.json.js +0 -201
  165. package/externalABIs/IUniswapV3Pool.json.js +0 -999
  166. package/externalABIs/LidoStEthAbi.json.js +0 -1603
  167. package/externalABIs/LidoStMaticAbi.json.js +0 -1764
  168. package/externalABIs/LidoStakeManagerAbi.json.js +0 -2082
  169. package/externalABIs/LidoWithdrawalQueueERC721Abi.json.js +0 -2030
  170. package/externalABIs/LidoWstEthAbi.json.js +0 -480
  171. package/externalABIs/OptimismGasPriceOracle.json.js +0 -206
  172. package/externalABIs/PendleRouterAbi.json.js +0 -173
  173. package/externalABIs/PoLidoNftAbi.json.js +0 -701
  174. package/externalABIs/SanctionsList.js +0 -89
  175. package/externalABIs/USDC.js +0 -721
  176. package/externalABIs/USDR.js +0 -346
  177. package/externalABIs/USDR3CRV.js +0 -542
  178. package/externalABIs/USDT.js +0 -393
  179. package/externalABIs/UniswapV2PoolAbi.json.js +0 -80
  180. package/externalABIs/WETH.js +0 -156
  181. package/externalABIs/amToken.js +0 -350
  182. package/externalABIs/transactionsProver.json.js +0 -39
  183. package/functions/kyc/authentoHelper.js +0 -42
  184. package/functions/kyc/passportHelper.js +0 -39
  185. package/functions/kyc/zkMeHelper.js +0 -56
  186. package/functions/pre-transaction/getFlatFees.js +0 -203
  187. package/functions/pre-transaction/interaction-to-action.js +0 -57
  188. package/functions/pre-transaction/outputUtxoProcessing.js +0 -45
  189. package/functions/pre-transaction/process-gas-estimates.js +0 -57
  190. package/functions/pre-transaction/processAmountChanges.js +0 -229
  191. package/functions/private-wallet/emporium.helpers.js +0 -19
  192. package/functions/private-wallet/opProducer.js +0 -24
  193. package/functions/protocols/convex.protocols.js +0 -41
  194. package/functions/protocols/curve.protocols.js +0 -45
  195. package/functions/protocols/pendle.helpers.js +0 -108
  196. package/functions/snarkjs/common.snarkjs.js +0 -96
  197. package/functions/snarkjs/constant.js +0 -211
  198. package/functions/snarkjs/constructEmporiumProof.js +0 -105
  199. package/functions/snarkjs/constructGeneralZkProof.js +0 -129
  200. package/functions/snarkjs/generateCircomData.js +0 -60
  201. package/functions/snarkjs/generateZkProof.js +0 -18
  202. package/functions/snarkjs/getZKFiles.js +0 -30
  203. package/functions/staking/index.js +0 -40
  204. package/functions/utils/amounts.utils.js +0 -70
  205. package/functions/utils/axelar.utils.js +0 -38
  206. package/functions/utils/cacheFunctions.js +0 -67
  207. package/functions/utils/caseInsensitive.utils.js +0 -6
  208. package/functions/utils/convertIntegrationProviderToExternalActionId.js +0 -16
  209. package/functions/utils/create-provider.js +0 -5
  210. package/functions/utils/enum.utils.js +0 -14
  211. package/functions/utils/erc20tokenFunctions.js +0 -20
  212. package/functions/utils/evmNetworkFunctions.js +0 -29
  213. package/functions/utils/external-action.utils.js +0 -61
  214. package/functions/utils/getDataFromTransaction.js +0 -105
  215. package/functions/utils/memoize.utils.js +0 -14
  216. package/functions/utils/nickname.utils.js +0 -7
  217. package/functions/utils/process.utils.js +0 -4
  218. package/functions/utils/reloadPage.js +0 -4
  219. package/functions/utils/requireEnv.js +0 -7
  220. package/functions/utils/resolve-sync.utils.js +0 -22
  221. package/functions/utils/serialize.utils.js +0 -4
  222. package/functions/utils/string.utils.js +0 -14
  223. package/functions/utils/time.utils.js +0 -8
  224. package/functions/utils/userAgent.js +0 -15
  225. package/functions/utils/volatile-patcher.utils.js +0 -40
  226. package/functions/web3/etherFunctions.js +0 -41
  227. package/functions/web3/events/balanceChangedHandler.js +0 -10
  228. package/functions/web3/events/getInputUtxoAndBalance.js +0 -72
  229. package/functions/web3/events/getShieldedBalance.js +0 -107
  230. package/functions/web3/events/web3RetrieveEvents.js +0 -9
  231. package/functions/web3/functionCalls/accessTokenCalls.js +0 -48
  232. package/functions/web3/functionCalls/approveToken.js +0 -153
  233. package/functions/web3/functionCalls/estimateGasRelayer.js +0 -18
  234. package/functions/web3/functionCalls/transactCallDirect.js +0 -60
  235. package/functions/web3/functionCalls/transactCallRelayer.js +0 -42
  236. package/functions/web3/odosAPI.js +0 -65
  237. package/functions/web3/oneInchAPI.js +0 -61
  238. package/functions/web3/runContractFunction.js +0 -95
  239. package/functions/web3/uniswapAPI.js +0 -97
  240. package/types/beefy.types.js +0 -21
  241. package/types/circom-data.types.js +0 -22
  242. package/types/curve.types.js +0 -25
  243. package/types/ethereum-network.types.js +0 -4
  244. package/types/external-action.types.js +0 -4
  245. package/types/hinkal.stake.types.js +0 -4
  246. package/types/hinkal.types.js +0 -15
  247. package/types/kyc.types.js +0 -13
  248. package/types/pendle.types.js +0 -15
  249. package/types/rewards.types.js +0 -27
  250. package/types/slippage.types.js +0 -15
  251. package/types/time.types.js +0 -58
  252. package/types/token.types.js +0 -4
  253. package/types/transactions.types.js +0 -36
  254. package/webworker/performTaskWithWorker.js +0 -62
  255. package/webworker/snarkjsWorker/snarkjsWorker.types.js +0 -4
  256. package/webworker/utxoWorker/utxoWorker.types.js +0 -4
  257. package/webworker/utxoWorker/utxoWorkerLogic.js +0 -70
  258. package/webworker/worker.registry.js +0 -4
  259. package/webworker/workerFactory.js +0 -42
  260. package/webworker/zkProofWorker/zkProofWorker.types.js +0 -4
  261. package/webworker/zkProofWorker/zkProofWorkerLogic.js +0 -66
@@ -1,2030 +0,0 @@
1
- const e = [
2
- {
3
- inputs: [
4
- {
5
- internalType: "address",
6
- name: "_wstETH",
7
- type: "address"
8
- },
9
- {
10
- internalType: "string",
11
- name: "_name",
12
- type: "string"
13
- },
14
- {
15
- internalType: "string",
16
- name: "_symbol",
17
- type: "string"
18
- }
19
- ],
20
- stateMutability: "nonpayable",
21
- type: "constructor"
22
- },
23
- {
24
- inputs: [],
25
- name: "AdminZeroAddress",
26
- type: "error"
27
- },
28
- {
29
- inputs: [],
30
- name: "ApprovalToOwner",
31
- type: "error"
32
- },
33
- {
34
- inputs: [],
35
- name: "ApproveToCaller",
36
- type: "error"
37
- },
38
- {
39
- inputs: [
40
- {
41
- internalType: "uint256",
42
- name: "_firstArrayLength",
43
- type: "uint256"
44
- },
45
- {
46
- internalType: "uint256",
47
- name: "_secondArrayLength",
48
- type: "uint256"
49
- }
50
- ],
51
- name: "ArraysLengthMismatch",
52
- type: "error"
53
- },
54
- {
55
- inputs: [],
56
- name: "BatchesAreNotSorted",
57
- type: "error"
58
- },
59
- {
60
- inputs: [],
61
- name: "CantSendValueRecipientMayHaveReverted",
62
- type: "error"
63
- },
64
- {
65
- inputs: [],
66
- name: "EmptyBatches",
67
- type: "error"
68
- },
69
- {
70
- inputs: [],
71
- name: "InvalidContractVersionIncrement",
72
- type: "error"
73
- },
74
- {
75
- inputs: [
76
- {
77
- internalType: "uint256",
78
- name: "_hint",
79
- type: "uint256"
80
- }
81
- ],
82
- name: "InvalidHint",
83
- type: "error"
84
- },
85
- {
86
- inputs: [
87
- {
88
- internalType: "address",
89
- name: "",
90
- type: "address"
91
- }
92
- ],
93
- name: "InvalidOwnerAddress",
94
- type: "error"
95
- },
96
- {
97
- inputs: [],
98
- name: "InvalidReportTimestamp",
99
- type: "error"
100
- },
101
- {
102
- inputs: [
103
- {
104
- internalType: "uint256",
105
- name: "_requestId",
106
- type: "uint256"
107
- }
108
- ],
109
- name: "InvalidRequestId",
110
- type: "error"
111
- },
112
- {
113
- inputs: [
114
- {
115
- internalType: "uint256",
116
- name: "startId",
117
- type: "uint256"
118
- },
119
- {
120
- internalType: "uint256",
121
- name: "endId",
122
- type: "uint256"
123
- }
124
- ],
125
- name: "InvalidRequestIdRange",
126
- type: "error"
127
- },
128
- {
129
- inputs: [],
130
- name: "InvalidState",
131
- type: "error"
132
- },
133
- {
134
- inputs: [],
135
- name: "NonZeroContractVersionOnInit",
136
- type: "error"
137
- },
138
- {
139
- inputs: [],
140
- name: "NotEnoughEther",
141
- type: "error"
142
- },
143
- {
144
- inputs: [
145
- {
146
- internalType: "address",
147
- name: "_sender",
148
- type: "address"
149
- },
150
- {
151
- internalType: "address",
152
- name: "_owner",
153
- type: "address"
154
- }
155
- ],
156
- name: "NotOwner",
157
- type: "error"
158
- },
159
- {
160
- inputs: [
161
- {
162
- internalType: "address",
163
- name: "sender",
164
- type: "address"
165
- }
166
- ],
167
- name: "NotOwnerOrApproved",
168
- type: "error"
169
- },
170
- {
171
- inputs: [
172
- {
173
- internalType: "address",
174
- name: "sender",
175
- type: "address"
176
- }
177
- ],
178
- name: "NotOwnerOrApprovedForAll",
179
- type: "error"
180
- },
181
- {
182
- inputs: [],
183
- name: "PauseUntilMustBeInFuture",
184
- type: "error"
185
- },
186
- {
187
- inputs: [],
188
- name: "PausedExpected",
189
- type: "error"
190
- },
191
- {
192
- inputs: [
193
- {
194
- internalType: "uint256",
195
- name: "_requestId",
196
- type: "uint256"
197
- }
198
- ],
199
- name: "RequestAlreadyClaimed",
200
- type: "error"
201
- },
202
- {
203
- inputs: [
204
- {
205
- internalType: "uint256",
206
- name: "_amountOfStETH",
207
- type: "uint256"
208
- }
209
- ],
210
- name: "RequestAmountTooLarge",
211
- type: "error"
212
- },
213
- {
214
- inputs: [
215
- {
216
- internalType: "uint256",
217
- name: "_amountOfStETH",
218
- type: "uint256"
219
- }
220
- ],
221
- name: "RequestAmountTooSmall",
222
- type: "error"
223
- },
224
- {
225
- inputs: [],
226
- name: "RequestIdsNotSorted",
227
- type: "error"
228
- },
229
- {
230
- inputs: [
231
- {
232
- internalType: "uint256",
233
- name: "_requestId",
234
- type: "uint256"
235
- }
236
- ],
237
- name: "RequestNotFoundOrNotFinalized",
238
- type: "error"
239
- },
240
- {
241
- inputs: [],
242
- name: "ResumedExpected",
243
- type: "error"
244
- },
245
- {
246
- inputs: [
247
- {
248
- internalType: "string",
249
- name: "str",
250
- type: "string"
251
- }
252
- ],
253
- name: "StringTooLong",
254
- type: "error"
255
- },
256
- {
257
- inputs: [
258
- {
259
- internalType: "uint256",
260
- name: "sent",
261
- type: "uint256"
262
- },
263
- {
264
- internalType: "uint256",
265
- name: "maxExpected",
266
- type: "uint256"
267
- }
268
- ],
269
- name: "TooMuchEtherToFinalize",
270
- type: "error"
271
- },
272
- {
273
- inputs: [
274
- {
275
- internalType: "address",
276
- name: "from",
277
- type: "address"
278
- },
279
- {
280
- internalType: "address",
281
- name: "realOwner",
282
- type: "address"
283
- }
284
- ],
285
- name: "TransferFromIncorrectOwner",
286
- type: "error"
287
- },
288
- {
289
- inputs: [],
290
- name: "TransferFromZeroAddress",
291
- type: "error"
292
- },
293
- {
294
- inputs: [
295
- {
296
- internalType: "address",
297
- name: "",
298
- type: "address"
299
- }
300
- ],
301
- name: "TransferToNonIERC721Receiver",
302
- type: "error"
303
- },
304
- {
305
- inputs: [],
306
- name: "TransferToThemselves",
307
- type: "error"
308
- },
309
- {
310
- inputs: [],
311
- name: "TransferToZeroAddress",
312
- type: "error"
313
- },
314
- {
315
- inputs: [
316
- {
317
- internalType: "uint256",
318
- name: "expected",
319
- type: "uint256"
320
- },
321
- {
322
- internalType: "uint256",
323
- name: "received",
324
- type: "uint256"
325
- }
326
- ],
327
- name: "UnexpectedContractVersion",
328
- type: "error"
329
- },
330
- {
331
- inputs: [],
332
- name: "ZeroAmountOfETH",
333
- type: "error"
334
- },
335
- {
336
- inputs: [],
337
- name: "ZeroMetadata",
338
- type: "error"
339
- },
340
- {
341
- inputs: [],
342
- name: "ZeroPauseDuration",
343
- type: "error"
344
- },
345
- {
346
- inputs: [],
347
- name: "ZeroRecipient",
348
- type: "error"
349
- },
350
- {
351
- inputs: [],
352
- name: "ZeroShareRate",
353
- type: "error"
354
- },
355
- {
356
- inputs: [],
357
- name: "ZeroTimestamp",
358
- type: "error"
359
- },
360
- {
361
- anonymous: !1,
362
- inputs: [
363
- {
364
- indexed: !0,
365
- internalType: "address",
366
- name: "owner",
367
- type: "address"
368
- },
369
- {
370
- indexed: !0,
371
- internalType: "address",
372
- name: "approved",
373
- type: "address"
374
- },
375
- {
376
- indexed: !0,
377
- internalType: "uint256",
378
- name: "tokenId",
379
- type: "uint256"
380
- }
381
- ],
382
- name: "Approval",
383
- type: "event"
384
- },
385
- {
386
- anonymous: !1,
387
- inputs: [
388
- {
389
- indexed: !0,
390
- internalType: "address",
391
- name: "owner",
392
- type: "address"
393
- },
394
- {
395
- indexed: !0,
396
- internalType: "address",
397
- name: "operator",
398
- type: "address"
399
- },
400
- {
401
- indexed: !1,
402
- internalType: "bool",
403
- name: "approved",
404
- type: "bool"
405
- }
406
- ],
407
- name: "ApprovalForAll",
408
- type: "event"
409
- },
410
- {
411
- anonymous: !1,
412
- inputs: [
413
- {
414
- indexed: !1,
415
- internalType: "string",
416
- name: "baseURI",
417
- type: "string"
418
- }
419
- ],
420
- name: "BaseURISet",
421
- type: "event"
422
- },
423
- {
424
- anonymous: !1,
425
- inputs: [
426
- {
427
- indexed: !1,
428
- internalType: "uint256",
429
- name: "_fromTokenId",
430
- type: "uint256"
431
- },
432
- {
433
- indexed: !1,
434
- internalType: "uint256",
435
- name: "_toTokenId",
436
- type: "uint256"
437
- }
438
- ],
439
- name: "BatchMetadataUpdate",
440
- type: "event"
441
- },
442
- {
443
- anonymous: !1,
444
- inputs: [],
445
- name: "BunkerModeDisabled",
446
- type: "event"
447
- },
448
- {
449
- anonymous: !1,
450
- inputs: [
451
- {
452
- indexed: !1,
453
- internalType: "uint256",
454
- name: "_sinceTimestamp",
455
- type: "uint256"
456
- }
457
- ],
458
- name: "BunkerModeEnabled",
459
- type: "event"
460
- },
461
- {
462
- anonymous: !1,
463
- inputs: [
464
- {
465
- indexed: !1,
466
- internalType: "uint256",
467
- name: "version",
468
- type: "uint256"
469
- }
470
- ],
471
- name: "ContractVersionSet",
472
- type: "event"
473
- },
474
- {
475
- anonymous: !1,
476
- inputs: [
477
- {
478
- indexed: !1,
479
- internalType: "address",
480
- name: "_admin",
481
- type: "address"
482
- }
483
- ],
484
- name: "InitializedV1",
485
- type: "event"
486
- },
487
- {
488
- anonymous: !1,
489
- inputs: [
490
- {
491
- indexed: !1,
492
- internalType: "uint256",
493
- name: "_tokenId",
494
- type: "uint256"
495
- }
496
- ],
497
- name: "MetadataUpdate",
498
- type: "event"
499
- },
500
- {
501
- anonymous: !1,
502
- inputs: [
503
- {
504
- indexed: !1,
505
- internalType: "address",
506
- name: "nftDescriptorAddress",
507
- type: "address"
508
- }
509
- ],
510
- name: "NftDescriptorAddressSet",
511
- type: "event"
512
- },
513
- {
514
- anonymous: !1,
515
- inputs: [
516
- {
517
- indexed: !1,
518
- internalType: "uint256",
519
- name: "duration",
520
- type: "uint256"
521
- }
522
- ],
523
- name: "Paused",
524
- type: "event"
525
- },
526
- {
527
- anonymous: !1,
528
- inputs: [],
529
- name: "Resumed",
530
- type: "event"
531
- },
532
- {
533
- anonymous: !1,
534
- inputs: [
535
- {
536
- indexed: !0,
537
- internalType: "bytes32",
538
- name: "role",
539
- type: "bytes32"
540
- },
541
- {
542
- indexed: !0,
543
- internalType: "bytes32",
544
- name: "previousAdminRole",
545
- type: "bytes32"
546
- },
547
- {
548
- indexed: !0,
549
- internalType: "bytes32",
550
- name: "newAdminRole",
551
- type: "bytes32"
552
- }
553
- ],
554
- name: "RoleAdminChanged",
555
- type: "event"
556
- },
557
- {
558
- anonymous: !1,
559
- inputs: [
560
- {
561
- indexed: !0,
562
- internalType: "bytes32",
563
- name: "role",
564
- type: "bytes32"
565
- },
566
- {
567
- indexed: !0,
568
- internalType: "address",
569
- name: "account",
570
- type: "address"
571
- },
572
- {
573
- indexed: !0,
574
- internalType: "address",
575
- name: "sender",
576
- type: "address"
577
- }
578
- ],
579
- name: "RoleGranted",
580
- type: "event"
581
- },
582
- {
583
- anonymous: !1,
584
- inputs: [
585
- {
586
- indexed: !0,
587
- internalType: "bytes32",
588
- name: "role",
589
- type: "bytes32"
590
- },
591
- {
592
- indexed: !0,
593
- internalType: "address",
594
- name: "account",
595
- type: "address"
596
- },
597
- {
598
- indexed: !0,
599
- internalType: "address",
600
- name: "sender",
601
- type: "address"
602
- }
603
- ],
604
- name: "RoleRevoked",
605
- type: "event"
606
- },
607
- {
608
- anonymous: !1,
609
- inputs: [
610
- {
611
- indexed: !0,
612
- internalType: "address",
613
- name: "from",
614
- type: "address"
615
- },
616
- {
617
- indexed: !0,
618
- internalType: "address",
619
- name: "to",
620
- type: "address"
621
- },
622
- {
623
- indexed: !0,
624
- internalType: "uint256",
625
- name: "tokenId",
626
- type: "uint256"
627
- }
628
- ],
629
- name: "Transfer",
630
- type: "event"
631
- },
632
- {
633
- anonymous: !1,
634
- inputs: [
635
- {
636
- indexed: !0,
637
- internalType: "uint256",
638
- name: "requestId",
639
- type: "uint256"
640
- },
641
- {
642
- indexed: !0,
643
- internalType: "address",
644
- name: "owner",
645
- type: "address"
646
- },
647
- {
648
- indexed: !0,
649
- internalType: "address",
650
- name: "receiver",
651
- type: "address"
652
- },
653
- {
654
- indexed: !1,
655
- internalType: "uint256",
656
- name: "amountOfETH",
657
- type: "uint256"
658
- }
659
- ],
660
- name: "WithdrawalClaimed",
661
- type: "event"
662
- },
663
- {
664
- anonymous: !1,
665
- inputs: [
666
- {
667
- indexed: !0,
668
- internalType: "uint256",
669
- name: "requestId",
670
- type: "uint256"
671
- },
672
- {
673
- indexed: !0,
674
- internalType: "address",
675
- name: "requestor",
676
- type: "address"
677
- },
678
- {
679
- indexed: !0,
680
- internalType: "address",
681
- name: "owner",
682
- type: "address"
683
- },
684
- {
685
- indexed: !1,
686
- internalType: "uint256",
687
- name: "amountOfStETH",
688
- type: "uint256"
689
- },
690
- {
691
- indexed: !1,
692
- internalType: "uint256",
693
- name: "amountOfShares",
694
- type: "uint256"
695
- }
696
- ],
697
- name: "WithdrawalRequested",
698
- type: "event"
699
- },
700
- {
701
- anonymous: !1,
702
- inputs: [
703
- {
704
- indexed: !0,
705
- internalType: "uint256",
706
- name: "from",
707
- type: "uint256"
708
- },
709
- {
710
- indexed: !0,
711
- internalType: "uint256",
712
- name: "to",
713
- type: "uint256"
714
- },
715
- {
716
- indexed: !1,
717
- internalType: "uint256",
718
- name: "amountOfETHLocked",
719
- type: "uint256"
720
- },
721
- {
722
- indexed: !1,
723
- internalType: "uint256",
724
- name: "sharesToBurn",
725
- type: "uint256"
726
- },
727
- {
728
- indexed: !1,
729
- internalType: "uint256",
730
- name: "timestamp",
731
- type: "uint256"
732
- }
733
- ],
734
- name: "WithdrawalsFinalized",
735
- type: "event"
736
- },
737
- {
738
- inputs: [],
739
- name: "BUNKER_MODE_DISABLED_TIMESTAMP",
740
- outputs: [
741
- {
742
- internalType: "uint256",
743
- name: "",
744
- type: "uint256"
745
- }
746
- ],
747
- stateMutability: "view",
748
- type: "function"
749
- },
750
- {
751
- inputs: [],
752
- name: "DEFAULT_ADMIN_ROLE",
753
- outputs: [
754
- {
755
- internalType: "bytes32",
756
- name: "",
757
- type: "bytes32"
758
- }
759
- ],
760
- stateMutability: "view",
761
- type: "function"
762
- },
763
- {
764
- inputs: [],
765
- name: "FINALIZE_ROLE",
766
- outputs: [
767
- {
768
- internalType: "bytes32",
769
- name: "",
770
- type: "bytes32"
771
- }
772
- ],
773
- stateMutability: "view",
774
- type: "function"
775
- },
776
- {
777
- inputs: [],
778
- name: "MANAGE_TOKEN_URI_ROLE",
779
- outputs: [
780
- {
781
- internalType: "bytes32",
782
- name: "",
783
- type: "bytes32"
784
- }
785
- ],
786
- stateMutability: "view",
787
- type: "function"
788
- },
789
- {
790
- inputs: [],
791
- name: "MAX_BATCHES_LENGTH",
792
- outputs: [
793
- {
794
- internalType: "uint256",
795
- name: "",
796
- type: "uint256"
797
- }
798
- ],
799
- stateMutability: "view",
800
- type: "function"
801
- },
802
- {
803
- inputs: [],
804
- name: "MAX_STETH_WITHDRAWAL_AMOUNT",
805
- outputs: [
806
- {
807
- internalType: "uint256",
808
- name: "",
809
- type: "uint256"
810
- }
811
- ],
812
- stateMutability: "view",
813
- type: "function"
814
- },
815
- {
816
- inputs: [],
817
- name: "MIN_STETH_WITHDRAWAL_AMOUNT",
818
- outputs: [
819
- {
820
- internalType: "uint256",
821
- name: "",
822
- type: "uint256"
823
- }
824
- ],
825
- stateMutability: "view",
826
- type: "function"
827
- },
828
- {
829
- inputs: [],
830
- name: "ORACLE_ROLE",
831
- outputs: [
832
- {
833
- internalType: "bytes32",
834
- name: "",
835
- type: "bytes32"
836
- }
837
- ],
838
- stateMutability: "view",
839
- type: "function"
840
- },
841
- {
842
- inputs: [],
843
- name: "PAUSE_INFINITELY",
844
- outputs: [
845
- {
846
- internalType: "uint256",
847
- name: "",
848
- type: "uint256"
849
- }
850
- ],
851
- stateMutability: "view",
852
- type: "function"
853
- },
854
- {
855
- inputs: [],
856
- name: "PAUSE_ROLE",
857
- outputs: [
858
- {
859
- internalType: "bytes32",
860
- name: "",
861
- type: "bytes32"
862
- }
863
- ],
864
- stateMutability: "view",
865
- type: "function"
866
- },
867
- {
868
- inputs: [],
869
- name: "RESUME_ROLE",
870
- outputs: [
871
- {
872
- internalType: "bytes32",
873
- name: "",
874
- type: "bytes32"
875
- }
876
- ],
877
- stateMutability: "view",
878
- type: "function"
879
- },
880
- {
881
- inputs: [],
882
- name: "STETH",
883
- outputs: [
884
- {
885
- internalType: "contract IStETH",
886
- name: "",
887
- type: "address"
888
- }
889
- ],
890
- stateMutability: "view",
891
- type: "function"
892
- },
893
- {
894
- inputs: [],
895
- name: "WSTETH",
896
- outputs: [
897
- {
898
- internalType: "contract IWstETH",
899
- name: "",
900
- type: "address"
901
- }
902
- ],
903
- stateMutability: "view",
904
- type: "function"
905
- },
906
- {
907
- inputs: [
908
- {
909
- internalType: "address",
910
- name: "_to",
911
- type: "address"
912
- },
913
- {
914
- internalType: "uint256",
915
- name: "_requestId",
916
- type: "uint256"
917
- }
918
- ],
919
- name: "approve",
920
- outputs: [],
921
- stateMutability: "nonpayable",
922
- type: "function"
923
- },
924
- {
925
- inputs: [
926
- {
927
- internalType: "address",
928
- name: "_owner",
929
- type: "address"
930
- }
931
- ],
932
- name: "balanceOf",
933
- outputs: [
934
- {
935
- internalType: "uint256",
936
- name: "",
937
- type: "uint256"
938
- }
939
- ],
940
- stateMutability: "view",
941
- type: "function"
942
- },
943
- {
944
- inputs: [],
945
- name: "bunkerModeSinceTimestamp",
946
- outputs: [
947
- {
948
- internalType: "uint256",
949
- name: "",
950
- type: "uint256"
951
- }
952
- ],
953
- stateMutability: "view",
954
- type: "function"
955
- },
956
- {
957
- inputs: [
958
- {
959
- internalType: "uint256",
960
- name: "_maxShareRate",
961
- type: "uint256"
962
- },
963
- {
964
- internalType: "uint256",
965
- name: "_maxTimestamp",
966
- type: "uint256"
967
- },
968
- {
969
- internalType: "uint256",
970
- name: "_maxRequestsPerCall",
971
- type: "uint256"
972
- },
973
- {
974
- components: [
975
- {
976
- internalType: "uint256",
977
- name: "remainingEthBudget",
978
- type: "uint256"
979
- },
980
- {
981
- internalType: "bool",
982
- name: "finished",
983
- type: "bool"
984
- },
985
- {
986
- internalType: "uint256[36]",
987
- name: "batches",
988
- type: "uint256[36]"
989
- },
990
- {
991
- internalType: "uint256",
992
- name: "batchesLength",
993
- type: "uint256"
994
- }
995
- ],
996
- internalType: "struct WithdrawalQueueBase.BatchesCalculationState",
997
- name: "_state",
998
- type: "tuple"
999
- }
1000
- ],
1001
- name: "calculateFinalizationBatches",
1002
- outputs: [
1003
- {
1004
- components: [
1005
- {
1006
- internalType: "uint256",
1007
- name: "remainingEthBudget",
1008
- type: "uint256"
1009
- },
1010
- {
1011
- internalType: "bool",
1012
- name: "finished",
1013
- type: "bool"
1014
- },
1015
- {
1016
- internalType: "uint256[36]",
1017
- name: "batches",
1018
- type: "uint256[36]"
1019
- },
1020
- {
1021
- internalType: "uint256",
1022
- name: "batchesLength",
1023
- type: "uint256"
1024
- }
1025
- ],
1026
- internalType: "struct WithdrawalQueueBase.BatchesCalculationState",
1027
- name: "",
1028
- type: "tuple"
1029
- }
1030
- ],
1031
- stateMutability: "view",
1032
- type: "function"
1033
- },
1034
- {
1035
- inputs: [
1036
- {
1037
- internalType: "uint256",
1038
- name: "_requestId",
1039
- type: "uint256"
1040
- }
1041
- ],
1042
- name: "claimWithdrawal",
1043
- outputs: [],
1044
- stateMutability: "nonpayable",
1045
- type: "function"
1046
- },
1047
- {
1048
- inputs: [
1049
- {
1050
- internalType: "uint256[]",
1051
- name: "_requestIds",
1052
- type: "uint256[]"
1053
- },
1054
- {
1055
- internalType: "uint256[]",
1056
- name: "_hints",
1057
- type: "uint256[]"
1058
- }
1059
- ],
1060
- name: "claimWithdrawals",
1061
- outputs: [],
1062
- stateMutability: "nonpayable",
1063
- type: "function"
1064
- },
1065
- {
1066
- inputs: [
1067
- {
1068
- internalType: "uint256[]",
1069
- name: "_requestIds",
1070
- type: "uint256[]"
1071
- },
1072
- {
1073
- internalType: "uint256[]",
1074
- name: "_hints",
1075
- type: "uint256[]"
1076
- },
1077
- {
1078
- internalType: "address",
1079
- name: "_recipient",
1080
- type: "address"
1081
- }
1082
- ],
1083
- name: "claimWithdrawalsTo",
1084
- outputs: [],
1085
- stateMutability: "nonpayable",
1086
- type: "function"
1087
- },
1088
- {
1089
- inputs: [
1090
- {
1091
- internalType: "uint256",
1092
- name: "_lastRequestIdToBeFinalized",
1093
- type: "uint256"
1094
- },
1095
- {
1096
- internalType: "uint256",
1097
- name: "_maxShareRate",
1098
- type: "uint256"
1099
- }
1100
- ],
1101
- name: "finalize",
1102
- outputs: [],
1103
- stateMutability: "payable",
1104
- type: "function"
1105
- },
1106
- {
1107
- inputs: [
1108
- {
1109
- internalType: "uint256[]",
1110
- name: "_requestIds",
1111
- type: "uint256[]"
1112
- },
1113
- {
1114
- internalType: "uint256",
1115
- name: "_firstIndex",
1116
- type: "uint256"
1117
- },
1118
- {
1119
- internalType: "uint256",
1120
- name: "_lastIndex",
1121
- type: "uint256"
1122
- }
1123
- ],
1124
- name: "findCheckpointHints",
1125
- outputs: [
1126
- {
1127
- internalType: "uint256[]",
1128
- name: "hintIds",
1129
- type: "uint256[]"
1130
- }
1131
- ],
1132
- stateMutability: "view",
1133
- type: "function"
1134
- },
1135
- {
1136
- inputs: [
1137
- {
1138
- internalType: "uint256",
1139
- name: "_requestId",
1140
- type: "uint256"
1141
- }
1142
- ],
1143
- name: "getApproved",
1144
- outputs: [
1145
- {
1146
- internalType: "address",
1147
- name: "",
1148
- type: "address"
1149
- }
1150
- ],
1151
- stateMutability: "view",
1152
- type: "function"
1153
- },
1154
- {
1155
- inputs: [],
1156
- name: "getBaseURI",
1157
- outputs: [
1158
- {
1159
- internalType: "string",
1160
- name: "",
1161
- type: "string"
1162
- }
1163
- ],
1164
- stateMutability: "view",
1165
- type: "function"
1166
- },
1167
- {
1168
- inputs: [
1169
- {
1170
- internalType: "uint256[]",
1171
- name: "_requestIds",
1172
- type: "uint256[]"
1173
- },
1174
- {
1175
- internalType: "uint256[]",
1176
- name: "_hints",
1177
- type: "uint256[]"
1178
- }
1179
- ],
1180
- name: "getClaimableEther",
1181
- outputs: [
1182
- {
1183
- internalType: "uint256[]",
1184
- name: "claimableEthValues",
1185
- type: "uint256[]"
1186
- }
1187
- ],
1188
- stateMutability: "view",
1189
- type: "function"
1190
- },
1191
- {
1192
- inputs: [],
1193
- name: "getContractVersion",
1194
- outputs: [
1195
- {
1196
- internalType: "uint256",
1197
- name: "",
1198
- type: "uint256"
1199
- }
1200
- ],
1201
- stateMutability: "view",
1202
- type: "function"
1203
- },
1204
- {
1205
- inputs: [],
1206
- name: "getLastCheckpointIndex",
1207
- outputs: [
1208
- {
1209
- internalType: "uint256",
1210
- name: "",
1211
- type: "uint256"
1212
- }
1213
- ],
1214
- stateMutability: "view",
1215
- type: "function"
1216
- },
1217
- {
1218
- inputs: [],
1219
- name: "getLastFinalizedRequestId",
1220
- outputs: [
1221
- {
1222
- internalType: "uint256",
1223
- name: "",
1224
- type: "uint256"
1225
- }
1226
- ],
1227
- stateMutability: "view",
1228
- type: "function"
1229
- },
1230
- {
1231
- inputs: [],
1232
- name: "getLastRequestId",
1233
- outputs: [
1234
- {
1235
- internalType: "uint256",
1236
- name: "",
1237
- type: "uint256"
1238
- }
1239
- ],
1240
- stateMutability: "view",
1241
- type: "function"
1242
- },
1243
- {
1244
- inputs: [],
1245
- name: "getLockedEtherAmount",
1246
- outputs: [
1247
- {
1248
- internalType: "uint256",
1249
- name: "",
1250
- type: "uint256"
1251
- }
1252
- ],
1253
- stateMutability: "view",
1254
- type: "function"
1255
- },
1256
- {
1257
- inputs: [],
1258
- name: "getNFTDescriptorAddress",
1259
- outputs: [
1260
- {
1261
- internalType: "address",
1262
- name: "",
1263
- type: "address"
1264
- }
1265
- ],
1266
- stateMutability: "view",
1267
- type: "function"
1268
- },
1269
- {
1270
- inputs: [],
1271
- name: "getResumeSinceTimestamp",
1272
- outputs: [
1273
- {
1274
- internalType: "uint256",
1275
- name: "",
1276
- type: "uint256"
1277
- }
1278
- ],
1279
- stateMutability: "view",
1280
- type: "function"
1281
- },
1282
- {
1283
- inputs: [
1284
- {
1285
- internalType: "bytes32",
1286
- name: "role",
1287
- type: "bytes32"
1288
- }
1289
- ],
1290
- name: "getRoleAdmin",
1291
- outputs: [
1292
- {
1293
- internalType: "bytes32",
1294
- name: "",
1295
- type: "bytes32"
1296
- }
1297
- ],
1298
- stateMutability: "view",
1299
- type: "function"
1300
- },
1301
- {
1302
- inputs: [
1303
- {
1304
- internalType: "bytes32",
1305
- name: "role",
1306
- type: "bytes32"
1307
- },
1308
- {
1309
- internalType: "uint256",
1310
- name: "index",
1311
- type: "uint256"
1312
- }
1313
- ],
1314
- name: "getRoleMember",
1315
- outputs: [
1316
- {
1317
- internalType: "address",
1318
- name: "",
1319
- type: "address"
1320
- }
1321
- ],
1322
- stateMutability: "view",
1323
- type: "function"
1324
- },
1325
- {
1326
- inputs: [
1327
- {
1328
- internalType: "bytes32",
1329
- name: "role",
1330
- type: "bytes32"
1331
- }
1332
- ],
1333
- name: "getRoleMemberCount",
1334
- outputs: [
1335
- {
1336
- internalType: "uint256",
1337
- name: "",
1338
- type: "uint256"
1339
- }
1340
- ],
1341
- stateMutability: "view",
1342
- type: "function"
1343
- },
1344
- {
1345
- inputs: [
1346
- {
1347
- internalType: "address",
1348
- name: "_owner",
1349
- type: "address"
1350
- }
1351
- ],
1352
- name: "getWithdrawalRequests",
1353
- outputs: [
1354
- {
1355
- internalType: "uint256[]",
1356
- name: "requestsIds",
1357
- type: "uint256[]"
1358
- }
1359
- ],
1360
- stateMutability: "view",
1361
- type: "function"
1362
- },
1363
- {
1364
- inputs: [
1365
- {
1366
- internalType: "uint256[]",
1367
- name: "_requestIds",
1368
- type: "uint256[]"
1369
- }
1370
- ],
1371
- name: "getWithdrawalStatus",
1372
- outputs: [
1373
- {
1374
- components: [
1375
- {
1376
- internalType: "uint256",
1377
- name: "amountOfStETH",
1378
- type: "uint256"
1379
- },
1380
- {
1381
- internalType: "uint256",
1382
- name: "amountOfShares",
1383
- type: "uint256"
1384
- },
1385
- {
1386
- internalType: "address",
1387
- name: "owner",
1388
- type: "address"
1389
- },
1390
- {
1391
- internalType: "uint256",
1392
- name: "timestamp",
1393
- type: "uint256"
1394
- },
1395
- {
1396
- internalType: "bool",
1397
- name: "isFinalized",
1398
- type: "bool"
1399
- },
1400
- {
1401
- internalType: "bool",
1402
- name: "isClaimed",
1403
- type: "bool"
1404
- }
1405
- ],
1406
- internalType: "struct WithdrawalQueueBase.WithdrawalRequestStatus[]",
1407
- name: "statuses",
1408
- type: "tuple[]"
1409
- }
1410
- ],
1411
- stateMutability: "view",
1412
- type: "function"
1413
- },
1414
- {
1415
- inputs: [
1416
- {
1417
- internalType: "bytes32",
1418
- name: "role",
1419
- type: "bytes32"
1420
- },
1421
- {
1422
- internalType: "address",
1423
- name: "account",
1424
- type: "address"
1425
- }
1426
- ],
1427
- name: "grantRole",
1428
- outputs: [],
1429
- stateMutability: "nonpayable",
1430
- type: "function"
1431
- },
1432
- {
1433
- inputs: [
1434
- {
1435
- internalType: "bytes32",
1436
- name: "role",
1437
- type: "bytes32"
1438
- },
1439
- {
1440
- internalType: "address",
1441
- name: "account",
1442
- type: "address"
1443
- }
1444
- ],
1445
- name: "hasRole",
1446
- outputs: [
1447
- {
1448
- internalType: "bool",
1449
- name: "",
1450
- type: "bool"
1451
- }
1452
- ],
1453
- stateMutability: "view",
1454
- type: "function"
1455
- },
1456
- {
1457
- inputs: [
1458
- {
1459
- internalType: "address",
1460
- name: "_admin",
1461
- type: "address"
1462
- }
1463
- ],
1464
- name: "initialize",
1465
- outputs: [],
1466
- stateMutability: "nonpayable",
1467
- type: "function"
1468
- },
1469
- {
1470
- inputs: [
1471
- {
1472
- internalType: "address",
1473
- name: "_owner",
1474
- type: "address"
1475
- },
1476
- {
1477
- internalType: "address",
1478
- name: "_operator",
1479
- type: "address"
1480
- }
1481
- ],
1482
- name: "isApprovedForAll",
1483
- outputs: [
1484
- {
1485
- internalType: "bool",
1486
- name: "",
1487
- type: "bool"
1488
- }
1489
- ],
1490
- stateMutability: "view",
1491
- type: "function"
1492
- },
1493
- {
1494
- inputs: [],
1495
- name: "isBunkerModeActive",
1496
- outputs: [
1497
- {
1498
- internalType: "bool",
1499
- name: "",
1500
- type: "bool"
1501
- }
1502
- ],
1503
- stateMutability: "view",
1504
- type: "function"
1505
- },
1506
- {
1507
- inputs: [],
1508
- name: "isPaused",
1509
- outputs: [
1510
- {
1511
- internalType: "bool",
1512
- name: "",
1513
- type: "bool"
1514
- }
1515
- ],
1516
- stateMutability: "view",
1517
- type: "function"
1518
- },
1519
- {
1520
- inputs: [],
1521
- name: "name",
1522
- outputs: [
1523
- {
1524
- internalType: "string",
1525
- name: "",
1526
- type: "string"
1527
- }
1528
- ],
1529
- stateMutability: "view",
1530
- type: "function"
1531
- },
1532
- {
1533
- inputs: [
1534
- {
1535
- internalType: "bool",
1536
- name: "_isBunkerModeNow",
1537
- type: "bool"
1538
- },
1539
- {
1540
- internalType: "uint256",
1541
- name: "_bunkerStartTimestamp",
1542
- type: "uint256"
1543
- },
1544
- {
1545
- internalType: "uint256",
1546
- name: "_currentReportTimestamp",
1547
- type: "uint256"
1548
- }
1549
- ],
1550
- name: "onOracleReport",
1551
- outputs: [],
1552
- stateMutability: "nonpayable",
1553
- type: "function"
1554
- },
1555
- {
1556
- inputs: [
1557
- {
1558
- internalType: "uint256",
1559
- name: "_requestId",
1560
- type: "uint256"
1561
- }
1562
- ],
1563
- name: "ownerOf",
1564
- outputs: [
1565
- {
1566
- internalType: "address",
1567
- name: "",
1568
- type: "address"
1569
- }
1570
- ],
1571
- stateMutability: "view",
1572
- type: "function"
1573
- },
1574
- {
1575
- inputs: [
1576
- {
1577
- internalType: "uint256",
1578
- name: "_duration",
1579
- type: "uint256"
1580
- }
1581
- ],
1582
- name: "pauseFor",
1583
- outputs: [],
1584
- stateMutability: "nonpayable",
1585
- type: "function"
1586
- },
1587
- {
1588
- inputs: [
1589
- {
1590
- internalType: "uint256",
1591
- name: "_pauseUntilInclusive",
1592
- type: "uint256"
1593
- }
1594
- ],
1595
- name: "pauseUntil",
1596
- outputs: [],
1597
- stateMutability: "nonpayable",
1598
- type: "function"
1599
- },
1600
- {
1601
- inputs: [
1602
- {
1603
- internalType: "uint256[]",
1604
- name: "_batches",
1605
- type: "uint256[]"
1606
- },
1607
- {
1608
- internalType: "uint256",
1609
- name: "_maxShareRate",
1610
- type: "uint256"
1611
- }
1612
- ],
1613
- name: "prefinalize",
1614
- outputs: [
1615
- {
1616
- internalType: "uint256",
1617
- name: "ethToLock",
1618
- type: "uint256"
1619
- },
1620
- {
1621
- internalType: "uint256",
1622
- name: "sharesToBurn",
1623
- type: "uint256"
1624
- }
1625
- ],
1626
- stateMutability: "view",
1627
- type: "function"
1628
- },
1629
- {
1630
- inputs: [
1631
- {
1632
- internalType: "bytes32",
1633
- name: "role",
1634
- type: "bytes32"
1635
- },
1636
- {
1637
- internalType: "address",
1638
- name: "account",
1639
- type: "address"
1640
- }
1641
- ],
1642
- name: "renounceRole",
1643
- outputs: [],
1644
- stateMutability: "nonpayable",
1645
- type: "function"
1646
- },
1647
- {
1648
- inputs: [
1649
- {
1650
- internalType: "uint256[]",
1651
- name: "_amounts",
1652
- type: "uint256[]"
1653
- },
1654
- {
1655
- internalType: "address",
1656
- name: "_owner",
1657
- type: "address"
1658
- }
1659
- ],
1660
- name: "requestWithdrawals",
1661
- outputs: [
1662
- {
1663
- internalType: "uint256[]",
1664
- name: "requestIds",
1665
- type: "uint256[]"
1666
- }
1667
- ],
1668
- stateMutability: "nonpayable",
1669
- type: "function"
1670
- },
1671
- {
1672
- inputs: [
1673
- {
1674
- internalType: "uint256[]",
1675
- name: "_amounts",
1676
- type: "uint256[]"
1677
- },
1678
- {
1679
- internalType: "address",
1680
- name: "_owner",
1681
- type: "address"
1682
- },
1683
- {
1684
- components: [
1685
- {
1686
- internalType: "uint256",
1687
- name: "value",
1688
- type: "uint256"
1689
- },
1690
- {
1691
- internalType: "uint256",
1692
- name: "deadline",
1693
- type: "uint256"
1694
- },
1695
- {
1696
- internalType: "uint8",
1697
- name: "v",
1698
- type: "uint8"
1699
- },
1700
- {
1701
- internalType: "bytes32",
1702
- name: "r",
1703
- type: "bytes32"
1704
- },
1705
- {
1706
- internalType: "bytes32",
1707
- name: "s",
1708
- type: "bytes32"
1709
- }
1710
- ],
1711
- internalType: "struct WithdrawalQueue.PermitInput",
1712
- name: "_permit",
1713
- type: "tuple"
1714
- }
1715
- ],
1716
- name: "requestWithdrawalsWithPermit",
1717
- outputs: [
1718
- {
1719
- internalType: "uint256[]",
1720
- name: "requestIds",
1721
- type: "uint256[]"
1722
- }
1723
- ],
1724
- stateMutability: "nonpayable",
1725
- type: "function"
1726
- },
1727
- {
1728
- inputs: [
1729
- {
1730
- internalType: "uint256[]",
1731
- name: "_amounts",
1732
- type: "uint256[]"
1733
- },
1734
- {
1735
- internalType: "address",
1736
- name: "_owner",
1737
- type: "address"
1738
- }
1739
- ],
1740
- name: "requestWithdrawalsWstETH",
1741
- outputs: [
1742
- {
1743
- internalType: "uint256[]",
1744
- name: "requestIds",
1745
- type: "uint256[]"
1746
- }
1747
- ],
1748
- stateMutability: "nonpayable",
1749
- type: "function"
1750
- },
1751
- {
1752
- inputs: [
1753
- {
1754
- internalType: "uint256[]",
1755
- name: "_amounts",
1756
- type: "uint256[]"
1757
- },
1758
- {
1759
- internalType: "address",
1760
- name: "_owner",
1761
- type: "address"
1762
- },
1763
- {
1764
- components: [
1765
- {
1766
- internalType: "uint256",
1767
- name: "value",
1768
- type: "uint256"
1769
- },
1770
- {
1771
- internalType: "uint256",
1772
- name: "deadline",
1773
- type: "uint256"
1774
- },
1775
- {
1776
- internalType: "uint8",
1777
- name: "v",
1778
- type: "uint8"
1779
- },
1780
- {
1781
- internalType: "bytes32",
1782
- name: "r",
1783
- type: "bytes32"
1784
- },
1785
- {
1786
- internalType: "bytes32",
1787
- name: "s",
1788
- type: "bytes32"
1789
- }
1790
- ],
1791
- internalType: "struct WithdrawalQueue.PermitInput",
1792
- name: "_permit",
1793
- type: "tuple"
1794
- }
1795
- ],
1796
- name: "requestWithdrawalsWstETHWithPermit",
1797
- outputs: [
1798
- {
1799
- internalType: "uint256[]",
1800
- name: "requestIds",
1801
- type: "uint256[]"
1802
- }
1803
- ],
1804
- stateMutability: "nonpayable",
1805
- type: "function"
1806
- },
1807
- {
1808
- inputs: [],
1809
- name: "resume",
1810
- outputs: [],
1811
- stateMutability: "nonpayable",
1812
- type: "function"
1813
- },
1814
- {
1815
- inputs: [
1816
- {
1817
- internalType: "bytes32",
1818
- name: "role",
1819
- type: "bytes32"
1820
- },
1821
- {
1822
- internalType: "address",
1823
- name: "account",
1824
- type: "address"
1825
- }
1826
- ],
1827
- name: "revokeRole",
1828
- outputs: [],
1829
- stateMutability: "nonpayable",
1830
- type: "function"
1831
- },
1832
- {
1833
- inputs: [
1834
- {
1835
- internalType: "address",
1836
- name: "_from",
1837
- type: "address"
1838
- },
1839
- {
1840
- internalType: "address",
1841
- name: "_to",
1842
- type: "address"
1843
- },
1844
- {
1845
- internalType: "uint256",
1846
- name: "_requestId",
1847
- type: "uint256"
1848
- }
1849
- ],
1850
- name: "safeTransferFrom",
1851
- outputs: [],
1852
- stateMutability: "nonpayable",
1853
- type: "function"
1854
- },
1855
- {
1856
- inputs: [
1857
- {
1858
- internalType: "address",
1859
- name: "_from",
1860
- type: "address"
1861
- },
1862
- {
1863
- internalType: "address",
1864
- name: "_to",
1865
- type: "address"
1866
- },
1867
- {
1868
- internalType: "uint256",
1869
- name: "_requestId",
1870
- type: "uint256"
1871
- },
1872
- {
1873
- internalType: "bytes",
1874
- name: "_data",
1875
- type: "bytes"
1876
- }
1877
- ],
1878
- name: "safeTransferFrom",
1879
- outputs: [],
1880
- stateMutability: "nonpayable",
1881
- type: "function"
1882
- },
1883
- {
1884
- inputs: [
1885
- {
1886
- internalType: "address",
1887
- name: "_operator",
1888
- type: "address"
1889
- },
1890
- {
1891
- internalType: "bool",
1892
- name: "_approved",
1893
- type: "bool"
1894
- }
1895
- ],
1896
- name: "setApprovalForAll",
1897
- outputs: [],
1898
- stateMutability: "nonpayable",
1899
- type: "function"
1900
- },
1901
- {
1902
- inputs: [
1903
- {
1904
- internalType: "string",
1905
- name: "_baseURI",
1906
- type: "string"
1907
- }
1908
- ],
1909
- name: "setBaseURI",
1910
- outputs: [],
1911
- stateMutability: "nonpayable",
1912
- type: "function"
1913
- },
1914
- {
1915
- inputs: [
1916
- {
1917
- internalType: "address",
1918
- name: "_nftDescriptorAddress",
1919
- type: "address"
1920
- }
1921
- ],
1922
- name: "setNFTDescriptorAddress",
1923
- outputs: [],
1924
- stateMutability: "nonpayable",
1925
- type: "function"
1926
- },
1927
- {
1928
- inputs: [
1929
- {
1930
- internalType: "bytes4",
1931
- name: "interfaceId",
1932
- type: "bytes4"
1933
- }
1934
- ],
1935
- name: "supportsInterface",
1936
- outputs: [
1937
- {
1938
- internalType: "bool",
1939
- name: "",
1940
- type: "bool"
1941
- }
1942
- ],
1943
- stateMutability: "view",
1944
- type: "function"
1945
- },
1946
- {
1947
- inputs: [],
1948
- name: "symbol",
1949
- outputs: [
1950
- {
1951
- internalType: "string",
1952
- name: "",
1953
- type: "string"
1954
- }
1955
- ],
1956
- stateMutability: "view",
1957
- type: "function"
1958
- },
1959
- {
1960
- inputs: [
1961
- {
1962
- internalType: "uint256",
1963
- name: "_requestId",
1964
- type: "uint256"
1965
- }
1966
- ],
1967
- name: "tokenURI",
1968
- outputs: [
1969
- {
1970
- internalType: "string",
1971
- name: "",
1972
- type: "string"
1973
- }
1974
- ],
1975
- stateMutability: "view",
1976
- type: "function"
1977
- },
1978
- {
1979
- inputs: [
1980
- {
1981
- internalType: "address",
1982
- name: "_from",
1983
- type: "address"
1984
- },
1985
- {
1986
- internalType: "address",
1987
- name: "_to",
1988
- type: "address"
1989
- },
1990
- {
1991
- internalType: "uint256",
1992
- name: "_requestId",
1993
- type: "uint256"
1994
- }
1995
- ],
1996
- name: "transferFrom",
1997
- outputs: [],
1998
- stateMutability: "nonpayable",
1999
- type: "function"
2000
- },
2001
- {
2002
- inputs: [],
2003
- name: "unfinalizedRequestNumber",
2004
- outputs: [
2005
- {
2006
- internalType: "uint256",
2007
- name: "",
2008
- type: "uint256"
2009
- }
2010
- ],
2011
- stateMutability: "view",
2012
- type: "function"
2013
- },
2014
- {
2015
- inputs: [],
2016
- name: "unfinalizedStETH",
2017
- outputs: [
2018
- {
2019
- internalType: "uint256",
2020
- name: "",
2021
- type: "uint256"
2022
- }
2023
- ],
2024
- stateMutability: "view",
2025
- type: "function"
2026
- }
2027
- ];
2028
- export {
2029
- e as default
2030
- };