@berachain/berajs 0.2.2 → 0.2.4

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 (205) hide show
  1. package/.claude/skills/berajs/SKILL.md +222 -0
  2. package/.claude/skills/berajs/references/dex.md +235 -0
  3. package/.claude/skills/berajs/references/pol.md +194 -0
  4. package/.claude/skills/berajs/references/staking.md +198 -0
  5. package/.claude/skills/berajs/references/tokens.md +170 -0
  6. package/dist/{BexStatusProvider-nS3NcdxI.d.cts → BexStatusProvider-DRymVlQf.d.cts} +1 -1
  7. package/dist/{BexStatusProvider-nS3NcdxI.d.ts → BexStatusProvider-DRymVlQf.d.ts} +1 -1
  8. package/dist/{HoneyConfigProvider-CK6mOKFH.d.ts → HoneyConfigProvider-DVP_9KZn.d.ts} +1 -1
  9. package/dist/{HoneyConfigProvider-Ca3ouozs.d.cts → HoneyConfigProvider-DfkjmzEf.d.cts} +1 -1
  10. package/dist/abi/exports.cjs +1 -1
  11. package/dist/abi/exports.cjs.map +1 -1
  12. package/dist/abi/exports.d.cts +1893 -25347
  13. package/dist/abi/exports.d.ts +1893 -25347
  14. package/dist/abi/exports.mjs +1 -1
  15. package/dist/abi/exports.mjs.map +1 -1
  16. package/dist/actions/exports.cjs +1 -1
  17. package/dist/actions/exports.cjs.map +1 -1
  18. package/dist/actions/exports.d.cts +10 -9
  19. package/dist/actions/exports.d.ts +10 -9
  20. package/dist/actions/exports.mjs +1 -1
  21. package/dist/actions/exports.mjs.map +1 -1
  22. package/dist/chunk-4GU2O2OW.cjs +4 -0
  23. package/dist/chunk-4GU2O2OW.cjs.map +1 -0
  24. package/dist/chunk-5XWELBWR.mjs +2 -0
  25. package/dist/chunk-5XWELBWR.mjs.map +1 -0
  26. package/dist/chunk-BS6K7HGH.cjs +2 -0
  27. package/dist/chunk-BS6K7HGH.cjs.map +1 -0
  28. package/dist/chunk-NLVWRMGD.mjs +2 -0
  29. package/dist/chunk-NLVWRMGD.mjs.map +1 -0
  30. package/dist/chunk-OUD27MU7.cjs +2 -0
  31. package/dist/chunk-OUD27MU7.cjs.map +1 -0
  32. package/dist/chunk-RW3JFPED.mjs +4 -0
  33. package/dist/chunk-RW3JFPED.mjs.map +1 -0
  34. package/dist/chunk-S3EAKCVM.cjs +2 -0
  35. package/dist/{chunk-PKXAW6MO.cjs.map → chunk-S3EAKCVM.cjs.map} +1 -1
  36. package/dist/chunk-YNO7BCCM.mjs +2 -0
  37. package/dist/{chunk-3YXSUBA5.mjs.map → chunk-YNO7BCCM.mjs.map} +1 -1
  38. package/dist/contexts/exports.d.cts +3 -3
  39. package/dist/contexts/exports.d.ts +3 -3
  40. package/dist/enum/exports.d.cts +1 -1
  41. package/dist/enum/exports.d.ts +1 -1
  42. package/dist/errors/exports.d.cts +1 -1
  43. package/dist/errors/exports.d.ts +1 -1
  44. package/dist/{getValidatorQueuedOperatorAddress-RW4OMcD1.d.ts → getValidatorQueuedOperatorAddress-CqR6cyqC.d.ts} +3 -3
  45. package/dist/{getValidatorQueuedOperatorAddress-Dstyaomr.d.cts → getValidatorQueuedOperatorAddress-DZgrPmZ2.d.cts} +3 -3
  46. package/dist/{global.d-wYu8G8IQ.d.ts → global.d-BeYWDreg.d.ts} +5 -4
  47. package/dist/{global.d-CN6l2b9E.d.cts → global.d-DghRxpHd.d.cts} +5 -4
  48. package/dist/hooks/exports.cjs +3 -3
  49. package/dist/hooks/exports.cjs.map +1 -1
  50. package/dist/hooks/exports.d.cts +63 -39
  51. package/dist/hooks/exports.d.ts +63 -39
  52. package/dist/hooks/exports.mjs +3 -3
  53. package/dist/hooks/exports.mjs.map +1 -1
  54. package/dist/{txnEnum-BlBYhNRl.d.cts → txnEnum-DxPRHSJt.d.cts} +1 -1
  55. package/dist/{txnEnum-BlBYhNRl.d.ts → txnEnum-DxPRHSJt.d.ts} +1 -1
  56. package/dist/types/exports.d.cts +3 -3
  57. package/dist/types/exports.d.ts +3 -3
  58. package/dist/{useHoneySwapState-D1DKG_Of.d.ts → useHoneySwapState-B494PQDl.d.ts} +1 -1
  59. package/dist/{useHoneySwapState-B-vmIP1b.d.cts → useHoneySwapState-D6vpv19r.d.cts} +1 -1
  60. package/dist/utils/exports.cjs +1 -1
  61. package/dist/utils/exports.cjs.map +1 -1
  62. package/dist/utils/exports.d.cts +2 -2
  63. package/dist/utils/exports.d.ts +2 -2
  64. package/dist/utils/exports.mjs +1 -1
  65. package/dist/utils/exports.mjs.map +1 -1
  66. package/package.json +9 -10
  67. package/src/abi/exports.ts +0 -27
  68. package/src/actions/bend/getConvertToAssets.ts +1 -1
  69. package/src/actions/bend/getMaxDeposit.ts +1 -1
  70. package/src/actions/dex/aggregators/bex.ts +2 -1
  71. package/src/actions/dex/aggregators/enso/enso.ts +3 -2
  72. package/src/actions/dex/aggregators/enso/ensoErc4626.debug.test.ts +2 -3
  73. package/src/actions/dex/aggregators/erc4626.ts +2 -1
  74. package/src/actions/dex/aggregators/fly.ts +2 -1
  75. package/src/actions/dex/aggregators/haiku.ts +2 -1
  76. package/src/actions/dex/aggregators/kyberswap.ts +2 -2
  77. package/src/actions/dex/aggregators/oogabooga.ts +2 -1
  78. package/src/actions/dex/aggregators/openOcean.ts +2 -1
  79. package/src/actions/dex/aggregators/wbera.ts +2 -1
  80. package/src/actions/dex/getVaultPausedState.ts +2 -1
  81. package/src/actions/enso/getEnsoUserTokensWithBalances.debug.test.ts +1 -1
  82. package/src/actions/governance/__tests__/checkProposalField.unit.test.ts +2 -1
  83. package/src/actions/governance/__tests__/getDecodedFunctionData.integration.test.ts +66 -78
  84. package/src/actions/governance/__tests__/getQuorum.integration.test.ts +6 -7
  85. package/src/actions/governance/getDecodedFunctionData.ts +2 -2
  86. package/src/actions/governance/getProposalFromTx.ts +2 -1
  87. package/src/actions/governance/getProposalParams.ts +3 -2
  88. package/src/actions/governance/getQuorum.ts +2 -1
  89. package/src/actions/honey/getCollateralWeights.ts +2 -1
  90. package/src/actions/honey/getGlobalCapLimit.ts +2 -1
  91. package/src/actions/honey/getHoneyCollaterals.ts +2 -1
  92. package/src/actions/honey/getHoneyFees.ts +2 -1
  93. package/src/actions/honey/getHoneyPausedState.ts +2 -1
  94. package/src/actions/honey/getHoneyPreview.ts +2 -1
  95. package/src/actions/honey/getHoneyPythPriceOracle.ts +1 -1
  96. package/src/actions/honey/getHoneyRootPriceOracle.ts +2 -1
  97. package/src/actions/honey/getHoneyVaultsBalance.ts +3 -2
  98. package/src/actions/honey/getRelativeCapLimit.ts +2 -1
  99. package/src/actions/honey/getSharesWithoutFees.ts +3 -2
  100. package/src/actions/honey/getSwapPayload.ts +3 -2
  101. package/src/actions/honey/isBadCollateralAsset.ts +3 -2
  102. package/src/actions/honey/isBasketModeEnabled.ts +3 -2
  103. package/src/actions/pol/getBgtTokenTotalBoosts.ts +2 -1
  104. package/src/actions/pol/getLSTStakeConfig.ts +2 -1
  105. package/src/actions/pol/getRewardTokenToBeraRate.ts +2 -1
  106. package/src/actions/pol/getRewardVaultBeaconImplementation.ts +2 -1
  107. package/src/actions/pol/getRewardVaultDurationConstants.ts +2 -1
  108. package/src/actions/pol/getRewardVaultFromToken.ts +2 -1
  109. package/src/actions/pol/getRewardVaultIncentives.ts +2 -1
  110. package/src/actions/pol/getRewardVaultRewards.ts +2 -1
  111. package/src/actions/pol/getRewardVaultStakingToken.ts +1 -1
  112. package/src/actions/pol/getRewardVaults.ts +2 -1
  113. package/src/actions/pol/getSWBeraVaultMetadata.ts +2 -1
  114. package/src/actions/pol/getSWBeraWithdrawal.ts +2 -1
  115. package/src/actions/pol/getStakeWithdrawalCooldown.ts +1 -1
  116. package/src/actions/pol/getTotalStakedAmount.ts +2 -1
  117. package/src/actions/pol/getUserVaults.ts +2 -1
  118. package/src/actions/pol/getUserVaultsBalance.ts +2 -1
  119. package/src/actions/pol/getUserVaultsReward.ts +1 -1
  120. package/src/actions/pol/getVaultsSupply.ts +1 -1
  121. package/src/actions/pyth/getHoneyPythFeeds.ts +2 -1
  122. package/src/actions/transactions/beraWriteContract.integration.test.ts +48 -51
  123. package/src/actions/validators/getActiveBoostAndCommissionChangeDelay.ts +3 -2
  124. package/src/actions/validators/getBaselineRewardAllocation.ts +2 -1
  125. package/src/actions/validators/getDefaultRewardAllocation.ts +2 -1
  126. package/src/actions/validators/getUserBoostsOnValidator.ts +2 -1
  127. package/src/actions/validators/getValidatorCommission.ts +2 -1
  128. package/src/actions/validators/getValidatorOperatorAddress.ts +2 -1
  129. package/src/actions/validators/getValidatorQueuedCommission.ts +2 -1
  130. package/src/actions/validators/getValidatorQueuedOperatorAddress.ts +2 -1
  131. package/src/actions/validators/getValidatorQueuedRewardAllocation.ts +2 -1
  132. package/src/actions/validators/getValidatorRewardAllocation.ts +2 -1
  133. package/src/actions/validators/getValidatorRewardAllocatorAddress.ts +2 -1
  134. package/src/actions/validators/utils/__tests__/validatorUtils.integration.test.ts +10 -11
  135. package/src/errors/getRevertReason.integration.test.ts +115 -107
  136. package/src/hooks/dex/useAggregatorsRouterFeeBps.ts +2 -1
  137. package/src/hooks/dex/useCreatePool.ts +2 -1
  138. package/src/hooks/dex/usePollPoolCreationRelayerApproval.ts +2 -1
  139. package/src/hooks/governance/useGetPastVotes.ts +2 -1
  140. package/src/hooks/governance/useHasVoted.ts +2 -1
  141. package/src/hooks/governance/useIsCanceller.ts +2 -1
  142. package/src/hooks/governance/usePollProposalThreshold.ts +2 -1
  143. package/src/hooks/governance/usePollUserDelegates.ts +2 -1
  144. package/src/hooks/governance/useProposalSnapshot.ts +2 -1
  145. package/src/hooks/governance/useProposalState.ts +2 -1
  146. package/src/hooks/governance/useProposalTimelockState.ts +5 -4
  147. package/src/hooks/pol/useBgtUnstakedBalance.ts +2 -1
  148. package/src/hooks/pol/useOnChainRewardVault.ts +2 -1
  149. package/src/hooks/pol/useRewardVaultBalanceFromStakingToken.ts +2 -1
  150. package/src/hooks/pol/useRewardVaultFromToken.ts +2 -1
  151. package/src/hooks/pol/useStakedData.ts +169 -92
  152. package/src/hooks/validators/useOnChainValidator.ts +4 -3
  153. package/src/types/pol.d.ts +1 -0
  154. package/dist/chunk-3YXSUBA5.mjs +0 -2
  155. package/dist/chunk-A4UDYSB6.mjs +0 -4
  156. package/dist/chunk-A4UDYSB6.mjs.map +0 -1
  157. package/dist/chunk-CYKCYPFR.cjs +0 -2
  158. package/dist/chunk-CYKCYPFR.cjs.map +0 -1
  159. package/dist/chunk-ECRMUMTA.mjs +0 -2
  160. package/dist/chunk-ECRMUMTA.mjs.map +0 -1
  161. package/dist/chunk-F4BKSBEM.mjs +0 -2
  162. package/dist/chunk-F4BKSBEM.mjs.map +0 -1
  163. package/dist/chunk-FL2N3XHK.cjs +0 -2
  164. package/dist/chunk-FL2N3XHK.cjs.map +0 -1
  165. package/dist/chunk-MUCEYO3E.cjs +0 -4
  166. package/dist/chunk-MUCEYO3E.cjs.map +0 -1
  167. package/dist/chunk-P2Q7CMUD.cjs +0 -2
  168. package/dist/chunk-P2Q7CMUD.cjs.map +0 -1
  169. package/dist/chunk-PKXAW6MO.cjs +0 -2
  170. package/dist/chunk-Q3SCM6WL.mjs +0 -2
  171. package/dist/chunk-Q3SCM6WL.mjs.map +0 -1
  172. package/dist/chunk-TEBJWAVU.mjs +0 -2
  173. package/dist/chunk-TEBJWAVU.mjs.map +0 -1
  174. package/dist/chunk-VP7XUOSI.cjs +0 -2
  175. package/dist/chunk-VP7XUOSI.cjs.map +0 -1
  176. package/dist/pythWrapper-CBjsmmsK.d.cts +0 -1958
  177. package/dist/pythWrapper-CBjsmmsK.d.ts +0 -1958
  178. package/src/abi/bend/metaMorpho.ts +0 -2584
  179. package/src/abi/bend/morpho.ts +0 -444
  180. package/src/abi/bex/aggregatorsRouter.ts +0 -492
  181. package/src/abi/bex/balancerComposableStablePoolFactoryV6.ts +0 -283
  182. package/src/abi/bex/balancerPoolCreationHelper.ts +0 -267
  183. package/src/abi/bex/balancerVault.ts +0 -757
  184. package/src/abi/governance/governance.ts +0 -1016
  185. package/src/abi/governance/governanceTimelock.ts +0 -589
  186. package/src/abi/honey/collateralVault.ts +0 -1144
  187. package/src/abi/honey/honey.ts +0 -563
  188. package/src/abi/honey/honeyFactory.ts +0 -1270
  189. package/src/abi/honey/honeyFactoryReader.ts +0 -894
  190. package/src/abi/honey/honeyRootOracle.ts +0 -492
  191. package/src/abi/honey/pythPriceOracle.ts +0 -619
  192. package/src/abi/honey/pythWrapper.ts +0 -446
  193. package/src/abi/pol/LSTStakerVault.ts +0 -2032
  194. package/src/abi/pol/beaconDeposit.ts +0 -595
  195. package/src/abi/pol/beraChef.ts +0 -1019
  196. package/src/abi/pol/bgt.ts +0 -1008
  197. package/src/abi/pol/bgtIncentiveDistributor.ts +0 -640
  198. package/src/abi/pol/bgtStaker.ts +0 -1034
  199. package/src/abi/pol/rewardAllocationFactory.ts +0 -408
  200. package/src/abi/pol/rewardVault.ts +0 -1928
  201. package/src/abi/pol/rewardVaultFactory.ts +0 -586
  202. package/src/abi/pol/rewardVaultHelper.ts +0 -882
  203. package/src/abi/pol/stakeBeraVault.ts +0 -1116
  204. package/src/abi/pol/stakeBeraVaultWithdrawalRequest.ts +0 -618
  205. package/src/abi/pol/wbera.ts +0 -366
@@ -1,492 +0,0 @@
1
- export const aggregatorsRouterAbi = [
2
- {
3
- type: "constructor",
4
- inputs: [
5
- { name: "_wbera", type: "address", internalType: "address" },
6
- { name: "_feeReceiver", type: "address", internalType: "address" },
7
- { name: "_owner", type: "address", internalType: "address" },
8
- ],
9
- stateMutability: "nonpayable",
10
- },
11
- { type: "receive", stateMutability: "payable" },
12
- {
13
- type: "function",
14
- name: "BERACHEF_ADDRESS",
15
- inputs: [],
16
- outputs: [{ name: "", type: "address", internalType: "address" }],
17
- stateMutability: "view",
18
- },
19
- {
20
- type: "function",
21
- name: "DEFAULT_ADMIN_ROLE",
22
- inputs: [],
23
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
24
- stateMutability: "view",
25
- },
26
- {
27
- type: "function",
28
- name: "MANAGER_ROLE",
29
- inputs: [],
30
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
31
- stateMutability: "view",
32
- },
33
- {
34
- type: "function",
35
- name: "ONE_HUNDRED_PERCENT",
36
- inputs: [],
37
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
38
- stateMutability: "view",
39
- },
40
- {
41
- type: "function",
42
- name: "PAUSER_ROLE",
43
- inputs: [],
44
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
45
- stateMutability: "view",
46
- },
47
- {
48
- type: "function",
49
- name: "SWAP_FEE_RATE",
50
- inputs: [],
51
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
52
- stateMutability: "view",
53
- },
54
- {
55
- type: "function",
56
- name: "aggregators",
57
- inputs: [{ name: "", type: "address", internalType: "address" }],
58
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
59
- stateMutability: "view",
60
- },
61
- {
62
- type: "function",
63
- name: "executor",
64
- inputs: [],
65
- outputs: [
66
- {
67
- name: "",
68
- type: "address",
69
- internalType: "contract MetaAggregatorExecutor",
70
- },
71
- ],
72
- stateMutability: "view",
73
- },
74
- {
75
- type: "function",
76
- name: "feeReceiver",
77
- inputs: [],
78
- outputs: [{ name: "", type: "address", internalType: "address" }],
79
- stateMutability: "view",
80
- },
81
- {
82
- type: "function",
83
- name: "getRoleAdmin",
84
- inputs: [{ name: "role", type: "bytes32", internalType: "bytes32" }],
85
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
86
- stateMutability: "view",
87
- },
88
- {
89
- type: "function",
90
- name: "grantRole",
91
- inputs: [
92
- { name: "role", type: "bytes32", internalType: "bytes32" },
93
- { name: "account", type: "address", internalType: "address" },
94
- ],
95
- outputs: [],
96
- stateMutability: "nonpayable",
97
- },
98
- {
99
- type: "function",
100
- name: "hasRole",
101
- inputs: [
102
- { name: "role", type: "bytes32", internalType: "bytes32" },
103
- { name: "account", type: "address", internalType: "address" },
104
- ],
105
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
106
- stateMutability: "view",
107
- },
108
- {
109
- type: "function",
110
- name: "pause",
111
- inputs: [],
112
- outputs: [],
113
- stateMutability: "nonpayable",
114
- },
115
- {
116
- type: "function",
117
- name: "paused",
118
- inputs: [],
119
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
120
- stateMutability: "view",
121
- },
122
- {
123
- type: "function",
124
- name: "renounceRole",
125
- inputs: [
126
- { name: "role", type: "bytes32", internalType: "bytes32" },
127
- {
128
- name: "callerConfirmation",
129
- type: "address",
130
- internalType: "address",
131
- },
132
- ],
133
- outputs: [],
134
- stateMutability: "nonpayable",
135
- },
136
- {
137
- type: "function",
138
- name: "rescueBERA",
139
- inputs: [],
140
- outputs: [],
141
- stateMutability: "nonpayable",
142
- },
143
- {
144
- type: "function",
145
- name: "rescueTokens",
146
- inputs: [{ name: "token", type: "address", internalType: "address" }],
147
- outputs: [],
148
- stateMutability: "nonpayable",
149
- },
150
- {
151
- type: "function",
152
- name: "revokeRole",
153
- inputs: [
154
- { name: "role", type: "bytes32", internalType: "bytes32" },
155
- { name: "account", type: "address", internalType: "address" },
156
- ],
157
- outputs: [],
158
- stateMutability: "nonpayable",
159
- },
160
- {
161
- type: "function",
162
- name: "setFeeReceiver",
163
- inputs: [
164
- { name: "_feeReceiver", type: "address", internalType: "address" },
165
- ],
166
- outputs: [],
167
- stateMutability: "nonpayable",
168
- },
169
- {
170
- type: "function",
171
- name: "supportsInterface",
172
- inputs: [{ name: "interfaceId", type: "bytes4", internalType: "bytes4" }],
173
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
174
- stateMutability: "view",
175
- },
176
- {
177
- type: "function",
178
- name: "swap",
179
- inputs: [
180
- {
181
- name: "inputData",
182
- type: "tuple",
183
- internalType: "struct SwapInputData",
184
- components: [
185
- { name: "tokenIn", type: "address", internalType: "address" },
186
- { name: "amountIn", type: "uint256", internalType: "uint256" },
187
- { name: "isNative", type: "bool", internalType: "bool" },
188
- { name: "isPermit2Approval", type: "bool", internalType: "bool" },
189
- {
190
- name: "permit2SpenderAddress",
191
- type: "address",
192
- internalType: "address",
193
- },
194
- ],
195
- },
196
- {
197
- name: "outputData",
198
- type: "tuple",
199
- internalType: "struct SwapOutputData",
200
- components: [
201
- { name: "tokenOut", type: "address", internalType: "address" },
202
- { name: "receiver", type: "address", internalType: "address" },
203
- { name: "minAmountOut", type: "uint256", internalType: "uint256" },
204
- { name: "isNative", type: "bool", internalType: "bool" },
205
- ],
206
- },
207
- {
208
- name: "aggregatorData",
209
- type: "tuple",
210
- internalType: "struct AggregatorData",
211
- components: [
212
- { name: "aggregator", type: "address", internalType: "address" },
213
- { name: "data", type: "bytes", internalType: "bytes" },
214
- ],
215
- },
216
- {
217
- name: "swapAndStakeData",
218
- type: "tuple",
219
- internalType: "struct SwapAndStakeData",
220
- components: [
221
- { name: "isSwapAndStake", type: "bool", internalType: "bool" },
222
- { name: "rewardVault", type: "address", internalType: "address" },
223
- ],
224
- },
225
- ],
226
- outputs: [{ name: "amountOut", type: "uint256", internalType: "uint256" }],
227
- stateMutability: "payable",
228
- },
229
- {
230
- type: "function",
231
- name: "unpause",
232
- inputs: [],
233
- outputs: [],
234
- stateMutability: "nonpayable",
235
- },
236
- {
237
- type: "function",
238
- name: "wbera",
239
- inputs: [],
240
- outputs: [{ name: "", type: "address", internalType: "contract IWBERA" }],
241
- stateMutability: "view",
242
- },
243
- {
244
- type: "function",
245
- name: "whitelistAggregator",
246
- inputs: [
247
- { name: "aggregator", type: "address", internalType: "address" },
248
- { name: "whitelistStatus", type: "bool", internalType: "bool" },
249
- ],
250
- outputs: [],
251
- stateMutability: "nonpayable",
252
- },
253
- {
254
- type: "event",
255
- name: "AggregatorWhitelisted",
256
- inputs: [
257
- {
258
- name: "aggregator",
259
- type: "address",
260
- indexed: true,
261
- internalType: "address",
262
- },
263
- {
264
- name: "whitelistStatus",
265
- type: "bool",
266
- indexed: false,
267
- internalType: "bool",
268
- },
269
- ],
270
- anonymous: false,
271
- },
272
- {
273
- type: "event",
274
- name: "FeeReceiverSet",
275
- inputs: [
276
- {
277
- name: "newFeeReceiver",
278
- type: "address",
279
- indexed: true,
280
- internalType: "address",
281
- },
282
- {
283
- name: "previousFeeReceiver",
284
- type: "address",
285
- indexed: true,
286
- internalType: "address",
287
- },
288
- ],
289
- anonymous: false,
290
- },
291
- {
292
- type: "event",
293
- name: "Paused",
294
- inputs: [
295
- {
296
- name: "account",
297
- type: "address",
298
- indexed: false,
299
- internalType: "address",
300
- },
301
- ],
302
- anonymous: false,
303
- },
304
- {
305
- type: "event",
306
- name: "RoleAdminChanged",
307
- inputs: [
308
- {
309
- name: "role",
310
- type: "bytes32",
311
- indexed: true,
312
- internalType: "bytes32",
313
- },
314
- {
315
- name: "previousAdminRole",
316
- type: "bytes32",
317
- indexed: true,
318
- internalType: "bytes32",
319
- },
320
- {
321
- name: "newAdminRole",
322
- type: "bytes32",
323
- indexed: true,
324
- internalType: "bytes32",
325
- },
326
- ],
327
- anonymous: false,
328
- },
329
- {
330
- type: "event",
331
- name: "RoleGranted",
332
- inputs: [
333
- {
334
- name: "role",
335
- type: "bytes32",
336
- indexed: true,
337
- internalType: "bytes32",
338
- },
339
- {
340
- name: "account",
341
- type: "address",
342
- indexed: true,
343
- internalType: "address",
344
- },
345
- {
346
- name: "sender",
347
- type: "address",
348
- indexed: true,
349
- internalType: "address",
350
- },
351
- ],
352
- anonymous: false,
353
- },
354
- {
355
- type: "event",
356
- name: "RoleRevoked",
357
- inputs: [
358
- {
359
- name: "role",
360
- type: "bytes32",
361
- indexed: true,
362
- internalType: "bytes32",
363
- },
364
- {
365
- name: "account",
366
- type: "address",
367
- indexed: true,
368
- internalType: "address",
369
- },
370
- {
371
- name: "sender",
372
- type: "address",
373
- indexed: true,
374
- internalType: "address",
375
- },
376
- ],
377
- anonymous: false,
378
- },
379
- {
380
- type: "event",
381
- name: "Swap",
382
- inputs: [
383
- {
384
- name: "sender",
385
- type: "address",
386
- indexed: true,
387
- internalType: "address",
388
- },
389
- {
390
- name: "tokenIn",
391
- type: "address",
392
- indexed: false,
393
- internalType: "address",
394
- },
395
- {
396
- name: "amountIn",
397
- type: "uint256",
398
- indexed: false,
399
- internalType: "uint256",
400
- },
401
- {
402
- name: "aggregator",
403
- type: "address",
404
- indexed: true,
405
- internalType: "address",
406
- },
407
- {
408
- name: "tokenOut",
409
- type: "address",
410
- indexed: true,
411
- internalType: "address",
412
- },
413
- {
414
- name: "amountOut",
415
- type: "uint256",
416
- indexed: false,
417
- internalType: "uint256",
418
- },
419
- {
420
- name: "fees",
421
- type: "uint256",
422
- indexed: false,
423
- internalType: "uint256",
424
- },
425
- ],
426
- anonymous: false,
427
- },
428
- {
429
- type: "event",
430
- name: "SwapAndStake",
431
- inputs: [
432
- {
433
- name: "sender",
434
- type: "address",
435
- indexed: true,
436
- internalType: "address",
437
- },
438
- {
439
- name: "receiver",
440
- type: "address",
441
- indexed: true,
442
- internalType: "address",
443
- },
444
- {
445
- name: "rewardVault",
446
- type: "address",
447
- indexed: true,
448
- internalType: "address",
449
- },
450
- {
451
- name: "amount",
452
- type: "uint256",
453
- indexed: false,
454
- internalType: "uint256",
455
- },
456
- ],
457
- anonymous: false,
458
- },
459
- {
460
- type: "event",
461
- name: "Unpaused",
462
- inputs: [
463
- {
464
- name: "account",
465
- type: "address",
466
- indexed: false,
467
- internalType: "address",
468
- },
469
- ],
470
- anonymous: false,
471
- },
472
- { type: "error", name: "AccessControlBadConfirmation", inputs: [] },
473
- {
474
- type: "error",
475
- name: "AccessControlUnauthorizedAccount",
476
- inputs: [
477
- { name: "account", type: "address", internalType: "address" },
478
- { name: "neededRole", type: "bytes32", internalType: "bytes32" },
479
- ],
480
- },
481
- { type: "error", name: "AggregatorNotWhitelisted", inputs: [] },
482
- { type: "error", name: "EnforcedPause", inputs: [] },
483
- { type: "error", name: "ExpectedPause", inputs: [] },
484
- { type: "error", name: "InvalidInputToken", inputs: [] },
485
- { type: "error", name: "InvalidNativeTokenAmount", inputs: [] },
486
- { type: "error", name: "InvalidOutputToken", inputs: [] },
487
- { type: "error", name: "Reentrancy", inputs: [] },
488
- { type: "error", name: "RewardVaultNotWhitelisted", inputs: [] },
489
- { type: "error", name: "TokenOutCannotBeSame", inputs: [] },
490
- { type: "error", name: "TokenOutIsNotStakeToken", inputs: [] },
491
- { type: "error", name: "ZeroAddress", inputs: [] },
492
- ] as const;