@raac/rpc 1.1.0-beta.5 → 1.1.0-beta.6
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/RPCLibrary.js +52 -23
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +83 -29
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +82 -31
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +114 -5
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +2 -2
- package/dist/artifacts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.json +465 -0
- package/dist/artifacts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.json +497 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1065 -337
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +180 -99
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +20 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -29
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +158 -38
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +2 -2
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +2 -29
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +553 -224
- package/dist/artifacts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.json +354 -0
- package/dist/artifacts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.json +356 -0
- package/dist/artifacts/core/vaults/RWAVault.sol/RWAVault.json +1036 -0
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +622 -207
- package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +2 -2
- package/dist/artifacts/zeno/Auction.sol/Auction.json +89 -15
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +2 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +108 -38
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +2 -2
- package/dist/configs/chains/17000.json +36 -0
- package/dist/configs/chains/8453.json +36 -0
- package/dist/pools/lendingPool/_helpers.js +29 -0
- package/dist/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.js +20 -0
- package/dist/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.js +32 -0
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.js +20 -0
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.js +32 -0
- package/dist/pools/lendingPool/borrowFromLendingPool.js +2 -2
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +4 -3
- package/dist/pools/lendingPool/calculateInsuranceFee.js +3 -2
- package/dist/pools/lendingPool/closeLiquidation.js +3 -2
- package/dist/pools/lendingPool/depositAssetToLendingPool.js +60 -0
- package/dist/pools/lendingPool/{getPendingReward.js → getAdapters.js} +10 -6
- package/dist/pools/lendingPool/getHealthFactor.js +2 -2
- package/dist/pools/lendingPool/getLendingPoolInfo.js +4 -13
- package/dist/pools/lendingPool/getParameters.js +33 -0
- package/dist/pools/lendingPool/getPositionDebt.js +3 -2
- package/dist/pools/lendingPool/getPositionScaledDebt.js +3 -2
- package/dist/pools/lendingPool/getPositionView.js +5 -2
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +1 -0
- package/dist/pools/lendingPool/getUserCollateralValue.js +1 -0
- package/dist/pools/lendingPool/initializeLiquidation.js +2 -2
- package/dist/pools/lendingPool/repayToLendingPool.js +2 -2
- package/dist/pools/lendingPool/{withdrawNFTFromLendingPool.js → withdrawAssetFromLendingPool.js} +5 -5
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.js +21 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.js +30 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.js +20 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.js +21 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.js +20 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.js +30 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.js +20 -0
- package/dist/pools/rwaVault/depositToRWAVault.js +27 -0
- package/dist/pools/rwaVault/getNextRandomNFT.js +25 -0
- package/dist/pools/rwaVault/getRWAVaultInfo.js +52 -0
- package/dist/pools/rwaVault/redeemNFTFromRWAVault.js +27 -0
- package/dist/pools/rwaVault/requestRandomSeed.js +27 -0
- package/dist/scripts/index.js +219 -152
- package/dist/types/RPCLibrary.d.ts +40 -21
- package/dist/types/pools/lendingPool/_helpers.d.ts +8 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.d.ts +4 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.d.ts +11 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.d.ts +4 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.d.ts +11 -0
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +2 -2
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +2 -2
- package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +2 -2
- package/dist/types/pools/lendingPool/closeLiquidation.d.ts +2 -2
- package/dist/types/pools/lendingPool/depositAssetToLendingPool.d.ts +4 -0
- package/dist/types/pools/lendingPool/getAdapters.d.ts +8 -0
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +2 -2
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +1 -3
- package/dist/types/pools/lendingPool/getParameters.d.ts +17 -0
- package/dist/types/pools/lendingPool/getPositionDebt.d.ts +2 -2
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +2 -2
- package/dist/types/pools/lendingPool/getPositionView.d.ts +17 -14
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +2 -2
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +2 -2
- package/dist/types/pools/lendingPool/withdrawAssetFromLendingPool.d.ts +4 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.d.ts +4 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.d.ts +10 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.d.ts +4 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.d.ts +4 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.d.ts +4 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.d.ts +10 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.d.ts +4 -0
- package/dist/types/pools/rwaVault/depositToRWAVault.d.ts +4 -0
- package/dist/types/pools/rwaVault/getNextRandomNFT.d.ts +8 -0
- package/dist/types/pools/rwaVault/getRWAVaultInfo.d.ts +20 -0
- package/dist/types/pools/rwaVault/redeemNFTFromRWAVault.d.ts +4 -0
- package/dist/types/pools/rwaVault/requestRandomSeed.d.ts +4 -0
- package/dist/types/scripts/index.d.ts +0 -1
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.d.ts +103 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver.d.ts +37 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface.d.ts +143 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI.d.ts +529 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus.d.ts +109 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +6 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus.d.ts +192 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus.d.ts +45 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus.d.ts +155 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient.d.ts +25 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +4 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock.d.ts +731 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/Ownable2Step.d.ts +77 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.d.ts +231 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC2981.d.ts +49 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/Errors.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/MerkleProof.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/index.d.ts +1 -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/collectors/FeeCollector.d.ts +30 -1
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/IWETH10Minimal.d.ts +53 -0
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector.d.ts +115 -0
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/collectors/Treasury.d.ts +15 -1
- package/dist/types/typechain-types/contracts/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +616 -142
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +396 -108
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeRewardsDistributor.d.ts +623 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +609 -155
- package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +610 -156
- package/dist/types/typechain-types/contracts/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/governance/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/governance/proposals/Governance.d.ts +45 -67
- package/dist/types/typechain-types/contracts/core/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/core/lockers/LLamaTemple.d.ts +721 -0
- package/dist/types/typechain-types/contracts/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +69 -12
- package/dist/types/typechain-types/contracts/core/oracles/BaseChainlinkFunctionsOracle.d.ts +22 -4
- package/dist/types/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +40 -2
- package/dist/types/typechain-types/contracts/core/oracles/RAACHousePriceOracle.d.ts +41 -8
- package/dist/types/typechain-types/contracts/core/oracles/RAACPrimeRateOracle.d.ts +39 -7
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.d.ts +232 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IERC20Adapter.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.d.ts +254 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +728 -205
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPoolStorage.d.ts +440 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LiquidationProxy.d.ts +538 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/VaultProxy.d.ts +485 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/index.d.ts +7 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationStrategyProxy.d.ts +158 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationSwap.d.ts +124 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +135 -79
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPoolStorage.d.ts +140 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/contracts/core/primitives/ComplianceRegistry.d.ts +203 -0
- package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +23 -1
- package/dist/types/typechain-types/contracts/core/primitives/WithCompliance.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +6 -15
- package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +94 -11
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +1 -17
- package/dist/types/typechain-types/contracts/core/tokens/RWAIndexToken.d.ts +264 -0
- package/dist/types/typechain-types/contracts/core/tokens/VeRAACToken.d.ts +433 -172
- package/dist/types/typechain-types/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.d.ts +174 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.d.ts +178 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/RWAVault.d.ts +511 -0
- package/dist/types/typechain-types/contracts/core/vaults/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/interfaces/IComplianceRegistry.d.ts +63 -0
- package/dist/types/typechain-types/contracts/interfaces/INFTLiquidator.d.ts +190 -23
- package/dist/types/typechain-types/contracts/interfaces/INFTWhitelist.d.ts +75 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +9 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IBaseGauge.d.ts +527 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +222 -40
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor.d.ts +351 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/IGovernance.d.ts +45 -67
- package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaLocker.d.ts +332 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaTemple.d.ts +302 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +30 -1
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +5 -1
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +31 -24
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IAssetAdapter.d.ts +143 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IERC721Adapter.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +369 -150
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage.d.ts +102 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +19 -64
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +6 -15
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +70 -7
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IVaultToken.d.ts +197 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IveRAACToken.d.ts +295 -36
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseHybridVault.d.ts +208 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IVaultAssetAdapter.d.ts +89 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/ICurveLiquidityGaugeV5.d.ts +357 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/contracts/interfaces/zeno/IAuction.d.ts +18 -3
- package/dist/types/typechain-types/contracts/interfaces/zeno/IZENO.d.ts +31 -1
- package/dist/types/typechain-types/contracts/libraries/governance/LockManager.d.ts +9 -2
- package/dist/types/typechain-types/contracts/libraries/governance/PowerCheckpoint.d.ts +34 -1
- package/dist/types/typechain-types/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/libraries/math/TimeWeightedAverage.d.ts +1 -25
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockWETH.d.ts +225 -0
- package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock.d.ts +56 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge.d.ts +35 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockGaugeController.d.ts +2 -6
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker.d.ts +394 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle.d.ts +33 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.d.ts +2 -2
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +349 -148
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACHousePriceOracle.d.ts +41 -8
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACPrimeRateOracle.d.ts +39 -7
- package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +367 -140
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockFeeCollectorToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/BoostCalculatorMock.d.ts +68 -139
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/LockManagerMock.d.ts +19 -9
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/PowerCheckpointMock.d.ts +37 -18
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/mocks/tests/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/zeno/Auction.d.ts +37 -8
- package/dist/types/typechain-types/contracts/zeno/ZENO.d.ts +62 -6
- 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/shared/interfaces/AggregatorV3Interface__factory.d.ts +93 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface__factory.d.ts +191 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI__factory.d.ts +663 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus__factory.d.ts +139 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus__factory.d.ts +194 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus__factory.d.ts +27 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus__factory.d.ts +155 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock__factory.d.ts +944 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.d.ts +95 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.d.ts +289 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC2981__factory.d.ts +43 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/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 +50 -0
- 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 +26 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.d.ts +1 -0
- 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/FeeCollector__factory.d.ts +65 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/IWETH10Minimal__factory.d.ts +49 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector__factory.d.ts +177 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +15 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +698 -144
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +461 -137
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +848 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +686 -162
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +689 -155
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +42 -80
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/LLamaTemple__factory.d.ts +1028 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +66 -25
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseChainlinkFunctionsOracle__factory.d.ts +37 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +90 -6
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +64 -9
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter__factory.d.ts +369 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IERC20Adapter__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter__factory.d.ts +393 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPoolStorage__factory.d.ts +578 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +881 -306
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LiquidationProxy__factory.d.ts +716 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/VaultProxy__factory.d.ts +636 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/index.d.ts +5 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationStrategyProxy__factory.d.ts +281 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationSwap__factory.d.ts +227 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPoolStorage__factory.d.ts +255 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +151 -85
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry__factory.d.ts +276 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +29 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/WithCompliance__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/index.d.ts +2 -0
- 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 +7 -11
- 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 +124 -31
- 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 -61
- package/dist/types/typechain-types/factories/contracts/core/tokens/RWAIndexToken__factory.d.ts +465 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +446 -186
- package/dist/types/typechain-types/factories/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter__factory.d.ts +285 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter__factory.d.ts +287 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/RWAVault__factory.d.ts +808 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IComplianceRegistry__factory.d.ts +67 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTLiquidator__factory.d.ts +213 -6
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTWhitelist__factory.d.ts +77 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IBaseGauge__factory.d.ts +643 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +239 -65
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts +425 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/IGovernance__factory.d.ts +41 -79
- package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaLocker__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaTemple__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver__factory.d.ts +35 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +14 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +24 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IAssetAdapter__factory.d.ts +189 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IERC721Adapter__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage__factory.d.ts +183 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +428 -143
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage__factory.d.ts +56 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +26 -75
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +6 -10
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +79 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IVaultToken__factory.d.ts +223 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IveRAACToken__factory.d.ts +355 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IBaseHybridVault__factory.d.ts +256 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IVaultAssetAdapter__factory.d.ts +119 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/ICurveLiquidityGaugeV5__factory.d.ts +503 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IAuction__factory.d.ts +44 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IZENO__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/BoostCalculator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/LockManager__factory.d.ts +10 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +47 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +1 -29
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/utils/StringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockTreasury__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockWETH__factory.d.ts +353 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock__factory.d.ts +65 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeController__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/index.d.ts +0 -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/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker__factory.d.ts +591 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +2 -2
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +490 -166
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +67 -12
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +1 -0
- 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 +427 -132
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +1 -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/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/CrvUSDToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC20Mock__factory.d.ts +8 -4
- 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 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +1 -15
- 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/tokens/index.d.ts +0 -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 +53 -122
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +21 -12
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +39 -14
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/TimeWeightedAverageMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/WadRayMathMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousDeposit__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousWithdraw__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +83 -14
- package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +13 -1
- package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +87 -31
- package/dist/types/typechain-types/index.d.ts +112 -40
- package/dist/types/utils/artifacts.d.ts +713 -166
- package/dist/utils/artifacts.js +13 -0
- package/package.json +1 -1
- package/dist/contracts/indexToken/getNextRandomNFT.js +0 -30
- package/dist/contracts/indexToken/redeemNFT.js +0 -39
- package/dist/pools/lendingPool/claimReward.js +0 -22
- package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -50
- package/dist/pools/lendingPool/getAllUserData.js +0 -28
- package/dist/pools/lendingPool/getUserOfDepositedNFT.js +0 -27
- package/dist/pools/stabilityPool/calculateRAACRewards.js +0 -21
- package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +0 -40
- package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +0 -7
- package/dist/types/contracts/indexToken/redeemNFT.d.ts +0 -4
- package/dist/types/pools/lendingPool/claimReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/depositNFTToLendingPool.d.ts +0 -4
- package/dist/types/pools/lendingPool/getAllUserData.d.ts +0 -17
- package/dist/types/pools/lendingPool/getPendingReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/getUserOfDepositedNFT.d.ts +0 -11
- package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +0 -4
- package/dist/types/pools/stabilityPool/calculateRAACRewards.d.ts +0 -4
- package/dist/types/pools/stabilityPool/depositNFTToStabilityPool.d.ts +0 -4
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IGaugeRewardsDistributor, IGaugeRewardsDistributorInterface } from "../../../../../../contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor";
|
|
3
|
+
export declare class IGaugeRewardsDistributor__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "GaugeNotFound";
|
|
7
|
+
readonly type: "error";
|
|
8
|
+
}, {
|
|
9
|
+
readonly inputs: readonly [];
|
|
10
|
+
readonly name: "InvalidAddress";
|
|
11
|
+
readonly type: "error";
|
|
12
|
+
}, {
|
|
13
|
+
readonly inputs: readonly [];
|
|
14
|
+
readonly name: "InvalidGauge";
|
|
15
|
+
readonly type: "error";
|
|
16
|
+
}, {
|
|
17
|
+
readonly inputs: readonly [];
|
|
18
|
+
readonly name: "TokenAlreadyApproved";
|
|
19
|
+
readonly type: "error";
|
|
20
|
+
}, {
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly name: "TokenNotApproved";
|
|
23
|
+
readonly type: "error";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly name: "TokenNotApprovedForGauge";
|
|
27
|
+
readonly type: "error";
|
|
28
|
+
}, {
|
|
29
|
+
readonly anonymous: false;
|
|
30
|
+
readonly inputs: readonly [{
|
|
31
|
+
readonly indexed: true;
|
|
32
|
+
readonly internalType: "address";
|
|
33
|
+
readonly name: "token";
|
|
34
|
+
readonly type: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly indexed: false;
|
|
37
|
+
readonly internalType: "uint256";
|
|
38
|
+
readonly name: "startTime";
|
|
39
|
+
readonly type: "uint256";
|
|
40
|
+
}, {
|
|
41
|
+
readonly indexed: false;
|
|
42
|
+
readonly internalType: "uint256";
|
|
43
|
+
readonly name: "balance";
|
|
44
|
+
readonly type: "uint256";
|
|
45
|
+
}];
|
|
46
|
+
readonly name: "DistributionCycleStarted";
|
|
47
|
+
readonly type: "event";
|
|
48
|
+
}, {
|
|
49
|
+
readonly anonymous: false;
|
|
50
|
+
readonly inputs: readonly [{
|
|
51
|
+
readonly indexed: true;
|
|
52
|
+
readonly internalType: "address";
|
|
53
|
+
readonly name: "gauge";
|
|
54
|
+
readonly type: "address";
|
|
55
|
+
}, {
|
|
56
|
+
readonly indexed: true;
|
|
57
|
+
readonly internalType: "address";
|
|
58
|
+
readonly name: "token";
|
|
59
|
+
readonly type: "address";
|
|
60
|
+
}, {
|
|
61
|
+
readonly indexed: false;
|
|
62
|
+
readonly internalType: "uint256";
|
|
63
|
+
readonly name: "amount";
|
|
64
|
+
readonly type: "uint256";
|
|
65
|
+
}];
|
|
66
|
+
readonly name: "DistributionFailed";
|
|
67
|
+
readonly type: "event";
|
|
68
|
+
}, {
|
|
69
|
+
readonly anonymous: false;
|
|
70
|
+
readonly inputs: readonly [{
|
|
71
|
+
readonly indexed: true;
|
|
72
|
+
readonly internalType: "address";
|
|
73
|
+
readonly name: "token";
|
|
74
|
+
readonly type: "address";
|
|
75
|
+
}, {
|
|
76
|
+
readonly indexed: false;
|
|
77
|
+
readonly internalType: "uint256";
|
|
78
|
+
readonly name: "amount";
|
|
79
|
+
readonly type: "uint256";
|
|
80
|
+
}];
|
|
81
|
+
readonly name: "RewardAdded";
|
|
82
|
+
readonly type: "event";
|
|
83
|
+
}, {
|
|
84
|
+
readonly anonymous: false;
|
|
85
|
+
readonly inputs: readonly [{
|
|
86
|
+
readonly indexed: true;
|
|
87
|
+
readonly internalType: "address";
|
|
88
|
+
readonly name: "user";
|
|
89
|
+
readonly type: "address";
|
|
90
|
+
}, {
|
|
91
|
+
readonly indexed: true;
|
|
92
|
+
readonly internalType: "address";
|
|
93
|
+
readonly name: "gauge";
|
|
94
|
+
readonly type: "address";
|
|
95
|
+
}, {
|
|
96
|
+
readonly indexed: true;
|
|
97
|
+
readonly internalType: "address";
|
|
98
|
+
readonly name: "token";
|
|
99
|
+
readonly type: "address";
|
|
100
|
+
}, {
|
|
101
|
+
readonly indexed: false;
|
|
102
|
+
readonly internalType: "uint256";
|
|
103
|
+
readonly name: "amount";
|
|
104
|
+
readonly type: "uint256";
|
|
105
|
+
}];
|
|
106
|
+
readonly name: "RewardClaimed";
|
|
107
|
+
readonly type: "event";
|
|
108
|
+
}, {
|
|
109
|
+
readonly anonymous: false;
|
|
110
|
+
readonly inputs: readonly [{
|
|
111
|
+
readonly indexed: true;
|
|
112
|
+
readonly internalType: "address";
|
|
113
|
+
readonly name: "gauge";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
}, {
|
|
116
|
+
readonly indexed: true;
|
|
117
|
+
readonly internalType: "address";
|
|
118
|
+
readonly name: "token";
|
|
119
|
+
readonly type: "address";
|
|
120
|
+
}, {
|
|
121
|
+
readonly indexed: false;
|
|
122
|
+
readonly internalType: "uint256";
|
|
123
|
+
readonly name: "amount";
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
}];
|
|
126
|
+
readonly name: "RewardDistributed";
|
|
127
|
+
readonly type: "event";
|
|
128
|
+
}, {
|
|
129
|
+
readonly anonymous: false;
|
|
130
|
+
readonly inputs: readonly [{
|
|
131
|
+
readonly indexed: true;
|
|
132
|
+
readonly internalType: "address";
|
|
133
|
+
readonly name: "token";
|
|
134
|
+
readonly type: "address";
|
|
135
|
+
}];
|
|
136
|
+
readonly name: "RewardTokenAdded";
|
|
137
|
+
readonly type: "event";
|
|
138
|
+
}, {
|
|
139
|
+
readonly anonymous: false;
|
|
140
|
+
readonly inputs: readonly [{
|
|
141
|
+
readonly indexed: true;
|
|
142
|
+
readonly internalType: "address";
|
|
143
|
+
readonly name: "token";
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
}];
|
|
146
|
+
readonly name: "RewardTokenRemoved";
|
|
147
|
+
readonly type: "event";
|
|
148
|
+
}, {
|
|
149
|
+
readonly inputs: readonly [{
|
|
150
|
+
readonly internalType: "address";
|
|
151
|
+
readonly name: "token";
|
|
152
|
+
readonly type: "address";
|
|
153
|
+
}];
|
|
154
|
+
readonly name: "activeCycleGaugeCount";
|
|
155
|
+
readonly outputs: readonly [{
|
|
156
|
+
readonly internalType: "uint256";
|
|
157
|
+
readonly name: "";
|
|
158
|
+
readonly type: "uint256";
|
|
159
|
+
}];
|
|
160
|
+
readonly stateMutability: "view";
|
|
161
|
+
readonly type: "function";
|
|
162
|
+
}, {
|
|
163
|
+
readonly inputs: readonly [{
|
|
164
|
+
readonly internalType: "address";
|
|
165
|
+
readonly name: "token";
|
|
166
|
+
readonly type: "address";
|
|
167
|
+
}, {
|
|
168
|
+
readonly internalType: "uint256";
|
|
169
|
+
readonly name: "index";
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
}];
|
|
172
|
+
readonly name: "activeCycleGauges";
|
|
173
|
+
readonly outputs: readonly [{
|
|
174
|
+
readonly internalType: "address";
|
|
175
|
+
readonly name: "";
|
|
176
|
+
readonly type: "address";
|
|
177
|
+
}];
|
|
178
|
+
readonly stateMutability: "view";
|
|
179
|
+
readonly type: "function";
|
|
180
|
+
}, {
|
|
181
|
+
readonly inputs: readonly [{
|
|
182
|
+
readonly internalType: "address";
|
|
183
|
+
readonly name: "gauge";
|
|
184
|
+
readonly type: "address";
|
|
185
|
+
}, {
|
|
186
|
+
readonly internalType: "address";
|
|
187
|
+
readonly name: "token";
|
|
188
|
+
readonly type: "address";
|
|
189
|
+
}];
|
|
190
|
+
readonly name: "addGaugeRewardToken";
|
|
191
|
+
readonly outputs: readonly [];
|
|
192
|
+
readonly stateMutability: "nonpayable";
|
|
193
|
+
readonly type: "function";
|
|
194
|
+
}, {
|
|
195
|
+
readonly inputs: readonly [{
|
|
196
|
+
readonly internalType: "address";
|
|
197
|
+
readonly name: "token";
|
|
198
|
+
readonly type: "address";
|
|
199
|
+
}];
|
|
200
|
+
readonly name: "addRewardToken";
|
|
201
|
+
readonly outputs: readonly [];
|
|
202
|
+
readonly stateMutability: "nonpayable";
|
|
203
|
+
readonly type: "function";
|
|
204
|
+
}, {
|
|
205
|
+
readonly inputs: readonly [{
|
|
206
|
+
readonly internalType: "address";
|
|
207
|
+
readonly name: "gauge";
|
|
208
|
+
readonly type: "address";
|
|
209
|
+
}, {
|
|
210
|
+
readonly internalType: "address";
|
|
211
|
+
readonly name: "token";
|
|
212
|
+
readonly type: "address";
|
|
213
|
+
}];
|
|
214
|
+
readonly name: "distributeRewards";
|
|
215
|
+
readonly outputs: readonly [];
|
|
216
|
+
readonly stateMutability: "nonpayable";
|
|
217
|
+
readonly type: "function";
|
|
218
|
+
}, {
|
|
219
|
+
readonly inputs: readonly [{
|
|
220
|
+
readonly internalType: "address";
|
|
221
|
+
readonly name: "token";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
}];
|
|
224
|
+
readonly name: "distributionCycleActive";
|
|
225
|
+
readonly outputs: readonly [{
|
|
226
|
+
readonly internalType: "bool";
|
|
227
|
+
readonly name: "";
|
|
228
|
+
readonly type: "bool";
|
|
229
|
+
}];
|
|
230
|
+
readonly stateMutability: "view";
|
|
231
|
+
readonly type: "function";
|
|
232
|
+
}, {
|
|
233
|
+
readonly inputs: readonly [{
|
|
234
|
+
readonly internalType: "address";
|
|
235
|
+
readonly name: "token";
|
|
236
|
+
readonly type: "address";
|
|
237
|
+
}];
|
|
238
|
+
readonly name: "distributionCycleBalance";
|
|
239
|
+
readonly outputs: readonly [{
|
|
240
|
+
readonly internalType: "uint256";
|
|
241
|
+
readonly name: "";
|
|
242
|
+
readonly type: "uint256";
|
|
243
|
+
}];
|
|
244
|
+
readonly stateMutability: "view";
|
|
245
|
+
readonly type: "function";
|
|
246
|
+
}, {
|
|
247
|
+
readonly inputs: readonly [{
|
|
248
|
+
readonly internalType: "address";
|
|
249
|
+
readonly name: "gauge";
|
|
250
|
+
readonly type: "address";
|
|
251
|
+
}, {
|
|
252
|
+
readonly internalType: "address";
|
|
253
|
+
readonly name: "token";
|
|
254
|
+
readonly type: "address";
|
|
255
|
+
}, {
|
|
256
|
+
readonly internalType: "address";
|
|
257
|
+
readonly name: "user";
|
|
258
|
+
readonly type: "address";
|
|
259
|
+
}];
|
|
260
|
+
readonly name: "earned";
|
|
261
|
+
readonly outputs: readonly [{
|
|
262
|
+
readonly internalType: "uint256";
|
|
263
|
+
readonly name: "";
|
|
264
|
+
readonly type: "uint256";
|
|
265
|
+
}];
|
|
266
|
+
readonly stateMutability: "view";
|
|
267
|
+
readonly type: "function";
|
|
268
|
+
}, {
|
|
269
|
+
readonly inputs: readonly [{
|
|
270
|
+
readonly internalType: "address";
|
|
271
|
+
readonly name: "gauge";
|
|
272
|
+
readonly type: "address";
|
|
273
|
+
}];
|
|
274
|
+
readonly name: "getGaugeRewardTokens";
|
|
275
|
+
readonly outputs: readonly [{
|
|
276
|
+
readonly internalType: "address[]";
|
|
277
|
+
readonly name: "";
|
|
278
|
+
readonly type: "address[]";
|
|
279
|
+
}];
|
|
280
|
+
readonly stateMutability: "view";
|
|
281
|
+
readonly type: "function";
|
|
282
|
+
}, {
|
|
283
|
+
readonly inputs: readonly [{
|
|
284
|
+
readonly internalType: "address";
|
|
285
|
+
readonly name: "token";
|
|
286
|
+
readonly type: "address";
|
|
287
|
+
}];
|
|
288
|
+
readonly name: "getPeriodFinish";
|
|
289
|
+
readonly outputs: readonly [{
|
|
290
|
+
readonly internalType: "uint256";
|
|
291
|
+
readonly name: "";
|
|
292
|
+
readonly type: "uint256";
|
|
293
|
+
}];
|
|
294
|
+
readonly stateMutability: "view";
|
|
295
|
+
readonly type: "function";
|
|
296
|
+
}, {
|
|
297
|
+
readonly inputs: readonly [{
|
|
298
|
+
readonly internalType: "address";
|
|
299
|
+
readonly name: "token";
|
|
300
|
+
readonly type: "address";
|
|
301
|
+
}];
|
|
302
|
+
readonly name: "getRewardRate";
|
|
303
|
+
readonly outputs: readonly [{
|
|
304
|
+
readonly internalType: "uint256";
|
|
305
|
+
readonly name: "";
|
|
306
|
+
readonly type: "uint256";
|
|
307
|
+
}];
|
|
308
|
+
readonly stateMutability: "view";
|
|
309
|
+
readonly type: "function";
|
|
310
|
+
}, {
|
|
311
|
+
readonly inputs: readonly [];
|
|
312
|
+
readonly name: "getRewardTokens";
|
|
313
|
+
readonly outputs: readonly [{
|
|
314
|
+
readonly internalType: "address[]";
|
|
315
|
+
readonly name: "";
|
|
316
|
+
readonly type: "address[]";
|
|
317
|
+
}];
|
|
318
|
+
readonly stateMutability: "view";
|
|
319
|
+
readonly type: "function";
|
|
320
|
+
}, {
|
|
321
|
+
readonly inputs: readonly [{
|
|
322
|
+
readonly internalType: "address";
|
|
323
|
+
readonly name: "gauge";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
}, {
|
|
326
|
+
readonly internalType: "address";
|
|
327
|
+
readonly name: "token";
|
|
328
|
+
readonly type: "address";
|
|
329
|
+
}, {
|
|
330
|
+
readonly internalType: "uint256";
|
|
331
|
+
readonly name: "amount";
|
|
332
|
+
readonly type: "uint256";
|
|
333
|
+
}];
|
|
334
|
+
readonly name: "initializeRewardData";
|
|
335
|
+
readonly outputs: readonly [];
|
|
336
|
+
readonly stateMutability: "nonpayable";
|
|
337
|
+
readonly type: "function";
|
|
338
|
+
}, {
|
|
339
|
+
readonly inputs: readonly [{
|
|
340
|
+
readonly internalType: "address";
|
|
341
|
+
readonly name: "gauge";
|
|
342
|
+
readonly type: "address";
|
|
343
|
+
}, {
|
|
344
|
+
readonly internalType: "address";
|
|
345
|
+
readonly name: "token";
|
|
346
|
+
readonly type: "address";
|
|
347
|
+
}];
|
|
348
|
+
readonly name: "isRewardTokenApproved";
|
|
349
|
+
readonly outputs: readonly [{
|
|
350
|
+
readonly internalType: "bool";
|
|
351
|
+
readonly name: "";
|
|
352
|
+
readonly type: "bool";
|
|
353
|
+
}];
|
|
354
|
+
readonly stateMutability: "view";
|
|
355
|
+
readonly type: "function";
|
|
356
|
+
}, {
|
|
357
|
+
readonly inputs: readonly [{
|
|
358
|
+
readonly internalType: "address";
|
|
359
|
+
readonly name: "token";
|
|
360
|
+
readonly type: "address";
|
|
361
|
+
}, {
|
|
362
|
+
readonly internalType: "uint256";
|
|
363
|
+
readonly name: "amount";
|
|
364
|
+
readonly type: "uint256";
|
|
365
|
+
}];
|
|
366
|
+
readonly name: "notifyRewardAmount";
|
|
367
|
+
readonly outputs: readonly [];
|
|
368
|
+
readonly stateMutability: "nonpayable";
|
|
369
|
+
readonly type: "function";
|
|
370
|
+
}, {
|
|
371
|
+
readonly inputs: readonly [{
|
|
372
|
+
readonly internalType: "address";
|
|
373
|
+
readonly name: "token";
|
|
374
|
+
readonly type: "address";
|
|
375
|
+
}, {
|
|
376
|
+
readonly internalType: "address";
|
|
377
|
+
readonly name: "gauge";
|
|
378
|
+
readonly type: "address";
|
|
379
|
+
}];
|
|
380
|
+
readonly name: "pendingAllocations";
|
|
381
|
+
readonly outputs: readonly [{
|
|
382
|
+
readonly internalType: "uint256";
|
|
383
|
+
readonly name: "";
|
|
384
|
+
readonly type: "uint256";
|
|
385
|
+
}];
|
|
386
|
+
readonly stateMutability: "view";
|
|
387
|
+
readonly type: "function";
|
|
388
|
+
}, {
|
|
389
|
+
readonly inputs: readonly [{
|
|
390
|
+
readonly internalType: "address";
|
|
391
|
+
readonly name: "token";
|
|
392
|
+
readonly type: "address";
|
|
393
|
+
}, {
|
|
394
|
+
readonly internalType: "uint256";
|
|
395
|
+
readonly name: "amount";
|
|
396
|
+
readonly type: "uint256";
|
|
397
|
+
}];
|
|
398
|
+
readonly name: "pullRewardTokens";
|
|
399
|
+
readonly outputs: readonly [];
|
|
400
|
+
readonly stateMutability: "nonpayable";
|
|
401
|
+
readonly type: "function";
|
|
402
|
+
}, {
|
|
403
|
+
readonly inputs: readonly [{
|
|
404
|
+
readonly internalType: "address";
|
|
405
|
+
readonly name: "token";
|
|
406
|
+
readonly type: "address";
|
|
407
|
+
}];
|
|
408
|
+
readonly name: "removeRewardToken";
|
|
409
|
+
readonly outputs: readonly [];
|
|
410
|
+
readonly stateMutability: "nonpayable";
|
|
411
|
+
readonly type: "function";
|
|
412
|
+
}, {
|
|
413
|
+
readonly inputs: readonly [{
|
|
414
|
+
readonly internalType: "address";
|
|
415
|
+
readonly name: "token";
|
|
416
|
+
readonly type: "address";
|
|
417
|
+
}];
|
|
418
|
+
readonly name: "resetDistributionCycle";
|
|
419
|
+
readonly outputs: readonly [];
|
|
420
|
+
readonly stateMutability: "nonpayable";
|
|
421
|
+
readonly type: "function";
|
|
422
|
+
}];
|
|
423
|
+
static createInterface(): IGaugeRewardsDistributorInterface;
|
|
424
|
+
static connect(address: string, runner?: ContractRunner | null): IGaugeRewardsDistributor;
|
|
425
|
+
}
|
package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { IBaseGauge__factory } from "./IBaseGauge__factory";
|
|
2
2
|
export { IGaugeController__factory } from "./IGaugeController__factory";
|
|
3
|
+
export { IGaugeRewardsDistributor__factory } from "./IGaugeRewardsDistributor__factory";
|
|
@@ -563,56 +563,6 @@ export declare class IGovernance__factory {
|
|
|
563
563
|
readonly outputs: readonly [];
|
|
564
564
|
readonly stateMutability: "nonpayable";
|
|
565
565
|
readonly type: "function";
|
|
566
|
-
}, {
|
|
567
|
-
readonly inputs: readonly [{
|
|
568
|
-
readonly internalType: "uint256";
|
|
569
|
-
readonly name: "proposalId";
|
|
570
|
-
readonly type: "uint256";
|
|
571
|
-
}];
|
|
572
|
-
readonly name: "getDebugInfo";
|
|
573
|
-
readonly outputs: readonly [{
|
|
574
|
-
readonly internalType: "enum IGovernance.ProposalState";
|
|
575
|
-
readonly name: "currentState";
|
|
576
|
-
readonly type: "uint8";
|
|
577
|
-
}, {
|
|
578
|
-
readonly internalType: "uint256";
|
|
579
|
-
readonly name: "startTime";
|
|
580
|
-
readonly type: "uint256";
|
|
581
|
-
}, {
|
|
582
|
-
readonly internalType: "uint256";
|
|
583
|
-
readonly name: "endTime";
|
|
584
|
-
readonly type: "uint256";
|
|
585
|
-
}, {
|
|
586
|
-
readonly internalType: "uint256";
|
|
587
|
-
readonly name: "currentTime";
|
|
588
|
-
readonly type: "uint256";
|
|
589
|
-
}, {
|
|
590
|
-
readonly internalType: "uint256";
|
|
591
|
-
readonly name: "forVotes";
|
|
592
|
-
readonly type: "uint256";
|
|
593
|
-
}, {
|
|
594
|
-
readonly internalType: "uint256";
|
|
595
|
-
readonly name: "againstVotes";
|
|
596
|
-
readonly type: "uint256";
|
|
597
|
-
}, {
|
|
598
|
-
readonly internalType: "uint256";
|
|
599
|
-
readonly name: "currentQuorum";
|
|
600
|
-
readonly type: "uint256";
|
|
601
|
-
}, {
|
|
602
|
-
readonly internalType: "uint256";
|
|
603
|
-
readonly name: "requiredQuorum";
|
|
604
|
-
readonly type: "uint256";
|
|
605
|
-
}, {
|
|
606
|
-
readonly internalType: "bool";
|
|
607
|
-
readonly name: "isExecuted";
|
|
608
|
-
readonly type: "bool";
|
|
609
|
-
}, {
|
|
610
|
-
readonly internalType: "bool";
|
|
611
|
-
readonly name: "isCanceled";
|
|
612
|
-
readonly type: "bool";
|
|
613
|
-
}];
|
|
614
|
-
readonly stateMutability: "view";
|
|
615
|
-
readonly type: "function";
|
|
616
566
|
}, {
|
|
617
567
|
readonly inputs: readonly [{
|
|
618
568
|
readonly internalType: "uint256";
|
|
@@ -704,8 +654,24 @@ export declare class IGovernance__factory {
|
|
|
704
654
|
readonly name: "proposalId";
|
|
705
655
|
readonly type: "uint256";
|
|
706
656
|
}];
|
|
707
|
-
readonly name: "
|
|
657
|
+
readonly name: "getProposalInfo";
|
|
708
658
|
readonly outputs: readonly [{
|
|
659
|
+
readonly internalType: "enum IGovernance.ProposalState";
|
|
660
|
+
readonly name: "currentState";
|
|
661
|
+
readonly type: "uint8";
|
|
662
|
+
}, {
|
|
663
|
+
readonly internalType: "uint256";
|
|
664
|
+
readonly name: "startTime";
|
|
665
|
+
readonly type: "uint256";
|
|
666
|
+
}, {
|
|
667
|
+
readonly internalType: "uint256";
|
|
668
|
+
readonly name: "endTime";
|
|
669
|
+
readonly type: "uint256";
|
|
670
|
+
}, {
|
|
671
|
+
readonly internalType: "uint256";
|
|
672
|
+
readonly name: "currentTime";
|
|
673
|
+
readonly type: "uint256";
|
|
674
|
+
}, {
|
|
709
675
|
readonly internalType: "uint256";
|
|
710
676
|
readonly name: "forVotes";
|
|
711
677
|
readonly type: "uint256";
|
|
@@ -713,6 +679,22 @@ export declare class IGovernance__factory {
|
|
|
713
679
|
readonly internalType: "uint256";
|
|
714
680
|
readonly name: "againstVotes";
|
|
715
681
|
readonly type: "uint256";
|
|
682
|
+
}, {
|
|
683
|
+
readonly internalType: "uint256";
|
|
684
|
+
readonly name: "currentQuorum";
|
|
685
|
+
readonly type: "uint256";
|
|
686
|
+
}, {
|
|
687
|
+
readonly internalType: "uint256";
|
|
688
|
+
readonly name: "requiredQuorum";
|
|
689
|
+
readonly type: "uint256";
|
|
690
|
+
}, {
|
|
691
|
+
readonly internalType: "bool";
|
|
692
|
+
readonly name: "isExecuted";
|
|
693
|
+
readonly type: "bool";
|
|
694
|
+
}, {
|
|
695
|
+
readonly internalType: "bool";
|
|
696
|
+
readonly name: "isCanceled";
|
|
697
|
+
readonly type: "bool";
|
|
716
698
|
}];
|
|
717
699
|
readonly stateMutability: "view";
|
|
718
700
|
readonly type: "function";
|
|
@@ -721,16 +703,16 @@ export declare class IGovernance__factory {
|
|
|
721
703
|
readonly internalType: "uint256";
|
|
722
704
|
readonly name: "proposalId";
|
|
723
705
|
readonly type: "uint256";
|
|
724
|
-
}, {
|
|
725
|
-
readonly internalType: "address";
|
|
726
|
-
readonly name: "account";
|
|
727
|
-
readonly type: "address";
|
|
728
706
|
}];
|
|
729
|
-
readonly name: "
|
|
707
|
+
readonly name: "getVotes";
|
|
730
708
|
readonly outputs: readonly [{
|
|
731
|
-
readonly internalType: "
|
|
732
|
-
readonly name: "";
|
|
733
|
-
readonly type: "
|
|
709
|
+
readonly internalType: "uint256";
|
|
710
|
+
readonly name: "forVotes";
|
|
711
|
+
readonly type: "uint256";
|
|
712
|
+
}, {
|
|
713
|
+
readonly internalType: "uint256";
|
|
714
|
+
readonly name: "againstVotes";
|
|
715
|
+
readonly type: "uint256";
|
|
734
716
|
}];
|
|
735
717
|
readonly stateMutability: "view";
|
|
736
718
|
readonly type: "function";
|
|
@@ -832,26 +814,6 @@ export declare class IGovernance__factory {
|
|
|
832
814
|
}];
|
|
833
815
|
readonly stateMutability: "view";
|
|
834
816
|
readonly type: "function";
|
|
835
|
-
}, {
|
|
836
|
-
readonly inputs: readonly [];
|
|
837
|
-
readonly name: "timelock";
|
|
838
|
-
readonly outputs: readonly [{
|
|
839
|
-
readonly internalType: "address";
|
|
840
|
-
readonly name: "";
|
|
841
|
-
readonly type: "address";
|
|
842
|
-
}];
|
|
843
|
-
readonly stateMutability: "view";
|
|
844
|
-
readonly type: "function";
|
|
845
|
-
}, {
|
|
846
|
-
readonly inputs: readonly [];
|
|
847
|
-
readonly name: "veToken";
|
|
848
|
-
readonly outputs: readonly [{
|
|
849
|
-
readonly internalType: "address";
|
|
850
|
-
readonly name: "";
|
|
851
|
-
readonly type: "address";
|
|
852
|
-
}];
|
|
853
|
-
readonly stateMutability: "view";
|
|
854
|
-
readonly type: "function";
|
|
855
817
|
}, {
|
|
856
818
|
readonly inputs: readonly [];
|
|
857
819
|
readonly name: "votingDelay";
|