@berachain/berajs 0.1.1 → 0.2.0
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/dist/{BeraError-D1HS_rbb.d.cts → BeraError-_mQdkanr.d.cts} +35 -10
- package/dist/{BeraError-D1HS_rbb.d.ts → BeraError-_mQdkanr.d.ts} +35 -10
- package/dist/HoneyConfigProvider-CK6mOKFH.d.ts +390 -0
- package/dist/HoneyConfigProvider-Ca3ouozs.d.cts +390 -0
- package/dist/{RequestError-D8AE6xnI.d.cts → RequestError-A8XJ6QR9.d.cts} +1 -1
- package/dist/{RequestError-m4jxyM7D.d.ts → RequestError-Dk97z8rm.d.ts} +1 -1
- package/dist/abi/exports.cjs +2 -0
- package/dist/abi/exports.cjs.map +1 -0
- package/dist/abi/{index.d.cts → exports.d.cts} +12369 -9122
- package/dist/abi/{index.d.ts → exports.d.ts} +12369 -9122
- package/dist/abi/exports.mjs +2 -0
- package/dist/abi/exports.mjs.map +1 -0
- package/dist/actions/exports.cjs +2 -0
- package/dist/actions/exports.cjs.map +1 -0
- package/dist/actions/{index.d.cts → exports.d.cts} +80 -107
- package/dist/actions/{index.d.ts → exports.d.ts} +80 -107
- package/dist/actions/exports.mjs +2 -0
- package/dist/actions/exports.mjs.map +1 -0
- package/dist/chunk-575OK77P.mjs +2 -0
- package/dist/chunk-575OK77P.mjs.map +1 -0
- package/dist/chunk-7GWTHOLO.mjs +2 -0
- package/dist/chunk-7GWTHOLO.mjs.map +1 -0
- package/dist/chunk-7SC4VD3U.cjs +2 -0
- package/dist/chunk-7SC4VD3U.cjs.map +1 -0
- package/dist/chunk-BHNQX4XC.mjs +2 -0
- package/dist/chunk-BHNQX4XC.mjs.map +1 -0
- package/dist/chunk-BOYZVULX.cjs +2 -0
- package/dist/chunk-BOYZVULX.cjs.map +1 -0
- package/dist/chunk-C3FHGFLK.mjs +2 -0
- package/dist/chunk-C3FHGFLK.mjs.map +1 -0
- package/dist/chunk-C3G5KXCH.mjs +2 -0
- package/dist/chunk-C3G5KXCH.mjs.map +1 -0
- package/dist/chunk-CYKCYPFR.cjs +2 -0
- package/dist/chunk-CYKCYPFR.cjs.map +1 -0
- package/dist/chunk-F4BKSBEM.mjs +2 -0
- package/dist/chunk-F4BKSBEM.mjs.map +1 -0
- package/dist/chunk-FL2N3XHK.cjs +2 -0
- package/dist/chunk-FL2N3XHK.cjs.map +1 -0
- package/dist/chunk-G6NA6NSM.mjs +4 -0
- package/dist/chunk-G6NA6NSM.mjs.map +1 -0
- package/dist/chunk-H2QSRMVS.mjs +2 -0
- package/dist/chunk-H2QSRMVS.mjs.map +1 -0
- package/dist/chunk-IJM76AWK.cjs +4 -0
- package/dist/chunk-IJM76AWK.cjs.map +1 -0
- package/dist/chunk-MTS5SZLA.mjs +2 -0
- package/dist/chunk-MTS5SZLA.mjs.map +1 -0
- package/dist/chunk-MUNAP5TM.cjs +2 -0
- package/dist/chunk-MUNAP5TM.cjs.map +1 -0
- package/dist/chunk-NAXAZJJY.mjs +2 -0
- package/dist/chunk-NAXAZJJY.mjs.map +1 -0
- package/dist/chunk-OGJMSGB2.mjs +2 -0
- package/dist/chunk-OGJMSGB2.mjs.map +1 -0
- package/dist/chunk-OIYXOKTT.cjs +2 -0
- package/dist/chunk-OIYXOKTT.cjs.map +1 -0
- package/dist/chunk-OS5AJMYJ.cjs +2 -0
- package/dist/{chunk-EODAKI5K.cjs.map → chunk-OS5AJMYJ.cjs.map} +1 -1
- package/dist/chunk-Q3SCM6WL.mjs +2 -0
- package/dist/chunk-Q3SCM6WL.mjs.map +1 -0
- package/dist/chunk-SWMJQOH6.cjs +2 -0
- package/dist/chunk-SWMJQOH6.cjs.map +1 -0
- package/dist/chunk-TEBJWAVU.mjs +2 -0
- package/dist/chunk-TEBJWAVU.mjs.map +1 -0
- package/dist/chunk-TJWKS54T.mjs +2 -0
- package/dist/chunk-TJWKS54T.mjs.map +1 -0
- package/dist/chunk-UQUWMHVF.cjs +2 -0
- package/dist/chunk-UQUWMHVF.cjs.map +1 -0
- package/dist/chunk-UXUWSRVV.cjs +2 -0
- package/dist/chunk-UXUWSRVV.cjs.map +1 -0
- package/dist/chunk-VP7XUOSI.cjs +2 -0
- package/dist/chunk-VP7XUOSI.cjs.map +1 -0
- package/dist/chunk-VXL2ZZ4X.cjs +2 -0
- package/dist/chunk-VXL2ZZ4X.cjs.map +1 -0
- package/dist/chunk-WRFDB3QJ.cjs +2 -0
- package/dist/chunk-WRFDB3QJ.cjs.map +1 -0
- package/dist/chunk-WTCBORPB.cjs +2 -0
- package/dist/chunk-WTCBORPB.cjs.map +1 -0
- package/dist/chunk-XNJLSA6P.cjs +2 -0
- package/dist/chunk-XNJLSA6P.cjs.map +1 -0
- package/dist/chunk-YQGZMWDT.mjs +2 -0
- package/dist/chunk-YQGZMWDT.mjs.map +1 -0
- package/dist/chunk-YXLFOEZN.mjs +2 -0
- package/dist/chunk-YXLFOEZN.mjs.map +1 -0
- package/dist/chunk-ZAKA4TGK.cjs +2 -0
- package/dist/chunk-ZAKA4TGK.cjs.map +1 -0
- package/dist/chunk-ZQRACIGR.mjs +2 -0
- package/dist/chunk-ZQRACIGR.mjs.map +1 -0
- package/dist/contexts/exports.cjs +2 -0
- package/dist/contexts/exports.cjs.map +1 -0
- package/dist/contexts/{index.d.ts → exports.d.cts} +20 -29
- package/dist/contexts/{index.d.cts → exports.d.ts} +20 -29
- package/dist/contexts/exports.mjs +2 -0
- package/dist/contexts/exports.mjs.map +1 -0
- package/dist/contracts-CQIPk0Jc.d.cts +74 -0
- package/dist/contracts-CQIPk0Jc.d.ts +74 -0
- package/dist/{defaultFlags-V-tJs2K8.d.cts → defaultFlags-d0kPbT0i.d.cts} +1 -1
- package/dist/{defaultFlags-V-tJs2K8.d.ts → defaultFlags-d0kPbT0i.d.ts} +1 -1
- package/dist/dex-C_BB0b0O.d.cts +37 -0
- package/dist/dex-C_BB0b0O.d.ts +37 -0
- package/dist/enum/exports.cjs +2 -0
- package/dist/enum/exports.cjs.map +1 -0
- package/dist/enum/exports.d.cts +24 -0
- package/dist/enum/exports.d.ts +24 -0
- package/dist/enum/exports.mjs +2 -0
- package/dist/enum/exports.mjs.map +1 -0
- package/dist/errors/exports.cjs +2 -0
- package/dist/errors/exports.cjs.map +1 -0
- package/dist/errors/exports.d.cts +385 -0
- package/dist/errors/exports.d.ts +385 -0
- package/dist/errors/exports.mjs +2 -0
- package/dist/{getValidatorQueuedOperatorAddress-BhPVMCTj.d.ts → getValidatorQueuedOperatorAddress-BX35p2Lv.d.ts} +125 -15
- package/dist/{getValidatorQueuedOperatorAddress-Cmd7rgYK.d.cts → getValidatorQueuedOperatorAddress-It0GsdvQ.d.cts} +125 -15
- package/dist/global.d-Ba-NIojH.d.cts +474 -0
- package/dist/global.d-By70bEv2.d.ts +474 -0
- package/dist/honey-CYm0RWf4.d.cts +14 -0
- package/dist/honey-CYm0RWf4.d.ts +14 -0
- package/dist/hooks/exports.cjs +4 -0
- package/dist/hooks/exports.cjs.map +1 -0
- package/dist/hooks/{index.d.cts → exports.d.cts} +223 -173
- package/dist/hooks/{index.d.ts → exports.d.ts} +223 -173
- package/dist/hooks/exports.mjs +4 -0
- package/dist/hooks/exports.mjs.map +1 -0
- package/dist/{BexStatusProvider-nS3NcdxI.d.cts → transactionStore-BvStaXf3.d.ts} +41 -1
- package/dist/{BexStatusProvider-nS3NcdxI.d.ts → transactionStore-CQrGYSY2.d.cts} +41 -1
- package/dist/{txnEnum-BQKDfaeH.d.cts → txnEnum-BYNbCxla.d.cts} +1 -0
- package/dist/{txnEnum-BQKDfaeH.d.ts → txnEnum-BYNbCxla.d.ts} +1 -0
- package/dist/types/exports.cjs +1 -0
- package/dist/types/exports.cjs.map +1 -0
- package/dist/types/exports.d.cts +58 -0
- package/dist/types/exports.d.ts +58 -0
- package/dist/types/exports.mjs +1 -0
- package/dist/{useHoneySwapState-DfmXCavx.d.cts → useHoneySwapState-B-vmIP1b.d.cts} +1 -1
- package/dist/{useHoneySwapState-AKDZI2MT.d.ts → useHoneySwapState-D1DKG_Of.d.ts} +1 -1
- package/dist/utils/exports.cjs +2 -0
- package/dist/utils/exports.cjs.map +1 -0
- package/dist/utils/{index.d.cts → exports.d.cts} +84 -21
- package/dist/utils/{index.d.ts → exports.d.ts} +84 -21
- package/dist/utils/exports.mjs +2 -0
- package/dist/utils/exports.mjs.map +1 -0
- package/package.json +18 -18
- package/src/abi/bend/bundler.ts +60 -0
- package/src/abi/bend/generalAdapter.ts +362 -0
- package/src/abi/bend/metaMorpho.ts +2584 -0
- package/src/abi/bend/morpho.ts +444 -0
- package/src/abi/bend/morphoVault.ts +1456 -0
- package/src/abi/bend/publicAllocator.ts +355 -0
- package/src/abi/bex/aggregatorsRouter.ts +492 -0
- package/src/abi/bex/balancerComposableStablePoolFactoryV6.ts +283 -0
- package/src/abi/bex/balancerPoolCreationHelper.ts +267 -0
- package/src/abi/bex/balancerVault.ts +757 -0
- package/src/abi/enso/ensoRouterAbi.ts +140 -0
- package/src/abi/exports.ts +38 -0
- package/src/abi/governance/governance.ts +1016 -0
- package/src/abi/governance/governanceTimelock.ts +589 -0
- package/src/abi/honey/collateralVault.ts +1144 -0
- package/src/abi/honey/honey.ts +563 -0
- package/src/abi/honey/honeyFactory.ts +1270 -0
- package/src/abi/honey/honeyFactoryReader.ts +894 -0
- package/src/abi/honey/honeyRootOracle.ts +492 -0
- package/src/abi/honey/pythPriceOracle.ts +619 -0
- package/src/abi/honey/pythWrapper.ts +446 -0
- package/src/abi/pol/LSTStakerVault.ts +2032 -0
- package/src/abi/pol/beaconDeposit.ts +595 -0
- package/src/abi/pol/beraChef.ts +1019 -0
- package/src/abi/pol/bgt.ts +1008 -0
- package/src/abi/pol/bgtIncentiveDistributor.ts +640 -0
- package/src/abi/pol/bgtStaker.ts +1034 -0
- package/src/abi/pol/rewardAllocationFactory.ts +408 -0
- package/src/abi/pol/rewardVault.ts +1928 -0
- package/src/abi/pol/rewardVaultFactory.ts +586 -0
- package/src/abi/pol/rewardVaultHelper.ts +882 -0
- package/src/abi/pol/stakeBeraVault.ts +1116 -0
- package/src/abi/pol/stakeBeraVaultWithdrawalRequest.ts +618 -0
- package/src/abi/pol/wbera.ts +366 -0
- package/src/abi/pyth/pyth.ts +566 -0
- package/src/abi/pyth/pythErrors.ts +72 -0
- package/src/abi/utils/EIP7702StatelessDelegator.ts +523 -0
- package/src/abi/utils/bundler3errors.ts +6 -0
- package/src/abi/utils/commonAbiErrors.ts +9 -0
- package/src/abi/utils/erc20errors.ts +74 -0
- package/src/abi/utils/merkleDistributor.ts +838 -0
- package/src/abi/utils/multicall3.ts +242 -0
- package/src/abi/utils/openChainErrors.ts +180 -0
- package/src/abi/utils/thirdwebMinimalAccount.ts +616 -0
- package/src/abi/utils/upgradableBeacon.ts +86 -0
- package/src/actions/bend/getConvertToAssets.ts +23 -0
- package/src/actions/bend/getMaxDeposit.ts +21 -0
- package/src/actions/clients/BeraApolloClient.ts +127 -0
- package/src/actions/clients/getApolloClient.ts +109 -0
- package/src/actions/clients/getEnsoClient.ts +24 -0
- package/src/actions/dex/__tests__/aggregators.unit.test.ts +109 -0
- package/src/actions/dex/__tests__/allPools.integration.test.ts +13 -0
- package/src/actions/dex/__tests__/getOnChainPool.unit.test.ts +15 -0
- package/src/actions/dex/aggregators/base.ts +232 -0
- package/src/actions/dex/aggregators/bex.ts +235 -0
- package/src/actions/dex/aggregators/bgt.ts +73 -0
- package/src/actions/dex/aggregators/enso/enso.ts +117 -0
- package/src/actions/dex/aggregators/enso/ensoErc4626.debug.test.ts +37 -0
- package/src/actions/dex/aggregators/enso/ensoErc4626.ts +176 -0
- package/src/actions/dex/aggregators/erc4626.ts +122 -0
- package/src/actions/dex/aggregators/fly.ts +142 -0
- package/src/actions/dex/aggregators/haiku.integration.test.ts +40 -0
- package/src/actions/dex/aggregators/haiku.ts +169 -0
- package/src/actions/dex/aggregators/honey.ts +254 -0
- package/src/actions/dex/aggregators/kyberswap.ts +144 -0
- package/src/actions/dex/aggregators/oogabooga.ts +111 -0
- package/src/actions/dex/aggregators/openOcean.ts +147 -0
- package/src/actions/dex/aggregators/wbera.ts +84 -0
- package/src/actions/dex/b-sdk.ts +51 -0
- package/src/actions/dex/getAllPools.ts +60 -0
- package/src/actions/dex/getApiPool.ts +47 -0
- package/src/actions/dex/getGlobalLiquidityAndSwapVolume.ts +29 -0
- package/src/actions/dex/getIsTokenExploited.ts +63 -0
- package/src/actions/dex/getOnChainPool.ts +216 -0
- package/src/actions/dex/getPoolEvents.ts +35 -0
- package/src/actions/dex/getPoolHistoricalData.ts +51 -0
- package/src/actions/dex/getPoolPausedState.ts +40 -0
- package/src/actions/dex/getPoolWithState.ts +24 -0
- package/src/actions/dex/getSubgraphPool.ts +30 -0
- package/src/actions/dex/getVaultPausedState.ts +21 -0
- package/src/actions/enso/getEnsoSwapBundle.ts +77 -0
- package/src/actions/enso/getEnsoUserTokensWithBalances.debug.test.ts +73 -0
- package/src/actions/enso/getEnsoUserTokensWithBalances.ts +145 -0
- package/src/actions/enso/util.ts +60 -0
- package/src/actions/exports.ts +110 -0
- package/src/actions/governance/__tests__/checkProposalField.unit.test.ts +108 -0
- package/src/actions/governance/__tests__/getDecodedFunctionData.integration.test.ts +127 -0
- package/src/actions/governance/__tests__/getQuorum.integration.test.ts +39 -0
- package/src/actions/governance/checkProposalField.ts +211 -0
- package/src/actions/governance/computeActualStatus.ts +154 -0
- package/src/actions/governance/constants.ts +7 -0
- package/src/actions/governance/getAllProposals.ts +75 -0
- package/src/actions/governance/getBodyErrors.ts +28 -0
- package/src/actions/governance/getDecodedFunctionData.ts +167 -0
- package/src/actions/governance/getProposalDetails.ts +40 -0
- package/src/actions/governance/getProposalFromTx.ts +100 -0
- package/src/actions/governance/getProposalParams.ts +246 -0
- package/src/actions/governance/getProposalVotes.ts +20 -0
- package/src/actions/governance/getQuorum.ts +37 -0
- package/src/actions/governance/parseProposalBody.ts +73 -0
- package/src/actions/honey/getChartData.ts +27 -0
- package/src/actions/honey/getCollateralWeights.ts +50 -0
- package/src/actions/honey/getGlobalCapLimit.ts +148 -0
- package/src/actions/honey/getHoneyCollaterals.ts +140 -0
- package/src/actions/honey/getHoneyFees.ts +100 -0
- package/src/actions/honey/getHoneyGlobalData.ts +21 -0
- package/src/actions/honey/getHoneyPausedState.ts +25 -0
- package/src/actions/honey/getHoneyPreview.ts +152 -0
- package/src/actions/honey/getHoneyPythPriceOracle.ts +21 -0
- package/src/actions/honey/getHoneyRootPriceOracle.ts +23 -0
- package/src/actions/honey/getHoneyVaultsBalance.ts +82 -0
- package/src/actions/honey/getPythLatestPrices.ts +54 -0
- package/src/actions/honey/getRelativeCapLimit.ts +83 -0
- package/src/actions/honey/getSharesWithoutFees.ts +65 -0
- package/src/actions/honey/getSwapPayload.ts +130 -0
- package/src/actions/honey/isBadCollateralAsset.ts +77 -0
- package/src/actions/honey/isBasketModeEnabled.ts +47 -0
- package/src/actions/honey/tests/pyth.integration.test.ts +62 -0
- package/src/actions/misc/getBlockTimestamp.ts +41 -0
- package/src/actions/pol/__tests__/getAllValidators.integration.test.ts +55 -0
- package/src/actions/pol/__tests__/getValidator.integration.test.ts +32 -0
- package/src/actions/pol/__tests__/rewardVaults.integration.test.ts +34 -0
- package/src/actions/pol/getBGTGlobalInfo.ts +43 -0
- package/src/actions/pol/getBgtAprSimulation.ts +207 -0
- package/src/actions/pol/getBgtAprSimultaion.unit.test.ts +297 -0
- package/src/actions/pol/getBgtTokenTotalBoosts.ts +30 -0
- package/src/actions/pol/getBgtTokenTotalSupply.ts +29 -0
- package/src/actions/pol/getBlockTime.ts +43 -0
- package/src/actions/pol/getEarnedStakedBeraVault.ts +31 -0
- package/src/actions/pol/getGlobalCuttingBoard.ts +25 -0
- package/src/actions/pol/getGlobalData.ts +75 -0
- package/src/actions/pol/getIncentiveFeeClaimStats.ts +43 -0
- package/src/actions/pol/getLSTStakeConfig.ts +67 -0
- package/src/actions/pol/getMarkets.ts +36 -0
- package/src/actions/pol/getRewardProofsByValidator.ts +49 -0
- package/src/actions/pol/getRewardTokenToBeraRate.ts +30 -0
- package/src/actions/pol/getRewardVault.ts +54 -0
- package/src/actions/pol/getRewardVaultBeaconImplementation.integration.test.ts +18 -0
- package/src/actions/pol/getRewardVaultBeaconImplementation.ts +35 -0
- package/src/actions/pol/getRewardVaultDurationConstants.integration.test.ts +24 -0
- package/src/actions/pol/getRewardVaultDurationConstants.ts +45 -0
- package/src/actions/pol/getRewardVaultFromToken.ts +30 -0
- package/src/actions/pol/getRewardVaultIncentives.ts +120 -0
- package/src/actions/pol/getRewardVaultRewards.ts +109 -0
- package/src/actions/pol/getRewardVaultStakingToken.ts +19 -0
- package/src/actions/pol/getRewardVaults.ts +105 -0
- package/src/actions/pol/getSWBeraVaultMetadata.ts +168 -0
- package/src/actions/pol/getSWBeraWithdrawal.ts +179 -0
- package/src/actions/pol/getStakeWithdrawalCooldown.ts +19 -0
- package/src/actions/pol/getStakedBeraAPR.ts +56 -0
- package/src/actions/pol/getStakedBeraSnapshots.ts +48 -0
- package/src/actions/pol/getStakingDailyAssets.ts +21 -0
- package/src/actions/pol/getStakingTokenInformation.ts +59 -0
- package/src/actions/pol/getTotalStakedAmount.ts +47 -0
- package/src/actions/pol/getUserClaimableIncentives.ts +40 -0
- package/src/actions/pol/getUserVaultInfo.ts +52 -0
- package/src/actions/pol/getUserVaults.ts +187 -0
- package/src/actions/pol/getUserVaultsBalance.ts +42 -0
- package/src/actions/pol/getUserVaultsReward.ts +32 -0
- package/src/actions/pol/getVaultHistory.ts +43 -0
- package/src/actions/pol/getVaultValidators.ts +31 -0
- package/src/actions/pol/getVaultsSupply.ts +28 -0
- package/src/actions/prices/__tests__/prices.integration.test.ts +29 -0
- package/src/actions/prices/getTokenCurrentPrices.ts +84 -0
- package/src/actions/pyth/getHoneyPythFeeds.ts +46 -0
- package/src/actions/pyth/getUpdateFee.ts +27 -0
- package/src/actions/tokens/getAllowances.ts +86 -0
- package/src/actions/tokens/getTokenInformation.ts +60 -0
- package/src/actions/tokens/getTokens.ts +19 -0
- package/src/actions/tokens/getUnderlyingToken.ts +53 -0
- package/src/actions/tokens/getWalletBalances.integration.test.ts +79 -0
- package/src/actions/tokens/getWalletBalances.ts +149 -0
- package/src/actions/transactions/beraWriteContract.integration.test.ts +263 -0
- package/src/actions/transactions/beraWriteContract.ts +722 -0
- package/src/actions/validators/getActiveBoostAndCommissionChangeDelay.integration.test.ts +40 -0
- package/src/actions/validators/getActiveBoostAndCommissionChangeDelay.ts +109 -0
- package/src/actions/validators/getAllValidators.ts +33 -0
- package/src/actions/validators/getApiEnrichedAllocation.ts +33 -0
- package/src/actions/validators/getApiValidator.ts +38 -0
- package/src/actions/validators/getBaselineRewardAllocation.ts +26 -0
- package/src/actions/validators/getDailyValidatorBlockStats.ts +37 -0
- package/src/actions/validators/getDefaultRewardAllocation.ts +39 -0
- package/src/actions/validators/getManagedValidatorByAccount.ts +32 -0
- package/src/actions/validators/getStakingPoolBatch.ts +20 -0
- package/src/actions/validators/getUserActiveValidators.ts +100 -0
- package/src/actions/validators/getUserBoosts.ts +28 -0
- package/src/actions/validators/getUserBoostsOnValidator.ts +69 -0
- package/src/actions/validators/getUserStakingPositions.ts +225 -0
- package/src/actions/validators/getValidatorAnalytics.ts +34 -0
- package/src/actions/validators/getValidatorCommission.ts +24 -0
- package/src/actions/validators/getValidatorEstimatedBgtPerYear.ts +25 -0
- package/src/actions/validators/getValidatorOperatorAddress.ts +27 -0
- package/src/actions/validators/getValidatorQueuedCommission.ts +30 -0
- package/src/actions/validators/getValidatorQueuedOperatorAddress.ts +32 -0
- package/src/actions/validators/getValidatorQueuedRewardAllocation.ts +31 -0
- package/src/actions/validators/getValidatorRewardAllocation.ts +158 -0
- package/src/actions/validators/getValidatorRewardAllocatorAddress.ts +38 -0
- package/src/actions/validators/utils/__tests__/validatorUtils.integration.test.ts +36 -0
- package/src/actions/validators/utils/getValidatorBoostApy.ts +59 -0
- package/src/contexts/BeraFlags/BeraFlags.tsx +69 -0
- package/src/contexts/BeraFlags/defaultFlags.ts +46 -0
- package/src/contexts/BexStatusProvider.tsx +125 -0
- package/src/contexts/HoneyConfigProvider.tsx +73 -0
- package/src/contexts/SwrFallback.tsx +44 -0
- package/src/contexts/TokensProvider.tsx +93 -0
- package/src/contexts/TransactionStoreContext.tsx +87 -0
- package/src/contexts/block-time-provider.tsx +34 -0
- package/src/contexts/exports.ts +14 -0
- package/src/data/contracts.ts +413 -0
- package/src/enum/contracts.ts +13 -0
- package/src/enum/dex.ts +39 -0
- package/src/enum/exports.ts +7 -0
- package/src/enum/governance.ts +61 -0
- package/src/enum/honey.ts +12 -0
- package/src/enum/polling.ts +8 -0
- package/src/enum/slippage.ts +19 -0
- package/src/enum/txnEnum.ts +102 -0
- package/src/errors/BeraError.ts +241 -0
- package/src/errors/BeraMonitoring.ts +66 -0
- package/src/errors/BeraTracing.ts +79 -0
- package/src/errors/BeraTracing.unit.test.ts +198 -0
- package/src/errors/InvalidArgumentError.ts +81 -0
- package/src/errors/NotFoundError.ts +34 -0
- package/src/errors/RequestError.ts +207 -0
- package/src/errors/TransactionFailedError.ts +93 -0
- package/src/errors/assert.ts +146 -0
- package/src/errors/assert.unit.test.ts +114 -0
- package/src/errors/errorMap.ts +1167 -0
- package/src/errors/exports.ts +15 -0
- package/src/errors/getErrorMessage.ts +59 -0
- package/src/errors/getRevertReason.integration.test.ts +461 -0
- package/src/errors/getRevertReason.ts +218 -0
- package/src/errors/initBeraError.ts +91 -0
- package/src/errors/parseViemError.ts +326 -0
- package/src/errors/severity.ts +12 -0
- package/src/hooks/bend/useGetConvertToAssets.ts +43 -0
- package/src/hooks/dex/useAggregatorsQuotes.ts +263 -0
- package/src/hooks/dex/useAggregatorsRouterFeeBps.ts +34 -0
- package/src/hooks/dex/useAllUserPools.ts +38 -0
- package/src/hooks/dex/useApiPool.ts +53 -0
- package/src/hooks/dex/useBexStatus.ts +1 -0
- package/src/hooks/dex/useCreatePool.ts +438 -0
- package/src/hooks/dex/useExploitedTokens.ts +57 -0
- package/src/hooks/dex/useGlobalLiquidityAndSwapVolume.ts +22 -0
- package/src/hooks/dex/useLiquidityMismatch.ts +192 -0
- package/src/hooks/dex/useLpPosition.ts +116 -0
- package/src/hooks/dex/useMultipleTokenApprovalsWithSlippage.ts +103 -0
- package/src/hooks/dex/useOnChainPoolData.ts +126 -0
- package/src/hooks/dex/usePollPoolCreationRelayerApproval.ts +54 -0
- package/src/hooks/dex/usePool.ts +59 -0
- package/src/hooks/dex/usePoolEvents.ts +22 -0
- package/src/hooks/dex/usePoolHistoricalData.ts +44 -0
- package/src/hooks/dex/usePools.ts +83 -0
- package/src/hooks/dex/usePriceImpact.ts +40 -0
- package/src/hooks/dex/useSingleAggregatorQuote.ts +350 -0
- package/src/hooks/enso/useBendZapSupply.ts +216 -0
- package/src/hooks/enso/useEnsoSwapBundle.ts +107 -0
- package/src/hooks/enso/useEnsoUserTokensWithBalances.ts +43 -0
- package/src/hooks/enso/useZapStakeBera.ts +113 -0
- package/src/hooks/exports.ts +135 -0
- package/src/hooks/governance/useCreateProposal.ts +88 -0
- package/src/hooks/governance/useGetPastVotes.ts +63 -0
- package/src/hooks/governance/useHasVoted.ts +38 -0
- package/src/hooks/governance/useIsCanceller.ts +43 -0
- package/src/hooks/governance/usePollAllProposals.ts +232 -0
- package/src/hooks/governance/usePollProposal.ts +96 -0
- package/src/hooks/governance/usePollProposalThreshold.ts +41 -0
- package/src/hooks/governance/usePollProposalVotes.ts +64 -0
- package/src/hooks/governance/usePollUserDelegates.ts +70 -0
- package/src/hooks/governance/useProposalFromTx.ts +37 -0
- package/src/hooks/governance/useProposalSnapshot.ts +44 -0
- package/src/hooks/governance/useProposalState.ts +48 -0
- package/src/hooks/governance/useProposalTimelockState.ts +61 -0
- package/src/hooks/governance/useQuorum.ts +42 -0
- package/src/hooks/honey/useCappedGlobally.ts +93 -0
- package/src/hooks/honey/useCappedRelatively.ts +88 -0
- package/src/hooks/honey/useCollateralWeights.ts +49 -0
- package/src/hooks/honey/useHoneyAlerts.ts +314 -0
- package/src/hooks/honey/useHoneyBalances.ts +83 -0
- package/src/hooks/honey/useHoneyChartData.ts +17 -0
- package/src/hooks/honey/useHoneyGlobalData.ts +23 -0
- package/src/hooks/honey/useHoneySwapState.ts +203 -0
- package/src/hooks/honey/useHoneyVaultsBalance.ts +41 -0
- package/src/hooks/honey/useIsBadCollateralAsset.ts +74 -0
- package/src/hooks/honey/useIsBasketModeEnabled.ts +70 -0
- package/src/hooks/honey/usePythLatestPrices.ts +41 -0
- package/src/hooks/perps/usePythUpdateFee.ts +43 -0
- package/src/hooks/pol/useBgtAprSimulation.ts +22 -0
- package/src/hooks/pol/useBgtUnstakedBalance.ts +50 -0
- package/src/hooks/pol/useClaimableFees.ts +38 -0
- package/src/hooks/pol/useHighestVaultsAPR.ts +57 -0
- package/src/hooks/pol/useOnChainRewardVault.ts +115 -0
- package/src/hooks/pol/usePollGlobalData.ts +31 -0
- package/src/hooks/pol/usePollMarkets.ts +32 -0
- package/src/hooks/pol/useQueuedBeraUnlock.ts +72 -0
- package/src/hooks/pol/useRewardTokenToBeraRate.ts +48 -0
- package/src/hooks/pol/useRewardVault.ts +51 -0
- package/src/hooks/pol/useRewardVaultBalanceFromStakingToken.ts +82 -0
- package/src/hooks/pol/useRewardVaultFromToken.ts +58 -0
- package/src/hooks/pol/useRewardVaultIncentives.ts +37 -0
- package/src/hooks/pol/useRewardVaultRewards.ts +37 -0
- package/src/hooks/pol/useRewardVaults.ts +45 -0
- package/src/hooks/pol/useSWBeraVaultMetadata.ts +35 -0
- package/src/hooks/pol/useStakedAPR.ts +38 -0
- package/src/hooks/pol/useStakedData.ts +117 -0
- package/src/hooks/pol/useStakedSnapshots.ts +52 -0
- package/src/hooks/pol/useTotalStakedAmount.ts +30 -0
- package/src/hooks/pol/useUserVaultInfo.ts +46 -0
- package/src/hooks/pol/useUserVaults.ts +40 -0
- package/src/hooks/pol/useVaultAddress.ts +31 -0
- package/src/hooks/pol/useVaultHistory.ts +29 -0
- package/src/hooks/pol/useVaultValidators.ts +33 -0
- package/src/hooks/tokens/useBeraCurrentPrice.ts +12 -0
- package/src/hooks/tokens/useMultipleTokenInformation.ts +71 -0
- package/src/hooks/tokens/usePollAllowances.ts +56 -0
- package/src/hooks/tokens/usePollBalance.ts +117 -0
- package/src/hooks/tokens/usePollWalletBalances.ts +78 -0
- package/src/hooks/tokens/useStakingTokenInformation.ts +55 -0
- package/src/hooks/tokens/useTokenCurrentPrice.ts +21 -0
- package/src/hooks/tokens/useTokenCurrentPrices.ts +136 -0
- package/src/hooks/tokens/useTokenInformation.ts +64 -0
- package/src/hooks/tokens/useTokenPrice.ts +21 -0
- package/src/hooks/tokens/useTokenPrices.ts +133 -0
- package/src/hooks/tokens/useTokens.ts +27 -0
- package/src/hooks/tokens/useTotalSupply.ts +22 -0
- package/src/hooks/tokens/useUnderlyingAsset.ts +23 -0
- package/src/hooks/transactions/transactionStore.ts +296 -0
- package/src/hooks/transactions/transactionStore.unit.test.ts +561 -0
- package/src/hooks/transactions/useAddRecentTransaction.ts +29 -0
- package/src/hooks/transactions/useRecentTransactions.ts +27 -0
- package/src/hooks/transactions/useSetTransactionStatus.ts +31 -0
- package/src/hooks/useBlockToTimestamp.ts +51 -0
- package/src/hooks/useContractWrite/index.ts +2 -0
- package/src/hooks/useContractWrite/stateReducer.ts +60 -0
- package/src/hooks/useContractWrite/types.ts +88 -0
- package/src/hooks/useContractWrite/useBeraContractWrite.ts +138 -0
- package/src/hooks/useGetVerifiedAbi.ts +47 -0
- package/src/hooks/useHistoryState.ts +64 -0
- package/src/hooks/usePrevious.ts +13 -0
- package/src/hooks/validators/useAllValidators.ts +48 -0
- package/src/hooks/validators/useApiEnrichedAllocation.ts +17 -0
- package/src/hooks/validators/useApiValidator.ts +37 -0
- package/src/hooks/validators/useBaselineRewardAllocation.ts +16 -0
- package/src/hooks/validators/useDailyValidatorBlockStats.ts +35 -0
- package/src/hooks/validators/useDefaultRewardAllocation.ts +32 -0
- package/src/hooks/validators/useManagedValidatorByAccount.ts +40 -0
- package/src/hooks/validators/useManagedValidatorRole.ts +119 -0
- package/src/hooks/validators/useOnChainValidator.ts +66 -0
- package/src/hooks/validators/useStakingPoolBatch.ts +45 -0
- package/src/hooks/validators/useSubgraphUserValidators.ts +36 -0
- package/src/hooks/validators/useUserActiveValidators.ts +44 -0
- package/src/hooks/validators/useUserBoostsOnValidator.ts +45 -0
- package/src/hooks/validators/useUserClaimableIncentives.ts +149 -0
- package/src/hooks/validators/useUserStakingPositions.ts +62 -0
- package/src/hooks/validators/useValidator.ts +83 -0
- package/src/hooks/validators/useValidatorAnalytics.ts +36 -0
- package/src/hooks/validators/useValidatorCommission.ts +36 -0
- package/src/hooks/validators/useValidatorEstimatedBgtPerYear.ts +24 -0
- package/src/hooks/validators/useValidatorQueuedCommission.ts +41 -0
- package/src/hooks/validators/useValidatorQueuedOperatorAddress.ts +39 -0
- package/src/hooks/validators/useValidatorQueuedRewardAllocation.ts +37 -0
- package/src/hooks/validators/useValidatorRewardAllocation.ts +36 -0
- package/src/types/bribe-boost.d.ts +50 -0
- package/src/types/dex.d.ts +225 -0
- package/src/types/enso.d.ts +42 -0
- package/src/types/exports.ts +8 -0
- package/src/types/global.d.ts +201 -0
- package/src/types/governance.d.ts +112 -0
- package/src/types/honeySwap.d.ts +23 -0
- package/src/types/pol.d.ts +63 -0
- package/src/types/staking.d.ts +22 -0
- package/src/utils/beraFetch.ts +55 -0
- package/src/utils/constants.ts +35 -0
- package/src/utils/createEmitter.ts +122 -0
- package/src/utils/createEmitter.unit.test.ts +149 -0
- package/src/utils/exports.ts +28 -0
- package/src/utils/filter.ts +34 -0
- package/src/utils/formatIncentivesTokenMap.ts +19 -0
- package/src/utils/formatInputTokenValue.ts +12 -0
- package/src/utils/formatNumber.ts +225 -0
- package/src/utils/formatNumber.unit.test.ts +246 -0
- package/src/utils/formatTimestamps.ts +155 -0
- package/src/utils/formatTimestamps.unit.test.ts +395 -0
- package/src/utils/formatTokenList.ts +55 -0
- package/src/utils/formatUsd.ts +46 -0
- package/src/utils/getContractName.ts +27 -0
- package/src/utils/getContractName.unit.test.ts +64 -0
- package/src/utils/getErrorResponse.ts +20 -0
- package/src/utils/getHoneySwapMessage.test.ts +115 -0
- package/src/utils/getHoneySwapMessage.ts +70 -0
- package/src/utils/getServerSideClient.ts +48 -0
- package/src/utils/getTestClient.ts +19 -0
- package/src/utils/hasAnyTruthyValues.ts +17 -0
- package/src/utils/isDifferenceExceedingThreshold.ts +13 -0
- package/src/utils/isSubgraphStale.ts +10 -0
- package/src/utils/layerZeroScan.ts +122 -0
- package/src/utils/math.ts +28 -0
- package/src/utils/math.unit.test.ts +49 -0
- package/src/utils/parseBaseArgs.ts +23 -0
- package/src/utils/parseBaseArgs.unit.test.ts +55 -0
- package/src/utils/parseWhiskToken.ts +15 -0
- package/src/utils/poolNamings.ts +54 -0
- package/src/utils/pythHoneyUtils.ts +3 -0
- package/src/utils/test-utils.ts +2 -0
- package/src/utils/time.ts +106 -0
- package/src/utils/time.unit.test.ts +76 -0
- package/src/utils/tokenWrapping.ts +16 -0
- package/src/utils/tokens.ts +122 -0
- package/src/utils/tokens.unit.test.ts +98 -0
- package/src/utils/truncateHash.ts +20 -0
- package/src/utils/truncateHash.unit.test.ts +19 -0
- package/src/utils/validatorUptimeStatus.ts +30 -0
- package/dist/abi/index.cjs +0 -2
- package/dist/abi/index.cjs.map +0 -1
- package/dist/abi/index.mjs +0 -2
- package/dist/actions/index.cjs +0 -2
- package/dist/actions/index.cjs.map +0 -1
- package/dist/actions/index.mjs +0 -2
- package/dist/aggregatorsRouter-Cny4B_MB.d.cts +0 -593
- package/dist/aggregatorsRouter-Cny4B_MB.d.ts +0 -593
- package/dist/chunk-3WCYP277.mjs +0 -2
- package/dist/chunk-3WCYP277.mjs.map +0 -1
- package/dist/chunk-5OAABMMU.mjs +0 -2
- package/dist/chunk-5OAABMMU.mjs.map +0 -1
- package/dist/chunk-6W22TFYA.mjs +0 -2
- package/dist/chunk-6W22TFYA.mjs.map +0 -1
- package/dist/chunk-DS2ZDVKU.mjs +0 -2
- package/dist/chunk-DS2ZDVKU.mjs.map +0 -1
- package/dist/chunk-ED43NYSE.cjs +0 -2
- package/dist/chunk-ED43NYSE.cjs.map +0 -1
- package/dist/chunk-EODAKI5K.cjs +0 -2
- package/dist/chunk-GWBENQEV.cjs +0 -4
- package/dist/chunk-GWBENQEV.cjs.map +0 -1
- package/dist/chunk-GZ5YA2AZ.cjs +0 -3
- package/dist/chunk-GZ5YA2AZ.cjs.map +0 -1
- package/dist/chunk-HCTFDGXL.mjs +0 -2
- package/dist/chunk-HCTFDGXL.mjs.map +0 -1
- package/dist/chunk-IOSYBHKU.mjs +0 -2
- package/dist/chunk-IOSYBHKU.mjs.map +0 -1
- package/dist/chunk-IZDT74H4.mjs +0 -2
- package/dist/chunk-IZDT74H4.mjs.map +0 -1
- package/dist/chunk-JMKLDDKY.cjs +0 -2
- package/dist/chunk-JMKLDDKY.cjs.map +0 -1
- package/dist/chunk-M5GUTM7K.mjs +0 -4
- package/dist/chunk-M5GUTM7K.mjs.map +0 -1
- package/dist/chunk-PHIOKO3A.mjs +0 -2
- package/dist/chunk-PHIOKO3A.mjs.map +0 -1
- package/dist/chunk-QCK474XD.cjs +0 -2
- package/dist/chunk-QCK474XD.cjs.map +0 -1
- package/dist/chunk-S74ZMG2G.cjs +0 -2
- package/dist/chunk-S74ZMG2G.cjs.map +0 -1
- package/dist/chunk-TOAXF4YW.cjs +0 -2
- package/dist/chunk-TOAXF4YW.cjs.map +0 -1
- package/dist/chunk-UZ5CB33M.cjs +0 -2
- package/dist/chunk-UZ5CB33M.cjs.map +0 -1
- package/dist/chunk-V3PCHP2D.cjs +0 -2
- package/dist/chunk-V3PCHP2D.cjs.map +0 -1
- package/dist/chunk-YK4NINF5.mjs +0 -2
- package/dist/chunk-YK4NINF5.mjs.map +0 -1
- package/dist/chunk-YRJAQDEO.cjs +0 -2
- package/dist/chunk-YRJAQDEO.cjs.map +0 -1
- package/dist/chunk-ZLCBHOSV.mjs +0 -3
- package/dist/chunk-ZLCBHOSV.mjs.map +0 -1
- package/dist/contexts/index.cjs +0 -2
- package/dist/contexts/index.cjs.map +0 -1
- package/dist/contexts/index.mjs +0 -2
- package/dist/contexts/index.mjs.map +0 -1
- package/dist/dex-BaNHEuck.d.cts +0 -562
- package/dist/dex-D6IK-4D9.d.ts +0 -562
- package/dist/enum/index.cjs +0 -2
- package/dist/enum/index.cjs.map +0 -1
- package/dist/enum/index.d.cts +0 -31
- package/dist/enum/index.d.ts +0 -31
- package/dist/enum/index.mjs +0 -2
- package/dist/enum/index.mjs.map +0 -1
- package/dist/errors/index.cjs +0 -2
- package/dist/errors/index.cjs.map +0 -1
- package/dist/errors/index.d.cts +0 -204
- package/dist/errors/index.d.ts +0 -204
- package/dist/errors/index.mjs +0 -2
- package/dist/errors/index.mjs.map +0 -1
- package/dist/hooks/index.cjs +0 -4
- package/dist/hooks/index.cjs.map +0 -1
- package/dist/hooks/index.mjs +0 -4
- package/dist/hooks/index.mjs.map +0 -1
- package/dist/staking-Bcb8DhoZ.d.cts +0 -246
- package/dist/staking-DvJOnMJG.d.ts +0 -246
- package/dist/types/index.cjs +0 -2
- package/dist/types/index.cjs.map +0 -1
- package/dist/types/index.d.cts +0 -56
- package/dist/types/index.d.ts +0 -56
- package/dist/types/index.mjs +0 -2
- package/dist/types/index.mjs.map +0 -1
- package/dist/utils/index.cjs +0 -2
- package/dist/utils/index.cjs.map +0 -1
- package/dist/utils/index.mjs +0 -2
- package/dist/utils/index.mjs.map +0 -1
- /package/dist/{abi/index.mjs.map → errors/exports.mjs.map} +0 -0
- /package/dist/{actions/index.mjs.map → types/exports.mjs.map} +0 -0
|
@@ -0,0 +1,1456 @@
|
|
|
1
|
+
export const morphoVaultAbi = [
|
|
2
|
+
{
|
|
3
|
+
inputs: [
|
|
4
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
5
|
+
{ internalType: "address", name: "morpho", type: "address" },
|
|
6
|
+
{ internalType: "address", name: "feePartitioner", type: "address" },
|
|
7
|
+
{ internalType: "uint256", name: "initialTimelock", type: "uint256" },
|
|
8
|
+
{ internalType: "address", name: "_asset", type: "address" },
|
|
9
|
+
{ internalType: "string", name: "__name", type: "string" },
|
|
10
|
+
{ internalType: "string", name: "__symbol", type: "string" },
|
|
11
|
+
],
|
|
12
|
+
stateMutability: "nonpayable",
|
|
13
|
+
type: "constructor",
|
|
14
|
+
},
|
|
15
|
+
{ inputs: [], name: "AboveMaxTimelock", type: "error" },
|
|
16
|
+
{
|
|
17
|
+
inputs: [{ internalType: "address", name: "target", type: "address" }],
|
|
18
|
+
name: "AddressEmptyCode",
|
|
19
|
+
type: "error",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
23
|
+
name: "AddressInsufficientBalance",
|
|
24
|
+
type: "error",
|
|
25
|
+
},
|
|
26
|
+
{ inputs: [], name: "AllCapsReached", type: "error" },
|
|
27
|
+
{ inputs: [], name: "AlreadyPending", type: "error" },
|
|
28
|
+
{ inputs: [], name: "AlreadySet", type: "error" },
|
|
29
|
+
{ inputs: [], name: "BelowMinTimelock", type: "error" },
|
|
30
|
+
{
|
|
31
|
+
inputs: [{ internalType: "Id", name: "id", type: "bytes32" }],
|
|
32
|
+
name: "DuplicateMarket",
|
|
33
|
+
type: "error",
|
|
34
|
+
},
|
|
35
|
+
{ inputs: [], name: "ECDSAInvalidSignature", type: "error" },
|
|
36
|
+
{
|
|
37
|
+
inputs: [{ internalType: "uint256", name: "length", type: "uint256" }],
|
|
38
|
+
name: "ECDSAInvalidSignatureLength",
|
|
39
|
+
type: "error",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
inputs: [{ internalType: "bytes32", name: "s", type: "bytes32" }],
|
|
43
|
+
name: "ECDSAInvalidSignatureS",
|
|
44
|
+
type: "error",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
inputs: [
|
|
48
|
+
{ internalType: "address", name: "spender", type: "address" },
|
|
49
|
+
{ internalType: "uint256", name: "allowance", type: "uint256" },
|
|
50
|
+
{ internalType: "uint256", name: "needed", type: "uint256" },
|
|
51
|
+
],
|
|
52
|
+
name: "ERC20InsufficientAllowance",
|
|
53
|
+
type: "error",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [
|
|
57
|
+
{ internalType: "address", name: "sender", type: "address" },
|
|
58
|
+
{ internalType: "uint256", name: "balance", type: "uint256" },
|
|
59
|
+
{ internalType: "uint256", name: "needed", type: "uint256" },
|
|
60
|
+
],
|
|
61
|
+
name: "ERC20InsufficientBalance",
|
|
62
|
+
type: "error",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
inputs: [{ internalType: "address", name: "approver", type: "address" }],
|
|
66
|
+
name: "ERC20InvalidApprover",
|
|
67
|
+
type: "error",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
inputs: [{ internalType: "address", name: "receiver", type: "address" }],
|
|
71
|
+
name: "ERC20InvalidReceiver",
|
|
72
|
+
type: "error",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
inputs: [{ internalType: "address", name: "sender", type: "address" }],
|
|
76
|
+
name: "ERC20InvalidSender",
|
|
77
|
+
type: "error",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
inputs: [{ internalType: "address", name: "spender", type: "address" }],
|
|
81
|
+
name: "ERC20InvalidSpender",
|
|
82
|
+
type: "error",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
inputs: [{ internalType: "uint256", name: "deadline", type: "uint256" }],
|
|
86
|
+
name: "ERC2612ExpiredSignature",
|
|
87
|
+
type: "error",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
inputs: [
|
|
91
|
+
{ internalType: "address", name: "signer", type: "address" },
|
|
92
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
93
|
+
],
|
|
94
|
+
name: "ERC2612InvalidSigner",
|
|
95
|
+
type: "error",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
inputs: [
|
|
99
|
+
{ internalType: "address", name: "receiver", type: "address" },
|
|
100
|
+
{ internalType: "uint256", name: "assets", type: "uint256" },
|
|
101
|
+
{ internalType: "uint256", name: "max", type: "uint256" },
|
|
102
|
+
],
|
|
103
|
+
name: "ERC4626ExceededMaxDeposit",
|
|
104
|
+
type: "error",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
inputs: [
|
|
108
|
+
{ internalType: "address", name: "receiver", type: "address" },
|
|
109
|
+
{ internalType: "uint256", name: "shares", type: "uint256" },
|
|
110
|
+
{ internalType: "uint256", name: "max", type: "uint256" },
|
|
111
|
+
],
|
|
112
|
+
name: "ERC4626ExceededMaxMint",
|
|
113
|
+
type: "error",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
inputs: [
|
|
117
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
118
|
+
{ internalType: "uint256", name: "shares", type: "uint256" },
|
|
119
|
+
{ internalType: "uint256", name: "max", type: "uint256" },
|
|
120
|
+
],
|
|
121
|
+
name: "ERC4626ExceededMaxRedeem",
|
|
122
|
+
type: "error",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
inputs: [
|
|
126
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
127
|
+
{ internalType: "uint256", name: "assets", type: "uint256" },
|
|
128
|
+
{ internalType: "uint256", name: "max", type: "uint256" },
|
|
129
|
+
],
|
|
130
|
+
name: "ERC4626ExceededMaxWithdraw",
|
|
131
|
+
type: "error",
|
|
132
|
+
},
|
|
133
|
+
{ inputs: [], name: "FailedInnerCall", type: "error" },
|
|
134
|
+
{
|
|
135
|
+
inputs: [{ internalType: "Id", name: "id", type: "bytes32" }],
|
|
136
|
+
name: "InconsistentAsset",
|
|
137
|
+
type: "error",
|
|
138
|
+
},
|
|
139
|
+
{ inputs: [], name: "InconsistentReallocation", type: "error" },
|
|
140
|
+
{
|
|
141
|
+
inputs: [
|
|
142
|
+
{ internalType: "address", name: "account", type: "address" },
|
|
143
|
+
{ internalType: "uint256", name: "currentNonce", type: "uint256" },
|
|
144
|
+
],
|
|
145
|
+
name: "InvalidAccountNonce",
|
|
146
|
+
type: "error",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
inputs: [{ internalType: "Id", name: "id", type: "bytes32" }],
|
|
150
|
+
name: "InvalidMarketRemovalNonZeroCap",
|
|
151
|
+
type: "error",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
inputs: [{ internalType: "Id", name: "id", type: "bytes32" }],
|
|
155
|
+
name: "InvalidMarketRemovalNonZeroSupply",
|
|
156
|
+
type: "error",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
inputs: [{ internalType: "Id", name: "id", type: "bytes32" }],
|
|
160
|
+
name: "InvalidMarketRemovalTimelockNotElapsed",
|
|
161
|
+
type: "error",
|
|
162
|
+
},
|
|
163
|
+
{ inputs: [], name: "InvalidShortString", type: "error" },
|
|
164
|
+
{ inputs: [], name: "MarketNotCreated", type: "error" },
|
|
165
|
+
{
|
|
166
|
+
inputs: [{ internalType: "Id", name: "id", type: "bytes32" }],
|
|
167
|
+
name: "MarketNotEnabled",
|
|
168
|
+
type: "error",
|
|
169
|
+
},
|
|
170
|
+
{ inputs: [], name: "MathOverflowedMulDiv", type: "error" },
|
|
171
|
+
{ inputs: [], name: "MaxFeeExceeded", type: "error" },
|
|
172
|
+
{ inputs: [], name: "MaxQueueLengthExceeded", type: "error" },
|
|
173
|
+
{ inputs: [], name: "NoPendingValue", type: "error" },
|
|
174
|
+
{ inputs: [], name: "NonZeroCap", type: "error" },
|
|
175
|
+
{ inputs: [], name: "NotAllocatorRole", type: "error" },
|
|
176
|
+
{ inputs: [], name: "NotCuratorNorGuardianRole", type: "error" },
|
|
177
|
+
{ inputs: [], name: "NotCuratorRole", type: "error" },
|
|
178
|
+
{ inputs: [], name: "NotEnoughLiquidity", type: "error" },
|
|
179
|
+
{ inputs: [], name: "NotGuardianRole", type: "error" },
|
|
180
|
+
{
|
|
181
|
+
inputs: [{ internalType: "address", name: "owner", type: "address" }],
|
|
182
|
+
name: "OwnableInvalidOwner",
|
|
183
|
+
type: "error",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
187
|
+
name: "OwnableUnauthorizedAccount",
|
|
188
|
+
type: "error",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
inputs: [{ internalType: "Id", name: "id", type: "bytes32" }],
|
|
192
|
+
name: "PendingCap",
|
|
193
|
+
type: "error",
|
|
194
|
+
},
|
|
195
|
+
{ inputs: [], name: "PendingRemoval", type: "error" },
|
|
196
|
+
{
|
|
197
|
+
inputs: [
|
|
198
|
+
{ internalType: "uint8", name: "bits", type: "uint8" },
|
|
199
|
+
{ internalType: "uint256", name: "value", type: "uint256" },
|
|
200
|
+
],
|
|
201
|
+
name: "SafeCastOverflowedUintDowncast",
|
|
202
|
+
type: "error",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
inputs: [{ internalType: "address", name: "token", type: "address" }],
|
|
206
|
+
name: "SafeERC20FailedOperation",
|
|
207
|
+
type: "error",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
inputs: [{ internalType: "string", name: "str", type: "string" }],
|
|
211
|
+
name: "StringTooLong",
|
|
212
|
+
type: "error",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
inputs: [{ internalType: "Id", name: "id", type: "bytes32" }],
|
|
216
|
+
name: "SupplyCapExceeded",
|
|
217
|
+
type: "error",
|
|
218
|
+
},
|
|
219
|
+
{ inputs: [], name: "TimelockNotElapsed", type: "error" },
|
|
220
|
+
{
|
|
221
|
+
inputs: [{ internalType: "Id", name: "id", type: "bytes32" }],
|
|
222
|
+
name: "UnauthorizedMarket",
|
|
223
|
+
type: "error",
|
|
224
|
+
},
|
|
225
|
+
{ inputs: [], name: "ZeroAddress", type: "error" },
|
|
226
|
+
{ inputs: [], name: "ZeroFeeRecipient", type: "error" },
|
|
227
|
+
{
|
|
228
|
+
anonymous: false,
|
|
229
|
+
inputs: [
|
|
230
|
+
{
|
|
231
|
+
indexed: false,
|
|
232
|
+
internalType: "uint256",
|
|
233
|
+
name: "newTotalAssets",
|
|
234
|
+
type: "uint256",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
indexed: false,
|
|
238
|
+
internalType: "uint256",
|
|
239
|
+
name: "feeShares",
|
|
240
|
+
type: "uint256",
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
name: "AccrueInterest",
|
|
244
|
+
type: "event",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
anonymous: false,
|
|
248
|
+
inputs: [
|
|
249
|
+
{
|
|
250
|
+
indexed: true,
|
|
251
|
+
internalType: "address",
|
|
252
|
+
name: "owner",
|
|
253
|
+
type: "address",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
indexed: true,
|
|
257
|
+
internalType: "address",
|
|
258
|
+
name: "spender",
|
|
259
|
+
type: "address",
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
indexed: false,
|
|
263
|
+
internalType: "uint256",
|
|
264
|
+
name: "value",
|
|
265
|
+
type: "uint256",
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
name: "Approval",
|
|
269
|
+
type: "event",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
anonymous: false,
|
|
273
|
+
inputs: [
|
|
274
|
+
{
|
|
275
|
+
indexed: true,
|
|
276
|
+
internalType: "address",
|
|
277
|
+
name: "sender",
|
|
278
|
+
type: "address",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
indexed: true,
|
|
282
|
+
internalType: "address",
|
|
283
|
+
name: "owner",
|
|
284
|
+
type: "address",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
indexed: false,
|
|
288
|
+
internalType: "uint256",
|
|
289
|
+
name: "assets",
|
|
290
|
+
type: "uint256",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
indexed: false,
|
|
294
|
+
internalType: "uint256",
|
|
295
|
+
name: "shares",
|
|
296
|
+
type: "uint256",
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
name: "Deposit",
|
|
300
|
+
type: "event",
|
|
301
|
+
},
|
|
302
|
+
{ anonymous: false, inputs: [], name: "EIP712DomainChanged", type: "event" },
|
|
303
|
+
{
|
|
304
|
+
anonymous: false,
|
|
305
|
+
inputs: [
|
|
306
|
+
{
|
|
307
|
+
indexed: true,
|
|
308
|
+
internalType: "address",
|
|
309
|
+
name: "previousOwner",
|
|
310
|
+
type: "address",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
indexed: true,
|
|
314
|
+
internalType: "address",
|
|
315
|
+
name: "newOwner",
|
|
316
|
+
type: "address",
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
name: "OwnershipTransferStarted",
|
|
320
|
+
type: "event",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
anonymous: false,
|
|
324
|
+
inputs: [
|
|
325
|
+
{
|
|
326
|
+
indexed: true,
|
|
327
|
+
internalType: "address",
|
|
328
|
+
name: "previousOwner",
|
|
329
|
+
type: "address",
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
indexed: true,
|
|
333
|
+
internalType: "address",
|
|
334
|
+
name: "newOwner",
|
|
335
|
+
type: "address",
|
|
336
|
+
},
|
|
337
|
+
],
|
|
338
|
+
name: "OwnershipTransferred",
|
|
339
|
+
type: "event",
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
anonymous: false,
|
|
343
|
+
inputs: [
|
|
344
|
+
{
|
|
345
|
+
indexed: true,
|
|
346
|
+
internalType: "address",
|
|
347
|
+
name: "caller",
|
|
348
|
+
type: "address",
|
|
349
|
+
},
|
|
350
|
+
{ indexed: true, internalType: "Id", name: "id", type: "bytes32" },
|
|
351
|
+
{
|
|
352
|
+
indexed: false,
|
|
353
|
+
internalType: "uint256",
|
|
354
|
+
name: "suppliedAssets",
|
|
355
|
+
type: "uint256",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
indexed: false,
|
|
359
|
+
internalType: "uint256",
|
|
360
|
+
name: "suppliedShares",
|
|
361
|
+
type: "uint256",
|
|
362
|
+
},
|
|
363
|
+
],
|
|
364
|
+
name: "ReallocateSupply",
|
|
365
|
+
type: "event",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
anonymous: false,
|
|
369
|
+
inputs: [
|
|
370
|
+
{
|
|
371
|
+
indexed: true,
|
|
372
|
+
internalType: "address",
|
|
373
|
+
name: "caller",
|
|
374
|
+
type: "address",
|
|
375
|
+
},
|
|
376
|
+
{ indexed: true, internalType: "Id", name: "id", type: "bytes32" },
|
|
377
|
+
{
|
|
378
|
+
indexed: false,
|
|
379
|
+
internalType: "uint256",
|
|
380
|
+
name: "withdrawnAssets",
|
|
381
|
+
type: "uint256",
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
indexed: false,
|
|
385
|
+
internalType: "uint256",
|
|
386
|
+
name: "withdrawnShares",
|
|
387
|
+
type: "uint256",
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
name: "ReallocateWithdraw",
|
|
391
|
+
type: "event",
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
anonymous: false,
|
|
395
|
+
inputs: [
|
|
396
|
+
{
|
|
397
|
+
indexed: true,
|
|
398
|
+
internalType: "address",
|
|
399
|
+
name: "caller",
|
|
400
|
+
type: "address",
|
|
401
|
+
},
|
|
402
|
+
{ indexed: true, internalType: "Id", name: "id", type: "bytes32" },
|
|
403
|
+
],
|
|
404
|
+
name: "RevokePendingCap",
|
|
405
|
+
type: "event",
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
anonymous: false,
|
|
409
|
+
inputs: [
|
|
410
|
+
{
|
|
411
|
+
indexed: true,
|
|
412
|
+
internalType: "address",
|
|
413
|
+
name: "caller",
|
|
414
|
+
type: "address",
|
|
415
|
+
},
|
|
416
|
+
],
|
|
417
|
+
name: "RevokePendingGuardian",
|
|
418
|
+
type: "event",
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
anonymous: false,
|
|
422
|
+
inputs: [
|
|
423
|
+
{
|
|
424
|
+
indexed: true,
|
|
425
|
+
internalType: "address",
|
|
426
|
+
name: "caller",
|
|
427
|
+
type: "address",
|
|
428
|
+
},
|
|
429
|
+
{ indexed: true, internalType: "Id", name: "id", type: "bytes32" },
|
|
430
|
+
],
|
|
431
|
+
name: "RevokePendingMarketRemoval",
|
|
432
|
+
type: "event",
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
anonymous: false,
|
|
436
|
+
inputs: [
|
|
437
|
+
{
|
|
438
|
+
indexed: true,
|
|
439
|
+
internalType: "address",
|
|
440
|
+
name: "caller",
|
|
441
|
+
type: "address",
|
|
442
|
+
},
|
|
443
|
+
],
|
|
444
|
+
name: "RevokePendingTimelock",
|
|
445
|
+
type: "event",
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
anonymous: false,
|
|
449
|
+
inputs: [
|
|
450
|
+
{
|
|
451
|
+
indexed: true,
|
|
452
|
+
internalType: "address",
|
|
453
|
+
name: "caller",
|
|
454
|
+
type: "address",
|
|
455
|
+
},
|
|
456
|
+
{ indexed: true, internalType: "Id", name: "id", type: "bytes32" },
|
|
457
|
+
{ indexed: false, internalType: "uint256", name: "cap", type: "uint256" },
|
|
458
|
+
],
|
|
459
|
+
name: "SetCap",
|
|
460
|
+
type: "event",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
anonymous: false,
|
|
464
|
+
inputs: [
|
|
465
|
+
{
|
|
466
|
+
indexed: true,
|
|
467
|
+
internalType: "address",
|
|
468
|
+
name: "newCurator",
|
|
469
|
+
type: "address",
|
|
470
|
+
},
|
|
471
|
+
],
|
|
472
|
+
name: "SetCurator",
|
|
473
|
+
type: "event",
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
anonymous: false,
|
|
477
|
+
inputs: [
|
|
478
|
+
{
|
|
479
|
+
indexed: true,
|
|
480
|
+
internalType: "address",
|
|
481
|
+
name: "caller",
|
|
482
|
+
type: "address",
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
indexed: false,
|
|
486
|
+
internalType: "uint256",
|
|
487
|
+
name: "newFee",
|
|
488
|
+
type: "uint256",
|
|
489
|
+
},
|
|
490
|
+
],
|
|
491
|
+
name: "SetFee",
|
|
492
|
+
type: "event",
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
anonymous: false,
|
|
496
|
+
inputs: [
|
|
497
|
+
{
|
|
498
|
+
indexed: true,
|
|
499
|
+
internalType: "address",
|
|
500
|
+
name: "newFeeRecipient",
|
|
501
|
+
type: "address",
|
|
502
|
+
},
|
|
503
|
+
],
|
|
504
|
+
name: "SetFeeRecipient",
|
|
505
|
+
type: "event",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
anonymous: false,
|
|
509
|
+
inputs: [
|
|
510
|
+
{
|
|
511
|
+
indexed: true,
|
|
512
|
+
internalType: "address",
|
|
513
|
+
name: "caller",
|
|
514
|
+
type: "address",
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
indexed: true,
|
|
518
|
+
internalType: "address",
|
|
519
|
+
name: "guardian",
|
|
520
|
+
type: "address",
|
|
521
|
+
},
|
|
522
|
+
],
|
|
523
|
+
name: "SetGuardian",
|
|
524
|
+
type: "event",
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
anonymous: false,
|
|
528
|
+
inputs: [
|
|
529
|
+
{
|
|
530
|
+
indexed: true,
|
|
531
|
+
internalType: "address",
|
|
532
|
+
name: "allocator",
|
|
533
|
+
type: "address",
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
indexed: false,
|
|
537
|
+
internalType: "bool",
|
|
538
|
+
name: "isAllocator",
|
|
539
|
+
type: "bool",
|
|
540
|
+
},
|
|
541
|
+
],
|
|
542
|
+
name: "SetIsAllocator",
|
|
543
|
+
type: "event",
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
anonymous: false,
|
|
547
|
+
inputs: [
|
|
548
|
+
{ indexed: false, internalType: "string", name: "name", type: "string" },
|
|
549
|
+
],
|
|
550
|
+
name: "SetName",
|
|
551
|
+
type: "event",
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
anonymous: false,
|
|
555
|
+
inputs: [
|
|
556
|
+
{
|
|
557
|
+
indexed: true,
|
|
558
|
+
internalType: "address",
|
|
559
|
+
name: "newSkimRecipient",
|
|
560
|
+
type: "address",
|
|
561
|
+
},
|
|
562
|
+
],
|
|
563
|
+
name: "SetSkimRecipient",
|
|
564
|
+
type: "event",
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
anonymous: false,
|
|
568
|
+
inputs: [
|
|
569
|
+
{
|
|
570
|
+
indexed: true,
|
|
571
|
+
internalType: "address",
|
|
572
|
+
name: "caller",
|
|
573
|
+
type: "address",
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
indexed: false,
|
|
577
|
+
internalType: "Id[]",
|
|
578
|
+
name: "newSupplyQueue",
|
|
579
|
+
type: "bytes32[]",
|
|
580
|
+
},
|
|
581
|
+
],
|
|
582
|
+
name: "SetSupplyQueue",
|
|
583
|
+
type: "event",
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
anonymous: false,
|
|
587
|
+
inputs: [
|
|
588
|
+
{
|
|
589
|
+
indexed: false,
|
|
590
|
+
internalType: "string",
|
|
591
|
+
name: "symbol",
|
|
592
|
+
type: "string",
|
|
593
|
+
},
|
|
594
|
+
],
|
|
595
|
+
name: "SetSymbol",
|
|
596
|
+
type: "event",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
anonymous: false,
|
|
600
|
+
inputs: [
|
|
601
|
+
{
|
|
602
|
+
indexed: true,
|
|
603
|
+
internalType: "address",
|
|
604
|
+
name: "caller",
|
|
605
|
+
type: "address",
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
indexed: false,
|
|
609
|
+
internalType: "uint256",
|
|
610
|
+
name: "newTimelock",
|
|
611
|
+
type: "uint256",
|
|
612
|
+
},
|
|
613
|
+
],
|
|
614
|
+
name: "SetTimelock",
|
|
615
|
+
type: "event",
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
anonymous: false,
|
|
619
|
+
inputs: [
|
|
620
|
+
{
|
|
621
|
+
indexed: true,
|
|
622
|
+
internalType: "address",
|
|
623
|
+
name: "caller",
|
|
624
|
+
type: "address",
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
indexed: false,
|
|
628
|
+
internalType: "Id[]",
|
|
629
|
+
name: "newWithdrawQueue",
|
|
630
|
+
type: "bytes32[]",
|
|
631
|
+
},
|
|
632
|
+
],
|
|
633
|
+
name: "SetWithdrawQueue",
|
|
634
|
+
type: "event",
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
anonymous: false,
|
|
638
|
+
inputs: [
|
|
639
|
+
{
|
|
640
|
+
indexed: true,
|
|
641
|
+
internalType: "address",
|
|
642
|
+
name: "caller",
|
|
643
|
+
type: "address",
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
indexed: true,
|
|
647
|
+
internalType: "address",
|
|
648
|
+
name: "token",
|
|
649
|
+
type: "address",
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
indexed: false,
|
|
653
|
+
internalType: "uint256",
|
|
654
|
+
name: "amount",
|
|
655
|
+
type: "uint256",
|
|
656
|
+
},
|
|
657
|
+
],
|
|
658
|
+
name: "Skim",
|
|
659
|
+
type: "event",
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
anonymous: false,
|
|
663
|
+
inputs: [
|
|
664
|
+
{
|
|
665
|
+
indexed: true,
|
|
666
|
+
internalType: "address",
|
|
667
|
+
name: "caller",
|
|
668
|
+
type: "address",
|
|
669
|
+
},
|
|
670
|
+
{ indexed: true, internalType: "Id", name: "id", type: "bytes32" },
|
|
671
|
+
{ indexed: false, internalType: "uint256", name: "cap", type: "uint256" },
|
|
672
|
+
],
|
|
673
|
+
name: "SubmitCap",
|
|
674
|
+
type: "event",
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
anonymous: false,
|
|
678
|
+
inputs: [
|
|
679
|
+
{
|
|
680
|
+
indexed: true,
|
|
681
|
+
internalType: "address",
|
|
682
|
+
name: "newGuardian",
|
|
683
|
+
type: "address",
|
|
684
|
+
},
|
|
685
|
+
],
|
|
686
|
+
name: "SubmitGuardian",
|
|
687
|
+
type: "event",
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
anonymous: false,
|
|
691
|
+
inputs: [
|
|
692
|
+
{
|
|
693
|
+
indexed: true,
|
|
694
|
+
internalType: "address",
|
|
695
|
+
name: "caller",
|
|
696
|
+
type: "address",
|
|
697
|
+
},
|
|
698
|
+
{ indexed: true, internalType: "Id", name: "id", type: "bytes32" },
|
|
699
|
+
],
|
|
700
|
+
name: "SubmitMarketRemoval",
|
|
701
|
+
type: "event",
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
anonymous: false,
|
|
705
|
+
inputs: [
|
|
706
|
+
{
|
|
707
|
+
indexed: false,
|
|
708
|
+
internalType: "uint256",
|
|
709
|
+
name: "newTimelock",
|
|
710
|
+
type: "uint256",
|
|
711
|
+
},
|
|
712
|
+
],
|
|
713
|
+
name: "SubmitTimelock",
|
|
714
|
+
type: "event",
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
anonymous: false,
|
|
718
|
+
inputs: [
|
|
719
|
+
{ indexed: true, internalType: "address", name: "from", type: "address" },
|
|
720
|
+
{ indexed: true, internalType: "address", name: "to", type: "address" },
|
|
721
|
+
{
|
|
722
|
+
indexed: false,
|
|
723
|
+
internalType: "uint256",
|
|
724
|
+
name: "value",
|
|
725
|
+
type: "uint256",
|
|
726
|
+
},
|
|
727
|
+
],
|
|
728
|
+
name: "Transfer",
|
|
729
|
+
type: "event",
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
anonymous: false,
|
|
733
|
+
inputs: [
|
|
734
|
+
{
|
|
735
|
+
indexed: false,
|
|
736
|
+
internalType: "uint256",
|
|
737
|
+
name: "updatedTotalAssets",
|
|
738
|
+
type: "uint256",
|
|
739
|
+
},
|
|
740
|
+
],
|
|
741
|
+
name: "UpdateLastTotalAssets",
|
|
742
|
+
type: "event",
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
anonymous: false,
|
|
746
|
+
inputs: [
|
|
747
|
+
{
|
|
748
|
+
indexed: false,
|
|
749
|
+
internalType: "uint256",
|
|
750
|
+
name: "newLostAssets",
|
|
751
|
+
type: "uint256",
|
|
752
|
+
},
|
|
753
|
+
],
|
|
754
|
+
name: "UpdateLostAssets",
|
|
755
|
+
type: "event",
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
anonymous: false,
|
|
759
|
+
inputs: [
|
|
760
|
+
{
|
|
761
|
+
indexed: true,
|
|
762
|
+
internalType: "address",
|
|
763
|
+
name: "sender",
|
|
764
|
+
type: "address",
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
indexed: true,
|
|
768
|
+
internalType: "address",
|
|
769
|
+
name: "receiver",
|
|
770
|
+
type: "address",
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
indexed: true,
|
|
774
|
+
internalType: "address",
|
|
775
|
+
name: "owner",
|
|
776
|
+
type: "address",
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
indexed: false,
|
|
780
|
+
internalType: "uint256",
|
|
781
|
+
name: "assets",
|
|
782
|
+
type: "uint256",
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
indexed: false,
|
|
786
|
+
internalType: "uint256",
|
|
787
|
+
name: "shares",
|
|
788
|
+
type: "uint256",
|
|
789
|
+
},
|
|
790
|
+
],
|
|
791
|
+
name: "Withdraw",
|
|
792
|
+
type: "event",
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
inputs: [],
|
|
796
|
+
name: "DECIMALS_OFFSET",
|
|
797
|
+
outputs: [{ internalType: "uint8", name: "", type: "uint8" }],
|
|
798
|
+
stateMutability: "view",
|
|
799
|
+
type: "function",
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
inputs: [],
|
|
803
|
+
name: "DOMAIN_SEPARATOR",
|
|
804
|
+
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
805
|
+
stateMutability: "view",
|
|
806
|
+
type: "function",
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
inputs: [],
|
|
810
|
+
name: "MORPHO",
|
|
811
|
+
outputs: [{ internalType: "contract IMorpho", name: "", type: "address" }],
|
|
812
|
+
stateMutability: "view",
|
|
813
|
+
type: "function",
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
inputs: [
|
|
817
|
+
{
|
|
818
|
+
components: [
|
|
819
|
+
{ internalType: "address", name: "loanToken", type: "address" },
|
|
820
|
+
{ internalType: "address", name: "collateralToken", type: "address" },
|
|
821
|
+
{ internalType: "address", name: "oracle", type: "address" },
|
|
822
|
+
{ internalType: "address", name: "irm", type: "address" },
|
|
823
|
+
{ internalType: "uint256", name: "lltv", type: "uint256" },
|
|
824
|
+
],
|
|
825
|
+
internalType: "struct MarketParams",
|
|
826
|
+
name: "marketParams",
|
|
827
|
+
type: "tuple",
|
|
828
|
+
},
|
|
829
|
+
],
|
|
830
|
+
name: "acceptCap",
|
|
831
|
+
outputs: [],
|
|
832
|
+
stateMutability: "nonpayable",
|
|
833
|
+
type: "function",
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
inputs: [],
|
|
837
|
+
name: "acceptGuardian",
|
|
838
|
+
outputs: [],
|
|
839
|
+
stateMutability: "nonpayable",
|
|
840
|
+
type: "function",
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
inputs: [],
|
|
844
|
+
name: "acceptOwnership",
|
|
845
|
+
outputs: [],
|
|
846
|
+
stateMutability: "nonpayable",
|
|
847
|
+
type: "function",
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
inputs: [],
|
|
851
|
+
name: "acceptTimelock",
|
|
852
|
+
outputs: [],
|
|
853
|
+
stateMutability: "nonpayable",
|
|
854
|
+
type: "function",
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
inputs: [
|
|
858
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
859
|
+
{ internalType: "address", name: "spender", type: "address" },
|
|
860
|
+
],
|
|
861
|
+
name: "allowance",
|
|
862
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
863
|
+
stateMutability: "view",
|
|
864
|
+
type: "function",
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
inputs: [
|
|
868
|
+
{ internalType: "address", name: "spender", type: "address" },
|
|
869
|
+
{ internalType: "uint256", name: "value", type: "uint256" },
|
|
870
|
+
],
|
|
871
|
+
name: "approve",
|
|
872
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
873
|
+
stateMutability: "nonpayable",
|
|
874
|
+
type: "function",
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
inputs: [],
|
|
878
|
+
name: "asset",
|
|
879
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
880
|
+
stateMutability: "view",
|
|
881
|
+
type: "function",
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
885
|
+
name: "balanceOf",
|
|
886
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
887
|
+
stateMutability: "view",
|
|
888
|
+
type: "function",
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
inputs: [{ internalType: "Id", name: "", type: "bytes32" }],
|
|
892
|
+
name: "config",
|
|
893
|
+
outputs: [
|
|
894
|
+
{ internalType: "uint184", name: "cap", type: "uint184" },
|
|
895
|
+
{ internalType: "bool", name: "enabled", type: "bool" },
|
|
896
|
+
{ internalType: "uint64", name: "removableAt", type: "uint64" },
|
|
897
|
+
],
|
|
898
|
+
stateMutability: "view",
|
|
899
|
+
type: "function",
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
|
|
903
|
+
name: "convertToAssets",
|
|
904
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
905
|
+
stateMutability: "view",
|
|
906
|
+
type: "function",
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
|
|
910
|
+
name: "convertToShares",
|
|
911
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
912
|
+
stateMutability: "view",
|
|
913
|
+
type: "function",
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
inputs: [],
|
|
917
|
+
name: "curator",
|
|
918
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
919
|
+
stateMutability: "view",
|
|
920
|
+
type: "function",
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
inputs: [],
|
|
924
|
+
name: "decimals",
|
|
925
|
+
outputs: [{ internalType: "uint8", name: "", type: "uint8" }],
|
|
926
|
+
stateMutability: "view",
|
|
927
|
+
type: "function",
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
inputs: [
|
|
931
|
+
{ internalType: "uint256", name: "assets", type: "uint256" },
|
|
932
|
+
{ internalType: "address", name: "receiver", type: "address" },
|
|
933
|
+
],
|
|
934
|
+
name: "deposit",
|
|
935
|
+
outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
|
|
936
|
+
stateMutability: "nonpayable",
|
|
937
|
+
type: "function",
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
inputs: [],
|
|
941
|
+
name: "eip712Domain",
|
|
942
|
+
outputs: [
|
|
943
|
+
{ internalType: "bytes1", name: "fields", type: "bytes1" },
|
|
944
|
+
{ internalType: "string", name: "name", type: "string" },
|
|
945
|
+
{ internalType: "string", name: "version", type: "string" },
|
|
946
|
+
{ internalType: "uint256", name: "chainId", type: "uint256" },
|
|
947
|
+
{ internalType: "address", name: "verifyingContract", type: "address" },
|
|
948
|
+
{ internalType: "bytes32", name: "salt", type: "bytes32" },
|
|
949
|
+
{ internalType: "uint256[]", name: "extensions", type: "uint256[]" },
|
|
950
|
+
],
|
|
951
|
+
stateMutability: "view",
|
|
952
|
+
type: "function",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
inputs: [],
|
|
956
|
+
name: "fee",
|
|
957
|
+
outputs: [{ internalType: "uint96", name: "", type: "uint96" }],
|
|
958
|
+
stateMutability: "view",
|
|
959
|
+
type: "function",
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
inputs: [],
|
|
963
|
+
name: "feeRecipient",
|
|
964
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
965
|
+
stateMutability: "view",
|
|
966
|
+
type: "function",
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
inputs: [],
|
|
970
|
+
name: "guardian",
|
|
971
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
972
|
+
stateMutability: "view",
|
|
973
|
+
type: "function",
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
inputs: [{ internalType: "address", name: "", type: "address" }],
|
|
977
|
+
name: "isAllocator",
|
|
978
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
979
|
+
stateMutability: "view",
|
|
980
|
+
type: "function",
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
inputs: [],
|
|
984
|
+
name: "lastTotalAssets",
|
|
985
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
986
|
+
stateMutability: "view",
|
|
987
|
+
type: "function",
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
inputs: [],
|
|
991
|
+
name: "lostAssets",
|
|
992
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
993
|
+
stateMutability: "view",
|
|
994
|
+
type: "function",
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
inputs: [{ internalType: "address", name: "", type: "address" }],
|
|
998
|
+
name: "maxDeposit",
|
|
999
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1000
|
+
stateMutability: "view",
|
|
1001
|
+
type: "function",
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
inputs: [{ internalType: "address", name: "", type: "address" }],
|
|
1005
|
+
name: "maxMint",
|
|
1006
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1007
|
+
stateMutability: "view",
|
|
1008
|
+
type: "function",
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
inputs: [{ internalType: "address", name: "owner", type: "address" }],
|
|
1012
|
+
name: "maxRedeem",
|
|
1013
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1014
|
+
stateMutability: "view",
|
|
1015
|
+
type: "function",
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
inputs: [{ internalType: "address", name: "owner", type: "address" }],
|
|
1019
|
+
name: "maxWithdraw",
|
|
1020
|
+
outputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
|
|
1021
|
+
stateMutability: "view",
|
|
1022
|
+
type: "function",
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
inputs: [
|
|
1026
|
+
{ internalType: "uint256", name: "shares", type: "uint256" },
|
|
1027
|
+
{ internalType: "address", name: "receiver", type: "address" },
|
|
1028
|
+
],
|
|
1029
|
+
name: "mint",
|
|
1030
|
+
outputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
|
|
1031
|
+
stateMutability: "nonpayable",
|
|
1032
|
+
type: "function",
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
inputs: [{ internalType: "bytes[]", name: "data", type: "bytes[]" }],
|
|
1036
|
+
name: "multicall",
|
|
1037
|
+
outputs: [{ internalType: "bytes[]", name: "results", type: "bytes[]" }],
|
|
1038
|
+
stateMutability: "nonpayable",
|
|
1039
|
+
type: "function",
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
inputs: [],
|
|
1043
|
+
name: "name",
|
|
1044
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
1045
|
+
stateMutability: "view",
|
|
1046
|
+
type: "function",
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
inputs: [{ internalType: "address", name: "owner", type: "address" }],
|
|
1050
|
+
name: "nonces",
|
|
1051
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1052
|
+
stateMutability: "view",
|
|
1053
|
+
type: "function",
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
inputs: [],
|
|
1057
|
+
name: "owner",
|
|
1058
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
1059
|
+
stateMutability: "view",
|
|
1060
|
+
type: "function",
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
inputs: [{ internalType: "Id", name: "", type: "bytes32" }],
|
|
1064
|
+
name: "pendingCap",
|
|
1065
|
+
outputs: [
|
|
1066
|
+
{ internalType: "uint192", name: "value", type: "uint192" },
|
|
1067
|
+
{ internalType: "uint64", name: "validAt", type: "uint64" },
|
|
1068
|
+
],
|
|
1069
|
+
stateMutability: "view",
|
|
1070
|
+
type: "function",
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
inputs: [],
|
|
1074
|
+
name: "pendingGuardian",
|
|
1075
|
+
outputs: [
|
|
1076
|
+
{ internalType: "address", name: "value", type: "address" },
|
|
1077
|
+
{ internalType: "uint64", name: "validAt", type: "uint64" },
|
|
1078
|
+
],
|
|
1079
|
+
stateMutability: "view",
|
|
1080
|
+
type: "function",
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
inputs: [],
|
|
1084
|
+
name: "pendingOwner",
|
|
1085
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
1086
|
+
stateMutability: "view",
|
|
1087
|
+
type: "function",
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
inputs: [],
|
|
1091
|
+
name: "pendingTimelock",
|
|
1092
|
+
outputs: [
|
|
1093
|
+
{ internalType: "uint192", name: "value", type: "uint192" },
|
|
1094
|
+
{ internalType: "uint64", name: "validAt", type: "uint64" },
|
|
1095
|
+
],
|
|
1096
|
+
stateMutability: "view",
|
|
1097
|
+
type: "function",
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
inputs: [
|
|
1101
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
1102
|
+
{ internalType: "address", name: "spender", type: "address" },
|
|
1103
|
+
{ internalType: "uint256", name: "value", type: "uint256" },
|
|
1104
|
+
{ internalType: "uint256", name: "deadline", type: "uint256" },
|
|
1105
|
+
{ internalType: "uint8", name: "v", type: "uint8" },
|
|
1106
|
+
{ internalType: "bytes32", name: "r", type: "bytes32" },
|
|
1107
|
+
{ internalType: "bytes32", name: "s", type: "bytes32" },
|
|
1108
|
+
],
|
|
1109
|
+
name: "permit",
|
|
1110
|
+
outputs: [],
|
|
1111
|
+
stateMutability: "nonpayable",
|
|
1112
|
+
type: "function",
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
|
|
1116
|
+
name: "previewDeposit",
|
|
1117
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1118
|
+
stateMutability: "view",
|
|
1119
|
+
type: "function",
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
|
|
1123
|
+
name: "previewMint",
|
|
1124
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1125
|
+
stateMutability: "view",
|
|
1126
|
+
type: "function",
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
inputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
|
|
1130
|
+
name: "previewRedeem",
|
|
1131
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1132
|
+
stateMutability: "view",
|
|
1133
|
+
type: "function",
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
inputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
|
|
1137
|
+
name: "previewWithdraw",
|
|
1138
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1139
|
+
stateMutability: "view",
|
|
1140
|
+
type: "function",
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
inputs: [
|
|
1144
|
+
{
|
|
1145
|
+
components: [
|
|
1146
|
+
{
|
|
1147
|
+
components: [
|
|
1148
|
+
{ internalType: "address", name: "loanToken", type: "address" },
|
|
1149
|
+
{
|
|
1150
|
+
internalType: "address",
|
|
1151
|
+
name: "collateralToken",
|
|
1152
|
+
type: "address",
|
|
1153
|
+
},
|
|
1154
|
+
{ internalType: "address", name: "oracle", type: "address" },
|
|
1155
|
+
{ internalType: "address", name: "irm", type: "address" },
|
|
1156
|
+
{ internalType: "uint256", name: "lltv", type: "uint256" },
|
|
1157
|
+
],
|
|
1158
|
+
internalType: "struct MarketParams",
|
|
1159
|
+
name: "marketParams",
|
|
1160
|
+
type: "tuple",
|
|
1161
|
+
},
|
|
1162
|
+
{ internalType: "uint256", name: "assets", type: "uint256" },
|
|
1163
|
+
],
|
|
1164
|
+
internalType: "struct MarketAllocation[]",
|
|
1165
|
+
name: "allocations",
|
|
1166
|
+
type: "tuple[]",
|
|
1167
|
+
},
|
|
1168
|
+
],
|
|
1169
|
+
name: "reallocate",
|
|
1170
|
+
outputs: [],
|
|
1171
|
+
stateMutability: "nonpayable",
|
|
1172
|
+
type: "function",
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
inputs: [
|
|
1176
|
+
{ internalType: "uint256", name: "shares", type: "uint256" },
|
|
1177
|
+
{ internalType: "address", name: "receiver", type: "address" },
|
|
1178
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
1179
|
+
],
|
|
1180
|
+
name: "redeem",
|
|
1181
|
+
outputs: [{ internalType: "uint256", name: "assets", type: "uint256" }],
|
|
1182
|
+
stateMutability: "nonpayable",
|
|
1183
|
+
type: "function",
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
inputs: [],
|
|
1187
|
+
name: "renounceOwnership",
|
|
1188
|
+
outputs: [],
|
|
1189
|
+
stateMutability: "nonpayable",
|
|
1190
|
+
type: "function",
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
inputs: [{ internalType: "Id", name: "id", type: "bytes32" }],
|
|
1194
|
+
name: "revokePendingCap",
|
|
1195
|
+
outputs: [],
|
|
1196
|
+
stateMutability: "nonpayable",
|
|
1197
|
+
type: "function",
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
inputs: [],
|
|
1201
|
+
name: "revokePendingGuardian",
|
|
1202
|
+
outputs: [],
|
|
1203
|
+
stateMutability: "nonpayable",
|
|
1204
|
+
type: "function",
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
inputs: [{ internalType: "Id", name: "id", type: "bytes32" }],
|
|
1208
|
+
name: "revokePendingMarketRemoval",
|
|
1209
|
+
outputs: [],
|
|
1210
|
+
stateMutability: "nonpayable",
|
|
1211
|
+
type: "function",
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
inputs: [],
|
|
1215
|
+
name: "revokePendingTimelock",
|
|
1216
|
+
outputs: [],
|
|
1217
|
+
stateMutability: "nonpayable",
|
|
1218
|
+
type: "function",
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
inputs: [{ internalType: "address", name: "newCurator", type: "address" }],
|
|
1222
|
+
name: "setCurator",
|
|
1223
|
+
outputs: [],
|
|
1224
|
+
stateMutability: "nonpayable",
|
|
1225
|
+
type: "function",
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
inputs: [{ internalType: "uint256", name: "newFee", type: "uint256" }],
|
|
1229
|
+
name: "setFee",
|
|
1230
|
+
outputs: [],
|
|
1231
|
+
stateMutability: "nonpayable",
|
|
1232
|
+
type: "function",
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
inputs: [
|
|
1236
|
+
{ internalType: "address", name: "newFeeRecipient", type: "address" },
|
|
1237
|
+
],
|
|
1238
|
+
name: "setFeeRecipient",
|
|
1239
|
+
outputs: [],
|
|
1240
|
+
stateMutability: "nonpayable",
|
|
1241
|
+
type: "function",
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
inputs: [
|
|
1245
|
+
{ internalType: "address", name: "newAllocator", type: "address" },
|
|
1246
|
+
{ internalType: "bool", name: "newIsAllocator", type: "bool" },
|
|
1247
|
+
],
|
|
1248
|
+
name: "setIsAllocator",
|
|
1249
|
+
outputs: [],
|
|
1250
|
+
stateMutability: "nonpayable",
|
|
1251
|
+
type: "function",
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
inputs: [{ internalType: "string", name: "newName", type: "string" }],
|
|
1255
|
+
name: "setName",
|
|
1256
|
+
outputs: [],
|
|
1257
|
+
stateMutability: "nonpayable",
|
|
1258
|
+
type: "function",
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
inputs: [
|
|
1262
|
+
{ internalType: "address", name: "newSkimRecipient", type: "address" },
|
|
1263
|
+
],
|
|
1264
|
+
name: "setSkimRecipient",
|
|
1265
|
+
outputs: [],
|
|
1266
|
+
stateMutability: "nonpayable",
|
|
1267
|
+
type: "function",
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
inputs: [
|
|
1271
|
+
{ internalType: "Id[]", name: "newSupplyQueue", type: "bytes32[]" },
|
|
1272
|
+
],
|
|
1273
|
+
name: "setSupplyQueue",
|
|
1274
|
+
outputs: [],
|
|
1275
|
+
stateMutability: "nonpayable",
|
|
1276
|
+
type: "function",
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
inputs: [{ internalType: "string", name: "newSymbol", type: "string" }],
|
|
1280
|
+
name: "setSymbol",
|
|
1281
|
+
outputs: [],
|
|
1282
|
+
stateMutability: "nonpayable",
|
|
1283
|
+
type: "function",
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
inputs: [{ internalType: "address", name: "token", type: "address" }],
|
|
1287
|
+
name: "skim",
|
|
1288
|
+
outputs: [],
|
|
1289
|
+
stateMutability: "nonpayable",
|
|
1290
|
+
type: "function",
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
inputs: [],
|
|
1294
|
+
name: "skimRecipient",
|
|
1295
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
1296
|
+
stateMutability: "view",
|
|
1297
|
+
type: "function",
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
inputs: [
|
|
1301
|
+
{
|
|
1302
|
+
components: [
|
|
1303
|
+
{ internalType: "address", name: "loanToken", type: "address" },
|
|
1304
|
+
{ internalType: "address", name: "collateralToken", type: "address" },
|
|
1305
|
+
{ internalType: "address", name: "oracle", type: "address" },
|
|
1306
|
+
{ internalType: "address", name: "irm", type: "address" },
|
|
1307
|
+
{ internalType: "uint256", name: "lltv", type: "uint256" },
|
|
1308
|
+
],
|
|
1309
|
+
internalType: "struct MarketParams",
|
|
1310
|
+
name: "marketParams",
|
|
1311
|
+
type: "tuple",
|
|
1312
|
+
},
|
|
1313
|
+
{ internalType: "uint256", name: "newSupplyCap", type: "uint256" },
|
|
1314
|
+
],
|
|
1315
|
+
name: "submitCap",
|
|
1316
|
+
outputs: [],
|
|
1317
|
+
stateMutability: "nonpayable",
|
|
1318
|
+
type: "function",
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
inputs: [{ internalType: "address", name: "newGuardian", type: "address" }],
|
|
1322
|
+
name: "submitGuardian",
|
|
1323
|
+
outputs: [],
|
|
1324
|
+
stateMutability: "nonpayable",
|
|
1325
|
+
type: "function",
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
inputs: [
|
|
1329
|
+
{
|
|
1330
|
+
components: [
|
|
1331
|
+
{ internalType: "address", name: "loanToken", type: "address" },
|
|
1332
|
+
{ internalType: "address", name: "collateralToken", type: "address" },
|
|
1333
|
+
{ internalType: "address", name: "oracle", type: "address" },
|
|
1334
|
+
{ internalType: "address", name: "irm", type: "address" },
|
|
1335
|
+
{ internalType: "uint256", name: "lltv", type: "uint256" },
|
|
1336
|
+
],
|
|
1337
|
+
internalType: "struct MarketParams",
|
|
1338
|
+
name: "marketParams",
|
|
1339
|
+
type: "tuple",
|
|
1340
|
+
},
|
|
1341
|
+
],
|
|
1342
|
+
name: "submitMarketRemoval",
|
|
1343
|
+
outputs: [],
|
|
1344
|
+
stateMutability: "nonpayable",
|
|
1345
|
+
type: "function",
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
inputs: [{ internalType: "uint256", name: "newTimelock", type: "uint256" }],
|
|
1349
|
+
name: "submitTimelock",
|
|
1350
|
+
outputs: [],
|
|
1351
|
+
stateMutability: "nonpayable",
|
|
1352
|
+
type: "function",
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
inputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1356
|
+
name: "supplyQueue",
|
|
1357
|
+
outputs: [{ internalType: "Id", name: "", type: "bytes32" }],
|
|
1358
|
+
stateMutability: "view",
|
|
1359
|
+
type: "function",
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
inputs: [],
|
|
1363
|
+
name: "supplyQueueLength",
|
|
1364
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1365
|
+
stateMutability: "view",
|
|
1366
|
+
type: "function",
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
inputs: [],
|
|
1370
|
+
name: "symbol",
|
|
1371
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
1372
|
+
stateMutability: "view",
|
|
1373
|
+
type: "function",
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
inputs: [],
|
|
1377
|
+
name: "timelock",
|
|
1378
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1379
|
+
stateMutability: "view",
|
|
1380
|
+
type: "function",
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
inputs: [],
|
|
1384
|
+
name: "totalAssets",
|
|
1385
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1386
|
+
stateMutability: "view",
|
|
1387
|
+
type: "function",
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
inputs: [],
|
|
1391
|
+
name: "totalSupply",
|
|
1392
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1393
|
+
stateMutability: "view",
|
|
1394
|
+
type: "function",
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
inputs: [
|
|
1398
|
+
{ internalType: "address", name: "to", type: "address" },
|
|
1399
|
+
{ internalType: "uint256", name: "value", type: "uint256" },
|
|
1400
|
+
],
|
|
1401
|
+
name: "transfer",
|
|
1402
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
1403
|
+
stateMutability: "nonpayable",
|
|
1404
|
+
type: "function",
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
inputs: [
|
|
1408
|
+
{ internalType: "address", name: "from", type: "address" },
|
|
1409
|
+
{ internalType: "address", name: "to", type: "address" },
|
|
1410
|
+
{ internalType: "uint256", name: "value", type: "uint256" },
|
|
1411
|
+
],
|
|
1412
|
+
name: "transferFrom",
|
|
1413
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
1414
|
+
stateMutability: "nonpayable",
|
|
1415
|
+
type: "function",
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
|
|
1419
|
+
name: "transferOwnership",
|
|
1420
|
+
outputs: [],
|
|
1421
|
+
stateMutability: "nonpayable",
|
|
1422
|
+
type: "function",
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
inputs: [{ internalType: "uint256[]", name: "indexes", type: "uint256[]" }],
|
|
1426
|
+
name: "updateWithdrawQueue",
|
|
1427
|
+
outputs: [],
|
|
1428
|
+
stateMutability: "nonpayable",
|
|
1429
|
+
type: "function",
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
inputs: [
|
|
1433
|
+
{ internalType: "uint256", name: "assets", type: "uint256" },
|
|
1434
|
+
{ internalType: "address", name: "receiver", type: "address" },
|
|
1435
|
+
{ internalType: "address", name: "owner", type: "address" },
|
|
1436
|
+
],
|
|
1437
|
+
name: "withdraw",
|
|
1438
|
+
outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
|
|
1439
|
+
stateMutability: "nonpayable",
|
|
1440
|
+
type: "function",
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
inputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1444
|
+
name: "withdrawQueue",
|
|
1445
|
+
outputs: [{ internalType: "Id", name: "", type: "bytes32" }],
|
|
1446
|
+
stateMutability: "view",
|
|
1447
|
+
type: "function",
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
inputs: [],
|
|
1451
|
+
name: "withdrawQueueLength",
|
|
1452
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
1453
|
+
stateMutability: "view",
|
|
1454
|
+
type: "function",
|
|
1455
|
+
},
|
|
1456
|
+
] as const;
|