@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,4329 +0,0 @@
1
- const e = "0x031a068076b7BA192f24D2882D6632599c3037B8", t = [
2
- {
3
- inputs: [
4
- {
5
- components: [
6
- {
7
- internalType: "uint128",
8
- name: "levels",
9
- type: "uint128"
10
- },
11
- {
12
- internalType: "address",
13
- name: "poseidon",
14
- type: "address"
15
- }
16
- ],
17
- internalType: "struct IMerkle.MerkleConstructorArgs",
18
- name: "constructorArgs",
19
- type: "tuple"
20
- },
21
- {
22
- internalType: "address",
23
- name: "_hinkalHelper",
24
- type: "address"
25
- }
26
- ],
27
- stateMutability: "nonpayable",
28
- type: "constructor"
29
- },
30
- {
31
- anonymous: !1,
32
- inputs: [
33
- {
34
- indexed: !1,
35
- internalType: "address",
36
- name: "externalActionAddress",
37
- type: "address"
38
- }
39
- ],
40
- name: "ExternalActionRegistered",
41
- type: "event"
42
- },
43
- {
44
- anonymous: !1,
45
- inputs: [
46
- {
47
- indexed: !1,
48
- internalType: "address",
49
- name: "externalActionAddress",
50
- type: "address"
51
- }
52
- ],
53
- name: "ExternalActionRemoved",
54
- type: "event"
55
- },
56
- {
57
- anonymous: !1,
58
- inputs: [
59
- {
60
- indexed: !1,
61
- internalType: "uint256",
62
- name: "commitment",
63
- type: "uint256"
64
- },
65
- {
66
- indexed: !1,
67
- internalType: "uint256",
68
- name: "index",
69
- type: "uint256"
70
- },
71
- {
72
- indexed: !1,
73
- internalType: "bytes",
74
- name: "encryptedOutput",
75
- type: "bytes"
76
- }
77
- ],
78
- name: "NewCommitment",
79
- type: "event"
80
- },
81
- {
82
- anonymous: !1,
83
- inputs: [
84
- {
85
- indexed: !1,
86
- internalType: "address",
87
- name: "sender",
88
- type: "address"
89
- },
90
- {
91
- indexed: !1,
92
- internalType: "uint256",
93
- name: "timestamp",
94
- type: "uint256"
95
- },
96
- {
97
- indexed: !1,
98
- internalType: "address",
99
- name: "erc20TokenAddress",
100
- type: "address"
101
- },
102
- {
103
- indexed: !1,
104
- internalType: "int256",
105
- name: "publicAmount",
106
- type: "int256"
107
- }
108
- ],
109
- name: "NewTransaction",
110
- type: "event"
111
- },
112
- {
113
- anonymous: !1,
114
- inputs: [
115
- {
116
- indexed: !1,
117
- internalType: "uint256",
118
- name: "nullifier",
119
- type: "uint256"
120
- }
121
- ],
122
- name: "Nullified",
123
- type: "event"
124
- },
125
- {
126
- anonymous: !1,
127
- inputs: [
128
- {
129
- indexed: !0,
130
- internalType: "address",
131
- name: "previousOwner",
132
- type: "address"
133
- },
134
- {
135
- indexed: !0,
136
- internalType: "address",
137
- name: "newOwner",
138
- type: "address"
139
- }
140
- ],
141
- name: "OwnershipTransferred",
142
- type: "event"
143
- },
144
- {
145
- anonymous: !1,
146
- inputs: [
147
- {
148
- indexed: !1,
149
- internalType: "address",
150
- name: "ethereumAddress",
151
- type: "address"
152
- },
153
- {
154
- indexed: !1,
155
- internalType: "bytes",
156
- name: "shieldedAddressHash",
157
- type: "bytes"
158
- }
159
- ],
160
- name: "Register",
161
- type: "event"
162
- },
163
- {
164
- anonymous: !1,
165
- inputs: [
166
- {
167
- indexed: !1,
168
- internalType: "uint256",
169
- name: "verifierId",
170
- type: "uint256"
171
- },
172
- {
173
- indexed: !1,
174
- internalType: "address",
175
- name: "verifierAddress",
176
- type: "address"
177
- }
178
- ],
179
- name: "VerifierRegistered",
180
- type: "event"
181
- },
182
- {
183
- anonymous: !1,
184
- inputs: [
185
- {
186
- indexed: !1,
187
- internalType: "uint256",
188
- name: "verifierId",
189
- type: "uint256"
190
- }
191
- ],
192
- name: "VerifierRemoved",
193
- type: "event"
194
- },
195
- {
196
- inputs: [
197
- {
198
- components: [
199
- {
200
- internalType: "uint16",
201
- name: "tokenNumber",
202
- type: "uint16"
203
- },
204
- {
205
- internalType: "uint16",
206
- name: "nullifierAmount",
207
- type: "uint16"
208
- },
209
- {
210
- internalType: "uint16",
211
- name: "outputAmount",
212
- type: "uint16"
213
- }
214
- ],
215
- internalType: "struct Dimensions",
216
- name: "dimensions",
217
- type: "tuple"
218
- },
219
- {
220
- internalType: "uint256",
221
- name: "externalActionId",
222
- type: "uint256"
223
- }
224
- ],
225
- name: "buildVerifierId",
226
- outputs: [
227
- {
228
- internalType: "uint256",
229
- name: "",
230
- type: "uint256"
231
- }
232
- ],
233
- stateMutability: "pure",
234
- type: "function"
235
- },
236
- {
237
- inputs: [],
238
- name: "getRootHash",
239
- outputs: [
240
- {
241
- internalType: "uint256",
242
- name: "",
243
- type: "uint256"
244
- }
245
- ],
246
- stateMutability: "view",
247
- type: "function"
248
- },
249
- {
250
- inputs: [
251
- {
252
- internalType: "uint256",
253
- name: "a",
254
- type: "uint256"
255
- },
256
- {
257
- internalType: "uint256",
258
- name: "b",
259
- type: "uint256"
260
- }
261
- ],
262
- name: "hash",
263
- outputs: [
264
- {
265
- internalType: "uint256",
266
- name: "poseidonHash",
267
- type: "uint256"
268
- }
269
- ],
270
- stateMutability: "view",
271
- type: "function"
272
- },
273
- {
274
- inputs: [],
275
- name: "hinkalHelper",
276
- outputs: [
277
- {
278
- internalType: "contract IHinkalHelper",
279
- name: "",
280
- type: "address"
281
- }
282
- ],
283
- stateMutability: "view",
284
- type: "function"
285
- },
286
- {
287
- inputs: [
288
- {
289
- internalType: "uint256",
290
- name: "x",
291
- type: "uint256"
292
- }
293
- ],
294
- name: "logarithm2",
295
- outputs: [
296
- {
297
- internalType: "uint256",
298
- name: "y",
299
- type: "uint256"
300
- }
301
- ],
302
- stateMutability: "pure",
303
- type: "function"
304
- },
305
- {
306
- inputs: [],
307
- name: "m_index",
308
- outputs: [
309
- {
310
- internalType: "uint128",
311
- name: "",
312
- type: "uint128"
313
- }
314
- ],
315
- stateMutability: "view",
316
- type: "function"
317
- },
318
- {
319
- inputs: [
320
- {
321
- internalType: "uint256",
322
- name: "",
323
- type: "uint256"
324
- }
325
- ],
326
- name: "nullifiers",
327
- outputs: [
328
- {
329
- internalType: "bool",
330
- name: "",
331
- type: "bool"
332
- }
333
- ],
334
- stateMutability: "view",
335
- type: "function"
336
- },
337
- {
338
- inputs: [
339
- {
340
- internalType: "address",
341
- name: "",
342
- type: "address"
343
- },
344
- {
345
- internalType: "address",
346
- name: "",
347
- type: "address"
348
- },
349
- {
350
- internalType: "uint256",
351
- name: "",
352
- type: "uint256"
353
- },
354
- {
355
- internalType: "bytes",
356
- name: "",
357
- type: "bytes"
358
- }
359
- ],
360
- name: "onERC721Received",
361
- outputs: [
362
- {
363
- internalType: "bytes4",
364
- name: "",
365
- type: "bytes4"
366
- }
367
- ],
368
- stateMutability: "pure",
369
- type: "function"
370
- },
371
- {
372
- inputs: [],
373
- name: "owner",
374
- outputs: [
375
- {
376
- internalType: "address",
377
- name: "",
378
- type: "address"
379
- }
380
- ],
381
- stateMutability: "view",
382
- type: "function"
383
- },
384
- {
385
- inputs: [
386
- {
387
- internalType: "bytes",
388
- name: "shieldedAddressHash",
389
- type: "bytes"
390
- }
391
- ],
392
- name: "register",
393
- outputs: [],
394
- stateMutability: "nonpayable",
395
- type: "function"
396
- },
397
- {
398
- inputs: [
399
- {
400
- internalType: "uint256",
401
- name: "externalActionId",
402
- type: "uint256"
403
- },
404
- {
405
- internalType: "address",
406
- name: "externalActionAddress",
407
- type: "address"
408
- }
409
- ],
410
- name: "registerExternalAction",
411
- outputs: [],
412
- stateMutability: "nonpayable",
413
- type: "function"
414
- },
415
- {
416
- inputs: [
417
- {
418
- internalType: "uint256[]",
419
- name: "verifierIds",
420
- type: "uint256[]"
421
- },
422
- {
423
- internalType: "address[]",
424
- name: "verifierAddresses",
425
- type: "address[]"
426
- }
427
- ],
428
- name: "registerVerifiers",
429
- outputs: [],
430
- stateMutability: "nonpayable",
431
- type: "function"
432
- },
433
- {
434
- inputs: [
435
- {
436
- internalType: "uint256",
437
- name: "externalActionId",
438
- type: "uint256"
439
- }
440
- ],
441
- name: "removeExternalAction",
442
- outputs: [],
443
- stateMutability: "nonpayable",
444
- type: "function"
445
- },
446
- {
447
- inputs: [
448
- {
449
- internalType: "uint256",
450
- name: "verifierId",
451
- type: "uint256"
452
- }
453
- ],
454
- name: "removeVerifier",
455
- outputs: [],
456
- stateMutability: "nonpayable",
457
- type: "function"
458
- },
459
- {
460
- inputs: [],
461
- name: "renounceOwnership",
462
- outputs: [],
463
- stateMutability: "nonpayable",
464
- type: "function"
465
- },
466
- {
467
- inputs: [
468
- {
469
- internalType: "uint256",
470
- name: "_root",
471
- type: "uint256"
472
- }
473
- ],
474
- name: "rootHashExists",
475
- outputs: [
476
- {
477
- internalType: "bool",
478
- name: "",
479
- type: "bool"
480
- }
481
- ],
482
- stateMutability: "view",
483
- type: "function"
484
- },
485
- {
486
- inputs: [],
487
- name: "rootIndex",
488
- outputs: [
489
- {
490
- internalType: "uint128",
491
- name: "",
492
- type: "uint128"
493
- }
494
- ],
495
- stateMutability: "view",
496
- type: "function"
497
- },
498
- {
499
- inputs: [
500
- {
501
- internalType: "address",
502
- name: "_hinkalHelper",
503
- type: "address"
504
- }
505
- ],
506
- name: "setHinkalHelper",
507
- outputs: [],
508
- stateMutability: "nonpayable",
509
- type: "function"
510
- },
511
- {
512
- inputs: [
513
- {
514
- internalType: "bytes[][]",
515
- name: "encryptedOutputs",
516
- type: "bytes[][]"
517
- },
518
- {
519
- internalType: "uint256[2]",
520
- name: "a",
521
- type: "uint256[2]"
522
- },
523
- {
524
- internalType: "uint256[2][2]",
525
- name: "b",
526
- type: "uint256[2][2]"
527
- },
528
- {
529
- internalType: "uint256[2]",
530
- name: "c",
531
- type: "uint256[2]"
532
- },
533
- {
534
- components: [
535
- {
536
- internalType: "uint16",
537
- name: "tokenNumber",
538
- type: "uint16"
539
- },
540
- {
541
- internalType: "uint16",
542
- name: "nullifierAmount",
543
- type: "uint16"
544
- },
545
- {
546
- internalType: "uint16",
547
- name: "outputAmount",
548
- type: "uint16"
549
- }
550
- ],
551
- internalType: "struct Dimensions",
552
- name: "dimensions",
553
- type: "tuple"
554
- },
555
- {
556
- components: [
557
- {
558
- internalType: "uint256",
559
- name: "rootHashHinkal",
560
- type: "uint256"
561
- },
562
- {
563
- internalType: "address[]",
564
- name: "erc20TokenAddresses",
565
- type: "address[]"
566
- },
567
- {
568
- internalType: "uint256[]",
569
- name: "tokenIds",
570
- type: "uint256[]"
571
- },
572
- {
573
- internalType: "int256[]",
574
- name: "amountChanges",
575
- type: "int256[]"
576
- },
577
- {
578
- internalType: "uint256[][]",
579
- name: "inputNullifiers",
580
- type: "uint256[][]"
581
- },
582
- {
583
- internalType: "uint256[][]",
584
- name: "outCommitments",
585
- type: "uint256[][]"
586
- },
587
- {
588
- internalType: "uint256",
589
- name: "timeStamp",
590
- type: "uint256"
591
- },
592
- {
593
- internalType: "uint256",
594
- name: "rootHashAccessToken",
595
- type: "uint256"
596
- },
597
- {
598
- internalType: "uint256",
599
- name: "calldataHash",
600
- type: "uint256"
601
- },
602
- {
603
- internalType: "uint16",
604
- name: "publicSignalCount",
605
- type: "uint16"
606
- },
607
- {
608
- internalType: "address",
609
- name: "relay",
610
- type: "address"
611
- },
612
- {
613
- internalType: "address",
614
- name: "externalAddress",
615
- type: "address"
616
- },
617
- {
618
- internalType: "uint256",
619
- name: "externalActionId",
620
- type: "uint256"
621
- },
622
- {
623
- internalType: "bytes",
624
- name: "externalActionMetadata",
625
- type: "bytes"
626
- },
627
- {
628
- internalType: "address",
629
- name: "preHookContract",
630
- type: "address"
631
- },
632
- {
633
- internalType: "address",
634
- name: "hookContract",
635
- type: "address"
636
- },
637
- {
638
- internalType: "bytes",
639
- name: "hookMetadata",
640
- type: "bytes"
641
- }
642
- ],
643
- internalType: "struct CircomData",
644
- name: "circomData",
645
- type: "tuple"
646
- }
647
- ],
648
- name: "transact",
649
- outputs: [],
650
- stateMutability: "payable",
651
- type: "function"
652
- },
653
- {
654
- inputs: [
655
- {
656
- internalType: "bytes[][]",
657
- name: "encryptedOutputs",
658
- type: "bytes[][]"
659
- },
660
- {
661
- internalType: "uint256[2]",
662
- name: "a",
663
- type: "uint256[2]"
664
- },
665
- {
666
- internalType: "uint256[2][2]",
667
- name: "b",
668
- type: "uint256[2][2]"
669
- },
670
- {
671
- internalType: "uint256[2]",
672
- name: "c",
673
- type: "uint256[2]"
674
- },
675
- {
676
- components: [
677
- {
678
- internalType: "uint16",
679
- name: "tokenNumber",
680
- type: "uint16"
681
- },
682
- {
683
- internalType: "uint16",
684
- name: "nullifierAmount",
685
- type: "uint16"
686
- },
687
- {
688
- internalType: "uint16",
689
- name: "outputAmount",
690
- type: "uint16"
691
- }
692
- ],
693
- internalType: "struct Dimensions",
694
- name: "dimensions",
695
- type: "tuple"
696
- },
697
- {
698
- components: [
699
- {
700
- internalType: "uint256",
701
- name: "rootHashHinkal",
702
- type: "uint256"
703
- },
704
- {
705
- internalType: "address[]",
706
- name: "erc20TokenAddresses",
707
- type: "address[]"
708
- },
709
- {
710
- internalType: "uint256[]",
711
- name: "tokenIds",
712
- type: "uint256[]"
713
- },
714
- {
715
- internalType: "int256[]",
716
- name: "amountChanges",
717
- type: "int256[]"
718
- },
719
- {
720
- internalType: "uint256[][]",
721
- name: "inputNullifiers",
722
- type: "uint256[][]"
723
- },
724
- {
725
- internalType: "uint256[][]",
726
- name: "outCommitments",
727
- type: "uint256[][]"
728
- },
729
- {
730
- internalType: "uint256",
731
- name: "timeStamp",
732
- type: "uint256"
733
- },
734
- {
735
- internalType: "uint256",
736
- name: "rootHashAccessToken",
737
- type: "uint256"
738
- },
739
- {
740
- internalType: "uint256",
741
- name: "calldataHash",
742
- type: "uint256"
743
- },
744
- {
745
- internalType: "uint16",
746
- name: "publicSignalCount",
747
- type: "uint16"
748
- },
749
- {
750
- internalType: "address",
751
- name: "relay",
752
- type: "address"
753
- },
754
- {
755
- internalType: "address",
756
- name: "externalAddress",
757
- type: "address"
758
- },
759
- {
760
- internalType: "uint256",
761
- name: "externalActionId",
762
- type: "uint256"
763
- },
764
- {
765
- internalType: "bytes",
766
- name: "externalActionMetadata",
767
- type: "bytes"
768
- },
769
- {
770
- internalType: "address",
771
- name: "preHookContract",
772
- type: "address"
773
- },
774
- {
775
- internalType: "address",
776
- name: "hookContract",
777
- type: "address"
778
- },
779
- {
780
- internalType: "bytes",
781
- name: "hookMetadata",
782
- type: "bytes"
783
- }
784
- ],
785
- internalType: "struct CircomData",
786
- name: "circomData",
787
- type: "tuple"
788
- }
789
- ],
790
- name: "transactWithExternalAction",
791
- outputs: [],
792
- stateMutability: "payable",
793
- type: "function"
794
- },
795
- {
796
- inputs: [
797
- {
798
- internalType: "bytes[][]",
799
- name: "encryptedOutputs",
800
- type: "bytes[][]"
801
- },
802
- {
803
- internalType: "uint256[2]",
804
- name: "a",
805
- type: "uint256[2]"
806
- },
807
- {
808
- internalType: "uint256[2][2]",
809
- name: "b",
810
- type: "uint256[2][2]"
811
- },
812
- {
813
- internalType: "uint256[2]",
814
- name: "c",
815
- type: "uint256[2]"
816
- },
817
- {
818
- components: [
819
- {
820
- internalType: "uint16",
821
- name: "tokenNumber",
822
- type: "uint16"
823
- },
824
- {
825
- internalType: "uint16",
826
- name: "nullifierAmount",
827
- type: "uint16"
828
- },
829
- {
830
- internalType: "uint16",
831
- name: "outputAmount",
832
- type: "uint16"
833
- }
834
- ],
835
- internalType: "struct Dimensions",
836
- name: "dimensions",
837
- type: "tuple"
838
- },
839
- {
840
- components: [
841
- {
842
- internalType: "uint256",
843
- name: "rootHashHinkal",
844
- type: "uint256"
845
- },
846
- {
847
- internalType: "address[]",
848
- name: "erc20TokenAddresses",
849
- type: "address[]"
850
- },
851
- {
852
- internalType: "uint256[]",
853
- name: "tokenIds",
854
- type: "uint256[]"
855
- },
856
- {
857
- internalType: "int256[]",
858
- name: "amountChanges",
859
- type: "int256[]"
860
- },
861
- {
862
- internalType: "uint256[][]",
863
- name: "inputNullifiers",
864
- type: "uint256[][]"
865
- },
866
- {
867
- internalType: "uint256[][]",
868
- name: "outCommitments",
869
- type: "uint256[][]"
870
- },
871
- {
872
- internalType: "uint256",
873
- name: "timeStamp",
874
- type: "uint256"
875
- },
876
- {
877
- internalType: "uint256",
878
- name: "rootHashAccessToken",
879
- type: "uint256"
880
- },
881
- {
882
- internalType: "uint256",
883
- name: "calldataHash",
884
- type: "uint256"
885
- },
886
- {
887
- internalType: "uint16",
888
- name: "publicSignalCount",
889
- type: "uint16"
890
- },
891
- {
892
- internalType: "address",
893
- name: "relay",
894
- type: "address"
895
- },
896
- {
897
- internalType: "address",
898
- name: "externalAddress",
899
- type: "address"
900
- },
901
- {
902
- internalType: "uint256",
903
- name: "externalActionId",
904
- type: "uint256"
905
- },
906
- {
907
- internalType: "bytes",
908
- name: "externalActionMetadata",
909
- type: "bytes"
910
- },
911
- {
912
- internalType: "address",
913
- name: "preHookContract",
914
- type: "address"
915
- },
916
- {
917
- internalType: "address",
918
- name: "hookContract",
919
- type: "address"
920
- },
921
- {
922
- internalType: "bytes",
923
- name: "hookMetadata",
924
- type: "bytes"
925
- }
926
- ],
927
- internalType: "struct CircomData",
928
- name: "circomData",
929
- type: "tuple"
930
- }
931
- ],
932
- name: "transactWithExternalActionAndHook",
933
- outputs: [],
934
- stateMutability: "payable",
935
- type: "function"
936
- },
937
- {
938
- inputs: [
939
- {
940
- internalType: "bytes[][]",
941
- name: "encryptedOutputs",
942
- type: "bytes[][]"
943
- },
944
- {
945
- internalType: "uint256[2]",
946
- name: "a",
947
- type: "uint256[2]"
948
- },
949
- {
950
- internalType: "uint256[2][2]",
951
- name: "b",
952
- type: "uint256[2][2]"
953
- },
954
- {
955
- internalType: "uint256[2]",
956
- name: "c",
957
- type: "uint256[2]"
958
- },
959
- {
960
- components: [
961
- {
962
- internalType: "uint16",
963
- name: "tokenNumber",
964
- type: "uint16"
965
- },
966
- {
967
- internalType: "uint16",
968
- name: "nullifierAmount",
969
- type: "uint16"
970
- },
971
- {
972
- internalType: "uint16",
973
- name: "outputAmount",
974
- type: "uint16"
975
- }
976
- ],
977
- internalType: "struct Dimensions",
978
- name: "dimensions",
979
- type: "tuple"
980
- },
981
- {
982
- components: [
983
- {
984
- internalType: "uint256",
985
- name: "rootHashHinkal",
986
- type: "uint256"
987
- },
988
- {
989
- internalType: "address[]",
990
- name: "erc20TokenAddresses",
991
- type: "address[]"
992
- },
993
- {
994
- internalType: "uint256[]",
995
- name: "tokenIds",
996
- type: "uint256[]"
997
- },
998
- {
999
- internalType: "int256[]",
1000
- name: "amountChanges",
1001
- type: "int256[]"
1002
- },
1003
- {
1004
- internalType: "uint256[][]",
1005
- name: "inputNullifiers",
1006
- type: "uint256[][]"
1007
- },
1008
- {
1009
- internalType: "uint256[][]",
1010
- name: "outCommitments",
1011
- type: "uint256[][]"
1012
- },
1013
- {
1014
- internalType: "uint256",
1015
- name: "timeStamp",
1016
- type: "uint256"
1017
- },
1018
- {
1019
- internalType: "uint256",
1020
- name: "rootHashAccessToken",
1021
- type: "uint256"
1022
- },
1023
- {
1024
- internalType: "uint256",
1025
- name: "calldataHash",
1026
- type: "uint256"
1027
- },
1028
- {
1029
- internalType: "uint16",
1030
- name: "publicSignalCount",
1031
- type: "uint16"
1032
- },
1033
- {
1034
- internalType: "address",
1035
- name: "relay",
1036
- type: "address"
1037
- },
1038
- {
1039
- internalType: "address",
1040
- name: "externalAddress",
1041
- type: "address"
1042
- },
1043
- {
1044
- internalType: "uint256",
1045
- name: "externalActionId",
1046
- type: "uint256"
1047
- },
1048
- {
1049
- internalType: "bytes",
1050
- name: "externalActionMetadata",
1051
- type: "bytes"
1052
- },
1053
- {
1054
- internalType: "address",
1055
- name: "preHookContract",
1056
- type: "address"
1057
- },
1058
- {
1059
- internalType: "address",
1060
- name: "hookContract",
1061
- type: "address"
1062
- },
1063
- {
1064
- internalType: "bytes",
1065
- name: "hookMetadata",
1066
- type: "bytes"
1067
- }
1068
- ],
1069
- internalType: "struct CircomData",
1070
- name: "circomData",
1071
- type: "tuple"
1072
- }
1073
- ],
1074
- name: "transactWithHook",
1075
- outputs: [],
1076
- stateMutability: "payable",
1077
- type: "function"
1078
- },
1079
- {
1080
- inputs: [
1081
- {
1082
- internalType: "address",
1083
- name: "newOwner",
1084
- type: "address"
1085
- }
1086
- ],
1087
- name: "transferOwnership",
1088
- outputs: [],
1089
- stateMutability: "nonpayable",
1090
- type: "function"
1091
- },
1092
- {
1093
- inputs: [
1094
- {
1095
- internalType: "uint256",
1096
- name: "",
1097
- type: "uint256"
1098
- }
1099
- ],
1100
- name: "tree",
1101
- outputs: [
1102
- {
1103
- internalType: "uint256",
1104
- name: "",
1105
- type: "uint256"
1106
- }
1107
- ],
1108
- stateMutability: "view",
1109
- type: "function"
1110
- },
1111
- {
1112
- stateMutability: "payable",
1113
- type: "receive"
1114
- }
1115
- ], n = "0x1F59CA3F8a1c30096Da6D77F2929d7F43bD93192", a = [
1116
- {
1117
- inputs: [
1118
- {
1119
- components: [
1120
- {
1121
- internalType: "uint128",
1122
- name: "levels",
1123
- type: "uint128"
1124
- },
1125
- {
1126
- internalType: "address",
1127
- name: "poseidon",
1128
- type: "address"
1129
- }
1130
- ],
1131
- internalType: "struct IMerkle.MerkleConstructorArgs",
1132
- name: "constructorArgs",
1133
- type: "tuple"
1134
- },
1135
- {
1136
- internalType: "uint256",
1137
- name: "_mintingFee",
1138
- type: "uint256"
1139
- },
1140
- {
1141
- internalType: "address",
1142
- name: "_axelarGateway",
1143
- type: "address"
1144
- },
1145
- {
1146
- internalType: "address",
1147
- name: "_gasService",
1148
- type: "address"
1149
- },
1150
- {
1151
- internalType: "bool",
1152
- name: "_enabled",
1153
- type: "bool"
1154
- },
1155
- {
1156
- internalType: "address[]",
1157
- name: "initialTokenSet",
1158
- type: "address[]"
1159
- }
1160
- ],
1161
- stateMutability: "nonpayable",
1162
- type: "constructor"
1163
- },
1164
- {
1165
- inputs: [],
1166
- name: "InvalidAddress",
1167
- type: "error"
1168
- },
1169
- {
1170
- inputs: [],
1171
- name: "NotApprovedByGateway",
1172
- type: "error"
1173
- },
1174
- {
1175
- anonymous: !1,
1176
- inputs: [
1177
- {
1178
- indexed: !1,
1179
- internalType: "uint256",
1180
- name: "blacklistedAccessKey",
1181
- type: "uint256"
1182
- }
1183
- ],
1184
- name: "AccessKeyBlacklisted",
1185
- type: "event"
1186
- },
1187
- {
1188
- anonymous: !1,
1189
- inputs: [
1190
- {
1191
- indexed: !1,
1192
- internalType: "uint256",
1193
- name: "accessKey",
1194
- type: "uint256"
1195
- },
1196
- {
1197
- indexed: !1,
1198
- internalType: "string",
1199
- name: "sourceChain",
1200
- type: "string"
1201
- }
1202
- ],
1203
- name: "AccessKeyMigrationReceived",
1204
- type: "event"
1205
- },
1206
- {
1207
- anonymous: !1,
1208
- inputs: [
1209
- {
1210
- indexed: !1,
1211
- internalType: "address",
1212
- name: "blacklistedAddress",
1213
- type: "address"
1214
- }
1215
- ],
1216
- name: "AddressBlacklisted",
1217
- type: "event"
1218
- },
1219
- {
1220
- anonymous: !1,
1221
- inputs: [
1222
- {
1223
- indexed: !1,
1224
- internalType: "address",
1225
- name: "addressToRestore",
1226
- type: "address"
1227
- }
1228
- ],
1229
- name: "AddressRemovedFromBlacklist",
1230
- type: "event"
1231
- },
1232
- {
1233
- anonymous: !1,
1234
- inputs: [
1235
- {
1236
- indexed: !1,
1237
- internalType: "uint256",
1238
- name: "newMintingFee",
1239
- type: "uint256"
1240
- }
1241
- ],
1242
- name: "MintingFeeChanged",
1243
- type: "event"
1244
- },
1245
- {
1246
- anonymous: !1,
1247
- inputs: [
1248
- {
1249
- indexed: !1,
1250
- internalType: "uint256",
1251
- name: "accessKey",
1252
- type: "uint256"
1253
- },
1254
- {
1255
- indexed: !1,
1256
- internalType: "uint256",
1257
- name: "index",
1258
- type: "uint256"
1259
- },
1260
- {
1261
- indexed: !1,
1262
- internalType: "address",
1263
- name: "senderAddress",
1264
- type: "address"
1265
- }
1266
- ],
1267
- name: "NewAccessKeyAdded",
1268
- type: "event"
1269
- },
1270
- {
1271
- anonymous: !1,
1272
- inputs: [
1273
- {
1274
- indexed: !0,
1275
- internalType: "address",
1276
- name: "previousOwner",
1277
- type: "address"
1278
- },
1279
- {
1280
- indexed: !0,
1281
- internalType: "address",
1282
- name: "newOwner",
1283
- type: "address"
1284
- }
1285
- ],
1286
- name: "OwnershipTransferred",
1287
- type: "event"
1288
- },
1289
- {
1290
- anonymous: !1,
1291
- inputs: [
1292
- {
1293
- indexed: !1,
1294
- internalType: "address",
1295
- name: "relayAddress",
1296
- type: "address"
1297
- },
1298
- {
1299
- indexed: !1,
1300
- internalType: "string",
1301
- name: "url",
1302
- type: "string"
1303
- },
1304
- {
1305
- indexed: !1,
1306
- internalType: "uint256",
1307
- name: "priority",
1308
- type: "uint256"
1309
- }
1310
- ],
1311
- name: "RelayAddedOrSet",
1312
- type: "event"
1313
- },
1314
- {
1315
- anonymous: !1,
1316
- inputs: [
1317
- {
1318
- indexed: !1,
1319
- internalType: "uint16",
1320
- name: "newRelayPercentage",
1321
- type: "uint16"
1322
- }
1323
- ],
1324
- name: "RelayPercentageChanged",
1325
- type: "event"
1326
- },
1327
- {
1328
- anonymous: !1,
1329
- inputs: [
1330
- {
1331
- indexed: !1,
1332
- internalType: "address",
1333
- name: "relayAddress",
1334
- type: "address"
1335
- }
1336
- ],
1337
- name: "RelayRemoved",
1338
- type: "event"
1339
- },
1340
- {
1341
- inputs: [
1342
- {
1343
- internalType: "uint256",
1344
- name: "",
1345
- type: "uint256"
1346
- }
1347
- ],
1348
- name: "accessTokens",
1349
- outputs: [
1350
- {
1351
- internalType: "address",
1352
- name: "",
1353
- type: "address"
1354
- }
1355
- ],
1356
- stateMutability: "view",
1357
- type: "function"
1358
- },
1359
- {
1360
- inputs: [
1361
- {
1362
- internalType: "address",
1363
- name: "erc20Token",
1364
- type: "address"
1365
- }
1366
- ],
1367
- name: "addERCToken",
1368
- outputs: [],
1369
- stateMutability: "nonpayable",
1370
- type: "function"
1371
- },
1372
- {
1373
- inputs: [
1374
- {
1375
- internalType: "address",
1376
- name: "_relayAddress",
1377
- type: "address"
1378
- },
1379
- {
1380
- internalType: "string",
1381
- name: "_url",
1382
- type: "string"
1383
- },
1384
- {
1385
- internalType: "uint256",
1386
- name: "_priority",
1387
- type: "uint256"
1388
- }
1389
- ],
1390
- name: "addOrSetRelay",
1391
- outputs: [],
1392
- stateMutability: "nonpayable",
1393
- type: "function"
1394
- },
1395
- {
1396
- inputs: [
1397
- {
1398
- components: [
1399
- {
1400
- internalType: "uint8",
1401
- name: "v",
1402
- type: "uint8"
1403
- },
1404
- {
1405
- internalType: "bytes32",
1406
- name: "r",
1407
- type: "bytes32"
1408
- },
1409
- {
1410
- internalType: "bytes32",
1411
- name: "s",
1412
- type: "bytes32"
1413
- },
1414
- {
1415
- internalType: "uint256",
1416
- name: "accessKey",
1417
- type: "uint256"
1418
- },
1419
- {
1420
- internalType: "uint256",
1421
- name: "nonce",
1422
- type: "uint256"
1423
- }
1424
- ],
1425
- internalType: "struct SignatureData",
1426
- name: "signatureData",
1427
- type: "tuple"
1428
- },
1429
- {
1430
- components: [
1431
- {
1432
- components: [
1433
- {
1434
- internalType: "string",
1435
- name: "destinationChain",
1436
- type: "string"
1437
- },
1438
- {
1439
- internalType: "string",
1440
- name: "destinationAddress",
1441
- type: "string"
1442
- },
1443
- {
1444
- internalType: "uint256",
1445
- name: "messageFee",
1446
- type: "uint256"
1447
- }
1448
- ],
1449
- internalType: "struct AxelarChainInfo[]",
1450
- name: "chains",
1451
- type: "tuple[]"
1452
- },
1453
- {
1454
- internalType: "uint256",
1455
- name: "totalMessageFees",
1456
- type: "uint256"
1457
- }
1458
- ],
1459
- internalType: "struct AxelarCapsule",
1460
- name: "capsule",
1461
- type: "tuple"
1462
- }
1463
- ],
1464
- name: "addToken",
1465
- outputs: [],
1466
- stateMutability: "payable",
1467
- type: "function"
1468
- },
1469
- {
1470
- inputs: [
1471
- {
1472
- components: [
1473
- {
1474
- internalType: "uint256",
1475
- name: "accessToken",
1476
- type: "uint256"
1477
- },
1478
- {
1479
- internalType: "address",
1480
- name: "ethAddress",
1481
- type: "address"
1482
- }
1483
- ],
1484
- internalType: "struct AccessTokenWithAddress[]",
1485
- name: "accessObjects",
1486
- type: "tuple[]"
1487
- }
1488
- ],
1489
- name: "approveTokens",
1490
- outputs: [],
1491
- stateMutability: "nonpayable",
1492
- type: "function"
1493
- },
1494
- {
1495
- inputs: [
1496
- {
1497
- internalType: "uint256",
1498
- name: "accessKey",
1499
- type: "uint256"
1500
- },
1501
- {
1502
- internalType: "uint256",
1503
- name: "index",
1504
- type: "uint256"
1505
- }
1506
- ],
1507
- name: "blacklistAccessKey",
1508
- outputs: [],
1509
- stateMutability: "nonpayable",
1510
- type: "function"
1511
- },
1512
- {
1513
- inputs: [
1514
- {
1515
- internalType: "address",
1516
- name: "_address",
1517
- type: "address"
1518
- }
1519
- ],
1520
- name: "blacklistAddress",
1521
- outputs: [],
1522
- stateMutability: "nonpayable",
1523
- type: "function"
1524
- },
1525
- {
1526
- inputs: [
1527
- {
1528
- internalType: "address",
1529
- name: "",
1530
- type: "address"
1531
- }
1532
- ],
1533
- name: "blacklistAddresses",
1534
- outputs: [
1535
- {
1536
- internalType: "bool",
1537
- name: "",
1538
- type: "bool"
1539
- }
1540
- ],
1541
- stateMutability: "view",
1542
- type: "function"
1543
- },
1544
- {
1545
- inputs: [
1546
- {
1547
- internalType: "bool",
1548
- name: "_enabled",
1549
- type: "bool"
1550
- }
1551
- ],
1552
- name: "changeState",
1553
- outputs: [],
1554
- stateMutability: "nonpayable",
1555
- type: "function"
1556
- },
1557
- {
1558
- inputs: [],
1559
- name: "enabled",
1560
- outputs: [
1561
- {
1562
- internalType: "bool",
1563
- name: "",
1564
- type: "bool"
1565
- }
1566
- ],
1567
- stateMutability: "view",
1568
- type: "function"
1569
- },
1570
- {
1571
- inputs: [
1572
- {
1573
- internalType: "bytes32",
1574
- name: "commandId",
1575
- type: "bytes32"
1576
- },
1577
- {
1578
- internalType: "string",
1579
- name: "sourceChain",
1580
- type: "string"
1581
- },
1582
- {
1583
- internalType: "string",
1584
- name: "sourceAddress",
1585
- type: "string"
1586
- },
1587
- {
1588
- internalType: "bytes",
1589
- name: "payload",
1590
- type: "bytes"
1591
- }
1592
- ],
1593
- name: "execute",
1594
- outputs: [],
1595
- stateMutability: "nonpayable",
1596
- type: "function"
1597
- },
1598
- {
1599
- inputs: [
1600
- {
1601
- internalType: "bytes32",
1602
- name: "commandId",
1603
- type: "bytes32"
1604
- },
1605
- {
1606
- internalType: "string",
1607
- name: "sourceChain",
1608
- type: "string"
1609
- },
1610
- {
1611
- internalType: "string",
1612
- name: "sourceAddress",
1613
- type: "string"
1614
- },
1615
- {
1616
- internalType: "bytes",
1617
- name: "payload",
1618
- type: "bytes"
1619
- },
1620
- {
1621
- internalType: "string",
1622
- name: "tokenSymbol",
1623
- type: "string"
1624
- },
1625
- {
1626
- internalType: "uint256",
1627
- name: "amount",
1628
- type: "uint256"
1629
- }
1630
- ],
1631
- name: "executeWithToken",
1632
- outputs: [],
1633
- stateMutability: "nonpayable",
1634
- type: "function"
1635
- },
1636
- {
1637
- inputs: [],
1638
- name: "gasService",
1639
- outputs: [
1640
- {
1641
- internalType: "contract IAxelarGasService",
1642
- name: "",
1643
- type: "address"
1644
- }
1645
- ],
1646
- stateMutability: "view",
1647
- type: "function"
1648
- },
1649
- {
1650
- inputs: [],
1651
- name: "gateway",
1652
- outputs: [
1653
- {
1654
- internalType: "contract IAxelarGateway",
1655
- name: "",
1656
- type: "address"
1657
- }
1658
- ],
1659
- stateMutability: "view",
1660
- type: "function"
1661
- },
1662
- {
1663
- inputs: [
1664
- {
1665
- internalType: "uint256",
1666
- name: "amount",
1667
- type: "uint256"
1668
- },
1669
- {
1670
- internalType: "address",
1671
- name: "erc20Address",
1672
- type: "address"
1673
- }
1674
- ],
1675
- name: "getRelayPercentage",
1676
- outputs: [
1677
- {
1678
- internalType: "uint16",
1679
- name: "",
1680
- type: "uint16"
1681
- }
1682
- ],
1683
- stateMutability: "view",
1684
- type: "function"
1685
- },
1686
- {
1687
- inputs: [],
1688
- name: "getRelayStore",
1689
- outputs: [
1690
- {
1691
- components: [
1692
- {
1693
- internalType: "address",
1694
- name: "relayAddress",
1695
- type: "address"
1696
- },
1697
- {
1698
- internalType: "string",
1699
- name: "url",
1700
- type: "string"
1701
- },
1702
- {
1703
- internalType: "uint256",
1704
- name: "priority",
1705
- type: "uint256"
1706
- }
1707
- ],
1708
- internalType: "struct RelayEntry[]",
1709
- name: "",
1710
- type: "tuple[]"
1711
- }
1712
- ],
1713
- stateMutability: "view",
1714
- type: "function"
1715
- },
1716
- {
1717
- inputs: [],
1718
- name: "getRootHash",
1719
- outputs: [
1720
- {
1721
- internalType: "uint256",
1722
- name: "",
1723
- type: "uint256"
1724
- }
1725
- ],
1726
- stateMutability: "view",
1727
- type: "function"
1728
- },
1729
- {
1730
- inputs: [
1731
- {
1732
- internalType: "address",
1733
- name: "_token",
1734
- type: "address"
1735
- }
1736
- ],
1737
- name: "getTokenLimit",
1738
- outputs: [
1739
- {
1740
- internalType: "uint256",
1741
- name: "",
1742
- type: "uint256"
1743
- }
1744
- ],
1745
- stateMutability: "view",
1746
- type: "function"
1747
- },
1748
- {
1749
- inputs: [
1750
- {
1751
- internalType: "uint256",
1752
- name: "accessKey",
1753
- type: "uint256"
1754
- }
1755
- ],
1756
- name: "hasToken",
1757
- outputs: [
1758
- {
1759
- internalType: "bool",
1760
- name: "",
1761
- type: "bool"
1762
- }
1763
- ],
1764
- stateMutability: "view",
1765
- type: "function"
1766
- },
1767
- {
1768
- inputs: [
1769
- {
1770
- internalType: "uint256",
1771
- name: "a",
1772
- type: "uint256"
1773
- },
1774
- {
1775
- internalType: "uint256",
1776
- name: "b",
1777
- type: "uint256"
1778
- }
1779
- ],
1780
- name: "hash",
1781
- outputs: [
1782
- {
1783
- internalType: "uint256",
1784
- name: "poseidonHash",
1785
- type: "uint256"
1786
- }
1787
- ],
1788
- stateMutability: "view",
1789
- type: "function"
1790
- },
1791
- {
1792
- inputs: [
1793
- {
1794
- internalType: "address",
1795
- name: "relayAddress",
1796
- type: "address"
1797
- }
1798
- ],
1799
- name: "isRelayInList",
1800
- outputs: [
1801
- {
1802
- internalType: "bool",
1803
- name: "",
1804
- type: "bool"
1805
- }
1806
- ],
1807
- stateMutability: "view",
1808
- type: "function"
1809
- },
1810
- {
1811
- inputs: [
1812
- {
1813
- internalType: "uint256",
1814
- name: "x",
1815
- type: "uint256"
1816
- }
1817
- ],
1818
- name: "logarithm2",
1819
- outputs: [
1820
- {
1821
- internalType: "uint256",
1822
- name: "y",
1823
- type: "uint256"
1824
- }
1825
- ],
1826
- stateMutability: "pure",
1827
- type: "function"
1828
- },
1829
- {
1830
- inputs: [],
1831
- name: "m_index",
1832
- outputs: [
1833
- {
1834
- internalType: "uint128",
1835
- name: "",
1836
- type: "uint128"
1837
- }
1838
- ],
1839
- stateMutability: "view",
1840
- type: "function"
1841
- },
1842
- {
1843
- inputs: [
1844
- {
1845
- components: [
1846
- {
1847
- components: [
1848
- {
1849
- internalType: "string",
1850
- name: "destinationChain",
1851
- type: "string"
1852
- },
1853
- {
1854
- internalType: "string",
1855
- name: "destinationAddress",
1856
- type: "string"
1857
- },
1858
- {
1859
- internalType: "uint256",
1860
- name: "messageFee",
1861
- type: "uint256"
1862
- }
1863
- ],
1864
- internalType: "struct AxelarChainInfo[]",
1865
- name: "chains",
1866
- type: "tuple[]"
1867
- },
1868
- {
1869
- internalType: "uint256",
1870
- name: "totalMessageFees",
1871
- type: "uint256"
1872
- }
1873
- ],
1874
- internalType: "struct AxelarCapsule",
1875
- name: "capsule",
1876
- type: "tuple"
1877
- },
1878
- {
1879
- internalType: "uint256",
1880
- name: "accessKey",
1881
- type: "uint256"
1882
- },
1883
- {
1884
- internalType: "bool",
1885
- name: "afterMint",
1886
- type: "bool"
1887
- }
1888
- ],
1889
- name: "migrateAccessToken",
1890
- outputs: [],
1891
- stateMutability: "payable",
1892
- type: "function"
1893
- },
1894
- {
1895
- inputs: [],
1896
- name: "mintingFee",
1897
- outputs: [
1898
- {
1899
- internalType: "uint256",
1900
- name: "",
1901
- type: "uint256"
1902
- }
1903
- ],
1904
- stateMutability: "view",
1905
- type: "function"
1906
- },
1907
- {
1908
- inputs: [],
1909
- name: "owner",
1910
- outputs: [
1911
- {
1912
- internalType: "address",
1913
- name: "",
1914
- type: "address"
1915
- }
1916
- ],
1917
- stateMutability: "view",
1918
- type: "function"
1919
- },
1920
- {
1921
- inputs: [
1922
- {
1923
- components: [
1924
- {
1925
- internalType: "uint256",
1926
- name: "rootHashHinkal",
1927
- type: "uint256"
1928
- },
1929
- {
1930
- internalType: "address[]",
1931
- name: "erc20TokenAddresses",
1932
- type: "address[]"
1933
- },
1934
- {
1935
- internalType: "uint256[]",
1936
- name: "tokenIds",
1937
- type: "uint256[]"
1938
- },
1939
- {
1940
- internalType: "int256[]",
1941
- name: "amountChanges",
1942
- type: "int256[]"
1943
- },
1944
- {
1945
- internalType: "uint256[][]",
1946
- name: "inputNullifiers",
1947
- type: "uint256[][]"
1948
- },
1949
- {
1950
- internalType: "uint256[][]",
1951
- name: "outCommitments",
1952
- type: "uint256[][]"
1953
- },
1954
- {
1955
- internalType: "uint256",
1956
- name: "timeStamp",
1957
- type: "uint256"
1958
- },
1959
- {
1960
- internalType: "uint256",
1961
- name: "rootHashAccessToken",
1962
- type: "uint256"
1963
- },
1964
- {
1965
- internalType: "uint256",
1966
- name: "calldataHash",
1967
- type: "uint256"
1968
- },
1969
- {
1970
- internalType: "uint16",
1971
- name: "publicSignalCount",
1972
- type: "uint16"
1973
- },
1974
- {
1975
- internalType: "address",
1976
- name: "relay",
1977
- type: "address"
1978
- },
1979
- {
1980
- internalType: "address",
1981
- name: "externalAddress",
1982
- type: "address"
1983
- },
1984
- {
1985
- internalType: "uint256",
1986
- name: "externalActionId",
1987
- type: "uint256"
1988
- },
1989
- {
1990
- internalType: "bytes",
1991
- name: "externalActionMetadata",
1992
- type: "bytes"
1993
- },
1994
- {
1995
- internalType: "address",
1996
- name: "preHookContract",
1997
- type: "address"
1998
- },
1999
- {
2000
- internalType: "address",
2001
- name: "hookContract",
2002
- type: "address"
2003
- },
2004
- {
2005
- internalType: "bytes",
2006
- name: "hookMetadata",
2007
- type: "bytes"
2008
- }
2009
- ],
2010
- internalType: "struct CircomData",
2011
- name: "circomData",
2012
- type: "tuple"
2013
- }
2014
- ],
2015
- name: "performHinkalChecks",
2016
- outputs: [
2017
- {
2018
- internalType: "uint256[]",
2019
- name: "",
2020
- type: "uint256[]"
2021
- }
2022
- ],
2023
- stateMutability: "view",
2024
- type: "function"
2025
- },
2026
- {
2027
- inputs: [
2028
- {
2029
- internalType: "address",
2030
- name: "sender",
2031
- type: "address"
2032
- }
2033
- ],
2034
- name: "registerCheck",
2035
- outputs: [],
2036
- stateMutability: "view",
2037
- type: "function"
2038
- },
2039
- {
2040
- inputs: [
2041
- {
2042
- internalType: "address",
2043
- name: "",
2044
- type: "address"
2045
- }
2046
- ],
2047
- name: "relayList",
2048
- outputs: [
2049
- {
2050
- internalType: "address",
2051
- name: "relayAddress",
2052
- type: "address"
2053
- },
2054
- {
2055
- internalType: "string",
2056
- name: "url",
2057
- type: "string"
2058
- },
2059
- {
2060
- internalType: "uint256",
2061
- name: "priority",
2062
- type: "uint256"
2063
- }
2064
- ],
2065
- stateMutability: "view",
2066
- type: "function"
2067
- },
2068
- {
2069
- inputs: [],
2070
- name: "relayPercentage",
2071
- outputs: [
2072
- {
2073
- internalType: "uint16",
2074
- name: "",
2075
- type: "uint16"
2076
- }
2077
- ],
2078
- stateMutability: "view",
2079
- type: "function"
2080
- },
2081
- {
2082
- inputs: [
2083
- {
2084
- internalType: "uint256",
2085
- name: "",
2086
- type: "uint256"
2087
- }
2088
- ],
2089
- name: "relayStore",
2090
- outputs: [
2091
- {
2092
- internalType: "address",
2093
- name: "relayAddress",
2094
- type: "address"
2095
- },
2096
- {
2097
- internalType: "string",
2098
- name: "url",
2099
- type: "string"
2100
- },
2101
- {
2102
- internalType: "uint256",
2103
- name: "priority",
2104
- type: "uint256"
2105
- }
2106
- ],
2107
- stateMutability: "view",
2108
- type: "function"
2109
- },
2110
- {
2111
- inputs: [
2112
- {
2113
- internalType: "address",
2114
- name: "_address",
2115
- type: "address"
2116
- }
2117
- ],
2118
- name: "removeAddressFromBlacklist",
2119
- outputs: [],
2120
- stateMutability: "nonpayable",
2121
- type: "function"
2122
- },
2123
- {
2124
- inputs: [
2125
- {
2126
- internalType: "address",
2127
- name: "_relayAddress",
2128
- type: "address"
2129
- }
2130
- ],
2131
- name: "removeRelay",
2132
- outputs: [],
2133
- stateMutability: "nonpayable",
2134
- type: "function"
2135
- },
2136
- {
2137
- inputs: [
2138
- {
2139
- internalType: "address",
2140
- name: "erc20Token",
2141
- type: "address"
2142
- }
2143
- ],
2144
- name: "removeToken",
2145
- outputs: [],
2146
- stateMutability: "nonpayable",
2147
- type: "function"
2148
- },
2149
- {
2150
- inputs: [],
2151
- name: "renounceOwnership",
2152
- outputs: [],
2153
- stateMutability: "nonpayable",
2154
- type: "function"
2155
- },
2156
- {
2157
- inputs: [
2158
- {
2159
- internalType: "uint256",
2160
- name: "_root",
2161
- type: "uint256"
2162
- }
2163
- ],
2164
- name: "rootHashExists",
2165
- outputs: [
2166
- {
2167
- internalType: "bool",
2168
- name: "",
2169
- type: "bool"
2170
- }
2171
- ],
2172
- stateMutability: "view",
2173
- type: "function"
2174
- },
2175
- {
2176
- inputs: [],
2177
- name: "rootIndex",
2178
- outputs: [
2179
- {
2180
- internalType: "uint128",
2181
- name: "",
2182
- type: "uint128"
2183
- }
2184
- ],
2185
- stateMutability: "view",
2186
- type: "function"
2187
- },
2188
- {
2189
- inputs: [
2190
- {
2191
- internalType: "uint256",
2192
- name: "_mintingFee",
2193
- type: "uint256"
2194
- }
2195
- ],
2196
- name: "setMintingFee",
2197
- outputs: [],
2198
- stateMutability: "nonpayable",
2199
- type: "function"
2200
- },
2201
- {
2202
- inputs: [
2203
- {
2204
- internalType: "uint16",
2205
- name: "_relayPercentage",
2206
- type: "uint16"
2207
- }
2208
- ],
2209
- name: "setRelayPercentage",
2210
- outputs: [],
2211
- stateMutability: "nonpayable",
2212
- type: "function"
2213
- },
2214
- {
2215
- inputs: [
2216
- {
2217
- internalType: "address",
2218
- name: "_token",
2219
- type: "address"
2220
- },
2221
- {
2222
- internalType: "uint256",
2223
- name: "_tokenLimit",
2224
- type: "uint256"
2225
- }
2226
- ],
2227
- name: "setTokenLimit",
2228
- outputs: [],
2229
- stateMutability: "nonpayable",
2230
- type: "function"
2231
- },
2232
- {
2233
- inputs: [
2234
- {
2235
- internalType: "address",
2236
- name: "erc20Token",
2237
- type: "address"
2238
- }
2239
- ],
2240
- name: "tokenInRegistry",
2241
- outputs: [
2242
- {
2243
- internalType: "bool",
2244
- name: "",
2245
- type: "bool"
2246
- }
2247
- ],
2248
- stateMutability: "view",
2249
- type: "function"
2250
- },
2251
- {
2252
- inputs: [
2253
- {
2254
- internalType: "address",
2255
- name: "",
2256
- type: "address"
2257
- }
2258
- ],
2259
- name: "tokenLimits",
2260
- outputs: [
2261
- {
2262
- internalType: "uint256",
2263
- name: "",
2264
- type: "uint256"
2265
- }
2266
- ],
2267
- stateMutability: "view",
2268
- type: "function"
2269
- },
2270
- {
2271
- inputs: [
2272
- {
2273
- internalType: "address",
2274
- name: "",
2275
- type: "address"
2276
- }
2277
- ],
2278
- name: "tokenRegistry",
2279
- outputs: [
2280
- {
2281
- internalType: "bool",
2282
- name: "",
2283
- type: "bool"
2284
- }
2285
- ],
2286
- stateMutability: "view",
2287
- type: "function"
2288
- },
2289
- {
2290
- inputs: [
2291
- {
2292
- internalType: "address",
2293
- name: "newOwner",
2294
- type: "address"
2295
- }
2296
- ],
2297
- name: "transferOwnership",
2298
- outputs: [],
2299
- stateMutability: "nonpayable",
2300
- type: "function"
2301
- },
2302
- {
2303
- inputs: [
2304
- {
2305
- internalType: "uint256",
2306
- name: "",
2307
- type: "uint256"
2308
- }
2309
- ],
2310
- name: "tree",
2311
- outputs: [
2312
- {
2313
- internalType: "uint256",
2314
- name: "",
2315
- type: "uint256"
2316
- }
2317
- ],
2318
- stateMutability: "view",
2319
- type: "function"
2320
- },
2321
- {
2322
- inputs: [
2323
- {
2324
- internalType: "uint256",
2325
- name: "",
2326
- type: "uint256"
2327
- }
2328
- ],
2329
- name: "usedNonces",
2330
- outputs: [
2331
- {
2332
- internalType: "bool",
2333
- name: "",
2334
- type: "bool"
2335
- }
2336
- ],
2337
- stateMutability: "view",
2338
- type: "function"
2339
- },
2340
- {
2341
- inputs: [],
2342
- name: "withdraw",
2343
- outputs: [],
2344
- stateMutability: "nonpayable",
2345
- type: "function"
2346
- }
2347
- ], i = "0xF25fB27E303243D45aE1d2e1937f4784055A7B53", s = "0x2BE7024Cc901568a4FA52600C2036F22CDeBEF3f", p = "0x119B7fd1C74020034c169157538EEe34f962BE0e", y = "0x7d07Edb2E2F2554099f5D3DCBE64A5C98281d849", r = [
2348
- {
2349
- inputs: [
2350
- {
2351
- internalType: "address",
2352
- name: "_hinkalAddress",
2353
- type: "address"
2354
- },
2355
- {
2356
- internalType: "address",
2357
- name: "_CRV",
2358
- type: "address"
2359
- }
2360
- ],
2361
- stateMutability: "nonpayable",
2362
- type: "constructor"
2363
- },
2364
- {
2365
- anonymous: !1,
2366
- inputs: [
2367
- {
2368
- indexed: !0,
2369
- internalType: "address",
2370
- name: "previousOwner",
2371
- type: "address"
2372
- },
2373
- {
2374
- indexed: !0,
2375
- internalType: "address",
2376
- name: "newOwner",
2377
- type: "address"
2378
- }
2379
- ],
2380
- name: "OwnershipTransferred",
2381
- type: "event"
2382
- },
2383
- {
2384
- inputs: [
2385
- {
2386
- internalType: "address",
2387
- name: "gaugeAddress",
2388
- type: "address"
2389
- }
2390
- ],
2391
- name: "getWrappedTokenAddress",
2392
- outputs: [
2393
- {
2394
- internalType: "address",
2395
- name: "",
2396
- type: "address"
2397
- }
2398
- ],
2399
- stateMutability: "view",
2400
- type: "function"
2401
- },
2402
- {
2403
- inputs: [
2404
- {
2405
- internalType: "address",
2406
- name: "",
2407
- type: "address"
2408
- },
2409
- {
2410
- internalType: "address",
2411
- name: "",
2412
- type: "address"
2413
- },
2414
- {
2415
- internalType: "uint256",
2416
- name: "",
2417
- type: "uint256"
2418
- },
2419
- {
2420
- internalType: "bytes",
2421
- name: "",
2422
- type: "bytes"
2423
- }
2424
- ],
2425
- name: "onERC721Received",
2426
- outputs: [
2427
- {
2428
- internalType: "bytes4",
2429
- name: "",
2430
- type: "bytes4"
2431
- }
2432
- ],
2433
- stateMutability: "pure",
2434
- type: "function"
2435
- },
2436
- {
2437
- inputs: [],
2438
- name: "owner",
2439
- outputs: [
2440
- {
2441
- internalType: "address",
2442
- name: "",
2443
- type: "address"
2444
- }
2445
- ],
2446
- stateMutability: "view",
2447
- type: "function"
2448
- },
2449
- {
2450
- inputs: [
2451
- {
2452
- internalType: "address",
2453
- name: "gaugeAddress",
2454
- type: "address"
2455
- },
2456
- {
2457
- internalType: "address",
2458
- name: "wrappedTokenAddress",
2459
- type: "address"
2460
- }
2461
- ],
2462
- name: "registerWrappedToken",
2463
- outputs: [],
2464
- stateMutability: "nonpayable",
2465
- type: "function"
2466
- },
2467
- {
2468
- inputs: [],
2469
- name: "renounceOwnership",
2470
- outputs: [],
2471
- stateMutability: "nonpayable",
2472
- type: "function"
2473
- },
2474
- {
2475
- inputs: [
2476
- {
2477
- components: [
2478
- {
2479
- internalType: "uint256",
2480
- name: "rootHashHinkal",
2481
- type: "uint256"
2482
- },
2483
- {
2484
- internalType: "address[]",
2485
- name: "erc20TokenAddresses",
2486
- type: "address[]"
2487
- },
2488
- {
2489
- internalType: "uint256[]",
2490
- name: "tokenIds",
2491
- type: "uint256[]"
2492
- },
2493
- {
2494
- internalType: "int256[]",
2495
- name: "amountChanges",
2496
- type: "int256[]"
2497
- },
2498
- {
2499
- internalType: "uint256[][]",
2500
- name: "inputNullifiers",
2501
- type: "uint256[][]"
2502
- },
2503
- {
2504
- internalType: "uint256[][]",
2505
- name: "outCommitments",
2506
- type: "uint256[][]"
2507
- },
2508
- {
2509
- internalType: "uint256",
2510
- name: "timeStamp",
2511
- type: "uint256"
2512
- },
2513
- {
2514
- internalType: "uint256",
2515
- name: "rootHashAccessToken",
2516
- type: "uint256"
2517
- },
2518
- {
2519
- internalType: "uint256",
2520
- name: "calldataHash",
2521
- type: "uint256"
2522
- },
2523
- {
2524
- internalType: "uint16",
2525
- name: "publicSignalCount",
2526
- type: "uint16"
2527
- },
2528
- {
2529
- internalType: "address",
2530
- name: "relay",
2531
- type: "address"
2532
- },
2533
- {
2534
- internalType: "address",
2535
- name: "externalAddress",
2536
- type: "address"
2537
- },
2538
- {
2539
- internalType: "uint256",
2540
- name: "externalActionId",
2541
- type: "uint256"
2542
- },
2543
- {
2544
- internalType: "bytes",
2545
- name: "externalActionMetadata",
2546
- type: "bytes"
2547
- },
2548
- {
2549
- internalType: "address",
2550
- name: "preHookContract",
2551
- type: "address"
2552
- },
2553
- {
2554
- internalType: "address",
2555
- name: "hookContract",
2556
- type: "address"
2557
- },
2558
- {
2559
- internalType: "bytes",
2560
- name: "hookMetadata",
2561
- type: "bytes"
2562
- }
2563
- ],
2564
- internalType: "struct CircomData",
2565
- name: "circomData",
2566
- type: "tuple"
2567
- }
2568
- ],
2569
- name: "runAction",
2570
- outputs: [],
2571
- stateMutability: "nonpayable",
2572
- type: "function"
2573
- },
2574
- {
2575
- inputs: [
2576
- {
2577
- internalType: "address",
2578
- name: "newOwner",
2579
- type: "address"
2580
- }
2581
- ],
2582
- name: "transferOwnership",
2583
- outputs: [],
2584
- stateMutability: "nonpayable",
2585
- type: "function"
2586
- },
2587
- {
2588
- stateMutability: "payable",
2589
- type: "receive"
2590
- }
2591
- ], u = [
2592
- {
2593
- inputs: [
2594
- {
2595
- internalType: "string",
2596
- name: "name_",
2597
- type: "string"
2598
- },
2599
- {
2600
- internalType: "string",
2601
- name: "symbol_",
2602
- type: "string"
2603
- },
2604
- {
2605
- internalType: "address",
2606
- name: "_curveExternalAction",
2607
- type: "address"
2608
- },
2609
- {
2610
- internalType: "address",
2611
- name: "_curveGauge",
2612
- type: "address"
2613
- },
2614
- {
2615
- internalType: "uint256",
2616
- name: "_tokenlessProduction",
2617
- type: "uint256"
2618
- },
2619
- {
2620
- internalType: "address",
2621
- name: "_crv",
2622
- type: "address"
2623
- },
2624
- {
2625
- internalType: "address",
2626
- name: "_minter",
2627
- type: "address"
2628
- },
2629
- {
2630
- internalType: "address",
2631
- name: "_veboost",
2632
- type: "address"
2633
- }
2634
- ],
2635
- stateMutability: "nonpayable",
2636
- type: "constructor"
2637
- },
2638
- {
2639
- anonymous: !1,
2640
- inputs: [
2641
- {
2642
- indexed: !0,
2643
- internalType: "address",
2644
- name: "owner",
2645
- type: "address"
2646
- },
2647
- {
2648
- indexed: !0,
2649
- internalType: "address",
2650
- name: "spender",
2651
- type: "address"
2652
- },
2653
- {
2654
- indexed: !1,
2655
- internalType: "uint256",
2656
- name: "value",
2657
- type: "uint256"
2658
- }
2659
- ],
2660
- name: "Approval",
2661
- type: "event"
2662
- },
2663
- {
2664
- anonymous: !1,
2665
- inputs: [
2666
- {
2667
- indexed: !0,
2668
- internalType: "address",
2669
- name: "previousOwner",
2670
- type: "address"
2671
- },
2672
- {
2673
- indexed: !0,
2674
- internalType: "address",
2675
- name: "newOwner",
2676
- type: "address"
2677
- }
2678
- ],
2679
- name: "OwnershipTransferred",
2680
- type: "event"
2681
- },
2682
- {
2683
- anonymous: !1,
2684
- inputs: [
2685
- {
2686
- indexed: !0,
2687
- internalType: "address",
2688
- name: "from",
2689
- type: "address"
2690
- },
2691
- {
2692
- indexed: !0,
2693
- internalType: "address",
2694
- name: "to",
2695
- type: "address"
2696
- },
2697
- {
2698
- indexed: !1,
2699
- internalType: "uint256",
2700
- name: "value",
2701
- type: "uint256"
2702
- }
2703
- ],
2704
- name: "Transfer",
2705
- type: "event"
2706
- },
2707
- {
2708
- inputs: [
2709
- {
2710
- internalType: "address",
2711
- name: "owner",
2712
- type: "address"
2713
- },
2714
- {
2715
- internalType: "address",
2716
- name: "spender",
2717
- type: "address"
2718
- }
2719
- ],
2720
- name: "allowance",
2721
- outputs: [
2722
- {
2723
- internalType: "uint256",
2724
- name: "",
2725
- type: "uint256"
2726
- }
2727
- ],
2728
- stateMutability: "view",
2729
- type: "function"
2730
- },
2731
- {
2732
- inputs: [
2733
- {
2734
- internalType: "address",
2735
- name: "spender",
2736
- type: "address"
2737
- },
2738
- {
2739
- internalType: "uint256",
2740
- name: "amount",
2741
- type: "uint256"
2742
- }
2743
- ],
2744
- name: "approve",
2745
- outputs: [
2746
- {
2747
- internalType: "bool",
2748
- name: "",
2749
- type: "bool"
2750
- }
2751
- ],
2752
- stateMutability: "nonpayable",
2753
- type: "function"
2754
- },
2755
- {
2756
- inputs: [
2757
- {
2758
- internalType: "address",
2759
- name: "account",
2760
- type: "address"
2761
- }
2762
- ],
2763
- name: "balanceOf",
2764
- outputs: [
2765
- {
2766
- internalType: "uint256",
2767
- name: "",
2768
- type: "uint256"
2769
- }
2770
- ],
2771
- stateMutability: "view",
2772
- type: "function"
2773
- },
2774
- {
2775
- inputs: [
2776
- {
2777
- internalType: "address",
2778
- name: "burnAddress",
2779
- type: "address"
2780
- },
2781
- {
2782
- internalType: "address",
2783
- name: "receiveAddress",
2784
- type: "address"
2785
- },
2786
- {
2787
- internalType: "uint256",
2788
- name: "amount",
2789
- type: "uint256"
2790
- }
2791
- ],
2792
- name: "burn",
2793
- outputs: [],
2794
- stateMutability: "nonpayable",
2795
- type: "function"
2796
- },
2797
- {
2798
- inputs: [
2799
- {
2800
- internalType: "address",
2801
- name: "_curveExternalAction",
2802
- type: "address"
2803
- }
2804
- ],
2805
- name: "changeCrvOwner",
2806
- outputs: [],
2807
- stateMutability: "nonpayable",
2808
- type: "function"
2809
- },
2810
- {
2811
- inputs: [
2812
- {
2813
- internalType: "uint256",
2814
- name: "lpBalance",
2815
- type: "uint256"
2816
- },
2817
- {
2818
- internalType: "uint256",
2819
- name: "prevTimeStamp",
2820
- type: "uint256"
2821
- },
2822
- {
2823
- internalType: "uint256",
2824
- name: "currentTimeStamp",
2825
- type: "uint256"
2826
- }
2827
- ],
2828
- name: "checkpointAndCalculateCRV",
2829
- outputs: [
2830
- {
2831
- internalType: "uint256",
2832
- name: "amountCRV",
2833
- type: "uint256"
2834
- }
2835
- ],
2836
- stateMutability: "nonpayable",
2837
- type: "function"
2838
- },
2839
- {
2840
- inputs: [
2841
- {
2842
- internalType: "uint256",
2843
- name: "lpBalance",
2844
- type: "uint256"
2845
- },
2846
- {
2847
- internalType: "uint256",
2848
- name: "prevTimeStamp",
2849
- type: "uint256"
2850
- }
2851
- ],
2852
- name: "claimableTokens",
2853
- outputs: [
2854
- {
2855
- internalType: "uint256",
2856
- name: "amountCRV",
2857
- type: "uint256"
2858
- }
2859
- ],
2860
- stateMutability: "nonpayable",
2861
- type: "function"
2862
- },
2863
- {
2864
- inputs: [],
2865
- name: "decimals",
2866
- outputs: [
2867
- {
2868
- internalType: "uint8",
2869
- name: "",
2870
- type: "uint8"
2871
- }
2872
- ],
2873
- stateMutability: "view",
2874
- type: "function"
2875
- },
2876
- {
2877
- inputs: [
2878
- {
2879
- internalType: "address",
2880
- name: "spender",
2881
- type: "address"
2882
- },
2883
- {
2884
- internalType: "uint256",
2885
- name: "subtractedValue",
2886
- type: "uint256"
2887
- }
2888
- ],
2889
- name: "decreaseAllowance",
2890
- outputs: [
2891
- {
2892
- internalType: "bool",
2893
- name: "",
2894
- type: "bool"
2895
- }
2896
- ],
2897
- stateMutability: "nonpayable",
2898
- type: "function"
2899
- },
2900
- {
2901
- inputs: [
2902
- {
2903
- internalType: "address",
2904
- name: "spender",
2905
- type: "address"
2906
- },
2907
- {
2908
- internalType: "uint256",
2909
- name: "addedValue",
2910
- type: "uint256"
2911
- }
2912
- ],
2913
- name: "increaseAllowance",
2914
- outputs: [
2915
- {
2916
- internalType: "bool",
2917
- name: "",
2918
- type: "bool"
2919
- }
2920
- ],
2921
- stateMutability: "nonpayable",
2922
- type: "function"
2923
- },
2924
- {
2925
- inputs: [
2926
- {
2927
- internalType: "address",
2928
- name: "account",
2929
- type: "address"
2930
- },
2931
- {
2932
- internalType: "uint256",
2933
- name: "amount",
2934
- type: "uint256"
2935
- },
2936
- {
2937
- internalType: "uint256",
2938
- name: "timeStamp",
2939
- type: "uint256"
2940
- }
2941
- ],
2942
- name: "mint",
2943
- outputs: [],
2944
- stateMutability: "nonpayable",
2945
- type: "function"
2946
- },
2947
- {
2948
- inputs: [],
2949
- name: "name",
2950
- outputs: [
2951
- {
2952
- internalType: "string",
2953
- name: "",
2954
- type: "string"
2955
- }
2956
- ],
2957
- stateMutability: "view",
2958
- type: "function"
2959
- },
2960
- {
2961
- inputs: [],
2962
- name: "owner",
2963
- outputs: [
2964
- {
2965
- internalType: "address",
2966
- name: "",
2967
- type: "address"
2968
- }
2969
- ],
2970
- stateMutability: "view",
2971
- type: "function"
2972
- },
2973
- {
2974
- inputs: [],
2975
- name: "renounceOwnership",
2976
- outputs: [],
2977
- stateMutability: "nonpayable",
2978
- type: "function"
2979
- },
2980
- {
2981
- inputs: [
2982
- {
2983
- internalType: "address",
2984
- name: "hinkal",
2985
- type: "address"
2986
- }
2987
- ],
2988
- name: "setApproveForDeposit",
2989
- outputs: [],
2990
- stateMutability: "nonpayable",
2991
- type: "function"
2992
- },
2993
- {
2994
- inputs: [],
2995
- name: "symbol",
2996
- outputs: [
2997
- {
2998
- internalType: "string",
2999
- name: "",
3000
- type: "string"
3001
- }
3002
- ],
3003
- stateMutability: "view",
3004
- type: "function"
3005
- },
3006
- {
3007
- inputs: [],
3008
- name: "totalSupply",
3009
- outputs: [
3010
- {
3011
- internalType: "uint256",
3012
- name: "",
3013
- type: "uint256"
3014
- }
3015
- ],
3016
- stateMutability: "view",
3017
- type: "function"
3018
- },
3019
- {
3020
- inputs: [
3021
- {
3022
- internalType: "address",
3023
- name: "to",
3024
- type: "address"
3025
- },
3026
- {
3027
- internalType: "uint256",
3028
- name: "amount",
3029
- type: "uint256"
3030
- }
3031
- ],
3032
- name: "transfer",
3033
- outputs: [
3034
- {
3035
- internalType: "bool",
3036
- name: "",
3037
- type: "bool"
3038
- }
3039
- ],
3040
- stateMutability: "nonpayable",
3041
- type: "function"
3042
- },
3043
- {
3044
- inputs: [
3045
- {
3046
- internalType: "address",
3047
- name: "from",
3048
- type: "address"
3049
- },
3050
- {
3051
- internalType: "address",
3052
- name: "to",
3053
- type: "address"
3054
- },
3055
- {
3056
- internalType: "uint256",
3057
- name: "amount",
3058
- type: "uint256"
3059
- }
3060
- ],
3061
- name: "transferFrom",
3062
- outputs: [
3063
- {
3064
- internalType: "bool",
3065
- name: "",
3066
- type: "bool"
3067
- }
3068
- ],
3069
- stateMutability: "nonpayable",
3070
- type: "function"
3071
- },
3072
- {
3073
- inputs: [
3074
- {
3075
- internalType: "address",
3076
- name: "newOwner",
3077
- type: "address"
3078
- }
3079
- ],
3080
- name: "transferOwnership",
3081
- outputs: [],
3082
- stateMutability: "nonpayable",
3083
- type: "function"
3084
- }
3085
- ], l = "0x55F3bE6CfB877a2AF6adAAe2178D4254A4a0e269", d = [
3086
- {
3087
- inputs: [
3088
- {
3089
- internalType: "address",
3090
- name: "_hinkalAddress",
3091
- type: "address"
3092
- },
3093
- {
3094
- internalType: "address",
3095
- name: "_crv",
3096
- type: "address"
3097
- },
3098
- {
3099
- internalType: "address",
3100
- name: "_cvx",
3101
- type: "address"
3102
- }
3103
- ],
3104
- stateMutability: "nonpayable",
3105
- type: "constructor"
3106
- },
3107
- {
3108
- anonymous: !1,
3109
- inputs: [
3110
- {
3111
- indexed: !0,
3112
- internalType: "address",
3113
- name: "previousOwner",
3114
- type: "address"
3115
- },
3116
- {
3117
- indexed: !0,
3118
- internalType: "address",
3119
- name: "newOwner",
3120
- type: "address"
3121
- }
3122
- ],
3123
- name: "OwnershipTransferred",
3124
- type: "event"
3125
- },
3126
- {
3127
- inputs: [
3128
- {
3129
- internalType: "uint256",
3130
- name: "pid",
3131
- type: "uint256"
3132
- }
3133
- ],
3134
- name: "getWrappedTokenAddress",
3135
- outputs: [
3136
- {
3137
- internalType: "address",
3138
- name: "",
3139
- type: "address"
3140
- }
3141
- ],
3142
- stateMutability: "view",
3143
- type: "function"
3144
- },
3145
- {
3146
- inputs: [],
3147
- name: "owner",
3148
- outputs: [
3149
- {
3150
- internalType: "address",
3151
- name: "",
3152
- type: "address"
3153
- }
3154
- ],
3155
- stateMutability: "view",
3156
- type: "function"
3157
- },
3158
- {
3159
- inputs: [
3160
- {
3161
- internalType: "uint256",
3162
- name: "pid",
3163
- type: "uint256"
3164
- },
3165
- {
3166
- internalType: "address",
3167
- name: "wrappedTokenAddress",
3168
- type: "address"
3169
- }
3170
- ],
3171
- name: "registerWrappedToken",
3172
- outputs: [],
3173
- stateMutability: "nonpayable",
3174
- type: "function"
3175
- },
3176
- {
3177
- inputs: [],
3178
- name: "renounceOwnership",
3179
- outputs: [],
3180
- stateMutability: "nonpayable",
3181
- type: "function"
3182
- },
3183
- {
3184
- inputs: [
3185
- {
3186
- components: [
3187
- {
3188
- internalType: "uint256",
3189
- name: "rootHashHinkal",
3190
- type: "uint256"
3191
- },
3192
- {
3193
- internalType: "address[]",
3194
- name: "erc20TokenAddresses",
3195
- type: "address[]"
3196
- },
3197
- {
3198
- internalType: "uint256[]",
3199
- name: "tokenIds",
3200
- type: "uint256[]"
3201
- },
3202
- {
3203
- internalType: "int256[]",
3204
- name: "amountChanges",
3205
- type: "int256[]"
3206
- },
3207
- {
3208
- internalType: "uint256[][]",
3209
- name: "inputNullifiers",
3210
- type: "uint256[][]"
3211
- },
3212
- {
3213
- internalType: "uint256[][]",
3214
- name: "outCommitments",
3215
- type: "uint256[][]"
3216
- },
3217
- {
3218
- internalType: "uint256",
3219
- name: "timeStamp",
3220
- type: "uint256"
3221
- },
3222
- {
3223
- internalType: "uint256",
3224
- name: "rootHashAccessToken",
3225
- type: "uint256"
3226
- },
3227
- {
3228
- internalType: "uint256",
3229
- name: "calldataHash",
3230
- type: "uint256"
3231
- },
3232
- {
3233
- internalType: "uint16",
3234
- name: "publicSignalCount",
3235
- type: "uint16"
3236
- },
3237
- {
3238
- internalType: "address",
3239
- name: "relay",
3240
- type: "address"
3241
- },
3242
- {
3243
- internalType: "address",
3244
- name: "externalAddress",
3245
- type: "address"
3246
- },
3247
- {
3248
- internalType: "uint256",
3249
- name: "externalActionId",
3250
- type: "uint256"
3251
- },
3252
- {
3253
- internalType: "bytes",
3254
- name: "externalActionMetadata",
3255
- type: "bytes"
3256
- },
3257
- {
3258
- internalType: "address",
3259
- name: "preHookContract",
3260
- type: "address"
3261
- },
3262
- {
3263
- internalType: "address",
3264
- name: "hookContract",
3265
- type: "address"
3266
- },
3267
- {
3268
- internalType: "bytes",
3269
- name: "hookMetadata",
3270
- type: "bytes"
3271
- }
3272
- ],
3273
- internalType: "struct CircomData",
3274
- name: "circomData",
3275
- type: "tuple"
3276
- }
3277
- ],
3278
- name: "runAction",
3279
- outputs: [],
3280
- stateMutability: "nonpayable",
3281
- type: "function"
3282
- },
3283
- {
3284
- inputs: [
3285
- {
3286
- internalType: "address",
3287
- name: "newOwner",
3288
- type: "address"
3289
- }
3290
- ],
3291
- name: "transferOwnership",
3292
- outputs: [],
3293
- stateMutability: "nonpayable",
3294
- type: "function"
3295
- },
3296
- {
3297
- stateMutability: "payable",
3298
- type: "receive"
3299
- }
3300
- ], o = [
3301
- {
3302
- inputs: [
3303
- {
3304
- internalType: "string",
3305
- name: "name_",
3306
- type: "string"
3307
- },
3308
- {
3309
- internalType: "string",
3310
- name: "symbol_",
3311
- type: "string"
3312
- },
3313
- {
3314
- internalType: "address",
3315
- name: "_convexExternalAction",
3316
- type: "address"
3317
- },
3318
- {
3319
- internalType: "address",
3320
- name: "_rewardPool",
3321
- type: "address"
3322
- },
3323
- {
3324
- internalType: "address",
3325
- name: "_crv",
3326
- type: "address"
3327
- },
3328
- {
3329
- internalType: "address",
3330
- name: "_cvx",
3331
- type: "address"
3332
- }
3333
- ],
3334
- stateMutability: "nonpayable",
3335
- type: "constructor"
3336
- },
3337
- {
3338
- anonymous: !1,
3339
- inputs: [
3340
- {
3341
- indexed: !0,
3342
- internalType: "address",
3343
- name: "owner",
3344
- type: "address"
3345
- },
3346
- {
3347
- indexed: !0,
3348
- internalType: "address",
3349
- name: "spender",
3350
- type: "address"
3351
- },
3352
- {
3353
- indexed: !1,
3354
- internalType: "uint256",
3355
- name: "value",
3356
- type: "uint256"
3357
- }
3358
- ],
3359
- name: "Approval",
3360
- type: "event"
3361
- },
3362
- {
3363
- anonymous: !1,
3364
- inputs: [
3365
- {
3366
- indexed: !0,
3367
- internalType: "address",
3368
- name: "previousOwner",
3369
- type: "address"
3370
- },
3371
- {
3372
- indexed: !0,
3373
- internalType: "address",
3374
- name: "newOwner",
3375
- type: "address"
3376
- }
3377
- ],
3378
- name: "OwnershipTransferred",
3379
- type: "event"
3380
- },
3381
- {
3382
- anonymous: !1,
3383
- inputs: [
3384
- {
3385
- indexed: !0,
3386
- internalType: "address",
3387
- name: "from",
3388
- type: "address"
3389
- },
3390
- {
3391
- indexed: !0,
3392
- internalType: "address",
3393
- name: "to",
3394
- type: "address"
3395
- },
3396
- {
3397
- indexed: !1,
3398
- internalType: "uint256",
3399
- name: "value",
3400
- type: "uint256"
3401
- }
3402
- ],
3403
- name: "Transfer",
3404
- type: "event"
3405
- },
3406
- {
3407
- inputs: [
3408
- {
3409
- internalType: "address",
3410
- name: "owner",
3411
- type: "address"
3412
- },
3413
- {
3414
- internalType: "address",
3415
- name: "spender",
3416
- type: "address"
3417
- }
3418
- ],
3419
- name: "allowance",
3420
- outputs: [
3421
- {
3422
- internalType: "uint256",
3423
- name: "",
3424
- type: "uint256"
3425
- }
3426
- ],
3427
- stateMutability: "view",
3428
- type: "function"
3429
- },
3430
- {
3431
- inputs: [
3432
- {
3433
- internalType: "address",
3434
- name: "spender",
3435
- type: "address"
3436
- },
3437
- {
3438
- internalType: "uint256",
3439
- name: "amount",
3440
- type: "uint256"
3441
- }
3442
- ],
3443
- name: "approve",
3444
- outputs: [
3445
- {
3446
- internalType: "bool",
3447
- name: "",
3448
- type: "bool"
3449
- }
3450
- ],
3451
- stateMutability: "nonpayable",
3452
- type: "function"
3453
- },
3454
- {
3455
- inputs: [
3456
- {
3457
- internalType: "address",
3458
- name: "account",
3459
- type: "address"
3460
- }
3461
- ],
3462
- name: "balanceOf",
3463
- outputs: [
3464
- {
3465
- internalType: "uint256",
3466
- name: "",
3467
- type: "uint256"
3468
- }
3469
- ],
3470
- stateMutability: "view",
3471
- type: "function"
3472
- },
3473
- {
3474
- inputs: [
3475
- {
3476
- internalType: "address",
3477
- name: "burnAddress",
3478
- type: "address"
3479
- },
3480
- {
3481
- internalType: "address",
3482
- name: "receiveAddress",
3483
- type: "address"
3484
- },
3485
- {
3486
- internalType: "address",
3487
- name: "erc20Address",
3488
- type: "address"
3489
- },
3490
- {
3491
- internalType: "uint256",
3492
- name: "amount",
3493
- type: "uint256"
3494
- },
3495
- {
3496
- internalType: "uint256",
3497
- name: "pid",
3498
- type: "uint256"
3499
- }
3500
- ],
3501
- name: "burn",
3502
- outputs: [],
3503
- stateMutability: "nonpayable",
3504
- type: "function"
3505
- },
3506
- {
3507
- inputs: [
3508
- {
3509
- internalType: "address",
3510
- name: "_convexExternalAction",
3511
- type: "address"
3512
- }
3513
- ],
3514
- name: "changeCrvOwner",
3515
- outputs: [],
3516
- stateMutability: "nonpayable",
3517
- type: "function"
3518
- },
3519
- {
3520
- inputs: [
3521
- {
3522
- internalType: "uint256",
3523
- name: "lpBalance",
3524
- type: "uint256"
3525
- },
3526
- {
3527
- internalType: "uint256",
3528
- name: "prevTimeStamp",
3529
- type: "uint256"
3530
- },
3531
- {
3532
- internalType: "uint256",
3533
- name: "currentTimeStamp",
3534
- type: "uint256"
3535
- }
3536
- ],
3537
- name: "checkpointAndCalculateRewards",
3538
- outputs: [
3539
- {
3540
- internalType: "uint256",
3541
- name: "amountCRV",
3542
- type: "uint256"
3543
- }
3544
- ],
3545
- stateMutability: "nonpayable",
3546
- type: "function"
3547
- },
3548
- {
3549
- inputs: [
3550
- {
3551
- internalType: "uint256",
3552
- name: "lpBalance",
3553
- type: "uint256"
3554
- },
3555
- {
3556
- internalType: "uint256",
3557
- name: "prevTimeStamp",
3558
- type: "uint256"
3559
- }
3560
- ],
3561
- name: "claimableCRV",
3562
- outputs: [
3563
- {
3564
- internalType: "uint256",
3565
- name: "",
3566
- type: "uint256"
3567
- }
3568
- ],
3569
- stateMutability: "view",
3570
- type: "function"
3571
- },
3572
- {
3573
- inputs: [
3574
- {
3575
- internalType: "uint256",
3576
- name: "crvClaimAmount",
3577
- type: "uint256"
3578
- }
3579
- ],
3580
- name: "claimableCVX",
3581
- outputs: [
3582
- {
3583
- internalType: "uint256",
3584
- name: "cvxClaimAmount",
3585
- type: "uint256"
3586
- }
3587
- ],
3588
- stateMutability: "view",
3589
- type: "function"
3590
- },
3591
- {
3592
- inputs: [],
3593
- name: "decimals",
3594
- outputs: [
3595
- {
3596
- internalType: "uint8",
3597
- name: "",
3598
- type: "uint8"
3599
- }
3600
- ],
3601
- stateMutability: "view",
3602
- type: "function"
3603
- },
3604
- {
3605
- inputs: [
3606
- {
3607
- internalType: "address",
3608
- name: "spender",
3609
- type: "address"
3610
- },
3611
- {
3612
- internalType: "uint256",
3613
- name: "subtractedValue",
3614
- type: "uint256"
3615
- }
3616
- ],
3617
- name: "decreaseAllowance",
3618
- outputs: [
3619
- {
3620
- internalType: "bool",
3621
- name: "",
3622
- type: "bool"
3623
- }
3624
- ],
3625
- stateMutability: "nonpayable",
3626
- type: "function"
3627
- },
3628
- {
3629
- inputs: [
3630
- {
3631
- internalType: "address",
3632
- name: "spender",
3633
- type: "address"
3634
- },
3635
- {
3636
- internalType: "uint256",
3637
- name: "addedValue",
3638
- type: "uint256"
3639
- }
3640
- ],
3641
- name: "increaseAllowance",
3642
- outputs: [
3643
- {
3644
- internalType: "bool",
3645
- name: "",
3646
- type: "bool"
3647
- }
3648
- ],
3649
- stateMutability: "nonpayable",
3650
- type: "function"
3651
- },
3652
- {
3653
- inputs: [
3654
- {
3655
- internalType: "address",
3656
- name: "account",
3657
- type: "address"
3658
- },
3659
- {
3660
- internalType: "uint256",
3661
- name: "amount",
3662
- type: "uint256"
3663
- },
3664
- {
3665
- internalType: "address",
3666
- name: "erc20Address",
3667
- type: "address"
3668
- },
3669
- {
3670
- internalType: "uint256",
3671
- name: "timeStamp",
3672
- type: "uint256"
3673
- },
3674
- {
3675
- internalType: "uint256",
3676
- name: "pid",
3677
- type: "uint256"
3678
- }
3679
- ],
3680
- name: "mint",
3681
- outputs: [],
3682
- stateMutability: "nonpayable",
3683
- type: "function"
3684
- },
3685
- {
3686
- inputs: [],
3687
- name: "name",
3688
- outputs: [
3689
- {
3690
- internalType: "string",
3691
- name: "",
3692
- type: "string"
3693
- }
3694
- ],
3695
- stateMutability: "view",
3696
- type: "function"
3697
- },
3698
- {
3699
- inputs: [],
3700
- name: "owner",
3701
- outputs: [
3702
- {
3703
- internalType: "address",
3704
- name: "",
3705
- type: "address"
3706
- }
3707
- ],
3708
- stateMutability: "view",
3709
- type: "function"
3710
- },
3711
- {
3712
- inputs: [],
3713
- name: "renounceOwnership",
3714
- outputs: [],
3715
- stateMutability: "nonpayable",
3716
- type: "function"
3717
- },
3718
- {
3719
- inputs: [],
3720
- name: "symbol",
3721
- outputs: [
3722
- {
3723
- internalType: "string",
3724
- name: "",
3725
- type: "string"
3726
- }
3727
- ],
3728
- stateMutability: "view",
3729
- type: "function"
3730
- },
3731
- {
3732
- inputs: [],
3733
- name: "totalSupply",
3734
- outputs: [
3735
- {
3736
- internalType: "uint256",
3737
- name: "",
3738
- type: "uint256"
3739
- }
3740
- ],
3741
- stateMutability: "view",
3742
- type: "function"
3743
- },
3744
- {
3745
- inputs: [
3746
- {
3747
- internalType: "address",
3748
- name: "to",
3749
- type: "address"
3750
- },
3751
- {
3752
- internalType: "uint256",
3753
- name: "amount",
3754
- type: "uint256"
3755
- }
3756
- ],
3757
- name: "transfer",
3758
- outputs: [
3759
- {
3760
- internalType: "bool",
3761
- name: "",
3762
- type: "bool"
3763
- }
3764
- ],
3765
- stateMutability: "nonpayable",
3766
- type: "function"
3767
- },
3768
- {
3769
- inputs: [
3770
- {
3771
- internalType: "address",
3772
- name: "from",
3773
- type: "address"
3774
- },
3775
- {
3776
- internalType: "address",
3777
- name: "to",
3778
- type: "address"
3779
- },
3780
- {
3781
- internalType: "uint256",
3782
- name: "amount",
3783
- type: "uint256"
3784
- }
3785
- ],
3786
- name: "transferFrom",
3787
- outputs: [
3788
- {
3789
- internalType: "bool",
3790
- name: "",
3791
- type: "bool"
3792
- }
3793
- ],
3794
- stateMutability: "nonpayable",
3795
- type: "function"
3796
- },
3797
- {
3798
- inputs: [
3799
- {
3800
- internalType: "address",
3801
- name: "newOwner",
3802
- type: "address"
3803
- }
3804
- ],
3805
- name: "transferOwnership",
3806
- outputs: [],
3807
- stateMutability: "nonpayable",
3808
- type: "function"
3809
- }
3810
- ], m = [
3811
- {
3812
- inputs: [
3813
- {
3814
- internalType: "string",
3815
- name: "name_",
3816
- type: "string"
3817
- },
3818
- {
3819
- internalType: "string",
3820
- name: "symbol_",
3821
- type: "string"
3822
- },
3823
- {
3824
- internalType: "address",
3825
- name: "_beefyStakeExternalAction",
3826
- type: "address"
3827
- },
3828
- {
3829
- internalType: "address",
3830
- name: "_beefyBoost",
3831
- type: "address"
3832
- }
3833
- ],
3834
- stateMutability: "nonpayable",
3835
- type: "constructor"
3836
- },
3837
- {
3838
- anonymous: !1,
3839
- inputs: [
3840
- {
3841
- indexed: !0,
3842
- internalType: "address",
3843
- name: "owner",
3844
- type: "address"
3845
- },
3846
- {
3847
- indexed: !0,
3848
- internalType: "address",
3849
- name: "spender",
3850
- type: "address"
3851
- },
3852
- {
3853
- indexed: !1,
3854
- internalType: "uint256",
3855
- name: "value",
3856
- type: "uint256"
3857
- }
3858
- ],
3859
- name: "Approval",
3860
- type: "event"
3861
- },
3862
- {
3863
- anonymous: !1,
3864
- inputs: [
3865
- {
3866
- indexed: !0,
3867
- internalType: "address",
3868
- name: "previousOwner",
3869
- type: "address"
3870
- },
3871
- {
3872
- indexed: !0,
3873
- internalType: "address",
3874
- name: "newOwner",
3875
- type: "address"
3876
- }
3877
- ],
3878
- name: "OwnershipTransferred",
3879
- type: "event"
3880
- },
3881
- {
3882
- anonymous: !1,
3883
- inputs: [
3884
- {
3885
- indexed: !0,
3886
- internalType: "address",
3887
- name: "from",
3888
- type: "address"
3889
- },
3890
- {
3891
- indexed: !0,
3892
- internalType: "address",
3893
- name: "to",
3894
- type: "address"
3895
- },
3896
- {
3897
- indexed: !1,
3898
- internalType: "uint256",
3899
- name: "value",
3900
- type: "uint256"
3901
- }
3902
- ],
3903
- name: "Transfer",
3904
- type: "event"
3905
- },
3906
- {
3907
- inputs: [
3908
- {
3909
- internalType: "address",
3910
- name: "owner",
3911
- type: "address"
3912
- },
3913
- {
3914
- internalType: "address",
3915
- name: "spender",
3916
- type: "address"
3917
- }
3918
- ],
3919
- name: "allowance",
3920
- outputs: [
3921
- {
3922
- internalType: "uint256",
3923
- name: "",
3924
- type: "uint256"
3925
- }
3926
- ],
3927
- stateMutability: "view",
3928
- type: "function"
3929
- },
3930
- {
3931
- inputs: [
3932
- {
3933
- internalType: "address",
3934
- name: "spender",
3935
- type: "address"
3936
- },
3937
- {
3938
- internalType: "uint256",
3939
- name: "amount",
3940
- type: "uint256"
3941
- }
3942
- ],
3943
- name: "approve",
3944
- outputs: [
3945
- {
3946
- internalType: "bool",
3947
- name: "",
3948
- type: "bool"
3949
- }
3950
- ],
3951
- stateMutability: "nonpayable",
3952
- type: "function"
3953
- },
3954
- {
3955
- inputs: [
3956
- {
3957
- internalType: "address",
3958
- name: "account",
3959
- type: "address"
3960
- }
3961
- ],
3962
- name: "balanceOf",
3963
- outputs: [
3964
- {
3965
- internalType: "uint256",
3966
- name: "",
3967
- type: "uint256"
3968
- }
3969
- ],
3970
- stateMutability: "view",
3971
- type: "function"
3972
- },
3973
- {
3974
- inputs: [
3975
- {
3976
- internalType: "address",
3977
- name: "receiveAddress",
3978
- type: "address"
3979
- },
3980
- {
3981
- internalType: "uint256",
3982
- name: "amount",
3983
- type: "uint256"
3984
- }
3985
- ],
3986
- name: "burn",
3987
- outputs: [],
3988
- stateMutability: "nonpayable",
3989
- type: "function"
3990
- },
3991
- {
3992
- inputs: [
3993
- {
3994
- internalType: "uint256",
3995
- name: "previousAmount",
3996
- type: "uint256"
3997
- },
3998
- {
3999
- internalType: "uint256",
4000
- name: "previousTimeStamp",
4001
- type: "uint256"
4002
- },
4003
- {
4004
- internalType: "uint256",
4005
- name: "currentTimeStamp",
4006
- type: "uint256"
4007
- }
4008
- ],
4009
- name: "checkpoint",
4010
- outputs: [
4011
- {
4012
- internalType: "uint256",
4013
- name: "",
4014
- type: "uint256"
4015
- }
4016
- ],
4017
- stateMutability: "nonpayable",
4018
- type: "function"
4019
- },
4020
- {
4021
- inputs: [
4022
- {
4023
- internalType: "uint256",
4024
- name: "previousAmount",
4025
- type: "uint256"
4026
- },
4027
- {
4028
- internalType: "uint256",
4029
- name: "previousTimeStamp",
4030
- type: "uint256"
4031
- }
4032
- ],
4033
- name: "claimableTokens",
4034
- outputs: [
4035
- {
4036
- internalType: "uint256",
4037
- name: "",
4038
- type: "uint256"
4039
- }
4040
- ],
4041
- stateMutability: "nonpayable",
4042
- type: "function"
4043
- },
4044
- {
4045
- inputs: [],
4046
- name: "decimals",
4047
- outputs: [
4048
- {
4049
- internalType: "uint8",
4050
- name: "",
4051
- type: "uint8"
4052
- }
4053
- ],
4054
- stateMutability: "view",
4055
- type: "function"
4056
- },
4057
- {
4058
- inputs: [
4059
- {
4060
- internalType: "address",
4061
- name: "spender",
4062
- type: "address"
4063
- },
4064
- {
4065
- internalType: "uint256",
4066
- name: "subtractedValue",
4067
- type: "uint256"
4068
- }
4069
- ],
4070
- name: "decreaseAllowance",
4071
- outputs: [
4072
- {
4073
- internalType: "bool",
4074
- name: "",
4075
- type: "bool"
4076
- }
4077
- ],
4078
- stateMutability: "nonpayable",
4079
- type: "function"
4080
- },
4081
- {
4082
- inputs: [
4083
- {
4084
- internalType: "address",
4085
- name: "spender",
4086
- type: "address"
4087
- },
4088
- {
4089
- internalType: "uint256",
4090
- name: "addedValue",
4091
- type: "uint256"
4092
- }
4093
- ],
4094
- name: "increaseAllowance",
4095
- outputs: [
4096
- {
4097
- internalType: "bool",
4098
- name: "",
4099
- type: "bool"
4100
- }
4101
- ],
4102
- stateMutability: "nonpayable",
4103
- type: "function"
4104
- },
4105
- {
4106
- inputs: [
4107
- {
4108
- internalType: "address",
4109
- name: "receiver",
4110
- type: "address"
4111
- },
4112
- {
4113
- internalType: "address",
4114
- name: "mooToken",
4115
- type: "address"
4116
- },
4117
- {
4118
- internalType: "uint256",
4119
- name: "mooAmount",
4120
- type: "uint256"
4121
- },
4122
- {
4123
- internalType: "uint256",
4124
- name: "previousAmount",
4125
- type: "uint256"
4126
- },
4127
- {
4128
- internalType: "uint256",
4129
- name: "timeStamp",
4130
- type: "uint256"
4131
- }
4132
- ],
4133
- name: "mint",
4134
- outputs: [],
4135
- stateMutability: "nonpayable",
4136
- type: "function"
4137
- },
4138
- {
4139
- inputs: [],
4140
- name: "name",
4141
- outputs: [
4142
- {
4143
- internalType: "string",
4144
- name: "",
4145
- type: "string"
4146
- }
4147
- ],
4148
- stateMutability: "view",
4149
- type: "function"
4150
- },
4151
- {
4152
- inputs: [
4153
- {
4154
- internalType: "address",
4155
- name: "",
4156
- type: "address"
4157
- },
4158
- {
4159
- internalType: "address",
4160
- name: "",
4161
- type: "address"
4162
- },
4163
- {
4164
- internalType: "uint256",
4165
- name: "",
4166
- type: "uint256"
4167
- },
4168
- {
4169
- internalType: "bytes",
4170
- name: "",
4171
- type: "bytes"
4172
- }
4173
- ],
4174
- name: "onERC721Received",
4175
- outputs: [
4176
- {
4177
- internalType: "bytes4",
4178
- name: "",
4179
- type: "bytes4"
4180
- }
4181
- ],
4182
- stateMutability: "pure",
4183
- type: "function"
4184
- },
4185
- {
4186
- inputs: [],
4187
- name: "owner",
4188
- outputs: [
4189
- {
4190
- internalType: "address",
4191
- name: "",
4192
- type: "address"
4193
- }
4194
- ],
4195
- stateMutability: "view",
4196
- type: "function"
4197
- },
4198
- {
4199
- inputs: [],
4200
- name: "renounceOwnership",
4201
- outputs: [],
4202
- stateMutability: "nonpayable",
4203
- type: "function"
4204
- },
4205
- {
4206
- inputs: [],
4207
- name: "symbol",
4208
- outputs: [
4209
- {
4210
- internalType: "string",
4211
- name: "",
4212
- type: "string"
4213
- }
4214
- ],
4215
- stateMutability: "view",
4216
- type: "function"
4217
- },
4218
- {
4219
- inputs: [],
4220
- name: "totalSupply",
4221
- outputs: [
4222
- {
4223
- internalType: "uint256",
4224
- name: "",
4225
- type: "uint256"
4226
- }
4227
- ],
4228
- stateMutability: "view",
4229
- type: "function"
4230
- },
4231
- {
4232
- inputs: [
4233
- {
4234
- internalType: "address",
4235
- name: "to",
4236
- type: "address"
4237
- },
4238
- {
4239
- internalType: "uint256",
4240
- name: "amount",
4241
- type: "uint256"
4242
- }
4243
- ],
4244
- name: "transfer",
4245
- outputs: [
4246
- {
4247
- internalType: "bool",
4248
- name: "",
4249
- type: "bool"
4250
- }
4251
- ],
4252
- stateMutability: "nonpayable",
4253
- type: "function"
4254
- },
4255
- {
4256
- inputs: [
4257
- {
4258
- internalType: "address",
4259
- name: "from",
4260
- type: "address"
4261
- },
4262
- {
4263
- internalType: "address",
4264
- name: "to",
4265
- type: "address"
4266
- },
4267
- {
4268
- internalType: "uint256",
4269
- name: "amount",
4270
- type: "uint256"
4271
- }
4272
- ],
4273
- name: "transferFrom",
4274
- outputs: [
4275
- {
4276
- internalType: "bool",
4277
- name: "",
4278
- type: "bool"
4279
- }
4280
- ],
4281
- stateMutability: "nonpayable",
4282
- type: "function"
4283
- },
4284
- {
4285
- inputs: [
4286
- {
4287
- internalType: "address",
4288
- name: "newOwner",
4289
- type: "address"
4290
- }
4291
- ],
4292
- name: "transferOwnership",
4293
- outputs: [],
4294
- stateMutability: "nonpayable",
4295
- type: "function"
4296
- }
4297
- ], T = {
4298
- hinkalAddress: e,
4299
- hinkalABI: t,
4300
- hinkalHelperAddress: n,
4301
- hinkalHelperABI: a,
4302
- uniswapExternalActionAddress: i,
4303
- odosExternalActionInstanceAddress: s,
4304
- oneInchExternalActionInstanceAddress: p,
4305
- curveExternalActionInstanceAddress: y,
4306
- curveExternalActionABI: r,
4307
- wrappedStakedCurveLpABI: u,
4308
- convexExternalActionInstanceAddress: l,
4309
- convexExternalActionABI: d,
4310
- wrappedStakedConvexLpABI: o,
4311
- WrappedStakedBeefyLpABI: m
4312
- };
4313
- export {
4314
- m as WrappedStakedBeefyLpABI,
4315
- d as convexExternalActionABI,
4316
- l as convexExternalActionInstanceAddress,
4317
- r as curveExternalActionABI,
4318
- y as curveExternalActionInstanceAddress,
4319
- T as default,
4320
- t as hinkalABI,
4321
- e as hinkalAddress,
4322
- a as hinkalHelperABI,
4323
- n as hinkalHelperAddress,
4324
- s as odosExternalActionInstanceAddress,
4325
- p as oneInchExternalActionInstanceAddress,
4326
- i as uniswapExternalActionAddress,
4327
- o as wrappedStakedConvexLpABI,
4328
- u as wrappedStakedCurveLpABI
4329
- };