@raac/rpc 1.1.0-beta.73 → 1.1.0-beta.74
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.json +2 -29
- package/dist/artifacts/core/collectors/RAACTokenCollector.sol/RAACTokenCollector.json +2 -29
- package/dist/artifacts/core/collectors/RWAIndexTokenCollector.sol/RWAIndexTokenCollector.json +2 -29
- package/dist/artifacts/core/collectors/Treasury.sol/Treasury.json +2 -29
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +2 -2
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +2 -2
- package/dist/artifacts/core/oracles/RAACHousePriceOracle.sol/RAACHousePriceOracle.json +2 -2
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +2 -2
- package/dist/artifacts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.json +2 -29
- package/dist/artifacts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.json +2 -2
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +80 -51
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +55 -34
- package/dist/artifacts/core/primitives/ComplianceRegistry.sol/ComplianceRegistry.json +2 -2
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +2 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -29
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +2 -29
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +2 -2
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +2 -47
- package/dist/artifacts/core/tokens/RWAIndexToken.sol/RWAIndexToken.json +2 -2
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +2 -29
- package/dist/artifacts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.json +2 -29
- package/dist/artifacts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.json +2 -2
- package/dist/artifacts/core/vaults/RWAVault.sol/RWAVault.json +2 -2
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +2 -2
- package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +2 -2
- package/dist/artifacts/zeno/Auction.sol/Auction.json +2 -29
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +2 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +2 -29
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +2 -2
- package/dist/pools/lendingPool/getLendingPoolInfo.js +3 -0
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.d.ts +65 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/{contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle.d.ts → @openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.d.ts} +23 -16
- package/dist/types/typechain-types/@openzeppelin/contracts/{utils/math/Math.d.ts → proxy/ERC1967/ERC1967Utils.d.ts} +4 -4
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +2 -0
- package/dist/types/typechain-types/{contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle.d.ts → @openzeppelin/contracts/proxy/Proxy.d.ts} +6 -11
- package/dist/types/typechain-types/{contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle.d.ts → @openzeppelin/contracts/proxy/beacon/IBeacon.d.ts} +9 -9
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/beacon/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/index.d.ts +7 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.d.ts +74 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.d.ts +80 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.d.ts +51 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/index.d.ts +3 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/oracles/CrvUSDToUSDOracle.sol/CrvUSDToUSDOracle.d.ts +24 -2
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +31 -18
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPoolStorage.d.ts +8 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LiquidationProxy.d.ts +8 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/VaultProxy.d.ts +8 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationStrategyProxy.d.ts +5 -1
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationSwap.d.ts +16 -4
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +43 -4
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPoolStorage.d.ts +5 -1
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +1 -15
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +1 -15
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +38 -2
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRToken.d.ts +5 -15
- package/dist/types/typechain-types/contracts/{mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl.d.ts → libraries/pools/LendingPoolFeeLibrary.d.ts} +6 -11
- package/dist/types/typechain-types/contracts/libraries/pools/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPool.d.ts +1 -15
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +1 -15
- package/dist/types/typechain-types/contracts/mocks/libraries/pools/ReserveLibraryMockCalculation.d.ts +2 -2
- 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/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +71 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.d.ts +50 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/Proxy__factory.d.ts +10 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +115 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy__factory.d.ts +56 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts +102 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/index.d.ts +2 -0
- 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/utils/Address__factory.d.ts +1 -13
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Errors__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 +9 -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/cryptography/MerkleProof__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/ERC20Collector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/RAACTokenCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/RWAIndexTokenCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +0 -20
- 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/GaugeRewardsDistributor__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +1 -21
- 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/lockers/LLamaTemple__factory.d.ts +1 -25
- 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/CrvUSDToUSDOracle.sol/CrvUSDToUSDOracle__factory.d.ts +38 -4
- 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/oracles/RWAIndexTokenOracle.sol/RWAIndexTokenOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/crvUSDPriceOracle.sol/CrvUSDPriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPoolStorage__factory.d.ts +9 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +34 -38
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LiquidationProxy__factory.d.ts +9 -29
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/VaultProxy__factory.d.ts +9 -21
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationStrategyProxy__factory.d.ts +19 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationSwap__factory.d.ts +32 -20
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPoolStorage__factory.d.ts +11 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +45 -27
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry.sol/ComplianceRegistry__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 -21
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__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 -21
- 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 -35
- package/dist/types/typechain-types/factories/contracts/core/tokens/RWAIndexToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapterV2__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/vaults/RWAVault__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +4 -14
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +38 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts +10 -14
- package/dist/types/typechain-types/factories/contracts/libraries/governance/BoostCalculator__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/math/TimeWeightedAverage__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/pools/LendingPoolFeeLibrary__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/pools/index.d.ts +1 -0
- 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/collectors/MockWETH__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveCrvUSDVaultMock__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock__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/TimelockPayableTestTarget__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/lockers/LLamaLocker.sol/LlamaLocker__factory.d.ts +1 -25
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockChainlinkAggregator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockCurveEMA.sol/MockCurveEMA__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle__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/MockRAACNFTVaultAdapterNAVOracle__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/MockZKMEVerifyUpgradeable__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/CurveStyleCrvUSDiRAACPool__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +5 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +1 -21
- 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/MockChainAnalysis.sol/MockChainAnalysis__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 -21
- 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/CrvUSDTokenLimited__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 -21
- 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/RAACMockERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +1 -21
- 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/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/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/ReserveLibraryMockCalculation__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +7 -3
- 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/zeno/AuctionFactory__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +1 -21
- 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 -21
- package/dist/types/typechain-types/index.d.ts +22 -2
- package/package.json +1 -1
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2.d.ts +0 -35
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface.d.ts +0 -156
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC4626.d.ts +0 -318
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC4626.d.ts +0 -318
- package/dist/types/typechain-types/contracts/core/governance/boost/BoostController.d.ts +0 -573
- package/dist/types/typechain-types/contracts/core/governance/boost/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.d.ts +0 -263
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle.d.ts +0 -29
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/NFTLiquidator.d.ts +0 -283
- package/dist/types/typechain-types/contracts/core/primitives/ComplianceRegistry.d.ts +0 -203
- package/dist/types/typechain-types/contracts/core/tokens/IndexToken.d.ts +0 -340
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.d.ts +0 -174
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.d.ts +0 -188
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapter.d.ts +0 -218
- package/dist/types/typechain-types/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapterNAVOracle.d.ts +0 -47
- package/dist/types/typechain-types/contracts/core/vaults/RAACNFTVaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/interfaces/IHousePrices.d.ts +0 -29
- package/dist/types/typechain-types/contracts/interfaces/IPoolManager.d.ts +0 -37
- package/dist/types/typechain-types/contracts/interfaces/IReserveAllocationLibraryMock.d.ts +0 -164
- package/dist/types/typechain-types/contracts/interfaces/IveRAACDistributor.d.ts +0 -59
- package/dist/types/typechain-types/contracts/interfaces/core/governance/IBoostController.d.ts +0 -269
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGauge.d.ts +0 -235
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +0 -57
- package/dist/types/typechain-types/contracts/libraries/governance/Checkpoints.d.ts +0 -55
- package/dist/types/typechain-types/contracts/libraries/governance/RAACVoting.d.ts +0 -45
- package/dist/types/typechain-types/contracts/libraries/governance/VotingPowerLib.d.ts +0 -66
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockBaseGauge.d.ts +0 -845
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle.d.ts +0 -33
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockVeToken.d.ts +0 -510
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/CheckpointsMock.d.ts +0 -83
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/RAACVotingMock.d.ts +0 -41
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/VotingPowerMock.d.ts +0 -281
- package/dist/types/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper.d.ts +0 -100
- package/dist/types/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2__factory.d.ts +0 -33
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface__factory.d.ts +0 -171
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC4626__factory.d.ts +0 -472
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC4626__factory.d.ts +0 -632
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/Math__factory.d.ts +0 -26
- package/dist/types/typechain-types/factories/contracts/core/governance/boost/BoostController__factory.d.ts +0 -716
- package/dist/types/typechain-types/factories/contracts/core/governance/boost/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter__factory.d.ts +0 -407
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle__factory.d.ts +0 -21
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/NFTLiquidator__factory.d.ts +0 -390
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry__factory.d.ts +0 -276
- package/dist/types/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +0 -602
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter__factory.d.ts +0 -285
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle__factory.d.ts +0 -17
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter__factory.d.ts +0 -307
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle__factory.d.ts +0 -21
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapterNAVOracle__factory.d.ts +0 -25
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapter__factory.d.ts +0 -350
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/interfaces/IHousePrices__factory.d.ts +0 -21
- package/dist/types/typechain-types/factories/contracts/interfaces/IPoolManager__factory.d.ts +0 -43
- package/dist/types/typechain-types/factories/contracts/interfaces/IReserveAllocationLibraryMock__factory.d.ts +0 -189
- package/dist/types/typechain-types/factories/contracts/interfaces/IveRAACDistributor__factory.d.ts +0 -75
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/IBoostController__factory.d.ts +0 -295
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGauge__factory.d.ts +0 -307
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +0 -53
- package/dist/types/typechain-types/factories/contracts/libraries/governance/Checkpoints__factory.d.ts +0 -68
- package/dist/types/typechain-types/factories/contracts/libraries/governance/RAACVoting__factory.d.ts +0 -92
- package/dist/types/typechain-types/factories/contracts/libraries/governance/VotingPowerLib__factory.d.ts +0 -74
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +0 -1194
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle__factory.d.ts +0 -17
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle__factory.d.ts +0 -42
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockVeToken__factory.d.ts +0 -714
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/CheckpointsMock__factory.d.ts +0 -124
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/RAACVotingMock__factory.d.ts +0 -70
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/VotingPowerMock__factory.d.ts +0 -341
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl__factory.d.ts +0 -17
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper__factory.d.ts +0 -113
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/index.d.ts +0 -2
|
@@ -67,6 +67,7 @@ export declare namespace ReserveLibrary {
|
|
|
67
67
|
maxRate: BigNumberish;
|
|
68
68
|
optimalUtilizationRate: BigNumberish;
|
|
69
69
|
protocolFeeRate: BigNumberish;
|
|
70
|
+
currentProtocolFeeRate: BigNumberish;
|
|
70
71
|
currentUtilizationRate: BigNumberish;
|
|
71
72
|
};
|
|
72
73
|
type ReserveRateDataStructOutput = [
|
|
@@ -78,6 +79,7 @@ export declare namespace ReserveLibrary {
|
|
|
78
79
|
maxRate: bigint,
|
|
79
80
|
optimalUtilizationRate: bigint,
|
|
80
81
|
protocolFeeRate: bigint,
|
|
82
|
+
currentProtocolFeeRate: bigint,
|
|
81
83
|
currentUtilizationRate: bigint
|
|
82
84
|
] & {
|
|
83
85
|
currentLiquidityRate: bigint;
|
|
@@ -88,6 +90,7 @@ export declare namespace ReserveLibrary {
|
|
|
88
90
|
maxRate: bigint;
|
|
89
91
|
optimalUtilizationRate: bigint;
|
|
90
92
|
protocolFeeRate: bigint;
|
|
93
|
+
currentProtocolFeeRate: bigint;
|
|
91
94
|
currentUtilizationRate: bigint;
|
|
92
95
|
};
|
|
93
96
|
type ReserveDataStruct = {
|
|
@@ -99,6 +102,7 @@ export declare namespace ReserveLibrary {
|
|
|
99
102
|
liquidityIndex: BigNumberish;
|
|
100
103
|
usageIndex: BigNumberish;
|
|
101
104
|
lastUpdateTimestamp: BigNumberish;
|
|
105
|
+
pendingProtocolFeeAmount: BigNumberish;
|
|
102
106
|
};
|
|
103
107
|
type ReserveDataStructOutput = [
|
|
104
108
|
reserveRTokenAddress: string,
|
|
@@ -108,7 +112,8 @@ export declare namespace ReserveLibrary {
|
|
|
108
112
|
totalUsage: bigint,
|
|
109
113
|
liquidityIndex: bigint,
|
|
110
114
|
usageIndex: bigint,
|
|
111
|
-
lastUpdateTimestamp: bigint
|
|
115
|
+
lastUpdateTimestamp: bigint,
|
|
116
|
+
pendingProtocolFeeAmount: bigint
|
|
112
117
|
] & {
|
|
113
118
|
reserveRTokenAddress: string;
|
|
114
119
|
reserveAssetAddress: string;
|
|
@@ -118,10 +123,11 @@ export declare namespace ReserveLibrary {
|
|
|
118
123
|
liquidityIndex: bigint;
|
|
119
124
|
usageIndex: bigint;
|
|
120
125
|
lastUpdateTimestamp: bigint;
|
|
126
|
+
pendingProtocolFeeAmount: bigint;
|
|
121
127
|
};
|
|
122
128
|
}
|
|
123
129
|
export interface LendingPoolInterface extends Interface {
|
|
124
|
-
getFunction(nameOrSignature: "BASE_BORROW_THRESHOLD" | "BASE_LIQUIDATION_GRACE_PERIOD" | "BASE_LIQUIDATION_THRESHOLD" | "DEFAULT_ADMIN_ROLE" | "GOVERNANCE_ROLE" | "HEALTH_FACTOR_LIQUIDATION_THRESHOLD" | "MIN_BORROW_AMOUNT" | "PROTOCOL_ROLE" | "adapters" | "borrow" | "borrowWithInsurance" | "calculateHealthFactor" | "calculateInsuranceFee" | "claimCollectorRewards" | "closeLiquidation" | "complianceRegistry" | "deposit" | "depositAsset" | "depositBlock" | "feeCollector" | "finalizeLiquidation" | "getAdapters" | "getAssetValue" | "getEligibleUserDeposits" | "getNormalizedDebt" | "getNormalizedIncome" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionView" | "getPositionsScaledDebt" | "getPrimeRate" | "getReserveRateData" | "getReserveState" | "getRoleAdmin" | "getUninsuredBalance" | "getUserCollateralValue" | "getUserDeposits" | "getUserDepositsInStabilityPool" | "grantRole" | "hasRole" | "initiateLiquidation" | "isUserDepositInSameBlock" | "liquidationProxy" | "onERC721Received" | "openVaultPosition" | "owner" | "parameters" | "pause" | "paused" | "positions" | "primeRateOracle" | "rateData" | "registerAdapter" | "renounceOwnership" | "renounceRole" | "repay" | "repayOnBehalf" | "rescueToken" | "reserve" | "revokeRole" | "setFeeCollector" | "setLiquidationProxy" | "setParameter" | "setPrimeRate" | "setPrimeRateOracle" | "setStabilityPool" | "setVault" | "stabilityPool" | "supportedAdapter" | "supportedAdapters" | "supportsInterface" | "
|
|
130
|
+
getFunction(nameOrSignature: "BASE_BORROW_THRESHOLD" | "BASE_LIQUIDATION_GRACE_PERIOD" | "BASE_LIQUIDATION_THRESHOLD" | "DEFAULT_ADMIN_ROLE" | "GOVERNANCE_ROLE" | "HEALTH_FACTOR_LIQUIDATION_THRESHOLD" | "MIN_BORROW_AMOUNT" | "PROTOCOL_ROLE" | "adapters" | "borrow" | "borrowWithInsurance" | "calculateHealthFactor" | "calculateInsuranceFee" | "claimCollectorRewards" | "claimProtocolFees" | "closeLiquidation" | "complianceRegistry" | "deposit" | "depositAsset" | "depositBlock" | "feeCollector" | "finalizeLiquidation" | "getAdapters" | "getAssetValue" | "getEligibleUserDeposits" | "getNormalizedDebt" | "getNormalizedIncome" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionView" | "getPositionsScaledDebt" | "getPrimeRate" | "getReserveRateData" | "getReserveState" | "getRoleAdmin" | "getUninsuredBalance" | "getUserCollateralValue" | "getUserDeposits" | "getUserDepositsInStabilityPool" | "grantRole" | "hasRole" | "initiateLiquidation" | "isUserDepositInSameBlock" | "liquidationProxy" | "onERC721Received" | "openVaultPosition" | "owner" | "parameters" | "pause" | "paused" | "positions" | "primeRateOracle" | "rateData" | "registerAdapter" | "renounceOwnership" | "renounceRole" | "repay" | "repayOnBehalf" | "rescueToken" | "reserve" | "revokeRole" | "setFeeCollector" | "setLiquidationProxy" | "setParameter" | "setPrimeRate" | "setPrimeRateOracle" | "setStabilityPool" | "setVault" | "stabilityPool" | "supportedAdapter" | "supportedAdapters" | "supportsInterface" | "transferOwnership" | "unpause" | "unregisterAdapter" | "updateState" | "vault" | "vaultOpened" | "vaultProxy" | "vaultRewards" | "withdraw" | "withdrawAsset"): FunctionFragment;
|
|
125
131
|
getEvent(nameOrSignatureOrTopic: "AdapterRegistered" | "AdapterRemoved" | "Borrow" | "BorrowCapUpdated" | "CanPaybackDebtChanged" | "Deposit(address,uint256,uint256)" | "Deposit(address,uint256,uint256)" | "DepositFeeUpdated" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "InsuredAsset" | "InterestRatesUpdated" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationProxyUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "NotFeeCollector" | "OwnershipTransferred" | "ParameterChanged" | "Paused" | "PrimeRateOracleUpdated" | "PrimeRateUpdated" | "ProtocolFeeRateUpdated" | "ProtocolFeesCollected" | "ProtocolFeesWithdrawn" | "Repay" | "ReserveInterestsUpdated" | "RewardClaimed" | "RewardDistributed" | "RewardParametersUpdated" | "RewardTokenAdded" | "RewardTokensDeposited" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "StabilityPoolUpdated" | "SupplyCapUpdated" | "Unpaused" | "VaultFullyWithdrawn" | "VaultOpeningFeePaid" | "VaultOpeningFeeUpdated" | "VaultRewardsClaimed" | "VaultUpdated" | "VaultWithdrawalFailed" | "Withdraw(address,uint256)" | "Withdraw(address,uint256,uint256)" | "WithdrawCancelled" | "WithdrawFeeUpdated" | "WithdrawQueued" | "WithdrawTimelockDurationUpdated" | "WithdrawalsPauseStatusChanged" | "YieldHarvested"): EventFragment;
|
|
126
132
|
encodeFunctionData(functionFragment: "BASE_BORROW_THRESHOLD", values?: undefined): string;
|
|
127
133
|
encodeFunctionData(functionFragment: "BASE_LIQUIDATION_GRACE_PERIOD", values?: undefined): string;
|
|
@@ -137,6 +143,7 @@ export interface LendingPoolInterface extends Interface {
|
|
|
137
143
|
encodeFunctionData(functionFragment: "calculateHealthFactor", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
138
144
|
encodeFunctionData(functionFragment: "calculateInsuranceFee", values: [AddressLike, AddressLike, BytesLike, BigNumberish]): string;
|
|
139
145
|
encodeFunctionData(functionFragment: "claimCollectorRewards", values?: undefined): string;
|
|
146
|
+
encodeFunctionData(functionFragment: "claimProtocolFees", values?: undefined): string;
|
|
140
147
|
encodeFunctionData(functionFragment: "closeLiquidation", values: [AddressLike, BytesLike]): string;
|
|
141
148
|
encodeFunctionData(functionFragment: "complianceRegistry", values?: undefined): string;
|
|
142
149
|
encodeFunctionData(functionFragment: "deposit", values: [BigNumberish]): string;
|
|
@@ -196,7 +203,6 @@ export interface LendingPoolInterface extends Interface {
|
|
|
196
203
|
encodeFunctionData(functionFragment: "supportedAdapter", values: [AddressLike]): string;
|
|
197
204
|
encodeFunctionData(functionFragment: "supportedAdapters", values: [AddressLike]): string;
|
|
198
205
|
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
199
|
-
encodeFunctionData(functionFragment: "transferAccruedDust", values: [AddressLike, BigNumberish]): string;
|
|
200
206
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
201
207
|
encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
|
|
202
208
|
encodeFunctionData(functionFragment: "unregisterAdapter", values: [AddressLike]): string;
|
|
@@ -221,6 +227,7 @@ export interface LendingPoolInterface extends Interface {
|
|
|
221
227
|
decodeFunctionResult(functionFragment: "calculateHealthFactor", data: BytesLike): Result;
|
|
222
228
|
decodeFunctionResult(functionFragment: "calculateInsuranceFee", data: BytesLike): Result;
|
|
223
229
|
decodeFunctionResult(functionFragment: "claimCollectorRewards", data: BytesLike): Result;
|
|
230
|
+
decodeFunctionResult(functionFragment: "claimProtocolFees", data: BytesLike): Result;
|
|
224
231
|
decodeFunctionResult(functionFragment: "closeLiquidation", data: BytesLike): Result;
|
|
225
232
|
decodeFunctionResult(functionFragment: "complianceRegistry", data: BytesLike): Result;
|
|
226
233
|
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
|
|
@@ -280,7 +287,6 @@ export interface LendingPoolInterface extends Interface {
|
|
|
280
287
|
decodeFunctionResult(functionFragment: "supportedAdapter", data: BytesLike): Result;
|
|
281
288
|
decodeFunctionResult(functionFragment: "supportedAdapters", data: BytesLike): Result;
|
|
282
289
|
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
283
|
-
decodeFunctionResult(functionFragment: "transferAccruedDust", data: BytesLike): Result;
|
|
284
290
|
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
285
291
|
decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
|
|
286
292
|
decodeFunctionResult(functionFragment: "unregisterAdapter", data: BytesLike): Result;
|
|
@@ -1243,8 +1249,12 @@ export interface LendingPool extends BaseContract {
|
|
|
1243
1249
|
], "view">;
|
|
1244
1250
|
claimCollectorRewards: TypedContractMethod<[
|
|
1245
1251
|
], [
|
|
1246
|
-
[string, bigint]
|
|
1252
|
+
[string, bigint] & {
|
|
1253
|
+
tokenAddress: string;
|
|
1254
|
+
claimableAmount: bigint;
|
|
1255
|
+
}
|
|
1247
1256
|
], "nonpayable">;
|
|
1257
|
+
claimProtocolFees: TypedContractMethod<[], [void], "nonpayable">;
|
|
1248
1258
|
closeLiquidation: TypedContractMethod<[
|
|
1249
1259
|
adapter: AddressLike,
|
|
1250
1260
|
data: BytesLike
|
|
@@ -1448,6 +1458,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1448
1458
|
bigint,
|
|
1449
1459
|
bigint,
|
|
1450
1460
|
bigint,
|
|
1461
|
+
bigint,
|
|
1451
1462
|
bigint
|
|
1452
1463
|
] & {
|
|
1453
1464
|
currentLiquidityRate: bigint;
|
|
@@ -1458,6 +1469,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1458
1469
|
maxRate: bigint;
|
|
1459
1470
|
optimalUtilizationRate: bigint;
|
|
1460
1471
|
protocolFeeRate: bigint;
|
|
1472
|
+
currentProtocolFeeRate: bigint;
|
|
1461
1473
|
currentUtilizationRate: bigint;
|
|
1462
1474
|
}
|
|
1463
1475
|
], "view">;
|
|
@@ -1505,6 +1517,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1505
1517
|
bigint,
|
|
1506
1518
|
bigint,
|
|
1507
1519
|
bigint,
|
|
1520
|
+
bigint,
|
|
1508
1521
|
bigint
|
|
1509
1522
|
] & {
|
|
1510
1523
|
reserveRTokenAddress: string;
|
|
@@ -1515,6 +1528,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1515
1528
|
liquidityIndex: bigint;
|
|
1516
1529
|
usageIndex: bigint;
|
|
1517
1530
|
lastUpdateTimestamp: bigint;
|
|
1531
|
+
pendingProtocolFeeAmount: bigint;
|
|
1518
1532
|
}
|
|
1519
1533
|
], "view">;
|
|
1520
1534
|
revokeRole: TypedContractMethod<[
|
|
@@ -1571,12 +1585,6 @@ export interface LendingPool extends BaseContract {
|
|
|
1571
1585
|
], [
|
|
1572
1586
|
boolean
|
|
1573
1587
|
], "view">;
|
|
1574
|
-
transferAccruedDust: TypedContractMethod<[
|
|
1575
|
-
recipient: AddressLike,
|
|
1576
|
-
amount: BigNumberish
|
|
1577
|
-
], [
|
|
1578
|
-
void
|
|
1579
|
-
], "nonpayable">;
|
|
1580
1588
|
transferOwnership: TypedContractMethod<[
|
|
1581
1589
|
newOwner: AddressLike
|
|
1582
1590
|
], [
|
|
@@ -1660,7 +1668,14 @@ export interface LendingPool extends BaseContract {
|
|
|
1660
1668
|
], [
|
|
1661
1669
|
bigint
|
|
1662
1670
|
], "view">;
|
|
1663
|
-
getFunction(nameOrSignature: "claimCollectorRewards"): TypedContractMethod<[
|
|
1671
|
+
getFunction(nameOrSignature: "claimCollectorRewards"): TypedContractMethod<[
|
|
1672
|
+
], [
|
|
1673
|
+
[string, bigint] & {
|
|
1674
|
+
tokenAddress: string;
|
|
1675
|
+
claimableAmount: bigint;
|
|
1676
|
+
}
|
|
1677
|
+
], "nonpayable">;
|
|
1678
|
+
getFunction(nameOrSignature: "claimProtocolFees"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1664
1679
|
getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[
|
|
1665
1680
|
adapter: AddressLike,
|
|
1666
1681
|
data: BytesLike
|
|
@@ -1841,6 +1856,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1841
1856
|
bigint,
|
|
1842
1857
|
bigint,
|
|
1843
1858
|
bigint,
|
|
1859
|
+
bigint,
|
|
1844
1860
|
bigint
|
|
1845
1861
|
] & {
|
|
1846
1862
|
currentLiquidityRate: bigint;
|
|
@@ -1851,6 +1867,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1851
1867
|
maxRate: bigint;
|
|
1852
1868
|
optimalUtilizationRate: bigint;
|
|
1853
1869
|
protocolFeeRate: bigint;
|
|
1870
|
+
currentProtocolFeeRate: bigint;
|
|
1854
1871
|
currentUtilizationRate: bigint;
|
|
1855
1872
|
}
|
|
1856
1873
|
], "view">;
|
|
@@ -1894,6 +1911,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1894
1911
|
bigint,
|
|
1895
1912
|
bigint,
|
|
1896
1913
|
bigint,
|
|
1914
|
+
bigint,
|
|
1897
1915
|
bigint
|
|
1898
1916
|
] & {
|
|
1899
1917
|
reserveRTokenAddress: string;
|
|
@@ -1904,6 +1922,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1904
1922
|
liquidityIndex: bigint;
|
|
1905
1923
|
usageIndex: bigint;
|
|
1906
1924
|
lastUpdateTimestamp: bigint;
|
|
1925
|
+
pendingProtocolFeeAmount: bigint;
|
|
1907
1926
|
}
|
|
1908
1927
|
], "view">;
|
|
1909
1928
|
getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[
|
|
@@ -1932,12 +1951,6 @@ export interface LendingPool extends BaseContract {
|
|
|
1932
1951
|
getFunction(nameOrSignature: "supportedAdapter"): TypedContractMethod<[adapter: AddressLike], [boolean], "view">;
|
|
1933
1952
|
getFunction(nameOrSignature: "supportedAdapters"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
1934
1953
|
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
1935
|
-
getFunction(nameOrSignature: "transferAccruedDust"): TypedContractMethod<[
|
|
1936
|
-
recipient: AddressLike,
|
|
1937
|
-
amount: BigNumberish
|
|
1938
|
-
], [
|
|
1939
|
-
void
|
|
1940
|
-
], "nonpayable">;
|
|
1941
1954
|
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
1942
1955
|
getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1943
1956
|
getFunction(nameOrSignature: "unregisterAdapter"): TypedContractMethod<[adapter: AddressLike], [void], "nonpayable">;
|
|
@@ -246,6 +246,7 @@ export interface LendingPoolStorage extends BaseContract {
|
|
|
246
246
|
bigint,
|
|
247
247
|
bigint,
|
|
248
248
|
bigint,
|
|
249
|
+
bigint,
|
|
249
250
|
bigint
|
|
250
251
|
] & {
|
|
251
252
|
currentLiquidityRate: bigint;
|
|
@@ -256,6 +257,7 @@ export interface LendingPoolStorage extends BaseContract {
|
|
|
256
257
|
maxRate: bigint;
|
|
257
258
|
optimalUtilizationRate: bigint;
|
|
258
259
|
protocolFeeRate: bigint;
|
|
260
|
+
currentProtocolFeeRate: bigint;
|
|
259
261
|
currentUtilizationRate: bigint;
|
|
260
262
|
}
|
|
261
263
|
], "view">;
|
|
@@ -269,6 +271,7 @@ export interface LendingPoolStorage extends BaseContract {
|
|
|
269
271
|
bigint,
|
|
270
272
|
bigint,
|
|
271
273
|
bigint,
|
|
274
|
+
bigint,
|
|
272
275
|
bigint
|
|
273
276
|
] & {
|
|
274
277
|
reserveRTokenAddress: string;
|
|
@@ -279,6 +282,7 @@ export interface LendingPoolStorage extends BaseContract {
|
|
|
279
282
|
liquidityIndex: bigint;
|
|
280
283
|
usageIndex: bigint;
|
|
281
284
|
lastUpdateTimestamp: bigint;
|
|
285
|
+
pendingProtocolFeeAmount: bigint;
|
|
282
286
|
}
|
|
283
287
|
], "view">;
|
|
284
288
|
stabilityPool: TypedContractMethod<[], [string], "view">;
|
|
@@ -382,6 +386,7 @@ export interface LendingPoolStorage extends BaseContract {
|
|
|
382
386
|
bigint,
|
|
383
387
|
bigint,
|
|
384
388
|
bigint,
|
|
389
|
+
bigint,
|
|
385
390
|
bigint
|
|
386
391
|
] & {
|
|
387
392
|
currentLiquidityRate: bigint;
|
|
@@ -392,6 +397,7 @@ export interface LendingPoolStorage extends BaseContract {
|
|
|
392
397
|
maxRate: bigint;
|
|
393
398
|
optimalUtilizationRate: bigint;
|
|
394
399
|
protocolFeeRate: bigint;
|
|
400
|
+
currentProtocolFeeRate: bigint;
|
|
395
401
|
currentUtilizationRate: bigint;
|
|
396
402
|
}
|
|
397
403
|
], "view">;
|
|
@@ -405,6 +411,7 @@ export interface LendingPoolStorage extends BaseContract {
|
|
|
405
411
|
bigint,
|
|
406
412
|
bigint,
|
|
407
413
|
bigint,
|
|
414
|
+
bigint,
|
|
408
415
|
bigint
|
|
409
416
|
] & {
|
|
410
417
|
reserveRTokenAddress: string;
|
|
@@ -415,6 +422,7 @@ export interface LendingPoolStorage extends BaseContract {
|
|
|
415
422
|
liquidityIndex: bigint;
|
|
416
423
|
usageIndex: bigint;
|
|
417
424
|
lastUpdateTimestamp: bigint;
|
|
425
|
+
pendingProtocolFeeAmount: bigint;
|
|
418
426
|
}
|
|
419
427
|
], "view">;
|
|
420
428
|
getFunction(nameOrSignature: "stabilityPool"): TypedContractMethod<[], [string], "view">;
|
|
@@ -311,6 +311,7 @@ export interface LiquidationProxy extends BaseContract {
|
|
|
311
311
|
bigint,
|
|
312
312
|
bigint,
|
|
313
313
|
bigint,
|
|
314
|
+
bigint,
|
|
314
315
|
bigint
|
|
315
316
|
] & {
|
|
316
317
|
currentLiquidityRate: bigint;
|
|
@@ -321,6 +322,7 @@ export interface LiquidationProxy extends BaseContract {
|
|
|
321
322
|
maxRate: bigint;
|
|
322
323
|
optimalUtilizationRate: bigint;
|
|
323
324
|
protocolFeeRate: bigint;
|
|
325
|
+
currentProtocolFeeRate: bigint;
|
|
324
326
|
currentUtilizationRate: bigint;
|
|
325
327
|
}
|
|
326
328
|
], "view">;
|
|
@@ -334,6 +336,7 @@ export interface LiquidationProxy extends BaseContract {
|
|
|
334
336
|
bigint,
|
|
335
337
|
bigint,
|
|
336
338
|
bigint,
|
|
339
|
+
bigint,
|
|
337
340
|
bigint
|
|
338
341
|
] & {
|
|
339
342
|
reserveRTokenAddress: string;
|
|
@@ -344,6 +347,7 @@ export interface LiquidationProxy extends BaseContract {
|
|
|
344
347
|
liquidityIndex: bigint;
|
|
345
348
|
usageIndex: bigint;
|
|
346
349
|
lastUpdateTimestamp: bigint;
|
|
350
|
+
pendingProtocolFeeAmount: bigint;
|
|
347
351
|
}
|
|
348
352
|
], "view">;
|
|
349
353
|
stabilityPool: TypedContractMethod<[], [string], "view">;
|
|
@@ -474,6 +478,7 @@ export interface LiquidationProxy extends BaseContract {
|
|
|
474
478
|
bigint,
|
|
475
479
|
bigint,
|
|
476
480
|
bigint,
|
|
481
|
+
bigint,
|
|
477
482
|
bigint
|
|
478
483
|
] & {
|
|
479
484
|
currentLiquidityRate: bigint;
|
|
@@ -484,6 +489,7 @@ export interface LiquidationProxy extends BaseContract {
|
|
|
484
489
|
maxRate: bigint;
|
|
485
490
|
optimalUtilizationRate: bigint;
|
|
486
491
|
protocolFeeRate: bigint;
|
|
492
|
+
currentProtocolFeeRate: bigint;
|
|
487
493
|
currentUtilizationRate: bigint;
|
|
488
494
|
}
|
|
489
495
|
], "view">;
|
|
@@ -497,6 +503,7 @@ export interface LiquidationProxy extends BaseContract {
|
|
|
497
503
|
bigint,
|
|
498
504
|
bigint,
|
|
499
505
|
bigint,
|
|
506
|
+
bigint,
|
|
500
507
|
bigint
|
|
501
508
|
] & {
|
|
502
509
|
reserveRTokenAddress: string;
|
|
@@ -507,6 +514,7 @@ export interface LiquidationProxy extends BaseContract {
|
|
|
507
514
|
liquidityIndex: bigint;
|
|
508
515
|
usageIndex: bigint;
|
|
509
516
|
lastUpdateTimestamp: bigint;
|
|
517
|
+
pendingProtocolFeeAmount: bigint;
|
|
510
518
|
}
|
|
511
519
|
], "view">;
|
|
512
520
|
getFunction(nameOrSignature: "stabilityPool"): TypedContractMethod<[], [string], "view">;
|
|
@@ -286,6 +286,7 @@ export interface VaultProxy extends BaseContract {
|
|
|
286
286
|
bigint,
|
|
287
287
|
bigint,
|
|
288
288
|
bigint,
|
|
289
|
+
bigint,
|
|
289
290
|
bigint
|
|
290
291
|
] & {
|
|
291
292
|
currentLiquidityRate: bigint;
|
|
@@ -296,6 +297,7 @@ export interface VaultProxy extends BaseContract {
|
|
|
296
297
|
maxRate: bigint;
|
|
297
298
|
optimalUtilizationRate: bigint;
|
|
298
299
|
protocolFeeRate: bigint;
|
|
300
|
+
currentProtocolFeeRate: bigint;
|
|
299
301
|
currentUtilizationRate: bigint;
|
|
300
302
|
}
|
|
301
303
|
], "view">;
|
|
@@ -310,6 +312,7 @@ export interface VaultProxy extends BaseContract {
|
|
|
310
312
|
bigint,
|
|
311
313
|
bigint,
|
|
312
314
|
bigint,
|
|
315
|
+
bigint,
|
|
313
316
|
bigint
|
|
314
317
|
] & {
|
|
315
318
|
reserveRTokenAddress: string;
|
|
@@ -320,6 +323,7 @@ export interface VaultProxy extends BaseContract {
|
|
|
320
323
|
liquidityIndex: bigint;
|
|
321
324
|
usageIndex: bigint;
|
|
322
325
|
lastUpdateTimestamp: bigint;
|
|
326
|
+
pendingProtocolFeeAmount: bigint;
|
|
323
327
|
}
|
|
324
328
|
], "view">;
|
|
325
329
|
stabilityPool: TypedContractMethod<[], [string], "view">;
|
|
@@ -430,6 +434,7 @@ export interface VaultProxy extends BaseContract {
|
|
|
430
434
|
bigint,
|
|
431
435
|
bigint,
|
|
432
436
|
bigint,
|
|
437
|
+
bigint,
|
|
433
438
|
bigint
|
|
434
439
|
] & {
|
|
435
440
|
currentLiquidityRate: bigint;
|
|
@@ -440,6 +445,7 @@ export interface VaultProxy extends BaseContract {
|
|
|
440
445
|
maxRate: bigint;
|
|
441
446
|
optimalUtilizationRate: bigint;
|
|
442
447
|
protocolFeeRate: bigint;
|
|
448
|
+
currentProtocolFeeRate: bigint;
|
|
443
449
|
currentUtilizationRate: bigint;
|
|
444
450
|
}
|
|
445
451
|
], "view">;
|
|
@@ -454,6 +460,7 @@ export interface VaultProxy extends BaseContract {
|
|
|
454
460
|
bigint,
|
|
455
461
|
bigint,
|
|
456
462
|
bigint,
|
|
463
|
+
bigint,
|
|
457
464
|
bigint
|
|
458
465
|
] & {
|
|
459
466
|
reserveRTokenAddress: string;
|
|
@@ -464,6 +471,7 @@ export interface VaultProxy extends BaseContract {
|
|
|
464
471
|
liquidityIndex: bigint;
|
|
465
472
|
usageIndex: bigint;
|
|
466
473
|
lastUpdateTimestamp: bigint;
|
|
474
|
+
pendingProtocolFeeAmount: bigint;
|
|
467
475
|
}
|
|
468
476
|
], "view">;
|
|
469
477
|
getFunction(nameOrSignature: "stabilityPool"): TypedContractMethod<[], [string], "view">;
|
package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationStrategyProxy.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
3
|
export interface LiquidationStrategyProxyInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "crvUSDToken" | "deToken" | "depositBlock" | "feeCollector" | "isManager" | "lendingPool" | "liquidateBorrower" | "liquidationSplit" | "liquidationSwap" | "managerList" | "rToken" | "rwaVault" | "treasury" | "withdrawTimelock" | "withdrawTimelockDelay" | "withdrawTimelockDuration"): FunctionFragment;
|
|
4
|
+
getFunction(nameOrSignature: "crvUSDToken" | "deToken" | "depositBlock" | "feeCollector" | "isManager" | "lendingPool" | "liquidateBorrower" | "liquidationSplit" | "liquidationStrategyProxy" | "liquidationSwap" | "managerList" | "rToken" | "rwaVault" | "treasury" | "withdrawTimelock" | "withdrawTimelockDelay" | "withdrawTimelockDuration"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "BorrowerLiquidated"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "crvUSDToken", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "deToken", values?: undefined): string;
|
|
@@ -11,6 +11,7 @@ export interface LiquidationStrategyProxyInterface extends Interface {
|
|
|
11
11
|
encodeFunctionData(functionFragment: "lendingPool", values?: undefined): string;
|
|
12
12
|
encodeFunctionData(functionFragment: "liquidateBorrower", values: [AddressLike, AddressLike, AddressLike, BytesLike, BigNumberish]): string;
|
|
13
13
|
encodeFunctionData(functionFragment: "liquidationSplit", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "liquidationStrategyProxy", values?: undefined): string;
|
|
14
15
|
encodeFunctionData(functionFragment: "liquidationSwap", values?: undefined): string;
|
|
15
16
|
encodeFunctionData(functionFragment: "managerList", values: [BigNumberish]): string;
|
|
16
17
|
encodeFunctionData(functionFragment: "rToken", values?: undefined): string;
|
|
@@ -27,6 +28,7 @@ export interface LiquidationStrategyProxyInterface extends Interface {
|
|
|
27
28
|
decodeFunctionResult(functionFragment: "lendingPool", data: BytesLike): Result;
|
|
28
29
|
decodeFunctionResult(functionFragment: "liquidateBorrower", data: BytesLike): Result;
|
|
29
30
|
decodeFunctionResult(functionFragment: "liquidationSplit", data: BytesLike): Result;
|
|
31
|
+
decodeFunctionResult(functionFragment: "liquidationStrategyProxy", data: BytesLike): Result;
|
|
30
32
|
decodeFunctionResult(functionFragment: "liquidationSwap", data: BytesLike): Result;
|
|
31
33
|
decodeFunctionResult(functionFragment: "managerList", data: BytesLike): Result;
|
|
32
34
|
decodeFunctionResult(functionFragment: "rToken", data: BytesLike): Result;
|
|
@@ -102,6 +104,7 @@ export interface LiquidationStrategyProxy extends BaseContract {
|
|
|
102
104
|
liquidityPercentage: bigint;
|
|
103
105
|
}
|
|
104
106
|
], "view">;
|
|
107
|
+
liquidationStrategyProxy: TypedContractMethod<[], [string], "view">;
|
|
105
108
|
liquidationSwap: TypedContractMethod<[], [string], "view">;
|
|
106
109
|
managerList: TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
107
110
|
rToken: TypedContractMethod<[], [string], "view">;
|
|
@@ -158,6 +161,7 @@ export interface LiquidationStrategyProxy extends BaseContract {
|
|
|
158
161
|
liquidityPercentage: bigint;
|
|
159
162
|
}
|
|
160
163
|
], "view">;
|
|
164
|
+
getFunction(nameOrSignature: "liquidationStrategyProxy"): TypedContractMethod<[], [string], "view">;
|
|
161
165
|
getFunction(nameOrSignature: "liquidationSwap"): TypedContractMethod<[], [string], "view">;
|
|
162
166
|
getFunction(nameOrSignature: "managerList"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
163
167
|
getFunction(nameOrSignature: "rToken"): TypedContractMethod<[], [string], "view">;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
3
|
export interface LiquidationSwapInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "enableSlippageProtection" | "liquidityPool" | "owner" | "renounceOwnership" | "rwaVault" | "setEnableSlippageProtection" | "setLiquidityPool" | "setStabilityPool" | "slippageProtectionBps" | "stabilityPool" | "swap" | "swapToken" | "transferOwnership" | "vaultToken"): FunctionFragment;
|
|
4
|
+
getFunction(nameOrSignature: "enableSlippageProtection" | "iIn" | "iOut" | "liquidityPool" | "owner" | "renounceOwnership" | "rwaVault" | "setEnableSlippageProtection" | "setLiquidityPool" | "setStabilityPool" | "slippageProtectionBps" | "stabilityPool" | "swap" | "swapToken" | "transferOwnership" | "vaultToken"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred" | "Swapped"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "enableSlippageProtection", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "iIn", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "iOut", values?: undefined): string;
|
|
7
9
|
encodeFunctionData(functionFragment: "liquidityPool", values?: undefined): string;
|
|
8
10
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
9
11
|
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
10
12
|
encodeFunctionData(functionFragment: "rwaVault", values?: undefined): string;
|
|
11
13
|
encodeFunctionData(functionFragment: "setEnableSlippageProtection", values: [boolean]): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "setLiquidityPool", values: [AddressLike, BigNumberish]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "setLiquidityPool", values: [AddressLike, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
13
15
|
encodeFunctionData(functionFragment: "setStabilityPool", values: [AddressLike]): string;
|
|
14
16
|
encodeFunctionData(functionFragment: "slippageProtectionBps", values?: undefined): string;
|
|
15
17
|
encodeFunctionData(functionFragment: "stabilityPool", values?: undefined): string;
|
|
@@ -18,6 +20,8 @@ export interface LiquidationSwapInterface extends Interface {
|
|
|
18
20
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
19
21
|
encodeFunctionData(functionFragment: "vaultToken", values?: undefined): string;
|
|
20
22
|
decodeFunctionResult(functionFragment: "enableSlippageProtection", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "iIn", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "iOut", data: BytesLike): Result;
|
|
21
25
|
decodeFunctionResult(functionFragment: "liquidityPool", data: BytesLike): Result;
|
|
22
26
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
23
27
|
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
@@ -79,6 +83,8 @@ export interface LiquidationSwap extends BaseContract {
|
|
|
79
83
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
80
84
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
81
85
|
enableSlippageProtection: TypedContractMethod<[], [boolean], "view">;
|
|
86
|
+
iIn: TypedContractMethod<[], [bigint], "view">;
|
|
87
|
+
iOut: TypedContractMethod<[], [bigint], "view">;
|
|
82
88
|
liquidityPool: TypedContractMethod<[], [string], "view">;
|
|
83
89
|
owner: TypedContractMethod<[], [string], "view">;
|
|
84
90
|
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
@@ -90,7 +96,9 @@ export interface LiquidationSwap extends BaseContract {
|
|
|
90
96
|
], "nonpayable">;
|
|
91
97
|
setLiquidityPool: TypedContractMethod<[
|
|
92
98
|
_liquidityPool: AddressLike,
|
|
93
|
-
_slippageProtectionBps: BigNumberish
|
|
99
|
+
_slippageProtectionBps: BigNumberish,
|
|
100
|
+
_in: BigNumberish,
|
|
101
|
+
_out: BigNumberish
|
|
94
102
|
], [
|
|
95
103
|
void
|
|
96
104
|
], "nonpayable">;
|
|
@@ -111,6 +119,8 @@ export interface LiquidationSwap extends BaseContract {
|
|
|
111
119
|
vaultToken: TypedContractMethod<[], [string], "view">;
|
|
112
120
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
113
121
|
getFunction(nameOrSignature: "enableSlippageProtection"): TypedContractMethod<[], [boolean], "view">;
|
|
122
|
+
getFunction(nameOrSignature: "iIn"): TypedContractMethod<[], [bigint], "view">;
|
|
123
|
+
getFunction(nameOrSignature: "iOut"): TypedContractMethod<[], [bigint], "view">;
|
|
114
124
|
getFunction(nameOrSignature: "liquidityPool"): TypedContractMethod<[], [string], "view">;
|
|
115
125
|
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
116
126
|
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
@@ -118,7 +128,9 @@ export interface LiquidationSwap extends BaseContract {
|
|
|
118
128
|
getFunction(nameOrSignature: "setEnableSlippageProtection"): TypedContractMethod<[_enable: boolean], [void], "nonpayable">;
|
|
119
129
|
getFunction(nameOrSignature: "setLiquidityPool"): TypedContractMethod<[
|
|
120
130
|
_liquidityPool: AddressLike,
|
|
121
|
-
_slippageProtectionBps: BigNumberish
|
|
131
|
+
_slippageProtectionBps: BigNumberish,
|
|
132
|
+
_in: BigNumberish,
|
|
133
|
+
_out: BigNumberish
|
|
122
134
|
], [
|
|
123
135
|
void
|
|
124
136
|
], "nonpayable">;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
3
|
export interface StabilityPoolInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "addManager" | "balanceOf" | "complianceRegistry" | "crvUSDToken" | "deToken" | "deposit" | "depositBlock" | "feeCollector" | "getManagerList" | "getPoolIndex" | "getRawTotalDeposits" | "getScaledDeposit" | "getTotalDeposits" | "getUserDeposit" | "getUserIndex" | "initialize" | "isAddressManager" | "isManager" | "isUserDepositInSameBlock" | "lendingPool" | "liquidateBorrower" | "liquidationSplit" | "liquidationStrategyProxy" | "liquidationSwap" | "managerList" | "onERC721Received" | "owner" | "pause" | "paused" | "rToken" | "removeManager" | "renounceOwnership" | "requestWithdraw" | "rwaVault" | "setFeeCollector" | "setLiquidationStrategyProxy" | "setLiquidationSwap" | "setLiquidationVaultTokenSplit" | "setRWAVault" | "setWithdrawTimelockDelay" | "setWithdrawTimelockDuration" | "transferOwnership" | "treasury" | "unpause" | "withdraw" | "withdrawTimelock" | "withdrawTimelockDelay" | "withdrawTimelockDuration"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "AllocationUpdated" | "BorrowerLiquidated" | "Deposit" | "FeeCollectorUpdated" | "Initialized" | "LiquidationStrategyProxyUpdated" | "LiquidationSwapUpdated" | "LiquidationVaultTokenSplitUpdated" | "LiquidityPoolSet" | "ManagerAdded" | "ManagerRemoved" | "MarketAdded" | "MarketAllocationUpdated" | "MarketRemoved" | "NFTDeposited" | "OwnershipTransferred" | "Paused" | "RAACDepositedFromPool" | "RWAVaultUpdated" | "Unpaused" | "Withdraw" | "WithdrawCancelled" | "WithdrawQueued" | "WithdrawTimelockDelayUpdated" | "WithdrawTimelockDurationUpdated"): EventFragment;
|
|
4
|
+
getFunction(nameOrSignature: "addManager" | "balanceOf" | "collectDust" | "complianceRegistry" | "crvUSDToken" | "deToken" | "deposit" | "depositBlock" | "feeCollector" | "getManagerList" | "getPoolIndex" | "getRawTotalDeposits" | "getScaledDeposit" | "getTotalDeposits" | "getUserDeposit" | "getUserIndex" | "initialize" | "isAddressManager" | "isManager" | "isUserDepositInSameBlock" | "lendingPool" | "liquidateBorrower" | "liquidationSplit" | "liquidationStrategyProxy" | "liquidationSwap" | "managerList" | "onERC721Received" | "owner" | "pause" | "paused" | "rToken" | "removeManager" | "renounceOwnership" | "requestWithdraw" | "rwaVault" | "setFeeCollector" | "setLiquidationStrategyProxy" | "setLiquidationSwap" | "setLiquidationVaultTokenSplit" | "setRWAVault" | "setWithdrawTimelockDelay" | "setWithdrawTimelockDuration" | "transferOwnership" | "treasury" | "unpause" | "withdraw" | "withdrawTimelock" | "withdrawTimelockDelay" | "withdrawTimelockDuration"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "AllocationUpdated" | "BorrowerLiquidated" | "Deposit" | "DustCollected" | "FeeCollectorUpdated" | "Initialized" | "LiquidationStrategyProxyUpdated" | "LiquidationSwapUpdated" | "LiquidationVaultTokenSplitUpdated" | "LiquidityPoolSet" | "ManagerAdded" | "ManagerRemoved" | "MarketAdded" | "MarketAllocationUpdated" | "MarketRemoved" | "NFTDeposited" | "OwnershipTransferred" | "Paused" | "RAACDepositedFromPool" | "RWAVaultUpdated" | "Unpaused" | "Withdraw" | "WithdrawCancelled" | "WithdrawQueued" | "WithdrawTimelockDelayUpdated" | "WithdrawTimelockDurationUpdated"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "addManager", values: [AddressLike]): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "collectDust", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
8
9
|
encodeFunctionData(functionFragment: "complianceRegistry", values?: undefined): string;
|
|
9
10
|
encodeFunctionData(functionFragment: "crvUSDToken", values?: undefined): string;
|
|
10
11
|
encodeFunctionData(functionFragment: "deToken", values?: undefined): string;
|
|
@@ -24,6 +25,7 @@ export interface StabilityPoolInterface extends Interface {
|
|
|
24
25
|
AddressLike,
|
|
25
26
|
AddressLike,
|
|
26
27
|
AddressLike,
|
|
28
|
+
AddressLike,
|
|
27
29
|
AddressLike
|
|
28
30
|
]): string;
|
|
29
31
|
encodeFunctionData(functionFragment: "isAddressManager", values: [AddressLike]): string;
|
|
@@ -60,6 +62,7 @@ export interface StabilityPoolInterface extends Interface {
|
|
|
60
62
|
encodeFunctionData(functionFragment: "withdrawTimelockDuration", values?: undefined): string;
|
|
61
63
|
decodeFunctionResult(functionFragment: "addManager", data: BytesLike): Result;
|
|
62
64
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
65
|
+
decodeFunctionResult(functionFragment: "collectDust", data: BytesLike): Result;
|
|
63
66
|
decodeFunctionResult(functionFragment: "complianceRegistry", data: BytesLike): Result;
|
|
64
67
|
decodeFunctionResult(functionFragment: "crvUSDToken", data: BytesLike): Result;
|
|
65
68
|
decodeFunctionResult(functionFragment: "deToken", data: BytesLike): Result;
|
|
@@ -164,6 +167,23 @@ export declare namespace DepositEvent {
|
|
|
164
167
|
type Log = TypedEventLog<Event>;
|
|
165
168
|
type LogDescription = TypedLogDescription<Event>;
|
|
166
169
|
}
|
|
170
|
+
export declare namespace DustCollectedEvent {
|
|
171
|
+
type InputTuple = [
|
|
172
|
+
token: AddressLike,
|
|
173
|
+
recipient: AddressLike,
|
|
174
|
+
amount: BigNumberish
|
|
175
|
+
];
|
|
176
|
+
type OutputTuple = [token: string, recipient: string, amount: bigint];
|
|
177
|
+
interface OutputObject {
|
|
178
|
+
token: string;
|
|
179
|
+
recipient: string;
|
|
180
|
+
amount: bigint;
|
|
181
|
+
}
|
|
182
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
183
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
184
|
+
type Log = TypedEventLog<Event>;
|
|
185
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
186
|
+
}
|
|
167
187
|
export declare namespace FeeCollectorUpdatedEvent {
|
|
168
188
|
type InputTuple = [previous: AddressLike, latest: AddressLike];
|
|
169
189
|
type OutputTuple = [previous: string, latest: string];
|
|
@@ -461,6 +481,13 @@ export interface StabilityPool extends BaseContract {
|
|
|
461
481
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
462
482
|
addManager: TypedContractMethod<[manager: AddressLike], [void], "nonpayable">;
|
|
463
483
|
balanceOf: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
484
|
+
collectDust: TypedContractMethod<[
|
|
485
|
+
token: AddressLike,
|
|
486
|
+
recipient: AddressLike,
|
|
487
|
+
amount: BigNumberish
|
|
488
|
+
], [
|
|
489
|
+
void
|
|
490
|
+
], "nonpayable">;
|
|
464
491
|
complianceRegistry: TypedContractMethod<[], [string], "view">;
|
|
465
492
|
crvUSDToken: TypedContractMethod<[], [string], "view">;
|
|
466
493
|
deToken: TypedContractMethod<[], [string], "view">;
|
|
@@ -484,7 +511,8 @@ export interface StabilityPool extends BaseContract {
|
|
|
484
511
|
_crvUSDToken: AddressLike,
|
|
485
512
|
_lendingPool: AddressLike,
|
|
486
513
|
_treasury: AddressLike,
|
|
487
|
-
_liquidationStrategyProxy: AddressLike
|
|
514
|
+
_liquidationStrategyProxy: AddressLike,
|
|
515
|
+
_initialOwner: AddressLike
|
|
488
516
|
], [
|
|
489
517
|
void
|
|
490
518
|
], "nonpayable">;
|
|
@@ -624,6 +652,13 @@ export interface StabilityPool extends BaseContract {
|
|
|
624
652
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
625
653
|
getFunction(nameOrSignature: "addManager"): TypedContractMethod<[manager: AddressLike], [void], "nonpayable">;
|
|
626
654
|
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
655
|
+
getFunction(nameOrSignature: "collectDust"): TypedContractMethod<[
|
|
656
|
+
token: AddressLike,
|
|
657
|
+
recipient: AddressLike,
|
|
658
|
+
amount: BigNumberish
|
|
659
|
+
], [
|
|
660
|
+
void
|
|
661
|
+
], "nonpayable">;
|
|
627
662
|
getFunction(nameOrSignature: "complianceRegistry"): TypedContractMethod<[], [string], "view">;
|
|
628
663
|
getFunction(nameOrSignature: "crvUSDToken"): TypedContractMethod<[], [string], "view">;
|
|
629
664
|
getFunction(nameOrSignature: "deToken"): TypedContractMethod<[], [string], "view">;
|
|
@@ -643,7 +678,8 @@ export interface StabilityPool extends BaseContract {
|
|
|
643
678
|
_crvUSDToken: AddressLike,
|
|
644
679
|
_lendingPool: AddressLike,
|
|
645
680
|
_treasury: AddressLike,
|
|
646
|
-
_liquidationStrategyProxy: AddressLike
|
|
681
|
+
_liquidationStrategyProxy: AddressLike,
|
|
682
|
+
_initialOwner: AddressLike
|
|
647
683
|
], [
|
|
648
684
|
void
|
|
649
685
|
], "nonpayable">;
|
|
@@ -747,6 +783,7 @@ export interface StabilityPool extends BaseContract {
|
|
|
747
783
|
getEvent(key: "AllocationUpdated"): TypedContractEvent<AllocationUpdatedEvent.InputTuple, AllocationUpdatedEvent.OutputTuple, AllocationUpdatedEvent.OutputObject>;
|
|
748
784
|
getEvent(key: "BorrowerLiquidated"): TypedContractEvent<BorrowerLiquidatedEvent.InputTuple, BorrowerLiquidatedEvent.OutputTuple, BorrowerLiquidatedEvent.OutputObject>;
|
|
749
785
|
getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
786
|
+
getEvent(key: "DustCollected"): TypedContractEvent<DustCollectedEvent.InputTuple, DustCollectedEvent.OutputTuple, DustCollectedEvent.OutputObject>;
|
|
750
787
|
getEvent(key: "FeeCollectorUpdated"): TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
751
788
|
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
752
789
|
getEvent(key: "LiquidationStrategyProxyUpdated"): TypedContractEvent<LiquidationStrategyProxyUpdatedEvent.InputTuple, LiquidationStrategyProxyUpdatedEvent.OutputTuple, LiquidationStrategyProxyUpdatedEvent.OutputObject>;
|
|
@@ -776,6 +813,8 @@ export interface StabilityPool extends BaseContract {
|
|
|
776
813
|
BorrowerLiquidated: TypedContractEvent<BorrowerLiquidatedEvent.InputTuple, BorrowerLiquidatedEvent.OutputTuple, BorrowerLiquidatedEvent.OutputObject>;
|
|
777
814
|
"Deposit(address,uint256,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
778
815
|
Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
816
|
+
"DustCollected(address,address,uint256)": TypedContractEvent<DustCollectedEvent.InputTuple, DustCollectedEvent.OutputTuple, DustCollectedEvent.OutputObject>;
|
|
817
|
+
DustCollected: TypedContractEvent<DustCollectedEvent.InputTuple, DustCollectedEvent.OutputTuple, DustCollectedEvent.OutputObject>;
|
|
779
818
|
"FeeCollectorUpdated(address,address)": TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
780
819
|
FeeCollectorUpdated: TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
781
820
|
"Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|