@raac/rpc 1.1.0-beta.72 → 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/configs/chains/8453.json +17 -17
- package/dist/pools/lendingPool/getLendingPoolInfo.js +3 -0
- package/dist/scripts/liquidation.js +31 -12
- 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
|
@@ -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>;
|
package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPoolStorage.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 StabilityPoolStorageInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "crvUSDToken" | "deToken" | "depositBlock" | "feeCollector" | "isManager" | "lendingPool" | "liquidationSplit" | "liquidationSwap" | "managerList" | "rToken" | "rwaVault" | "treasury" | "withdrawTimelock" | "withdrawTimelockDelay" | "withdrawTimelockDuration"): FunctionFragment;
|
|
4
|
+
getFunction(nameOrSignature: "crvUSDToken" | "deToken" | "depositBlock" | "feeCollector" | "isManager" | "lendingPool" | "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;
|
|
@@ -10,6 +10,7 @@ export interface StabilityPoolStorageInterface extends Interface {
|
|
|
10
10
|
encodeFunctionData(functionFragment: "isManager", values: [AddressLike]): string;
|
|
11
11
|
encodeFunctionData(functionFragment: "lendingPool", values?: undefined): string;
|
|
12
12
|
encodeFunctionData(functionFragment: "liquidationSplit", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "liquidationStrategyProxy", values?: undefined): string;
|
|
13
14
|
encodeFunctionData(functionFragment: "liquidationSwap", values?: undefined): string;
|
|
14
15
|
encodeFunctionData(functionFragment: "managerList", values: [BigNumberish]): string;
|
|
15
16
|
encodeFunctionData(functionFragment: "rToken", values?: undefined): string;
|
|
@@ -25,6 +26,7 @@ export interface StabilityPoolStorageInterface extends Interface {
|
|
|
25
26
|
decodeFunctionResult(functionFragment: "isManager", data: BytesLike): Result;
|
|
26
27
|
decodeFunctionResult(functionFragment: "lendingPool", data: BytesLike): Result;
|
|
27
28
|
decodeFunctionResult(functionFragment: "liquidationSplit", data: BytesLike): Result;
|
|
29
|
+
decodeFunctionResult(functionFragment: "liquidationStrategyProxy", data: BytesLike): Result;
|
|
28
30
|
decodeFunctionResult(functionFragment: "liquidationSwap", data: BytesLike): Result;
|
|
29
31
|
decodeFunctionResult(functionFragment: "managerList", data: BytesLike): Result;
|
|
30
32
|
decodeFunctionResult(functionFragment: "rToken", data: BytesLike): Result;
|
|
@@ -91,6 +93,7 @@ export interface StabilityPoolStorage extends BaseContract {
|
|
|
91
93
|
liquidityPercentage: bigint;
|
|
92
94
|
}
|
|
93
95
|
], "view">;
|
|
96
|
+
liquidationStrategyProxy: TypedContractMethod<[], [string], "view">;
|
|
94
97
|
liquidationSwap: TypedContractMethod<[], [string], "view">;
|
|
95
98
|
managerList: TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
96
99
|
rToken: TypedContractMethod<[], [string], "view">;
|
|
@@ -138,6 +141,7 @@ export interface StabilityPoolStorage extends BaseContract {
|
|
|
138
141
|
liquidityPercentage: bigint;
|
|
139
142
|
}
|
|
140
143
|
], "view">;
|
|
144
|
+
getFunction(nameOrSignature: "liquidationStrategyProxy"): TypedContractMethod<[], [string], "view">;
|
|
141
145
|
getFunction(nameOrSignature: "liquidationSwap"): TypedContractMethod<[], [string], "view">;
|
|
142
146
|
getFunction(nameOrSignature: "managerList"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
143
147
|
getFunction(nameOrSignature: "rToken"): TypedContractMethod<[], [string], "view">;
|
|
@@ -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 RTokenInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "DOMAIN_SEPARATOR" | "_assetAddress" | "allowance" | "approve" | "balanceOf" | "burn" | "calculateDustAmount" | "complianceRegistry" | "decimals" | "eip712Domain" | "getAssetAddress" | "getLendingPool" | "getRawTotalDeposits" | "getUserIndex" | "mint" | "name" | "nonces" | "owner" | "permit" | "rawBalanceOf" | "rawTotalSupply" | "renounceOwnership" | "rescueToken" | "setLendingPool" | "symbol" | "totalSupply" | "transfer" | "
|
|
4
|
+
getFunction(nameOrSignature: "DOMAIN_SEPARATOR" | "_assetAddress" | "allowance" | "approve" | "balanceOf" | "burn" | "calculateDustAmount" | "complianceRegistry" | "decimals" | "eip712Domain" | "getAssetAddress" | "getLendingPool" | "getRawTotalDeposits" | "getUserIndex" | "mint" | "name" | "nonces" | "owner" | "permit" | "rawBalanceOf" | "rawTotalSupply" | "renounceOwnership" | "rescueToken" | "setLendingPool" | "symbol" | "totalSupply" | "transfer" | "transferAsset" | "transferFrom" | "transferOwnership"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "Approval" | "BalanceTransfer" | "Burn" | "BurnerSet" | "DustTransferred" | "EIP712DomainChanged" | "LendingPoolUpdated" | "LiquidityIndexUpdated" | "Mint" | "MinterSet" | "OwnershipTransferred" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "DOMAIN_SEPARATOR", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "_assetAddress", values?: undefined): string;
|
|
@@ -38,7 +38,6 @@ export interface RTokenInterface extends Interface {
|
|
|
38
38
|
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
39
39
|
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
40
40
|
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
41
|
-
encodeFunctionData(functionFragment: "transferAccruedDust", values: [AddressLike, BigNumberish]): string;
|
|
42
41
|
encodeFunctionData(functionFragment: "transferAsset", values: [AddressLike, BigNumberish]): string;
|
|
43
42
|
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
44
43
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
@@ -69,7 +68,6 @@ export interface RTokenInterface extends Interface {
|
|
|
69
68
|
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
70
69
|
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
71
70
|
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
72
|
-
decodeFunctionResult(functionFragment: "transferAccruedDust", data: BytesLike): Result;
|
|
73
71
|
decodeFunctionResult(functionFragment: "transferAsset", data: BytesLike): Result;
|
|
74
72
|
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
75
73
|
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
@@ -370,12 +368,6 @@ export interface RToken extends BaseContract {
|
|
|
370
368
|
], [
|
|
371
369
|
boolean
|
|
372
370
|
], "nonpayable">;
|
|
373
|
-
transferAccruedDust: TypedContractMethod<[
|
|
374
|
-
recipient: AddressLike,
|
|
375
|
-
amount: BigNumberish
|
|
376
|
-
], [
|
|
377
|
-
void
|
|
378
|
-
], "nonpayable">;
|
|
379
371
|
transferAsset: TypedContractMethod<[
|
|
380
372
|
user: AddressLike,
|
|
381
373
|
amount: BigNumberish
|
|
@@ -486,12 +478,6 @@ export interface RToken extends BaseContract {
|
|
|
486
478
|
], [
|
|
487
479
|
boolean
|
|
488
480
|
], "nonpayable">;
|
|
489
|
-
getFunction(nameOrSignature: "transferAccruedDust"): TypedContractMethod<[
|
|
490
|
-
recipient: AddressLike,
|
|
491
|
-
amount: BigNumberish
|
|
492
|
-
], [
|
|
493
|
-
void
|
|
494
|
-
], "nonpayable">;
|
|
495
481
|
getFunction(nameOrSignature: "transferAsset"): TypedContractMethod<[
|
|
496
482
|
user: AddressLike,
|
|
497
483
|
amount: BigNumberish
|
package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare namespace ILendingPoolStorage {
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
export interface ILendingPoolInterface extends Interface {
|
|
29
|
-
getFunction(nameOrSignature: "borrow" | "calculateHealthFactor" | "claimCollectorRewards" | "closeLiquidation" | "deposit" | "depositAsset" | "finalizeLiquidation" | "getAssetValue" | "getNormalizedDebt" | "getNormalizedIncome" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionsScaledDebt" | "getUserCollateralValue" | "initiateLiquidation" | "isUserDepositInSameBlock" | "onERC721Received" | "openVaultPosition" | "repay" | "repayOnBehalf" | "setParameter" | "setPrimeRate" | "setStabilityPool" | "supportedAdapter" | "
|
|
29
|
+
getFunction(nameOrSignature: "borrow" | "calculateHealthFactor" | "claimCollectorRewards" | "closeLiquidation" | "deposit" | "depositAsset" | "finalizeLiquidation" | "getAssetValue" | "getNormalizedDebt" | "getNormalizedIncome" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionsScaledDebt" | "getUserCollateralValue" | "initiateLiquidation" | "isUserDepositInSameBlock" | "onERC721Received" | "openVaultPosition" | "repay" | "repayOnBehalf" | "setParameter" | "setPrimeRate" | "setStabilityPool" | "supportedAdapter" | "updateState" | "withdraw" | "withdrawAsset"): FunctionFragment;
|
|
30
30
|
getEvent(nameOrSignatureOrTopic: "Borrow" | "BorrowCapUpdated" | "CanPaybackDebtChanged" | "Deposit" | "DepositFeeUpdated" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "InsuredAsset" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationProxyUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "NotFeeCollector" | "ParameterChanged" | "PrimeRateOracleUpdated" | "ProtocolFeeRateUpdated" | "ProtocolFeesCollected" | "ProtocolFeesWithdrawn" | "Repay" | "RewardClaimed" | "RewardDistributed" | "RewardParametersUpdated" | "RewardTokenAdded" | "RewardTokensDeposited" | "StabilityPoolUpdated" | "SupplyCapUpdated" | "VaultFullyWithdrawn" | "VaultOpeningFeePaid" | "VaultOpeningFeeUpdated" | "VaultRewardsClaimed" | "VaultUpdated" | "VaultWithdrawalFailed" | "Withdraw" | "WithdrawCancelled" | "WithdrawFeeUpdated" | "WithdrawQueued" | "WithdrawTimelockDurationUpdated" | "WithdrawalsPauseStatusChanged" | "YieldHarvested"): EventFragment;
|
|
31
31
|
encodeFunctionData(functionFragment: "borrow", values: [AddressLike, BytesLike, BigNumberish]): string;
|
|
32
32
|
encodeFunctionData(functionFragment: "calculateHealthFactor", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
@@ -54,7 +54,6 @@ export interface ILendingPoolInterface extends Interface {
|
|
|
54
54
|
encodeFunctionData(functionFragment: "setPrimeRate", values: [BigNumberish]): string;
|
|
55
55
|
encodeFunctionData(functionFragment: "setStabilityPool", values: [AddressLike]): string;
|
|
56
56
|
encodeFunctionData(functionFragment: "supportedAdapter", values: [AddressLike]): string;
|
|
57
|
-
encodeFunctionData(functionFragment: "transferAccruedDust", values: [AddressLike, BigNumberish]): string;
|
|
58
57
|
encodeFunctionData(functionFragment: "updateState", values?: undefined): string;
|
|
59
58
|
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
60
59
|
encodeFunctionData(functionFragment: "withdrawAsset", values: [AddressLike, BytesLike]): string;
|
|
@@ -84,7 +83,6 @@ export interface ILendingPoolInterface extends Interface {
|
|
|
84
83
|
decodeFunctionResult(functionFragment: "setPrimeRate", data: BytesLike): Result;
|
|
85
84
|
decodeFunctionResult(functionFragment: "setStabilityPool", data: BytesLike): Result;
|
|
86
85
|
decodeFunctionResult(functionFragment: "supportedAdapter", data: BytesLike): Result;
|
|
87
|
-
decodeFunctionResult(functionFragment: "transferAccruedDust", data: BytesLike): Result;
|
|
88
86
|
decodeFunctionResult(functionFragment: "updateState", data: BytesLike): Result;
|
|
89
87
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
90
88
|
decodeFunctionResult(functionFragment: "withdrawAsset", data: BytesLike): Result;
|
|
@@ -941,12 +939,6 @@ export interface ILendingPool extends BaseContract {
|
|
|
941
939
|
], [
|
|
942
940
|
boolean
|
|
943
941
|
], "nonpayable">;
|
|
944
|
-
transferAccruedDust: TypedContractMethod<[
|
|
945
|
-
recipient: AddressLike,
|
|
946
|
-
amountUnderlying: BigNumberish
|
|
947
|
-
], [
|
|
948
|
-
void
|
|
949
|
-
], "nonpayable">;
|
|
950
942
|
updateState: TypedContractMethod<[], [void], "nonpayable">;
|
|
951
943
|
withdraw: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
952
944
|
withdrawAsset: TypedContractMethod<[
|
|
@@ -1071,12 +1063,6 @@ export interface ILendingPool extends BaseContract {
|
|
|
1071
1063
|
getFunction(nameOrSignature: "setPrimeRate"): TypedContractMethod<[newPrimeRate: BigNumberish], [void], "nonpayable">;
|
|
1072
1064
|
getFunction(nameOrSignature: "setStabilityPool"): TypedContractMethod<[newStabilityPool: AddressLike], [void], "nonpayable">;
|
|
1073
1065
|
getFunction(nameOrSignature: "supportedAdapter"): TypedContractMethod<[_adapter: AddressLike], [boolean], "nonpayable">;
|
|
1074
|
-
getFunction(nameOrSignature: "transferAccruedDust"): TypedContractMethod<[
|
|
1075
|
-
recipient: AddressLike,
|
|
1076
|
-
amountUnderlying: BigNumberish
|
|
1077
|
-
], [
|
|
1078
|
-
void
|
|
1079
|
-
], "nonpayable">;
|
|
1080
1066
|
getFunction(nameOrSignature: "updateState"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1081
1067
|
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1082
1068
|
getFunction(nameOrSignature: "withdrawAsset"): TypedContractMethod<[
|
package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts
CHANGED
|
@@ -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 IStabilityPoolInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "addManager" | "balanceOf" | "deposit" | "getManagerList" | "getPoolIndex" | "getRawTotalDeposits" | "getScaledDeposit" | "getTotalDeposits" | "getUserDeposit" | "getUserIndex" | "isAddressManager" | "isUserDepositInSameBlock" | "liquidateBorrower" | "pause" | "removeManager" | "unpause" | "withdraw"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "AllocationUpdated" | "Deposit" | "FeeCollectorUpdated" | "LiquidationStrategyProxyUpdated" | "LiquidationSwapUpdated" | "LiquidationVaultTokenSplitUpdated" | "LiquidityPoolSet" | "ManagerAdded" | "ManagerRemoved" | "MarketAdded" | "MarketAllocationUpdated" | "MarketRemoved" | "NFTDeposited" | "RAACDepositedFromPool" | "RWAVaultUpdated" | "Withdraw" | "WithdrawCancelled" | "WithdrawQueued" | "WithdrawTimelockDelayUpdated" | "WithdrawTimelockDurationUpdated"): EventFragment;
|
|
4
|
+
getFunction(nameOrSignature: "addManager" | "balanceOf" | "collectDust" | "deposit" | "getManagerList" | "getPoolIndex" | "getRawTotalDeposits" | "getScaledDeposit" | "getTotalDeposits" | "getUserDeposit" | "getUserIndex" | "isAddressManager" | "isUserDepositInSameBlock" | "liquidateBorrower" | "pause" | "removeManager" | "unpause" | "withdraw"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "AllocationUpdated" | "Deposit" | "DustCollected" | "FeeCollectorUpdated" | "LiquidationStrategyProxyUpdated" | "LiquidationSwapUpdated" | "LiquidationVaultTokenSplitUpdated" | "LiquidityPoolSet" | "ManagerAdded" | "ManagerRemoved" | "MarketAdded" | "MarketAllocationUpdated" | "MarketRemoved" | "NFTDeposited" | "RAACDepositedFromPool" | "RWAVaultUpdated" | "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: "deposit", values: [BigNumberish]): string;
|
|
9
10
|
encodeFunctionData(functionFragment: "getManagerList", values?: undefined): string;
|
|
10
11
|
encodeFunctionData(functionFragment: "getPoolIndex", values?: undefined): string;
|
|
@@ -22,6 +23,7 @@ export interface IStabilityPoolInterface extends Interface {
|
|
|
22
23
|
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
23
24
|
decodeFunctionResult(functionFragment: "addManager", data: BytesLike): Result;
|
|
24
25
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: "collectDust", data: BytesLike): Result;
|
|
25
27
|
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
|
|
26
28
|
decodeFunctionResult(functionFragment: "getManagerList", data: BytesLike): Result;
|
|
27
29
|
decodeFunctionResult(functionFragment: "getPoolIndex", data: BytesLike): Result;
|
|
@@ -71,6 +73,23 @@ export declare namespace DepositEvent {
|
|
|
71
73
|
type Log = TypedEventLog<Event>;
|
|
72
74
|
type LogDescription = TypedLogDescription<Event>;
|
|
73
75
|
}
|
|
76
|
+
export declare namespace DustCollectedEvent {
|
|
77
|
+
type InputTuple = [
|
|
78
|
+
token: AddressLike,
|
|
79
|
+
recipient: AddressLike,
|
|
80
|
+
amount: BigNumberish
|
|
81
|
+
];
|
|
82
|
+
type OutputTuple = [token: string, recipient: string, amount: bigint];
|
|
83
|
+
interface OutputObject {
|
|
84
|
+
token: string;
|
|
85
|
+
recipient: string;
|
|
86
|
+
amount: bigint;
|
|
87
|
+
}
|
|
88
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
89
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
90
|
+
type Log = TypedEventLog<Event>;
|
|
91
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
92
|
+
}
|
|
74
93
|
export declare namespace FeeCollectorUpdatedEvent {
|
|
75
94
|
type InputTuple = [previous: AddressLike, latest: AddressLike];
|
|
76
95
|
type OutputTuple = [previous: string, latest: string];
|
|
@@ -323,6 +342,13 @@ export interface IStabilityPool extends BaseContract {
|
|
|
323
342
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
324
343
|
addManager: TypedContractMethod<[manager: AddressLike], [void], "nonpayable">;
|
|
325
344
|
balanceOf: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
345
|
+
collectDust: TypedContractMethod<[
|
|
346
|
+
token: AddressLike,
|
|
347
|
+
recipient: AddressLike,
|
|
348
|
+
amount: BigNumberish
|
|
349
|
+
], [
|
|
350
|
+
void
|
|
351
|
+
], "nonpayable">;
|
|
326
352
|
deposit: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
327
353
|
getManagerList: TypedContractMethod<[], [string[]], "view">;
|
|
328
354
|
getPoolIndex: TypedContractMethod<[], [bigint], "view">;
|
|
@@ -365,6 +391,13 @@ export interface IStabilityPool extends BaseContract {
|
|
|
365
391
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
366
392
|
getFunction(nameOrSignature: "addManager"): TypedContractMethod<[manager: AddressLike], [void], "nonpayable">;
|
|
367
393
|
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
394
|
+
getFunction(nameOrSignature: "collectDust"): TypedContractMethod<[
|
|
395
|
+
token: AddressLike,
|
|
396
|
+
recipient: AddressLike,
|
|
397
|
+
amount: BigNumberish
|
|
398
|
+
], [
|
|
399
|
+
void
|
|
400
|
+
], "nonpayable">;
|
|
368
401
|
getFunction(nameOrSignature: "deposit"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
369
402
|
getFunction(nameOrSignature: "getManagerList"): TypedContractMethod<[], [string[]], "view">;
|
|
370
403
|
getFunction(nameOrSignature: "getPoolIndex"): TypedContractMethod<[], [bigint], "view">;
|
|
@@ -390,6 +423,7 @@ export interface IStabilityPool extends BaseContract {
|
|
|
390
423
|
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[deCRVUSDAmount: BigNumberish], [void], "nonpayable">;
|
|
391
424
|
getEvent(key: "AllocationUpdated"): TypedContractEvent<AllocationUpdatedEvent.InputTuple, AllocationUpdatedEvent.OutputTuple, AllocationUpdatedEvent.OutputObject>;
|
|
392
425
|
getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
426
|
+
getEvent(key: "DustCollected"): TypedContractEvent<DustCollectedEvent.InputTuple, DustCollectedEvent.OutputTuple, DustCollectedEvent.OutputObject>;
|
|
393
427
|
getEvent(key: "FeeCollectorUpdated"): TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
394
428
|
getEvent(key: "LiquidationStrategyProxyUpdated"): TypedContractEvent<LiquidationStrategyProxyUpdatedEvent.InputTuple, LiquidationStrategyProxyUpdatedEvent.OutputTuple, LiquidationStrategyProxyUpdatedEvent.OutputObject>;
|
|
395
429
|
getEvent(key: "LiquidationSwapUpdated"): TypedContractEvent<LiquidationSwapUpdatedEvent.InputTuple, LiquidationSwapUpdatedEvent.OutputTuple, LiquidationSwapUpdatedEvent.OutputObject>;
|
|
@@ -413,6 +447,8 @@ export interface IStabilityPool extends BaseContract {
|
|
|
413
447
|
AllocationUpdated: TypedContractEvent<AllocationUpdatedEvent.InputTuple, AllocationUpdatedEvent.OutputTuple, AllocationUpdatedEvent.OutputObject>;
|
|
414
448
|
"Deposit(address,uint256,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
415
449
|
Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
450
|
+
"DustCollected(address,address,uint256)": TypedContractEvent<DustCollectedEvent.InputTuple, DustCollectedEvent.OutputTuple, DustCollectedEvent.OutputObject>;
|
|
451
|
+
DustCollected: TypedContractEvent<DustCollectedEvent.InputTuple, DustCollectedEvent.OutputTuple, DustCollectedEvent.OutputObject>;
|
|
416
452
|
"FeeCollectorUpdated(address,address)": TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
417
453
|
FeeCollectorUpdated: TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
418
454
|
"LiquidationStrategyProxyUpdated(address,address)": TypedContractEvent<LiquidationStrategyProxyUpdatedEvent.InputTuple, LiquidationStrategyProxyUpdatedEvent.OutputTuple, LiquidationStrategyProxyUpdatedEvent.OutputObject>;
|
|
@@ -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 IRTokenInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "burn" | "calculateDustAmount" | "decimals" | "getAssetAddress" | "getLendingPool" | "getUserIndex" | "mint" | "rawBalanceOf" | "rawTotalSupply" | "setLendingPool" | "totalSupply" | "transfer" | "
|
|
4
|
+
getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "burn" | "calculateDustAmount" | "decimals" | "getAssetAddress" | "getLendingPool" | "getRawTotalDeposits" | "getUserIndex" | "mint" | "rawBalanceOf" | "rawTotalSupply" | "setLendingPool" | "totalSupply" | "transfer" | "transferAsset" | "transferFrom"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "Approval" | "BalanceTransfer" | "Burn" | "BurnerSet" | "DustTransferred" | "LendingPoolUpdated" | "LiquidityIndexUpdated" | "Mint" | "MinterSet" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
@@ -11,6 +11,7 @@ export interface IRTokenInterface extends Interface {
|
|
|
11
11
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
12
12
|
encodeFunctionData(functionFragment: "getAssetAddress", values?: undefined): string;
|
|
13
13
|
encodeFunctionData(functionFragment: "getLendingPool", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "getRawTotalDeposits", values?: undefined): string;
|
|
14
15
|
encodeFunctionData(functionFragment: "getUserIndex", values: [AddressLike]): string;
|
|
15
16
|
encodeFunctionData(functionFragment: "mint", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
16
17
|
encodeFunctionData(functionFragment: "rawBalanceOf", values: [AddressLike]): string;
|
|
@@ -18,7 +19,6 @@ export interface IRTokenInterface extends Interface {
|
|
|
18
19
|
encodeFunctionData(functionFragment: "setLendingPool", values: [AddressLike]): string;
|
|
19
20
|
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
20
21
|
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
21
|
-
encodeFunctionData(functionFragment: "transferAccruedDust", values: [AddressLike, BigNumberish]): string;
|
|
22
22
|
encodeFunctionData(functionFragment: "transferAsset", values: [AddressLike, BigNumberish]): string;
|
|
23
23
|
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
24
24
|
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
@@ -29,6 +29,7 @@ export interface IRTokenInterface extends Interface {
|
|
|
29
29
|
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
30
30
|
decodeFunctionResult(functionFragment: "getAssetAddress", data: BytesLike): Result;
|
|
31
31
|
decodeFunctionResult(functionFragment: "getLendingPool", data: BytesLike): Result;
|
|
32
|
+
decodeFunctionResult(functionFragment: "getRawTotalDeposits", data: BytesLike): Result;
|
|
32
33
|
decodeFunctionResult(functionFragment: "getUserIndex", data: BytesLike): Result;
|
|
33
34
|
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
34
35
|
decodeFunctionResult(functionFragment: "rawBalanceOf", data: BytesLike): Result;
|
|
@@ -36,7 +37,6 @@ export interface IRTokenInterface extends Interface {
|
|
|
36
37
|
decodeFunctionResult(functionFragment: "setLendingPool", data: BytesLike): Result;
|
|
37
38
|
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
38
39
|
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
39
|
-
decodeFunctionResult(functionFragment: "transferAccruedDust", data: BytesLike): Result;
|
|
40
40
|
decodeFunctionResult(functionFragment: "transferAsset", data: BytesLike): Result;
|
|
41
41
|
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
42
42
|
}
|
|
@@ -244,6 +244,7 @@ export interface IRToken extends BaseContract {
|
|
|
244
244
|
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
245
245
|
getAssetAddress: TypedContractMethod<[], [string], "view">;
|
|
246
246
|
getLendingPool: TypedContractMethod<[], [string], "view">;
|
|
247
|
+
getRawTotalDeposits: TypedContractMethod<[], [bigint], "view">;
|
|
247
248
|
getUserIndex: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
248
249
|
mint: TypedContractMethod<[
|
|
249
250
|
caller: AddressLike,
|
|
@@ -267,12 +268,6 @@ export interface IRToken extends BaseContract {
|
|
|
267
268
|
], [
|
|
268
269
|
boolean
|
|
269
270
|
], "nonpayable">;
|
|
270
|
-
transferAccruedDust: TypedContractMethod<[
|
|
271
|
-
recipient: AddressLike,
|
|
272
|
-
amount: BigNumberish
|
|
273
|
-
], [
|
|
274
|
-
void
|
|
275
|
-
], "nonpayable">;
|
|
276
271
|
transferAsset: TypedContractMethod<[
|
|
277
272
|
user: AddressLike,
|
|
278
273
|
amount: BigNumberish
|
|
@@ -312,6 +307,7 @@ export interface IRToken extends BaseContract {
|
|
|
312
307
|
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
313
308
|
getFunction(nameOrSignature: "getAssetAddress"): TypedContractMethod<[], [string], "view">;
|
|
314
309
|
getFunction(nameOrSignature: "getLendingPool"): TypedContractMethod<[], [string], "view">;
|
|
310
|
+
getFunction(nameOrSignature: "getRawTotalDeposits"): TypedContractMethod<[], [bigint], "view">;
|
|
315
311
|
getFunction(nameOrSignature: "getUserIndex"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
316
312
|
getFunction(nameOrSignature: "mint"): TypedContractMethod<[
|
|
317
313
|
caller: AddressLike,
|
|
@@ -331,12 +327,6 @@ export interface IRToken extends BaseContract {
|
|
|
331
327
|
], [
|
|
332
328
|
boolean
|
|
333
329
|
], "nonpayable">;
|
|
334
|
-
getFunction(nameOrSignature: "transferAccruedDust"): TypedContractMethod<[
|
|
335
|
-
recipient: AddressLike,
|
|
336
|
-
amount: BigNumberish
|
|
337
|
-
], [
|
|
338
|
-
void
|
|
339
|
-
], "nonpayable">;
|
|
340
330
|
getFunction(nameOrSignature: "transferAsset"): TypedContractMethod<[
|
|
341
331
|
user: AddressLike,
|
|
342
332
|
amount: BigNumberish
|