@berachain/berajs 0.2.3 → 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.
- package/.claude/skills/berajs/SKILL.md +222 -0
- package/.claude/skills/berajs/references/dex.md +235 -0
- package/.claude/skills/berajs/references/pol.md +194 -0
- package/.claude/skills/berajs/references/staking.md +198 -0
- package/.claude/skills/berajs/references/tokens.md +170 -0
- package/dist/{BexStatusProvider-nS3NcdxI.d.cts → BexStatusProvider-DRymVlQf.d.cts} +1 -1
- package/dist/{BexStatusProvider-nS3NcdxI.d.ts → BexStatusProvider-DRymVlQf.d.ts} +1 -1
- package/dist/{HoneyConfigProvider-CK6mOKFH.d.ts → HoneyConfigProvider-DVP_9KZn.d.ts} +1 -1
- package/dist/{HoneyConfigProvider-Ca3ouozs.d.cts → HoneyConfigProvider-DfkjmzEf.d.cts} +1 -1
- package/dist/abi/exports.cjs +1 -1
- package/dist/abi/exports.cjs.map +1 -1
- package/dist/abi/exports.d.cts +1893 -25347
- package/dist/abi/exports.d.ts +1893 -25347
- package/dist/abi/exports.mjs +1 -1
- package/dist/abi/exports.mjs.map +1 -1
- package/dist/actions/exports.cjs +1 -1
- package/dist/actions/exports.cjs.map +1 -1
- package/dist/actions/exports.d.cts +10 -9
- package/dist/actions/exports.d.ts +10 -9
- package/dist/actions/exports.mjs +1 -1
- package/dist/actions/exports.mjs.map +1 -1
- package/dist/chunk-4GU2O2OW.cjs +4 -0
- package/dist/chunk-4GU2O2OW.cjs.map +1 -0
- package/dist/chunk-5XWELBWR.mjs +2 -0
- package/dist/chunk-5XWELBWR.mjs.map +1 -0
- package/dist/chunk-BS6K7HGH.cjs +2 -0
- package/dist/chunk-BS6K7HGH.cjs.map +1 -0
- package/dist/chunk-NLVWRMGD.mjs +2 -0
- package/dist/chunk-NLVWRMGD.mjs.map +1 -0
- package/dist/chunk-OUD27MU7.cjs +2 -0
- package/dist/chunk-OUD27MU7.cjs.map +1 -0
- package/dist/chunk-RW3JFPED.mjs +4 -0
- package/dist/chunk-RW3JFPED.mjs.map +1 -0
- package/dist/chunk-S3EAKCVM.cjs +2 -0
- package/dist/{chunk-PKXAW6MO.cjs.map → chunk-S3EAKCVM.cjs.map} +1 -1
- package/dist/chunk-YNO7BCCM.mjs +2 -0
- package/dist/{chunk-3YXSUBA5.mjs.map → chunk-YNO7BCCM.mjs.map} +1 -1
- package/dist/contexts/exports.d.cts +3 -3
- package/dist/contexts/exports.d.ts +3 -3
- package/dist/enum/exports.d.cts +1 -1
- package/dist/enum/exports.d.ts +1 -1
- package/dist/errors/exports.d.cts +1 -1
- package/dist/errors/exports.d.ts +1 -1
- package/dist/{getValidatorQueuedOperatorAddress-NrjpnEn8.d.ts → getValidatorQueuedOperatorAddress-CqR6cyqC.d.ts} +3 -3
- package/dist/{getValidatorQueuedOperatorAddress-D_LEt3vv.d.cts → getValidatorQueuedOperatorAddress-DZgrPmZ2.d.cts} +3 -3
- package/dist/{global.d-X3cqpCEB.d.ts → global.d-BeYWDreg.d.ts} +4 -4
- package/dist/{global.d-DLRtrPG5.d.cts → global.d-DghRxpHd.d.cts} +4 -4
- package/dist/hooks/exports.cjs +3 -3
- package/dist/hooks/exports.cjs.map +1 -1
- package/dist/hooks/exports.d.cts +40 -38
- package/dist/hooks/exports.d.ts +40 -38
- package/dist/hooks/exports.mjs +3 -3
- package/dist/hooks/exports.mjs.map +1 -1
- package/dist/{txnEnum-BlBYhNRl.d.cts → txnEnum-DxPRHSJt.d.cts} +1 -1
- package/dist/{txnEnum-BlBYhNRl.d.ts → txnEnum-DxPRHSJt.d.ts} +1 -1
- package/dist/types/exports.d.cts +3 -3
- package/dist/types/exports.d.ts +3 -3
- package/dist/{useHoneySwapState-D1DKG_Of.d.ts → useHoneySwapState-B494PQDl.d.ts} +1 -1
- package/dist/{useHoneySwapState-B-vmIP1b.d.cts → useHoneySwapState-D6vpv19r.d.cts} +1 -1
- package/dist/utils/exports.cjs +1 -1
- package/dist/utils/exports.cjs.map +1 -1
- package/dist/utils/exports.d.cts +2 -2
- package/dist/utils/exports.d.ts +2 -2
- package/dist/utils/exports.mjs +1 -1
- package/dist/utils/exports.mjs.map +1 -1
- package/package.json +8 -9
- package/src/abi/exports.ts +0 -27
- package/src/actions/bend/getConvertToAssets.ts +1 -1
- package/src/actions/bend/getMaxDeposit.ts +1 -1
- package/src/actions/dex/aggregators/bex.ts +2 -1
- package/src/actions/dex/aggregators/enso/enso.ts +3 -2
- package/src/actions/dex/aggregators/enso/ensoErc4626.debug.test.ts +2 -3
- package/src/actions/dex/aggregators/erc4626.ts +2 -1
- package/src/actions/dex/aggregators/fly.ts +2 -1
- package/src/actions/dex/aggregators/haiku.ts +2 -1
- package/src/actions/dex/aggregators/kyberswap.ts +2 -2
- package/src/actions/dex/aggregators/oogabooga.ts +2 -1
- package/src/actions/dex/aggregators/openOcean.ts +2 -1
- package/src/actions/dex/aggregators/wbera.ts +2 -1
- package/src/actions/dex/getVaultPausedState.ts +2 -1
- package/src/actions/enso/getEnsoUserTokensWithBalances.debug.test.ts +1 -1
- package/src/actions/governance/__tests__/checkProposalField.unit.test.ts +2 -1
- package/src/actions/governance/__tests__/getDecodedFunctionData.integration.test.ts +66 -78
- package/src/actions/governance/__tests__/getQuorum.integration.test.ts +6 -7
- package/src/actions/governance/getDecodedFunctionData.ts +2 -2
- package/src/actions/governance/getProposalFromTx.ts +2 -1
- package/src/actions/governance/getProposalParams.ts +3 -2
- package/src/actions/governance/getQuorum.ts +2 -1
- package/src/actions/honey/getCollateralWeights.ts +2 -1
- package/src/actions/honey/getGlobalCapLimit.ts +2 -1
- package/src/actions/honey/getHoneyCollaterals.ts +2 -1
- package/src/actions/honey/getHoneyFees.ts +2 -1
- package/src/actions/honey/getHoneyPausedState.ts +2 -1
- package/src/actions/honey/getHoneyPreview.ts +2 -1
- package/src/actions/honey/getHoneyPythPriceOracle.ts +1 -1
- package/src/actions/honey/getHoneyRootPriceOracle.ts +2 -1
- package/src/actions/honey/getHoneyVaultsBalance.ts +3 -2
- package/src/actions/honey/getRelativeCapLimit.ts +2 -1
- package/src/actions/honey/getSharesWithoutFees.ts +3 -2
- package/src/actions/honey/getSwapPayload.ts +3 -2
- package/src/actions/honey/isBadCollateralAsset.ts +3 -2
- package/src/actions/honey/isBasketModeEnabled.ts +3 -2
- package/src/actions/pol/getBgtTokenTotalBoosts.ts +2 -1
- package/src/actions/pol/getLSTStakeConfig.ts +2 -1
- package/src/actions/pol/getRewardTokenToBeraRate.ts +2 -1
- package/src/actions/pol/getRewardVaultBeaconImplementation.ts +2 -1
- package/src/actions/pol/getRewardVaultDurationConstants.ts +2 -1
- package/src/actions/pol/getRewardVaultFromToken.ts +2 -1
- package/src/actions/pol/getRewardVaultIncentives.ts +2 -1
- package/src/actions/pol/getRewardVaultRewards.ts +2 -1
- package/src/actions/pol/getRewardVaultStakingToken.ts +1 -1
- package/src/actions/pol/getRewardVaults.ts +2 -1
- package/src/actions/pol/getSWBeraVaultMetadata.ts +2 -1
- package/src/actions/pol/getSWBeraWithdrawal.ts +2 -1
- package/src/actions/pol/getStakeWithdrawalCooldown.ts +1 -1
- package/src/actions/pol/getTotalStakedAmount.ts +2 -1
- package/src/actions/pol/getUserVaults.ts +2 -1
- package/src/actions/pol/getUserVaultsBalance.ts +2 -1
- package/src/actions/pol/getUserVaultsReward.ts +1 -1
- package/src/actions/pol/getVaultsSupply.ts +1 -1
- package/src/actions/pyth/getHoneyPythFeeds.ts +2 -1
- package/src/actions/transactions/beraWriteContract.integration.test.ts +48 -51
- package/src/actions/validators/getActiveBoostAndCommissionChangeDelay.ts +3 -2
- package/src/actions/validators/getBaselineRewardAllocation.ts +2 -1
- package/src/actions/validators/getDefaultRewardAllocation.ts +2 -1
- package/src/actions/validators/getUserBoostsOnValidator.ts +2 -1
- package/src/actions/validators/getValidatorCommission.ts +2 -1
- package/src/actions/validators/getValidatorOperatorAddress.ts +2 -1
- package/src/actions/validators/getValidatorQueuedCommission.ts +2 -1
- package/src/actions/validators/getValidatorQueuedOperatorAddress.ts +2 -1
- package/src/actions/validators/getValidatorQueuedRewardAllocation.ts +2 -1
- package/src/actions/validators/getValidatorRewardAllocation.ts +2 -1
- package/src/actions/validators/getValidatorRewardAllocatorAddress.ts +2 -1
- package/src/actions/validators/utils/__tests__/validatorUtils.integration.test.ts +10 -11
- package/src/errors/getRevertReason.integration.test.ts +115 -107
- package/src/hooks/dex/useAggregatorsRouterFeeBps.ts +2 -1
- package/src/hooks/dex/useCreatePool.ts +2 -1
- package/src/hooks/dex/usePollPoolCreationRelayerApproval.ts +2 -1
- package/src/hooks/governance/useGetPastVotes.ts +2 -1
- package/src/hooks/governance/useHasVoted.ts +2 -1
- package/src/hooks/governance/useIsCanceller.ts +2 -1
- package/src/hooks/governance/usePollProposalThreshold.ts +2 -1
- package/src/hooks/governance/usePollUserDelegates.ts +2 -1
- package/src/hooks/governance/useProposalSnapshot.ts +2 -1
- package/src/hooks/governance/useProposalState.ts +2 -1
- package/src/hooks/governance/useProposalTimelockState.ts +5 -4
- package/src/hooks/pol/useBgtUnstakedBalance.ts +2 -1
- package/src/hooks/pol/useOnChainRewardVault.ts +2 -1
- package/src/hooks/pol/useRewardVaultBalanceFromStakingToken.ts +2 -1
- package/src/hooks/pol/useRewardVaultFromToken.ts +2 -1
- package/src/hooks/validators/useOnChainValidator.ts +4 -3
- package/dist/chunk-3YXSUBA5.mjs +0 -2
- package/dist/chunk-A4UDYSB6.mjs +0 -4
- package/dist/chunk-A4UDYSB6.mjs.map +0 -1
- package/dist/chunk-CYKCYPFR.cjs +0 -2
- package/dist/chunk-CYKCYPFR.cjs.map +0 -1
- package/dist/chunk-ECRMUMTA.mjs +0 -2
- package/dist/chunk-ECRMUMTA.mjs.map +0 -1
- package/dist/chunk-F4BKSBEM.mjs +0 -2
- package/dist/chunk-F4BKSBEM.mjs.map +0 -1
- package/dist/chunk-FL2N3XHK.cjs +0 -2
- package/dist/chunk-FL2N3XHK.cjs.map +0 -1
- package/dist/chunk-MUCEYO3E.cjs +0 -4
- package/dist/chunk-MUCEYO3E.cjs.map +0 -1
- package/dist/chunk-P2Q7CMUD.cjs +0 -2
- package/dist/chunk-P2Q7CMUD.cjs.map +0 -1
- package/dist/chunk-PKXAW6MO.cjs +0 -2
- package/dist/chunk-Q3SCM6WL.mjs +0 -2
- package/dist/chunk-Q3SCM6WL.mjs.map +0 -1
- package/dist/chunk-TEBJWAVU.mjs +0 -2
- package/dist/chunk-TEBJWAVU.mjs.map +0 -1
- package/dist/chunk-VP7XUOSI.cjs +0 -2
- package/dist/chunk-VP7XUOSI.cjs.map +0 -1
- package/dist/pythWrapper-CBjsmmsK.d.cts +0 -1958
- package/dist/pythWrapper-CBjsmmsK.d.ts +0 -1958
- package/src/abi/bend/metaMorpho.ts +0 -2584
- package/src/abi/bend/morpho.ts +0 -444
- package/src/abi/bex/aggregatorsRouter.ts +0 -492
- package/src/abi/bex/balancerComposableStablePoolFactoryV6.ts +0 -283
- package/src/abi/bex/balancerPoolCreationHelper.ts +0 -267
- package/src/abi/bex/balancerVault.ts +0 -757
- package/src/abi/governance/governance.ts +0 -1016
- package/src/abi/governance/governanceTimelock.ts +0 -589
- package/src/abi/honey/collateralVault.ts +0 -1144
- package/src/abi/honey/honey.ts +0 -563
- package/src/abi/honey/honeyFactory.ts +0 -1270
- package/src/abi/honey/honeyFactoryReader.ts +0 -894
- package/src/abi/honey/honeyRootOracle.ts +0 -492
- package/src/abi/honey/pythPriceOracle.ts +0 -619
- package/src/abi/honey/pythWrapper.ts +0 -446
- package/src/abi/pol/LSTStakerVault.ts +0 -2032
- package/src/abi/pol/beaconDeposit.ts +0 -595
- package/src/abi/pol/beraChef.ts +0 -1019
- package/src/abi/pol/bgt.ts +0 -1008
- package/src/abi/pol/bgtIncentiveDistributor.ts +0 -640
- package/src/abi/pol/bgtStaker.ts +0 -1034
- package/src/abi/pol/rewardAllocationFactory.ts +0 -408
- package/src/abi/pol/rewardVault.ts +0 -1928
- package/src/abi/pol/rewardVaultFactory.ts +0 -586
- package/src/abi/pol/rewardVaultHelper.ts +0 -882
- package/src/abi/pol/stakeBeraVault.ts +0 -1116
- package/src/abi/pol/stakeBeraVaultWithdrawalRequest.ts +0 -618
- package/src/abi/pol/wbera.ts +0 -366
|
@@ -1,408 +0,0 @@
|
|
|
1
|
-
export const rewardAllocationFactoryAbi = [
|
|
2
|
-
{ inputs: [], stateMutability: "nonpayable", type: "constructor" },
|
|
3
|
-
{ inputs: [], name: "AccessControlBadConfirmation", type: "error" },
|
|
4
|
-
{
|
|
5
|
-
inputs: [
|
|
6
|
-
{ internalType: "address", name: "account", type: "address" },
|
|
7
|
-
{ internalType: "bytes32", name: "neededRole", type: "bytes32" },
|
|
8
|
-
],
|
|
9
|
-
name: "AccessControlUnauthorizedAccount",
|
|
10
|
-
type: "error",
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
inputs: [{ internalType: "address", name: "target", type: "address" }],
|
|
14
|
-
name: "AddressEmptyCode",
|
|
15
|
-
type: "error",
|
|
16
|
-
},
|
|
17
|
-
{ inputs: [], name: "AmountGreaterThanReward", type: "error" },
|
|
18
|
-
{ inputs: [], name: "AmountLessThanMinIncentiveRate", type: "error" },
|
|
19
|
-
{ inputs: [], name: "CannotRecoverIncentiveToken", type: "error" },
|
|
20
|
-
{ inputs: [], name: "CannotRecoverRewardToken", type: "error" },
|
|
21
|
-
{ inputs: [], name: "CannotRecoverStakingToken", type: "error" },
|
|
22
|
-
{ inputs: [], name: "CommissionChangeAlreadyQueued", type: "error" },
|
|
23
|
-
{ inputs: [], name: "CommissionNotQueuedOrDelayNotPassed", type: "error" },
|
|
24
|
-
{ inputs: [], name: "DepositNotMultipleOfGwei", type: "error" },
|
|
25
|
-
{ inputs: [], name: "DepositValueTooHigh", type: "error" },
|
|
26
|
-
{ inputs: [], name: "DonateAmountLessThanPayoutAmount", type: "error" },
|
|
27
|
-
{
|
|
28
|
-
inputs: [{ internalType: "address", name: "receiver", type: "address" }],
|
|
29
|
-
name: "DuplicateReceiver",
|
|
30
|
-
type: "error",
|
|
31
|
-
},
|
|
32
|
-
{ inputs: [], name: "DurationChangeNotAllowed", type: "error" },
|
|
33
|
-
{
|
|
34
|
-
inputs: [
|
|
35
|
-
{ internalType: "address", name: "implementation", type: "address" },
|
|
36
|
-
],
|
|
37
|
-
name: "ERC1967InvalidImplementation",
|
|
38
|
-
type: "error",
|
|
39
|
-
},
|
|
40
|
-
{ inputs: [], name: "ERC1967NonPayable", type: "error" },
|
|
41
|
-
{ inputs: [], name: "FailedCall", type: "error" },
|
|
42
|
-
{ inputs: [], name: "IncentiveRateTooHigh", type: "error" },
|
|
43
|
-
{ inputs: [], name: "IndexOutOfRange", type: "error" },
|
|
44
|
-
{ inputs: [], name: "InsolventReward", type: "error" },
|
|
45
|
-
{ inputs: [], name: "InsufficientDelegateStake", type: "error" },
|
|
46
|
-
{ inputs: [], name: "InsufficientDeposit", type: "error" },
|
|
47
|
-
{ inputs: [], name: "InsufficientIncentiveTokens", type: "error" },
|
|
48
|
-
{ inputs: [], name: "InsufficientNativeValue", type: "error" },
|
|
49
|
-
{ inputs: [], name: "InsufficientSelfStake", type: "error" },
|
|
50
|
-
{ inputs: [], name: "InsufficientStake", type: "error" },
|
|
51
|
-
{ inputs: [], name: "InvalidActivateBoostDelay", type: "error" },
|
|
52
|
-
{ inputs: [], name: "InvalidArray", type: "error" },
|
|
53
|
-
{ inputs: [], name: "InvalidBaseRate", type: "error" },
|
|
54
|
-
{ inputs: [], name: "InvalidBoostMultiplier", type: "error" },
|
|
55
|
-
{ inputs: [], name: "InvalidCommissionChangeDelay", type: "error" },
|
|
56
|
-
{ inputs: [], name: "InvalidCommissionValue", type: "error" },
|
|
57
|
-
{ inputs: [], name: "InvalidCredentialsLength", type: "error" },
|
|
58
|
-
{ inputs: [], name: "InvalidDistribution", type: "error" },
|
|
59
|
-
{ inputs: [], name: "InvalidDropBoostDelay", type: "error" },
|
|
60
|
-
{ inputs: [], name: "InvalidIncentiveFeeRate", type: "error" },
|
|
61
|
-
{ inputs: [], name: "InvalidIncentiveRate", type: "error" },
|
|
62
|
-
{ inputs: [], name: "InvalidInitialization", type: "error" },
|
|
63
|
-
{ inputs: [], name: "InvalidMaxIncentiveTokensCount", type: "error" },
|
|
64
|
-
{ inputs: [], name: "InvalidMaxWeightPerVault", type: "error" },
|
|
65
|
-
{ inputs: [], name: "InvalidMerkleRoot", type: "error" },
|
|
66
|
-
{ inputs: [], name: "InvalidMinBoostedRewardRate", type: "error" },
|
|
67
|
-
{ inputs: [], name: "InvalidProof", type: "error" },
|
|
68
|
-
{ inputs: [], name: "InvalidPubKeyLength", type: "error" },
|
|
69
|
-
{
|
|
70
|
-
inputs: [],
|
|
71
|
-
name: "InvalidRewardAllocationInactivityBlockSpan",
|
|
72
|
-
type: "error",
|
|
73
|
-
},
|
|
74
|
-
{ inputs: [], name: "InvalidRewardAllocationWeights", type: "error" },
|
|
75
|
-
{ inputs: [], name: "InvalidRewardClaimDelay", type: "error" },
|
|
76
|
-
{ inputs: [], name: "InvalidRewardConvexity", type: "error" },
|
|
77
|
-
{ inputs: [], name: "InvalidRewardDuration", type: "error" },
|
|
78
|
-
{ inputs: [], name: "InvalidRewardRate", type: "error" },
|
|
79
|
-
{ inputs: [], name: "InvalidSignatureLength", type: "error" },
|
|
80
|
-
{ inputs: [], name: "InvalidStartBlock", type: "error" },
|
|
81
|
-
{ inputs: [], name: "InvalidToken", type: "error" },
|
|
82
|
-
{ inputs: [], name: "InvalidWeight", type: "error" },
|
|
83
|
-
{ inputs: [], name: "InvalidateDefaultRewardAllocation", type: "error" },
|
|
84
|
-
{ inputs: [], name: "InvariantCheckFailed", type: "error" },
|
|
85
|
-
{ inputs: [], name: "MaxNumWeightsPerRewardAllocationIsZero", type: "error" },
|
|
86
|
-
{ inputs: [], name: "MethodNotAllowed", type: "error" },
|
|
87
|
-
{ inputs: [], name: "MinIncentiveRateIsZero", type: "error" },
|
|
88
|
-
{ inputs: [], name: "NonTransferable", type: "error" },
|
|
89
|
-
{ inputs: [], name: "NotAContract", type: "error" },
|
|
90
|
-
{ inputs: [], name: "NotApprovedSender", type: "error" },
|
|
91
|
-
{ inputs: [], name: "NotBGT", type: "error" },
|
|
92
|
-
{ inputs: [], name: "NotBlockRewardController", type: "error" },
|
|
93
|
-
{ inputs: [], name: "NotDelegate", type: "error" },
|
|
94
|
-
{ inputs: [], name: "NotDistributor", type: "error" },
|
|
95
|
-
{ inputs: [], name: "NotEnoughBalance", type: "error" },
|
|
96
|
-
{ inputs: [], name: "NotEnoughBoostedBalance", type: "error" },
|
|
97
|
-
{ inputs: [], name: "NotEnoughTime", type: "error" },
|
|
98
|
-
{ inputs: [], name: "NotFactoryVault", type: "error" },
|
|
99
|
-
{ inputs: [], name: "NotFeeCollector", type: "error" },
|
|
100
|
-
{ inputs: [], name: "NotIncentiveManager", type: "error" },
|
|
101
|
-
{ inputs: [], name: "NotInitializing", type: "error" },
|
|
102
|
-
{ inputs: [], name: "NotNewOperator", type: "error" },
|
|
103
|
-
{ inputs: [], name: "NotOperator", type: "error" },
|
|
104
|
-
{ inputs: [], name: "NotRewardAllocator", type: "error" },
|
|
105
|
-
{ inputs: [], name: "NotRewardDurationManager", type: "error" },
|
|
106
|
-
{ inputs: [], name: "NotRewardVaultManager", type: "error" },
|
|
107
|
-
{ inputs: [], name: "NotSystemAddress", type: "error" },
|
|
108
|
-
{ inputs: [], name: "NotWBERAStakerVault", type: "error" },
|
|
109
|
-
{ inputs: [], name: "NotWhitelistedVault", type: "error" },
|
|
110
|
-
{ inputs: [], name: "OnlyNFTOwnerAllowed", type: "error" },
|
|
111
|
-
{ inputs: [], name: "OnlySystemCallAllowed", type: "error" },
|
|
112
|
-
{ inputs: [], name: "OperatorAlreadySet", type: "error" },
|
|
113
|
-
{ inputs: [], name: "PayoutAmountIsZero", type: "error" },
|
|
114
|
-
{ inputs: [], name: "RewardAllocationAlreadyQueued", type: "error" },
|
|
115
|
-
{ inputs: [], name: "RewardAllocationBlockDelayTooLarge", type: "error" },
|
|
116
|
-
{ inputs: [], name: "RewardCycleNotEnded", type: "error" },
|
|
117
|
-
{ inputs: [], name: "RewardDurationCoolDownPeriodNotPassed", type: "error" },
|
|
118
|
-
{ inputs: [], name: "RewardInactive", type: "error" },
|
|
119
|
-
{ inputs: [], name: "RewardsDurationIsZero", type: "error" },
|
|
120
|
-
{ inputs: [], name: "StakeAmountIsZero", type: "error" },
|
|
121
|
-
{ inputs: [], name: "TimestampAlreadyProcessed", type: "error" },
|
|
122
|
-
{ inputs: [], name: "TokenAlreadyWhitelistedOrLimitReached", type: "error" },
|
|
123
|
-
{ inputs: [], name: "TokenNotWhitelisted", type: "error" },
|
|
124
|
-
{ inputs: [], name: "TooManyWeights", type: "error" },
|
|
125
|
-
{ inputs: [], name: "TotalSupplyOverflow", type: "error" },
|
|
126
|
-
{ inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" },
|
|
127
|
-
{
|
|
128
|
-
inputs: [{ internalType: "bytes32", name: "slot", type: "bytes32" }],
|
|
129
|
-
name: "UUPSUnsupportedProxiableUUID",
|
|
130
|
-
type: "error",
|
|
131
|
-
},
|
|
132
|
-
{ inputs: [], name: "UnauthorizedETHTransfer", type: "error" },
|
|
133
|
-
{ inputs: [], name: "WithdrawAmountIsZero", type: "error" },
|
|
134
|
-
{ inputs: [], name: "WithdrawalAlreadyRequested", type: "error" },
|
|
135
|
-
{ inputs: [], name: "WithdrawalNotReady", type: "error" },
|
|
136
|
-
{ inputs: [], name: "WithdrawalNotRequested", type: "error" },
|
|
137
|
-
{ inputs: [], name: "ZeroAddress", type: "error" },
|
|
138
|
-
{ inputs: [], name: "ZeroOperatorOnFirstDeposit", type: "error" },
|
|
139
|
-
{ inputs: [], name: "ZeroPercentageWeight", type: "error" },
|
|
140
|
-
{
|
|
141
|
-
anonymous: false,
|
|
142
|
-
inputs: [
|
|
143
|
-
{
|
|
144
|
-
components: [
|
|
145
|
-
{ internalType: "address", name: "receiver", type: "address" },
|
|
146
|
-
{
|
|
147
|
-
internalType: "uint96",
|
|
148
|
-
name: "percentageNumerator",
|
|
149
|
-
type: "uint96",
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
indexed: false,
|
|
153
|
-
internalType: "struct IBeraChef.Weight[]",
|
|
154
|
-
name: "weights",
|
|
155
|
-
type: "tuple[]",
|
|
156
|
-
},
|
|
157
|
-
],
|
|
158
|
-
name: "BaselineAllocationSet",
|
|
159
|
-
type: "event",
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
anonymous: false,
|
|
163
|
-
inputs: [
|
|
164
|
-
{
|
|
165
|
-
indexed: false,
|
|
166
|
-
internalType: "uint64",
|
|
167
|
-
name: "version",
|
|
168
|
-
type: "uint64",
|
|
169
|
-
},
|
|
170
|
-
],
|
|
171
|
-
name: "Initialized",
|
|
172
|
-
type: "event",
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
anonymous: false,
|
|
176
|
-
inputs: [
|
|
177
|
-
{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
|
|
178
|
-
{
|
|
179
|
-
indexed: true,
|
|
180
|
-
internalType: "bytes32",
|
|
181
|
-
name: "previousAdminRole",
|
|
182
|
-
type: "bytes32",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
indexed: true,
|
|
186
|
-
internalType: "bytes32",
|
|
187
|
-
name: "newAdminRole",
|
|
188
|
-
type: "bytes32",
|
|
189
|
-
},
|
|
190
|
-
],
|
|
191
|
-
name: "RoleAdminChanged",
|
|
192
|
-
type: "event",
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
anonymous: false,
|
|
196
|
-
inputs: [
|
|
197
|
-
{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
|
|
198
|
-
{
|
|
199
|
-
indexed: true,
|
|
200
|
-
internalType: "address",
|
|
201
|
-
name: "account",
|
|
202
|
-
type: "address",
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
indexed: true,
|
|
206
|
-
internalType: "address",
|
|
207
|
-
name: "sender",
|
|
208
|
-
type: "address",
|
|
209
|
-
},
|
|
210
|
-
],
|
|
211
|
-
name: "RoleGranted",
|
|
212
|
-
type: "event",
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
anonymous: false,
|
|
216
|
-
inputs: [
|
|
217
|
-
{ indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
|
|
218
|
-
{
|
|
219
|
-
indexed: true,
|
|
220
|
-
internalType: "address",
|
|
221
|
-
name: "account",
|
|
222
|
-
type: "address",
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
indexed: true,
|
|
226
|
-
internalType: "address",
|
|
227
|
-
name: "sender",
|
|
228
|
-
type: "address",
|
|
229
|
-
},
|
|
230
|
-
],
|
|
231
|
-
name: "RoleRevoked",
|
|
232
|
-
type: "event",
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
anonymous: false,
|
|
236
|
-
inputs: [
|
|
237
|
-
{
|
|
238
|
-
indexed: true,
|
|
239
|
-
internalType: "address",
|
|
240
|
-
name: "implementation",
|
|
241
|
-
type: "address",
|
|
242
|
-
},
|
|
243
|
-
],
|
|
244
|
-
name: "Upgraded",
|
|
245
|
-
type: "event",
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
inputs: [],
|
|
249
|
-
name: "ALLOCATION_SETTER_ROLE",
|
|
250
|
-
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
251
|
-
stateMutability: "view",
|
|
252
|
-
type: "function",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
inputs: [],
|
|
256
|
-
name: "DEFAULT_ADMIN_ROLE",
|
|
257
|
-
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
258
|
-
stateMutability: "view",
|
|
259
|
-
type: "function",
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
inputs: [],
|
|
263
|
-
name: "UPGRADE_INTERFACE_VERSION",
|
|
264
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
265
|
-
stateMutability: "view",
|
|
266
|
-
type: "function",
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
inputs: [],
|
|
270
|
-
name: "beraChef",
|
|
271
|
-
outputs: [
|
|
272
|
-
{ internalType: "contract IBeraChef", name: "", type: "address" },
|
|
273
|
-
],
|
|
274
|
-
stateMutability: "view",
|
|
275
|
-
type: "function",
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
inputs: [],
|
|
279
|
-
name: "getBaselineAllocation",
|
|
280
|
-
outputs: [
|
|
281
|
-
{
|
|
282
|
-
components: [
|
|
283
|
-
{ internalType: "uint64", name: "startBlock", type: "uint64" },
|
|
284
|
-
{
|
|
285
|
-
components: [
|
|
286
|
-
{ internalType: "address", name: "receiver", type: "address" },
|
|
287
|
-
{
|
|
288
|
-
internalType: "uint96",
|
|
289
|
-
name: "percentageNumerator",
|
|
290
|
-
type: "uint96",
|
|
291
|
-
},
|
|
292
|
-
],
|
|
293
|
-
internalType: "struct IBeraChef.Weight[]",
|
|
294
|
-
name: "weights",
|
|
295
|
-
type: "tuple[]",
|
|
296
|
-
},
|
|
297
|
-
],
|
|
298
|
-
internalType: "struct IBeraChef.RewardAllocation",
|
|
299
|
-
name: "",
|
|
300
|
-
type: "tuple",
|
|
301
|
-
},
|
|
302
|
-
],
|
|
303
|
-
stateMutability: "view",
|
|
304
|
-
type: "function",
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }],
|
|
308
|
-
name: "getRoleAdmin",
|
|
309
|
-
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
310
|
-
stateMutability: "view",
|
|
311
|
-
type: "function",
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
inputs: [
|
|
315
|
-
{ internalType: "bytes32", name: "role", type: "bytes32" },
|
|
316
|
-
{ internalType: "address", name: "account", type: "address" },
|
|
317
|
-
],
|
|
318
|
-
name: "grantRole",
|
|
319
|
-
outputs: [],
|
|
320
|
-
stateMutability: "nonpayable",
|
|
321
|
-
type: "function",
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
inputs: [
|
|
325
|
-
{ internalType: "bytes32", name: "role", type: "bytes32" },
|
|
326
|
-
{ internalType: "address", name: "account", type: "address" },
|
|
327
|
-
],
|
|
328
|
-
name: "hasRole",
|
|
329
|
-
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
330
|
-
stateMutability: "view",
|
|
331
|
-
type: "function",
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
inputs: [
|
|
335
|
-
{ internalType: "address", name: "_governance", type: "address" },
|
|
336
|
-
{ internalType: "address", name: "_beraChef", type: "address" },
|
|
337
|
-
],
|
|
338
|
-
name: "initialize",
|
|
339
|
-
outputs: [],
|
|
340
|
-
stateMutability: "nonpayable",
|
|
341
|
-
type: "function",
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
inputs: [],
|
|
345
|
-
name: "proxiableUUID",
|
|
346
|
-
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
347
|
-
stateMutability: "view",
|
|
348
|
-
type: "function",
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
inputs: [
|
|
352
|
-
{ internalType: "bytes32", name: "role", type: "bytes32" },
|
|
353
|
-
{ internalType: "address", name: "callerConfirmation", type: "address" },
|
|
354
|
-
],
|
|
355
|
-
name: "renounceRole",
|
|
356
|
-
outputs: [],
|
|
357
|
-
stateMutability: "nonpayable",
|
|
358
|
-
type: "function",
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
inputs: [
|
|
362
|
-
{ internalType: "bytes32", name: "role", type: "bytes32" },
|
|
363
|
-
{ internalType: "address", name: "account", type: "address" },
|
|
364
|
-
],
|
|
365
|
-
name: "revokeRole",
|
|
366
|
-
outputs: [],
|
|
367
|
-
stateMutability: "nonpayable",
|
|
368
|
-
type: "function",
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
inputs: [
|
|
372
|
-
{
|
|
373
|
-
components: [
|
|
374
|
-
{ internalType: "address", name: "receiver", type: "address" },
|
|
375
|
-
{
|
|
376
|
-
internalType: "uint96",
|
|
377
|
-
name: "percentageNumerator",
|
|
378
|
-
type: "uint96",
|
|
379
|
-
},
|
|
380
|
-
],
|
|
381
|
-
internalType: "struct IBeraChef.Weight[]",
|
|
382
|
-
name: "weights",
|
|
383
|
-
type: "tuple[]",
|
|
384
|
-
},
|
|
385
|
-
],
|
|
386
|
-
name: "setBaselineAllocation",
|
|
387
|
-
outputs: [],
|
|
388
|
-
stateMutability: "nonpayable",
|
|
389
|
-
type: "function",
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }],
|
|
393
|
-
name: "supportsInterface",
|
|
394
|
-
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
395
|
-
stateMutability: "view",
|
|
396
|
-
type: "function",
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
inputs: [
|
|
400
|
-
{ internalType: "address", name: "newImplementation", type: "address" },
|
|
401
|
-
{ internalType: "bytes", name: "data", type: "bytes" },
|
|
402
|
-
],
|
|
403
|
-
name: "upgradeToAndCall",
|
|
404
|
-
outputs: [],
|
|
405
|
-
stateMutability: "payable",
|
|
406
|
-
type: "function",
|
|
407
|
-
},
|
|
408
|
-
] as const;
|