@raac/rpc 1.1.0-beta.4 → 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 -21
- 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 +66 -4
- 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 +39 -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 -81
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +557 -223
- 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 +104 -15
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +7 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +108 -38
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +17 -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 -19
- 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/token/ERC721/extensions/index.d.ts +0 -1
- 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 +8 -8
- 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 -6
- 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/token/ERC721/extensions/index.d.ts +0 -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 +8 -8
- 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/{@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper__factory.d.ts → contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts} +209 -201
- 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 -6
- 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 -42
- package/dist/types/utils/artifacts.d.ts +767 -226
- 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/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/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
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper.d.ts +0 -261
|
@@ -18,32 +18,28 @@ export declare class BaseGauge__factory {
|
|
|
18
18
|
readonly name: "AccessControlUnauthorizedAccount";
|
|
19
19
|
readonly type: "error";
|
|
20
20
|
}, {
|
|
21
|
-
readonly inputs: readonly [
|
|
22
|
-
|
|
23
|
-
readonly name: "target";
|
|
24
|
-
readonly type: "address";
|
|
25
|
-
}];
|
|
26
|
-
readonly name: "AddressEmptyCode";
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly name: "AlreadyPaused";
|
|
27
23
|
readonly type: "error";
|
|
28
24
|
}, {
|
|
29
|
-
readonly inputs: readonly [
|
|
30
|
-
|
|
31
|
-
readonly name: "account";
|
|
32
|
-
readonly type: "address";
|
|
33
|
-
}];
|
|
34
|
-
readonly name: "AddressInsufficientBalance";
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly name: "DistributorAlreadyAdded";
|
|
35
27
|
readonly type: "error";
|
|
36
28
|
}, {
|
|
37
29
|
readonly inputs: readonly [];
|
|
38
|
-
readonly name: "
|
|
30
|
+
readonly name: "DistributorNotAdded";
|
|
39
31
|
readonly type: "error";
|
|
40
32
|
}, {
|
|
41
33
|
readonly inputs: readonly [];
|
|
42
|
-
readonly name: "
|
|
34
|
+
readonly name: "DistributorNotApproved";
|
|
43
35
|
readonly type: "error";
|
|
44
36
|
}, {
|
|
45
37
|
readonly inputs: readonly [];
|
|
46
|
-
readonly name: "
|
|
38
|
+
readonly name: "EmissionCapExceeded";
|
|
39
|
+
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [];
|
|
42
|
+
readonly name: "EnforcedPause";
|
|
47
43
|
readonly type: "error";
|
|
48
44
|
}, {
|
|
49
45
|
readonly inputs: readonly [];
|
|
@@ -51,7 +47,11 @@ export declare class BaseGauge__factory {
|
|
|
51
47
|
readonly type: "error";
|
|
52
48
|
}, {
|
|
53
49
|
readonly inputs: readonly [];
|
|
54
|
-
readonly name: "
|
|
50
|
+
readonly name: "FailedToGetTokenDecimals";
|
|
51
|
+
readonly type: "error";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [];
|
|
54
|
+
readonly name: "GaugeNotActive";
|
|
55
55
|
readonly type: "error";
|
|
56
56
|
}, {
|
|
57
57
|
readonly inputs: readonly [];
|
|
@@ -59,20 +59,52 @@ export declare class BaseGauge__factory {
|
|
|
59
59
|
readonly type: "error";
|
|
60
60
|
}, {
|
|
61
61
|
readonly inputs: readonly [];
|
|
62
|
-
readonly name: "
|
|
62
|
+
readonly name: "InsufficientRewardTokenBalance";
|
|
63
|
+
readonly type: "error";
|
|
64
|
+
}, {
|
|
65
|
+
readonly inputs: readonly [];
|
|
66
|
+
readonly name: "InsufficientStakedBalance";
|
|
67
|
+
readonly type: "error";
|
|
68
|
+
}, {
|
|
69
|
+
readonly inputs: readonly [];
|
|
70
|
+
readonly name: "InvalidAddress";
|
|
63
71
|
readonly type: "error";
|
|
64
72
|
}, {
|
|
65
73
|
readonly inputs: readonly [];
|
|
66
74
|
readonly name: "InvalidAmount";
|
|
67
75
|
readonly type: "error";
|
|
76
|
+
}, {
|
|
77
|
+
readonly inputs: readonly [];
|
|
78
|
+
readonly name: "InvalidCheckpointIndex";
|
|
79
|
+
readonly type: "error";
|
|
80
|
+
}, {
|
|
81
|
+
readonly inputs: readonly [];
|
|
82
|
+
readonly name: "InvalidDistributor";
|
|
83
|
+
readonly type: "error";
|
|
84
|
+
}, {
|
|
85
|
+
readonly inputs: readonly [];
|
|
86
|
+
readonly name: "InvalidPeriod";
|
|
87
|
+
readonly type: "error";
|
|
88
|
+
}, {
|
|
89
|
+
readonly inputs: readonly [];
|
|
90
|
+
readonly name: "InvalidToken";
|
|
91
|
+
readonly type: "error";
|
|
68
92
|
}, {
|
|
69
93
|
readonly inputs: readonly [];
|
|
70
94
|
readonly name: "InvalidWeight";
|
|
71
95
|
readonly type: "error";
|
|
96
|
+
}, {
|
|
97
|
+
readonly inputs: readonly [];
|
|
98
|
+
readonly name: "NoDistributorSet";
|
|
99
|
+
readonly type: "error";
|
|
72
100
|
}, {
|
|
73
101
|
readonly inputs: readonly [];
|
|
74
102
|
readonly name: "NoVotingPower";
|
|
75
103
|
readonly type: "error";
|
|
104
|
+
}, {
|
|
105
|
+
readonly inputs: readonly [];
|
|
106
|
+
readonly name: "NotPaused";
|
|
107
|
+
readonly type: "error";
|
|
76
108
|
}, {
|
|
77
109
|
readonly inputs: readonly [];
|
|
78
110
|
readonly name: "PeriodNotElapsed";
|
|
@@ -97,6 +129,18 @@ export declare class BaseGauge__factory {
|
|
|
97
129
|
}];
|
|
98
130
|
readonly name: "SafeERC20FailedOperation";
|
|
99
131
|
readonly type: "error";
|
|
132
|
+
}, {
|
|
133
|
+
readonly inputs: readonly [];
|
|
134
|
+
readonly name: "TokenAlreadyAdded";
|
|
135
|
+
readonly type: "error";
|
|
136
|
+
}, {
|
|
137
|
+
readonly inputs: readonly [];
|
|
138
|
+
readonly name: "TokenAlreadyInitialized";
|
|
139
|
+
readonly type: "error";
|
|
140
|
+
}, {
|
|
141
|
+
readonly inputs: readonly [];
|
|
142
|
+
readonly name: "TokenNotAdded";
|
|
143
|
+
readonly type: "error";
|
|
100
144
|
}, {
|
|
101
145
|
readonly inputs: readonly [];
|
|
102
146
|
readonly name: "UnauthorizedCaller";
|
|
@@ -107,16 +151,26 @@ export declare class BaseGauge__factory {
|
|
|
107
151
|
readonly type: "error";
|
|
108
152
|
}, {
|
|
109
153
|
readonly inputs: readonly [];
|
|
110
|
-
readonly name: "
|
|
154
|
+
readonly name: "WeightUpdateTooEarly";
|
|
111
155
|
readonly type: "error";
|
|
112
156
|
}, {
|
|
113
157
|
readonly inputs: readonly [];
|
|
114
|
-
readonly name: "
|
|
158
|
+
readonly name: "ZeroDuration";
|
|
115
159
|
readonly type: "error";
|
|
116
160
|
}, {
|
|
117
161
|
readonly inputs: readonly [];
|
|
118
162
|
readonly name: "ZeroWeight";
|
|
119
163
|
readonly type: "error";
|
|
164
|
+
}, {
|
|
165
|
+
readonly anonymous: false;
|
|
166
|
+
readonly inputs: readonly [{
|
|
167
|
+
readonly indexed: false;
|
|
168
|
+
readonly internalType: "bool";
|
|
169
|
+
readonly name: "enabled";
|
|
170
|
+
readonly type: "bool";
|
|
171
|
+
}];
|
|
172
|
+
readonly name: "BoostAmplificationToggled";
|
|
173
|
+
readonly type: "event";
|
|
120
174
|
}, {
|
|
121
175
|
readonly anonymous: false;
|
|
122
176
|
readonly inputs: readonly [{
|
|
@@ -162,6 +216,56 @@ export declare class BaseGauge__factory {
|
|
|
162
216
|
}];
|
|
163
217
|
readonly name: "DistributionCapUpdated";
|
|
164
218
|
readonly type: "event";
|
|
219
|
+
}, {
|
|
220
|
+
readonly anonymous: false;
|
|
221
|
+
readonly inputs: readonly [{
|
|
222
|
+
readonly indexed: true;
|
|
223
|
+
readonly internalType: "address";
|
|
224
|
+
readonly name: "distributor";
|
|
225
|
+
readonly type: "address";
|
|
226
|
+
}, {
|
|
227
|
+
readonly indexed: false;
|
|
228
|
+
readonly internalType: "bool";
|
|
229
|
+
readonly name: "isApproved";
|
|
230
|
+
readonly type: "bool";
|
|
231
|
+
}];
|
|
232
|
+
readonly name: "DistributorApprovalUpdated";
|
|
233
|
+
readonly type: "event";
|
|
234
|
+
}, {
|
|
235
|
+
readonly anonymous: false;
|
|
236
|
+
readonly inputs: readonly [{
|
|
237
|
+
readonly indexed: true;
|
|
238
|
+
readonly internalType: "address";
|
|
239
|
+
readonly name: "distributor";
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
}, {
|
|
242
|
+
readonly indexed: false;
|
|
243
|
+
readonly internalType: "bool";
|
|
244
|
+
readonly name: "distributorAdded";
|
|
245
|
+
readonly type: "bool";
|
|
246
|
+
}];
|
|
247
|
+
readonly name: "DistributorUpdated";
|
|
248
|
+
readonly type: "event";
|
|
249
|
+
}, {
|
|
250
|
+
readonly anonymous: false;
|
|
251
|
+
readonly inputs: readonly [{
|
|
252
|
+
readonly indexed: false;
|
|
253
|
+
readonly internalType: "bool";
|
|
254
|
+
readonly name: "paused";
|
|
255
|
+
readonly type: "bool";
|
|
256
|
+
}];
|
|
257
|
+
readonly name: "EmergencyPauseUpdated";
|
|
258
|
+
readonly type: "event";
|
|
259
|
+
}, {
|
|
260
|
+
readonly anonymous: false;
|
|
261
|
+
readonly inputs: readonly [{
|
|
262
|
+
readonly indexed: false;
|
|
263
|
+
readonly internalType: "uint256";
|
|
264
|
+
readonly name: "newCap";
|
|
265
|
+
readonly type: "uint256";
|
|
266
|
+
}];
|
|
267
|
+
readonly name: "EmissionCapUpdated";
|
|
268
|
+
readonly type: "event";
|
|
165
269
|
}, {
|
|
166
270
|
readonly anonymous: false;
|
|
167
271
|
readonly inputs: readonly [{
|
|
@@ -202,6 +306,16 @@ export declare class BaseGauge__factory {
|
|
|
202
306
|
}];
|
|
203
307
|
readonly name: "PeriodCreated";
|
|
204
308
|
readonly type: "event";
|
|
309
|
+
}, {
|
|
310
|
+
readonly anonymous: false;
|
|
311
|
+
readonly inputs: readonly [{
|
|
312
|
+
readonly indexed: false;
|
|
313
|
+
readonly internalType: "uint256";
|
|
314
|
+
readonly name: "newDuration";
|
|
315
|
+
readonly type: "uint256";
|
|
316
|
+
}];
|
|
317
|
+
readonly name: "PeriodDurationUpdated";
|
|
318
|
+
readonly type: "event";
|
|
205
319
|
}, {
|
|
206
320
|
readonly anonymous: false;
|
|
207
321
|
readonly inputs: readonly [{
|
|
@@ -220,10 +334,20 @@ export declare class BaseGauge__factory {
|
|
|
220
334
|
}, {
|
|
221
335
|
readonly anonymous: false;
|
|
222
336
|
readonly inputs: readonly [{
|
|
337
|
+
readonly indexed: true;
|
|
338
|
+
readonly internalType: "address";
|
|
339
|
+
readonly name: "token";
|
|
340
|
+
readonly type: "address";
|
|
341
|
+
}, {
|
|
223
342
|
readonly indexed: false;
|
|
224
343
|
readonly internalType: "uint256";
|
|
225
344
|
readonly name: "amount";
|
|
226
345
|
readonly type: "uint256";
|
|
346
|
+
}, {
|
|
347
|
+
readonly indexed: false;
|
|
348
|
+
readonly internalType: "uint256";
|
|
349
|
+
readonly name: "rewardRate";
|
|
350
|
+
readonly type: "uint256";
|
|
227
351
|
}];
|
|
228
352
|
readonly name: "RewardNotified";
|
|
229
353
|
readonly type: "event";
|
|
@@ -234,10 +358,15 @@ export declare class BaseGauge__factory {
|
|
|
234
358
|
readonly internalType: "address";
|
|
235
359
|
readonly name: "user";
|
|
236
360
|
readonly type: "address";
|
|
361
|
+
}, {
|
|
362
|
+
readonly indexed: true;
|
|
363
|
+
readonly internalType: "address";
|
|
364
|
+
readonly name: "token";
|
|
365
|
+
readonly type: "address";
|
|
237
366
|
}, {
|
|
238
367
|
readonly indexed: false;
|
|
239
368
|
readonly internalType: "uint256";
|
|
240
|
-
readonly name: "
|
|
369
|
+
readonly name: "amount";
|
|
241
370
|
readonly type: "uint256";
|
|
242
371
|
}];
|
|
243
372
|
readonly name: "RewardPaid";
|
|
@@ -247,15 +376,10 @@ export declare class BaseGauge__factory {
|
|
|
247
376
|
readonly inputs: readonly [{
|
|
248
377
|
readonly indexed: true;
|
|
249
378
|
readonly internalType: "address";
|
|
250
|
-
readonly name: "
|
|
379
|
+
readonly name: "token";
|
|
251
380
|
readonly type: "address";
|
|
252
|
-
}, {
|
|
253
|
-
readonly indexed: false;
|
|
254
|
-
readonly internalType: "uint256";
|
|
255
|
-
readonly name: "reward";
|
|
256
|
-
readonly type: "uint256";
|
|
257
381
|
}];
|
|
258
|
-
readonly name: "
|
|
382
|
+
readonly name: "RewardTokenAdded";
|
|
259
383
|
readonly type: "event";
|
|
260
384
|
}, {
|
|
261
385
|
readonly anonymous: false;
|
|
@@ -342,6 +466,46 @@ export declare class BaseGauge__factory {
|
|
|
342
466
|
}];
|
|
343
467
|
readonly name: "Unpaused";
|
|
344
468
|
readonly type: "event";
|
|
469
|
+
}, {
|
|
470
|
+
readonly anonymous: false;
|
|
471
|
+
readonly inputs: readonly [{
|
|
472
|
+
readonly indexed: true;
|
|
473
|
+
readonly internalType: "address";
|
|
474
|
+
readonly name: "user";
|
|
475
|
+
readonly type: "address";
|
|
476
|
+
}, {
|
|
477
|
+
readonly indexed: true;
|
|
478
|
+
readonly internalType: "address";
|
|
479
|
+
readonly name: "token";
|
|
480
|
+
readonly type: "address";
|
|
481
|
+
}, {
|
|
482
|
+
readonly indexed: false;
|
|
483
|
+
readonly internalType: "uint256";
|
|
484
|
+
readonly name: "newIntegral";
|
|
485
|
+
readonly type: "uint256";
|
|
486
|
+
}, {
|
|
487
|
+
readonly indexed: false;
|
|
488
|
+
readonly internalType: "uint256";
|
|
489
|
+
readonly name: "timestamp";
|
|
490
|
+
readonly type: "uint256";
|
|
491
|
+
}];
|
|
492
|
+
readonly name: "UserRewardDataUpdated";
|
|
493
|
+
readonly type: "event";
|
|
494
|
+
}, {
|
|
495
|
+
readonly anonymous: false;
|
|
496
|
+
readonly inputs: readonly [{
|
|
497
|
+
readonly indexed: true;
|
|
498
|
+
readonly internalType: "address";
|
|
499
|
+
readonly name: "user";
|
|
500
|
+
readonly type: "address";
|
|
501
|
+
}, {
|
|
502
|
+
readonly indexed: false;
|
|
503
|
+
readonly internalType: "uint256";
|
|
504
|
+
readonly name: "timestamp";
|
|
505
|
+
readonly type: "uint256";
|
|
506
|
+
}];
|
|
507
|
+
readonly name: "UserRewardsUpdated";
|
|
508
|
+
readonly type: "event";
|
|
345
509
|
}, {
|
|
346
510
|
readonly anonymous: false;
|
|
347
511
|
readonly inputs: readonly [{
|
|
@@ -357,6 +521,21 @@ export declare class BaseGauge__factory {
|
|
|
357
521
|
}];
|
|
358
522
|
readonly name: "Withdrawn";
|
|
359
523
|
readonly type: "event";
|
|
524
|
+
}, {
|
|
525
|
+
readonly anonymous: false;
|
|
526
|
+
readonly inputs: readonly [{
|
|
527
|
+
readonly indexed: true;
|
|
528
|
+
readonly internalType: "address";
|
|
529
|
+
readonly name: "user";
|
|
530
|
+
readonly type: "address";
|
|
531
|
+
}, {
|
|
532
|
+
readonly indexed: false;
|
|
533
|
+
readonly internalType: "uint256";
|
|
534
|
+
readonly name: "newWorkingBalance";
|
|
535
|
+
readonly type: "uint256";
|
|
536
|
+
}];
|
|
537
|
+
readonly name: "WorkingBalanceUpdated";
|
|
538
|
+
readonly type: "event";
|
|
360
539
|
}, {
|
|
361
540
|
readonly inputs: readonly [];
|
|
362
541
|
readonly name: "CONTROLLER_ROLE";
|
|
@@ -399,7 +578,17 @@ export declare class BaseGauge__factory {
|
|
|
399
578
|
readonly type: "function";
|
|
400
579
|
}, {
|
|
401
580
|
readonly inputs: readonly [];
|
|
402
|
-
readonly name: "
|
|
581
|
+
readonly name: "GAUGE_ADMIN";
|
|
582
|
+
readonly outputs: readonly [{
|
|
583
|
+
readonly internalType: "bytes32";
|
|
584
|
+
readonly name: "";
|
|
585
|
+
readonly type: "bytes32";
|
|
586
|
+
}];
|
|
587
|
+
readonly stateMutability: "view";
|
|
588
|
+
readonly type: "function";
|
|
589
|
+
}, {
|
|
590
|
+
readonly inputs: readonly [];
|
|
591
|
+
readonly name: "MAX_CHECKPOINTS";
|
|
403
592
|
readonly outputs: readonly [{
|
|
404
593
|
readonly internalType: "uint256";
|
|
405
594
|
readonly name: "";
|
|
@@ -409,7 +598,7 @@ export declare class BaseGauge__factory {
|
|
|
409
598
|
readonly type: "function";
|
|
410
599
|
}, {
|
|
411
600
|
readonly inputs: readonly [];
|
|
412
|
-
readonly name: "
|
|
601
|
+
readonly name: "MAX_VOTE_WEIGHT";
|
|
413
602
|
readonly outputs: readonly [{
|
|
414
603
|
readonly internalType: "uint256";
|
|
415
604
|
readonly name: "";
|
|
@@ -419,7 +608,7 @@ export declare class BaseGauge__factory {
|
|
|
419
608
|
readonly type: "function";
|
|
420
609
|
}, {
|
|
421
610
|
readonly inputs: readonly [];
|
|
422
|
-
readonly name: "
|
|
611
|
+
readonly name: "WEEK";
|
|
423
612
|
readonly outputs: readonly [{
|
|
424
613
|
readonly internalType: "uint256";
|
|
425
614
|
readonly name: "";
|
|
@@ -453,79 +642,54 @@ export declare class BaseGauge__factory {
|
|
|
453
642
|
readonly type: "function";
|
|
454
643
|
}, {
|
|
455
644
|
readonly inputs: readonly [];
|
|
456
|
-
readonly name: "
|
|
645
|
+
readonly name: "boostAmplificationEnabled";
|
|
457
646
|
readonly outputs: readonly [{
|
|
458
|
-
readonly
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
readonly type: "uint256";
|
|
462
|
-
}, {
|
|
463
|
-
readonly internalType: "uint256";
|
|
464
|
-
readonly name: "endTime";
|
|
465
|
-
readonly type: "uint256";
|
|
466
|
-
}, {
|
|
467
|
-
readonly internalType: "uint256";
|
|
468
|
-
readonly name: "lastUpdateTime";
|
|
469
|
-
readonly type: "uint256";
|
|
470
|
-
}, {
|
|
471
|
-
readonly internalType: "uint256";
|
|
472
|
-
readonly name: "value";
|
|
473
|
-
readonly type: "uint256";
|
|
474
|
-
}, {
|
|
475
|
-
readonly internalType: "uint256";
|
|
476
|
-
readonly name: "weightedSum";
|
|
477
|
-
readonly type: "uint256";
|
|
478
|
-
}, {
|
|
479
|
-
readonly internalType: "uint256";
|
|
480
|
-
readonly name: "totalDuration";
|
|
481
|
-
readonly type: "uint256";
|
|
482
|
-
}, {
|
|
483
|
-
readonly internalType: "uint256";
|
|
484
|
-
readonly name: "weight";
|
|
485
|
-
readonly type: "uint256";
|
|
486
|
-
}];
|
|
487
|
-
readonly internalType: "struct TimeWeightedAverage.Period";
|
|
488
|
-
readonly name: "boostPeriod";
|
|
489
|
-
readonly type: "tuple";
|
|
490
|
-
}, {
|
|
491
|
-
readonly internalType: "uint256";
|
|
492
|
-
readonly name: "maxBoost";
|
|
493
|
-
readonly type: "uint256";
|
|
494
|
-
}, {
|
|
495
|
-
readonly internalType: "uint256";
|
|
496
|
-
readonly name: "minBoost";
|
|
497
|
-
readonly type: "uint256";
|
|
498
|
-
}, {
|
|
499
|
-
readonly internalType: "uint256";
|
|
500
|
-
readonly name: "boostWindow";
|
|
501
|
-
readonly type: "uint256";
|
|
502
|
-
}, {
|
|
503
|
-
readonly internalType: "uint256";
|
|
504
|
-
readonly name: "baseWeight";
|
|
505
|
-
readonly type: "uint256";
|
|
506
|
-
}, {
|
|
507
|
-
readonly internalType: "uint256";
|
|
508
|
-
readonly name: "votingPower";
|
|
509
|
-
readonly type: "uint256";
|
|
510
|
-
}, {
|
|
511
|
-
readonly internalType: "uint256";
|
|
512
|
-
readonly name: "totalWeight";
|
|
513
|
-
readonly type: "uint256";
|
|
514
|
-
}, {
|
|
515
|
-
readonly internalType: "uint256";
|
|
516
|
-
readonly name: "totalVotingPower";
|
|
517
|
-
readonly type: "uint256";
|
|
647
|
+
readonly internalType: "bool";
|
|
648
|
+
readonly name: "";
|
|
649
|
+
readonly type: "bool";
|
|
518
650
|
}];
|
|
519
651
|
readonly stateMutability: "view";
|
|
520
652
|
readonly type: "function";
|
|
521
653
|
}, {
|
|
522
|
-
readonly inputs: readonly [
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
readonly
|
|
654
|
+
readonly inputs: readonly [{
|
|
655
|
+
readonly internalType: "address";
|
|
656
|
+
readonly name: "token";
|
|
657
|
+
readonly type: "address";
|
|
658
|
+
}];
|
|
659
|
+
readonly name: "claimRewardToken";
|
|
660
|
+
readonly outputs: readonly [{
|
|
661
|
+
readonly internalType: "uint256";
|
|
662
|
+
readonly name: "reward";
|
|
663
|
+
readonly type: "uint256";
|
|
664
|
+
}];
|
|
665
|
+
readonly stateMutability: "nonpayable";
|
|
666
|
+
readonly type: "function";
|
|
667
|
+
}, {
|
|
668
|
+
readonly inputs: readonly [];
|
|
669
|
+
readonly name: "claimRewards";
|
|
670
|
+
readonly outputs: readonly [];
|
|
671
|
+
readonly stateMutability: "nonpayable";
|
|
672
|
+
readonly type: "function";
|
|
673
|
+
}, {
|
|
674
|
+
readonly inputs: readonly [{
|
|
675
|
+
readonly internalType: "address";
|
|
676
|
+
readonly name: "token";
|
|
677
|
+
readonly type: "address";
|
|
678
|
+
}, {
|
|
679
|
+
readonly internalType: "address";
|
|
680
|
+
readonly name: "user";
|
|
681
|
+
readonly type: "address";
|
|
682
|
+
}];
|
|
683
|
+
readonly name: "claimedRewards";
|
|
684
|
+
readonly outputs: readonly [{
|
|
685
|
+
readonly internalType: "uint256";
|
|
686
|
+
readonly name: "";
|
|
687
|
+
readonly type: "uint256";
|
|
688
|
+
}];
|
|
689
|
+
readonly stateMutability: "view";
|
|
690
|
+
readonly type: "function";
|
|
691
|
+
}, {
|
|
692
|
+
readonly inputs: readonly [];
|
|
529
693
|
readonly name: "controller";
|
|
530
694
|
readonly outputs: readonly [{
|
|
531
695
|
readonly internalType: "address";
|
|
@@ -547,7 +711,43 @@ export declare class BaseGauge__factory {
|
|
|
547
711
|
}, {
|
|
548
712
|
readonly inputs: readonly [{
|
|
549
713
|
readonly internalType: "address";
|
|
550
|
-
readonly name: "
|
|
714
|
+
readonly name: "";
|
|
715
|
+
readonly type: "address";
|
|
716
|
+
}];
|
|
717
|
+
readonly name: "distributors";
|
|
718
|
+
readonly outputs: readonly [{
|
|
719
|
+
readonly internalType: "address";
|
|
720
|
+
readonly name: "distributor";
|
|
721
|
+
readonly type: "address";
|
|
722
|
+
}, {
|
|
723
|
+
readonly internalType: "bool";
|
|
724
|
+
readonly name: "isApproved";
|
|
725
|
+
readonly type: "bool";
|
|
726
|
+
}];
|
|
727
|
+
readonly stateMutability: "view";
|
|
728
|
+
readonly type: "function";
|
|
729
|
+
}, {
|
|
730
|
+
readonly inputs: readonly [{
|
|
731
|
+
readonly internalType: "uint256";
|
|
732
|
+
readonly name: "";
|
|
733
|
+
readonly type: "uint256";
|
|
734
|
+
}];
|
|
735
|
+
readonly name: "distributorsList";
|
|
736
|
+
readonly outputs: readonly [{
|
|
737
|
+
readonly internalType: "address";
|
|
738
|
+
readonly name: "";
|
|
739
|
+
readonly type: "address";
|
|
740
|
+
}];
|
|
741
|
+
readonly stateMutability: "view";
|
|
742
|
+
readonly type: "function";
|
|
743
|
+
}, {
|
|
744
|
+
readonly inputs: readonly [{
|
|
745
|
+
readonly internalType: "address";
|
|
746
|
+
readonly name: "token";
|
|
747
|
+
readonly type: "address";
|
|
748
|
+
}, {
|
|
749
|
+
readonly internalType: "address";
|
|
750
|
+
readonly name: "user";
|
|
551
751
|
readonly type: "address";
|
|
552
752
|
}];
|
|
553
753
|
readonly name: "earned";
|
|
@@ -558,6 +758,24 @@ export declare class BaseGauge__factory {
|
|
|
558
758
|
}];
|
|
559
759
|
readonly stateMutability: "view";
|
|
560
760
|
readonly type: "function";
|
|
761
|
+
}, {
|
|
762
|
+
readonly inputs: readonly [{
|
|
763
|
+
readonly internalType: "address";
|
|
764
|
+
readonly name: "token";
|
|
765
|
+
readonly type: "address";
|
|
766
|
+
}, {
|
|
767
|
+
readonly internalType: "address";
|
|
768
|
+
readonly name: "user";
|
|
769
|
+
readonly type: "address";
|
|
770
|
+
}];
|
|
771
|
+
readonly name: "earnedRewards";
|
|
772
|
+
readonly outputs: readonly [{
|
|
773
|
+
readonly internalType: "uint256";
|
|
774
|
+
readonly name: "";
|
|
775
|
+
readonly type: "uint256";
|
|
776
|
+
}];
|
|
777
|
+
readonly stateMutability: "view";
|
|
778
|
+
readonly type: "function";
|
|
561
779
|
}, {
|
|
562
780
|
readonly inputs: readonly [{
|
|
563
781
|
readonly internalType: "address";
|
|
@@ -574,17 +792,21 @@ export declare class BaseGauge__factory {
|
|
|
574
792
|
readonly type: "function";
|
|
575
793
|
}, {
|
|
576
794
|
readonly inputs: readonly [];
|
|
577
|
-
readonly name: "
|
|
795
|
+
readonly name: "gaugeController";
|
|
578
796
|
readonly outputs: readonly [{
|
|
579
|
-
readonly internalType: "
|
|
797
|
+
readonly internalType: "contract IGaugeController";
|
|
580
798
|
readonly name: "";
|
|
581
|
-
readonly type: "
|
|
799
|
+
readonly type: "address";
|
|
582
800
|
}];
|
|
583
801
|
readonly stateMutability: "view";
|
|
584
802
|
readonly type: "function";
|
|
585
803
|
}, {
|
|
586
|
-
readonly inputs: readonly [
|
|
587
|
-
|
|
804
|
+
readonly inputs: readonly [{
|
|
805
|
+
readonly internalType: "address";
|
|
806
|
+
readonly name: "token";
|
|
807
|
+
readonly type: "address";
|
|
808
|
+
}];
|
|
809
|
+
readonly name: "getDecimalAdjustment";
|
|
588
810
|
readonly outputs: readonly [{
|
|
589
811
|
readonly internalType: "uint256";
|
|
590
812
|
readonly name: "";
|
|
@@ -592,15 +814,33 @@ export declare class BaseGauge__factory {
|
|
|
592
814
|
}];
|
|
593
815
|
readonly stateMutability: "view";
|
|
594
816
|
readonly type: "function";
|
|
817
|
+
}, {
|
|
818
|
+
readonly inputs: readonly [{
|
|
819
|
+
readonly internalType: "address";
|
|
820
|
+
readonly name: "distributor";
|
|
821
|
+
readonly type: "address";
|
|
822
|
+
}];
|
|
823
|
+
readonly name: "getDistributorApproval";
|
|
824
|
+
readonly outputs: readonly [{
|
|
825
|
+
readonly internalType: "bool";
|
|
826
|
+
readonly name: "";
|
|
827
|
+
readonly type: "bool";
|
|
828
|
+
}];
|
|
829
|
+
readonly stateMutability: "view";
|
|
830
|
+
readonly type: "function";
|
|
595
831
|
}, {
|
|
596
832
|
readonly inputs: readonly [];
|
|
597
|
-
readonly name: "
|
|
598
|
-
readonly outputs: readonly [
|
|
599
|
-
|
|
833
|
+
readonly name: "getDistributors";
|
|
834
|
+
readonly outputs: readonly [{
|
|
835
|
+
readonly internalType: "address[]";
|
|
836
|
+
readonly name: "";
|
|
837
|
+
readonly type: "address[]";
|
|
838
|
+
}];
|
|
839
|
+
readonly stateMutability: "view";
|
|
600
840
|
readonly type: "function";
|
|
601
841
|
}, {
|
|
602
842
|
readonly inputs: readonly [];
|
|
603
|
-
readonly name: "
|
|
843
|
+
readonly name: "getNextPeriodTime";
|
|
604
844
|
readonly outputs: readonly [{
|
|
605
845
|
readonly internalType: "uint256";
|
|
606
846
|
readonly name: "";
|
|
@@ -608,6 +848,16 @@ export declare class BaseGauge__factory {
|
|
|
608
848
|
}];
|
|
609
849
|
readonly stateMutability: "view";
|
|
610
850
|
readonly type: "function";
|
|
851
|
+
}, {
|
|
852
|
+
readonly inputs: readonly [];
|
|
853
|
+
readonly name: "getRewardTokens";
|
|
854
|
+
readonly outputs: readonly [{
|
|
855
|
+
readonly internalType: "address[]";
|
|
856
|
+
readonly name: "";
|
|
857
|
+
readonly type: "address[]";
|
|
858
|
+
}];
|
|
859
|
+
readonly stateMutability: "view";
|
|
860
|
+
readonly type: "function";
|
|
611
861
|
}, {
|
|
612
862
|
readonly inputs: readonly [{
|
|
613
863
|
readonly internalType: "bytes32";
|
|
@@ -623,18 +873,12 @@ export declare class BaseGauge__factory {
|
|
|
623
873
|
readonly stateMutability: "view";
|
|
624
874
|
readonly type: "function";
|
|
625
875
|
}, {
|
|
626
|
-
readonly inputs: readonly [
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
readonly
|
|
630
|
-
readonly name: "";
|
|
631
|
-
readonly type: "uint256";
|
|
876
|
+
readonly inputs: readonly [{
|
|
877
|
+
readonly internalType: "address";
|
|
878
|
+
readonly name: "account";
|
|
879
|
+
readonly type: "address";
|
|
632
880
|
}];
|
|
633
|
-
readonly
|
|
634
|
-
readonly type: "function";
|
|
635
|
-
}, {
|
|
636
|
-
readonly inputs: readonly [];
|
|
637
|
-
readonly name: "getTotalWeight";
|
|
881
|
+
readonly name: "getUserWeight";
|
|
638
882
|
readonly outputs: readonly [{
|
|
639
883
|
readonly internalType: "uint256";
|
|
640
884
|
readonly name: "";
|
|
@@ -648,7 +892,7 @@ export declare class BaseGauge__factory {
|
|
|
648
892
|
readonly name: "account";
|
|
649
893
|
readonly type: "address";
|
|
650
894
|
}];
|
|
651
|
-
readonly name: "
|
|
895
|
+
readonly name: "getWorkingBalance";
|
|
652
896
|
readonly outputs: readonly [{
|
|
653
897
|
readonly internalType: "uint256";
|
|
654
898
|
readonly name: "";
|
|
@@ -689,12 +933,8 @@ export declare class BaseGauge__factory {
|
|
|
689
933
|
readonly stateMutability: "view";
|
|
690
934
|
readonly type: "function";
|
|
691
935
|
}, {
|
|
692
|
-
readonly inputs: readonly [
|
|
693
|
-
|
|
694
|
-
readonly name: "";
|
|
695
|
-
readonly type: "address";
|
|
696
|
-
}];
|
|
697
|
-
readonly name: "lastClaimTime";
|
|
936
|
+
readonly inputs: readonly [];
|
|
937
|
+
readonly name: "historicalCheckpointCount";
|
|
698
938
|
readonly outputs: readonly [{
|
|
699
939
|
readonly internalType: "uint256";
|
|
700
940
|
readonly name: "";
|
|
@@ -703,15 +943,49 @@ export declare class BaseGauge__factory {
|
|
|
703
943
|
readonly stateMutability: "view";
|
|
704
944
|
readonly type: "function";
|
|
705
945
|
}, {
|
|
706
|
-
readonly inputs: readonly [
|
|
707
|
-
readonly name: "lastTimeRewardApplicable";
|
|
708
|
-
readonly outputs: readonly [{
|
|
946
|
+
readonly inputs: readonly [{
|
|
709
947
|
readonly internalType: "uint256";
|
|
710
948
|
readonly name: "";
|
|
711
949
|
readonly type: "uint256";
|
|
712
950
|
}];
|
|
951
|
+
readonly name: "historicalCheckpoints";
|
|
952
|
+
readonly outputs: readonly [{
|
|
953
|
+
readonly internalType: "uint256";
|
|
954
|
+
readonly name: "timestamp";
|
|
955
|
+
readonly type: "uint256";
|
|
956
|
+
}, {
|
|
957
|
+
readonly internalType: "uint256";
|
|
958
|
+
readonly name: "totalSupply";
|
|
959
|
+
readonly type: "uint256";
|
|
960
|
+
}, {
|
|
961
|
+
readonly internalType: "uint256";
|
|
962
|
+
readonly name: "workingSupply";
|
|
963
|
+
readonly type: "uint256";
|
|
964
|
+
}, {
|
|
965
|
+
readonly internalType: "uint256";
|
|
966
|
+
readonly name: "rewardPerToken";
|
|
967
|
+
readonly type: "uint256";
|
|
968
|
+
}, {
|
|
969
|
+
readonly internalType: "uint256";
|
|
970
|
+
readonly name: "rewardRate";
|
|
971
|
+
readonly type: "uint256";
|
|
972
|
+
}];
|
|
713
973
|
readonly stateMutability: "view";
|
|
714
974
|
readonly type: "function";
|
|
975
|
+
}, {
|
|
976
|
+
readonly inputs: readonly [{
|
|
977
|
+
readonly internalType: "address";
|
|
978
|
+
readonly name: "token";
|
|
979
|
+
readonly type: "address";
|
|
980
|
+
}, {
|
|
981
|
+
readonly internalType: "address";
|
|
982
|
+
readonly name: "distributor";
|
|
983
|
+
readonly type: "address";
|
|
984
|
+
}];
|
|
985
|
+
readonly name: "initializeRewardToken";
|
|
986
|
+
readonly outputs: readonly [];
|
|
987
|
+
readonly stateMutability: "nonpayable";
|
|
988
|
+
readonly type: "function";
|
|
715
989
|
}, {
|
|
716
990
|
readonly inputs: readonly [];
|
|
717
991
|
readonly name: "lastUpdateTime";
|
|
@@ -724,6 +998,24 @@ export declare class BaseGauge__factory {
|
|
|
724
998
|
readonly type: "function";
|
|
725
999
|
}, {
|
|
726
1000
|
readonly inputs: readonly [{
|
|
1001
|
+
readonly internalType: "address";
|
|
1002
|
+
readonly name: "distributor";
|
|
1003
|
+
readonly type: "address";
|
|
1004
|
+
}, {
|
|
1005
|
+
readonly internalType: "bool";
|
|
1006
|
+
readonly name: "shouldAddDistributor";
|
|
1007
|
+
readonly type: "bool";
|
|
1008
|
+
}];
|
|
1009
|
+
readonly name: "manageDistributor";
|
|
1010
|
+
readonly outputs: readonly [];
|
|
1011
|
+
readonly stateMutability: "nonpayable";
|
|
1012
|
+
readonly type: "function";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly inputs: readonly [{
|
|
1015
|
+
readonly internalType: "address";
|
|
1016
|
+
readonly name: "token";
|
|
1017
|
+
readonly type: "address";
|
|
1018
|
+
}, {
|
|
727
1019
|
readonly internalType: "uint256";
|
|
728
1020
|
readonly name: "amount";
|
|
729
1021
|
readonly type: "uint256";
|
|
@@ -742,6 +1034,34 @@ export declare class BaseGauge__factory {
|
|
|
742
1034
|
}];
|
|
743
1035
|
readonly stateMutability: "view";
|
|
744
1036
|
readonly type: "function";
|
|
1037
|
+
}, {
|
|
1038
|
+
readonly inputs: readonly [{
|
|
1039
|
+
readonly internalType: "address";
|
|
1040
|
+
readonly name: "token";
|
|
1041
|
+
readonly type: "address";
|
|
1042
|
+
}, {
|
|
1043
|
+
readonly internalType: "address";
|
|
1044
|
+
readonly name: "user";
|
|
1045
|
+
readonly type: "address";
|
|
1046
|
+
}];
|
|
1047
|
+
readonly name: "pendingRewards";
|
|
1048
|
+
readonly outputs: readonly [{
|
|
1049
|
+
readonly internalType: "uint256";
|
|
1050
|
+
readonly name: "";
|
|
1051
|
+
readonly type: "uint256";
|
|
1052
|
+
}];
|
|
1053
|
+
readonly stateMutability: "view";
|
|
1054
|
+
readonly type: "function";
|
|
1055
|
+
}, {
|
|
1056
|
+
readonly inputs: readonly [];
|
|
1057
|
+
readonly name: "periodDuration";
|
|
1058
|
+
readonly outputs: readonly [{
|
|
1059
|
+
readonly internalType: "uint256";
|
|
1060
|
+
readonly name: "";
|
|
1061
|
+
readonly type: "uint256";
|
|
1062
|
+
}];
|
|
1063
|
+
readonly stateMutability: "view";
|
|
1064
|
+
readonly type: "function";
|
|
745
1065
|
}, {
|
|
746
1066
|
readonly inputs: readonly [];
|
|
747
1067
|
readonly name: "periodFinish";
|
|
@@ -831,6 +1151,40 @@ export declare class BaseGauge__factory {
|
|
|
831
1151
|
readonly outputs: readonly [];
|
|
832
1152
|
readonly stateMutability: "nonpayable";
|
|
833
1153
|
readonly type: "function";
|
|
1154
|
+
}, {
|
|
1155
|
+
readonly inputs: readonly [{
|
|
1156
|
+
readonly internalType: "address";
|
|
1157
|
+
readonly name: "";
|
|
1158
|
+
readonly type: "address";
|
|
1159
|
+
}];
|
|
1160
|
+
readonly name: "rewardData";
|
|
1161
|
+
readonly outputs: readonly [{
|
|
1162
|
+
readonly internalType: "uint256";
|
|
1163
|
+
readonly name: "rate";
|
|
1164
|
+
readonly type: "uint256";
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly internalType: "uint256";
|
|
1167
|
+
readonly name: "periodFinish";
|
|
1168
|
+
readonly type: "uint256";
|
|
1169
|
+
}, {
|
|
1170
|
+
readonly internalType: "uint256";
|
|
1171
|
+
readonly name: "lastUpdateTime";
|
|
1172
|
+
readonly type: "uint256";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly internalType: "uint256";
|
|
1175
|
+
readonly name: "rewardPerTokenStored";
|
|
1176
|
+
readonly type: "uint256";
|
|
1177
|
+
}, {
|
|
1178
|
+
readonly internalType: "address";
|
|
1179
|
+
readonly name: "distributor";
|
|
1180
|
+
readonly type: "address";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly internalType: "uint256";
|
|
1183
|
+
readonly name: "integral";
|
|
1184
|
+
readonly type: "uint256";
|
|
1185
|
+
}];
|
|
1186
|
+
readonly stateMutability: "view";
|
|
1187
|
+
readonly type: "function";
|
|
834
1188
|
}, {
|
|
835
1189
|
readonly inputs: readonly [];
|
|
836
1190
|
readonly name: "rewardPerTokenStored";
|
|
@@ -861,21 +1215,59 @@ export declare class BaseGauge__factory {
|
|
|
861
1215
|
}];
|
|
862
1216
|
readonly stateMutability: "view";
|
|
863
1217
|
readonly type: "function";
|
|
1218
|
+
}, {
|
|
1219
|
+
readonly inputs: readonly [{
|
|
1220
|
+
readonly internalType: "address";
|
|
1221
|
+
readonly name: "";
|
|
1222
|
+
readonly type: "address";
|
|
1223
|
+
}];
|
|
1224
|
+
readonly name: "rewardTokenDecimals";
|
|
1225
|
+
readonly outputs: readonly [{
|
|
1226
|
+
readonly internalType: "uint8";
|
|
1227
|
+
readonly name: "";
|
|
1228
|
+
readonly type: "uint8";
|
|
1229
|
+
}];
|
|
1230
|
+
readonly stateMutability: "view";
|
|
1231
|
+
readonly type: "function";
|
|
864
1232
|
}, {
|
|
865
1233
|
readonly inputs: readonly [{
|
|
866
1234
|
readonly internalType: "uint256";
|
|
867
|
-
readonly name: "
|
|
868
|
-
readonly type: "uint256";
|
|
869
|
-
}, {
|
|
870
|
-
readonly internalType: "uint256";
|
|
871
|
-
readonly name: "_minBoost";
|
|
1235
|
+
readonly name: "";
|
|
872
1236
|
readonly type: "uint256";
|
|
1237
|
+
}];
|
|
1238
|
+
readonly name: "rewardTokens";
|
|
1239
|
+
readonly outputs: readonly [{
|
|
1240
|
+
readonly internalType: "address";
|
|
1241
|
+
readonly name: "";
|
|
1242
|
+
readonly type: "address";
|
|
1243
|
+
}];
|
|
1244
|
+
readonly stateMutability: "view";
|
|
1245
|
+
readonly type: "function";
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly inputs: readonly [{
|
|
1248
|
+
readonly internalType: "address";
|
|
1249
|
+
readonly name: "";
|
|
1250
|
+
readonly type: "address";
|
|
873
1251
|
}, {
|
|
1252
|
+
readonly internalType: "address";
|
|
1253
|
+
readonly name: "";
|
|
1254
|
+
readonly type: "address";
|
|
1255
|
+
}];
|
|
1256
|
+
readonly name: "rewards";
|
|
1257
|
+
readonly outputs: readonly [{
|
|
874
1258
|
readonly internalType: "uint256";
|
|
875
|
-
readonly name: "
|
|
1259
|
+
readonly name: "";
|
|
876
1260
|
readonly type: "uint256";
|
|
877
1261
|
}];
|
|
878
|
-
readonly
|
|
1262
|
+
readonly stateMutability: "view";
|
|
1263
|
+
readonly type: "function";
|
|
1264
|
+
}, {
|
|
1265
|
+
readonly inputs: readonly [{
|
|
1266
|
+
readonly internalType: "bool";
|
|
1267
|
+
readonly name: "enabled";
|
|
1268
|
+
readonly type: "bool";
|
|
1269
|
+
}];
|
|
1270
|
+
readonly name: "setBoostAmplificationEnabled";
|
|
879
1271
|
readonly outputs: readonly [];
|
|
880
1272
|
readonly stateMutability: "nonpayable";
|
|
881
1273
|
readonly type: "function";
|
|
@@ -891,31 +1283,55 @@ export declare class BaseGauge__factory {
|
|
|
891
1283
|
readonly type: "function";
|
|
892
1284
|
}, {
|
|
893
1285
|
readonly inputs: readonly [{
|
|
1286
|
+
readonly internalType: "address";
|
|
1287
|
+
readonly name: "distributor";
|
|
1288
|
+
readonly type: "address";
|
|
1289
|
+
}, {
|
|
894
1290
|
readonly internalType: "bool";
|
|
895
|
-
readonly name: "
|
|
1291
|
+
readonly name: "isApproved";
|
|
1292
|
+
readonly type: "bool";
|
|
1293
|
+
}];
|
|
1294
|
+
readonly name: "setDistributorApproval";
|
|
1295
|
+
readonly outputs: readonly [];
|
|
1296
|
+
readonly stateMutability: "nonpayable";
|
|
1297
|
+
readonly type: "function";
|
|
1298
|
+
}, {
|
|
1299
|
+
readonly inputs: readonly [{
|
|
1300
|
+
readonly internalType: "bool";
|
|
1301
|
+
readonly name: "newPaused";
|
|
896
1302
|
readonly type: "bool";
|
|
897
1303
|
}];
|
|
898
1304
|
readonly name: "setEmergencyPaused";
|
|
899
1305
|
readonly outputs: readonly [];
|
|
900
1306
|
readonly stateMutability: "nonpayable";
|
|
901
1307
|
readonly type: "function";
|
|
1308
|
+
}, {
|
|
1309
|
+
readonly inputs: readonly [{
|
|
1310
|
+
readonly internalType: "uint256";
|
|
1311
|
+
readonly name: "weight";
|
|
1312
|
+
readonly type: "uint256";
|
|
1313
|
+
}];
|
|
1314
|
+
readonly name: "setInitialWeight";
|
|
1315
|
+
readonly outputs: readonly [];
|
|
1316
|
+
readonly stateMutability: "nonpayable";
|
|
1317
|
+
readonly type: "function";
|
|
902
1318
|
}, {
|
|
903
1319
|
readonly inputs: readonly [{
|
|
904
1320
|
readonly internalType: "uint256";
|
|
905
1321
|
readonly name: "emission";
|
|
906
1322
|
readonly type: "uint256";
|
|
907
1323
|
}];
|
|
908
|
-
readonly name: "
|
|
1324
|
+
readonly name: "setMaxEmission";
|
|
909
1325
|
readonly outputs: readonly [];
|
|
910
1326
|
readonly stateMutability: "nonpayable";
|
|
911
1327
|
readonly type: "function";
|
|
912
1328
|
}, {
|
|
913
1329
|
readonly inputs: readonly [{
|
|
914
1330
|
readonly internalType: "uint256";
|
|
915
|
-
readonly name: "
|
|
1331
|
+
readonly name: "newPeriodDuration";
|
|
916
1332
|
readonly type: "uint256";
|
|
917
1333
|
}];
|
|
918
|
-
readonly name: "
|
|
1334
|
+
readonly name: "setPeriodDuration";
|
|
919
1335
|
readonly outputs: readonly [];
|
|
920
1336
|
readonly stateMutability: "nonpayable";
|
|
921
1337
|
readonly type: "function";
|
|
@@ -953,6 +1369,22 @@ export declare class BaseGauge__factory {
|
|
|
953
1369
|
}];
|
|
954
1370
|
readonly stateMutability: "view";
|
|
955
1371
|
readonly type: "function";
|
|
1372
|
+
}, {
|
|
1373
|
+
readonly inputs: readonly [{
|
|
1374
|
+
readonly internalType: "address";
|
|
1375
|
+
readonly name: "token";
|
|
1376
|
+
readonly type: "address";
|
|
1377
|
+
}];
|
|
1378
|
+
readonly name: "syncRewardData";
|
|
1379
|
+
readonly outputs: readonly [];
|
|
1380
|
+
readonly stateMutability: "nonpayable";
|
|
1381
|
+
readonly type: "function";
|
|
1382
|
+
}, {
|
|
1383
|
+
readonly inputs: readonly [];
|
|
1384
|
+
readonly name: "syncRewardTokens";
|
|
1385
|
+
readonly outputs: readonly [];
|
|
1386
|
+
readonly stateMutability: "nonpayable";
|
|
1387
|
+
readonly type: "function";
|
|
956
1388
|
}, {
|
|
957
1389
|
readonly inputs: readonly [];
|
|
958
1390
|
readonly name: "totalSupply";
|
|
@@ -979,24 +1411,122 @@ export declare class BaseGauge__factory {
|
|
|
979
1411
|
readonly outputs: readonly [];
|
|
980
1412
|
readonly stateMutability: "nonpayable";
|
|
981
1413
|
readonly type: "function";
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly inputs: readonly [];
|
|
1416
|
+
readonly name: "updateUserRewards";
|
|
1417
|
+
readonly outputs: readonly [];
|
|
1418
|
+
readonly stateMutability: "nonpayable";
|
|
1419
|
+
readonly type: "function";
|
|
982
1420
|
}, {
|
|
983
1421
|
readonly inputs: readonly [{
|
|
984
1422
|
readonly internalType: "address";
|
|
985
1423
|
readonly name: "";
|
|
986
1424
|
readonly type: "address";
|
|
987
1425
|
}];
|
|
988
|
-
readonly name: "
|
|
1426
|
+
readonly name: "userCheckpointCounts";
|
|
989
1427
|
readonly outputs: readonly [{
|
|
990
1428
|
readonly internalType: "uint256";
|
|
991
|
-
readonly name: "
|
|
1429
|
+
readonly name: "";
|
|
1430
|
+
readonly type: "uint256";
|
|
1431
|
+
}];
|
|
1432
|
+
readonly stateMutability: "view";
|
|
1433
|
+
readonly type: "function";
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly inputs: readonly [{
|
|
1436
|
+
readonly internalType: "address";
|
|
1437
|
+
readonly name: "";
|
|
1438
|
+
readonly type: "address";
|
|
1439
|
+
}, {
|
|
1440
|
+
readonly internalType: "uint256";
|
|
1441
|
+
readonly name: "";
|
|
1442
|
+
readonly type: "uint256";
|
|
1443
|
+
}];
|
|
1444
|
+
readonly name: "userCheckpoints";
|
|
1445
|
+
readonly outputs: readonly [{
|
|
1446
|
+
readonly internalType: "uint256";
|
|
1447
|
+
readonly name: "timestamp";
|
|
1448
|
+
readonly type: "uint256";
|
|
1449
|
+
}, {
|
|
1450
|
+
readonly internalType: "uint256";
|
|
1451
|
+
readonly name: "balance";
|
|
1452
|
+
readonly type: "uint256";
|
|
1453
|
+
}, {
|
|
1454
|
+
readonly internalType: "uint256";
|
|
1455
|
+
readonly name: "workingBalance";
|
|
1456
|
+
readonly type: "uint256";
|
|
1457
|
+
}, {
|
|
1458
|
+
readonly internalType: "uint256";
|
|
1459
|
+
readonly name: "rewardPerToken";
|
|
1460
|
+
readonly type: "uint256";
|
|
1461
|
+
}, {
|
|
1462
|
+
readonly internalType: "uint256";
|
|
1463
|
+
readonly name: "slope";
|
|
1464
|
+
readonly type: "uint256";
|
|
1465
|
+
}, {
|
|
1466
|
+
readonly internalType: "uint256";
|
|
1467
|
+
readonly name: "bias";
|
|
1468
|
+
readonly type: "uint256";
|
|
1469
|
+
}];
|
|
1470
|
+
readonly stateMutability: "view";
|
|
1471
|
+
readonly type: "function";
|
|
1472
|
+
}, {
|
|
1473
|
+
readonly inputs: readonly [{
|
|
1474
|
+
readonly internalType: "address";
|
|
1475
|
+
readonly name: "";
|
|
1476
|
+
readonly type: "address";
|
|
1477
|
+
}, {
|
|
1478
|
+
readonly internalType: "address";
|
|
1479
|
+
readonly name: "";
|
|
1480
|
+
readonly type: "address";
|
|
1481
|
+
}];
|
|
1482
|
+
readonly name: "userClaimedRewards";
|
|
1483
|
+
readonly outputs: readonly [{
|
|
1484
|
+
readonly internalType: "uint256";
|
|
1485
|
+
readonly name: "";
|
|
1486
|
+
readonly type: "uint256";
|
|
1487
|
+
}];
|
|
1488
|
+
readonly stateMutability: "view";
|
|
1489
|
+
readonly type: "function";
|
|
1490
|
+
}, {
|
|
1491
|
+
readonly inputs: readonly [{
|
|
1492
|
+
readonly internalType: "address";
|
|
1493
|
+
readonly name: "";
|
|
1494
|
+
readonly type: "address";
|
|
1495
|
+
}, {
|
|
1496
|
+
readonly internalType: "address";
|
|
1497
|
+
readonly name: "";
|
|
1498
|
+
readonly type: "address";
|
|
1499
|
+
}];
|
|
1500
|
+
readonly name: "userRewardData";
|
|
1501
|
+
readonly outputs: readonly [{
|
|
1502
|
+
readonly internalType: "uint256";
|
|
1503
|
+
readonly name: "integral";
|
|
992
1504
|
readonly type: "uint256";
|
|
993
1505
|
}, {
|
|
994
1506
|
readonly internalType: "uint256";
|
|
995
|
-
readonly name: "
|
|
1507
|
+
readonly name: "lastUpdate";
|
|
996
1508
|
readonly type: "uint256";
|
|
997
1509
|
}, {
|
|
998
1510
|
readonly internalType: "uint256";
|
|
999
|
-
readonly name: "
|
|
1511
|
+
readonly name: "claimable";
|
|
1512
|
+
readonly type: "uint256";
|
|
1513
|
+
}];
|
|
1514
|
+
readonly stateMutability: "view";
|
|
1515
|
+
readonly type: "function";
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly inputs: readonly [{
|
|
1518
|
+
readonly internalType: "address";
|
|
1519
|
+
readonly name: "";
|
|
1520
|
+
readonly type: "address";
|
|
1521
|
+
}, {
|
|
1522
|
+
readonly internalType: "address";
|
|
1523
|
+
readonly name: "";
|
|
1524
|
+
readonly type: "address";
|
|
1525
|
+
}];
|
|
1526
|
+
readonly name: "userRewardPerTokenPaid";
|
|
1527
|
+
readonly outputs: readonly [{
|
|
1528
|
+
readonly internalType: "uint256";
|
|
1529
|
+
readonly name: "";
|
|
1000
1530
|
readonly type: "uint256";
|
|
1001
1531
|
}];
|
|
1002
1532
|
readonly stateMutability: "view";
|
|
@@ -1077,6 +1607,30 @@ export declare class BaseGauge__factory {
|
|
|
1077
1607
|
readonly outputs: readonly [];
|
|
1078
1608
|
readonly stateMutability: "nonpayable";
|
|
1079
1609
|
readonly type: "function";
|
|
1610
|
+
}, {
|
|
1611
|
+
readonly inputs: readonly [{
|
|
1612
|
+
readonly internalType: "address";
|
|
1613
|
+
readonly name: "";
|
|
1614
|
+
readonly type: "address";
|
|
1615
|
+
}];
|
|
1616
|
+
readonly name: "workingBalances";
|
|
1617
|
+
readonly outputs: readonly [{
|
|
1618
|
+
readonly internalType: "uint256";
|
|
1619
|
+
readonly name: "";
|
|
1620
|
+
readonly type: "uint256";
|
|
1621
|
+
}];
|
|
1622
|
+
readonly stateMutability: "view";
|
|
1623
|
+
readonly type: "function";
|
|
1624
|
+
}, {
|
|
1625
|
+
readonly inputs: readonly [];
|
|
1626
|
+
readonly name: "workingSupply";
|
|
1627
|
+
readonly outputs: readonly [{
|
|
1628
|
+
readonly internalType: "uint256";
|
|
1629
|
+
readonly name: "";
|
|
1630
|
+
readonly type: "uint256";
|
|
1631
|
+
}];
|
|
1632
|
+
readonly stateMutability: "view";
|
|
1633
|
+
readonly type: "function";
|
|
1080
1634
|
}];
|
|
1081
1635
|
static createInterface(): BaseGaugeInterface;
|
|
1082
1636
|
static connect(address: string, runner?: ContractRunner | null): BaseGauge;
|