@hinkal/common 0.0.110 → 0.0.112

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,1764 +0,0 @@
1
- const e = [
2
- {
3
- anonymous: !1,
4
- inputs: [
5
- {
6
- indexed: !0,
7
- internalType: "address",
8
- name: "owner",
9
- type: "address"
10
- },
11
- {
12
- indexed: !0,
13
- internalType: "address",
14
- name: "spender",
15
- type: "address"
16
- },
17
- {
18
- indexed: !1,
19
- internalType: "uint256",
20
- name: "value",
21
- type: "uint256"
22
- }
23
- ],
24
- name: "Approval",
25
- type: "event"
26
- },
27
- {
28
- anonymous: !1,
29
- inputs: [
30
- {
31
- indexed: !0,
32
- internalType: "address",
33
- name: "_from",
34
- type: "address"
35
- },
36
- {
37
- indexed: !0,
38
- internalType: "uint256",
39
- name: "_id",
40
- type: "uint256"
41
- },
42
- {
43
- indexed: !0,
44
- internalType: "uint256",
45
- name: "_amountClaimed",
46
- type: "uint256"
47
- },
48
- {
49
- indexed: !1,
50
- internalType: "uint256",
51
- name: "_amountBurned",
52
- type: "uint256"
53
- }
54
- ],
55
- name: "ClaimTokensEvent",
56
- type: "event"
57
- },
58
- {
59
- anonymous: !1,
60
- inputs: [
61
- {
62
- indexed: !0,
63
- internalType: "address",
64
- name: "validatorShare",
65
- type: "address"
66
- },
67
- {
68
- indexed: !0,
69
- internalType: "uint256",
70
- name: "amountClaimed",
71
- type: "uint256"
72
- }
73
- ],
74
- name: "ClaimTotalDelegatedEvent",
75
- type: "event"
76
- },
77
- {
78
- anonymous: !1,
79
- inputs: [
80
- {
81
- indexed: !0,
82
- internalType: "uint256",
83
- name: "_amountDelegated",
84
- type: "uint256"
85
- },
86
- {
87
- indexed: !0,
88
- internalType: "uint256",
89
- name: "_remainder",
90
- type: "uint256"
91
- }
92
- ],
93
- name: "DelegateEvent",
94
- type: "event"
95
- },
96
- {
97
- anonymous: !1,
98
- inputs: [
99
- {
100
- indexed: !0,
101
- internalType: "uint256",
102
- name: "_amount",
103
- type: "uint256"
104
- }
105
- ],
106
- name: "DistributeRewardsEvent",
107
- type: "event"
108
- },
109
- {
110
- anonymous: !1,
111
- inputs: [
112
- {
113
- indexed: !1,
114
- internalType: "address",
115
- name: "account",
116
- type: "address"
117
- }
118
- ],
119
- name: "Paused",
120
- type: "event"
121
- },
122
- {
123
- anonymous: !1,
124
- inputs: [
125
- {
126
- indexed: !0,
127
- internalType: "address",
128
- name: "_from",
129
- type: "address"
130
- },
131
- {
132
- indexed: !1,
133
- internalType: "uint256",
134
- name: "_amount",
135
- type: "uint256"
136
- },
137
- {
138
- indexed: !0,
139
- internalType: "address",
140
- name: "_referral",
141
- type: "address"
142
- }
143
- ],
144
- name: "RequestWithdrawEvent",
145
- type: "event"
146
- },
147
- {
148
- anonymous: !1,
149
- inputs: [
150
- {
151
- indexed: !0,
152
- internalType: "bytes32",
153
- name: "role",
154
- type: "bytes32"
155
- },
156
- {
157
- indexed: !0,
158
- internalType: "bytes32",
159
- name: "previousAdminRole",
160
- type: "bytes32"
161
- },
162
- {
163
- indexed: !0,
164
- internalType: "bytes32",
165
- name: "newAdminRole",
166
- type: "bytes32"
167
- }
168
- ],
169
- name: "RoleAdminChanged",
170
- type: "event"
171
- },
172
- {
173
- anonymous: !1,
174
- inputs: [
175
- {
176
- indexed: !0,
177
- internalType: "bytes32",
178
- name: "role",
179
- type: "bytes32"
180
- },
181
- {
182
- indexed: !0,
183
- internalType: "address",
184
- name: "account",
185
- type: "address"
186
- },
187
- {
188
- indexed: !0,
189
- internalType: "address",
190
- name: "sender",
191
- type: "address"
192
- }
193
- ],
194
- name: "RoleGranted",
195
- type: "event"
196
- },
197
- {
198
- anonymous: !1,
199
- inputs: [
200
- {
201
- indexed: !0,
202
- internalType: "bytes32",
203
- name: "role",
204
- type: "bytes32"
205
- },
206
- {
207
- indexed: !0,
208
- internalType: "address",
209
- name: "account",
210
- type: "address"
211
- },
212
- {
213
- indexed: !0,
214
- internalType: "address",
215
- name: "sender",
216
- type: "address"
217
- }
218
- ],
219
- name: "RoleRevoked",
220
- type: "event"
221
- },
222
- {
223
- anonymous: !1,
224
- inputs: [
225
- {
226
- indexed: !1,
227
- internalType: "address",
228
- name: "oldDaoAddress",
229
- type: "address"
230
- },
231
- {
232
- indexed: !1,
233
- internalType: "address",
234
- name: "newDaoAddress",
235
- type: "address"
236
- }
237
- ],
238
- name: "SetDaoAddress",
239
- type: "event"
240
- },
241
- {
242
- anonymous: !1,
243
- inputs: [
244
- {
245
- indexed: !0,
246
- internalType: "uint256",
247
- name: "_delegationLowerBound",
248
- type: "uint256"
249
- }
250
- ],
251
- name: "SetDelegationLowerBound",
252
- type: "event"
253
- },
254
- {
255
- anonymous: !1,
256
- inputs: [
257
- {
258
- indexed: !1,
259
- internalType: "uint256",
260
- name: "daoFee",
261
- type: "uint256"
262
- },
263
- {
264
- indexed: !1,
265
- internalType: "uint256",
266
- name: "operatorsFee",
267
- type: "uint256"
268
- },
269
- {
270
- indexed: !1,
271
- internalType: "uint256",
272
- name: "insuranceFee",
273
- type: "uint256"
274
- }
275
- ],
276
- name: "SetFees",
277
- type: "event"
278
- },
279
- {
280
- anonymous: !1,
281
- inputs: [
282
- {
283
- indexed: !1,
284
- internalType: "address",
285
- name: "oldFxStateRootTunnel",
286
- type: "address"
287
- },
288
- {
289
- indexed: !1,
290
- internalType: "address",
291
- name: "newFxStateRootTunnel",
292
- type: "address"
293
- }
294
- ],
295
- name: "SetFxStateRootTunnel",
296
- type: "event"
297
- },
298
- {
299
- anonymous: !1,
300
- inputs: [
301
- {
302
- indexed: !0,
303
- internalType: "address",
304
- name: "_newInsuranceAddress",
305
- type: "address"
306
- }
307
- ],
308
- name: "SetInsuranceAddress",
309
- type: "event"
310
- },
311
- {
312
- anonymous: !1,
313
- inputs: [
314
- {
315
- indexed: !1,
316
- internalType: "address",
317
- name: "oldLidoNFT",
318
- type: "address"
319
- },
320
- {
321
- indexed: !1,
322
- internalType: "address",
323
- name: "newLidoNFT",
324
- type: "address"
325
- }
326
- ],
327
- name: "SetLidoNFT",
328
- type: "event"
329
- },
330
- {
331
- anonymous: !1,
332
- inputs: [
333
- {
334
- indexed: !0,
335
- internalType: "address",
336
- name: "_newNodeOperatorRegistryAddress",
337
- type: "address"
338
- }
339
- ],
340
- name: "SetNodeOperatorRegistryAddress",
341
- type: "event"
342
- },
343
- {
344
- anonymous: !1,
345
- inputs: [
346
- {
347
- indexed: !1,
348
- internalType: "uint8",
349
- name: "oldProtocolFee",
350
- type: "uint8"
351
- },
352
- {
353
- indexed: !1,
354
- internalType: "uint8",
355
- name: "newProtocolFee",
356
- type: "uint8"
357
- }
358
- ],
359
- name: "SetProtocolFee",
360
- type: "event"
361
- },
362
- {
363
- anonymous: !1,
364
- inputs: [
365
- {
366
- indexed: !1,
367
- internalType: "uint256",
368
- name: "oldRewardDistributionLowerBound",
369
- type: "uint256"
370
- },
371
- {
372
- indexed: !1,
373
- internalType: "uint256",
374
- name: "newRewardDistributionLowerBound",
375
- type: "uint256"
376
- }
377
- ],
378
- name: "SetRewardDistributionLowerBound",
379
- type: "event"
380
- },
381
- {
382
- anonymous: !1,
383
- inputs: [
384
- {
385
- indexed: !0,
386
- internalType: "address",
387
- name: "_from",
388
- type: "address"
389
- },
390
- {
391
- indexed: !1,
392
- internalType: "uint256",
393
- name: "_amount",
394
- type: "uint256"
395
- },
396
- {
397
- indexed: !0,
398
- internalType: "address",
399
- name: "_referral",
400
- type: "address"
401
- }
402
- ],
403
- name: "SubmitEvent",
404
- type: "event"
405
- },
406
- {
407
- anonymous: !1,
408
- inputs: [
409
- {
410
- indexed: !0,
411
- internalType: "address",
412
- name: "from",
413
- type: "address"
414
- },
415
- {
416
- indexed: !0,
417
- internalType: "address",
418
- name: "to",
419
- type: "address"
420
- },
421
- {
422
- indexed: !1,
423
- internalType: "uint256",
424
- name: "value",
425
- type: "uint256"
426
- }
427
- ],
428
- name: "Transfer",
429
- type: "event"
430
- },
431
- {
432
- anonymous: !1,
433
- inputs: [
434
- {
435
- indexed: !1,
436
- internalType: "address",
437
- name: "account",
438
- type: "address"
439
- }
440
- ],
441
- name: "Unpaused",
442
- type: "event"
443
- },
444
- {
445
- anonymous: !1,
446
- inputs: [
447
- {
448
- indexed: !1,
449
- internalType: "string",
450
- name: "oldVersion",
451
- type: "string"
452
- },
453
- {
454
- indexed: !0,
455
- internalType: "string",
456
- name: "newVersion",
457
- type: "string"
458
- }
459
- ],
460
- name: "Version",
461
- type: "event"
462
- },
463
- {
464
- anonymous: !1,
465
- inputs: [
466
- {
467
- indexed: !0,
468
- internalType: "address",
469
- name: "_from",
470
- type: "address"
471
- },
472
- {
473
- indexed: !0,
474
- internalType: "uint256",
475
- name: "_amount",
476
- type: "uint256"
477
- }
478
- ],
479
- name: "WithdrawTotalDelegatedEvent",
480
- type: "event"
481
- },
482
- {
483
- inputs: [],
484
- name: "DAO",
485
- outputs: [
486
- {
487
- internalType: "bytes32",
488
- name: "",
489
- type: "bytes32"
490
- }
491
- ],
492
- stateMutability: "view",
493
- type: "function"
494
- },
495
- {
496
- inputs: [],
497
- name: "DEFAULT_ADMIN_ROLE",
498
- outputs: [
499
- {
500
- internalType: "bytes32",
501
- name: "",
502
- type: "bytes32"
503
- }
504
- ],
505
- stateMutability: "view",
506
- type: "function"
507
- },
508
- {
509
- inputs: [],
510
- name: "PAUSE_ROLE",
511
- outputs: [
512
- {
513
- internalType: "bytes32",
514
- name: "",
515
- type: "bytes32"
516
- }
517
- ],
518
- stateMutability: "view",
519
- type: "function"
520
- },
521
- {
522
- inputs: [],
523
- name: "UNPAUSE_ROLE",
524
- outputs: [
525
- {
526
- internalType: "bytes32",
527
- name: "",
528
- type: "bytes32"
529
- }
530
- ],
531
- stateMutability: "view",
532
- type: "function"
533
- },
534
- {
535
- inputs: [
536
- {
537
- internalType: "address",
538
- name: "owner",
539
- type: "address"
540
- },
541
- {
542
- internalType: "address",
543
- name: "spender",
544
- type: "address"
545
- }
546
- ],
547
- name: "allowance",
548
- outputs: [
549
- {
550
- internalType: "uint256",
551
- name: "",
552
- type: "uint256"
553
- }
554
- ],
555
- stateMutability: "view",
556
- type: "function"
557
- },
558
- {
559
- inputs: [
560
- {
561
- internalType: "address",
562
- name: "spender",
563
- type: "address"
564
- },
565
- {
566
- internalType: "uint256",
567
- name: "amount",
568
- type: "uint256"
569
- }
570
- ],
571
- name: "approve",
572
- outputs: [
573
- {
574
- internalType: "bool",
575
- name: "",
576
- type: "bool"
577
- }
578
- ],
579
- stateMutability: "nonpayable",
580
- type: "function"
581
- },
582
- {
583
- inputs: [
584
- {
585
- internalType: "address",
586
- name: "account",
587
- type: "address"
588
- }
589
- ],
590
- name: "balanceOf",
591
- outputs: [
592
- {
593
- internalType: "uint256",
594
- name: "",
595
- type: "uint256"
596
- }
597
- ],
598
- stateMutability: "view",
599
- type: "function"
600
- },
601
- {
602
- inputs: [],
603
- name: "calculatePendingBufferedTokens",
604
- outputs: [
605
- {
606
- internalType: "uint256",
607
- name: "pendingBufferedTokens",
608
- type: "uint256"
609
- }
610
- ],
611
- stateMutability: "view",
612
- type: "function"
613
- },
614
- {
615
- inputs: [
616
- {
617
- internalType: "uint256",
618
- name: "_tokenId",
619
- type: "uint256"
620
- }
621
- ],
622
- name: "claimTokens",
623
- outputs: [],
624
- stateMutability: "nonpayable",
625
- type: "function"
626
- },
627
- {
628
- inputs: [
629
- {
630
- internalType: "uint256",
631
- name: "_index",
632
- type: "uint256"
633
- }
634
- ],
635
- name: "claimTokensFromValidatorToContract",
636
- outputs: [],
637
- stateMutability: "nonpayable",
638
- type: "function"
639
- },
640
- {
641
- inputs: [
642
- {
643
- internalType: "uint256",
644
- name: "_amountInMatic",
645
- type: "uint256"
646
- }
647
- ],
648
- name: "convertMaticToStMatic",
649
- outputs: [
650
- {
651
- internalType: "uint256",
652
- name: "amountInStMatic",
653
- type: "uint256"
654
- },
655
- {
656
- internalType: "uint256",
657
- name: "totalStMaticSupply",
658
- type: "uint256"
659
- },
660
- {
661
- internalType: "uint256",
662
- name: "totalPooledMatic",
663
- type: "uint256"
664
- }
665
- ],
666
- stateMutability: "view",
667
- type: "function"
668
- },
669
- {
670
- inputs: [
671
- {
672
- internalType: "uint256",
673
- name: "_amountInStMatic",
674
- type: "uint256"
675
- }
676
- ],
677
- name: "convertStMaticToMatic",
678
- outputs: [
679
- {
680
- internalType: "uint256",
681
- name: "amountInMatic",
682
- type: "uint256"
683
- },
684
- {
685
- internalType: "uint256",
686
- name: "totalStMaticAmount",
687
- type: "uint256"
688
- },
689
- {
690
- internalType: "uint256",
691
- name: "totalPooledMatic",
692
- type: "uint256"
693
- }
694
- ],
695
- stateMutability: "view",
696
- type: "function"
697
- },
698
- {
699
- inputs: [],
700
- name: "dao",
701
- outputs: [
702
- {
703
- internalType: "address",
704
- name: "",
705
- type: "address"
706
- }
707
- ],
708
- stateMutability: "view",
709
- type: "function"
710
- },
711
- {
712
- inputs: [],
713
- name: "decimals",
714
- outputs: [
715
- {
716
- internalType: "uint8",
717
- name: "",
718
- type: "uint8"
719
- }
720
- ],
721
- stateMutability: "view",
722
- type: "function"
723
- },
724
- {
725
- inputs: [
726
- {
727
- internalType: "address",
728
- name: "spender",
729
- type: "address"
730
- },
731
- {
732
- internalType: "uint256",
733
- name: "subtractedValue",
734
- type: "uint256"
735
- }
736
- ],
737
- name: "decreaseAllowance",
738
- outputs: [
739
- {
740
- internalType: "bool",
741
- name: "",
742
- type: "bool"
743
- }
744
- ],
745
- stateMutability: "nonpayable",
746
- type: "function"
747
- },
748
- {
749
- inputs: [],
750
- name: "delegate",
751
- outputs: [],
752
- stateMutability: "nonpayable",
753
- type: "function"
754
- },
755
- {
756
- inputs: [],
757
- name: "delegationLowerBound",
758
- outputs: [
759
- {
760
- internalType: "uint256",
761
- name: "",
762
- type: "uint256"
763
- }
764
- ],
765
- stateMutability: "view",
766
- type: "function"
767
- },
768
- {
769
- inputs: [],
770
- name: "distributeRewards",
771
- outputs: [],
772
- stateMutability: "nonpayable",
773
- type: "function"
774
- },
775
- {
776
- inputs: [],
777
- name: "entityFees",
778
- outputs: [
779
- {
780
- internalType: "uint8",
781
- name: "dao",
782
- type: "uint8"
783
- },
784
- {
785
- internalType: "uint8",
786
- name: "operators",
787
- type: "uint8"
788
- },
789
- {
790
- internalType: "uint8",
791
- name: "insurance",
792
- type: "uint8"
793
- }
794
- ],
795
- stateMutability: "view",
796
- type: "function"
797
- },
798
- {
799
- inputs: [],
800
- name: "fxStateRootTunnel",
801
- outputs: [
802
- {
803
- internalType: "contract IFxStateRootTunnel",
804
- name: "",
805
- type: "address"
806
- }
807
- ],
808
- stateMutability: "view",
809
- type: "function"
810
- },
811
- {
812
- inputs: [
813
- {
814
- internalType: "contract IValidatorShare",
815
- name: "_validatorShare",
816
- type: "address"
817
- }
818
- ],
819
- name: "getLiquidRewards",
820
- outputs: [
821
- {
822
- internalType: "uint256",
823
- name: "",
824
- type: "uint256"
825
- }
826
- ],
827
- stateMutability: "view",
828
- type: "function"
829
- },
830
- {
831
- inputs: [
832
- {
833
- internalType: "uint256",
834
- name: "_tokenId",
835
- type: "uint256"
836
- }
837
- ],
838
- name: "getMaticFromTokenId",
839
- outputs: [
840
- {
841
- internalType: "uint256",
842
- name: "",
843
- type: "uint256"
844
- }
845
- ],
846
- stateMutability: "view",
847
- type: "function"
848
- },
849
- {
850
- inputs: [
851
- {
852
- internalType: "bytes32",
853
- name: "role",
854
- type: "bytes32"
855
- }
856
- ],
857
- name: "getRoleAdmin",
858
- outputs: [
859
- {
860
- internalType: "bytes32",
861
- name: "",
862
- type: "bytes32"
863
- }
864
- ],
865
- stateMutability: "view",
866
- type: "function"
867
- },
868
- {
869
- inputs: [
870
- {
871
- internalType: "uint256",
872
- name: "_tokenId",
873
- type: "uint256"
874
- }
875
- ],
876
- name: "getToken2WithdrawRequests",
877
- outputs: [
878
- {
879
- components: [
880
- {
881
- internalType: "uint256",
882
- name: "amount2WithdrawFromStMATIC",
883
- type: "uint256"
884
- },
885
- {
886
- internalType: "uint256",
887
- name: "validatorNonce",
888
- type: "uint256"
889
- },
890
- {
891
- internalType: "uint256",
892
- name: "requestEpoch",
893
- type: "uint256"
894
- },
895
- {
896
- internalType: "address",
897
- name: "validatorAddress",
898
- type: "address"
899
- }
900
- ],
901
- internalType: "struct IStMATIC.RequestWithdraw[]",
902
- name: "",
903
- type: "tuple[]"
904
- }
905
- ],
906
- stateMutability: "view",
907
- type: "function"
908
- },
909
- {
910
- inputs: [],
911
- name: "getTotalPooledMatic",
912
- outputs: [
913
- {
914
- internalType: "uint256",
915
- name: "",
916
- type: "uint256"
917
- }
918
- ],
919
- stateMutability: "view",
920
- type: "function"
921
- },
922
- {
923
- inputs: [
924
- {
925
- internalType: "contract IValidatorShare",
926
- name: "_validatorShare",
927
- type: "address"
928
- }
929
- ],
930
- name: "getTotalStake",
931
- outputs: [
932
- {
933
- internalType: "uint256",
934
- name: "",
935
- type: "uint256"
936
- },
937
- {
938
- internalType: "uint256",
939
- name: "",
940
- type: "uint256"
941
- }
942
- ],
943
- stateMutability: "view",
944
- type: "function"
945
- },
946
- {
947
- inputs: [],
948
- name: "getTotalStakeAcrossAllValidators",
949
- outputs: [
950
- {
951
- internalType: "uint256",
952
- name: "",
953
- type: "uint256"
954
- }
955
- ],
956
- stateMutability: "view",
957
- type: "function"
958
- },
959
- {
960
- inputs: [],
961
- name: "getTotalWithdrawRequest",
962
- outputs: [
963
- {
964
- components: [
965
- {
966
- internalType: "uint256",
967
- name: "amount2WithdrawFromStMATIC",
968
- type: "uint256"
969
- },
970
- {
971
- internalType: "uint256",
972
- name: "validatorNonce",
973
- type: "uint256"
974
- },
975
- {
976
- internalType: "uint256",
977
- name: "requestEpoch",
978
- type: "uint256"
979
- },
980
- {
981
- internalType: "address",
982
- name: "validatorAddress",
983
- type: "address"
984
- }
985
- ],
986
- internalType: "struct IStMATIC.RequestWithdraw[]",
987
- name: "",
988
- type: "tuple[]"
989
- }
990
- ],
991
- stateMutability: "view",
992
- type: "function"
993
- },
994
- {
995
- inputs: [
996
- {
997
- internalType: "bytes32",
998
- name: "role",
999
- type: "bytes32"
1000
- },
1001
- {
1002
- internalType: "address",
1003
- name: "account",
1004
- type: "address"
1005
- }
1006
- ],
1007
- name: "grantRole",
1008
- outputs: [],
1009
- stateMutability: "nonpayable",
1010
- type: "function"
1011
- },
1012
- {
1013
- inputs: [
1014
- {
1015
- internalType: "bytes32",
1016
- name: "role",
1017
- type: "bytes32"
1018
- },
1019
- {
1020
- internalType: "address",
1021
- name: "account",
1022
- type: "address"
1023
- }
1024
- ],
1025
- name: "hasRole",
1026
- outputs: [
1027
- {
1028
- internalType: "bool",
1029
- name: "",
1030
- type: "bool"
1031
- }
1032
- ],
1033
- stateMutability: "view",
1034
- type: "function"
1035
- },
1036
- {
1037
- inputs: [
1038
- {
1039
- internalType: "address",
1040
- name: "spender",
1041
- type: "address"
1042
- },
1043
- {
1044
- internalType: "uint256",
1045
- name: "addedValue",
1046
- type: "uint256"
1047
- }
1048
- ],
1049
- name: "increaseAllowance",
1050
- outputs: [
1051
- {
1052
- internalType: "bool",
1053
- name: "",
1054
- type: "bool"
1055
- }
1056
- ],
1057
- stateMutability: "nonpayable",
1058
- type: "function"
1059
- },
1060
- {
1061
- inputs: [
1062
- {
1063
- internalType: "address",
1064
- name: "_nodeOperatorRegistry",
1065
- type: "address"
1066
- },
1067
- {
1068
- internalType: "address",
1069
- name: "_token",
1070
- type: "address"
1071
- },
1072
- {
1073
- internalType: "address",
1074
- name: "_dao",
1075
- type: "address"
1076
- },
1077
- {
1078
- internalType: "address",
1079
- name: "_insurance",
1080
- type: "address"
1081
- },
1082
- {
1083
- internalType: "address",
1084
- name: "_stakeManager",
1085
- type: "address"
1086
- },
1087
- {
1088
- internalType: "address",
1089
- name: "_poLidoNFT",
1090
- type: "address"
1091
- },
1092
- {
1093
- internalType: "address",
1094
- name: "_fxStateRootTunnel",
1095
- type: "address"
1096
- }
1097
- ],
1098
- name: "initialize",
1099
- outputs: [],
1100
- stateMutability: "nonpayable",
1101
- type: "function"
1102
- },
1103
- {
1104
- inputs: [],
1105
- name: "insurance",
1106
- outputs: [
1107
- {
1108
- internalType: "address",
1109
- name: "",
1110
- type: "address"
1111
- }
1112
- ],
1113
- stateMutability: "view",
1114
- type: "function"
1115
- },
1116
- {
1117
- inputs: [],
1118
- name: "lastWithdrawnValidatorId",
1119
- outputs: [
1120
- {
1121
- internalType: "uint256",
1122
- name: "",
1123
- type: "uint256"
1124
- }
1125
- ],
1126
- stateMutability: "view",
1127
- type: "function"
1128
- },
1129
- {
1130
- inputs: [],
1131
- name: "name",
1132
- outputs: [
1133
- {
1134
- internalType: "string",
1135
- name: "",
1136
- type: "string"
1137
- }
1138
- ],
1139
- stateMutability: "view",
1140
- type: "function"
1141
- },
1142
- {
1143
- inputs: [],
1144
- name: "nodeOperatorRegistry",
1145
- outputs: [
1146
- {
1147
- internalType: "contract INodeOperatorRegistry",
1148
- name: "",
1149
- type: "address"
1150
- }
1151
- ],
1152
- stateMutability: "view",
1153
- type: "function"
1154
- },
1155
- {
1156
- inputs: [],
1157
- name: "pause",
1158
- outputs: [],
1159
- stateMutability: "nonpayable",
1160
- type: "function"
1161
- },
1162
- {
1163
- inputs: [],
1164
- name: "paused",
1165
- outputs: [
1166
- {
1167
- internalType: "bool",
1168
- name: "",
1169
- type: "bool"
1170
- }
1171
- ],
1172
- stateMutability: "view",
1173
- type: "function"
1174
- },
1175
- {
1176
- inputs: [],
1177
- name: "poLidoNFT",
1178
- outputs: [
1179
- {
1180
- internalType: "contract IPoLidoNFT",
1181
- name: "",
1182
- type: "address"
1183
- }
1184
- ],
1185
- stateMutability: "view",
1186
- type: "function"
1187
- },
1188
- {
1189
- inputs: [],
1190
- name: "protocolFee",
1191
- outputs: [
1192
- {
1193
- internalType: "uint8",
1194
- name: "",
1195
- type: "uint8"
1196
- }
1197
- ],
1198
- stateMutability: "view",
1199
- type: "function"
1200
- },
1201
- {
1202
- inputs: [],
1203
- name: "rebalanceDelegatedTokens",
1204
- outputs: [],
1205
- stateMutability: "nonpayable",
1206
- type: "function"
1207
- },
1208
- {
1209
- inputs: [
1210
- {
1211
- internalType: "bytes32",
1212
- name: "role",
1213
- type: "bytes32"
1214
- },
1215
- {
1216
- internalType: "address",
1217
- name: "account",
1218
- type: "address"
1219
- }
1220
- ],
1221
- name: "renounceRole",
1222
- outputs: [],
1223
- stateMutability: "nonpayable",
1224
- type: "function"
1225
- },
1226
- {
1227
- inputs: [
1228
- {
1229
- internalType: "uint256",
1230
- name: "_amount",
1231
- type: "uint256"
1232
- },
1233
- {
1234
- internalType: "address",
1235
- name: "_referral",
1236
- type: "address"
1237
- }
1238
- ],
1239
- name: "requestWithdraw",
1240
- outputs: [
1241
- {
1242
- internalType: "uint256",
1243
- name: "",
1244
- type: "uint256"
1245
- }
1246
- ],
1247
- stateMutability: "nonpayable",
1248
- type: "function"
1249
- },
1250
- {
1251
- inputs: [],
1252
- name: "reservedFunds",
1253
- outputs: [
1254
- {
1255
- internalType: "uint256",
1256
- name: "",
1257
- type: "uint256"
1258
- }
1259
- ],
1260
- stateMutability: "view",
1261
- type: "function"
1262
- },
1263
- {
1264
- inputs: [
1265
- {
1266
- internalType: "bytes32",
1267
- name: "role",
1268
- type: "bytes32"
1269
- },
1270
- {
1271
- internalType: "address",
1272
- name: "account",
1273
- type: "address"
1274
- }
1275
- ],
1276
- name: "revokeRole",
1277
- outputs: [],
1278
- stateMutability: "nonpayable",
1279
- type: "function"
1280
- },
1281
- {
1282
- inputs: [],
1283
- name: "rewardDistributionLowerBound",
1284
- outputs: [
1285
- {
1286
- internalType: "uint256",
1287
- name: "",
1288
- type: "uint256"
1289
- }
1290
- ],
1291
- stateMutability: "view",
1292
- type: "function"
1293
- },
1294
- {
1295
- inputs: [
1296
- {
1297
- internalType: "address",
1298
- name: "_newDAO",
1299
- type: "address"
1300
- }
1301
- ],
1302
- name: "setDaoAddress",
1303
- outputs: [],
1304
- stateMutability: "nonpayable",
1305
- type: "function"
1306
- },
1307
- {
1308
- inputs: [
1309
- {
1310
- internalType: "uint256",
1311
- name: "_delegationLowerBound",
1312
- type: "uint256"
1313
- }
1314
- ],
1315
- name: "setDelegationLowerBound",
1316
- outputs: [],
1317
- stateMutability: "nonpayable",
1318
- type: "function"
1319
- },
1320
- {
1321
- inputs: [
1322
- {
1323
- internalType: "uint8",
1324
- name: "_daoFee",
1325
- type: "uint8"
1326
- },
1327
- {
1328
- internalType: "uint8",
1329
- name: "_operatorsFee",
1330
- type: "uint8"
1331
- },
1332
- {
1333
- internalType: "uint8",
1334
- name: "_insuranceFee",
1335
- type: "uint8"
1336
- }
1337
- ],
1338
- name: "setFees",
1339
- outputs: [],
1340
- stateMutability: "nonpayable",
1341
- type: "function"
1342
- },
1343
- {
1344
- inputs: [
1345
- {
1346
- internalType: "address",
1347
- name: "_newFxStateRootTunnel",
1348
- type: "address"
1349
- }
1350
- ],
1351
- name: "setFxStateRootTunnel",
1352
- outputs: [],
1353
- stateMutability: "nonpayable",
1354
- type: "function"
1355
- },
1356
- {
1357
- inputs: [
1358
- {
1359
- internalType: "address",
1360
- name: "_address",
1361
- type: "address"
1362
- }
1363
- ],
1364
- name: "setInsuranceAddress",
1365
- outputs: [],
1366
- stateMutability: "nonpayable",
1367
- type: "function"
1368
- },
1369
- {
1370
- inputs: [
1371
- {
1372
- internalType: "address",
1373
- name: "_address",
1374
- type: "address"
1375
- }
1376
- ],
1377
- name: "setNodeOperatorRegistryAddress",
1378
- outputs: [],
1379
- stateMutability: "nonpayable",
1380
- type: "function"
1381
- },
1382
- {
1383
- inputs: [
1384
- {
1385
- internalType: "address",
1386
- name: "_newLidoNFT",
1387
- type: "address"
1388
- }
1389
- ],
1390
- name: "setPoLidoNFT",
1391
- outputs: [],
1392
- stateMutability: "nonpayable",
1393
- type: "function"
1394
- },
1395
- {
1396
- inputs: [
1397
- {
1398
- internalType: "uint8",
1399
- name: "_newProtocolFee",
1400
- type: "uint8"
1401
- }
1402
- ],
1403
- name: "setProtocolFee",
1404
- outputs: [],
1405
- stateMutability: "nonpayable",
1406
- type: "function"
1407
- },
1408
- {
1409
- inputs: [
1410
- {
1411
- internalType: "uint256",
1412
- name: "_newRewardDistributionLowerBound",
1413
- type: "uint256"
1414
- }
1415
- ],
1416
- name: "setRewardDistributionLowerBound",
1417
- outputs: [],
1418
- stateMutability: "nonpayable",
1419
- type: "function"
1420
- },
1421
- {
1422
- inputs: [
1423
- {
1424
- internalType: "string",
1425
- name: "_newVersion",
1426
- type: "string"
1427
- }
1428
- ],
1429
- name: "setVersion",
1430
- outputs: [],
1431
- stateMutability: "nonpayable",
1432
- type: "function"
1433
- },
1434
- {
1435
- inputs: [
1436
- {
1437
- internalType: "uint256",
1438
- name: "",
1439
- type: "uint256"
1440
- }
1441
- ],
1442
- name: "stMaticWithdrawRequest",
1443
- outputs: [
1444
- {
1445
- internalType: "uint256",
1446
- name: "amount2WithdrawFromStMATIC",
1447
- type: "uint256"
1448
- },
1449
- {
1450
- internalType: "uint256",
1451
- name: "validatorNonce",
1452
- type: "uint256"
1453
- },
1454
- {
1455
- internalType: "uint256",
1456
- name: "requestEpoch",
1457
- type: "uint256"
1458
- },
1459
- {
1460
- internalType: "address",
1461
- name: "validatorAddress",
1462
- type: "address"
1463
- }
1464
- ],
1465
- stateMutability: "view",
1466
- type: "function"
1467
- },
1468
- {
1469
- inputs: [],
1470
- name: "stakeManager",
1471
- outputs: [
1472
- {
1473
- internalType: "contract IStakeManager",
1474
- name: "",
1475
- type: "address"
1476
- }
1477
- ],
1478
- stateMutability: "view",
1479
- type: "function"
1480
- },
1481
- {
1482
- inputs: [
1483
- {
1484
- internalType: "uint256",
1485
- name: "_amount",
1486
- type: "uint256"
1487
- },
1488
- {
1489
- internalType: "address",
1490
- name: "_referral",
1491
- type: "address"
1492
- }
1493
- ],
1494
- name: "submit",
1495
- outputs: [
1496
- {
1497
- internalType: "uint256",
1498
- name: "",
1499
- type: "uint256"
1500
- }
1501
- ],
1502
- stateMutability: "nonpayable",
1503
- type: "function"
1504
- },
1505
- {
1506
- inputs: [],
1507
- name: "submitHandler",
1508
- outputs: [
1509
- {
1510
- internalType: "bool",
1511
- name: "",
1512
- type: "bool"
1513
- }
1514
- ],
1515
- stateMutability: "view",
1516
- type: "function"
1517
- },
1518
- {
1519
- inputs: [],
1520
- name: "submitThreshold",
1521
- outputs: [
1522
- {
1523
- internalType: "uint256",
1524
- name: "",
1525
- type: "uint256"
1526
- }
1527
- ],
1528
- stateMutability: "view",
1529
- type: "function"
1530
- },
1531
- {
1532
- inputs: [
1533
- {
1534
- internalType: "bytes4",
1535
- name: "interfaceId",
1536
- type: "bytes4"
1537
- }
1538
- ],
1539
- name: "supportsInterface",
1540
- outputs: [
1541
- {
1542
- internalType: "bool",
1543
- name: "",
1544
- type: "bool"
1545
- }
1546
- ],
1547
- stateMutability: "view",
1548
- type: "function"
1549
- },
1550
- {
1551
- inputs: [],
1552
- name: "symbol",
1553
- outputs: [
1554
- {
1555
- internalType: "string",
1556
- name: "",
1557
- type: "string"
1558
- }
1559
- ],
1560
- stateMutability: "view",
1561
- type: "function"
1562
- },
1563
- {
1564
- inputs: [],
1565
- name: "token",
1566
- outputs: [
1567
- {
1568
- internalType: "address",
1569
- name: "",
1570
- type: "address"
1571
- }
1572
- ],
1573
- stateMutability: "view",
1574
- type: "function"
1575
- },
1576
- {
1577
- inputs: [
1578
- {
1579
- internalType: "uint256",
1580
- name: "",
1581
- type: "uint256"
1582
- }
1583
- ],
1584
- name: "token2WithdrawRequest",
1585
- outputs: [
1586
- {
1587
- internalType: "uint256",
1588
- name: "amount2WithdrawFromStMATIC",
1589
- type: "uint256"
1590
- },
1591
- {
1592
- internalType: "uint256",
1593
- name: "validatorNonce",
1594
- type: "uint256"
1595
- },
1596
- {
1597
- internalType: "uint256",
1598
- name: "requestEpoch",
1599
- type: "uint256"
1600
- },
1601
- {
1602
- internalType: "address",
1603
- name: "validatorAddress",
1604
- type: "address"
1605
- }
1606
- ],
1607
- stateMutability: "view",
1608
- type: "function"
1609
- },
1610
- {
1611
- inputs: [
1612
- {
1613
- internalType: "uint256",
1614
- name: "",
1615
- type: "uint256"
1616
- },
1617
- {
1618
- internalType: "uint256",
1619
- name: "",
1620
- type: "uint256"
1621
- }
1622
- ],
1623
- name: "token2WithdrawRequests",
1624
- outputs: [
1625
- {
1626
- internalType: "uint256",
1627
- name: "amount2WithdrawFromStMATIC",
1628
- type: "uint256"
1629
- },
1630
- {
1631
- internalType: "uint256",
1632
- name: "validatorNonce",
1633
- type: "uint256"
1634
- },
1635
- {
1636
- internalType: "uint256",
1637
- name: "requestEpoch",
1638
- type: "uint256"
1639
- },
1640
- {
1641
- internalType: "address",
1642
- name: "validatorAddress",
1643
- type: "address"
1644
- }
1645
- ],
1646
- stateMutability: "view",
1647
- type: "function"
1648
- },
1649
- {
1650
- inputs: [],
1651
- name: "totalBuffered",
1652
- outputs: [
1653
- {
1654
- internalType: "uint256",
1655
- name: "",
1656
- type: "uint256"
1657
- }
1658
- ],
1659
- stateMutability: "view",
1660
- type: "function"
1661
- },
1662
- {
1663
- inputs: [],
1664
- name: "totalSupply",
1665
- outputs: [
1666
- {
1667
- internalType: "uint256",
1668
- name: "",
1669
- type: "uint256"
1670
- }
1671
- ],
1672
- stateMutability: "view",
1673
- type: "function"
1674
- },
1675
- {
1676
- inputs: [
1677
- {
1678
- internalType: "address",
1679
- name: "to",
1680
- type: "address"
1681
- },
1682
- {
1683
- internalType: "uint256",
1684
- name: "amount",
1685
- type: "uint256"
1686
- }
1687
- ],
1688
- name: "transfer",
1689
- outputs: [
1690
- {
1691
- internalType: "bool",
1692
- name: "",
1693
- type: "bool"
1694
- }
1695
- ],
1696
- stateMutability: "nonpayable",
1697
- type: "function"
1698
- },
1699
- {
1700
- inputs: [
1701
- {
1702
- internalType: "address",
1703
- name: "from",
1704
- type: "address"
1705
- },
1706
- {
1707
- internalType: "address",
1708
- name: "to",
1709
- type: "address"
1710
- },
1711
- {
1712
- internalType: "uint256",
1713
- name: "amount",
1714
- type: "uint256"
1715
- }
1716
- ],
1717
- name: "transferFrom",
1718
- outputs: [
1719
- {
1720
- internalType: "bool",
1721
- name: "",
1722
- type: "bool"
1723
- }
1724
- ],
1725
- stateMutability: "nonpayable",
1726
- type: "function"
1727
- },
1728
- {
1729
- inputs: [],
1730
- name: "unpause",
1731
- outputs: [],
1732
- stateMutability: "nonpayable",
1733
- type: "function"
1734
- },
1735
- {
1736
- inputs: [],
1737
- name: "version",
1738
- outputs: [
1739
- {
1740
- internalType: "string",
1741
- name: "",
1742
- type: "string"
1743
- }
1744
- ],
1745
- stateMutability: "view",
1746
- type: "function"
1747
- },
1748
- {
1749
- inputs: [
1750
- {
1751
- internalType: "address",
1752
- name: "_validatorShare",
1753
- type: "address"
1754
- }
1755
- ],
1756
- name: "withdrawTotalDelegated",
1757
- outputs: [],
1758
- stateMutability: "nonpayable",
1759
- type: "function"
1760
- }
1761
- ];
1762
- export {
1763
- e as default
1764
- };