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