@raac/rpc 1.1.0-beta.5 → 1.1.0-beta.7
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 +66 -23
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +83 -29
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +82 -31
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +114 -5
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +2 -2
- package/dist/artifacts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.json +465 -0
- package/dist/artifacts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.json +497 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1065 -337
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +180 -99
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +20 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -29
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +158 -38
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +2 -2
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +2 -29
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +553 -224
- package/dist/artifacts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.json +354 -0
- package/dist/artifacts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.json +356 -0
- package/dist/artifacts/core/vaults/RWAVault.sol/RWAVault.json +1036 -0
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +622 -207
- package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +2 -2
- package/dist/artifacts/zeno/Auction.sol/Auction.json +89 -15
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +2 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +108 -38
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +2 -2
- package/dist/configs/chains/11155111.json +8 -3
- package/dist/configs/chains/17000.json +38 -3
- package/dist/configs/chains/8453.json +49 -14
- package/dist/configs/createConfig.js +3 -3
- package/dist/pools/lendingPool/_helpers.js +41 -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 +11 -14
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +11 -29
- package/dist/pools/lendingPool/calculateInsuranceFee.js +12 -8
- package/dist/pools/lendingPool/closeLiquidation.js +16 -14
- package/dist/pools/lendingPool/depositAssetToLendingPool.js +22 -0
- package/dist/pools/lendingPool/depositToLendingPool.js +2 -5
- package/dist/pools/lendingPool/getAdapterAddress.js +44 -0
- package/dist/pools/lendingPool/getAdapters.js +20 -0
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +2 -5
- package/dist/pools/lendingPool/getHealthFactor.js +15 -13
- package/dist/pools/lendingPool/getLendingPoolInfo.js +10 -25
- package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +2 -6
- package/dist/pools/lendingPool/getParameters.js +29 -0
- package/dist/pools/lendingPool/getPositionDebt.js +12 -11
- package/dist/pools/lendingPool/getPositionScaledDebt.js +16 -13
- package/dist/pools/lendingPool/getPositionView.js +16 -10
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +3 -5
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +2 -5
- package/dist/pools/lendingPool/getUserCollateralValue.js +3 -5
- package/dist/pools/lendingPool/getWithdrawRequestInfo.js +25 -0
- package/dist/pools/lendingPool/initializeLiquidation.js +12 -12
- package/dist/pools/lendingPool/openVaultPosition.js +42 -0
- package/dist/pools/lendingPool/repayToLendingPool.js +11 -14
- package/dist/pools/lendingPool/requestWithdraw.js +28 -0
- package/dist/pools/lendingPool/types.js +2 -0
- package/dist/pools/lendingPool/withdrawAssetFromLendingPool.js +22 -0
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +3 -4
- package/dist/pools/rwaVault/_helpers.js +41 -0
- 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 +23 -0
- package/dist/pools/rwaVault/getAdapterAddress.js +43 -0
- package/dist/pools/rwaVault/getAdapters.js +20 -0
- package/dist/pools/rwaVault/getNextRandomNFT.js +21 -0
- package/dist/pools/rwaVault/getRWAVaultInfo.js +48 -0
- package/dist/pools/rwaVault/redeemNFTFromRWAVault.js +23 -0
- package/dist/pools/rwaVault/requestRandomSeed.js +23 -0
- package/dist/pools/rwaVault/types.js +2 -0
- package/dist/scripts/index.js +81 -64
- package/dist/types/RPCLibrary.d.ts +55 -22
- package/dist/types/configs/createConfig.d.ts +1 -1
- package/dist/types/pools/lendingPool/_helpers.d.ts +10 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.d.ts +3 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.d.ts +10 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.d.ts +3 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.d.ts +10 -0
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +4 -3
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +4 -3
- package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +3 -2
- package/dist/types/pools/lendingPool/closeLiquidation.d.ts +7 -5
- package/dist/types/pools/lendingPool/depositAssetToLendingPool.d.ts +5 -0
- package/dist/types/pools/lendingPool/getAdapterAddress.d.ts +16 -0
- package/dist/types/pools/lendingPool/getAdapters.d.ts +8 -0
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +6 -4
- 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 +4 -3
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +8 -5
- package/dist/types/pools/lendingPool/getPositionView.d.ts +14 -18
- package/dist/types/pools/lendingPool/getWithdrawRequestInfo.d.ts +8 -0
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +4 -3
- package/dist/types/pools/lendingPool/openVaultPosition.d.ts +4 -0
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +4 -3
- package/dist/types/pools/lendingPool/requestWithdraw.d.ts +4 -0
- package/dist/types/pools/lendingPool/types.d.ts +7 -0
- package/dist/types/pools/lendingPool/withdrawAssetFromLendingPool.d.ts +5 -0
- package/dist/types/pools/rwaVault/_helpers.d.ts +10 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.d.ts +9 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.d.ts +9 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/depositToRWAVault.d.ts +5 -0
- package/dist/types/pools/rwaVault/getAdapterAddress.d.ts +16 -0
- package/dist/types/pools/rwaVault/getAdapters.d.ts +8 -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/pools/rwaVault/types.d.ts +7 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.d.ts +103 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver.d.ts +37 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface.d.ts +143 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI.d.ts +529 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus.d.ts +109 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +6 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus.d.ts +192 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus.d.ts +45 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus.d.ts +155 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient.d.ts +25 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +4 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock.d.ts +731 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/Ownable2Step.d.ts +77 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.d.ts +231 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC2981.d.ts +49 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/Errors.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/MerkleProof.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +30 -1
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/IWETH10Minimal.d.ts +53 -0
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector.d.ts +115 -0
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/collectors/Treasury.d.ts +15 -1
- package/dist/types/typechain-types/contracts/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +616 -142
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +396 -108
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeRewardsDistributor.d.ts +623 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +609 -155
- package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +610 -156
- package/dist/types/typechain-types/contracts/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/governance/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/governance/proposals/Governance.d.ts +45 -67
- package/dist/types/typechain-types/contracts/core/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/core/lockers/LLamaTemple.d.ts +721 -0
- package/dist/types/typechain-types/contracts/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +69 -12
- package/dist/types/typechain-types/contracts/core/oracles/BaseChainlinkFunctionsOracle.d.ts +22 -4
- package/dist/types/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +40 -2
- package/dist/types/typechain-types/contracts/core/oracles/RAACHousePriceOracle.d.ts +41 -8
- package/dist/types/typechain-types/contracts/core/oracles/RAACPrimeRateOracle.d.ts +39 -7
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.d.ts +232 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IERC20Adapter.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.d.ts +254 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +728 -205
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPoolStorage.d.ts +440 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LiquidationProxy.d.ts +538 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/VaultProxy.d.ts +485 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/index.d.ts +7 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationStrategyProxy.d.ts +158 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationSwap.d.ts +124 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +135 -79
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPoolStorage.d.ts +140 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/contracts/core/primitives/ComplianceRegistry.d.ts +203 -0
- package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +23 -1
- package/dist/types/typechain-types/contracts/core/primitives/WithCompliance.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +6 -15
- package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +94 -11
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +1 -17
- package/dist/types/typechain-types/contracts/core/tokens/RWAIndexToken.d.ts +264 -0
- package/dist/types/typechain-types/contracts/core/tokens/VeRAACToken.d.ts +433 -172
- package/dist/types/typechain-types/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.d.ts +174 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.d.ts +178 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/RWAVault.d.ts +511 -0
- package/dist/types/typechain-types/contracts/core/vaults/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/interfaces/IComplianceRegistry.d.ts +63 -0
- package/dist/types/typechain-types/contracts/interfaces/INFTLiquidator.d.ts +190 -23
- package/dist/types/typechain-types/contracts/interfaces/INFTWhitelist.d.ts +75 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +9 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IBaseGauge.d.ts +527 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +222 -40
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor.d.ts +351 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/IGovernance.d.ts +45 -67
- package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaLocker.d.ts +332 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaTemple.d.ts +302 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +30 -1
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +5 -1
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +31 -24
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IAssetAdapter.d.ts +143 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IERC721Adapter.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +369 -150
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage.d.ts +102 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +19 -64
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +6 -15
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +70 -7
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IVaultToken.d.ts +197 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IveRAACToken.d.ts +295 -36
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseHybridVault.d.ts +208 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IVaultAssetAdapter.d.ts +89 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/ICurveLiquidityGaugeV5.d.ts +357 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/contracts/interfaces/zeno/IAuction.d.ts +18 -3
- package/dist/types/typechain-types/contracts/interfaces/zeno/IZENO.d.ts +31 -1
- package/dist/types/typechain-types/contracts/libraries/governance/LockManager.d.ts +9 -2
- package/dist/types/typechain-types/contracts/libraries/governance/PowerCheckpoint.d.ts +34 -1
- package/dist/types/typechain-types/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/libraries/math/TimeWeightedAverage.d.ts +1 -25
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockWETH.d.ts +225 -0
- package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock.d.ts +56 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge.d.ts +35 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockGaugeController.d.ts +2 -6
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker.d.ts +394 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle.d.ts +33 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.d.ts +2 -2
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +349 -148
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACHousePriceOracle.d.ts +41 -8
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACPrimeRateOracle.d.ts +39 -7
- package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +367 -140
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockFeeCollectorToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/BoostCalculatorMock.d.ts +68 -139
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/LockManagerMock.d.ts +19 -9
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/PowerCheckpointMock.d.ts +37 -18
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/mocks/tests/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/zeno/Auction.d.ts +37 -8
- package/dist/types/typechain-types/contracts/zeno/ZENO.d.ts +62 -6
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface__factory.d.ts +93 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface__factory.d.ts +191 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI__factory.d.ts +663 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus__factory.d.ts +139 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus__factory.d.ts +194 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus__factory.d.ts +27 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus__factory.d.ts +155 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock__factory.d.ts +944 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.d.ts +95 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.d.ts +289 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC2981__factory.d.ts +43 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +1 -13
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.d.ts +50 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.d.ts +9 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.d.ts +26 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +65 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/IWETH10Minimal__factory.d.ts +49 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector__factory.d.ts +177 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +15 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +698 -144
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +461 -137
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +848 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +686 -162
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +689 -155
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +42 -80
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/LLamaTemple__factory.d.ts +1028 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +66 -25
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseChainlinkFunctionsOracle__factory.d.ts +37 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +90 -6
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +64 -9
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter__factory.d.ts +369 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IERC20Adapter__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter__factory.d.ts +393 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPoolStorage__factory.d.ts +578 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +881 -306
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LiquidationProxy__factory.d.ts +716 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/VaultProxy__factory.d.ts +636 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/index.d.ts +5 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationStrategyProxy__factory.d.ts +281 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationSwap__factory.d.ts +227 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPoolStorage__factory.d.ts +255 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +151 -85
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry__factory.d.ts +276 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +29 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/WithCompliance__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/DEToken__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +7 -11
- package/dist/types/typechain-types/factories/contracts/core/tokens/LPToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +124 -31
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +1 -61
- package/dist/types/typechain-types/factories/contracts/core/tokens/RWAIndexToken__factory.d.ts +465 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +446 -186
- package/dist/types/typechain-types/factories/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter__factory.d.ts +285 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter__factory.d.ts +287 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/RWAVault__factory.d.ts +808 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IComplianceRegistry__factory.d.ts +67 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTLiquidator__factory.d.ts +213 -6
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTWhitelist__factory.d.ts +77 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IBaseGauge__factory.d.ts +643 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +239 -65
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts +425 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/IGovernance__factory.d.ts +41 -79
- package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaLocker__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaTemple__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver__factory.d.ts +35 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +14 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +24 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IAssetAdapter__factory.d.ts +189 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IERC721Adapter__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage__factory.d.ts +183 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +428 -143
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage__factory.d.ts +56 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +26 -75
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +6 -10
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +79 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IVaultToken__factory.d.ts +223 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IveRAACToken__factory.d.ts +355 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IBaseHybridVault__factory.d.ts +256 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IVaultAssetAdapter__factory.d.ts +119 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/ICurveLiquidityGaugeV5__factory.d.ts +503 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IAuction__factory.d.ts +44 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IZENO__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/BoostCalculator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/LockManager__factory.d.ts +10 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +47 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +1 -29
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/utils/StringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockTreasury__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockWETH__factory.d.ts +353 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock__factory.d.ts +65 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeController__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker__factory.d.ts +591 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +2 -2
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +490 -166
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +67 -12
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +427 -132
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContractWithConfig__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContract__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/RAACHousePricesMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/CrvUSDToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC20Mock__factory.d.ts +8 -4
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC721Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockFeeCollectorToken__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockUSDC__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/RAACMockERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/BoostCalculatorMock__factory.d.ts +53 -122
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +21 -12
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +39 -14
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/TimeWeightedAverageMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/WadRayMathMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousDeposit__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousWithdraw__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +83 -14
- package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +13 -1
- package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +87 -31
- package/dist/types/typechain-types/index.d.ts +112 -40
- package/dist/types/utils/artifacts.d.ts +460 -44
- package/dist/utils/artifacts.js +13 -2
- package/package.json +1 -1
- package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +0 -770
- package/dist/contracts/indexToken/getNextRandomNFT.js +0 -30
- package/dist/contracts/indexToken/redeemNFT.js +0 -39
- package/dist/pools/lendingPool/claimReward.js +0 -22
- package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -50
- package/dist/pools/lendingPool/getAllUserData.js +0 -28
- package/dist/pools/lendingPool/getPendingReward.js +0 -20
- package/dist/pools/lendingPool/getUserOfDepositedNFT.js +0 -27
- package/dist/pools/lendingPool/withdrawNFTFromLendingPool.js +0 -24
- package/dist/pools/stabilityPool/calculateRAACRewards.js +0 -21
- package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +0 -40
- package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +0 -7
- package/dist/types/contracts/indexToken/redeemNFT.d.ts +0 -4
- package/dist/types/pools/lendingPool/claimReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/depositNFTToLendingPool.d.ts +0 -4
- package/dist/types/pools/lendingPool/getAllUserData.d.ts +0 -17
- package/dist/types/pools/lendingPool/getPendingReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/getUserOfDepositedNFT.d.ts +0 -11
- package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +0 -4
- package/dist/types/pools/stabilityPool/calculateRAACRewards.d.ts +0 -4
- package/dist/types/pools/stabilityPool/depositNFTToStabilityPool.d.ts +0 -4
|
@@ -1,59 +1,64 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
|
-
export declare namespace
|
|
3
|
+
export declare namespace IveRAACToken {
|
|
4
4
|
type BoostStateViewStruct = {
|
|
5
5
|
minBoost: BigNumberish;
|
|
6
6
|
maxBoost: BigNumberish;
|
|
7
7
|
boostWindow: BigNumberish;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
totalStaked: BigNumberish;
|
|
9
|
+
userStaked: BigNumberish;
|
|
10
10
|
};
|
|
11
11
|
type BoostStateViewStructOutput = [
|
|
12
12
|
minBoost: bigint,
|
|
13
13
|
maxBoost: bigint,
|
|
14
14
|
boostWindow: bigint,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
totalStaked: bigint,
|
|
16
|
+
userStaked: bigint
|
|
17
17
|
] & {
|
|
18
18
|
minBoost: bigint;
|
|
19
19
|
maxBoost: bigint;
|
|
20
20
|
boostWindow: bigint;
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
totalStaked: bigint;
|
|
22
|
+
userStaked: bigint;
|
|
23
23
|
};
|
|
24
|
-
}
|
|
25
|
-
export declare namespace IveRAACToken {
|
|
26
24
|
type LockPositionStruct = {
|
|
27
25
|
amount: BigNumberish;
|
|
26
|
+
start: BigNumberish;
|
|
28
27
|
end: BigNumberish;
|
|
29
28
|
power: BigNumberish;
|
|
30
29
|
};
|
|
31
30
|
type LockPositionStructOutput = [
|
|
32
31
|
amount: bigint,
|
|
32
|
+
start: bigint,
|
|
33
33
|
end: bigint,
|
|
34
34
|
power: bigint
|
|
35
35
|
] & {
|
|
36
36
|
amount: bigint;
|
|
37
|
+
start: bigint;
|
|
37
38
|
end: bigint;
|
|
38
39
|
power: bigint;
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
export interface VeRAACTokenInterface extends Interface {
|
|
42
|
-
getFunction(nameOrSignature: "EMERGENCY_DELAY" | "
|
|
43
|
-
getEvent(nameOrSignatureOrTopic: "Approval" | "CheckpointCreated" | "EmergencyActionCancelled" | "EmergencyActionScheduled" | "EmergencyUnlockEnabled" | "EmergencyUnlockScheduled" | "EmergencyWithdrawEnabled" | "EmergencyWithdrawn" | "LockCreated(address,uint256,uint256)" | "LockCreated(address,uint256,uint256)" | "LockExtended(address,uint256)" | "LockExtended(address,uint256)" | "LockIncreased(address,uint256)" | "LockIncreased(address,uint256)" | "Locked" | "MinterSet" | "OwnershipTransferred" | "PeriodCreated" | "
|
|
43
|
+
getFunction(nameOrSignature: "EMERGENCY_DELAY" | "MAX_TOTAL_LOCKED_AMOUNT" | "PRECISION" | "REWARD_DURATION" | "addRewardToken" | "allowance" | "approve" | "balanceOf" | "balanceOfAt" | "calculateBoost" | "calculateVeAmount" | "cancelEmergencyAction" | "claimReward" | "claimable" | "claimed" | "decimals" | "earned" | "emergencyUnlockEnabled" | "emergencyWithdraw" | "emergencyWithdrawDelay" | "enableEmergencyWithdraw" | "executeEmergencyUnlock" | "extend" | "getBoostState" | "getCurrentBoost" | "getLockEndTime" | "getLockPosition" | "getMaxBoost" | "getMaxLockDuration" | "getMinBoost" | "getMinLockDuration" | "increase" | "isRewardToken" | "lock" | "name" | "notifyRewardAmount" | "owner" | "paused" | "raacToken" | "rawBalanceOf" | "rawTotalSupply" | "removeRewardToken" | "renounceOwnership" | "rewardData" | "rewardPerToken" | "rewardTokens" | "scheduleEmergencyAction" | "scheduleEmergencyUnlock" | "setMaxBoost" | "setMaxLockDuration" | "setMinBoost" | "setMinLockDuration" | "symbol" | "totalSupply" | "totalSupplyAt" | "transfer" | "transferFrom" | "transferOwnership" | "userRewardData" | "withdraw"): FunctionFragment;
|
|
44
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "CheckpointCreated" | "CheckpointWritten" | "EmergencyActionCancelled" | "EmergencyActionScheduled" | "EmergencyUnlockEnabled" | "EmergencyUnlockScheduled" | "EmergencyWithdrawEnabled" | "EmergencyWithdrawn" | "LockCreated(address,uint256,uint256)" | "LockCreated(address,uint256,uint256,uint256)" | "LockExtended(address,uint256)" | "LockExtended(address,uint256)" | "LockIncreased(address,uint256)" | "LockIncreased(address,uint256)" | "Locked" | "MaxBoostUpdated" | "MaxLockDurationUpdated" | "MinBoostUpdated" | "MinLockDurationUpdated" | "MinterSet" | "OwnershipTransferred" | "PeriodCreated" | "RewardNotified" | "RewardPaid" | "RewardTokenAdded" | "RewardTokenRemoved" | "Transfer" | "VoteCast" | "Withdrawn"): EventFragment;
|
|
44
45
|
encodeFunctionData(functionFragment: "EMERGENCY_DELAY", values?: undefined): string;
|
|
45
|
-
encodeFunctionData(functionFragment: "MAX_BOOST", values?: undefined): string;
|
|
46
|
-
encodeFunctionData(functionFragment: "MAX_LOCK_DURATION", values?: undefined): string;
|
|
47
46
|
encodeFunctionData(functionFragment: "MAX_TOTAL_LOCKED_AMOUNT", values?: undefined): string;
|
|
48
|
-
encodeFunctionData(functionFragment: "
|
|
49
|
-
encodeFunctionData(functionFragment: "
|
|
47
|
+
encodeFunctionData(functionFragment: "PRECISION", values?: undefined): string;
|
|
48
|
+
encodeFunctionData(functionFragment: "REWARD_DURATION", values?: undefined): string;
|
|
49
|
+
encodeFunctionData(functionFragment: "addRewardToken", values: [AddressLike]): string;
|
|
50
50
|
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
51
51
|
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
52
52
|
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
53
|
+
encodeFunctionData(functionFragment: "balanceOfAt", values: [AddressLike, BigNumberish]): string;
|
|
53
54
|
encodeFunctionData(functionFragment: "calculateBoost", values: [AddressLike, BigNumberish]): string;
|
|
54
55
|
encodeFunctionData(functionFragment: "calculateVeAmount", values: [BigNumberish, BigNumberish]): string;
|
|
55
56
|
encodeFunctionData(functionFragment: "cancelEmergencyAction", values: [BytesLike]): string;
|
|
57
|
+
encodeFunctionData(functionFragment: "claimReward", values: [AddressLike]): string;
|
|
58
|
+
encodeFunctionData(functionFragment: "claimable", values: [AddressLike, AddressLike]): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "claimed", values: [AddressLike, AddressLike]): string;
|
|
56
60
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
61
|
+
encodeFunctionData(functionFragment: "earned", values: [AddressLike, AddressLike]): string;
|
|
57
62
|
encodeFunctionData(functionFragment: "emergencyUnlockEnabled", values?: undefined): string;
|
|
58
63
|
encodeFunctionData(functionFragment: "emergencyWithdraw", values?: undefined): string;
|
|
59
64
|
encodeFunctionData(functionFragment: "emergencyWithdrawDelay", values?: undefined): string;
|
|
@@ -61,49 +66,59 @@ export interface VeRAACTokenInterface extends Interface {
|
|
|
61
66
|
encodeFunctionData(functionFragment: "executeEmergencyUnlock", values?: undefined): string;
|
|
62
67
|
encodeFunctionData(functionFragment: "extend", values: [BigNumberish]): string;
|
|
63
68
|
encodeFunctionData(functionFragment: "getBoostState", values?: undefined): string;
|
|
64
|
-
encodeFunctionData(functionFragment: "getBoostWindow", values?: undefined): string;
|
|
65
69
|
encodeFunctionData(functionFragment: "getCurrentBoost", values: [AddressLike]): string;
|
|
66
70
|
encodeFunctionData(functionFragment: "getLockEndTime", values: [AddressLike]): string;
|
|
67
71
|
encodeFunctionData(functionFragment: "getLockPosition", values: [AddressLike]): string;
|
|
68
|
-
encodeFunctionData(functionFragment: "
|
|
69
|
-
encodeFunctionData(functionFragment: "
|
|
70
|
-
encodeFunctionData(functionFragment: "
|
|
71
|
-
encodeFunctionData(functionFragment: "
|
|
72
|
-
encodeFunctionData(functionFragment: "getVotingPower(address)", values: [AddressLike]): string;
|
|
73
|
-
encodeFunctionData(functionFragment: "getVotingPowerForProposal", values: [AddressLike, BigNumberish]): string;
|
|
72
|
+
encodeFunctionData(functionFragment: "getMaxBoost", values?: undefined): string;
|
|
73
|
+
encodeFunctionData(functionFragment: "getMaxLockDuration", values?: undefined): string;
|
|
74
|
+
encodeFunctionData(functionFragment: "getMinBoost", values?: undefined): string;
|
|
75
|
+
encodeFunctionData(functionFragment: "getMinLockDuration", values?: undefined): string;
|
|
74
76
|
encodeFunctionData(functionFragment: "increase", values: [BigNumberish]): string;
|
|
77
|
+
encodeFunctionData(functionFragment: "isRewardToken", values: [AddressLike]): string;
|
|
75
78
|
encodeFunctionData(functionFragment: "lock", values: [BigNumberish, BigNumberish]): string;
|
|
76
|
-
encodeFunctionData(functionFragment: "locks", values: [AddressLike]): string;
|
|
77
|
-
encodeFunctionData(functionFragment: "minter", values?: undefined): string;
|
|
78
79
|
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
80
|
+
encodeFunctionData(functionFragment: "notifyRewardAmount", values: [AddressLike, BigNumberish]): string;
|
|
79
81
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
80
82
|
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
81
|
-
encodeFunctionData(functionFragment: "proposalPowerSnapshots", values: [BigNumberish]): string;
|
|
82
83
|
encodeFunctionData(functionFragment: "raacToken", values?: undefined): string;
|
|
83
|
-
encodeFunctionData(functionFragment: "
|
|
84
|
+
encodeFunctionData(functionFragment: "rawBalanceOf", values: [AddressLike]): string;
|
|
85
|
+
encodeFunctionData(functionFragment: "rawTotalSupply", values?: undefined): string;
|
|
86
|
+
encodeFunctionData(functionFragment: "removeRewardToken", values: [AddressLike]): string;
|
|
84
87
|
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
88
|
+
encodeFunctionData(functionFragment: "rewardData", values: [AddressLike]): string;
|
|
89
|
+
encodeFunctionData(functionFragment: "rewardPerToken", values: [AddressLike]): string;
|
|
90
|
+
encodeFunctionData(functionFragment: "rewardTokens", values: [BigNumberish]): string;
|
|
85
91
|
encodeFunctionData(functionFragment: "scheduleEmergencyAction", values: [BytesLike]): string;
|
|
86
92
|
encodeFunctionData(functionFragment: "scheduleEmergencyUnlock", values?: undefined): string;
|
|
87
|
-
encodeFunctionData(functionFragment: "
|
|
93
|
+
encodeFunctionData(functionFragment: "setMaxBoost", values: [BigNumberish]): string;
|
|
94
|
+
encodeFunctionData(functionFragment: "setMaxLockDuration", values: [BigNumberish]): string;
|
|
95
|
+
encodeFunctionData(functionFragment: "setMinBoost", values: [BigNumberish]): string;
|
|
96
|
+
encodeFunctionData(functionFragment: "setMinLockDuration", values: [BigNumberish]): string;
|
|
88
97
|
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
89
98
|
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
99
|
+
encodeFunctionData(functionFragment: "totalSupplyAt", values: [BigNumberish]): string;
|
|
90
100
|
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
91
101
|
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
92
102
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
103
|
+
encodeFunctionData(functionFragment: "userRewardData", values: [AddressLike, AddressLike]): string;
|
|
93
104
|
encodeFunctionData(functionFragment: "withdraw", values?: undefined): string;
|
|
94
105
|
decodeFunctionResult(functionFragment: "EMERGENCY_DELAY", data: BytesLike): Result;
|
|
95
|
-
decodeFunctionResult(functionFragment: "MAX_BOOST", data: BytesLike): Result;
|
|
96
|
-
decodeFunctionResult(functionFragment: "MAX_LOCK_DURATION", data: BytesLike): Result;
|
|
97
106
|
decodeFunctionResult(functionFragment: "MAX_TOTAL_LOCKED_AMOUNT", data: BytesLike): Result;
|
|
98
|
-
decodeFunctionResult(functionFragment: "
|
|
99
|
-
decodeFunctionResult(functionFragment: "
|
|
107
|
+
decodeFunctionResult(functionFragment: "PRECISION", data: BytesLike): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: "REWARD_DURATION", data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: "addRewardToken", data: BytesLike): Result;
|
|
100
110
|
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
101
111
|
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
102
112
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
113
|
+
decodeFunctionResult(functionFragment: "balanceOfAt", data: BytesLike): Result;
|
|
103
114
|
decodeFunctionResult(functionFragment: "calculateBoost", data: BytesLike): Result;
|
|
104
115
|
decodeFunctionResult(functionFragment: "calculateVeAmount", data: BytesLike): Result;
|
|
105
116
|
decodeFunctionResult(functionFragment: "cancelEmergencyAction", data: BytesLike): Result;
|
|
117
|
+
decodeFunctionResult(functionFragment: "claimReward", data: BytesLike): Result;
|
|
118
|
+
decodeFunctionResult(functionFragment: "claimable", data: BytesLike): Result;
|
|
119
|
+
decodeFunctionResult(functionFragment: "claimed", data: BytesLike): Result;
|
|
106
120
|
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
121
|
+
decodeFunctionResult(functionFragment: "earned", data: BytesLike): Result;
|
|
107
122
|
decodeFunctionResult(functionFragment: "emergencyUnlockEnabled", data: BytesLike): Result;
|
|
108
123
|
decodeFunctionResult(functionFragment: "emergencyWithdraw", data: BytesLike): Result;
|
|
109
124
|
decodeFunctionResult(functionFragment: "emergencyWithdrawDelay", data: BytesLike): Result;
|
|
@@ -111,35 +126,41 @@ export interface VeRAACTokenInterface extends Interface {
|
|
|
111
126
|
decodeFunctionResult(functionFragment: "executeEmergencyUnlock", data: BytesLike): Result;
|
|
112
127
|
decodeFunctionResult(functionFragment: "extend", data: BytesLike): Result;
|
|
113
128
|
decodeFunctionResult(functionFragment: "getBoostState", data: BytesLike): Result;
|
|
114
|
-
decodeFunctionResult(functionFragment: "getBoostWindow", data: BytesLike): Result;
|
|
115
129
|
decodeFunctionResult(functionFragment: "getCurrentBoost", data: BytesLike): Result;
|
|
116
130
|
decodeFunctionResult(functionFragment: "getLockEndTime", data: BytesLike): Result;
|
|
117
131
|
decodeFunctionResult(functionFragment: "getLockPosition", data: BytesLike): Result;
|
|
118
|
-
decodeFunctionResult(functionFragment: "
|
|
119
|
-
decodeFunctionResult(functionFragment: "
|
|
120
|
-
decodeFunctionResult(functionFragment: "
|
|
121
|
-
decodeFunctionResult(functionFragment: "
|
|
122
|
-
decodeFunctionResult(functionFragment: "getVotingPower(address)", data: BytesLike): Result;
|
|
123
|
-
decodeFunctionResult(functionFragment: "getVotingPowerForProposal", data: BytesLike): Result;
|
|
132
|
+
decodeFunctionResult(functionFragment: "getMaxBoost", data: BytesLike): Result;
|
|
133
|
+
decodeFunctionResult(functionFragment: "getMaxLockDuration", data: BytesLike): Result;
|
|
134
|
+
decodeFunctionResult(functionFragment: "getMinBoost", data: BytesLike): Result;
|
|
135
|
+
decodeFunctionResult(functionFragment: "getMinLockDuration", data: BytesLike): Result;
|
|
124
136
|
decodeFunctionResult(functionFragment: "increase", data: BytesLike): Result;
|
|
137
|
+
decodeFunctionResult(functionFragment: "isRewardToken", data: BytesLike): Result;
|
|
125
138
|
decodeFunctionResult(functionFragment: "lock", data: BytesLike): Result;
|
|
126
|
-
decodeFunctionResult(functionFragment: "locks", data: BytesLike): Result;
|
|
127
|
-
decodeFunctionResult(functionFragment: "minter", data: BytesLike): Result;
|
|
128
139
|
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
140
|
+
decodeFunctionResult(functionFragment: "notifyRewardAmount", data: BytesLike): Result;
|
|
129
141
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
130
142
|
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
131
|
-
decodeFunctionResult(functionFragment: "proposalPowerSnapshots", data: BytesLike): Result;
|
|
132
143
|
decodeFunctionResult(functionFragment: "raacToken", data: BytesLike): Result;
|
|
133
|
-
decodeFunctionResult(functionFragment: "
|
|
144
|
+
decodeFunctionResult(functionFragment: "rawBalanceOf", data: BytesLike): Result;
|
|
145
|
+
decodeFunctionResult(functionFragment: "rawTotalSupply", data: BytesLike): Result;
|
|
146
|
+
decodeFunctionResult(functionFragment: "removeRewardToken", data: BytesLike): Result;
|
|
134
147
|
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
148
|
+
decodeFunctionResult(functionFragment: "rewardData", data: BytesLike): Result;
|
|
149
|
+
decodeFunctionResult(functionFragment: "rewardPerToken", data: BytesLike): Result;
|
|
150
|
+
decodeFunctionResult(functionFragment: "rewardTokens", data: BytesLike): Result;
|
|
135
151
|
decodeFunctionResult(functionFragment: "scheduleEmergencyAction", data: BytesLike): Result;
|
|
136
152
|
decodeFunctionResult(functionFragment: "scheduleEmergencyUnlock", data: BytesLike): Result;
|
|
137
|
-
decodeFunctionResult(functionFragment: "
|
|
153
|
+
decodeFunctionResult(functionFragment: "setMaxBoost", data: BytesLike): Result;
|
|
154
|
+
decodeFunctionResult(functionFragment: "setMaxLockDuration", data: BytesLike): Result;
|
|
155
|
+
decodeFunctionResult(functionFragment: "setMinBoost", data: BytesLike): Result;
|
|
156
|
+
decodeFunctionResult(functionFragment: "setMinLockDuration", data: BytesLike): Result;
|
|
138
157
|
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
139
158
|
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
159
|
+
decodeFunctionResult(functionFragment: "totalSupplyAt", data: BytesLike): Result;
|
|
140
160
|
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
141
161
|
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
142
162
|
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
163
|
+
decodeFunctionResult(functionFragment: "userRewardData", data: BytesLike): Result;
|
|
143
164
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
144
165
|
}
|
|
145
166
|
export declare namespace ApprovalEvent {
|
|
@@ -176,6 +197,18 @@ export declare namespace CheckpointCreatedEvent {
|
|
|
176
197
|
type Log = TypedEventLog<Event>;
|
|
177
198
|
type LogDescription = TypedLogDescription<Event>;
|
|
178
199
|
}
|
|
200
|
+
export declare namespace CheckpointWrittenEvent {
|
|
201
|
+
type InputTuple = [blockNumber: BigNumberish, value: BigNumberish];
|
|
202
|
+
type OutputTuple = [blockNumber: bigint, value: bigint];
|
|
203
|
+
interface OutputObject {
|
|
204
|
+
blockNumber: bigint;
|
|
205
|
+
value: bigint;
|
|
206
|
+
}
|
|
207
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
208
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
209
|
+
type Log = TypedEventLog<Event>;
|
|
210
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
211
|
+
}
|
|
179
212
|
export declare namespace EmergencyActionCancelledEvent {
|
|
180
213
|
type InputTuple = [actionId: BytesLike];
|
|
181
214
|
type OutputTuple = [actionId: string];
|
|
@@ -259,16 +292,23 @@ export declare namespace LockCreated_address_uint256_uint256_Event {
|
|
|
259
292
|
type Log = TypedEventLog<Event>;
|
|
260
293
|
type LogDescription = TypedLogDescription<Event>;
|
|
261
294
|
}
|
|
262
|
-
export declare namespace
|
|
295
|
+
export declare namespace LockCreated_address_uint256_uint256_uint256_Event {
|
|
263
296
|
type InputTuple = [
|
|
264
297
|
user: AddressLike,
|
|
265
298
|
amount: BigNumberish,
|
|
299
|
+
start: BigNumberish,
|
|
266
300
|
end: BigNumberish
|
|
267
301
|
];
|
|
268
|
-
type OutputTuple = [
|
|
302
|
+
type OutputTuple = [
|
|
303
|
+
user: string,
|
|
304
|
+
amount: bigint,
|
|
305
|
+
start: bigint,
|
|
306
|
+
end: bigint
|
|
307
|
+
];
|
|
269
308
|
interface OutputObject {
|
|
270
309
|
user: string;
|
|
271
310
|
amount: bigint;
|
|
311
|
+
start: bigint;
|
|
272
312
|
end: bigint;
|
|
273
313
|
}
|
|
274
314
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
@@ -345,6 +385,54 @@ export declare namespace LockedEvent {
|
|
|
345
385
|
type Log = TypedEventLog<Event>;
|
|
346
386
|
type LogDescription = TypedLogDescription<Event>;
|
|
347
387
|
}
|
|
388
|
+
export declare namespace MaxBoostUpdatedEvent {
|
|
389
|
+
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
390
|
+
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
391
|
+
interface OutputObject {
|
|
392
|
+
oldValue: bigint;
|
|
393
|
+
newValue: bigint;
|
|
394
|
+
}
|
|
395
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
396
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
397
|
+
type Log = TypedEventLog<Event>;
|
|
398
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
399
|
+
}
|
|
400
|
+
export declare namespace MaxLockDurationUpdatedEvent {
|
|
401
|
+
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
402
|
+
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
403
|
+
interface OutputObject {
|
|
404
|
+
oldValue: bigint;
|
|
405
|
+
newValue: bigint;
|
|
406
|
+
}
|
|
407
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
408
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
409
|
+
type Log = TypedEventLog<Event>;
|
|
410
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
411
|
+
}
|
|
412
|
+
export declare namespace MinBoostUpdatedEvent {
|
|
413
|
+
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
414
|
+
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
415
|
+
interface OutputObject {
|
|
416
|
+
oldValue: bigint;
|
|
417
|
+
newValue: bigint;
|
|
418
|
+
}
|
|
419
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
420
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
421
|
+
type Log = TypedEventLog<Event>;
|
|
422
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
423
|
+
}
|
|
424
|
+
export declare namespace MinLockDurationUpdatedEvent {
|
|
425
|
+
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
426
|
+
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
427
|
+
interface OutputObject {
|
|
428
|
+
oldValue: bigint;
|
|
429
|
+
newValue: bigint;
|
|
430
|
+
}
|
|
431
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
432
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
433
|
+
type Log = TypedEventLog<Event>;
|
|
434
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
435
|
+
}
|
|
348
436
|
export declare namespace MinterSetEvent {
|
|
349
437
|
type InputTuple = [minter: AddressLike];
|
|
350
438
|
type OutputTuple = [minter: string];
|
|
@@ -389,6 +477,62 @@ export declare namespace PeriodCreatedEvent {
|
|
|
389
477
|
type Log = TypedEventLog<Event>;
|
|
390
478
|
type LogDescription = TypedLogDescription<Event>;
|
|
391
479
|
}
|
|
480
|
+
export declare namespace RewardNotifiedEvent {
|
|
481
|
+
type InputTuple = [
|
|
482
|
+
token: AddressLike,
|
|
483
|
+
reward: BigNumberish,
|
|
484
|
+
rewardRate: BigNumberish
|
|
485
|
+
];
|
|
486
|
+
type OutputTuple = [token: string, reward: bigint, rewardRate: bigint];
|
|
487
|
+
interface OutputObject {
|
|
488
|
+
token: string;
|
|
489
|
+
reward: bigint;
|
|
490
|
+
rewardRate: bigint;
|
|
491
|
+
}
|
|
492
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
493
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
494
|
+
type Log = TypedEventLog<Event>;
|
|
495
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
496
|
+
}
|
|
497
|
+
export declare namespace RewardPaidEvent {
|
|
498
|
+
type InputTuple = [
|
|
499
|
+
token: AddressLike,
|
|
500
|
+
user: AddressLike,
|
|
501
|
+
reward: BigNumberish
|
|
502
|
+
];
|
|
503
|
+
type OutputTuple = [token: string, user: string, reward: bigint];
|
|
504
|
+
interface OutputObject {
|
|
505
|
+
token: string;
|
|
506
|
+
user: string;
|
|
507
|
+
reward: bigint;
|
|
508
|
+
}
|
|
509
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
510
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
511
|
+
type Log = TypedEventLog<Event>;
|
|
512
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
513
|
+
}
|
|
514
|
+
export declare namespace RewardTokenAddedEvent {
|
|
515
|
+
type InputTuple = [token: AddressLike];
|
|
516
|
+
type OutputTuple = [token: string];
|
|
517
|
+
interface OutputObject {
|
|
518
|
+
token: string;
|
|
519
|
+
}
|
|
520
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
521
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
522
|
+
type Log = TypedEventLog<Event>;
|
|
523
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
524
|
+
}
|
|
525
|
+
export declare namespace RewardTokenRemovedEvent {
|
|
526
|
+
type InputTuple = [token: AddressLike];
|
|
527
|
+
type OutputTuple = [token: string];
|
|
528
|
+
interface OutputObject {
|
|
529
|
+
token: string;
|
|
530
|
+
}
|
|
531
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
532
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
533
|
+
type Log = TypedEventLog<Event>;
|
|
534
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
535
|
+
}
|
|
392
536
|
export declare namespace TransferEvent {
|
|
393
537
|
type InputTuple = [
|
|
394
538
|
from: AddressLike,
|
|
@@ -423,23 +567,6 @@ export declare namespace VoteCastEvent {
|
|
|
423
567
|
type Log = TypedEventLog<Event>;
|
|
424
568
|
type LogDescription = TypedLogDescription<Event>;
|
|
425
569
|
}
|
|
426
|
-
export declare namespace VotingPowerUpdatedEvent {
|
|
427
|
-
type InputTuple = [
|
|
428
|
-
user: AddressLike,
|
|
429
|
-
oldPower: BigNumberish,
|
|
430
|
-
newPower: BigNumberish
|
|
431
|
-
];
|
|
432
|
-
type OutputTuple = [user: string, oldPower: bigint, newPower: bigint];
|
|
433
|
-
interface OutputObject {
|
|
434
|
-
user: string;
|
|
435
|
-
oldPower: bigint;
|
|
436
|
-
newPower: bigint;
|
|
437
|
-
}
|
|
438
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
439
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
440
|
-
type Log = TypedEventLog<Event>;
|
|
441
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
442
|
-
}
|
|
443
570
|
export declare namespace WithdrawnEvent {
|
|
444
571
|
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
445
572
|
type OutputTuple = [user: string, amount: bigint];
|
|
@@ -466,11 +593,14 @@ export interface VeRAACToken extends BaseContract {
|
|
|
466
593
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
467
594
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
468
595
|
EMERGENCY_DELAY: TypedContractMethod<[], [bigint], "view">;
|
|
469
|
-
MAX_BOOST: TypedContractMethod<[], [bigint], "view">;
|
|
470
|
-
MAX_LOCK_DURATION: TypedContractMethod<[], [bigint], "view">;
|
|
471
596
|
MAX_TOTAL_LOCKED_AMOUNT: TypedContractMethod<[], [bigint], "view">;
|
|
472
|
-
|
|
473
|
-
|
|
597
|
+
PRECISION: TypedContractMethod<[], [bigint], "view">;
|
|
598
|
+
REWARD_DURATION: TypedContractMethod<[], [bigint], "view">;
|
|
599
|
+
addRewardToken: TypedContractMethod<[
|
|
600
|
+
rewardToken: AddressLike
|
|
601
|
+
], [
|
|
602
|
+
void
|
|
603
|
+
], "nonpayable">;
|
|
474
604
|
allowance: TypedContractMethod<[
|
|
475
605
|
owner: AddressLike,
|
|
476
606
|
spender: AddressLike
|
|
@@ -483,13 +613,19 @@ export interface VeRAACToken extends BaseContract {
|
|
|
483
613
|
], [
|
|
484
614
|
boolean
|
|
485
615
|
], "nonpayable">;
|
|
486
|
-
balanceOf: TypedContractMethod<[
|
|
616
|
+
balanceOf: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
617
|
+
balanceOfAt: TypedContractMethod<[
|
|
618
|
+
account: AddressLike,
|
|
619
|
+
blockNumber: BigNumberish
|
|
620
|
+
], [
|
|
621
|
+
bigint
|
|
622
|
+
], "view">;
|
|
487
623
|
calculateBoost: TypedContractMethod<[
|
|
488
624
|
user: AddressLike,
|
|
489
625
|
amount: BigNumberish
|
|
490
626
|
], [
|
|
491
627
|
[bigint, bigint] & {
|
|
492
|
-
|
|
628
|
+
boostMultiplier: bigint;
|
|
493
629
|
boostedAmount: bigint;
|
|
494
630
|
}
|
|
495
631
|
], "view">;
|
|
@@ -504,7 +640,26 @@ export interface VeRAACToken extends BaseContract {
|
|
|
504
640
|
], [
|
|
505
641
|
void
|
|
506
642
|
], "nonpayable">;
|
|
643
|
+
claimReward: TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
644
|
+
claimable: TypedContractMethod<[
|
|
645
|
+
user: AddressLike,
|
|
646
|
+
token: AddressLike
|
|
647
|
+
], [
|
|
648
|
+
bigint
|
|
649
|
+
], "view">;
|
|
650
|
+
claimed: TypedContractMethod<[
|
|
651
|
+
user: AddressLike,
|
|
652
|
+
token: AddressLike
|
|
653
|
+
], [
|
|
654
|
+
bigint
|
|
655
|
+
], "view">;
|
|
507
656
|
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
657
|
+
earned: TypedContractMethod<[
|
|
658
|
+
user: AddressLike,
|
|
659
|
+
token: AddressLike
|
|
660
|
+
], [
|
|
661
|
+
bigint
|
|
662
|
+
], "view">;
|
|
508
663
|
emergencyUnlockEnabled: TypedContractMethod<[], [boolean], "view">;
|
|
509
664
|
emergencyWithdraw: TypedContractMethod<[], [void], "nonpayable">;
|
|
510
665
|
emergencyWithdrawDelay: TypedContractMethod<[], [bigint], "view">;
|
|
@@ -517,9 +672,8 @@ export interface VeRAACToken extends BaseContract {
|
|
|
517
672
|
], "nonpayable">;
|
|
518
673
|
getBoostState: TypedContractMethod<[
|
|
519
674
|
], [
|
|
520
|
-
|
|
675
|
+
IveRAACToken.BoostStateViewStructOutput
|
|
521
676
|
], "view">;
|
|
522
|
-
getBoostWindow: TypedContractMethod<[], [bigint], "view">;
|
|
523
677
|
getCurrentBoost: TypedContractMethod<[
|
|
524
678
|
account: AddressLike
|
|
525
679
|
], [
|
|
@@ -534,86 +688,108 @@ export interface VeRAACToken extends BaseContract {
|
|
|
534
688
|
], [
|
|
535
689
|
IveRAACToken.LockPositionStructOutput
|
|
536
690
|
], "view">;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
], [
|
|
540
|
-
|
|
541
|
-
], "view">;
|
|
542
|
-
getPastVotes: TypedContractMethod<[
|
|
543
|
-
account: AddressLike,
|
|
544
|
-
blockNumber: BigNumberish
|
|
545
|
-
], [
|
|
546
|
-
bigint
|
|
547
|
-
], "view">;
|
|
548
|
-
getTotalVotingPower: TypedContractMethod<[], [bigint], "view">;
|
|
549
|
-
"getVotingPower(address,uint256)": TypedContractMethod<[
|
|
550
|
-
account: AddressLike,
|
|
551
|
-
timestamp: BigNumberish
|
|
552
|
-
], [
|
|
553
|
-
bigint
|
|
554
|
-
], "view">;
|
|
555
|
-
"getVotingPower(address)": TypedContractMethod<[
|
|
556
|
-
account: AddressLike
|
|
557
|
-
], [
|
|
558
|
-
bigint
|
|
559
|
-
], "view">;
|
|
560
|
-
getVotingPowerForProposal: TypedContractMethod<[
|
|
561
|
-
account: AddressLike,
|
|
562
|
-
proposalId: BigNumberish
|
|
563
|
-
], [
|
|
564
|
-
bigint
|
|
565
|
-
], "view">;
|
|
691
|
+
getMaxBoost: TypedContractMethod<[], [bigint], "view">;
|
|
692
|
+
getMaxLockDuration: TypedContractMethod<[], [bigint], "view">;
|
|
693
|
+
getMinBoost: TypedContractMethod<[], [bigint], "view">;
|
|
694
|
+
getMinLockDuration: TypedContractMethod<[], [bigint], "view">;
|
|
566
695
|
increase: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
696
|
+
isRewardToken: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
567
697
|
lock: TypedContractMethod<[
|
|
568
698
|
amount: BigNumberish,
|
|
569
699
|
duration: BigNumberish
|
|
570
700
|
], [
|
|
571
701
|
void
|
|
572
702
|
], "nonpayable">;
|
|
573
|
-
locks: TypedContractMethod<[
|
|
574
|
-
arg0: AddressLike
|
|
575
|
-
], [
|
|
576
|
-
[bigint, bigint] & {
|
|
577
|
-
amount: bigint;
|
|
578
|
-
end: bigint;
|
|
579
|
-
}
|
|
580
|
-
], "view">;
|
|
581
|
-
minter: TypedContractMethod<[], [string], "view">;
|
|
582
703
|
name: TypedContractMethod<[], [string], "view">;
|
|
704
|
+
notifyRewardAmount: TypedContractMethod<[
|
|
705
|
+
rewardToken: AddressLike,
|
|
706
|
+
reward: BigNumberish
|
|
707
|
+
], [
|
|
708
|
+
void
|
|
709
|
+
], "nonpayable">;
|
|
583
710
|
owner: TypedContractMethod<[], [string], "view">;
|
|
584
711
|
paused: TypedContractMethod<[], [boolean], "view">;
|
|
585
|
-
proposalPowerSnapshots: TypedContractMethod<[
|
|
586
|
-
arg0: BigNumberish
|
|
587
|
-
], [
|
|
588
|
-
bigint
|
|
589
|
-
], "view">;
|
|
590
712
|
raacToken: TypedContractMethod<[], [string], "view">;
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
713
|
+
rawBalanceOf: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
714
|
+
rawTotalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
715
|
+
removeRewardToken: TypedContractMethod<[
|
|
716
|
+
rewardToken: AddressLike
|
|
594
717
|
], [
|
|
595
718
|
void
|
|
596
719
|
], "nonpayable">;
|
|
597
720
|
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
721
|
+
rewardData: TypedContractMethod<[
|
|
722
|
+
arg0: AddressLike
|
|
723
|
+
], [
|
|
724
|
+
[
|
|
725
|
+
bigint,
|
|
726
|
+
bigint,
|
|
727
|
+
bigint,
|
|
728
|
+
bigint,
|
|
729
|
+
string,
|
|
730
|
+
boolean,
|
|
731
|
+
bigint,
|
|
732
|
+
bigint
|
|
733
|
+
] & {
|
|
734
|
+
periodFinish: bigint;
|
|
735
|
+
rewardRate: bigint;
|
|
736
|
+
lastUpdateTime: bigint;
|
|
737
|
+
rewardPerTokenStored: bigint;
|
|
738
|
+
distributor: string;
|
|
739
|
+
isEnabled: boolean;
|
|
740
|
+
lastDistributionBlock: bigint;
|
|
741
|
+
totalVotingPowerAtNotify: bigint;
|
|
742
|
+
}
|
|
743
|
+
], "view">;
|
|
744
|
+
rewardPerToken: TypedContractMethod<[
|
|
745
|
+
rewardToken: AddressLike
|
|
746
|
+
], [
|
|
747
|
+
bigint
|
|
748
|
+
], "view">;
|
|
749
|
+
rewardTokens: TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
598
750
|
scheduleEmergencyAction: TypedContractMethod<[
|
|
599
751
|
actionId: BytesLike
|
|
600
752
|
], [
|
|
601
753
|
void
|
|
602
754
|
], "nonpayable">;
|
|
603
755
|
scheduleEmergencyUnlock: TypedContractMethod<[], [void], "nonpayable">;
|
|
604
|
-
|
|
756
|
+
setMaxBoost: TypedContractMethod<[
|
|
757
|
+
newBoost: BigNumberish
|
|
758
|
+
], [
|
|
759
|
+
void
|
|
760
|
+
], "nonpayable">;
|
|
761
|
+
setMaxLockDuration: TypedContractMethod<[
|
|
762
|
+
newDuration: BigNumberish
|
|
763
|
+
], [
|
|
764
|
+
void
|
|
765
|
+
], "nonpayable">;
|
|
766
|
+
setMinBoost: TypedContractMethod<[
|
|
767
|
+
newBoost: BigNumberish
|
|
768
|
+
], [
|
|
769
|
+
void
|
|
770
|
+
], "nonpayable">;
|
|
771
|
+
setMinLockDuration: TypedContractMethod<[
|
|
772
|
+
newDuration: BigNumberish
|
|
773
|
+
], [
|
|
774
|
+
void
|
|
775
|
+
], "nonpayable">;
|
|
605
776
|
symbol: TypedContractMethod<[], [string], "view">;
|
|
606
777
|
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
778
|
+
totalSupplyAt: TypedContractMethod<[
|
|
779
|
+
blockNumber: BigNumberish
|
|
780
|
+
], [
|
|
781
|
+
bigint
|
|
782
|
+
], "view">;
|
|
607
783
|
transfer: TypedContractMethod<[
|
|
608
784
|
to: AddressLike,
|
|
609
|
-
|
|
785
|
+
value: BigNumberish
|
|
610
786
|
], [
|
|
611
787
|
boolean
|
|
612
788
|
], "nonpayable">;
|
|
613
789
|
transferFrom: TypedContractMethod<[
|
|
614
790
|
from: AddressLike,
|
|
615
791
|
to: AddressLike,
|
|
616
|
-
|
|
792
|
+
value: BigNumberish
|
|
617
793
|
], [
|
|
618
794
|
boolean
|
|
619
795
|
], "nonpayable">;
|
|
@@ -622,14 +798,29 @@ export interface VeRAACToken extends BaseContract {
|
|
|
622
798
|
], [
|
|
623
799
|
void
|
|
624
800
|
], "nonpayable">;
|
|
801
|
+
userRewardData: TypedContractMethod<[
|
|
802
|
+
arg0: AddressLike,
|
|
803
|
+
arg1: AddressLike
|
|
804
|
+
], [
|
|
805
|
+
[
|
|
806
|
+
bigint,
|
|
807
|
+
bigint,
|
|
808
|
+
bigint,
|
|
809
|
+
bigint
|
|
810
|
+
] & {
|
|
811
|
+
userRewardPerTokenPaid: bigint;
|
|
812
|
+
rewards: bigint;
|
|
813
|
+
claimedRewards: bigint;
|
|
814
|
+
lastUserBlock: bigint;
|
|
815
|
+
}
|
|
816
|
+
], "view">;
|
|
625
817
|
withdraw: TypedContractMethod<[], [void], "nonpayable">;
|
|
626
818
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
627
819
|
getFunction(nameOrSignature: "EMERGENCY_DELAY"): TypedContractMethod<[], [bigint], "view">;
|
|
628
|
-
getFunction(nameOrSignature: "MAX_BOOST"): TypedContractMethod<[], [bigint], "view">;
|
|
629
|
-
getFunction(nameOrSignature: "MAX_LOCK_DURATION"): TypedContractMethod<[], [bigint], "view">;
|
|
630
820
|
getFunction(nameOrSignature: "MAX_TOTAL_LOCKED_AMOUNT"): TypedContractMethod<[], [bigint], "view">;
|
|
631
|
-
getFunction(nameOrSignature: "
|
|
632
|
-
getFunction(nameOrSignature: "
|
|
821
|
+
getFunction(nameOrSignature: "PRECISION"): TypedContractMethod<[], [bigint], "view">;
|
|
822
|
+
getFunction(nameOrSignature: "REWARD_DURATION"): TypedContractMethod<[], [bigint], "view">;
|
|
823
|
+
getFunction(nameOrSignature: "addRewardToken"): TypedContractMethod<[rewardToken: AddressLike], [void], "nonpayable">;
|
|
633
824
|
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
634
825
|
owner: AddressLike,
|
|
635
826
|
spender: AddressLike
|
|
@@ -642,13 +833,19 @@ export interface VeRAACToken extends BaseContract {
|
|
|
642
833
|
], [
|
|
643
834
|
boolean
|
|
644
835
|
], "nonpayable">;
|
|
645
|
-
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[
|
|
836
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
837
|
+
getFunction(nameOrSignature: "balanceOfAt"): TypedContractMethod<[
|
|
838
|
+
account: AddressLike,
|
|
839
|
+
blockNumber: BigNumberish
|
|
840
|
+
], [
|
|
841
|
+
bigint
|
|
842
|
+
], "view">;
|
|
646
843
|
getFunction(nameOrSignature: "calculateBoost"): TypedContractMethod<[
|
|
647
844
|
user: AddressLike,
|
|
648
845
|
amount: BigNumberish
|
|
649
846
|
], [
|
|
650
847
|
[bigint, bigint] & {
|
|
651
|
-
|
|
848
|
+
boostMultiplier: bigint;
|
|
652
849
|
boostedAmount: bigint;
|
|
653
850
|
}
|
|
654
851
|
], "view">;
|
|
@@ -659,15 +856,33 @@ export interface VeRAACToken extends BaseContract {
|
|
|
659
856
|
bigint
|
|
660
857
|
], "view">;
|
|
661
858
|
getFunction(nameOrSignature: "cancelEmergencyAction"): TypedContractMethod<[actionId: BytesLike], [void], "nonpayable">;
|
|
859
|
+
getFunction(nameOrSignature: "claimReward"): TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
860
|
+
getFunction(nameOrSignature: "claimable"): TypedContractMethod<[
|
|
861
|
+
user: AddressLike,
|
|
862
|
+
token: AddressLike
|
|
863
|
+
], [
|
|
864
|
+
bigint
|
|
865
|
+
], "view">;
|
|
866
|
+
getFunction(nameOrSignature: "claimed"): TypedContractMethod<[
|
|
867
|
+
user: AddressLike,
|
|
868
|
+
token: AddressLike
|
|
869
|
+
], [
|
|
870
|
+
bigint
|
|
871
|
+
], "view">;
|
|
662
872
|
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
873
|
+
getFunction(nameOrSignature: "earned"): TypedContractMethod<[
|
|
874
|
+
user: AddressLike,
|
|
875
|
+
token: AddressLike
|
|
876
|
+
], [
|
|
877
|
+
bigint
|
|
878
|
+
], "view">;
|
|
663
879
|
getFunction(nameOrSignature: "emergencyUnlockEnabled"): TypedContractMethod<[], [boolean], "view">;
|
|
664
880
|
getFunction(nameOrSignature: "emergencyWithdraw"): TypedContractMethod<[], [void], "nonpayable">;
|
|
665
881
|
getFunction(nameOrSignature: "emergencyWithdrawDelay"): TypedContractMethod<[], [bigint], "view">;
|
|
666
882
|
getFunction(nameOrSignature: "enableEmergencyWithdraw"): TypedContractMethod<[], [void], "nonpayable">;
|
|
667
883
|
getFunction(nameOrSignature: "executeEmergencyUnlock"): TypedContractMethod<[], [void], "nonpayable">;
|
|
668
884
|
getFunction(nameOrSignature: "extend"): TypedContractMethod<[newDuration: BigNumberish], [void], "nonpayable">;
|
|
669
|
-
getFunction(nameOrSignature: "getBoostState"): TypedContractMethod<[], [
|
|
670
|
-
getFunction(nameOrSignature: "getBoostWindow"): TypedContractMethod<[], [bigint], "view">;
|
|
885
|
+
getFunction(nameOrSignature: "getBoostState"): TypedContractMethod<[], [IveRAACToken.BoostStateViewStructOutput], "view">;
|
|
671
886
|
getFunction(nameOrSignature: "getCurrentBoost"): TypedContractMethod<[
|
|
672
887
|
account: AddressLike
|
|
673
888
|
], [
|
|
@@ -682,77 +897,100 @@ export interface VeRAACToken extends BaseContract {
|
|
|
682
897
|
], [
|
|
683
898
|
IveRAACToken.LockPositionStructOutput
|
|
684
899
|
], "view">;
|
|
685
|
-
getFunction(nameOrSignature: "
|
|
686
|
-
getFunction(nameOrSignature: "
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
], [
|
|
690
|
-
bigint
|
|
691
|
-
], "view">;
|
|
692
|
-
getFunction(nameOrSignature: "getTotalVotingPower"): TypedContractMethod<[], [bigint], "view">;
|
|
693
|
-
getFunction(nameOrSignature: "getVotingPower(address,uint256)"): TypedContractMethod<[
|
|
694
|
-
account: AddressLike,
|
|
695
|
-
timestamp: BigNumberish
|
|
696
|
-
], [
|
|
697
|
-
bigint
|
|
698
|
-
], "view">;
|
|
699
|
-
getFunction(nameOrSignature: "getVotingPower(address)"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
700
|
-
getFunction(nameOrSignature: "getVotingPowerForProposal"): TypedContractMethod<[
|
|
701
|
-
account: AddressLike,
|
|
702
|
-
proposalId: BigNumberish
|
|
703
|
-
], [
|
|
704
|
-
bigint
|
|
705
|
-
], "view">;
|
|
900
|
+
getFunction(nameOrSignature: "getMaxBoost"): TypedContractMethod<[], [bigint], "view">;
|
|
901
|
+
getFunction(nameOrSignature: "getMaxLockDuration"): TypedContractMethod<[], [bigint], "view">;
|
|
902
|
+
getFunction(nameOrSignature: "getMinBoost"): TypedContractMethod<[], [bigint], "view">;
|
|
903
|
+
getFunction(nameOrSignature: "getMinLockDuration"): TypedContractMethod<[], [bigint], "view">;
|
|
706
904
|
getFunction(nameOrSignature: "increase"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
905
|
+
getFunction(nameOrSignature: "isRewardToken"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
707
906
|
getFunction(nameOrSignature: "lock"): TypedContractMethod<[
|
|
708
907
|
amount: BigNumberish,
|
|
709
908
|
duration: BigNumberish
|
|
710
909
|
], [
|
|
711
910
|
void
|
|
712
911
|
], "nonpayable">;
|
|
713
|
-
getFunction(nameOrSignature: "locks"): TypedContractMethod<[
|
|
714
|
-
arg0: AddressLike
|
|
715
|
-
], [
|
|
716
|
-
[bigint, bigint] & {
|
|
717
|
-
amount: bigint;
|
|
718
|
-
end: bigint;
|
|
719
|
-
}
|
|
720
|
-
], "view">;
|
|
721
|
-
getFunction(nameOrSignature: "minter"): TypedContractMethod<[], [string], "view">;
|
|
722
912
|
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
723
|
-
getFunction(nameOrSignature: "
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
getFunction(nameOrSignature: "raacToken"): TypedContractMethod<[], [string], "view">;
|
|
727
|
-
getFunction(nameOrSignature: "recordVote"): TypedContractMethod<[
|
|
728
|
-
voter: AddressLike,
|
|
729
|
-
proposalId: BigNumberish
|
|
913
|
+
getFunction(nameOrSignature: "notifyRewardAmount"): TypedContractMethod<[
|
|
914
|
+
rewardToken: AddressLike,
|
|
915
|
+
reward: BigNumberish
|
|
730
916
|
], [
|
|
731
917
|
void
|
|
732
918
|
], "nonpayable">;
|
|
919
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
920
|
+
getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
|
|
921
|
+
getFunction(nameOrSignature: "raacToken"): TypedContractMethod<[], [string], "view">;
|
|
922
|
+
getFunction(nameOrSignature: "rawBalanceOf"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
923
|
+
getFunction(nameOrSignature: "rawTotalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
924
|
+
getFunction(nameOrSignature: "removeRewardToken"): TypedContractMethod<[rewardToken: AddressLike], [void], "nonpayable">;
|
|
733
925
|
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
926
|
+
getFunction(nameOrSignature: "rewardData"): TypedContractMethod<[
|
|
927
|
+
arg0: AddressLike
|
|
928
|
+
], [
|
|
929
|
+
[
|
|
930
|
+
bigint,
|
|
931
|
+
bigint,
|
|
932
|
+
bigint,
|
|
933
|
+
bigint,
|
|
934
|
+
string,
|
|
935
|
+
boolean,
|
|
936
|
+
bigint,
|
|
937
|
+
bigint
|
|
938
|
+
] & {
|
|
939
|
+
periodFinish: bigint;
|
|
940
|
+
rewardRate: bigint;
|
|
941
|
+
lastUpdateTime: bigint;
|
|
942
|
+
rewardPerTokenStored: bigint;
|
|
943
|
+
distributor: string;
|
|
944
|
+
isEnabled: boolean;
|
|
945
|
+
lastDistributionBlock: bigint;
|
|
946
|
+
totalVotingPowerAtNotify: bigint;
|
|
947
|
+
}
|
|
948
|
+
], "view">;
|
|
949
|
+
getFunction(nameOrSignature: "rewardPerToken"): TypedContractMethod<[rewardToken: AddressLike], [bigint], "view">;
|
|
950
|
+
getFunction(nameOrSignature: "rewardTokens"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
734
951
|
getFunction(nameOrSignature: "scheduleEmergencyAction"): TypedContractMethod<[actionId: BytesLike], [void], "nonpayable">;
|
|
735
952
|
getFunction(nameOrSignature: "scheduleEmergencyUnlock"): TypedContractMethod<[], [void], "nonpayable">;
|
|
736
|
-
getFunction(nameOrSignature: "
|
|
953
|
+
getFunction(nameOrSignature: "setMaxBoost"): TypedContractMethod<[newBoost: BigNumberish], [void], "nonpayable">;
|
|
954
|
+
getFunction(nameOrSignature: "setMaxLockDuration"): TypedContractMethod<[newDuration: BigNumberish], [void], "nonpayable">;
|
|
955
|
+
getFunction(nameOrSignature: "setMinBoost"): TypedContractMethod<[newBoost: BigNumberish], [void], "nonpayable">;
|
|
956
|
+
getFunction(nameOrSignature: "setMinLockDuration"): TypedContractMethod<[newDuration: BigNumberish], [void], "nonpayable">;
|
|
737
957
|
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
738
958
|
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
959
|
+
getFunction(nameOrSignature: "totalSupplyAt"): TypedContractMethod<[blockNumber: BigNumberish], [bigint], "view">;
|
|
739
960
|
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
740
961
|
to: AddressLike,
|
|
741
|
-
|
|
962
|
+
value: BigNumberish
|
|
742
963
|
], [
|
|
743
964
|
boolean
|
|
744
965
|
], "nonpayable">;
|
|
745
966
|
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
746
967
|
from: AddressLike,
|
|
747
968
|
to: AddressLike,
|
|
748
|
-
|
|
969
|
+
value: BigNumberish
|
|
749
970
|
], [
|
|
750
971
|
boolean
|
|
751
972
|
], "nonpayable">;
|
|
752
973
|
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
974
|
+
getFunction(nameOrSignature: "userRewardData"): TypedContractMethod<[
|
|
975
|
+
arg0: AddressLike,
|
|
976
|
+
arg1: AddressLike
|
|
977
|
+
], [
|
|
978
|
+
[
|
|
979
|
+
bigint,
|
|
980
|
+
bigint,
|
|
981
|
+
bigint,
|
|
982
|
+
bigint
|
|
983
|
+
] & {
|
|
984
|
+
userRewardPerTokenPaid: bigint;
|
|
985
|
+
rewards: bigint;
|
|
986
|
+
claimedRewards: bigint;
|
|
987
|
+
lastUserBlock: bigint;
|
|
988
|
+
}
|
|
989
|
+
], "view">;
|
|
753
990
|
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[], [void], "nonpayable">;
|
|
754
991
|
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
755
992
|
getEvent(key: "CheckpointCreated"): TypedContractEvent<CheckpointCreatedEvent.InputTuple, CheckpointCreatedEvent.OutputTuple, CheckpointCreatedEvent.OutputObject>;
|
|
993
|
+
getEvent(key: "CheckpointWritten"): TypedContractEvent<CheckpointWrittenEvent.InputTuple, CheckpointWrittenEvent.OutputTuple, CheckpointWrittenEvent.OutputObject>;
|
|
756
994
|
getEvent(key: "EmergencyActionCancelled"): TypedContractEvent<EmergencyActionCancelledEvent.InputTuple, EmergencyActionCancelledEvent.OutputTuple, EmergencyActionCancelledEvent.OutputObject>;
|
|
757
995
|
getEvent(key: "EmergencyActionScheduled"): TypedContractEvent<EmergencyActionScheduledEvent.InputTuple, EmergencyActionScheduledEvent.OutputTuple, EmergencyActionScheduledEvent.OutputObject>;
|
|
758
996
|
getEvent(key: "EmergencyUnlockEnabled"): TypedContractEvent<EmergencyUnlockEnabledEvent.InputTuple, EmergencyUnlockEnabledEvent.OutputTuple, EmergencyUnlockEnabledEvent.OutputObject>;
|
|
@@ -760,24 +998,33 @@ export interface VeRAACToken extends BaseContract {
|
|
|
760
998
|
getEvent(key: "EmergencyWithdrawEnabled"): TypedContractEvent<EmergencyWithdrawEnabledEvent.InputTuple, EmergencyWithdrawEnabledEvent.OutputTuple, EmergencyWithdrawEnabledEvent.OutputObject>;
|
|
761
999
|
getEvent(key: "EmergencyWithdrawn"): TypedContractEvent<EmergencyWithdrawnEvent.InputTuple, EmergencyWithdrawnEvent.OutputTuple, EmergencyWithdrawnEvent.OutputObject>;
|
|
762
1000
|
getEvent(key: "LockCreated(address,uint256,uint256)"): TypedContractEvent<LockCreated_address_uint256_uint256_Event.InputTuple, LockCreated_address_uint256_uint256_Event.OutputTuple, LockCreated_address_uint256_uint256_Event.OutputObject>;
|
|
763
|
-
getEvent(key: "LockCreated(address,uint256,uint256)"): TypedContractEvent<
|
|
1001
|
+
getEvent(key: "LockCreated(address,uint256,uint256,uint256)"): TypedContractEvent<LockCreated_address_uint256_uint256_uint256_Event.InputTuple, LockCreated_address_uint256_uint256_uint256_Event.OutputTuple, LockCreated_address_uint256_uint256_uint256_Event.OutputObject>;
|
|
764
1002
|
getEvent(key: "LockExtended(address,uint256)"): TypedContractEvent<LockExtended_address_uint256_Event.InputTuple, LockExtended_address_uint256_Event.OutputTuple, LockExtended_address_uint256_Event.OutputObject>;
|
|
765
1003
|
getEvent(key: "LockExtended(address,uint256)"): TypedContractEvent<LockExtended_address_uint256_Event.InputTuple, LockExtended_address_uint256_Event.OutputTuple, LockExtended_address_uint256_Event.OutputObject>;
|
|
766
1004
|
getEvent(key: "LockIncreased(address,uint256)"): TypedContractEvent<LockIncreased_address_uint256_Event.InputTuple, LockIncreased_address_uint256_Event.OutputTuple, LockIncreased_address_uint256_Event.OutputObject>;
|
|
767
1005
|
getEvent(key: "LockIncreased(address,uint256)"): TypedContractEvent<LockIncreased_address_uint256_Event.InputTuple, LockIncreased_address_uint256_Event.OutputTuple, LockIncreased_address_uint256_Event.OutputObject>;
|
|
768
1006
|
getEvent(key: "Locked"): TypedContractEvent<LockedEvent.InputTuple, LockedEvent.OutputTuple, LockedEvent.OutputObject>;
|
|
1007
|
+
getEvent(key: "MaxBoostUpdated"): TypedContractEvent<MaxBoostUpdatedEvent.InputTuple, MaxBoostUpdatedEvent.OutputTuple, MaxBoostUpdatedEvent.OutputObject>;
|
|
1008
|
+
getEvent(key: "MaxLockDurationUpdated"): TypedContractEvent<MaxLockDurationUpdatedEvent.InputTuple, MaxLockDurationUpdatedEvent.OutputTuple, MaxLockDurationUpdatedEvent.OutputObject>;
|
|
1009
|
+
getEvent(key: "MinBoostUpdated"): TypedContractEvent<MinBoostUpdatedEvent.InputTuple, MinBoostUpdatedEvent.OutputTuple, MinBoostUpdatedEvent.OutputObject>;
|
|
1010
|
+
getEvent(key: "MinLockDurationUpdated"): TypedContractEvent<MinLockDurationUpdatedEvent.InputTuple, MinLockDurationUpdatedEvent.OutputTuple, MinLockDurationUpdatedEvent.OutputObject>;
|
|
769
1011
|
getEvent(key: "MinterSet"): TypedContractEvent<MinterSetEvent.InputTuple, MinterSetEvent.OutputTuple, MinterSetEvent.OutputObject>;
|
|
770
1012
|
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
771
1013
|
getEvent(key: "PeriodCreated"): TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
1014
|
+
getEvent(key: "RewardNotified"): TypedContractEvent<RewardNotifiedEvent.InputTuple, RewardNotifiedEvent.OutputTuple, RewardNotifiedEvent.OutputObject>;
|
|
1015
|
+
getEvent(key: "RewardPaid"): TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
1016
|
+
getEvent(key: "RewardTokenAdded"): TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
1017
|
+
getEvent(key: "RewardTokenRemoved"): TypedContractEvent<RewardTokenRemovedEvent.InputTuple, RewardTokenRemovedEvent.OutputTuple, RewardTokenRemovedEvent.OutputObject>;
|
|
772
1018
|
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
773
1019
|
getEvent(key: "VoteCast"): TypedContractEvent<VoteCastEvent.InputTuple, VoteCastEvent.OutputTuple, VoteCastEvent.OutputObject>;
|
|
774
|
-
getEvent(key: "VotingPowerUpdated"): TypedContractEvent<VotingPowerUpdatedEvent.InputTuple, VotingPowerUpdatedEvent.OutputTuple, VotingPowerUpdatedEvent.OutputObject>;
|
|
775
1020
|
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
776
1021
|
filters: {
|
|
777
1022
|
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
778
1023
|
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
779
1024
|
"CheckpointCreated(address,uint256,uint256)": TypedContractEvent<CheckpointCreatedEvent.InputTuple, CheckpointCreatedEvent.OutputTuple, CheckpointCreatedEvent.OutputObject>;
|
|
780
1025
|
CheckpointCreated: TypedContractEvent<CheckpointCreatedEvent.InputTuple, CheckpointCreatedEvent.OutputTuple, CheckpointCreatedEvent.OutputObject>;
|
|
1026
|
+
"CheckpointWritten(uint32,uint224)": TypedContractEvent<CheckpointWrittenEvent.InputTuple, CheckpointWrittenEvent.OutputTuple, CheckpointWrittenEvent.OutputObject>;
|
|
1027
|
+
CheckpointWritten: TypedContractEvent<CheckpointWrittenEvent.InputTuple, CheckpointWrittenEvent.OutputTuple, CheckpointWrittenEvent.OutputObject>;
|
|
781
1028
|
"EmergencyActionCancelled(bytes32)": TypedContractEvent<EmergencyActionCancelledEvent.InputTuple, EmergencyActionCancelledEvent.OutputTuple, EmergencyActionCancelledEvent.OutputObject>;
|
|
782
1029
|
EmergencyActionCancelled: TypedContractEvent<EmergencyActionCancelledEvent.InputTuple, EmergencyActionCancelledEvent.OutputTuple, EmergencyActionCancelledEvent.OutputObject>;
|
|
783
1030
|
"EmergencyActionScheduled(bytes32,uint256)": TypedContractEvent<EmergencyActionScheduledEvent.InputTuple, EmergencyActionScheduledEvent.OutputTuple, EmergencyActionScheduledEvent.OutputObject>;
|
|
@@ -791,25 +1038,39 @@ export interface VeRAACToken extends BaseContract {
|
|
|
791
1038
|
"EmergencyWithdrawn(address,uint256)": TypedContractEvent<EmergencyWithdrawnEvent.InputTuple, EmergencyWithdrawnEvent.OutputTuple, EmergencyWithdrawnEvent.OutputObject>;
|
|
792
1039
|
EmergencyWithdrawn: TypedContractEvent<EmergencyWithdrawnEvent.InputTuple, EmergencyWithdrawnEvent.OutputTuple, EmergencyWithdrawnEvent.OutputObject>;
|
|
793
1040
|
"LockCreated(address,uint256,uint256)": TypedContractEvent<LockCreated_address_uint256_uint256_Event.InputTuple, LockCreated_address_uint256_uint256_Event.OutputTuple, LockCreated_address_uint256_uint256_Event.OutputObject>;
|
|
794
|
-
"LockCreated(address,uint256,uint256)": TypedContractEvent<
|
|
1041
|
+
"LockCreated(address,uint256,uint256,uint256)": TypedContractEvent<LockCreated_address_uint256_uint256_uint256_Event.InputTuple, LockCreated_address_uint256_uint256_uint256_Event.OutputTuple, LockCreated_address_uint256_uint256_uint256_Event.OutputObject>;
|
|
795
1042
|
"LockExtended(address,uint256)": TypedContractEvent<LockExtended_address_uint256_Event.InputTuple, LockExtended_address_uint256_Event.OutputTuple, LockExtended_address_uint256_Event.OutputObject>;
|
|
796
1043
|
"LockExtended(address,uint256)": TypedContractEvent<LockExtended_address_uint256_Event.InputTuple, LockExtended_address_uint256_Event.OutputTuple, LockExtended_address_uint256_Event.OutputObject>;
|
|
797
1044
|
"LockIncreased(address,uint256)": TypedContractEvent<LockIncreased_address_uint256_Event.InputTuple, LockIncreased_address_uint256_Event.OutputTuple, LockIncreased_address_uint256_Event.OutputObject>;
|
|
798
1045
|
"LockIncreased(address,uint256)": TypedContractEvent<LockIncreased_address_uint256_Event.InputTuple, LockIncreased_address_uint256_Event.OutputTuple, LockIncreased_address_uint256_Event.OutputObject>;
|
|
799
1046
|
"Locked(address,uint256,uint256)": TypedContractEvent<LockedEvent.InputTuple, LockedEvent.OutputTuple, LockedEvent.OutputObject>;
|
|
800
1047
|
Locked: TypedContractEvent<LockedEvent.InputTuple, LockedEvent.OutputTuple, LockedEvent.OutputObject>;
|
|
1048
|
+
"MaxBoostUpdated(uint256,uint256)": TypedContractEvent<MaxBoostUpdatedEvent.InputTuple, MaxBoostUpdatedEvent.OutputTuple, MaxBoostUpdatedEvent.OutputObject>;
|
|
1049
|
+
MaxBoostUpdated: TypedContractEvent<MaxBoostUpdatedEvent.InputTuple, MaxBoostUpdatedEvent.OutputTuple, MaxBoostUpdatedEvent.OutputObject>;
|
|
1050
|
+
"MaxLockDurationUpdated(uint256,uint256)": TypedContractEvent<MaxLockDurationUpdatedEvent.InputTuple, MaxLockDurationUpdatedEvent.OutputTuple, MaxLockDurationUpdatedEvent.OutputObject>;
|
|
1051
|
+
MaxLockDurationUpdated: TypedContractEvent<MaxLockDurationUpdatedEvent.InputTuple, MaxLockDurationUpdatedEvent.OutputTuple, MaxLockDurationUpdatedEvent.OutputObject>;
|
|
1052
|
+
"MinBoostUpdated(uint256,uint256)": TypedContractEvent<MinBoostUpdatedEvent.InputTuple, MinBoostUpdatedEvent.OutputTuple, MinBoostUpdatedEvent.OutputObject>;
|
|
1053
|
+
MinBoostUpdated: TypedContractEvent<MinBoostUpdatedEvent.InputTuple, MinBoostUpdatedEvent.OutputTuple, MinBoostUpdatedEvent.OutputObject>;
|
|
1054
|
+
"MinLockDurationUpdated(uint256,uint256)": TypedContractEvent<MinLockDurationUpdatedEvent.InputTuple, MinLockDurationUpdatedEvent.OutputTuple, MinLockDurationUpdatedEvent.OutputObject>;
|
|
1055
|
+
MinLockDurationUpdated: TypedContractEvent<MinLockDurationUpdatedEvent.InputTuple, MinLockDurationUpdatedEvent.OutputTuple, MinLockDurationUpdatedEvent.OutputObject>;
|
|
801
1056
|
"MinterSet(address)": TypedContractEvent<MinterSetEvent.InputTuple, MinterSetEvent.OutputTuple, MinterSetEvent.OutputObject>;
|
|
802
1057
|
MinterSet: TypedContractEvent<MinterSetEvent.InputTuple, MinterSetEvent.OutputTuple, MinterSetEvent.OutputObject>;
|
|
803
1058
|
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
804
1059
|
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
805
1060
|
"PeriodCreated(uint256,uint256,uint256)": TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
806
1061
|
PeriodCreated: TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
1062
|
+
"RewardNotified(address,uint256,uint256)": TypedContractEvent<RewardNotifiedEvent.InputTuple, RewardNotifiedEvent.OutputTuple, RewardNotifiedEvent.OutputObject>;
|
|
1063
|
+
RewardNotified: TypedContractEvent<RewardNotifiedEvent.InputTuple, RewardNotifiedEvent.OutputTuple, RewardNotifiedEvent.OutputObject>;
|
|
1064
|
+
"RewardPaid(address,address,uint256)": TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
1065
|
+
RewardPaid: TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
1066
|
+
"RewardTokenAdded(address)": TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
1067
|
+
RewardTokenAdded: TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
1068
|
+
"RewardTokenRemoved(address)": TypedContractEvent<RewardTokenRemovedEvent.InputTuple, RewardTokenRemovedEvent.OutputTuple, RewardTokenRemovedEvent.OutputObject>;
|
|
1069
|
+
RewardTokenRemoved: TypedContractEvent<RewardTokenRemovedEvent.InputTuple, RewardTokenRemovedEvent.OutputTuple, RewardTokenRemovedEvent.OutputObject>;
|
|
807
1070
|
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
808
1071
|
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
809
1072
|
"VoteCast(address,uint256,uint256)": TypedContractEvent<VoteCastEvent.InputTuple, VoteCastEvent.OutputTuple, VoteCastEvent.OutputObject>;
|
|
810
1073
|
VoteCast: TypedContractEvent<VoteCastEvent.InputTuple, VoteCastEvent.OutputTuple, VoteCastEvent.OutputObject>;
|
|
811
|
-
"VotingPowerUpdated(address,uint256,uint256)": TypedContractEvent<VotingPowerUpdatedEvent.InputTuple, VotingPowerUpdatedEvent.OutputTuple, VotingPowerUpdatedEvent.OutputObject>;
|
|
812
|
-
VotingPowerUpdated: TypedContractEvent<VotingPowerUpdatedEvent.InputTuple, VotingPowerUpdatedEvent.OutputTuple, VotingPowerUpdatedEvent.OutputObject>;
|
|
813
1074
|
"Withdrawn(address,uint256)": TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
814
1075
|
Withdrawn: TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
815
1076
|
};
|