@raac/rpc 1.1.0-beta.1 → 1.1.0-beta.3
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/artifacts/core/collectors/FeeCollector.sol/FeeCollector.dbg.json +4 -0
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +1688 -1688
- package/dist/artifacts/core/collectors/Treasury.sol/Treasury.dbg.json +4 -0
- package/dist/artifacts/core/collectors/Treasury.sol/Treasury.json +481 -0
- package/dist/artifacts/core/governance/boost/BoostController.sol/BoostController.dbg.json +4 -0
- package/dist/artifacts/core/governance/boost/BoostController.sol/BoostController.json +905 -0
- package/dist/artifacts/core/governance/gauges/BaseGauge.sol/BaseGauge.dbg.json +4 -0
- package/dist/artifacts/core/governance/gauges/BaseGauge.sol/BaseGauge.json +1398 -0
- package/dist/artifacts/core/governance/gauges/GaugeController.sol/GaugeController.dbg.json +4 -0
- package/dist/artifacts/core/governance/gauges/GaugeController.sol/GaugeController.json +1435 -0
- package/dist/artifacts/core/governance/gauges/RAACGauge.sol/RAACGauge.dbg.json +4 -0
- package/dist/artifacts/core/governance/gauges/RAACGauge.sol/RAACGauge.json +1471 -0
- package/dist/artifacts/core/governance/gauges/RWAGauge.sol/RWAGauge.dbg.json +4 -0
- package/dist/artifacts/core/governance/gauges/RWAGauge.sol/RWAGauge.json +1471 -0
- package/dist/artifacts/core/governance/proposals/Governance.sol/Governance.dbg.json +4 -0
- package/dist/artifacts/core/governance/proposals/Governance.sol/Governance.json +1242 -0
- package/dist/artifacts/core/governance/proposals/TimelockController.sol/TimelockController.dbg.json +4 -0
- package/dist/artifacts/core/governance/proposals/TimelockController.sol/TimelockController.json +988 -0
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.dbg.json +4 -0
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +1418 -1418
- package/dist/artifacts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.sol/RAACReleaseOrchestrator.dbg.json +4 -0
- package/dist/artifacts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.sol/RAACReleaseOrchestrator.json +860 -0
- package/dist/artifacts/core/oracles/BaseChainlinkFunctionsOracle.sol/BaseChainlinkFunctionsOracle.dbg.json +4 -0
- package/dist/artifacts/core/oracles/BaseChainlinkFunctionsOracle.sol/BaseChainlinkFunctionsOracle.json +264 -0
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.dbg.json +4 -0
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +247 -247
- package/dist/artifacts/core/oracles/RAACHousePriceOracle.sol/RAACHousePriceOracle.dbg.json +4 -0
- package/dist/artifacts/core/oracles/RAACHousePriceOracle.sol/RAACHousePriceOracle.json +335 -0
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.dbg.json +4 -0
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +350 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.dbg.json +4 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +2699 -2635
- package/dist/artifacts/core/pools/StabilityPool/NFTLiquidator.sol/NFTLiquidator.dbg.json +4 -0
- package/dist/artifacts/core/pools/StabilityPool/NFTLiquidator.sol/NFTLiquidator.json +485 -0
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.dbg.json +4 -0
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +1107 -1107
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.dbg.json +4 -0
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +259 -259
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.dbg.json +4 -0
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +856 -856
- package/dist/artifacts/core/tokens/DebtToken.sol/DebtToken.dbg.json +4 -0
- package/dist/artifacts/core/tokens/DebtToken.sol/DebtToken.json +953 -0
- package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.dbg.json +4 -0
- package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +710 -710
- package/dist/artifacts/core/tokens/LPToken.sol/LPToken.dbg.json +4 -0
- package/dist/artifacts/core/tokens/LPToken.sol/LPToken.json +507 -0
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.dbg.json +4 -0
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +1391 -1391
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.dbg.json +4 -0
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +796 -796
- package/dist/artifacts/core/tokens/RToken.sol/RToken.dbg.json +4 -0
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +1084 -1084
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.dbg.json +4 -0
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +1555 -1555
- package/dist/artifacts/interfaces/IERC20.sol/IERC20.dbg.json +4 -0
- package/dist/artifacts/interfaces/IERC20.sol/IERC20.json +194 -0
- package/dist/artifacts/interfaces/IHousePrices.sol/IHousePrices.dbg.json +4 -0
- package/dist/artifacts/interfaces/IHousePrices.sol/IHousePrices.json +30 -0
- package/dist/artifacts/interfaces/INFTLiquidator.sol/INFTLiquidator.dbg.json +4 -0
- package/dist/artifacts/interfaces/INFTLiquidator.sol/INFTLiquidator.json +86 -0
- package/dist/artifacts/interfaces/IPoolManager.sol/IPoolManager.dbg.json +4 -0
- package/dist/artifacts/interfaces/IPoolManager.sol/IPoolManager.json +57 -0
- package/dist/artifacts/interfaces/IReserveAllocationLibraryMock.sol/IReserveAllocationLibraryMock.dbg.json +4 -0
- package/dist/artifacts/interfaces/IReserveAllocationLibraryMock.sol/IReserveAllocationLibraryMock.json +246 -0
- package/dist/artifacts/interfaces/IUSDC.sol/IUSDC.dbg.json +4 -0
- package/dist/artifacts/interfaces/IUSDC.sol/IUSDC.json +194 -0
- package/dist/artifacts/interfaces/IveRAACDistributor.sol/IveRAACDistributor.dbg.json +4 -0
- package/dist/artifacts/interfaces/IveRAACDistributor.sol/IveRAACDistributor.json +100 -0
- package/dist/artifacts/interfaces/core/collectors/IBaseCollector.sol/IBaseCollector.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/collectors/IBaseCollector.sol/IBaseCollector.json +45 -0
- package/dist/artifacts/interfaces/core/collectors/IFeeCollector.sol/IFeeCollector.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/collectors/IFeeCollector.sol/IFeeCollector.json +922 -0
- package/dist/artifacts/interfaces/core/collectors/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/collectors/ITreasury.sol/ITreasury.json +214 -0
- package/dist/artifacts/interfaces/core/governance/IBoostController.sol/IBoostController.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/governance/IBoostController.sol/IBoostController.json +378 -0
- package/dist/artifacts/interfaces/core/governance/gauges/IGauge.sol/IGauge.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/governance/gauges/IGauge.sol/IGauge.json +394 -0
- package/dist/artifacts/interfaces/core/governance/gauges/IGaugeController.sol/IGaugeController.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/governance/gauges/IGaugeController.sol/IGaugeController.json +577 -0
- package/dist/artifacts/interfaces/core/governance/proposals/IGovernance.sol/IGovernance.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/governance/proposals/IGovernance.sol/IGovernance.json +1134 -0
- package/dist/artifacts/interfaces/core/governance/proposals/ITimelockController.sol/ITimelockController.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/governance/proposals/ITimelockController.sol/ITimelockController.json +612 -0
- package/dist/artifacts/interfaces/core/minters/RAACMinter/IRAACMinter.sol/IRAACMinter.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/minters/RAACMinter/IRAACMinter.sol/IRAACMinter.json +542 -0
- package/dist/artifacts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.sol/IReleaseOrchestrator.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.sol/IReleaseOrchestrator.json +358 -0
- package/dist/artifacts/interfaces/core/oracles/IBaseVRFv2Consumer.sol/IBaseVRFv2Consumer.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/oracles/IBaseVRFv2Consumer.sol/IBaseVRFv2Consumer.json +102 -0
- package/dist/artifacts/interfaces/core/oracles/IRAACHousePrices.sol/IRAACHousePrices.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/oracles/IRAACHousePrices.sol/IRAACHousePrices.json +193 -0
- package/dist/artifacts/interfaces/core/pools/ILiquidityPool.sol/ILiquidityPool.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/pools/ILiquidityPool.sol/ILiquidityPool.json +310 -0
- package/dist/artifacts/interfaces/core/pools/LendingPool/ILendingPool.sol/ILendingPool.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/pools/LendingPool/ILendingPool.sol/ILendingPool.json +1538 -0
- package/dist/artifacts/interfaces/core/pools/StabilityPool/IStabilityPool.sol/IStabilityPool.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/pools/StabilityPool/IStabilityPool.sol/IStabilityPool.json +622 -0
- package/dist/artifacts/interfaces/core/tokens/IDEToken.sol/IDEToken.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/tokens/IDEToken.sol/IDEToken.json +333 -0
- package/dist/artifacts/interfaces/core/tokens/IDebtToken.sol/IDebtToken.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/tokens/IDebtToken.sol/IDebtToken.json +507 -0
- package/dist/artifacts/interfaces/core/tokens/IIndexToken.sol/IIndexToken.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/tokens/IIndexToken.sol/IIndexToken.json +299 -0
- package/dist/artifacts/interfaces/core/tokens/IRAACNFT.sol/IRAACNFT.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/tokens/IRAACNFT.sol/IRAACNFT.json +816 -0
- package/dist/artifacts/interfaces/core/tokens/IRAACToken.sol/IRAACToken.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/tokens/IRAACToken.sol/IRAACToken.json +567 -0
- package/dist/artifacts/interfaces/core/tokens/IRToken.sol/IRToken.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/tokens/IRToken.sol/IRToken.json +641 -0
- package/dist/artifacts/interfaces/core/tokens/IveRAACToken.sol/IveRAACToken.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/tokens/IveRAACToken.sol/IveRAACToken.json +560 -0
- package/dist/artifacts/interfaces/core/vaults/IBaseVault.sol/IBaseVault.dbg.json +4 -0
- package/dist/artifacts/interfaces/core/vaults/IBaseVault.sol/IBaseVault.json +185 -0
- package/dist/artifacts/interfaces/curve/ICurveCrvUSDVault.sol/ICurveCrvUSDVault.dbg.json +4 -0
- package/dist/artifacts/interfaces/curve/ICurveCrvUSDVault.sol/ICurveCrvUSDVault.json +250 -0
- package/dist/artifacts/interfaces/zeno/IAuction.sol/IAuction.dbg.json +4 -0
- package/dist/artifacts/interfaces/zeno/IAuction.sol/IAuction.json +162 -0
- package/dist/artifacts/interfaces/zeno/IZENO.sol/IZENO.dbg.json +4 -0
- package/dist/artifacts/interfaces/zeno/IZENO.sol/IZENO.json +321 -0
- package/dist/artifacts/libraries/governance/BoostCalculator.sol/BoostCalculator.dbg.json +4 -0
- package/dist/artifacts/libraries/governance/BoostCalculator.sol/BoostCalculator.json +51 -0
- package/dist/artifacts/libraries/governance/Checkpoints.sol/Checkpoints.dbg.json +4 -0
- package/dist/artifacts/libraries/governance/Checkpoints.sol/Checkpoints.json +69 -0
- package/dist/artifacts/libraries/governance/LockManager.sol/LockManager.dbg.json +4 -0
- package/dist/artifacts/libraries/governance/LockManager.sol/LockManager.json +123 -0
- package/dist/artifacts/libraries/governance/PowerCheckpoint.sol/PowerCheckpoint.dbg.json +4 -0
- package/dist/artifacts/libraries/governance/PowerCheckpoint.sol/PowerCheckpoint.json +70 -0
- package/dist/artifacts/libraries/governance/RAACVoting.sol/RAACVoting.dbg.json +4 -0
- package/dist/artifacts/libraries/governance/RAACVoting.sol/RAACVoting.json +102 -0
- package/dist/artifacts/libraries/governance/VotingPowerLib.sol/VotingPowerLib.dbg.json +4 -0
- package/dist/artifacts/libraries/governance/VotingPowerLib.sol/VotingPowerLib.json +76 -0
- package/dist/artifacts/libraries/math/PercentageMath.sol/PercentageMath.dbg.json +4 -0
- package/dist/artifacts/libraries/math/PercentageMath.sol/PercentageMath.json +10 -0
- package/dist/artifacts/libraries/math/TimeWeightedAverage.sol/TimeWeightedAverage.dbg.json +4 -0
- package/dist/artifacts/libraries/math/TimeWeightedAverage.sol/TimeWeightedAverage.json +142 -0
- package/dist/artifacts/libraries/math/WadRayMath.sol/WadRayMath.dbg.json +4 -0
- package/dist/artifacts/libraries/math/WadRayMath.sol/WadRayMath.json +10 -0
- package/dist/artifacts/libraries/pools/DataTypes.sol/DataTypes.dbg.json +4 -0
- package/dist/artifacts/libraries/pools/DataTypes.sol/DataTypes.json +10 -0
- package/dist/artifacts/libraries/pools/ReserveLibrary.sol/ReserveLibrary.dbg.json +4 -0
- package/dist/artifacts/libraries/pools/ReserveLibrary.sol/ReserveLibrary.json +153 -0
- package/dist/artifacts/libraries/utils/StringUtils.sol/StringUtils.dbg.json +4 -0
- package/dist/artifacts/libraries/utils/StringUtils.sol/StringUtils.json +16 -0
- package/dist/artifacts/mocks/core/collectors/MockTreasury.sol/MockTreasury.dbg.json +4 -0
- package/dist/artifacts/mocks/core/collectors/MockTreasury.sol/MockTreasury.json +255 -0
- package/dist/artifacts/mocks/core/governance/gauges/MockBaseGauge.sol/MockBaseGauge.dbg.json +4 -0
- package/dist/artifacts/mocks/core/governance/gauges/MockBaseGauge.sol/MockBaseGauge.json +1522 -0
- package/dist/artifacts/mocks/core/governance/gauges/MockGaugeController.sol/MockGaugeController.dbg.json +4 -0
- package/dist/artifacts/mocks/core/governance/gauges/MockGaugeController.sol/MockGaugeController.json +49 -0
- package/dist/artifacts/mocks/core/governance/proposals/TimelockTestTarget.sol/TimelockTestTarget.dbg.json +4 -0
- package/dist/artifacts/mocks/core/governance/proposals/TimelockTestTarget.sol/TimelockTestTarget.json +112 -0
- package/dist/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter.dbg.json +4 -0
- package/dist/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter.json +50 -0
- package/dist/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.dbg.json +4 -0
- package/dist/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.json +69 -0
- package/dist/artifacts/mocks/core/oracles/MockOracle.sol/MockOracle.dbg.json +4 -0
- package/dist/artifacts/mocks/core/oracles/MockOracle.sol/MockOracle.json +63 -0
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.dbg.json +4 -0
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +772 -772
- package/dist/artifacts/mocks/core/oracles/TestRAACHousePriceOracle.sol/TestRAACHousePriceOracle.dbg.json +4 -0
- package/dist/artifacts/mocks/core/oracles/TestRAACHousePriceOracle.sol/TestRAACHousePriceOracle.json +358 -0
- package/dist/artifacts/mocks/core/oracles/TestRAACPrimeRateOracle.sol/TestRAACPrimeRateOracle.dbg.json +4 -0
- package/dist/artifacts/mocks/core/oracles/TestRAACPrimeRateOracle.sol/TestRAACPrimeRateOracle.json +373 -0
- package/dist/artifacts/mocks/core/pools/MockLendingPool.sol/MockLendingPool.dbg.json +4 -0
- package/dist/artifacts/mocks/core/pools/MockLendingPool.sol/MockLendingPool.json +241 -0
- package/dist/artifacts/mocks/core/pools/MockLendingPoolCollector.sol/MockLendingPoolCollector.dbg.json +4 -0
- package/dist/artifacts/mocks/core/pools/MockLendingPoolCollector.sol/MockLendingPoolCollector.json +288 -0
- package/dist/artifacts/mocks/core/pools/MockLendingPoolDebtToken.sol/MockLendingPoolDebtToken.dbg.json +4 -0
- package/dist/artifacts/mocks/core/pools/MockLendingPoolDebtToken.sol/MockLendingPoolDebtToken.json +1560 -0
- package/dist/artifacts/mocks/core/pools/MockLiquidityPool.sol/MockLiquidityPool.dbg.json +4 -0
- package/dist/artifacts/mocks/core/pools/MockLiquidityPool.sol/MockLiquidityPool.json +1019 -0
- package/dist/artifacts/mocks/core/pools/MockPool.sol/MockPool.dbg.json +4 -0
- package/dist/artifacts/mocks/core/pools/MockPool.sol/MockPool.json +93 -0
- package/dist/artifacts/mocks/core/pools/MockStabilityPool.sol/MockStabilityPool.dbg.json +4 -0
- package/dist/artifacts/mocks/core/pools/MockStabilityPool.sol/MockStabilityPool.json +126 -0
- package/dist/artifacts/mocks/core/primitives/MockContract.sol/MockContract.dbg.json +4 -0
- package/dist/artifacts/mocks/core/primitives/MockContract.sol/MockContract.json +37 -0
- package/dist/artifacts/mocks/core/primitives/MockContractWithConfig.sol/MockContractWithConfig.dbg.json +4 -0
- package/dist/artifacts/mocks/core/primitives/MockContractWithConfig.sol/MockContractWithConfig.json +52 -0
- package/dist/artifacts/mocks/core/primitives/MockDistributableContract.sol/MockDistributableContract.dbg.json +4 -0
- package/dist/artifacts/mocks/core/primitives/MockDistributableContract.sol/MockDistributableContract.json +73 -0
- package/dist/artifacts/mocks/core/primitives/RAACHousePricesMock.sol/RAACHousePricesMock.dbg.json +4 -0
- package/dist/artifacts/mocks/core/primitives/RAACHousePricesMock.sol/RAACHousePricesMock.json +67 -0
- package/dist/artifacts/mocks/core/tokens/ERC20Mock.sol/ERC20Mock.dbg.json +4 -0
- package/dist/artifacts/mocks/core/tokens/ERC20Mock.sol/ERC20Mock.json +353 -0
- package/dist/artifacts/mocks/core/tokens/ERC721Mock.sol/ERC721Mock.dbg.json +4 -0
- package/dist/artifacts/mocks/core/tokens/ERC721Mock.sol/ERC721Mock.json +491 -0
- package/dist/artifacts/mocks/core/tokens/MockCollectableUnderlying.sol/MockCollectableUnderlying.dbg.json +4 -0
- package/dist/artifacts/mocks/core/tokens/MockCollectableUnderlying.sol/MockCollectableUnderlying.json +568 -0
- package/dist/artifacts/mocks/core/tokens/MockFeeCollectorToken.sol/MockFeeCollectorToken.dbg.json +4 -0
- package/dist/artifacts/mocks/core/tokens/MockFeeCollectorToken.sol/MockFeeCollectorToken.json +515 -0
- package/dist/artifacts/mocks/core/tokens/MockToken.sol/MockToken.dbg.json +4 -0
- package/dist/artifacts/mocks/core/tokens/MockToken.sol/MockToken.json +426 -0
- package/dist/artifacts/mocks/core/tokens/MockUSDC.sol/MockUSDC.dbg.json +4 -0
- package/dist/artifacts/mocks/core/tokens/MockUSDC.sol/MockUSDC.json +348 -0
- package/dist/artifacts/mocks/core/tokens/MockVeToken.sol/MockVeToken.dbg.json +4 -0
- package/dist/artifacts/mocks/core/tokens/MockVeToken.sol/MockVeToken.json +905 -0
- package/dist/artifacts/mocks/core/tokens/RAACMockERC20.sol/RAACMockERC20.dbg.json +4 -0
- package/dist/artifacts/mocks/core/tokens/RAACMockERC20.sol/RAACMockERC20.json +422 -0
- package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.dbg.json +4 -0
- package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +433 -433
- package/dist/artifacts/mocks/core/vaults/MockVault.sol/MockVault.dbg.json +4 -0
- package/dist/artifacts/mocks/core/vaults/MockVault.sol/MockVault.json +672 -0
- package/dist/artifacts/mocks/libraries/MockStringUtils.sol/MockStringUtils.dbg.json +4 -0
- package/dist/artifacts/mocks/libraries/MockStringUtils.sol/MockStringUtils.json +35 -0
- package/dist/artifacts/mocks/libraries/governance/BoostCalculatorMock.sol/BoostCalculatorMock.dbg.json +4 -0
- package/dist/artifacts/mocks/libraries/governance/BoostCalculatorMock.sol/BoostCalculatorMock.json +431 -0
- package/dist/artifacts/mocks/libraries/governance/CheckpointsMock.sol/CheckpointsMock.dbg.json +4 -0
- package/dist/artifacts/mocks/libraries/governance/CheckpointsMock.sol/CheckpointsMock.json +144 -0
- package/dist/artifacts/mocks/libraries/governance/LockManagerMock.sol/LockManagerMock.dbg.json +4 -0
- package/dist/artifacts/mocks/libraries/governance/LockManagerMock.sol/LockManagerMock.json +237 -0
- package/dist/artifacts/mocks/libraries/governance/PowerCheckpointMock.sol/PowerCheckpointMock.dbg.json +4 -0
- package/dist/artifacts/mocks/libraries/governance/PowerCheckpointMock.sol/PowerCheckpointMock.json +221 -0
- package/dist/artifacts/mocks/libraries/governance/RAACVotingMock.sol/RAACVotingMock.dbg.json +4 -0
- package/dist/artifacts/mocks/libraries/governance/RAACVotingMock.sol/RAACVotingMock.json +95 -0
- package/dist/artifacts/mocks/libraries/governance/VotingPowerMock.sol/VotingPowerMock.dbg.json +4 -0
- package/dist/artifacts/mocks/libraries/governance/VotingPowerMock.sol/VotingPowerMock.json +442 -0
- package/dist/artifacts/mocks/libraries/math/TimeWeightedAverageMock.sol/TimeWeightedAverageMock.dbg.json +4 -0
- package/dist/artifacts/mocks/libraries/math/TimeWeightedAverageMock.sol/TimeWeightedAverageMock.json +309 -0
- package/dist/artifacts/mocks/libraries/math/WadRayMathMock.sol/WadRayMathMock.dbg.json +4 -0
- package/dist/artifacts/mocks/libraries/math/WadRayMathMock.sol/WadRayMathMock.json +188 -0
- package/dist/artifacts/mocks/libraries/pools/ReserveLibraryMock.sol/ReserveLibraryMock.dbg.json +4 -0
- package/dist/artifacts/mocks/libraries/pools/ReserveLibraryMock.sol/ReserveLibraryMock.json +339 -0
- package/dist/artifacts/mocks/tests/MaliciousDeposit.sol/MaliciousDeposit.dbg.json +4 -0
- package/dist/artifacts/mocks/tests/MaliciousDeposit.sol/MaliciousDeposit.json +52 -0
- package/dist/artifacts/mocks/tests/MaliciousWithdraw.sol/MaliciousWithdraw.dbg.json +4 -0
- package/dist/artifacts/mocks/tests/MaliciousWithdraw.sol/MaliciousWithdraw.json +52 -0
- package/dist/artifacts/mocks/tests/VeRAACFuzzHelper.sol/VeRAACFuzzHelper.dbg.json +4 -0
- package/dist/artifacts/mocks/tests/VeRAACFuzzHelper.sol/VeRAACFuzzHelper.json +88 -0
- package/dist/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl.dbg.json +4 -0
- package/dist/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl.json +24 -0
- package/dist/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper.dbg.json +4 -0
- package/dist/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper.json +129 -0
- package/dist/artifacts/zeno/Auction.sol/Auction.dbg.json +4 -0
- package/dist/artifacts/zeno/Auction.sol/Auction.json +356 -356
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.dbg.json +4 -0
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +282 -282
- package/dist/artifacts/zeno/Zeno.sol/ZENO.dbg.json +4 -0
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +582 -582
- package/dist/artifacts/zeno/ZenoFactory.sol/ZENOFactory.dbg.json +4 -0
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +252 -252
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper.d.ts +261 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +49 -2
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +40 -1
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +40 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper__factory.d.ts +417 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/Math__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/boost/BoostController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +51 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/NFTLiquidator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/DEToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/LPToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +30 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/BoostCalculator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/Checkpoints__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/LockManager__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/RAACVoting__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/VotingPowerLib__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/utils/StringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockTreasury__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +31 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContractWithConfig__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContract__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/RAACHousePricesMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/CrvUSDToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC20Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC721Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockFeeCollectorToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockUSDC__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockVeToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/RAACMockERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/BoostCalculatorMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/CheckpointsMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/RAACVotingMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/VotingPowerMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/TimeWeightedAverageMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/WadRayMathMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousDeposit__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousWithdraw__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +1 -1
- package/dist/types/typechain-types/index.d.ts +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../../common";
|
|
3
|
+
export interface ERC721WrapperInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "approve" | "balanceOf" | "depositFor" | "getApproved" | "isApprovedForAll" | "name" | "onERC721Received" | "ownerOf" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "supportsInterface" | "symbol" | "tokenURI" | "transferFrom" | "underlying" | "withdrawTo"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "Transfer"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "depositFor", values: [AddressLike, BigNumberish[]]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "getApproved", values: [BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "onERC721Received", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "ownerOf", values: [BigNumberish]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256)", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
19
|
+
encodeFunctionData(functionFragment: "tokenURI", values: [BigNumberish]): string;
|
|
20
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
21
|
+
encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
|
|
22
|
+
encodeFunctionData(functionFragment: "withdrawTo", values: [AddressLike, BigNumberish[]]): string;
|
|
23
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "depositFor", data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: "getApproved", data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result;
|
|
28
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
29
|
+
decodeFunctionResult(functionFragment: "onERC721Received", data: BytesLike): Result;
|
|
30
|
+
decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result;
|
|
31
|
+
decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256)", data: BytesLike): Result;
|
|
32
|
+
decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike): Result;
|
|
33
|
+
decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result;
|
|
34
|
+
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
35
|
+
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
36
|
+
decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result;
|
|
37
|
+
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
38
|
+
decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
|
|
39
|
+
decodeFunctionResult(functionFragment: "withdrawTo", data: BytesLike): Result;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace ApprovalEvent {
|
|
42
|
+
type InputTuple = [
|
|
43
|
+
owner: AddressLike,
|
|
44
|
+
approved: AddressLike,
|
|
45
|
+
tokenId: BigNumberish
|
|
46
|
+
];
|
|
47
|
+
type OutputTuple = [owner: string, approved: string, tokenId: bigint];
|
|
48
|
+
interface OutputObject {
|
|
49
|
+
owner: string;
|
|
50
|
+
approved: string;
|
|
51
|
+
tokenId: bigint;
|
|
52
|
+
}
|
|
53
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
54
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
55
|
+
type Log = TypedEventLog<Event>;
|
|
56
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
57
|
+
}
|
|
58
|
+
export declare namespace ApprovalForAllEvent {
|
|
59
|
+
type InputTuple = [
|
|
60
|
+
owner: AddressLike,
|
|
61
|
+
operator: AddressLike,
|
|
62
|
+
approved: boolean
|
|
63
|
+
];
|
|
64
|
+
type OutputTuple = [
|
|
65
|
+
owner: string,
|
|
66
|
+
operator: string,
|
|
67
|
+
approved: boolean
|
|
68
|
+
];
|
|
69
|
+
interface OutputObject {
|
|
70
|
+
owner: string;
|
|
71
|
+
operator: string;
|
|
72
|
+
approved: boolean;
|
|
73
|
+
}
|
|
74
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
75
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
76
|
+
type Log = TypedEventLog<Event>;
|
|
77
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace TransferEvent {
|
|
80
|
+
type InputTuple = [
|
|
81
|
+
from: AddressLike,
|
|
82
|
+
to: AddressLike,
|
|
83
|
+
tokenId: BigNumberish
|
|
84
|
+
];
|
|
85
|
+
type OutputTuple = [from: string, to: string, tokenId: bigint];
|
|
86
|
+
interface OutputObject {
|
|
87
|
+
from: string;
|
|
88
|
+
to: string;
|
|
89
|
+
tokenId: bigint;
|
|
90
|
+
}
|
|
91
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
92
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
93
|
+
type Log = TypedEventLog<Event>;
|
|
94
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
95
|
+
}
|
|
96
|
+
export interface ERC721Wrapper extends BaseContract {
|
|
97
|
+
connect(runner?: ContractRunner | null): ERC721Wrapper;
|
|
98
|
+
waitForDeployment(): Promise<this>;
|
|
99
|
+
interface: ERC721WrapperInterface;
|
|
100
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
101
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
102
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
103
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
104
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
105
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
106
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
107
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
108
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
109
|
+
approve: TypedContractMethod<[
|
|
110
|
+
to: AddressLike,
|
|
111
|
+
tokenId: BigNumberish
|
|
112
|
+
], [
|
|
113
|
+
void
|
|
114
|
+
], "nonpayable">;
|
|
115
|
+
balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
116
|
+
depositFor: TypedContractMethod<[
|
|
117
|
+
account: AddressLike,
|
|
118
|
+
tokenIds: BigNumberish[]
|
|
119
|
+
], [
|
|
120
|
+
boolean
|
|
121
|
+
], "nonpayable">;
|
|
122
|
+
getApproved: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
123
|
+
isApprovedForAll: TypedContractMethod<[
|
|
124
|
+
owner: AddressLike,
|
|
125
|
+
operator: AddressLike
|
|
126
|
+
], [
|
|
127
|
+
boolean
|
|
128
|
+
], "view">;
|
|
129
|
+
name: TypedContractMethod<[], [string], "view">;
|
|
130
|
+
onERC721Received: TypedContractMethod<[
|
|
131
|
+
arg0: AddressLike,
|
|
132
|
+
from: AddressLike,
|
|
133
|
+
tokenId: BigNumberish,
|
|
134
|
+
arg3: BytesLike
|
|
135
|
+
], [
|
|
136
|
+
string
|
|
137
|
+
], "nonpayable">;
|
|
138
|
+
ownerOf: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
139
|
+
"safeTransferFrom(address,address,uint256)": TypedContractMethod<[
|
|
140
|
+
from: AddressLike,
|
|
141
|
+
to: AddressLike,
|
|
142
|
+
tokenId: BigNumberish
|
|
143
|
+
], [
|
|
144
|
+
void
|
|
145
|
+
], "nonpayable">;
|
|
146
|
+
"safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod<[
|
|
147
|
+
from: AddressLike,
|
|
148
|
+
to: AddressLike,
|
|
149
|
+
tokenId: BigNumberish,
|
|
150
|
+
data: BytesLike
|
|
151
|
+
], [
|
|
152
|
+
void
|
|
153
|
+
], "nonpayable">;
|
|
154
|
+
setApprovalForAll: TypedContractMethod<[
|
|
155
|
+
operator: AddressLike,
|
|
156
|
+
approved: boolean
|
|
157
|
+
], [
|
|
158
|
+
void
|
|
159
|
+
], "nonpayable">;
|
|
160
|
+
supportsInterface: TypedContractMethod<[
|
|
161
|
+
interfaceId: BytesLike
|
|
162
|
+
], [
|
|
163
|
+
boolean
|
|
164
|
+
], "view">;
|
|
165
|
+
symbol: TypedContractMethod<[], [string], "view">;
|
|
166
|
+
tokenURI: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
167
|
+
transferFrom: TypedContractMethod<[
|
|
168
|
+
from: AddressLike,
|
|
169
|
+
to: AddressLike,
|
|
170
|
+
tokenId: BigNumberish
|
|
171
|
+
], [
|
|
172
|
+
void
|
|
173
|
+
], "nonpayable">;
|
|
174
|
+
underlying: TypedContractMethod<[], [string], "view">;
|
|
175
|
+
withdrawTo: TypedContractMethod<[
|
|
176
|
+
account: AddressLike,
|
|
177
|
+
tokenIds: BigNumberish[]
|
|
178
|
+
], [
|
|
179
|
+
boolean
|
|
180
|
+
], "nonpayable">;
|
|
181
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
182
|
+
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
183
|
+
to: AddressLike,
|
|
184
|
+
tokenId: BigNumberish
|
|
185
|
+
], [
|
|
186
|
+
void
|
|
187
|
+
], "nonpayable">;
|
|
188
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
189
|
+
getFunction(nameOrSignature: "depositFor"): TypedContractMethod<[
|
|
190
|
+
account: AddressLike,
|
|
191
|
+
tokenIds: BigNumberish[]
|
|
192
|
+
], [
|
|
193
|
+
boolean
|
|
194
|
+
], "nonpayable">;
|
|
195
|
+
getFunction(nameOrSignature: "getApproved"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
196
|
+
getFunction(nameOrSignature: "isApprovedForAll"): TypedContractMethod<[
|
|
197
|
+
owner: AddressLike,
|
|
198
|
+
operator: AddressLike
|
|
199
|
+
], [
|
|
200
|
+
boolean
|
|
201
|
+
], "view">;
|
|
202
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
203
|
+
getFunction(nameOrSignature: "onERC721Received"): TypedContractMethod<[
|
|
204
|
+
arg0: AddressLike,
|
|
205
|
+
from: AddressLike,
|
|
206
|
+
tokenId: BigNumberish,
|
|
207
|
+
arg3: BytesLike
|
|
208
|
+
], [
|
|
209
|
+
string
|
|
210
|
+
], "nonpayable">;
|
|
211
|
+
getFunction(nameOrSignature: "ownerOf"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
212
|
+
getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256)"): TypedContractMethod<[
|
|
213
|
+
from: AddressLike,
|
|
214
|
+
to: AddressLike,
|
|
215
|
+
tokenId: BigNumberish
|
|
216
|
+
], [
|
|
217
|
+
void
|
|
218
|
+
], "nonpayable">;
|
|
219
|
+
getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)"): TypedContractMethod<[
|
|
220
|
+
from: AddressLike,
|
|
221
|
+
to: AddressLike,
|
|
222
|
+
tokenId: BigNumberish,
|
|
223
|
+
data: BytesLike
|
|
224
|
+
], [
|
|
225
|
+
void
|
|
226
|
+
], "nonpayable">;
|
|
227
|
+
getFunction(nameOrSignature: "setApprovalForAll"): TypedContractMethod<[
|
|
228
|
+
operator: AddressLike,
|
|
229
|
+
approved: boolean
|
|
230
|
+
], [
|
|
231
|
+
void
|
|
232
|
+
], "nonpayable">;
|
|
233
|
+
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
234
|
+
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
235
|
+
getFunction(nameOrSignature: "tokenURI"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
236
|
+
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
237
|
+
from: AddressLike,
|
|
238
|
+
to: AddressLike,
|
|
239
|
+
tokenId: BigNumberish
|
|
240
|
+
], [
|
|
241
|
+
void
|
|
242
|
+
], "nonpayable">;
|
|
243
|
+
getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
|
|
244
|
+
getFunction(nameOrSignature: "withdrawTo"): TypedContractMethod<[
|
|
245
|
+
account: AddressLike,
|
|
246
|
+
tokenIds: BigNumberish[]
|
|
247
|
+
], [
|
|
248
|
+
boolean
|
|
249
|
+
], "nonpayable">;
|
|
250
|
+
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
251
|
+
getEvent(key: "ApprovalForAll"): TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
252
|
+
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
253
|
+
filters: {
|
|
254
|
+
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
255
|
+
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
256
|
+
"ApprovalForAll(address,address,bool)": TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
257
|
+
ApprovalForAll: TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
258
|
+
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
259
|
+
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
260
|
+
};
|
|
261
|
+
}
|
|
@@ -129,8 +129,8 @@ export declare namespace ReserveLibrary {
|
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
131
|
export interface LendingPoolInterface extends Interface {
|
|
132
|
-
getFunction(nameOrSignature: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD" | "BASE_LIQUIDATION_GRACE_PERIOD" | "BASE_LIQUIDATION_THRESHOLD" | "borrow" | "borrowWithInsurance" | "calculateHealthFactor" | "calculateInsuranceFee" | "canPaybackDebt" | "claimCollectorRewards" | "claimReward" | "closeLiquidation" | "debtToken" | "deposit" | "depositNFT" | "depositRewardTokens" | "feeCollector" | "finalizeLiquidation" | "getAllUserData" | "getEligibleUserDeposits" | "getNFTPrice" | "getNormalizedDebt" | "getNormalizedIncome" | "getPendingReward" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionView" | "getPositionsScaledDebt" | "getPrimeRate" | "getRAACNFTAddress" | "getReserveRateData" | "getReserveState" | "getUnclaimedVaultRewards" | "getUninsuredBalance" | "getUserCollateralValue" | "getUserDebt" | "getUserDeposits" | "getUserDepositsInStabilityPool" | "getUserOfDepositedNFT" | "healthFactorLiquidationThreshold" | "initiateLiquidation" | "insuranceFee" | "liquidationGracePeriod" | "liquidationThreshold" | "liquidityBufferRatio" | "onERC721Received" | "owner" | "pause" | "paused" | "positions" | "priceOracle" | "primeRateOracle" | "rToken" | "raacNFT" | "rateData" | "renounceOwnership" | "repay" | "repayOnBehalf" | "rescueToken" | "reserve" | "reserveAssetToken" | "rewardData" | "setFeeCollector" | "setParameter" | "setPrimeRate" | "setPrimeRateOracle" | "setRewardToken" | "setStabilityPool" | "setVault" | "stabilityPool" | "transferAccruedDust" | "transferOwnership" | "unpause" | "updateState" | "updateUserReward" | "userData" | "vault" | "vaultRewards" | "withdraw" | "withdrawNFT" | "withdrawalsPaused"): FunctionFragment;
|
|
133
|
-
getEvent(nameOrSignatureOrTopic: "Borrow" | "CanPaybackDebtChanged" | "Deposit(address,uint256,uint256)" | "Deposit(address,uint256,uint256)" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "InsuredNFT" | "InterestRatesUpdated" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationParametersUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "NotFeeCollector" | "OwnershipTransferred" | "Paused" | "PrimeRateUpdated" | "ProtocolFeeRateUpdated" | "ProtocolFeesCollected" | "ProtocolFeesWithdrawn" | "Repay" | "ReserveInterestsUpdated" | "RewardClaimed" | "RewardDistributed" | "RewardParametersUpdated" | "RewardTokenAdded" | "RewardTokensDeposited" | "StabilityPoolUpdated" | "Unpaused" | "VaultRewardsClaimed" | "VaultUpdated" | "VaultWithdrawalFailed" | "Withdraw(address,uint256)" | "Withdraw(address,uint256,uint256)" | "WithdrawalsPauseStatusChanged"): EventFragment;
|
|
132
|
+
getFunction(nameOrSignature: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD" | "BASE_LIQUIDATION_GRACE_PERIOD" | "BASE_LIQUIDATION_THRESHOLD" | "borrow" | "borrowWithInsurance" | "calculateHealthFactor" | "calculateInsuranceFee" | "canPaybackDebt" | "claimCollectorRewards" | "claimReward" | "closeLiquidation" | "debtToken" | "deposit" | "depositFee" | "depositNFT" | "depositRewardTokens" | "feeCollector" | "finalizeLiquidation" | "getAllUserData" | "getEligibleUserDeposits" | "getNFTPrice" | "getNormalizedDebt" | "getNormalizedIncome" | "getPendingReward" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionView" | "getPositionsScaledDebt" | "getPrimeRate" | "getRAACNFTAddress" | "getReserveRateData" | "getReserveState" | "getUnclaimedVaultRewards" | "getUninsuredBalance" | "getUserCollateralValue" | "getUserDebt" | "getUserDeposits" | "getUserDepositsInStabilityPool" | "getUserOfDepositedNFT" | "healthFactorLiquidationThreshold" | "initiateLiquidation" | "insuranceFee" | "liquidationGracePeriod" | "liquidationThreshold" | "liquidityBufferRatio" | "onERC721Received" | "owner" | "pause" | "paused" | "positions" | "priceOracle" | "primeRateOracle" | "rToken" | "raacNFT" | "rateData" | "renounceOwnership" | "repay" | "repayOnBehalf" | "rescueToken" | "reserve" | "reserveAssetToken" | "rewardData" | "setFeeCollector" | "setParameter" | "setPrimeRate" | "setPrimeRateOracle" | "setRewardToken" | "setStabilityPool" | "setVault" | "stabilityPool" | "transferAccruedDust" | "transferOwnership" | "unpause" | "updateState" | "updateUserReward" | "userData" | "vault" | "vaultRewards" | "withdraw" | "withdrawNFT" | "withdrawalFee" | "withdrawalsPaused"): FunctionFragment;
|
|
133
|
+
getEvent(nameOrSignatureOrTopic: "Borrow" | "CanPaybackDebtChanged" | "Deposit(address,uint256,uint256)" | "Deposit(address,uint256,uint256)" | "DepositFeeUpdated" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "InsuredNFT" | "InterestRatesUpdated" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationParametersUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "NotFeeCollector" | "OwnershipTransferred" | "Paused" | "PrimeRateUpdated" | "ProtocolFeeRateUpdated" | "ProtocolFeesCollected" | "ProtocolFeesWithdrawn" | "Repay" | "ReserveInterestsUpdated" | "RewardClaimed" | "RewardDistributed" | "RewardParametersUpdated" | "RewardTokenAdded" | "RewardTokensDeposited" | "StabilityPoolUpdated" | "Unpaused" | "VaultRewardsClaimed" | "VaultUpdated" | "VaultWithdrawalFailed" | "Withdraw(address,uint256)" | "Withdraw(address,uint256,uint256)" | "WithdrawFeeUpdated" | "WithdrawalsPauseStatusChanged"): EventFragment;
|
|
134
134
|
encodeFunctionData(functionFragment: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD", values?: undefined): string;
|
|
135
135
|
encodeFunctionData(functionFragment: "BASE_LIQUIDATION_GRACE_PERIOD", values?: undefined): string;
|
|
136
136
|
encodeFunctionData(functionFragment: "BASE_LIQUIDATION_THRESHOLD", values?: undefined): string;
|
|
@@ -144,6 +144,7 @@ export interface LendingPoolInterface extends Interface {
|
|
|
144
144
|
encodeFunctionData(functionFragment: "closeLiquidation", values: [BigNumberish]): string;
|
|
145
145
|
encodeFunctionData(functionFragment: "debtToken", values?: undefined): string;
|
|
146
146
|
encodeFunctionData(functionFragment: "deposit", values: [BigNumberish]): string;
|
|
147
|
+
encodeFunctionData(functionFragment: "depositFee", values?: undefined): string;
|
|
147
148
|
encodeFunctionData(functionFragment: "depositNFT", values: [BigNumberish]): string;
|
|
148
149
|
encodeFunctionData(functionFragment: "depositRewardTokens", values: [BigNumberish]): string;
|
|
149
150
|
encodeFunctionData(functionFragment: "feeCollector", values?: undefined): string;
|
|
@@ -212,6 +213,7 @@ export interface LendingPoolInterface extends Interface {
|
|
|
212
213
|
encodeFunctionData(functionFragment: "vaultRewards", values?: undefined): string;
|
|
213
214
|
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
214
215
|
encodeFunctionData(functionFragment: "withdrawNFT", values: [BigNumberish]): string;
|
|
216
|
+
encodeFunctionData(functionFragment: "withdrawalFee", values?: undefined): string;
|
|
215
217
|
encodeFunctionData(functionFragment: "withdrawalsPaused", values?: undefined): string;
|
|
216
218
|
decodeFunctionResult(functionFragment: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD", data: BytesLike): Result;
|
|
217
219
|
decodeFunctionResult(functionFragment: "BASE_LIQUIDATION_GRACE_PERIOD", data: BytesLike): Result;
|
|
@@ -226,6 +228,7 @@ export interface LendingPoolInterface extends Interface {
|
|
|
226
228
|
decodeFunctionResult(functionFragment: "closeLiquidation", data: BytesLike): Result;
|
|
227
229
|
decodeFunctionResult(functionFragment: "debtToken", data: BytesLike): Result;
|
|
228
230
|
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
|
|
231
|
+
decodeFunctionResult(functionFragment: "depositFee", data: BytesLike): Result;
|
|
229
232
|
decodeFunctionResult(functionFragment: "depositNFT", data: BytesLike): Result;
|
|
230
233
|
decodeFunctionResult(functionFragment: "depositRewardTokens", data: BytesLike): Result;
|
|
231
234
|
decodeFunctionResult(functionFragment: "feeCollector", data: BytesLike): Result;
|
|
@@ -294,6 +297,7 @@ export interface LendingPoolInterface extends Interface {
|
|
|
294
297
|
decodeFunctionResult(functionFragment: "vaultRewards", data: BytesLike): Result;
|
|
295
298
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
296
299
|
decodeFunctionResult(functionFragment: "withdrawNFT", data: BytesLike): Result;
|
|
300
|
+
decodeFunctionResult(functionFragment: "withdrawalFee", data: BytesLike): Result;
|
|
297
301
|
decodeFunctionResult(functionFragment: "withdrawalsPaused", data: BytesLike): Result;
|
|
298
302
|
}
|
|
299
303
|
export declare namespace BorrowEvent {
|
|
@@ -361,6 +365,21 @@ export declare namespace Deposit_address_uint256_uint256_Event {
|
|
|
361
365
|
type Log = TypedEventLog<Event>;
|
|
362
366
|
type LogDescription = TypedLogDescription<Event>;
|
|
363
367
|
}
|
|
368
|
+
export declare namespace DepositFeeUpdatedEvent {
|
|
369
|
+
type InputTuple = [
|
|
370
|
+
oldDepositFee: BigNumberish,
|
|
371
|
+
newDepositFee: BigNumberish
|
|
372
|
+
];
|
|
373
|
+
type OutputTuple = [oldDepositFee: bigint, newDepositFee: bigint];
|
|
374
|
+
interface OutputObject {
|
|
375
|
+
oldDepositFee: bigint;
|
|
376
|
+
newDepositFee: bigint;
|
|
377
|
+
}
|
|
378
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
379
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
380
|
+
type Log = TypedEventLog<Event>;
|
|
381
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
382
|
+
}
|
|
364
383
|
export declare namespace FeeCollectorUpdatedEvent {
|
|
365
384
|
type InputTuple = [
|
|
366
385
|
oldFeeCollector: AddressLike,
|
|
@@ -881,6 +900,24 @@ export declare namespace Withdraw_address_uint256_uint256_Event {
|
|
|
881
900
|
type Log = TypedEventLog<Event>;
|
|
882
901
|
type LogDescription = TypedLogDescription<Event>;
|
|
883
902
|
}
|
|
903
|
+
export declare namespace WithdrawFeeUpdatedEvent {
|
|
904
|
+
type InputTuple = [
|
|
905
|
+
oldWithdrawalFee: BigNumberish,
|
|
906
|
+
newWithdrawalFee: BigNumberish
|
|
907
|
+
];
|
|
908
|
+
type OutputTuple = [
|
|
909
|
+
oldWithdrawalFee: bigint,
|
|
910
|
+
newWithdrawalFee: bigint
|
|
911
|
+
];
|
|
912
|
+
interface OutputObject {
|
|
913
|
+
oldWithdrawalFee: bigint;
|
|
914
|
+
newWithdrawalFee: bigint;
|
|
915
|
+
}
|
|
916
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
917
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
918
|
+
type Log = TypedEventLog<Event>;
|
|
919
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
920
|
+
}
|
|
884
921
|
export declare namespace WithdrawalsPauseStatusChangedEvent {
|
|
885
922
|
type InputTuple = [isPaused: boolean];
|
|
886
923
|
type OutputTuple = [isPaused: boolean];
|
|
@@ -946,6 +983,7 @@ export interface LendingPool extends BaseContract {
|
|
|
946
983
|
], "nonpayable">;
|
|
947
984
|
debtToken: TypedContractMethod<[], [string], "view">;
|
|
948
985
|
deposit: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
986
|
+
depositFee: TypedContractMethod<[], [bigint], "view">;
|
|
949
987
|
depositNFT: TypedContractMethod<[
|
|
950
988
|
tokenId: BigNumberish
|
|
951
989
|
], [
|
|
@@ -1251,6 +1289,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1251
1289
|
], [
|
|
1252
1290
|
void
|
|
1253
1291
|
], "nonpayable">;
|
|
1292
|
+
withdrawalFee: TypedContractMethod<[], [bigint], "view">;
|
|
1254
1293
|
withdrawalsPaused: TypedContractMethod<[], [boolean], "view">;
|
|
1255
1294
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
1256
1295
|
getFunction(nameOrSignature: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD"): TypedContractMethod<[], [bigint], "view">;
|
|
@@ -1287,6 +1326,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1287
1326
|
getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">;
|
|
1288
1327
|
getFunction(nameOrSignature: "debtToken"): TypedContractMethod<[], [string], "view">;
|
|
1289
1328
|
getFunction(nameOrSignature: "deposit"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1329
|
+
getFunction(nameOrSignature: "depositFee"): TypedContractMethod<[], [bigint], "view">;
|
|
1290
1330
|
getFunction(nameOrSignature: "depositNFT"): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">;
|
|
1291
1331
|
getFunction(nameOrSignature: "depositRewardTokens"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1292
1332
|
getFunction(nameOrSignature: "feeCollector"): TypedContractMethod<[], [string], "view">;
|
|
@@ -1525,11 +1565,13 @@ export interface LendingPool extends BaseContract {
|
|
|
1525
1565
|
], "view">;
|
|
1526
1566
|
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1527
1567
|
getFunction(nameOrSignature: "withdrawNFT"): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">;
|
|
1568
|
+
getFunction(nameOrSignature: "withdrawalFee"): TypedContractMethod<[], [bigint], "view">;
|
|
1528
1569
|
getFunction(nameOrSignature: "withdrawalsPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
1529
1570
|
getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
1530
1571
|
getEvent(key: "CanPaybackDebtChanged"): TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
1531
1572
|
getEvent(key: "Deposit(address,uint256,uint256)"): TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
|
|
1532
1573
|
getEvent(key: "Deposit(address,uint256,uint256)"): TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
|
|
1574
|
+
getEvent(key: "DepositFeeUpdated"): TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
1533
1575
|
getEvent(key: "FeeCollectorUpdated"): TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
1534
1576
|
getEvent(key: "InsufficientFees"): TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
1535
1577
|
getEvent(key: "InsuranceFeeUpdated"): TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
@@ -1565,6 +1607,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1565
1607
|
getEvent(key: "VaultWithdrawalFailed"): TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
1566
1608
|
getEvent(key: "Withdraw(address,uint256)"): TypedContractEvent<Withdraw_address_uint256_Event.InputTuple, Withdraw_address_uint256_Event.OutputTuple, Withdraw_address_uint256_Event.OutputObject>;
|
|
1567
1609
|
getEvent(key: "Withdraw(address,uint256,uint256)"): TypedContractEvent<Withdraw_address_uint256_uint256_Event.InputTuple, Withdraw_address_uint256_uint256_Event.OutputTuple, Withdraw_address_uint256_uint256_Event.OutputObject>;
|
|
1610
|
+
getEvent(key: "WithdrawFeeUpdated"): TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1568
1611
|
getEvent(key: "WithdrawalsPauseStatusChanged"): TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
1569
1612
|
filters: {
|
|
1570
1613
|
"Borrow(address,uint256)": TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
@@ -1573,6 +1616,8 @@ export interface LendingPool extends BaseContract {
|
|
|
1573
1616
|
CanPaybackDebtChanged: TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
1574
1617
|
"Deposit(address,uint256,uint256)": TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
|
|
1575
1618
|
"Deposit(address,uint256,uint256)": TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
|
|
1619
|
+
"DepositFeeUpdated(uint256,uint256)": TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
1620
|
+
DepositFeeUpdated: TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
1576
1621
|
"FeeCollectorUpdated(address,address)": TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
1577
1622
|
FeeCollectorUpdated: TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
1578
1623
|
"InsufficientFees()": TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
@@ -1641,6 +1686,8 @@ export interface LendingPool extends BaseContract {
|
|
|
1641
1686
|
VaultWithdrawalFailed: TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
1642
1687
|
"Withdraw(address,uint256)": TypedContractEvent<Withdraw_address_uint256_Event.InputTuple, Withdraw_address_uint256_Event.OutputTuple, Withdraw_address_uint256_Event.OutputObject>;
|
|
1643
1688
|
"Withdraw(address,uint256,uint256)": TypedContractEvent<Withdraw_address_uint256_uint256_Event.InputTuple, Withdraw_address_uint256_uint256_Event.OutputTuple, Withdraw_address_uint256_uint256_Event.OutputObject>;
|
|
1689
|
+
"WithdrawFeeUpdated(uint256,uint256)": TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1690
|
+
WithdrawFeeUpdated: TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1644
1691
|
"WithdrawalsPauseStatusChanged(bool)": TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
1645
1692
|
WithdrawalsPauseStatusChanged: TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
1646
1693
|
};
|
package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export declare namespace ILendingPool {
|
|
|
70
70
|
}
|
|
71
71
|
export interface ILendingPoolInterface extends Interface {
|
|
72
72
|
getFunction(nameOrSignature: "borrow" | "calculateHealthFactor" | "claimCollectorRewards" | "claimReward" | "closeLiquidation" | "deposit" | "depositNFT" | "depositRewardTokens" | "finalizeLiquidation" | "getAllUserData" | "getNFTPrice" | "getNormalizedDebt" | "getNormalizedIncome" | "getPendingReward" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionsScaledDebt" | "getRAACNFTAddress" | "getUserCollateralValue" | "getUserDebt" | "initiateLiquidation" | "onERC721Received" | "repay" | "repayOnBehalf" | "setParameter" | "setPrimeRate" | "setStabilityPool" | "transferAccruedDust" | "updateState" | "updateUserReward" | "withdraw" | "withdrawNFT"): FunctionFragment;
|
|
73
|
-
getEvent(nameOrSignatureOrTopic: "Borrow" | "CanPaybackDebtChanged" | "Deposit" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "InsuredNFT" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationParametersUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "NotFeeCollector" | "ProtocolFeeRateUpdated" | "ProtocolFeesCollected" | "ProtocolFeesWithdrawn" | "Repay" | "RewardClaimed" | "RewardDistributed" | "RewardParametersUpdated" | "RewardTokenAdded" | "RewardTokensDeposited" | "StabilityPoolUpdated" | "VaultRewardsClaimed" | "VaultUpdated" | "VaultWithdrawalFailed" | "Withdraw" | "WithdrawalsPauseStatusChanged"): EventFragment;
|
|
73
|
+
getEvent(nameOrSignatureOrTopic: "Borrow" | "CanPaybackDebtChanged" | "Deposit" | "DepositFeeUpdated" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "InsuredNFT" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationParametersUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "NotFeeCollector" | "ProtocolFeeRateUpdated" | "ProtocolFeesCollected" | "ProtocolFeesWithdrawn" | "Repay" | "RewardClaimed" | "RewardDistributed" | "RewardParametersUpdated" | "RewardTokenAdded" | "RewardTokensDeposited" | "StabilityPoolUpdated" | "VaultRewardsClaimed" | "VaultUpdated" | "VaultWithdrawalFailed" | "Withdraw" | "WithdrawFeeUpdated" | "WithdrawalsPauseStatusChanged"): EventFragment;
|
|
74
74
|
encodeFunctionData(functionFragment: "borrow", values: [BigNumberish, BigNumberish]): string;
|
|
75
75
|
encodeFunctionData(functionFragment: "calculateHealthFactor", values: [AddressLike, BigNumberish]): string;
|
|
76
76
|
encodeFunctionData(functionFragment: "claimCollectorRewards", values?: undefined): string;
|
|
@@ -184,6 +184,21 @@ export declare namespace DepositEvent {
|
|
|
184
184
|
type Log = TypedEventLog<Event>;
|
|
185
185
|
type LogDescription = TypedLogDescription<Event>;
|
|
186
186
|
}
|
|
187
|
+
export declare namespace DepositFeeUpdatedEvent {
|
|
188
|
+
type InputTuple = [
|
|
189
|
+
oldDepositFee: BigNumberish,
|
|
190
|
+
newDepositFee: BigNumberish
|
|
191
|
+
];
|
|
192
|
+
type OutputTuple = [oldDepositFee: bigint, newDepositFee: bigint];
|
|
193
|
+
interface OutputObject {
|
|
194
|
+
oldDepositFee: bigint;
|
|
195
|
+
newDepositFee: bigint;
|
|
196
|
+
}
|
|
197
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
198
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
199
|
+
type Log = TypedEventLog<Event>;
|
|
200
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
201
|
+
}
|
|
187
202
|
export declare namespace FeeCollectorUpdatedEvent {
|
|
188
203
|
type InputTuple = [
|
|
189
204
|
oldFeeCollector: AddressLike,
|
|
@@ -604,6 +619,24 @@ export declare namespace WithdrawEvent {
|
|
|
604
619
|
type Log = TypedEventLog<Event>;
|
|
605
620
|
type LogDescription = TypedLogDescription<Event>;
|
|
606
621
|
}
|
|
622
|
+
export declare namespace WithdrawFeeUpdatedEvent {
|
|
623
|
+
type InputTuple = [
|
|
624
|
+
oldWithdrawalFee: BigNumberish,
|
|
625
|
+
newWithdrawalFee: BigNumberish
|
|
626
|
+
];
|
|
627
|
+
type OutputTuple = [
|
|
628
|
+
oldWithdrawalFee: bigint,
|
|
629
|
+
newWithdrawalFee: bigint
|
|
630
|
+
];
|
|
631
|
+
interface OutputObject {
|
|
632
|
+
oldWithdrawalFee: bigint;
|
|
633
|
+
newWithdrawalFee: bigint;
|
|
634
|
+
}
|
|
635
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
636
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
637
|
+
type Log = TypedEventLog<Event>;
|
|
638
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
639
|
+
}
|
|
607
640
|
export declare namespace WithdrawalsPauseStatusChangedEvent {
|
|
608
641
|
type InputTuple = [isPaused: boolean];
|
|
609
642
|
type OutputTuple = [isPaused: boolean];
|
|
@@ -884,6 +917,7 @@ export interface ILendingPool extends BaseContract {
|
|
|
884
917
|
getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
885
918
|
getEvent(key: "CanPaybackDebtChanged"): TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
886
919
|
getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
920
|
+
getEvent(key: "DepositFeeUpdated"): TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
887
921
|
getEvent(key: "FeeCollectorUpdated"): TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
888
922
|
getEvent(key: "InsufficientFees"): TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
889
923
|
getEvent(key: "InsuranceFeeUpdated"): TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
@@ -912,6 +946,7 @@ export interface ILendingPool extends BaseContract {
|
|
|
912
946
|
getEvent(key: "VaultUpdated"): TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
|
|
913
947
|
getEvent(key: "VaultWithdrawalFailed"): TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
914
948
|
getEvent(key: "Withdraw"): TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
949
|
+
getEvent(key: "WithdrawFeeUpdated"): TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
915
950
|
getEvent(key: "WithdrawalsPauseStatusChanged"): TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
916
951
|
filters: {
|
|
917
952
|
"Borrow(address,uint256)": TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
@@ -920,6 +955,8 @@ export interface ILendingPool extends BaseContract {
|
|
|
920
955
|
CanPaybackDebtChanged: TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
921
956
|
"Deposit(address,uint256,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
922
957
|
Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
958
|
+
"DepositFeeUpdated(uint256,uint256)": TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
959
|
+
DepositFeeUpdated: TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
923
960
|
"FeeCollectorUpdated(address,address)": TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
924
961
|
FeeCollectorUpdated: TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
925
962
|
"InsufficientFees()": TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
@@ -976,6 +1013,8 @@ export interface ILendingPool extends BaseContract {
|
|
|
976
1013
|
VaultWithdrawalFailed: TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
977
1014
|
"Withdraw(address,uint256)": TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
978
1015
|
Withdraw: TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
1016
|
+
"WithdrawFeeUpdated(uint256,uint256)": TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1017
|
+
WithdrawFeeUpdated: TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
979
1018
|
"WithdrawalsPauseStatusChanged(bool)": TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
980
1019
|
WithdrawalsPauseStatusChanged: TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
981
1020
|
};
|
|
@@ -70,7 +70,7 @@ export declare namespace ILendingPool {
|
|
|
70
70
|
}
|
|
71
71
|
export interface MockLendingPoolDebtTokenInterface extends Interface {
|
|
72
72
|
getFunction(nameOrSignature: "borrow" | "calculateHealthFactor" | "claimCollectorRewards" | "claimReward" | "closeLiquidation" | "deposit" | "depositNFT" | "depositRewardTokens" | "finalizeLiquidation" | "getAllUserData" | "getNFTPrice" | "getNormalizedDebt" | "getNormalizedIncome" | "getPendingReward" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionsScaledDebt" | "getRAACNFTAddress" | "getUserCollateralValue" | "getUserDebt" | "initiateLiquidation" | "onERC721Received" | "repay" | "repayOnBehalf" | "setNormalizedDebt" | "setParameter" | "setPrimeRate" | "setStabilityPool" | "transferAccruedDust" | "updateState" | "updateUserReward" | "withdraw" | "withdrawNFT"): FunctionFragment;
|
|
73
|
-
getEvent(nameOrSignatureOrTopic: "Borrow" | "CanPaybackDebtChanged" | "Deposit" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "InsuredNFT" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationParametersUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "NotFeeCollector" | "ProtocolFeeRateUpdated" | "ProtocolFeesCollected" | "ProtocolFeesWithdrawn" | "Repay" | "RewardClaimed" | "RewardDistributed" | "RewardParametersUpdated" | "RewardTokenAdded" | "RewardTokensDeposited" | "StabilityPoolUpdated" | "VaultRewardsClaimed" | "VaultUpdated" | "VaultWithdrawalFailed" | "Withdraw" | "WithdrawalsPauseStatusChanged"): EventFragment;
|
|
73
|
+
getEvent(nameOrSignatureOrTopic: "Borrow" | "CanPaybackDebtChanged" | "Deposit" | "DepositFeeUpdated" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "InsuredNFT" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationParametersUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "NotFeeCollector" | "ProtocolFeeRateUpdated" | "ProtocolFeesCollected" | "ProtocolFeesWithdrawn" | "Repay" | "RewardClaimed" | "RewardDistributed" | "RewardParametersUpdated" | "RewardTokenAdded" | "RewardTokensDeposited" | "StabilityPoolUpdated" | "VaultRewardsClaimed" | "VaultUpdated" | "VaultWithdrawalFailed" | "Withdraw" | "WithdrawFeeUpdated" | "WithdrawalsPauseStatusChanged"): EventFragment;
|
|
74
74
|
encodeFunctionData(functionFragment: "borrow", values: [BigNumberish, BigNumberish]): string;
|
|
75
75
|
encodeFunctionData(functionFragment: "calculateHealthFactor", values: [AddressLike, BigNumberish]): string;
|
|
76
76
|
encodeFunctionData(functionFragment: "claimCollectorRewards", values?: undefined): string;
|
|
@@ -186,6 +186,21 @@ export declare namespace DepositEvent {
|
|
|
186
186
|
type Log = TypedEventLog<Event>;
|
|
187
187
|
type LogDescription = TypedLogDescription<Event>;
|
|
188
188
|
}
|
|
189
|
+
export declare namespace DepositFeeUpdatedEvent {
|
|
190
|
+
type InputTuple = [
|
|
191
|
+
oldDepositFee: BigNumberish,
|
|
192
|
+
newDepositFee: BigNumberish
|
|
193
|
+
];
|
|
194
|
+
type OutputTuple = [oldDepositFee: bigint, newDepositFee: bigint];
|
|
195
|
+
interface OutputObject {
|
|
196
|
+
oldDepositFee: bigint;
|
|
197
|
+
newDepositFee: bigint;
|
|
198
|
+
}
|
|
199
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
200
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
201
|
+
type Log = TypedEventLog<Event>;
|
|
202
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
203
|
+
}
|
|
189
204
|
export declare namespace FeeCollectorUpdatedEvent {
|
|
190
205
|
type InputTuple = [
|
|
191
206
|
oldFeeCollector: AddressLike,
|
|
@@ -606,6 +621,24 @@ export declare namespace WithdrawEvent {
|
|
|
606
621
|
type Log = TypedEventLog<Event>;
|
|
607
622
|
type LogDescription = TypedLogDescription<Event>;
|
|
608
623
|
}
|
|
624
|
+
export declare namespace WithdrawFeeUpdatedEvent {
|
|
625
|
+
type InputTuple = [
|
|
626
|
+
oldWithdrawalFee: BigNumberish,
|
|
627
|
+
newWithdrawalFee: BigNumberish
|
|
628
|
+
];
|
|
629
|
+
type OutputTuple = [
|
|
630
|
+
oldWithdrawalFee: bigint,
|
|
631
|
+
newWithdrawalFee: bigint
|
|
632
|
+
];
|
|
633
|
+
interface OutputObject {
|
|
634
|
+
oldWithdrawalFee: bigint;
|
|
635
|
+
newWithdrawalFee: bigint;
|
|
636
|
+
}
|
|
637
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
638
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
639
|
+
type Log = TypedEventLog<Event>;
|
|
640
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
641
|
+
}
|
|
609
642
|
export declare namespace WithdrawalsPauseStatusChangedEvent {
|
|
610
643
|
type InputTuple = [isPaused: boolean];
|
|
611
644
|
type OutputTuple = [isPaused: boolean];
|
|
@@ -896,6 +929,7 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
896
929
|
getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
897
930
|
getEvent(key: "CanPaybackDebtChanged"): TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
898
931
|
getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
932
|
+
getEvent(key: "DepositFeeUpdated"): TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
899
933
|
getEvent(key: "FeeCollectorUpdated"): TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
900
934
|
getEvent(key: "InsufficientFees"): TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
901
935
|
getEvent(key: "InsuranceFeeUpdated"): TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
@@ -924,6 +958,7 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
924
958
|
getEvent(key: "VaultUpdated"): TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
|
|
925
959
|
getEvent(key: "VaultWithdrawalFailed"): TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
926
960
|
getEvent(key: "Withdraw"): TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
961
|
+
getEvent(key: "WithdrawFeeUpdated"): TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
927
962
|
getEvent(key: "WithdrawalsPauseStatusChanged"): TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
928
963
|
filters: {
|
|
929
964
|
"Borrow(address,uint256)": TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
@@ -932,6 +967,8 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
932
967
|
CanPaybackDebtChanged: TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
933
968
|
"Deposit(address,uint256,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
934
969
|
Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
970
|
+
"DepositFeeUpdated(uint256,uint256)": TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
971
|
+
DepositFeeUpdated: TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
935
972
|
"FeeCollectorUpdated(address,address)": TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
936
973
|
FeeCollectorUpdated: TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
937
974
|
"InsufficientFees()": TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
@@ -988,6 +1025,8 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
988
1025
|
VaultWithdrawalFailed: TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
989
1026
|
"Withdraw(address,uint256)": TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
990
1027
|
Withdraw: TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
1028
|
+
"WithdrawFeeUpdated(uint256,uint256)": TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1029
|
+
WithdrawFeeUpdated: TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
991
1030
|
"WithdrawalsPauseStatusChanged(bool)": TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
992
1031
|
WithdrawalsPauseStatusChanged: TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
993
1032
|
};
|
|
@@ -14,7 +14,7 @@ export declare class FunctionsRequest__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): FunctionsRequest__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x608c610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c80635d641dfc146038575b600080fd5b603f600181565b60405161ffff909116815260200160405180910390f3fea2646970667358221220e636d6b912e1a5330d566b2087c35030aba519b1bc205d403721e7804ed3d58f64736f6c63430008140033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [];
|
|
20
20
|
readonly name: "EmptyArgs";
|