@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
3
|
export interface MockFeeCollectorTokenInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "burn" | "burnEnabled" | "decimals" | "getTotalVotingPower" | "
|
|
4
|
+
getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "burn" | "burnEnabled" | "decimals" | "getTotalVotingPower" | "mint" | "name" | "owner" | "renounceOwnership" | "setVotingPower" | "symbol" | "toggleBurn" | "totalSupply" | "transfer" | "transferFrom" | "transferOwnership"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "Approval" | "OwnershipTransferred" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
@@ -10,7 +10,6 @@ export interface MockFeeCollectorTokenInterface extends Interface {
|
|
|
10
10
|
encodeFunctionData(functionFragment: "burnEnabled", values?: undefined): string;
|
|
11
11
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
12
12
|
encodeFunctionData(functionFragment: "getTotalVotingPower", values?: undefined): string;
|
|
13
|
-
encodeFunctionData(functionFragment: "getVotingPower", values: [AddressLike]): string;
|
|
14
13
|
encodeFunctionData(functionFragment: "mint", values: [AddressLike, BigNumberish]): string;
|
|
15
14
|
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
16
15
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
@@ -29,7 +28,6 @@ export interface MockFeeCollectorTokenInterface extends Interface {
|
|
|
29
28
|
decodeFunctionResult(functionFragment: "burnEnabled", data: BytesLike): Result;
|
|
30
29
|
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
31
30
|
decodeFunctionResult(functionFragment: "getTotalVotingPower", data: BytesLike): Result;
|
|
32
|
-
decodeFunctionResult(functionFragment: "getVotingPower", data: BytesLike): Result;
|
|
33
31
|
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
34
32
|
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
35
33
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
@@ -118,7 +116,6 @@ export interface MockFeeCollectorToken extends BaseContract {
|
|
|
118
116
|
burnEnabled: TypedContractMethod<[], [boolean], "view">;
|
|
119
117
|
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
120
118
|
getTotalVotingPower: TypedContractMethod<[], [bigint], "view">;
|
|
121
|
-
getVotingPower: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
122
119
|
mint: TypedContractMethod<[
|
|
123
120
|
account: AddressLike,
|
|
124
121
|
amount: BigNumberish
|
|
@@ -173,7 +170,6 @@ export interface MockFeeCollectorToken extends BaseContract {
|
|
|
173
170
|
getFunction(nameOrSignature: "burnEnabled"): TypedContractMethod<[], [boolean], "view">;
|
|
174
171
|
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
175
172
|
getFunction(nameOrSignature: "getTotalVotingPower"): TypedContractMethod<[], [bigint], "view">;
|
|
176
|
-
getFunction(nameOrSignature: "getVotingPower"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
177
173
|
getFunction(nameOrSignature: "mint"): TypedContractMethod<[
|
|
178
174
|
account: AddressLike,
|
|
179
175
|
amount: BigNumberish
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
3
|
export interface MockTokenInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "burn" | "decimals" | "getTotalVotingPower" | "
|
|
4
|
+
getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "burn" | "decimals" | "getTotalVotingPower" | "mint" | "name" | "setVotingPower" | "symbol" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
@@ -9,7 +9,6 @@ export interface MockTokenInterface extends Interface {
|
|
|
9
9
|
encodeFunctionData(functionFragment: "burn", values: [AddressLike, BigNumberish]): string;
|
|
10
10
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
11
11
|
encodeFunctionData(functionFragment: "getTotalVotingPower", values?: undefined): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "getVotingPower", values: [AddressLike]): string;
|
|
13
12
|
encodeFunctionData(functionFragment: "mint", values: [AddressLike, BigNumberish]): string;
|
|
14
13
|
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
15
14
|
encodeFunctionData(functionFragment: "setVotingPower", values: [AddressLike, BigNumberish]): string;
|
|
@@ -23,7 +22,6 @@ export interface MockTokenInterface extends Interface {
|
|
|
23
22
|
decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
|
|
24
23
|
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
25
24
|
decodeFunctionResult(functionFragment: "getTotalVotingPower", data: BytesLike): Result;
|
|
26
|
-
decodeFunctionResult(functionFragment: "getVotingPower", data: BytesLike): Result;
|
|
27
25
|
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
28
26
|
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
29
27
|
decodeFunctionResult(functionFragment: "setVotingPower", data: BytesLike): Result;
|
|
@@ -100,7 +98,6 @@ export interface MockToken extends BaseContract {
|
|
|
100
98
|
], "nonpayable">;
|
|
101
99
|
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
102
100
|
getTotalVotingPower: TypedContractMethod<[], [bigint], "view">;
|
|
103
|
-
getVotingPower: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
104
101
|
mint: TypedContractMethod<[
|
|
105
102
|
account: AddressLike,
|
|
106
103
|
amount: BigNumberish
|
|
@@ -151,7 +148,6 @@ export interface MockToken extends BaseContract {
|
|
|
151
148
|
], "nonpayable">;
|
|
152
149
|
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
153
150
|
getFunction(nameOrSignature: "getTotalVotingPower"): TypedContractMethod<[], [bigint], "view">;
|
|
154
|
-
getFunction(nameOrSignature: "getVotingPower"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
155
151
|
getFunction(nameOrSignature: "mint"): TypedContractMethod<[
|
|
156
152
|
account: AddressLike,
|
|
157
153
|
amount: BigNumberish
|
|
@@ -4,6 +4,5 @@ export type { MockCollectableUnderlying } from "./MockCollectableUnderlying";
|
|
|
4
4
|
export type { MockFeeCollectorToken } from "./MockFeeCollectorToken";
|
|
5
5
|
export type { MockToken } from "./MockToken";
|
|
6
6
|
export type { MockUSDC } from "./MockUSDC";
|
|
7
|
-
export type { MockVeToken } from "./MockVeToken";
|
|
8
7
|
export type { RAACMockERC20 } from "./RAACMockERC20";
|
|
9
8
|
export type { CrvUSDToken } from "./CrvUSDToken";
|
package/dist/types/typechain-types/contracts/mocks/libraries/governance/BoostCalculatorMock.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
3
|
export interface BoostCalculatorMockInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
6
|
-
encodeFunctionData(functionFragment: "
|
|
4
|
+
getFunction(nameOrSignature: "boostWindow" | "calculateBoost" | "calculateTimeWeightedBoost" | "calculateTimeWeightedBoostView" | "maxBoost" | "minBoost" | "setBoostParameters" | "setTotalVotingPower" | "setTotalWeight" | "setVotingPower" | "totalStaked" | "updateBoostPeriod" | "updateUserBalance" | "userStaked"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "PeriodCreated"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "boostWindow", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "calculateBoost", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
7
8
|
encodeFunctionData(functionFragment: "calculateTimeWeightedBoost", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
8
9
|
encodeFunctionData(functionFragment: "calculateTimeWeightedBoostView", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
9
|
-
encodeFunctionData(functionFragment: "getBoostState", values?: undefined): string;
|
|
10
10
|
encodeFunctionData(functionFragment: "maxBoost", values?: undefined): string;
|
|
11
11
|
encodeFunctionData(functionFragment: "minBoost", values?: undefined): string;
|
|
12
12
|
encodeFunctionData(functionFragment: "setBoostParameters", values: [
|
|
@@ -17,59 +17,27 @@ export interface BoostCalculatorMockInterface extends Interface {
|
|
|
17
17
|
BigNumberish,
|
|
18
18
|
BigNumberish
|
|
19
19
|
]): string;
|
|
20
|
-
encodeFunctionData(functionFragment: "setBoostWindow", values: [BigNumberish]): string;
|
|
21
|
-
encodeFunctionData(functionFragment: "setMaxBoost", values: [BigNumberish]): string;
|
|
22
|
-
encodeFunctionData(functionFragment: "setMinBoost", values: [BigNumberish]): string;
|
|
23
20
|
encodeFunctionData(functionFragment: "setTotalVotingPower", values: [BigNumberish]): string;
|
|
24
21
|
encodeFunctionData(functionFragment: "setTotalWeight", values: [BigNumberish]): string;
|
|
25
22
|
encodeFunctionData(functionFragment: "setVotingPower", values: [BigNumberish]): string;
|
|
23
|
+
encodeFunctionData(functionFragment: "totalStaked", values?: undefined): string;
|
|
26
24
|
encodeFunctionData(functionFragment: "updateBoostPeriod", values?: undefined): string;
|
|
27
25
|
encodeFunctionData(functionFragment: "updateUserBalance", values: [AddressLike, BigNumberish]): string;
|
|
28
|
-
|
|
26
|
+
encodeFunctionData(functionFragment: "userStaked", values?: undefined): string;
|
|
27
|
+
decodeFunctionResult(functionFragment: "boostWindow", data: BytesLike): Result;
|
|
28
|
+
decodeFunctionResult(functionFragment: "calculateBoost", data: BytesLike): Result;
|
|
29
29
|
decodeFunctionResult(functionFragment: "calculateTimeWeightedBoost", data: BytesLike): Result;
|
|
30
30
|
decodeFunctionResult(functionFragment: "calculateTimeWeightedBoostView", data: BytesLike): Result;
|
|
31
|
-
decodeFunctionResult(functionFragment: "getBoostState", data: BytesLike): Result;
|
|
32
31
|
decodeFunctionResult(functionFragment: "maxBoost", data: BytesLike): Result;
|
|
33
32
|
decodeFunctionResult(functionFragment: "minBoost", data: BytesLike): Result;
|
|
34
33
|
decodeFunctionResult(functionFragment: "setBoostParameters", data: BytesLike): Result;
|
|
35
|
-
decodeFunctionResult(functionFragment: "setBoostWindow", data: BytesLike): Result;
|
|
36
|
-
decodeFunctionResult(functionFragment: "setMaxBoost", data: BytesLike): Result;
|
|
37
|
-
decodeFunctionResult(functionFragment: "setMinBoost", data: BytesLike): Result;
|
|
38
34
|
decodeFunctionResult(functionFragment: "setTotalVotingPower", data: BytesLike): Result;
|
|
39
35
|
decodeFunctionResult(functionFragment: "setTotalWeight", data: BytesLike): Result;
|
|
40
36
|
decodeFunctionResult(functionFragment: "setVotingPower", data: BytesLike): Result;
|
|
37
|
+
decodeFunctionResult(functionFragment: "totalStaked", data: BytesLike): Result;
|
|
41
38
|
decodeFunctionResult(functionFragment: "updateBoostPeriod", data: BytesLike): Result;
|
|
42
39
|
decodeFunctionResult(functionFragment: "updateUserBalance", data: BytesLike): Result;
|
|
43
|
-
|
|
44
|
-
export declare namespace BoostCalculatedEvent {
|
|
45
|
-
type InputTuple = [
|
|
46
|
-
user: AddressLike,
|
|
47
|
-
balance: BigNumberish,
|
|
48
|
-
totalSupply: BigNumberish,
|
|
49
|
-
amount: BigNumberish,
|
|
50
|
-
boostBasisPoints: BigNumberish,
|
|
51
|
-
boostedAmount: BigNumberish
|
|
52
|
-
];
|
|
53
|
-
type OutputTuple = [
|
|
54
|
-
user: string,
|
|
55
|
-
balance: bigint,
|
|
56
|
-
totalSupply: bigint,
|
|
57
|
-
amount: bigint,
|
|
58
|
-
boostBasisPoints: bigint,
|
|
59
|
-
boostedAmount: bigint
|
|
60
|
-
];
|
|
61
|
-
interface OutputObject {
|
|
62
|
-
user: string;
|
|
63
|
-
balance: bigint;
|
|
64
|
-
totalSupply: bigint;
|
|
65
|
-
amount: bigint;
|
|
66
|
-
boostBasisPoints: bigint;
|
|
67
|
-
boostedAmount: bigint;
|
|
68
|
-
}
|
|
69
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
70
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
71
|
-
type Log = TypedEventLog<Event>;
|
|
72
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
40
|
+
decodeFunctionResult(functionFragment: "userStaked", data: BytesLike): Result;
|
|
73
41
|
}
|
|
74
42
|
export declare namespace PeriodCreatedEvent {
|
|
75
43
|
type InputTuple = [
|
|
@@ -105,170 +73,131 @@ export interface BoostCalculatorMock extends BaseContract {
|
|
|
105
73
|
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
106
74
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
107
75
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
76
|
+
boostWindow: TypedContractMethod<[], [bigint], "view">;
|
|
77
|
+
calculateBoost: TypedContractMethod<[
|
|
78
|
+
veBalance: BigNumberish,
|
|
79
|
+
totalVeSupply: BigNumberish,
|
|
80
|
+
totalStaked: BigNumberish,
|
|
81
|
+
userStaked: BigNumberish
|
|
82
|
+
], [
|
|
83
|
+
bigint
|
|
84
|
+
], "view">;
|
|
116
85
|
calculateTimeWeightedBoost: TypedContractMethod<[
|
|
117
86
|
userBalance: BigNumberish,
|
|
118
87
|
totalSupply: BigNumberish,
|
|
119
88
|
amount: BigNumberish
|
|
120
89
|
], [
|
|
121
|
-
[bigint, bigint]
|
|
122
|
-
|
|
90
|
+
[bigint, bigint] & {
|
|
91
|
+
boostBasisPoints: bigint;
|
|
92
|
+
boostedAmount: bigint;
|
|
93
|
+
}
|
|
94
|
+
], "view">;
|
|
123
95
|
calculateTimeWeightedBoostView: TypedContractMethod<[
|
|
124
96
|
userBalance: BigNumberish,
|
|
125
97
|
totalSupply: BigNumberish,
|
|
126
98
|
amount: BigNumberish
|
|
127
99
|
], [
|
|
128
|
-
[bigint, bigint]
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
], [
|
|
132
|
-
[
|
|
133
|
-
bigint,
|
|
134
|
-
bigint,
|
|
135
|
-
bigint,
|
|
136
|
-
bigint,
|
|
137
|
-
bigint,
|
|
138
|
-
bigint
|
|
139
|
-
] & {
|
|
140
|
-
maxBoost: bigint;
|
|
141
|
-
minBoost: bigint;
|
|
142
|
-
boostWindow: bigint;
|
|
143
|
-
baseWeight: bigint;
|
|
144
|
-
totalVotingPower: bigint;
|
|
145
|
-
totalWeight: bigint;
|
|
100
|
+
[bigint, bigint] & {
|
|
101
|
+
boostBasisPoints: bigint;
|
|
102
|
+
boostedAmount: bigint;
|
|
146
103
|
}
|
|
147
104
|
], "view">;
|
|
148
105
|
maxBoost: TypedContractMethod<[], [bigint], "view">;
|
|
149
106
|
minBoost: TypedContractMethod<[], [bigint], "view">;
|
|
150
107
|
setBoostParameters: TypedContractMethod<[
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
], [
|
|
158
|
-
void
|
|
159
|
-
], "nonpayable">;
|
|
160
|
-
setBoostWindow: TypedContractMethod<[
|
|
161
|
-
boostWindow_: BigNumberish
|
|
162
|
-
], [
|
|
163
|
-
void
|
|
164
|
-
], "nonpayable">;
|
|
165
|
-
setMaxBoost: TypedContractMethod<[
|
|
166
|
-
maxBoost_: BigNumberish
|
|
167
|
-
], [
|
|
168
|
-
void
|
|
169
|
-
], "nonpayable">;
|
|
170
|
-
setMinBoost: TypedContractMethod<[
|
|
171
|
-
minBoost_: BigNumberish
|
|
108
|
+
maxBoost: BigNumberish,
|
|
109
|
+
minBoost: BigNumberish,
|
|
110
|
+
boostWindow: BigNumberish,
|
|
111
|
+
baseWeight: BigNumberish,
|
|
112
|
+
totalVotingPower: BigNumberish,
|
|
113
|
+
totalWeight: BigNumberish
|
|
172
114
|
], [
|
|
173
115
|
void
|
|
174
116
|
], "nonpayable">;
|
|
175
117
|
setTotalVotingPower: TypedContractMethod<[
|
|
176
|
-
|
|
118
|
+
totalVotingPower: BigNumberish
|
|
177
119
|
], [
|
|
178
120
|
void
|
|
179
121
|
], "nonpayable">;
|
|
180
122
|
setTotalWeight: TypedContractMethod<[
|
|
181
|
-
|
|
123
|
+
totalWeight: BigNumberish
|
|
182
124
|
], [
|
|
183
125
|
void
|
|
184
126
|
], "nonpayable">;
|
|
185
127
|
setVotingPower: TypedContractMethod<[
|
|
186
|
-
|
|
128
|
+
votingPower: BigNumberish
|
|
187
129
|
], [
|
|
188
130
|
void
|
|
189
131
|
], "nonpayable">;
|
|
132
|
+
totalStaked: TypedContractMethod<[], [bigint], "view">;
|
|
190
133
|
updateBoostPeriod: TypedContractMethod<[], [void], "nonpayable">;
|
|
191
134
|
updateUserBalance: TypedContractMethod<[
|
|
192
135
|
user: AddressLike,
|
|
193
|
-
|
|
136
|
+
newBalance: BigNumberish
|
|
194
137
|
], [
|
|
195
138
|
void
|
|
196
139
|
], "nonpayable">;
|
|
140
|
+
userStaked: TypedContractMethod<[], [bigint], "view">;
|
|
197
141
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
198
|
-
getFunction(nameOrSignature: "
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
142
|
+
getFunction(nameOrSignature: "boostWindow"): TypedContractMethod<[], [bigint], "view">;
|
|
143
|
+
getFunction(nameOrSignature: "calculateBoost"): TypedContractMethod<[
|
|
144
|
+
veBalance: BigNumberish,
|
|
145
|
+
totalVeSupply: BigNumberish,
|
|
146
|
+
totalStaked: BigNumberish,
|
|
147
|
+
userStaked: BigNumberish
|
|
148
|
+
], [
|
|
149
|
+
bigint
|
|
150
|
+
], "view">;
|
|
206
151
|
getFunction(nameOrSignature: "calculateTimeWeightedBoost"): TypedContractMethod<[
|
|
207
152
|
userBalance: BigNumberish,
|
|
208
153
|
totalSupply: BigNumberish,
|
|
209
154
|
amount: BigNumberish
|
|
210
155
|
], [
|
|
211
|
-
[bigint, bigint]
|
|
212
|
-
|
|
156
|
+
[bigint, bigint] & {
|
|
157
|
+
boostBasisPoints: bigint;
|
|
158
|
+
boostedAmount: bigint;
|
|
159
|
+
}
|
|
160
|
+
], "view">;
|
|
213
161
|
getFunction(nameOrSignature: "calculateTimeWeightedBoostView"): TypedContractMethod<[
|
|
214
162
|
userBalance: BigNumberish,
|
|
215
163
|
totalSupply: BigNumberish,
|
|
216
164
|
amount: BigNumberish
|
|
217
165
|
], [
|
|
218
|
-
[bigint, bigint]
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
], [
|
|
222
|
-
[
|
|
223
|
-
bigint,
|
|
224
|
-
bigint,
|
|
225
|
-
bigint,
|
|
226
|
-
bigint,
|
|
227
|
-
bigint,
|
|
228
|
-
bigint
|
|
229
|
-
] & {
|
|
230
|
-
maxBoost: bigint;
|
|
231
|
-
minBoost: bigint;
|
|
232
|
-
boostWindow: bigint;
|
|
233
|
-
baseWeight: bigint;
|
|
234
|
-
totalVotingPower: bigint;
|
|
235
|
-
totalWeight: bigint;
|
|
166
|
+
[bigint, bigint] & {
|
|
167
|
+
boostBasisPoints: bigint;
|
|
168
|
+
boostedAmount: bigint;
|
|
236
169
|
}
|
|
237
170
|
], "view">;
|
|
238
171
|
getFunction(nameOrSignature: "maxBoost"): TypedContractMethod<[], [bigint], "view">;
|
|
239
172
|
getFunction(nameOrSignature: "minBoost"): TypedContractMethod<[], [bigint], "view">;
|
|
240
173
|
getFunction(nameOrSignature: "setBoostParameters"): TypedContractMethod<[
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
174
|
+
maxBoost: BigNumberish,
|
|
175
|
+
minBoost: BigNumberish,
|
|
176
|
+
boostWindow: BigNumberish,
|
|
177
|
+
baseWeight: BigNumberish,
|
|
178
|
+
totalVotingPower: BigNumberish,
|
|
179
|
+
totalWeight: BigNumberish
|
|
247
180
|
], [
|
|
248
181
|
void
|
|
249
182
|
], "nonpayable">;
|
|
250
|
-
getFunction(nameOrSignature: "setBoostWindow"): TypedContractMethod<[boostWindow_: BigNumberish], [void], "nonpayable">;
|
|
251
|
-
getFunction(nameOrSignature: "setMaxBoost"): TypedContractMethod<[maxBoost_: BigNumberish], [void], "nonpayable">;
|
|
252
|
-
getFunction(nameOrSignature: "setMinBoost"): TypedContractMethod<[minBoost_: BigNumberish], [void], "nonpayable">;
|
|
253
183
|
getFunction(nameOrSignature: "setTotalVotingPower"): TypedContractMethod<[
|
|
254
|
-
|
|
184
|
+
totalVotingPower: BigNumberish
|
|
255
185
|
], [
|
|
256
186
|
void
|
|
257
187
|
], "nonpayable">;
|
|
258
|
-
getFunction(nameOrSignature: "setTotalWeight"): TypedContractMethod<[
|
|
259
|
-
getFunction(nameOrSignature: "setVotingPower"): TypedContractMethod<[
|
|
188
|
+
getFunction(nameOrSignature: "setTotalWeight"): TypedContractMethod<[totalWeight: BigNumberish], [void], "nonpayable">;
|
|
189
|
+
getFunction(nameOrSignature: "setVotingPower"): TypedContractMethod<[votingPower: BigNumberish], [void], "nonpayable">;
|
|
190
|
+
getFunction(nameOrSignature: "totalStaked"): TypedContractMethod<[], [bigint], "view">;
|
|
260
191
|
getFunction(nameOrSignature: "updateBoostPeriod"): TypedContractMethod<[], [void], "nonpayable">;
|
|
261
192
|
getFunction(nameOrSignature: "updateUserBalance"): TypedContractMethod<[
|
|
262
193
|
user: AddressLike,
|
|
263
|
-
|
|
194
|
+
newBalance: BigNumberish
|
|
264
195
|
], [
|
|
265
196
|
void
|
|
266
197
|
], "nonpayable">;
|
|
267
|
-
|
|
198
|
+
getFunction(nameOrSignature: "userStaked"): TypedContractMethod<[], [bigint], "view">;
|
|
268
199
|
getEvent(key: "PeriodCreated"): TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
269
200
|
filters: {
|
|
270
|
-
"BoostCalculated(address,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<BoostCalculatedEvent.InputTuple, BoostCalculatedEvent.OutputTuple, BoostCalculatedEvent.OutputObject>;
|
|
271
|
-
BoostCalculated: TypedContractEvent<BoostCalculatedEvent.InputTuple, BoostCalculatedEvent.OutputTuple, BoostCalculatedEvent.OutputObject>;
|
|
272
201
|
"PeriodCreated(uint256,uint256,uint256)": TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
273
202
|
PeriodCreated: TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
274
203
|
};
|
package/dist/types/typechain-types/contracts/mocks/libraries/governance/LockManagerMock.d.ts
CHANGED
|
@@ -3,32 +3,35 @@ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, Typed
|
|
|
3
3
|
export declare namespace LockManager {
|
|
4
4
|
type LockStruct = {
|
|
5
5
|
amount: BigNumberish;
|
|
6
|
+
start: BigNumberish;
|
|
6
7
|
end: BigNumberish;
|
|
7
8
|
exists: boolean;
|
|
8
9
|
};
|
|
9
10
|
type LockStructOutput = [
|
|
10
11
|
amount: bigint,
|
|
12
|
+
start: bigint,
|
|
11
13
|
end: bigint,
|
|
12
14
|
exists: boolean
|
|
13
15
|
] & {
|
|
14
16
|
amount: bigint;
|
|
17
|
+
start: bigint;
|
|
15
18
|
end: bigint;
|
|
16
19
|
exists: boolean;
|
|
17
20
|
};
|
|
18
21
|
}
|
|
19
22
|
export interface LockManagerMockInterface extends Interface {
|
|
20
|
-
getFunction(nameOrSignature: "createLock" | "extendLock" | "
|
|
23
|
+
getFunction(nameOrSignature: "createLock" | "extendLock" | "getTotalLocked" | "getUserLock" | "increaseLock" | "setLockDurations"): FunctionFragment;
|
|
21
24
|
getEvent(nameOrSignatureOrTopic: "LockCreated" | "LockExtended" | "LockIncreased"): EventFragment;
|
|
22
25
|
encodeFunctionData(functionFragment: "createLock", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
23
26
|
encodeFunctionData(functionFragment: "extendLock", values: [AddressLike, BigNumberish]): string;
|
|
24
|
-
encodeFunctionData(functionFragment: "getLock", values: [AddressLike]): string;
|
|
25
27
|
encodeFunctionData(functionFragment: "getTotalLocked", values?: undefined): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "getUserLock", values: [AddressLike]): string;
|
|
26
29
|
encodeFunctionData(functionFragment: "increaseLock", values: [AddressLike, BigNumberish]): string;
|
|
27
30
|
encodeFunctionData(functionFragment: "setLockDurations", values: [BigNumberish, BigNumberish]): string;
|
|
28
31
|
decodeFunctionResult(functionFragment: "createLock", data: BytesLike): Result;
|
|
29
32
|
decodeFunctionResult(functionFragment: "extendLock", data: BytesLike): Result;
|
|
30
|
-
decodeFunctionResult(functionFragment: "getLock", data: BytesLike): Result;
|
|
31
33
|
decodeFunctionResult(functionFragment: "getTotalLocked", data: BytesLike): Result;
|
|
34
|
+
decodeFunctionResult(functionFragment: "getUserLock", data: BytesLike): Result;
|
|
32
35
|
decodeFunctionResult(functionFragment: "increaseLock", data: BytesLike): Result;
|
|
33
36
|
decodeFunctionResult(functionFragment: "setLockDurations", data: BytesLike): Result;
|
|
34
37
|
}
|
|
@@ -36,12 +39,19 @@ export declare namespace LockCreatedEvent {
|
|
|
36
39
|
type InputTuple = [
|
|
37
40
|
user: AddressLike,
|
|
38
41
|
amount: BigNumberish,
|
|
42
|
+
start: BigNumberish,
|
|
39
43
|
end: BigNumberish
|
|
40
44
|
];
|
|
41
|
-
type OutputTuple = [
|
|
45
|
+
type OutputTuple = [
|
|
46
|
+
user: string,
|
|
47
|
+
amount: bigint,
|
|
48
|
+
start: bigint,
|
|
49
|
+
end: bigint
|
|
50
|
+
];
|
|
42
51
|
interface OutputObject {
|
|
43
52
|
user: string;
|
|
44
53
|
amount: bigint;
|
|
54
|
+
start: bigint;
|
|
45
55
|
end: bigint;
|
|
46
56
|
}
|
|
47
57
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
@@ -99,12 +109,12 @@ export interface LockManagerMock extends BaseContract {
|
|
|
99
109
|
], [
|
|
100
110
|
bigint
|
|
101
111
|
], "nonpayable">;
|
|
102
|
-
|
|
112
|
+
getTotalLocked: TypedContractMethod<[], [bigint], "view">;
|
|
113
|
+
getUserLock: TypedContractMethod<[
|
|
103
114
|
user: AddressLike
|
|
104
115
|
], [
|
|
105
116
|
LockManager.LockStructOutput
|
|
106
117
|
], "view">;
|
|
107
|
-
getTotalLocked: TypedContractMethod<[], [bigint], "view">;
|
|
108
118
|
increaseLock: TypedContractMethod<[
|
|
109
119
|
user: AddressLike,
|
|
110
120
|
additionalAmount: BigNumberish
|
|
@@ -131,12 +141,12 @@ export interface LockManagerMock extends BaseContract {
|
|
|
131
141
|
], [
|
|
132
142
|
bigint
|
|
133
143
|
], "nonpayable">;
|
|
134
|
-
getFunction(nameOrSignature: "
|
|
144
|
+
getFunction(nameOrSignature: "getTotalLocked"): TypedContractMethod<[], [bigint], "view">;
|
|
145
|
+
getFunction(nameOrSignature: "getUserLock"): TypedContractMethod<[
|
|
135
146
|
user: AddressLike
|
|
136
147
|
], [
|
|
137
148
|
LockManager.LockStructOutput
|
|
138
149
|
], "view">;
|
|
139
|
-
getFunction(nameOrSignature: "getTotalLocked"): TypedContractMethod<[], [bigint], "view">;
|
|
140
150
|
getFunction(nameOrSignature: "increaseLock"): TypedContractMethod<[
|
|
141
151
|
user: AddressLike,
|
|
142
152
|
additionalAmount: BigNumberish
|
|
@@ -153,7 +163,7 @@ export interface LockManagerMock extends BaseContract {
|
|
|
153
163
|
getEvent(key: "LockExtended"): TypedContractEvent<LockExtendedEvent.InputTuple, LockExtendedEvent.OutputTuple, LockExtendedEvent.OutputObject>;
|
|
154
164
|
getEvent(key: "LockIncreased"): TypedContractEvent<LockIncreasedEvent.InputTuple, LockIncreasedEvent.OutputTuple, LockIncreasedEvent.OutputObject>;
|
|
155
165
|
filters: {
|
|
156
|
-
"LockCreated(address,uint256,uint256)": TypedContractEvent<LockCreatedEvent.InputTuple, LockCreatedEvent.OutputTuple, LockCreatedEvent.OutputObject>;
|
|
166
|
+
"LockCreated(address,uint256,uint256,uint256)": TypedContractEvent<LockCreatedEvent.InputTuple, LockCreatedEvent.OutputTuple, LockCreatedEvent.OutputObject>;
|
|
157
167
|
LockCreated: TypedContractEvent<LockCreatedEvent.InputTuple, LockCreatedEvent.OutputTuple, LockCreatedEvent.OutputObject>;
|
|
158
168
|
"LockExtended(address,uint256)": TypedContractEvent<LockExtendedEvent.InputTuple, LockExtendedEvent.OutputTuple, LockExtendedEvent.OutputObject>;
|
|
159
169
|
LockExtended: TypedContractEvent<LockExtendedEvent.InputTuple, LockExtendedEvent.OutputTuple, LockExtendedEvent.OutputObject>;
|
package/dist/types/typechain-types/contracts/mocks/libraries/governance/PowerCheckpointMock.d.ts
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
3
|
export interface PowerCheckpointMockInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "getCheckpointBlock" | "getCheckpointCount" | "
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "CheckpointCreated" | "ProposalSnapshotSet"): EventFragment;
|
|
4
|
+
getFunction(nameOrSignature: "getCheckpointBlock" | "getCheckpointCount" | "getCheckpointValue" | "getCurrentBlockNumber" | "getPastTotalSupply" | "getVotingPowerAtTimestamp" | "setProposalSnapshot" | "writeCheckpoint"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "CheckpointCreated" | "CheckpointWritten" | "ProposalSnapshotSet"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "getCheckpointBlock", values: [BigNumberish]): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "getCheckpointCount", values: [AddressLike]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "getCheckpointValue", values: [AddressLike, BigNumberish]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "getCurrentBlockNumber", values?: undefined): string;
|
|
8
10
|
encodeFunctionData(functionFragment: "getPastTotalSupply", values: [BigNumberish]): string;
|
|
9
|
-
encodeFunctionData(functionFragment: "
|
|
10
|
-
encodeFunctionData(functionFragment: "getPastVotingPower", values: [AddressLike, BigNumberish]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "getVotingPowerAtTimestamp", values: [AddressLike, BigNumberish]): string;
|
|
11
12
|
encodeFunctionData(functionFragment: "setProposalSnapshot", values: [BigNumberish, BigNumberish]): string;
|
|
12
13
|
encodeFunctionData(functionFragment: "writeCheckpoint", values: [AddressLike, BigNumberish]): string;
|
|
13
14
|
decodeFunctionResult(functionFragment: "getCheckpointBlock", data: BytesLike): Result;
|
|
14
15
|
decodeFunctionResult(functionFragment: "getCheckpointCount", data: BytesLike): Result;
|
|
16
|
+
decodeFunctionResult(functionFragment: "getCheckpointValue", data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: "getCurrentBlockNumber", data: BytesLike): Result;
|
|
15
18
|
decodeFunctionResult(functionFragment: "getPastTotalSupply", data: BytesLike): Result;
|
|
16
|
-
decodeFunctionResult(functionFragment: "
|
|
17
|
-
decodeFunctionResult(functionFragment: "getPastVotingPower", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "getVotingPowerAtTimestamp", data: BytesLike): Result;
|
|
18
20
|
decodeFunctionResult(functionFragment: "setProposalSnapshot", data: BytesLike): Result;
|
|
19
21
|
decodeFunctionResult(functionFragment: "writeCheckpoint", data: BytesLike): Result;
|
|
20
22
|
}
|
|
@@ -35,6 +37,18 @@ export declare namespace CheckpointCreatedEvent {
|
|
|
35
37
|
type Log = TypedEventLog<Event>;
|
|
36
38
|
type LogDescription = TypedLogDescription<Event>;
|
|
37
39
|
}
|
|
40
|
+
export declare namespace CheckpointWrittenEvent {
|
|
41
|
+
type InputTuple = [blockNumber: BigNumberish, value: BigNumberish];
|
|
42
|
+
type OutputTuple = [blockNumber: bigint, value: bigint];
|
|
43
|
+
interface OutputObject {
|
|
44
|
+
blockNumber: bigint;
|
|
45
|
+
value: bigint;
|
|
46
|
+
}
|
|
47
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
48
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
49
|
+
type Log = TypedEventLog<Event>;
|
|
50
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
51
|
+
}
|
|
38
52
|
export declare namespace ProposalSnapshotSetEvent {
|
|
39
53
|
type InputTuple = [
|
|
40
54
|
proposalId: BigNumberish,
|
|
@@ -73,20 +87,21 @@ export interface PowerCheckpointMock extends BaseContract {
|
|
|
73
87
|
], [
|
|
74
88
|
bigint
|
|
75
89
|
], "view">;
|
|
76
|
-
|
|
77
|
-
|
|
90
|
+
getCheckpointValue: TypedContractMethod<[
|
|
91
|
+
user: AddressLike,
|
|
92
|
+
index: BigNumberish
|
|
78
93
|
], [
|
|
79
94
|
bigint
|
|
80
95
|
], "view">;
|
|
81
|
-
|
|
82
|
-
|
|
96
|
+
getCurrentBlockNumber: TypedContractMethod<[], [bigint], "view">;
|
|
97
|
+
getPastTotalSupply: TypedContractMethod<[
|
|
83
98
|
blockNumber: BigNumberish
|
|
84
99
|
], [
|
|
85
100
|
bigint
|
|
86
101
|
], "view">;
|
|
87
|
-
|
|
102
|
+
getVotingPowerAtTimestamp: TypedContractMethod<[
|
|
88
103
|
user: AddressLike,
|
|
89
|
-
|
|
104
|
+
timestamp: BigNumberish
|
|
90
105
|
], [
|
|
91
106
|
bigint
|
|
92
107
|
], "view">;
|
|
@@ -105,16 +120,17 @@ export interface PowerCheckpointMock extends BaseContract {
|
|
|
105
120
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
106
121
|
getFunction(nameOrSignature: "getCheckpointBlock"): TypedContractMethod<[index: BigNumberish], [bigint], "view">;
|
|
107
122
|
getFunction(nameOrSignature: "getCheckpointCount"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
108
|
-
getFunction(nameOrSignature: "
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
blockNumber: BigNumberish
|
|
123
|
+
getFunction(nameOrSignature: "getCheckpointValue"): TypedContractMethod<[
|
|
124
|
+
user: AddressLike,
|
|
125
|
+
index: BigNumberish
|
|
112
126
|
], [
|
|
113
127
|
bigint
|
|
114
128
|
], "view">;
|
|
115
|
-
getFunction(nameOrSignature: "
|
|
129
|
+
getFunction(nameOrSignature: "getCurrentBlockNumber"): TypedContractMethod<[], [bigint], "view">;
|
|
130
|
+
getFunction(nameOrSignature: "getPastTotalSupply"): TypedContractMethod<[blockNumber: BigNumberish], [bigint], "view">;
|
|
131
|
+
getFunction(nameOrSignature: "getVotingPowerAtTimestamp"): TypedContractMethod<[
|
|
116
132
|
user: AddressLike,
|
|
117
|
-
|
|
133
|
+
timestamp: BigNumberish
|
|
118
134
|
], [
|
|
119
135
|
bigint
|
|
120
136
|
], "view">;
|
|
@@ -131,10 +147,13 @@ export interface PowerCheckpointMock extends BaseContract {
|
|
|
131
147
|
void
|
|
132
148
|
], "nonpayable">;
|
|
133
149
|
getEvent(key: "CheckpointCreated"): TypedContractEvent<CheckpointCreatedEvent.InputTuple, CheckpointCreatedEvent.OutputTuple, CheckpointCreatedEvent.OutputObject>;
|
|
150
|
+
getEvent(key: "CheckpointWritten"): TypedContractEvent<CheckpointWrittenEvent.InputTuple, CheckpointWrittenEvent.OutputTuple, CheckpointWrittenEvent.OutputObject>;
|
|
134
151
|
getEvent(key: "ProposalSnapshotSet"): TypedContractEvent<ProposalSnapshotSetEvent.InputTuple, ProposalSnapshotSetEvent.OutputTuple, ProposalSnapshotSetEvent.OutputObject>;
|
|
135
152
|
filters: {
|
|
136
153
|
"CheckpointCreated(address,uint256,uint256)": TypedContractEvent<CheckpointCreatedEvent.InputTuple, CheckpointCreatedEvent.OutputTuple, CheckpointCreatedEvent.OutputObject>;
|
|
137
154
|
CheckpointCreated: TypedContractEvent<CheckpointCreatedEvent.InputTuple, CheckpointCreatedEvent.OutputTuple, CheckpointCreatedEvent.OutputObject>;
|
|
155
|
+
"CheckpointWritten(uint32,uint224)": TypedContractEvent<CheckpointWrittenEvent.InputTuple, CheckpointWrittenEvent.OutputTuple, CheckpointWrittenEvent.OutputObject>;
|
|
156
|
+
CheckpointWritten: TypedContractEvent<CheckpointWrittenEvent.InputTuple, CheckpointWrittenEvent.OutputTuple, CheckpointWrittenEvent.OutputObject>;
|
|
138
157
|
"ProposalSnapshotSet(uint256,uint256)": TypedContractEvent<ProposalSnapshotSetEvent.InputTuple, ProposalSnapshotSetEvent.OutputTuple, ProposalSnapshotSetEvent.OutputObject>;
|
|
139
158
|
ProposalSnapshotSet: TypedContractEvent<ProposalSnapshotSetEvent.InputTuple, ProposalSnapshotSetEvent.OutputTuple, ProposalSnapshotSetEvent.OutputObject>;
|
|
140
159
|
};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
export type { BoostCalculatorMock } from "./BoostCalculatorMock";
|
|
2
|
-
export type { CheckpointsMock } from "./CheckpointsMock";
|
|
3
2
|
export type { LockManagerMock } from "./LockManagerMock";
|
|
4
3
|
export type { PowerCheckpointMock } from "./PowerCheckpointMock";
|
|
5
|
-
export type { RAACVotingMock } from "./RAACVotingMock";
|
|
6
|
-
export type { VotingPowerMock } from "./VotingPowerMock";
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import type * as votingPowerFuzzHelperSol from "./VotingPowerFuzzHelper.sol";
|
|
2
|
-
export type { votingPowerFuzzHelperSol };
|
|
3
1
|
export type { MaliciousDeposit } from "./MaliciousDeposit";
|
|
4
2
|
export type { MaliciousWithdraw } from "./MaliciousWithdraw";
|
|
5
3
|
export type { VeRAACFuzzHelper } from "./VeRAACFuzzHelper";
|