@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
|
@@ -29,114 +29,177 @@ export declare namespace TimeWeightedAverage {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
export interface BaseGaugeInterface extends Interface {
|
|
32
|
-
getFunction(nameOrSignature: "CONTROLLER_ROLE" | "DEFAULT_ADMIN_ROLE" | "EMERGENCY_ADMIN" | "FEE_ADMIN" | "
|
|
33
|
-
getEvent(nameOrSignatureOrTopic: "Checkpoint" | "DirectionVoted" | "DistributionCapUpdated" | "EmissionUpdated" | "Paused" | "PeriodCreated" | "PeriodUpdated" | "RewardNotified" | "RewardPaid" | "
|
|
32
|
+
getFunction(nameOrSignature: "CONTROLLER_ROLE" | "DEFAULT_ADMIN_ROLE" | "EMERGENCY_ADMIN" | "FEE_ADMIN" | "GAUGE_ADMIN" | "MAX_CHECKPOINTS" | "MAX_VOTE_WEIGHT" | "WEEK" | "WEIGHT_PRECISION" | "balanceOf" | "boostAmplificationEnabled" | "claimRewardToken" | "claimRewards" | "claimedRewards" | "controller" | "distributionCap" | "distributors" | "distributorsList" | "earned" | "earnedRewards" | "emergencyWithdraw" | "gaugeController" | "getDecimalAdjustment" | "getDistributorApproval" | "getDistributors" | "getNextPeriodTime" | "getRewardTokens" | "getRoleAdmin" | "getUserWeight" | "getWorkingBalance" | "grantRole" | "hasRole" | "historicalCheckpointCount" | "historicalCheckpoints" | "initializeRewardToken" | "lastUpdateTime" | "manageDistributor" | "notifyRewardAmount" | "paused" | "pendingRewards" | "periodDuration" | "periodFinish" | "periodState" | "renounceRole" | "revokeRole" | "rewardData" | "rewardPerTokenStored" | "rewardRate" | "rewardToken" | "rewardTokenDecimals" | "rewardTokens" | "rewards" | "setBoostAmplificationEnabled" | "setDistributionCap" | "setDistributorApproval" | "setEmergencyPaused" | "setInitialWeight" | "setMaxEmission" | "setPeriodDuration" | "stake" | "stakingToken" | "supportsInterface" | "syncRewardData" | "syncRewardTokens" | "totalSupply" | "totalVotes" | "updatePeriod" | "updateUserRewards" | "userCheckpointCounts" | "userCheckpoints" | "userClaimedRewards" | "userRewardData" | "userRewardPerTokenPaid" | "userVotes" | "voteDirection" | "weightPeriod" | "withdraw" | "workingBalances" | "workingSupply"): FunctionFragment;
|
|
33
|
+
getEvent(nameOrSignatureOrTopic: "BoostAmplificationToggled" | "Checkpoint" | "DirectionVoted" | "DistributionCapUpdated" | "DistributorApprovalUpdated" | "DistributorUpdated" | "EmergencyPauseUpdated" | "EmissionCapUpdated" | "EmissionUpdated" | "Paused" | "PeriodCreated" | "PeriodDurationUpdated" | "PeriodUpdated" | "RewardNotified" | "RewardPaid" | "RewardTokenAdded" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "Staked" | "Unpaused" | "UserRewardDataUpdated" | "UserRewardsUpdated" | "Withdrawn" | "WorkingBalanceUpdated"): EventFragment;
|
|
34
34
|
encodeFunctionData(functionFragment: "CONTROLLER_ROLE", values?: undefined): string;
|
|
35
35
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
36
36
|
encodeFunctionData(functionFragment: "EMERGENCY_ADMIN", values?: undefined): string;
|
|
37
37
|
encodeFunctionData(functionFragment: "FEE_ADMIN", values?: undefined): string;
|
|
38
|
-
encodeFunctionData(functionFragment: "
|
|
39
|
-
encodeFunctionData(functionFragment: "
|
|
40
|
-
encodeFunctionData(functionFragment: "
|
|
38
|
+
encodeFunctionData(functionFragment: "GAUGE_ADMIN", values?: undefined): string;
|
|
39
|
+
encodeFunctionData(functionFragment: "MAX_CHECKPOINTS", values?: undefined): string;
|
|
40
|
+
encodeFunctionData(functionFragment: "MAX_VOTE_WEIGHT", values?: undefined): string;
|
|
41
|
+
encodeFunctionData(functionFragment: "WEEK", values?: undefined): string;
|
|
41
42
|
encodeFunctionData(functionFragment: "WEIGHT_PRECISION", values?: undefined): string;
|
|
42
43
|
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
43
|
-
encodeFunctionData(functionFragment: "
|
|
44
|
-
encodeFunctionData(functionFragment: "
|
|
44
|
+
encodeFunctionData(functionFragment: "boostAmplificationEnabled", values?: undefined): string;
|
|
45
|
+
encodeFunctionData(functionFragment: "claimRewardToken", values: [AddressLike]): string;
|
|
46
|
+
encodeFunctionData(functionFragment: "claimRewards", values?: undefined): string;
|
|
47
|
+
encodeFunctionData(functionFragment: "claimedRewards", values: [AddressLike, AddressLike]): string;
|
|
45
48
|
encodeFunctionData(functionFragment: "controller", values?: undefined): string;
|
|
46
49
|
encodeFunctionData(functionFragment: "distributionCap", values?: undefined): string;
|
|
47
|
-
encodeFunctionData(functionFragment: "
|
|
50
|
+
encodeFunctionData(functionFragment: "distributors", values: [AddressLike]): string;
|
|
51
|
+
encodeFunctionData(functionFragment: "distributorsList", values: [BigNumberish]): string;
|
|
52
|
+
encodeFunctionData(functionFragment: "earned", values: [AddressLike, AddressLike]): string;
|
|
53
|
+
encodeFunctionData(functionFragment: "earnedRewards", values: [AddressLike, AddressLike]): string;
|
|
48
54
|
encodeFunctionData(functionFragment: "emergencyWithdraw", values: [AddressLike, BigNumberish]): string;
|
|
49
|
-
encodeFunctionData(functionFragment: "
|
|
50
|
-
encodeFunctionData(functionFragment: "
|
|
51
|
-
encodeFunctionData(functionFragment: "
|
|
52
|
-
encodeFunctionData(functionFragment: "
|
|
55
|
+
encodeFunctionData(functionFragment: "gaugeController", values?: undefined): string;
|
|
56
|
+
encodeFunctionData(functionFragment: "getDecimalAdjustment", values: [AddressLike]): string;
|
|
57
|
+
encodeFunctionData(functionFragment: "getDistributorApproval", values: [AddressLike]): string;
|
|
58
|
+
encodeFunctionData(functionFragment: "getDistributors", values?: undefined): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "getNextPeriodTime", values?: undefined): string;
|
|
60
|
+
encodeFunctionData(functionFragment: "getRewardTokens", values?: undefined): string;
|
|
53
61
|
encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
|
|
54
|
-
encodeFunctionData(functionFragment: "getTimeWeightedWeight", values?: undefined): string;
|
|
55
|
-
encodeFunctionData(functionFragment: "getTotalWeight", values?: undefined): string;
|
|
56
62
|
encodeFunctionData(functionFragment: "getUserWeight", values: [AddressLike]): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "getWorkingBalance", values: [AddressLike]): string;
|
|
57
64
|
encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
|
|
58
65
|
encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
|
|
59
|
-
encodeFunctionData(functionFragment: "
|
|
60
|
-
encodeFunctionData(functionFragment: "
|
|
66
|
+
encodeFunctionData(functionFragment: "historicalCheckpointCount", values?: undefined): string;
|
|
67
|
+
encodeFunctionData(functionFragment: "historicalCheckpoints", values: [BigNumberish]): string;
|
|
68
|
+
encodeFunctionData(functionFragment: "initializeRewardToken", values: [AddressLike, AddressLike]): string;
|
|
61
69
|
encodeFunctionData(functionFragment: "lastUpdateTime", values?: undefined): string;
|
|
62
|
-
encodeFunctionData(functionFragment: "
|
|
70
|
+
encodeFunctionData(functionFragment: "manageDistributor", values: [AddressLike, boolean]): string;
|
|
71
|
+
encodeFunctionData(functionFragment: "notifyRewardAmount", values: [AddressLike, BigNumberish]): string;
|
|
63
72
|
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
73
|
+
encodeFunctionData(functionFragment: "pendingRewards", values: [AddressLike, AddressLike]): string;
|
|
74
|
+
encodeFunctionData(functionFragment: "periodDuration", values?: undefined): string;
|
|
64
75
|
encodeFunctionData(functionFragment: "periodFinish", values?: undefined): string;
|
|
65
76
|
encodeFunctionData(functionFragment: "periodState", values?: undefined): string;
|
|
66
77
|
encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
|
|
67
78
|
encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
|
|
79
|
+
encodeFunctionData(functionFragment: "rewardData", values: [AddressLike]): string;
|
|
68
80
|
encodeFunctionData(functionFragment: "rewardPerTokenStored", values?: undefined): string;
|
|
69
81
|
encodeFunctionData(functionFragment: "rewardRate", values?: undefined): string;
|
|
70
82
|
encodeFunctionData(functionFragment: "rewardToken", values?: undefined): string;
|
|
71
|
-
encodeFunctionData(functionFragment: "
|
|
83
|
+
encodeFunctionData(functionFragment: "rewardTokenDecimals", values: [AddressLike]): string;
|
|
84
|
+
encodeFunctionData(functionFragment: "rewardTokens", values: [BigNumberish]): string;
|
|
85
|
+
encodeFunctionData(functionFragment: "rewards", values: [AddressLike, AddressLike]): string;
|
|
86
|
+
encodeFunctionData(functionFragment: "setBoostAmplificationEnabled", values: [boolean]): string;
|
|
72
87
|
encodeFunctionData(functionFragment: "setDistributionCap", values: [BigNumberish]): string;
|
|
88
|
+
encodeFunctionData(functionFragment: "setDistributorApproval", values: [AddressLike, boolean]): string;
|
|
73
89
|
encodeFunctionData(functionFragment: "setEmergencyPaused", values: [boolean]): string;
|
|
74
|
-
encodeFunctionData(functionFragment: "setEmission", values: [BigNumberish]): string;
|
|
75
90
|
encodeFunctionData(functionFragment: "setInitialWeight", values: [BigNumberish]): string;
|
|
91
|
+
encodeFunctionData(functionFragment: "setMaxEmission", values: [BigNumberish]): string;
|
|
92
|
+
encodeFunctionData(functionFragment: "setPeriodDuration", values: [BigNumberish]): string;
|
|
76
93
|
encodeFunctionData(functionFragment: "stake", values: [BigNumberish]): string;
|
|
77
94
|
encodeFunctionData(functionFragment: "stakingToken", values?: undefined): string;
|
|
78
95
|
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
96
|
+
encodeFunctionData(functionFragment: "syncRewardData", values: [AddressLike]): string;
|
|
97
|
+
encodeFunctionData(functionFragment: "syncRewardTokens", values?: undefined): string;
|
|
79
98
|
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
80
99
|
encodeFunctionData(functionFragment: "totalVotes", values?: undefined): string;
|
|
81
100
|
encodeFunctionData(functionFragment: "updatePeriod", values?: undefined): string;
|
|
82
|
-
encodeFunctionData(functionFragment: "
|
|
101
|
+
encodeFunctionData(functionFragment: "updateUserRewards", values?: undefined): string;
|
|
102
|
+
encodeFunctionData(functionFragment: "userCheckpointCounts", values: [AddressLike]): string;
|
|
103
|
+
encodeFunctionData(functionFragment: "userCheckpoints", values: [AddressLike, BigNumberish]): string;
|
|
104
|
+
encodeFunctionData(functionFragment: "userClaimedRewards", values: [AddressLike, AddressLike]): string;
|
|
105
|
+
encodeFunctionData(functionFragment: "userRewardData", values: [AddressLike, AddressLike]): string;
|
|
106
|
+
encodeFunctionData(functionFragment: "userRewardPerTokenPaid", values: [AddressLike, AddressLike]): string;
|
|
83
107
|
encodeFunctionData(functionFragment: "userVotes", values: [AddressLike]): string;
|
|
84
108
|
encodeFunctionData(functionFragment: "voteDirection", values: [BigNumberish]): string;
|
|
85
109
|
encodeFunctionData(functionFragment: "weightPeriod", values?: undefined): string;
|
|
86
110
|
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
111
|
+
encodeFunctionData(functionFragment: "workingBalances", values: [AddressLike]): string;
|
|
112
|
+
encodeFunctionData(functionFragment: "workingSupply", values?: undefined): string;
|
|
87
113
|
decodeFunctionResult(functionFragment: "CONTROLLER_ROLE", data: BytesLike): Result;
|
|
88
114
|
decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
|
|
89
115
|
decodeFunctionResult(functionFragment: "EMERGENCY_ADMIN", data: BytesLike): Result;
|
|
90
116
|
decodeFunctionResult(functionFragment: "FEE_ADMIN", data: BytesLike): Result;
|
|
91
|
-
decodeFunctionResult(functionFragment: "
|
|
92
|
-
decodeFunctionResult(functionFragment: "
|
|
93
|
-
decodeFunctionResult(functionFragment: "
|
|
117
|
+
decodeFunctionResult(functionFragment: "GAUGE_ADMIN", data: BytesLike): Result;
|
|
118
|
+
decodeFunctionResult(functionFragment: "MAX_CHECKPOINTS", data: BytesLike): Result;
|
|
119
|
+
decodeFunctionResult(functionFragment: "MAX_VOTE_WEIGHT", data: BytesLike): Result;
|
|
120
|
+
decodeFunctionResult(functionFragment: "WEEK", data: BytesLike): Result;
|
|
94
121
|
decodeFunctionResult(functionFragment: "WEIGHT_PRECISION", data: BytesLike): Result;
|
|
95
122
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
96
|
-
decodeFunctionResult(functionFragment: "
|
|
97
|
-
decodeFunctionResult(functionFragment: "
|
|
123
|
+
decodeFunctionResult(functionFragment: "boostAmplificationEnabled", data: BytesLike): Result;
|
|
124
|
+
decodeFunctionResult(functionFragment: "claimRewardToken", data: BytesLike): Result;
|
|
125
|
+
decodeFunctionResult(functionFragment: "claimRewards", data: BytesLike): Result;
|
|
126
|
+
decodeFunctionResult(functionFragment: "claimedRewards", data: BytesLike): Result;
|
|
98
127
|
decodeFunctionResult(functionFragment: "controller", data: BytesLike): Result;
|
|
99
128
|
decodeFunctionResult(functionFragment: "distributionCap", data: BytesLike): Result;
|
|
129
|
+
decodeFunctionResult(functionFragment: "distributors", data: BytesLike): Result;
|
|
130
|
+
decodeFunctionResult(functionFragment: "distributorsList", data: BytesLike): Result;
|
|
100
131
|
decodeFunctionResult(functionFragment: "earned", data: BytesLike): Result;
|
|
132
|
+
decodeFunctionResult(functionFragment: "earnedRewards", data: BytesLike): Result;
|
|
101
133
|
decodeFunctionResult(functionFragment: "emergencyWithdraw", data: BytesLike): Result;
|
|
102
|
-
decodeFunctionResult(functionFragment: "
|
|
103
|
-
decodeFunctionResult(functionFragment: "
|
|
104
|
-
decodeFunctionResult(functionFragment: "
|
|
105
|
-
decodeFunctionResult(functionFragment: "
|
|
134
|
+
decodeFunctionResult(functionFragment: "gaugeController", data: BytesLike): Result;
|
|
135
|
+
decodeFunctionResult(functionFragment: "getDecimalAdjustment", data: BytesLike): Result;
|
|
136
|
+
decodeFunctionResult(functionFragment: "getDistributorApproval", data: BytesLike): Result;
|
|
137
|
+
decodeFunctionResult(functionFragment: "getDistributors", data: BytesLike): Result;
|
|
138
|
+
decodeFunctionResult(functionFragment: "getNextPeriodTime", data: BytesLike): Result;
|
|
139
|
+
decodeFunctionResult(functionFragment: "getRewardTokens", data: BytesLike): Result;
|
|
106
140
|
decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
|
|
107
|
-
decodeFunctionResult(functionFragment: "getTimeWeightedWeight", data: BytesLike): Result;
|
|
108
|
-
decodeFunctionResult(functionFragment: "getTotalWeight", data: BytesLike): Result;
|
|
109
141
|
decodeFunctionResult(functionFragment: "getUserWeight", data: BytesLike): Result;
|
|
142
|
+
decodeFunctionResult(functionFragment: "getWorkingBalance", data: BytesLike): Result;
|
|
110
143
|
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
111
144
|
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
112
|
-
decodeFunctionResult(functionFragment: "
|
|
113
|
-
decodeFunctionResult(functionFragment: "
|
|
145
|
+
decodeFunctionResult(functionFragment: "historicalCheckpointCount", data: BytesLike): Result;
|
|
146
|
+
decodeFunctionResult(functionFragment: "historicalCheckpoints", data: BytesLike): Result;
|
|
147
|
+
decodeFunctionResult(functionFragment: "initializeRewardToken", data: BytesLike): Result;
|
|
114
148
|
decodeFunctionResult(functionFragment: "lastUpdateTime", data: BytesLike): Result;
|
|
149
|
+
decodeFunctionResult(functionFragment: "manageDistributor", data: BytesLike): Result;
|
|
115
150
|
decodeFunctionResult(functionFragment: "notifyRewardAmount", data: BytesLike): Result;
|
|
116
151
|
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
152
|
+
decodeFunctionResult(functionFragment: "pendingRewards", data: BytesLike): Result;
|
|
153
|
+
decodeFunctionResult(functionFragment: "periodDuration", data: BytesLike): Result;
|
|
117
154
|
decodeFunctionResult(functionFragment: "periodFinish", data: BytesLike): Result;
|
|
118
155
|
decodeFunctionResult(functionFragment: "periodState", data: BytesLike): Result;
|
|
119
156
|
decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
|
|
120
157
|
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
158
|
+
decodeFunctionResult(functionFragment: "rewardData", data: BytesLike): Result;
|
|
121
159
|
decodeFunctionResult(functionFragment: "rewardPerTokenStored", data: BytesLike): Result;
|
|
122
160
|
decodeFunctionResult(functionFragment: "rewardRate", data: BytesLike): Result;
|
|
123
161
|
decodeFunctionResult(functionFragment: "rewardToken", data: BytesLike): Result;
|
|
124
|
-
decodeFunctionResult(functionFragment: "
|
|
162
|
+
decodeFunctionResult(functionFragment: "rewardTokenDecimals", data: BytesLike): Result;
|
|
163
|
+
decodeFunctionResult(functionFragment: "rewardTokens", data: BytesLike): Result;
|
|
164
|
+
decodeFunctionResult(functionFragment: "rewards", data: BytesLike): Result;
|
|
165
|
+
decodeFunctionResult(functionFragment: "setBoostAmplificationEnabled", data: BytesLike): Result;
|
|
125
166
|
decodeFunctionResult(functionFragment: "setDistributionCap", data: BytesLike): Result;
|
|
167
|
+
decodeFunctionResult(functionFragment: "setDistributorApproval", data: BytesLike): Result;
|
|
126
168
|
decodeFunctionResult(functionFragment: "setEmergencyPaused", data: BytesLike): Result;
|
|
127
|
-
decodeFunctionResult(functionFragment: "setEmission", data: BytesLike): Result;
|
|
128
169
|
decodeFunctionResult(functionFragment: "setInitialWeight", data: BytesLike): Result;
|
|
170
|
+
decodeFunctionResult(functionFragment: "setMaxEmission", data: BytesLike): Result;
|
|
171
|
+
decodeFunctionResult(functionFragment: "setPeriodDuration", data: BytesLike): Result;
|
|
129
172
|
decodeFunctionResult(functionFragment: "stake", data: BytesLike): Result;
|
|
130
173
|
decodeFunctionResult(functionFragment: "stakingToken", data: BytesLike): Result;
|
|
131
174
|
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
175
|
+
decodeFunctionResult(functionFragment: "syncRewardData", data: BytesLike): Result;
|
|
176
|
+
decodeFunctionResult(functionFragment: "syncRewardTokens", data: BytesLike): Result;
|
|
132
177
|
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
133
178
|
decodeFunctionResult(functionFragment: "totalVotes", data: BytesLike): Result;
|
|
134
179
|
decodeFunctionResult(functionFragment: "updatePeriod", data: BytesLike): Result;
|
|
135
|
-
decodeFunctionResult(functionFragment: "
|
|
180
|
+
decodeFunctionResult(functionFragment: "updateUserRewards", data: BytesLike): Result;
|
|
181
|
+
decodeFunctionResult(functionFragment: "userCheckpointCounts", data: BytesLike): Result;
|
|
182
|
+
decodeFunctionResult(functionFragment: "userCheckpoints", data: BytesLike): Result;
|
|
183
|
+
decodeFunctionResult(functionFragment: "userClaimedRewards", data: BytesLike): Result;
|
|
184
|
+
decodeFunctionResult(functionFragment: "userRewardData", data: BytesLike): Result;
|
|
185
|
+
decodeFunctionResult(functionFragment: "userRewardPerTokenPaid", data: BytesLike): Result;
|
|
136
186
|
decodeFunctionResult(functionFragment: "userVotes", data: BytesLike): Result;
|
|
137
187
|
decodeFunctionResult(functionFragment: "voteDirection", data: BytesLike): Result;
|
|
138
188
|
decodeFunctionResult(functionFragment: "weightPeriod", data: BytesLike): Result;
|
|
139
189
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
190
|
+
decodeFunctionResult(functionFragment: "workingBalances", data: BytesLike): Result;
|
|
191
|
+
decodeFunctionResult(functionFragment: "workingSupply", data: BytesLike): Result;
|
|
192
|
+
}
|
|
193
|
+
export declare namespace BoostAmplificationToggledEvent {
|
|
194
|
+
type InputTuple = [enabled: boolean];
|
|
195
|
+
type OutputTuple = [enabled: boolean];
|
|
196
|
+
interface OutputObject {
|
|
197
|
+
enabled: boolean;
|
|
198
|
+
}
|
|
199
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
200
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
201
|
+
type Log = TypedEventLog<Event>;
|
|
202
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
140
203
|
}
|
|
141
204
|
export declare namespace CheckpointEvent {
|
|
142
205
|
type InputTuple = [user: AddressLike, timestamp: BigNumberish];
|
|
@@ -182,6 +245,55 @@ export declare namespace DistributionCapUpdatedEvent {
|
|
|
182
245
|
type Log = TypedEventLog<Event>;
|
|
183
246
|
type LogDescription = TypedLogDescription<Event>;
|
|
184
247
|
}
|
|
248
|
+
export declare namespace DistributorApprovalUpdatedEvent {
|
|
249
|
+
type InputTuple = [distributor: AddressLike, isApproved: boolean];
|
|
250
|
+
type OutputTuple = [distributor: string, isApproved: boolean];
|
|
251
|
+
interface OutputObject {
|
|
252
|
+
distributor: string;
|
|
253
|
+
isApproved: boolean;
|
|
254
|
+
}
|
|
255
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
256
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
257
|
+
type Log = TypedEventLog<Event>;
|
|
258
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
259
|
+
}
|
|
260
|
+
export declare namespace DistributorUpdatedEvent {
|
|
261
|
+
type InputTuple = [
|
|
262
|
+
distributor: AddressLike,
|
|
263
|
+
distributorAdded: boolean
|
|
264
|
+
];
|
|
265
|
+
type OutputTuple = [distributor: string, distributorAdded: boolean];
|
|
266
|
+
interface OutputObject {
|
|
267
|
+
distributor: string;
|
|
268
|
+
distributorAdded: boolean;
|
|
269
|
+
}
|
|
270
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
271
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
272
|
+
type Log = TypedEventLog<Event>;
|
|
273
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
274
|
+
}
|
|
275
|
+
export declare namespace EmergencyPauseUpdatedEvent {
|
|
276
|
+
type InputTuple = [paused: boolean];
|
|
277
|
+
type OutputTuple = [paused: boolean];
|
|
278
|
+
interface OutputObject {
|
|
279
|
+
paused: boolean;
|
|
280
|
+
}
|
|
281
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
282
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
283
|
+
type Log = TypedEventLog<Event>;
|
|
284
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
285
|
+
}
|
|
286
|
+
export declare namespace EmissionCapUpdatedEvent {
|
|
287
|
+
type InputTuple = [newCap: BigNumberish];
|
|
288
|
+
type OutputTuple = [newCap: bigint];
|
|
289
|
+
interface OutputObject {
|
|
290
|
+
newCap: bigint;
|
|
291
|
+
}
|
|
292
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
293
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
294
|
+
type Log = TypedEventLog<Event>;
|
|
295
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
296
|
+
}
|
|
185
297
|
export declare namespace EmissionUpdatedEvent {
|
|
186
298
|
type InputTuple = [emission: BigNumberish];
|
|
187
299
|
type OutputTuple = [emission: bigint];
|
|
@@ -225,6 +337,17 @@ export declare namespace PeriodCreatedEvent {
|
|
|
225
337
|
type Log = TypedEventLog<Event>;
|
|
226
338
|
type LogDescription = TypedLogDescription<Event>;
|
|
227
339
|
}
|
|
340
|
+
export declare namespace PeriodDurationUpdatedEvent {
|
|
341
|
+
type InputTuple = [newDuration: BigNumberish];
|
|
342
|
+
type OutputTuple = [newDuration: bigint];
|
|
343
|
+
interface OutputObject {
|
|
344
|
+
newDuration: bigint;
|
|
345
|
+
}
|
|
346
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
347
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
348
|
+
type Log = TypedEventLog<Event>;
|
|
349
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
350
|
+
}
|
|
228
351
|
export declare namespace PeriodUpdatedEvent {
|
|
229
352
|
type InputTuple = [timestamp: BigNumberish, avgWeight: BigNumberish];
|
|
230
353
|
type OutputTuple = [timestamp: bigint, avgWeight: bigint];
|
|
@@ -238,10 +361,16 @@ export declare namespace PeriodUpdatedEvent {
|
|
|
238
361
|
type LogDescription = TypedLogDescription<Event>;
|
|
239
362
|
}
|
|
240
363
|
export declare namespace RewardNotifiedEvent {
|
|
241
|
-
type InputTuple = [
|
|
242
|
-
|
|
364
|
+
type InputTuple = [
|
|
365
|
+
token: AddressLike,
|
|
366
|
+
amount: BigNumberish,
|
|
367
|
+
rewardRate: BigNumberish
|
|
368
|
+
];
|
|
369
|
+
type OutputTuple = [token: string, amount: bigint, rewardRate: bigint];
|
|
243
370
|
interface OutputObject {
|
|
371
|
+
token: string;
|
|
244
372
|
amount: bigint;
|
|
373
|
+
rewardRate: bigint;
|
|
245
374
|
}
|
|
246
375
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
247
376
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -249,23 +378,27 @@ export declare namespace RewardNotifiedEvent {
|
|
|
249
378
|
type LogDescription = TypedLogDescription<Event>;
|
|
250
379
|
}
|
|
251
380
|
export declare namespace RewardPaidEvent {
|
|
252
|
-
type InputTuple = [
|
|
253
|
-
|
|
381
|
+
type InputTuple = [
|
|
382
|
+
user: AddressLike,
|
|
383
|
+
token: AddressLike,
|
|
384
|
+
amount: BigNumberish
|
|
385
|
+
];
|
|
386
|
+
type OutputTuple = [user: string, token: string, amount: bigint];
|
|
254
387
|
interface OutputObject {
|
|
255
388
|
user: string;
|
|
256
|
-
|
|
389
|
+
token: string;
|
|
390
|
+
amount: bigint;
|
|
257
391
|
}
|
|
258
392
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
259
393
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
260
394
|
type Log = TypedEventLog<Event>;
|
|
261
395
|
type LogDescription = TypedLogDescription<Event>;
|
|
262
396
|
}
|
|
263
|
-
export declare namespace
|
|
264
|
-
type InputTuple = [
|
|
265
|
-
type OutputTuple = [
|
|
397
|
+
export declare namespace RewardTokenAddedEvent {
|
|
398
|
+
type InputTuple = [token: AddressLike];
|
|
399
|
+
type OutputTuple = [token: string];
|
|
266
400
|
interface OutputObject {
|
|
267
|
-
|
|
268
|
-
reward: bigint;
|
|
401
|
+
token: string;
|
|
269
402
|
}
|
|
270
403
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
271
404
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -350,6 +483,42 @@ export declare namespace UnpausedEvent {
|
|
|
350
483
|
type Log = TypedEventLog<Event>;
|
|
351
484
|
type LogDescription = TypedLogDescription<Event>;
|
|
352
485
|
}
|
|
486
|
+
export declare namespace UserRewardDataUpdatedEvent {
|
|
487
|
+
type InputTuple = [
|
|
488
|
+
user: AddressLike,
|
|
489
|
+
token: AddressLike,
|
|
490
|
+
newIntegral: BigNumberish,
|
|
491
|
+
timestamp: BigNumberish
|
|
492
|
+
];
|
|
493
|
+
type OutputTuple = [
|
|
494
|
+
user: string,
|
|
495
|
+
token: string,
|
|
496
|
+
newIntegral: bigint,
|
|
497
|
+
timestamp: bigint
|
|
498
|
+
];
|
|
499
|
+
interface OutputObject {
|
|
500
|
+
user: string;
|
|
501
|
+
token: string;
|
|
502
|
+
newIntegral: bigint;
|
|
503
|
+
timestamp: bigint;
|
|
504
|
+
}
|
|
505
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
506
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
507
|
+
type Log = TypedEventLog<Event>;
|
|
508
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
509
|
+
}
|
|
510
|
+
export declare namespace UserRewardsUpdatedEvent {
|
|
511
|
+
type InputTuple = [user: AddressLike, timestamp: BigNumberish];
|
|
512
|
+
type OutputTuple = [user: string, timestamp: bigint];
|
|
513
|
+
interface OutputObject {
|
|
514
|
+
user: string;
|
|
515
|
+
timestamp: bigint;
|
|
516
|
+
}
|
|
517
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
518
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
519
|
+
type Log = TypedEventLog<Event>;
|
|
520
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
521
|
+
}
|
|
353
522
|
export declare namespace WithdrawnEvent {
|
|
354
523
|
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
355
524
|
type OutputTuple = [user: string, amount: bigint];
|
|
@@ -362,6 +531,18 @@ export declare namespace WithdrawnEvent {
|
|
|
362
531
|
type Log = TypedEventLog<Event>;
|
|
363
532
|
type LogDescription = TypedLogDescription<Event>;
|
|
364
533
|
}
|
|
534
|
+
export declare namespace WorkingBalanceUpdatedEvent {
|
|
535
|
+
type InputTuple = [user: AddressLike, newWorkingBalance: BigNumberish];
|
|
536
|
+
type OutputTuple = [user: string, newWorkingBalance: bigint];
|
|
537
|
+
interface OutputObject {
|
|
538
|
+
user: string;
|
|
539
|
+
newWorkingBalance: bigint;
|
|
540
|
+
}
|
|
541
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
542
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
543
|
+
type Log = TypedEventLog<Event>;
|
|
544
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
545
|
+
}
|
|
365
546
|
export interface BaseGauge extends BaseContract {
|
|
366
547
|
connect(runner?: ContractRunner | null): BaseGauge;
|
|
367
548
|
waitForDeployment(): Promise<this>;
|
|
@@ -379,51 +560,75 @@ export interface BaseGauge extends BaseContract {
|
|
|
379
560
|
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
|
380
561
|
EMERGENCY_ADMIN: TypedContractMethod<[], [string], "view">;
|
|
381
562
|
FEE_ADMIN: TypedContractMethod<[], [string], "view">;
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
563
|
+
GAUGE_ADMIN: TypedContractMethod<[], [string], "view">;
|
|
564
|
+
MAX_CHECKPOINTS: TypedContractMethod<[], [bigint], "view">;
|
|
565
|
+
MAX_VOTE_WEIGHT: TypedContractMethod<[], [bigint], "view">;
|
|
566
|
+
WEEK: TypedContractMethod<[], [bigint], "view">;
|
|
385
567
|
WEIGHT_PRECISION: TypedContractMethod<[], [bigint], "view">;
|
|
386
568
|
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
387
|
-
|
|
569
|
+
boostAmplificationEnabled: TypedContractMethod<[], [boolean], "view">;
|
|
570
|
+
claimRewardToken: TypedContractMethod<[
|
|
571
|
+
token: AddressLike
|
|
388
572
|
], [
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
bigint
|
|
398
|
-
] & {
|
|
399
|
-
boostPeriod: TimeWeightedAverage.PeriodStructOutput;
|
|
400
|
-
maxBoost: bigint;
|
|
401
|
-
minBoost: bigint;
|
|
402
|
-
boostWindow: bigint;
|
|
403
|
-
baseWeight: bigint;
|
|
404
|
-
votingPower: bigint;
|
|
405
|
-
totalWeight: bigint;
|
|
406
|
-
totalVotingPower: bigint;
|
|
407
|
-
}
|
|
573
|
+
bigint
|
|
574
|
+
], "nonpayable">;
|
|
575
|
+
claimRewards: TypedContractMethod<[], [void], "nonpayable">;
|
|
576
|
+
claimedRewards: TypedContractMethod<[
|
|
577
|
+
token: AddressLike,
|
|
578
|
+
user: AddressLike
|
|
579
|
+
], [
|
|
580
|
+
bigint
|
|
408
581
|
], "view">;
|
|
409
|
-
checkpoint: TypedContractMethod<[], [void], "nonpayable">;
|
|
410
582
|
controller: TypedContractMethod<[], [string], "view">;
|
|
411
583
|
distributionCap: TypedContractMethod<[], [bigint], "view">;
|
|
412
|
-
|
|
584
|
+
distributors: TypedContractMethod<[
|
|
585
|
+
arg0: AddressLike
|
|
586
|
+
], [
|
|
587
|
+
[string, boolean] & {
|
|
588
|
+
distributor: string;
|
|
589
|
+
isApproved: boolean;
|
|
590
|
+
}
|
|
591
|
+
], "view">;
|
|
592
|
+
distributorsList: TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
593
|
+
earned: TypedContractMethod<[
|
|
594
|
+
token: AddressLike,
|
|
595
|
+
user: AddressLike
|
|
596
|
+
], [
|
|
597
|
+
bigint
|
|
598
|
+
], "view">;
|
|
599
|
+
earnedRewards: TypedContractMethod<[
|
|
600
|
+
token: AddressLike,
|
|
601
|
+
user: AddressLike
|
|
602
|
+
], [
|
|
603
|
+
bigint
|
|
604
|
+
], "view">;
|
|
413
605
|
emergencyWithdraw: TypedContractMethod<[
|
|
414
606
|
token: AddressLike,
|
|
415
607
|
amount: BigNumberish
|
|
416
608
|
], [
|
|
417
609
|
void
|
|
418
610
|
], "nonpayable">;
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
611
|
+
gaugeController: TypedContractMethod<[], [string], "view">;
|
|
612
|
+
getDecimalAdjustment: TypedContractMethod<[
|
|
613
|
+
token: AddressLike
|
|
614
|
+
], [
|
|
615
|
+
bigint
|
|
616
|
+
], "view">;
|
|
617
|
+
getDistributorApproval: TypedContractMethod<[
|
|
618
|
+
distributor: AddressLike
|
|
619
|
+
], [
|
|
620
|
+
boolean
|
|
621
|
+
], "view">;
|
|
622
|
+
getDistributors: TypedContractMethod<[], [string[]], "view">;
|
|
623
|
+
getNextPeriodTime: TypedContractMethod<[], [bigint], "view">;
|
|
624
|
+
getRewardTokens: TypedContractMethod<[], [string[]], "view">;
|
|
423
625
|
getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
424
|
-
getTimeWeightedWeight: TypedContractMethod<[], [bigint], "view">;
|
|
425
|
-
getTotalWeight: TypedContractMethod<[], [bigint], "view">;
|
|
426
626
|
getUserWeight: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
627
|
+
getWorkingBalance: TypedContractMethod<[
|
|
628
|
+
account: AddressLike
|
|
629
|
+
], [
|
|
630
|
+
bigint
|
|
631
|
+
], "view">;
|
|
427
632
|
grantRole: TypedContractMethod<[
|
|
428
633
|
role: BytesLike,
|
|
429
634
|
account: AddressLike
|
|
@@ -436,15 +641,51 @@ export interface BaseGauge extends BaseContract {
|
|
|
436
641
|
], [
|
|
437
642
|
boolean
|
|
438
643
|
], "view">;
|
|
439
|
-
|
|
440
|
-
|
|
644
|
+
historicalCheckpointCount: TypedContractMethod<[], [bigint], "view">;
|
|
645
|
+
historicalCheckpoints: TypedContractMethod<[
|
|
646
|
+
arg0: BigNumberish
|
|
647
|
+
], [
|
|
648
|
+
[
|
|
649
|
+
bigint,
|
|
650
|
+
bigint,
|
|
651
|
+
bigint,
|
|
652
|
+
bigint,
|
|
653
|
+
bigint
|
|
654
|
+
] & {
|
|
655
|
+
timestamp: bigint;
|
|
656
|
+
totalSupply: bigint;
|
|
657
|
+
workingSupply: bigint;
|
|
658
|
+
rewardPerToken: bigint;
|
|
659
|
+
rewardRate: bigint;
|
|
660
|
+
}
|
|
661
|
+
], "view">;
|
|
662
|
+
initializeRewardToken: TypedContractMethod<[
|
|
663
|
+
token: AddressLike,
|
|
664
|
+
distributor: AddressLike
|
|
665
|
+
], [
|
|
666
|
+
void
|
|
667
|
+
], "nonpayable">;
|
|
441
668
|
lastUpdateTime: TypedContractMethod<[], [bigint], "view">;
|
|
669
|
+
manageDistributor: TypedContractMethod<[
|
|
670
|
+
distributor: AddressLike,
|
|
671
|
+
shouldAddDistributor: boolean
|
|
672
|
+
], [
|
|
673
|
+
void
|
|
674
|
+
], "nonpayable">;
|
|
442
675
|
notifyRewardAmount: TypedContractMethod<[
|
|
676
|
+
token: AddressLike,
|
|
443
677
|
amount: BigNumberish
|
|
444
678
|
], [
|
|
445
679
|
void
|
|
446
680
|
], "nonpayable">;
|
|
447
681
|
paused: TypedContractMethod<[], [boolean], "view">;
|
|
682
|
+
pendingRewards: TypedContractMethod<[
|
|
683
|
+
token: AddressLike,
|
|
684
|
+
user: AddressLike
|
|
685
|
+
], [
|
|
686
|
+
bigint
|
|
687
|
+
], "view">;
|
|
688
|
+
periodDuration: TypedContractMethod<[], [bigint], "view">;
|
|
448
689
|
periodFinish: TypedContractMethod<[], [bigint], "view">;
|
|
449
690
|
periodState: TypedContractMethod<[
|
|
450
691
|
], [
|
|
@@ -472,13 +713,42 @@ export interface BaseGauge extends BaseContract {
|
|
|
472
713
|
], [
|
|
473
714
|
void
|
|
474
715
|
], "nonpayable">;
|
|
716
|
+
rewardData: TypedContractMethod<[
|
|
717
|
+
arg0: AddressLike
|
|
718
|
+
], [
|
|
719
|
+
[
|
|
720
|
+
bigint,
|
|
721
|
+
bigint,
|
|
722
|
+
bigint,
|
|
723
|
+
bigint,
|
|
724
|
+
string,
|
|
725
|
+
bigint
|
|
726
|
+
] & {
|
|
727
|
+
rate: bigint;
|
|
728
|
+
periodFinish: bigint;
|
|
729
|
+
lastUpdateTime: bigint;
|
|
730
|
+
rewardPerTokenStored: bigint;
|
|
731
|
+
distributor: string;
|
|
732
|
+
integral: bigint;
|
|
733
|
+
}
|
|
734
|
+
], "view">;
|
|
475
735
|
rewardPerTokenStored: TypedContractMethod<[], [bigint], "view">;
|
|
476
736
|
rewardRate: TypedContractMethod<[], [bigint], "view">;
|
|
477
737
|
rewardToken: TypedContractMethod<[], [string], "view">;
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
738
|
+
rewardTokenDecimals: TypedContractMethod<[
|
|
739
|
+
arg0: AddressLike
|
|
740
|
+
], [
|
|
741
|
+
bigint
|
|
742
|
+
], "view">;
|
|
743
|
+
rewardTokens: TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
744
|
+
rewards: TypedContractMethod<[
|
|
745
|
+
arg0: AddressLike,
|
|
746
|
+
arg1: AddressLike
|
|
747
|
+
], [
|
|
748
|
+
bigint
|
|
749
|
+
], "view">;
|
|
750
|
+
setBoostAmplificationEnabled: TypedContractMethod<[
|
|
751
|
+
enabled: boolean
|
|
482
752
|
], [
|
|
483
753
|
void
|
|
484
754
|
], "nonpayable">;
|
|
@@ -487,13 +757,14 @@ export interface BaseGauge extends BaseContract {
|
|
|
487
757
|
], [
|
|
488
758
|
void
|
|
489
759
|
], "nonpayable">;
|
|
490
|
-
|
|
491
|
-
|
|
760
|
+
setDistributorApproval: TypedContractMethod<[
|
|
761
|
+
distributor: AddressLike,
|
|
762
|
+
isApproved: boolean
|
|
492
763
|
], [
|
|
493
764
|
void
|
|
494
765
|
], "nonpayable">;
|
|
495
|
-
|
|
496
|
-
|
|
766
|
+
setEmergencyPaused: TypedContractMethod<[
|
|
767
|
+
newPaused: boolean
|
|
497
768
|
], [
|
|
498
769
|
void
|
|
499
770
|
], "nonpayable">;
|
|
@@ -502,6 +773,16 @@ export interface BaseGauge extends BaseContract {
|
|
|
502
773
|
], [
|
|
503
774
|
void
|
|
504
775
|
], "nonpayable">;
|
|
776
|
+
setMaxEmission: TypedContractMethod<[
|
|
777
|
+
emission: BigNumberish
|
|
778
|
+
], [
|
|
779
|
+
void
|
|
780
|
+
], "nonpayable">;
|
|
781
|
+
setPeriodDuration: TypedContractMethod<[
|
|
782
|
+
newPeriodDuration: BigNumberish
|
|
783
|
+
], [
|
|
784
|
+
void
|
|
785
|
+
], "nonpayable">;
|
|
505
786
|
stake: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
506
787
|
stakingToken: TypedContractMethod<[], [string], "view">;
|
|
507
788
|
supportsInterface: TypedContractMethod<[
|
|
@@ -509,22 +790,67 @@ export interface BaseGauge extends BaseContract {
|
|
|
509
790
|
], [
|
|
510
791
|
boolean
|
|
511
792
|
], "view">;
|
|
793
|
+
syncRewardData: TypedContractMethod<[
|
|
794
|
+
token: AddressLike
|
|
795
|
+
], [
|
|
796
|
+
void
|
|
797
|
+
], "nonpayable">;
|
|
798
|
+
syncRewardTokens: TypedContractMethod<[], [void], "nonpayable">;
|
|
512
799
|
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
513
800
|
totalVotes: TypedContractMethod<[], [bigint], "view">;
|
|
514
801
|
updatePeriod: TypedContractMethod<[], [void], "nonpayable">;
|
|
515
|
-
|
|
802
|
+
updateUserRewards: TypedContractMethod<[], [void], "nonpayable">;
|
|
803
|
+
userCheckpointCounts: TypedContractMethod<[
|
|
516
804
|
arg0: AddressLike
|
|
805
|
+
], [
|
|
806
|
+
bigint
|
|
807
|
+
], "view">;
|
|
808
|
+
userCheckpoints: TypedContractMethod<[
|
|
809
|
+
arg0: AddressLike,
|
|
810
|
+
arg1: BigNumberish
|
|
517
811
|
], [
|
|
518
812
|
[
|
|
813
|
+
bigint,
|
|
814
|
+
bigint,
|
|
815
|
+
bigint,
|
|
519
816
|
bigint,
|
|
520
817
|
bigint,
|
|
521
818
|
bigint
|
|
522
819
|
] & {
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
820
|
+
timestamp: bigint;
|
|
821
|
+
balance: bigint;
|
|
822
|
+
workingBalance: bigint;
|
|
823
|
+
rewardPerToken: bigint;
|
|
824
|
+
slope: bigint;
|
|
825
|
+
bias: bigint;
|
|
826
|
+
}
|
|
827
|
+
], "view">;
|
|
828
|
+
userClaimedRewards: TypedContractMethod<[
|
|
829
|
+
arg0: AddressLike,
|
|
830
|
+
arg1: AddressLike
|
|
831
|
+
], [
|
|
832
|
+
bigint
|
|
833
|
+
], "view">;
|
|
834
|
+
userRewardData: TypedContractMethod<[
|
|
835
|
+
arg0: AddressLike,
|
|
836
|
+
arg1: AddressLike
|
|
837
|
+
], [
|
|
838
|
+
[
|
|
839
|
+
bigint,
|
|
840
|
+
bigint,
|
|
841
|
+
bigint
|
|
842
|
+
] & {
|
|
843
|
+
integral: bigint;
|
|
844
|
+
lastUpdate: bigint;
|
|
845
|
+
claimable: bigint;
|
|
526
846
|
}
|
|
527
847
|
], "view">;
|
|
848
|
+
userRewardPerTokenPaid: TypedContractMethod<[
|
|
849
|
+
arg0: AddressLike,
|
|
850
|
+
arg1: AddressLike
|
|
851
|
+
], [
|
|
852
|
+
bigint
|
|
853
|
+
], "view">;
|
|
528
854
|
userVotes: TypedContractMethod<[
|
|
529
855
|
arg0: AddressLike
|
|
530
856
|
], [
|
|
@@ -564,56 +890,66 @@ export interface BaseGauge extends BaseContract {
|
|
|
564
890
|
}
|
|
565
891
|
], "view">;
|
|
566
892
|
withdraw: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
893
|
+
workingBalances: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
894
|
+
workingSupply: TypedContractMethod<[], [bigint], "view">;
|
|
567
895
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
568
896
|
getFunction(nameOrSignature: "CONTROLLER_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
569
897
|
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
570
898
|
getFunction(nameOrSignature: "EMERGENCY_ADMIN"): TypedContractMethod<[], [string], "view">;
|
|
571
899
|
getFunction(nameOrSignature: "FEE_ADMIN"): TypedContractMethod<[], [string], "view">;
|
|
572
|
-
getFunction(nameOrSignature: "
|
|
573
|
-
getFunction(nameOrSignature: "
|
|
574
|
-
getFunction(nameOrSignature: "
|
|
900
|
+
getFunction(nameOrSignature: "GAUGE_ADMIN"): TypedContractMethod<[], [string], "view">;
|
|
901
|
+
getFunction(nameOrSignature: "MAX_CHECKPOINTS"): TypedContractMethod<[], [bigint], "view">;
|
|
902
|
+
getFunction(nameOrSignature: "MAX_VOTE_WEIGHT"): TypedContractMethod<[], [bigint], "view">;
|
|
903
|
+
getFunction(nameOrSignature: "WEEK"): TypedContractMethod<[], [bigint], "view">;
|
|
575
904
|
getFunction(nameOrSignature: "WEIGHT_PRECISION"): TypedContractMethod<[], [bigint], "view">;
|
|
576
905
|
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
577
|
-
getFunction(nameOrSignature: "
|
|
906
|
+
getFunction(nameOrSignature: "boostAmplificationEnabled"): TypedContractMethod<[], [boolean], "view">;
|
|
907
|
+
getFunction(nameOrSignature: "claimRewardToken"): TypedContractMethod<[token: AddressLike], [bigint], "nonpayable">;
|
|
908
|
+
getFunction(nameOrSignature: "claimRewards"): TypedContractMethod<[], [void], "nonpayable">;
|
|
909
|
+
getFunction(nameOrSignature: "claimedRewards"): TypedContractMethod<[
|
|
910
|
+
token: AddressLike,
|
|
911
|
+
user: AddressLike
|
|
578
912
|
], [
|
|
579
|
-
|
|
580
|
-
TimeWeightedAverage.PeriodStructOutput,
|
|
581
|
-
bigint,
|
|
582
|
-
bigint,
|
|
583
|
-
bigint,
|
|
584
|
-
bigint,
|
|
585
|
-
bigint,
|
|
586
|
-
bigint,
|
|
587
|
-
bigint
|
|
588
|
-
] & {
|
|
589
|
-
boostPeriod: TimeWeightedAverage.PeriodStructOutput;
|
|
590
|
-
maxBoost: bigint;
|
|
591
|
-
minBoost: bigint;
|
|
592
|
-
boostWindow: bigint;
|
|
593
|
-
baseWeight: bigint;
|
|
594
|
-
votingPower: bigint;
|
|
595
|
-
totalWeight: bigint;
|
|
596
|
-
totalVotingPower: bigint;
|
|
597
|
-
}
|
|
913
|
+
bigint
|
|
598
914
|
], "view">;
|
|
599
|
-
getFunction(nameOrSignature: "checkpoint"): TypedContractMethod<[], [void], "nonpayable">;
|
|
600
915
|
getFunction(nameOrSignature: "controller"): TypedContractMethod<[], [string], "view">;
|
|
601
916
|
getFunction(nameOrSignature: "distributionCap"): TypedContractMethod<[], [bigint], "view">;
|
|
602
|
-
getFunction(nameOrSignature: "
|
|
917
|
+
getFunction(nameOrSignature: "distributors"): TypedContractMethod<[
|
|
918
|
+
arg0: AddressLike
|
|
919
|
+
], [
|
|
920
|
+
[string, boolean] & {
|
|
921
|
+
distributor: string;
|
|
922
|
+
isApproved: boolean;
|
|
923
|
+
}
|
|
924
|
+
], "view">;
|
|
925
|
+
getFunction(nameOrSignature: "distributorsList"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
926
|
+
getFunction(nameOrSignature: "earned"): TypedContractMethod<[
|
|
927
|
+
token: AddressLike,
|
|
928
|
+
user: AddressLike
|
|
929
|
+
], [
|
|
930
|
+
bigint
|
|
931
|
+
], "view">;
|
|
932
|
+
getFunction(nameOrSignature: "earnedRewards"): TypedContractMethod<[
|
|
933
|
+
token: AddressLike,
|
|
934
|
+
user: AddressLike
|
|
935
|
+
], [
|
|
936
|
+
bigint
|
|
937
|
+
], "view">;
|
|
603
938
|
getFunction(nameOrSignature: "emergencyWithdraw"): TypedContractMethod<[
|
|
604
939
|
token: AddressLike,
|
|
605
940
|
amount: BigNumberish
|
|
606
941
|
], [
|
|
607
942
|
void
|
|
608
943
|
], "nonpayable">;
|
|
609
|
-
getFunction(nameOrSignature: "
|
|
610
|
-
getFunction(nameOrSignature: "
|
|
611
|
-
getFunction(nameOrSignature: "
|
|
612
|
-
getFunction(nameOrSignature: "
|
|
944
|
+
getFunction(nameOrSignature: "gaugeController"): TypedContractMethod<[], [string], "view">;
|
|
945
|
+
getFunction(nameOrSignature: "getDecimalAdjustment"): TypedContractMethod<[token: AddressLike], [bigint], "view">;
|
|
946
|
+
getFunction(nameOrSignature: "getDistributorApproval"): TypedContractMethod<[distributor: AddressLike], [boolean], "view">;
|
|
947
|
+
getFunction(nameOrSignature: "getDistributors"): TypedContractMethod<[], [string[]], "view">;
|
|
948
|
+
getFunction(nameOrSignature: "getNextPeriodTime"): TypedContractMethod<[], [bigint], "view">;
|
|
949
|
+
getFunction(nameOrSignature: "getRewardTokens"): TypedContractMethod<[], [string[]], "view">;
|
|
613
950
|
getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
614
|
-
getFunction(nameOrSignature: "getTimeWeightedWeight"): TypedContractMethod<[], [bigint], "view">;
|
|
615
|
-
getFunction(nameOrSignature: "getTotalWeight"): TypedContractMethod<[], [bigint], "view">;
|
|
616
951
|
getFunction(nameOrSignature: "getUserWeight"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
952
|
+
getFunction(nameOrSignature: "getWorkingBalance"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
617
953
|
getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
|
|
618
954
|
role: BytesLike,
|
|
619
955
|
account: AddressLike
|
|
@@ -626,11 +962,51 @@ export interface BaseGauge extends BaseContract {
|
|
|
626
962
|
], [
|
|
627
963
|
boolean
|
|
628
964
|
], "view">;
|
|
629
|
-
getFunction(nameOrSignature: "
|
|
630
|
-
getFunction(nameOrSignature: "
|
|
965
|
+
getFunction(nameOrSignature: "historicalCheckpointCount"): TypedContractMethod<[], [bigint], "view">;
|
|
966
|
+
getFunction(nameOrSignature: "historicalCheckpoints"): TypedContractMethod<[
|
|
967
|
+
arg0: BigNumberish
|
|
968
|
+
], [
|
|
969
|
+
[
|
|
970
|
+
bigint,
|
|
971
|
+
bigint,
|
|
972
|
+
bigint,
|
|
973
|
+
bigint,
|
|
974
|
+
bigint
|
|
975
|
+
] & {
|
|
976
|
+
timestamp: bigint;
|
|
977
|
+
totalSupply: bigint;
|
|
978
|
+
workingSupply: bigint;
|
|
979
|
+
rewardPerToken: bigint;
|
|
980
|
+
rewardRate: bigint;
|
|
981
|
+
}
|
|
982
|
+
], "view">;
|
|
983
|
+
getFunction(nameOrSignature: "initializeRewardToken"): TypedContractMethod<[
|
|
984
|
+
token: AddressLike,
|
|
985
|
+
distributor: AddressLike
|
|
986
|
+
], [
|
|
987
|
+
void
|
|
988
|
+
], "nonpayable">;
|
|
631
989
|
getFunction(nameOrSignature: "lastUpdateTime"): TypedContractMethod<[], [bigint], "view">;
|
|
632
|
-
getFunction(nameOrSignature: "
|
|
990
|
+
getFunction(nameOrSignature: "manageDistributor"): TypedContractMethod<[
|
|
991
|
+
distributor: AddressLike,
|
|
992
|
+
shouldAddDistributor: boolean
|
|
993
|
+
], [
|
|
994
|
+
void
|
|
995
|
+
], "nonpayable">;
|
|
996
|
+
getFunction(nameOrSignature: "notifyRewardAmount"): TypedContractMethod<[
|
|
997
|
+
token: AddressLike,
|
|
998
|
+
amount: BigNumberish
|
|
999
|
+
], [
|
|
1000
|
+
void
|
|
1001
|
+
], "nonpayable">;
|
|
633
1002
|
getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
|
|
1003
|
+
getFunction(nameOrSignature: "pendingRewards"): TypedContractMethod<[
|
|
1004
|
+
token: AddressLike,
|
|
1005
|
+
user: AddressLike
|
|
1006
|
+
], [
|
|
1007
|
+
bigint
|
|
1008
|
+
], "view">;
|
|
1009
|
+
getFunction(nameOrSignature: "periodDuration"): TypedContractMethod<[], [bigint], "view">;
|
|
634
1010
|
getFunction(nameOrSignature: "periodFinish"): TypedContractMethod<[], [bigint], "view">;
|
|
635
1011
|
getFunction(nameOrSignature: "periodState"): TypedContractMethod<[
|
|
636
1012
|
], [
|
|
@@ -658,39 +1034,108 @@ export interface BaseGauge extends BaseContract {
|
|
|
658
1034
|
], [
|
|
659
1035
|
void
|
|
660
1036
|
], "nonpayable">;
|
|
1037
|
+
getFunction(nameOrSignature: "rewardData"): TypedContractMethod<[
|
|
1038
|
+
arg0: AddressLike
|
|
1039
|
+
], [
|
|
1040
|
+
[
|
|
1041
|
+
bigint,
|
|
1042
|
+
bigint,
|
|
1043
|
+
bigint,
|
|
1044
|
+
bigint,
|
|
1045
|
+
string,
|
|
1046
|
+
bigint
|
|
1047
|
+
] & {
|
|
1048
|
+
rate: bigint;
|
|
1049
|
+
periodFinish: bigint;
|
|
1050
|
+
lastUpdateTime: bigint;
|
|
1051
|
+
rewardPerTokenStored: bigint;
|
|
1052
|
+
distributor: string;
|
|
1053
|
+
integral: bigint;
|
|
1054
|
+
}
|
|
1055
|
+
], "view">;
|
|
661
1056
|
getFunction(nameOrSignature: "rewardPerTokenStored"): TypedContractMethod<[], [bigint], "view">;
|
|
662
1057
|
getFunction(nameOrSignature: "rewardRate"): TypedContractMethod<[], [bigint], "view">;
|
|
663
1058
|
getFunction(nameOrSignature: "rewardToken"): TypedContractMethod<[], [string], "view">;
|
|
664
|
-
getFunction(nameOrSignature: "
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
1059
|
+
getFunction(nameOrSignature: "rewardTokenDecimals"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
1060
|
+
getFunction(nameOrSignature: "rewardTokens"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
1061
|
+
getFunction(nameOrSignature: "rewards"): TypedContractMethod<[
|
|
1062
|
+
arg0: AddressLike,
|
|
1063
|
+
arg1: AddressLike
|
|
1064
|
+
], [
|
|
1065
|
+
bigint
|
|
1066
|
+
], "view">;
|
|
1067
|
+
getFunction(nameOrSignature: "setBoostAmplificationEnabled"): TypedContractMethod<[enabled: boolean], [void], "nonpayable">;
|
|
1068
|
+
getFunction(nameOrSignature: "setDistributionCap"): TypedContractMethod<[newCap: BigNumberish], [void], "nonpayable">;
|
|
1069
|
+
getFunction(nameOrSignature: "setDistributorApproval"): TypedContractMethod<[
|
|
1070
|
+
distributor: AddressLike,
|
|
1071
|
+
isApproved: boolean
|
|
668
1072
|
], [
|
|
669
1073
|
void
|
|
670
1074
|
], "nonpayable">;
|
|
671
|
-
getFunction(nameOrSignature: "
|
|
672
|
-
getFunction(nameOrSignature: "setEmergencyPaused"): TypedContractMethod<[paused: boolean], [void], "nonpayable">;
|
|
673
|
-
getFunction(nameOrSignature: "setEmission"): TypedContractMethod<[emission: BigNumberish], [void], "nonpayable">;
|
|
1075
|
+
getFunction(nameOrSignature: "setEmergencyPaused"): TypedContractMethod<[newPaused: boolean], [void], "nonpayable">;
|
|
674
1076
|
getFunction(nameOrSignature: "setInitialWeight"): TypedContractMethod<[weight: BigNumberish], [void], "nonpayable">;
|
|
1077
|
+
getFunction(nameOrSignature: "setMaxEmission"): TypedContractMethod<[emission: BigNumberish], [void], "nonpayable">;
|
|
1078
|
+
getFunction(nameOrSignature: "setPeriodDuration"): TypedContractMethod<[
|
|
1079
|
+
newPeriodDuration: BigNumberish
|
|
1080
|
+
], [
|
|
1081
|
+
void
|
|
1082
|
+
], "nonpayable">;
|
|
675
1083
|
getFunction(nameOrSignature: "stake"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
676
1084
|
getFunction(nameOrSignature: "stakingToken"): TypedContractMethod<[], [string], "view">;
|
|
677
1085
|
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
1086
|
+
getFunction(nameOrSignature: "syncRewardData"): TypedContractMethod<[token: AddressLike], [void], "nonpayable">;
|
|
1087
|
+
getFunction(nameOrSignature: "syncRewardTokens"): TypedContractMethod<[], [void], "nonpayable">;
|
|
678
1088
|
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
679
1089
|
getFunction(nameOrSignature: "totalVotes"): TypedContractMethod<[], [bigint], "view">;
|
|
680
1090
|
getFunction(nameOrSignature: "updatePeriod"): TypedContractMethod<[], [void], "nonpayable">;
|
|
681
|
-
getFunction(nameOrSignature: "
|
|
682
|
-
|
|
1091
|
+
getFunction(nameOrSignature: "updateUserRewards"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1092
|
+
getFunction(nameOrSignature: "userCheckpointCounts"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
1093
|
+
getFunction(nameOrSignature: "userCheckpoints"): TypedContractMethod<[
|
|
1094
|
+
arg0: AddressLike,
|
|
1095
|
+
arg1: BigNumberish
|
|
683
1096
|
], [
|
|
684
1097
|
[
|
|
1098
|
+
bigint,
|
|
1099
|
+
bigint,
|
|
1100
|
+
bigint,
|
|
685
1101
|
bigint,
|
|
686
1102
|
bigint,
|
|
687
1103
|
bigint
|
|
688
1104
|
] & {
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
1105
|
+
timestamp: bigint;
|
|
1106
|
+
balance: bigint;
|
|
1107
|
+
workingBalance: bigint;
|
|
1108
|
+
rewardPerToken: bigint;
|
|
1109
|
+
slope: bigint;
|
|
1110
|
+
bias: bigint;
|
|
692
1111
|
}
|
|
693
1112
|
], "view">;
|
|
1113
|
+
getFunction(nameOrSignature: "userClaimedRewards"): TypedContractMethod<[
|
|
1114
|
+
arg0: AddressLike,
|
|
1115
|
+
arg1: AddressLike
|
|
1116
|
+
], [
|
|
1117
|
+
bigint
|
|
1118
|
+
], "view">;
|
|
1119
|
+
getFunction(nameOrSignature: "userRewardData"): TypedContractMethod<[
|
|
1120
|
+
arg0: AddressLike,
|
|
1121
|
+
arg1: AddressLike
|
|
1122
|
+
], [
|
|
1123
|
+
[
|
|
1124
|
+
bigint,
|
|
1125
|
+
bigint,
|
|
1126
|
+
bigint
|
|
1127
|
+
] & {
|
|
1128
|
+
integral: bigint;
|
|
1129
|
+
lastUpdate: bigint;
|
|
1130
|
+
claimable: bigint;
|
|
1131
|
+
}
|
|
1132
|
+
], "view">;
|
|
1133
|
+
getFunction(nameOrSignature: "userRewardPerTokenPaid"): TypedContractMethod<[
|
|
1134
|
+
arg0: AddressLike,
|
|
1135
|
+
arg1: AddressLike
|
|
1136
|
+
], [
|
|
1137
|
+
bigint
|
|
1138
|
+
], "view">;
|
|
694
1139
|
getFunction(nameOrSignature: "userVotes"): TypedContractMethod<[
|
|
695
1140
|
arg0: AddressLike
|
|
696
1141
|
], [
|
|
@@ -726,43 +1171,66 @@ export interface BaseGauge extends BaseContract {
|
|
|
726
1171
|
}
|
|
727
1172
|
], "view">;
|
|
728
1173
|
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1174
|
+
getFunction(nameOrSignature: "workingBalances"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
1175
|
+
getFunction(nameOrSignature: "workingSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
1176
|
+
getEvent(key: "BoostAmplificationToggled"): TypedContractEvent<BoostAmplificationToggledEvent.InputTuple, BoostAmplificationToggledEvent.OutputTuple, BoostAmplificationToggledEvent.OutputObject>;
|
|
729
1177
|
getEvent(key: "Checkpoint"): TypedContractEvent<CheckpointEvent.InputTuple, CheckpointEvent.OutputTuple, CheckpointEvent.OutputObject>;
|
|
730
1178
|
getEvent(key: "DirectionVoted"): TypedContractEvent<DirectionVotedEvent.InputTuple, DirectionVotedEvent.OutputTuple, DirectionVotedEvent.OutputObject>;
|
|
731
1179
|
getEvent(key: "DistributionCapUpdated"): TypedContractEvent<DistributionCapUpdatedEvent.InputTuple, DistributionCapUpdatedEvent.OutputTuple, DistributionCapUpdatedEvent.OutputObject>;
|
|
1180
|
+
getEvent(key: "DistributorApprovalUpdated"): TypedContractEvent<DistributorApprovalUpdatedEvent.InputTuple, DistributorApprovalUpdatedEvent.OutputTuple, DistributorApprovalUpdatedEvent.OutputObject>;
|
|
1181
|
+
getEvent(key: "DistributorUpdated"): TypedContractEvent<DistributorUpdatedEvent.InputTuple, DistributorUpdatedEvent.OutputTuple, DistributorUpdatedEvent.OutputObject>;
|
|
1182
|
+
getEvent(key: "EmergencyPauseUpdated"): TypedContractEvent<EmergencyPauseUpdatedEvent.InputTuple, EmergencyPauseUpdatedEvent.OutputTuple, EmergencyPauseUpdatedEvent.OutputObject>;
|
|
1183
|
+
getEvent(key: "EmissionCapUpdated"): TypedContractEvent<EmissionCapUpdatedEvent.InputTuple, EmissionCapUpdatedEvent.OutputTuple, EmissionCapUpdatedEvent.OutputObject>;
|
|
732
1184
|
getEvent(key: "EmissionUpdated"): TypedContractEvent<EmissionUpdatedEvent.InputTuple, EmissionUpdatedEvent.OutputTuple, EmissionUpdatedEvent.OutputObject>;
|
|
733
1185
|
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
734
1186
|
getEvent(key: "PeriodCreated"): TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
1187
|
+
getEvent(key: "PeriodDurationUpdated"): TypedContractEvent<PeriodDurationUpdatedEvent.InputTuple, PeriodDurationUpdatedEvent.OutputTuple, PeriodDurationUpdatedEvent.OutputObject>;
|
|
735
1188
|
getEvent(key: "PeriodUpdated"): TypedContractEvent<PeriodUpdatedEvent.InputTuple, PeriodUpdatedEvent.OutputTuple, PeriodUpdatedEvent.OutputObject>;
|
|
736
1189
|
getEvent(key: "RewardNotified"): TypedContractEvent<RewardNotifiedEvent.InputTuple, RewardNotifiedEvent.OutputTuple, RewardNotifiedEvent.OutputObject>;
|
|
737
1190
|
getEvent(key: "RewardPaid"): TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
738
|
-
getEvent(key: "
|
|
1191
|
+
getEvent(key: "RewardTokenAdded"): TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
739
1192
|
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
740
1193
|
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
741
1194
|
getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
742
1195
|
getEvent(key: "Staked"): TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
743
1196
|
getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
1197
|
+
getEvent(key: "UserRewardDataUpdated"): TypedContractEvent<UserRewardDataUpdatedEvent.InputTuple, UserRewardDataUpdatedEvent.OutputTuple, UserRewardDataUpdatedEvent.OutputObject>;
|
|
1198
|
+
getEvent(key: "UserRewardsUpdated"): TypedContractEvent<UserRewardsUpdatedEvent.InputTuple, UserRewardsUpdatedEvent.OutputTuple, UserRewardsUpdatedEvent.OutputObject>;
|
|
744
1199
|
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
1200
|
+
getEvent(key: "WorkingBalanceUpdated"): TypedContractEvent<WorkingBalanceUpdatedEvent.InputTuple, WorkingBalanceUpdatedEvent.OutputTuple, WorkingBalanceUpdatedEvent.OutputObject>;
|
|
745
1201
|
filters: {
|
|
1202
|
+
"BoostAmplificationToggled(bool)": TypedContractEvent<BoostAmplificationToggledEvent.InputTuple, BoostAmplificationToggledEvent.OutputTuple, BoostAmplificationToggledEvent.OutputObject>;
|
|
1203
|
+
BoostAmplificationToggled: TypedContractEvent<BoostAmplificationToggledEvent.InputTuple, BoostAmplificationToggledEvent.OutputTuple, BoostAmplificationToggledEvent.OutputObject>;
|
|
746
1204
|
"Checkpoint(address,uint256)": TypedContractEvent<CheckpointEvent.InputTuple, CheckpointEvent.OutputTuple, CheckpointEvent.OutputObject>;
|
|
747
1205
|
Checkpoint: TypedContractEvent<CheckpointEvent.InputTuple, CheckpointEvent.OutputTuple, CheckpointEvent.OutputObject>;
|
|
748
1206
|
"DirectionVoted(address,uint256,uint256)": TypedContractEvent<DirectionVotedEvent.InputTuple, DirectionVotedEvent.OutputTuple, DirectionVotedEvent.OutputObject>;
|
|
749
1207
|
DirectionVoted: TypedContractEvent<DirectionVotedEvent.InputTuple, DirectionVotedEvent.OutputTuple, DirectionVotedEvent.OutputObject>;
|
|
750
1208
|
"DistributionCapUpdated(uint256)": TypedContractEvent<DistributionCapUpdatedEvent.InputTuple, DistributionCapUpdatedEvent.OutputTuple, DistributionCapUpdatedEvent.OutputObject>;
|
|
751
1209
|
DistributionCapUpdated: TypedContractEvent<DistributionCapUpdatedEvent.InputTuple, DistributionCapUpdatedEvent.OutputTuple, DistributionCapUpdatedEvent.OutputObject>;
|
|
1210
|
+
"DistributorApprovalUpdated(address,bool)": TypedContractEvent<DistributorApprovalUpdatedEvent.InputTuple, DistributorApprovalUpdatedEvent.OutputTuple, DistributorApprovalUpdatedEvent.OutputObject>;
|
|
1211
|
+
DistributorApprovalUpdated: TypedContractEvent<DistributorApprovalUpdatedEvent.InputTuple, DistributorApprovalUpdatedEvent.OutputTuple, DistributorApprovalUpdatedEvent.OutputObject>;
|
|
1212
|
+
"DistributorUpdated(address,bool)": TypedContractEvent<DistributorUpdatedEvent.InputTuple, DistributorUpdatedEvent.OutputTuple, DistributorUpdatedEvent.OutputObject>;
|
|
1213
|
+
DistributorUpdated: TypedContractEvent<DistributorUpdatedEvent.InputTuple, DistributorUpdatedEvent.OutputTuple, DistributorUpdatedEvent.OutputObject>;
|
|
1214
|
+
"EmergencyPauseUpdated(bool)": TypedContractEvent<EmergencyPauseUpdatedEvent.InputTuple, EmergencyPauseUpdatedEvent.OutputTuple, EmergencyPauseUpdatedEvent.OutputObject>;
|
|
1215
|
+
EmergencyPauseUpdated: TypedContractEvent<EmergencyPauseUpdatedEvent.InputTuple, EmergencyPauseUpdatedEvent.OutputTuple, EmergencyPauseUpdatedEvent.OutputObject>;
|
|
1216
|
+
"EmissionCapUpdated(uint256)": TypedContractEvent<EmissionCapUpdatedEvent.InputTuple, EmissionCapUpdatedEvent.OutputTuple, EmissionCapUpdatedEvent.OutputObject>;
|
|
1217
|
+
EmissionCapUpdated: TypedContractEvent<EmissionCapUpdatedEvent.InputTuple, EmissionCapUpdatedEvent.OutputTuple, EmissionCapUpdatedEvent.OutputObject>;
|
|
752
1218
|
"EmissionUpdated(uint256)": TypedContractEvent<EmissionUpdatedEvent.InputTuple, EmissionUpdatedEvent.OutputTuple, EmissionUpdatedEvent.OutputObject>;
|
|
753
1219
|
EmissionUpdated: TypedContractEvent<EmissionUpdatedEvent.InputTuple, EmissionUpdatedEvent.OutputTuple, EmissionUpdatedEvent.OutputObject>;
|
|
754
1220
|
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
755
1221
|
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
756
1222
|
"PeriodCreated(uint256,uint256,uint256)": TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
757
1223
|
PeriodCreated: TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
1224
|
+
"PeriodDurationUpdated(uint256)": TypedContractEvent<PeriodDurationUpdatedEvent.InputTuple, PeriodDurationUpdatedEvent.OutputTuple, PeriodDurationUpdatedEvent.OutputObject>;
|
|
1225
|
+
PeriodDurationUpdated: TypedContractEvent<PeriodDurationUpdatedEvent.InputTuple, PeriodDurationUpdatedEvent.OutputTuple, PeriodDurationUpdatedEvent.OutputObject>;
|
|
758
1226
|
"PeriodUpdated(uint256,uint256)": TypedContractEvent<PeriodUpdatedEvent.InputTuple, PeriodUpdatedEvent.OutputTuple, PeriodUpdatedEvent.OutputObject>;
|
|
759
1227
|
PeriodUpdated: TypedContractEvent<PeriodUpdatedEvent.InputTuple, PeriodUpdatedEvent.OutputTuple, PeriodUpdatedEvent.OutputObject>;
|
|
760
|
-
"RewardNotified(uint256)": TypedContractEvent<RewardNotifiedEvent.InputTuple, RewardNotifiedEvent.OutputTuple, RewardNotifiedEvent.OutputObject>;
|
|
1228
|
+
"RewardNotified(address,uint256,uint256)": TypedContractEvent<RewardNotifiedEvent.InputTuple, RewardNotifiedEvent.OutputTuple, RewardNotifiedEvent.OutputObject>;
|
|
761
1229
|
RewardNotified: TypedContractEvent<RewardNotifiedEvent.InputTuple, RewardNotifiedEvent.OutputTuple, RewardNotifiedEvent.OutputObject>;
|
|
762
|
-
"RewardPaid(address,uint256)": TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
1230
|
+
"RewardPaid(address,address,uint256)": TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
763
1231
|
RewardPaid: TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
764
|
-
"
|
|
765
|
-
|
|
1232
|
+
"RewardTokenAdded(address)": TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
1233
|
+
RewardTokenAdded: TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
766
1234
|
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
767
1235
|
RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
768
1236
|
"RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
@@ -773,7 +1241,13 @@ export interface BaseGauge extends BaseContract {
|
|
|
773
1241
|
Staked: TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
774
1242
|
"Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
775
1243
|
Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
1244
|
+
"UserRewardDataUpdated(address,address,uint256,uint256)": TypedContractEvent<UserRewardDataUpdatedEvent.InputTuple, UserRewardDataUpdatedEvent.OutputTuple, UserRewardDataUpdatedEvent.OutputObject>;
|
|
1245
|
+
UserRewardDataUpdated: TypedContractEvent<UserRewardDataUpdatedEvent.InputTuple, UserRewardDataUpdatedEvent.OutputTuple, UserRewardDataUpdatedEvent.OutputObject>;
|
|
1246
|
+
"UserRewardsUpdated(address,uint256)": TypedContractEvent<UserRewardsUpdatedEvent.InputTuple, UserRewardsUpdatedEvent.OutputTuple, UserRewardsUpdatedEvent.OutputObject>;
|
|
1247
|
+
UserRewardsUpdated: TypedContractEvent<UserRewardsUpdatedEvent.InputTuple, UserRewardsUpdatedEvent.OutputTuple, UserRewardsUpdatedEvent.OutputObject>;
|
|
776
1248
|
"Withdrawn(address,uint256)": TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
777
1249
|
Withdrawn: TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
1250
|
+
"WorkingBalanceUpdated(address,uint256)": TypedContractEvent<WorkingBalanceUpdatedEvent.InputTuple, WorkingBalanceUpdatedEvent.OutputTuple, WorkingBalanceUpdatedEvent.OutputObject>;
|
|
1251
|
+
WorkingBalanceUpdated: TypedContractEvent<WorkingBalanceUpdatedEvent.InputTuple, WorkingBalanceUpdatedEvent.OutputTuple, WorkingBalanceUpdatedEvent.OutputObject>;
|
|
778
1252
|
};
|
|
779
1253
|
}
|