@raac/rpc 1.1.0-beta.72 → 1.1.0-beta.74
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/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +2 -29
- package/dist/artifacts/core/collectors/RAACTokenCollector.sol/RAACTokenCollector.json +2 -29
- package/dist/artifacts/core/collectors/RWAIndexTokenCollector.sol/RWAIndexTokenCollector.json +2 -29
- package/dist/artifacts/core/collectors/Treasury.sol/Treasury.json +2 -29
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +2 -2
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +2 -2
- package/dist/artifacts/core/oracles/RAACHousePriceOracle.sol/RAACHousePriceOracle.json +2 -2
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +2 -2
- package/dist/artifacts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.json +2 -29
- package/dist/artifacts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.json +2 -2
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +80 -51
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +55 -34
- package/dist/artifacts/core/primitives/ComplianceRegistry.sol/ComplianceRegistry.json +2 -2
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +2 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -29
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +2 -29
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +2 -2
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +2 -47
- package/dist/artifacts/core/tokens/RWAIndexToken.sol/RWAIndexToken.json +2 -2
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +2 -29
- package/dist/artifacts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.json +2 -29
- package/dist/artifacts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.json +2 -2
- package/dist/artifacts/core/vaults/RWAVault.sol/RWAVault.json +2 -2
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +2 -2
- package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +2 -2
- package/dist/artifacts/zeno/Auction.sol/Auction.json +2 -29
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +2 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +2 -29
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +2 -2
- package/dist/configs/chains/8453.json +17 -17
- package/dist/pools/lendingPool/getLendingPoolInfo.js +3 -0
- package/dist/scripts/liquidation.js +31 -12
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.d.ts +65 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/{contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle.d.ts → @openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.d.ts} +23 -16
- package/dist/types/typechain-types/@openzeppelin/contracts/{utils/math/Math.d.ts → proxy/ERC1967/ERC1967Utils.d.ts} +4 -4
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +2 -0
- package/dist/types/typechain-types/{contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle.d.ts → @openzeppelin/contracts/proxy/Proxy.d.ts} +6 -11
- package/dist/types/typechain-types/{contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle.d.ts → @openzeppelin/contracts/proxy/beacon/IBeacon.d.ts} +9 -9
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/beacon/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/index.d.ts +7 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.d.ts +74 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.d.ts +80 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.d.ts +51 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/index.d.ts +3 -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/oracles/CrvUSDToUSDOracle.sol/CrvUSDToUSDOracle.d.ts +24 -2
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +31 -18
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPoolStorage.d.ts +8 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LiquidationProxy.d.ts +8 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/VaultProxy.d.ts +8 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationStrategyProxy.d.ts +5 -1
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationSwap.d.ts +16 -4
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +43 -4
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPoolStorage.d.ts +5 -1
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +1 -15
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +1 -15
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +38 -2
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRToken.d.ts +5 -15
- package/dist/types/typechain-types/contracts/{mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl.d.ts → libraries/pools/LendingPoolFeeLibrary.d.ts} +6 -11
- package/dist/types/typechain-types/contracts/libraries/pools/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPool.d.ts +1 -15
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +1 -15
- package/dist/types/typechain-types/contracts/mocks/libraries/pools/ReserveLibraryMockCalculation.d.ts +2 -2
- 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/vrf/dev/libraries/VRFV2PlusClient__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +71 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.d.ts +50 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/Proxy__factory.d.ts +10 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +115 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy__factory.d.ts +56 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts +102 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/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 +1 -1
- 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 +1 -1
- 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/ERC20Collector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/RAACTokenCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/RWAIndexTokenCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +0 -20
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/lockers/LLamaTemple__factory.d.ts +1 -25
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/CrvUSDToUSDOracle.sol/CrvUSDToUSDOracle__factory.d.ts +38 -4
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/RWAIndexTokenOracle.sol/RWAIndexTokenOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/crvUSDPriceOracle.sol/CrvUSDPriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPoolStorage__factory.d.ts +9 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +34 -38
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LiquidationProxy__factory.d.ts +9 -29
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/VaultProxy__factory.d.ts +9 -21
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationStrategyProxy__factory.d.ts +19 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationSwap__factory.d.ts +32 -20
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPoolStorage__factory.d.ts +11 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +45 -27
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry.sol/ComplianceRegistry__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +1 -1
- 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 +1 -1
- 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 +1 -21
- 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 -35
- package/dist/types/typechain-types/factories/contracts/core/tokens/RWAIndexToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapterV2__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/vaults/RWAVault__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +4 -14
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +38 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts +10 -14
- 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 +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/pools/LendingPoolFeeLibrary__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/pools/index.d.ts +1 -0
- 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 +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveCrvUSDVaultMock__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockPayableTestTarget__factory.d.ts +1 -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/lockers/LLamaLocker.sol/LlamaLocker__factory.d.ts +1 -25
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockChainlinkAggregator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockCurveEMA.sol/MockCurveEMA__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +1 -1
- 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/MockRAACNFTVaultAdapterNAVOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockZKMEVerifyUpgradeable__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/CurveStyleCrvUSDiRAACPool__factory.d.ts +1 -21
- 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 +5 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -15
- 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/MockChainAnalysis.sol/MockChainAnalysis__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/CrvUSDTokenLimited__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 +1 -1
- 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 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +1 -1
- 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/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 +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +1 -1
- 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/ReserveLibraryMockCalculation__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +7 -3
- 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/zeno/AuctionFactory__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +1 -21
- package/dist/types/typechain-types/index.d.ts +22 -2
- package/package.json +1 -1
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2.d.ts +0 -35
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface.d.ts +0 -156
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC4626.d.ts +0 -318
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC4626.d.ts +0 -318
- package/dist/types/typechain-types/contracts/core/governance/boost/BoostController.d.ts +0 -573
- package/dist/types/typechain-types/contracts/core/governance/boost/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.d.ts +0 -263
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle.d.ts +0 -29
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/NFTLiquidator.d.ts +0 -283
- package/dist/types/typechain-types/contracts/core/primitives/ComplianceRegistry.d.ts +0 -203
- package/dist/types/typechain-types/contracts/core/tokens/IndexToken.d.ts +0 -340
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.d.ts +0 -174
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.d.ts +0 -188
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapter.d.ts +0 -218
- package/dist/types/typechain-types/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapterNAVOracle.d.ts +0 -47
- package/dist/types/typechain-types/contracts/core/vaults/RAACNFTVaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/interfaces/IHousePrices.d.ts +0 -29
- package/dist/types/typechain-types/contracts/interfaces/IPoolManager.d.ts +0 -37
- package/dist/types/typechain-types/contracts/interfaces/IReserveAllocationLibraryMock.d.ts +0 -164
- package/dist/types/typechain-types/contracts/interfaces/IveRAACDistributor.d.ts +0 -59
- package/dist/types/typechain-types/contracts/interfaces/core/governance/IBoostController.d.ts +0 -269
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGauge.d.ts +0 -235
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +0 -57
- package/dist/types/typechain-types/contracts/libraries/governance/Checkpoints.d.ts +0 -55
- package/dist/types/typechain-types/contracts/libraries/governance/RAACVoting.d.ts +0 -45
- package/dist/types/typechain-types/contracts/libraries/governance/VotingPowerLib.d.ts +0 -66
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockBaseGauge.d.ts +0 -845
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle.d.ts +0 -33
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockVeToken.d.ts +0 -510
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/CheckpointsMock.d.ts +0 -83
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/RAACVotingMock.d.ts +0 -41
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/VotingPowerMock.d.ts +0 -281
- package/dist/types/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper.d.ts +0 -100
- package/dist/types/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2__factory.d.ts +0 -33
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface__factory.d.ts +0 -171
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC4626__factory.d.ts +0 -472
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC4626__factory.d.ts +0 -632
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/Math__factory.d.ts +0 -26
- package/dist/types/typechain-types/factories/contracts/core/governance/boost/BoostController__factory.d.ts +0 -716
- package/dist/types/typechain-types/factories/contracts/core/governance/boost/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter__factory.d.ts +0 -407
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle__factory.d.ts +0 -21
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/NFTLiquidator__factory.d.ts +0 -390
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry__factory.d.ts +0 -276
- package/dist/types/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +0 -602
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter__factory.d.ts +0 -285
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle__factory.d.ts +0 -17
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter__factory.d.ts +0 -307
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle__factory.d.ts +0 -21
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapterNAVOracle__factory.d.ts +0 -25
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapter__factory.d.ts +0 -350
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapter.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/interfaces/IHousePrices__factory.d.ts +0 -21
- package/dist/types/typechain-types/factories/contracts/interfaces/IPoolManager__factory.d.ts +0 -43
- package/dist/types/typechain-types/factories/contracts/interfaces/IReserveAllocationLibraryMock__factory.d.ts +0 -189
- package/dist/types/typechain-types/factories/contracts/interfaces/IveRAACDistributor__factory.d.ts +0 -75
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/IBoostController__factory.d.ts +0 -295
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGauge__factory.d.ts +0 -307
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +0 -53
- package/dist/types/typechain-types/factories/contracts/libraries/governance/Checkpoints__factory.d.ts +0 -68
- package/dist/types/typechain-types/factories/contracts/libraries/governance/RAACVoting__factory.d.ts +0 -92
- package/dist/types/typechain-types/factories/contracts/libraries/governance/VotingPowerLib__factory.d.ts +0 -74
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +0 -1194
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle__factory.d.ts +0 -17
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle__factory.d.ts +0 -42
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockVeToken__factory.d.ts +0 -714
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/CheckpointsMock__factory.d.ts +0 -124
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/RAACVotingMock__factory.d.ts +0 -70
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/VotingPowerMock__factory.d.ts +0 -341
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl__factory.d.ts +0 -17
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper__factory.d.ts +0 -113
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/index.d.ts +0 -2
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../../common";
|
|
3
|
-
export interface MockERC20PriceOracleInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "getLatestPrice" | "setLatestPrice"): FunctionFragment;
|
|
5
|
-
encodeFunctionData(functionFragment: "getLatestPrice", values?: undefined): string;
|
|
6
|
-
encodeFunctionData(functionFragment: "setLatestPrice", values: [BigNumberish]): string;
|
|
7
|
-
decodeFunctionResult(functionFragment: "getLatestPrice", data: BytesLike): Result;
|
|
8
|
-
decodeFunctionResult(functionFragment: "setLatestPrice", data: BytesLike): Result;
|
|
9
|
-
}
|
|
10
|
-
export interface MockERC20PriceOracle extends BaseContract {
|
|
11
|
-
connect(runner?: ContractRunner | null): MockERC20PriceOracle;
|
|
12
|
-
waitForDeployment(): Promise<this>;
|
|
13
|
-
interface: MockERC20PriceOracleInterface;
|
|
14
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
15
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
16
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
17
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
18
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
19
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
20
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
21
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
22
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
23
|
-
getLatestPrice: TypedContractMethod<[], [bigint], "view">;
|
|
24
|
-
setLatestPrice: TypedContractMethod<[
|
|
25
|
-
_updatedValue: BigNumberish
|
|
26
|
-
], [
|
|
27
|
-
void
|
|
28
|
-
], "nonpayable">;
|
|
29
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
30
|
-
getFunction(nameOrSignature: "getLatestPrice"): TypedContractMethod<[], [bigint], "view">;
|
|
31
|
-
getFunction(nameOrSignature: "setLatestPrice"): TypedContractMethod<[_updatedValue: BigNumberish], [void], "nonpayable">;
|
|
32
|
-
filters: {};
|
|
33
|
-
}
|
|
@@ -1,510 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
-
export declare namespace IveRAACToken {
|
|
4
|
-
type LockPositionStruct = {
|
|
5
|
-
amount: BigNumberish;
|
|
6
|
-
end: BigNumberish;
|
|
7
|
-
power: BigNumberish;
|
|
8
|
-
};
|
|
9
|
-
type LockPositionStructOutput = [
|
|
10
|
-
amount: bigint,
|
|
11
|
-
end: bigint,
|
|
12
|
-
power: bigint
|
|
13
|
-
] & {
|
|
14
|
-
amount: bigint;
|
|
15
|
-
end: bigint;
|
|
16
|
-
power: bigint;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export interface MockVeTokenInterface extends Interface {
|
|
20
|
-
getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "calculateVeAmount" | "decimals" | "extend" | "getLockPosition" | "getTotalVotingPower" | "getVotingPower(address,uint256)" | "getVotingPower(address)" | "increase" | "lock" | "mint" | "mock_setInitialVotingPower" | "mock_setTotalSupply" | "mock_setVotingPower" | "name" | "setBalance" | "setMinter" | "symbol" | "totalSupply" | "transfer" | "transferFrom" | "withdraw"): FunctionFragment;
|
|
21
|
-
getEvent(nameOrSignatureOrTopic: "Approval" | "EmergencyActionCancelled" | "EmergencyActionScheduled" | "EmergencyUnlockEnabled" | "EmergencyUnlockScheduled" | "EmergencyWithdrawEnabled" | "EmergencyWithdrawn" | "LockCreated" | "LockExtended" | "LockIncreased" | "Locked" | "MinterSet" | "Transfer" | "VoteCast" | "Withdrawn"): EventFragment;
|
|
22
|
-
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
23
|
-
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
24
|
-
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
25
|
-
encodeFunctionData(functionFragment: "calculateVeAmount", values: [BigNumberish, BigNumberish]): string;
|
|
26
|
-
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
27
|
-
encodeFunctionData(functionFragment: "extend", values: [BigNumberish]): string;
|
|
28
|
-
encodeFunctionData(functionFragment: "getLockPosition", values: [AddressLike]): string;
|
|
29
|
-
encodeFunctionData(functionFragment: "getTotalVotingPower", values?: undefined): string;
|
|
30
|
-
encodeFunctionData(functionFragment: "getVotingPower(address,uint256)", values: [AddressLike, BigNumberish]): string;
|
|
31
|
-
encodeFunctionData(functionFragment: "getVotingPower(address)", values: [AddressLike]): string;
|
|
32
|
-
encodeFunctionData(functionFragment: "increase", values: [BigNumberish]): string;
|
|
33
|
-
encodeFunctionData(functionFragment: "lock", values: [BigNumberish, BigNumberish]): string;
|
|
34
|
-
encodeFunctionData(functionFragment: "mint", values: [AddressLike, BigNumberish]): string;
|
|
35
|
-
encodeFunctionData(functionFragment: "mock_setInitialVotingPower", values: [AddressLike, BigNumberish]): string;
|
|
36
|
-
encodeFunctionData(functionFragment: "mock_setTotalSupply", values: [BigNumberish]): string;
|
|
37
|
-
encodeFunctionData(functionFragment: "mock_setVotingPower", values: [AddressLike, BigNumberish]): string;
|
|
38
|
-
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
39
|
-
encodeFunctionData(functionFragment: "setBalance", values: [AddressLike, BigNumberish]): string;
|
|
40
|
-
encodeFunctionData(functionFragment: "setMinter", values: [AddressLike]): string;
|
|
41
|
-
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
42
|
-
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
43
|
-
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
44
|
-
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
45
|
-
encodeFunctionData(functionFragment: "withdraw", values?: undefined): string;
|
|
46
|
-
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
47
|
-
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
48
|
-
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
49
|
-
decodeFunctionResult(functionFragment: "calculateVeAmount", data: BytesLike): Result;
|
|
50
|
-
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
51
|
-
decodeFunctionResult(functionFragment: "extend", data: BytesLike): Result;
|
|
52
|
-
decodeFunctionResult(functionFragment: "getLockPosition", data: BytesLike): Result;
|
|
53
|
-
decodeFunctionResult(functionFragment: "getTotalVotingPower", data: BytesLike): Result;
|
|
54
|
-
decodeFunctionResult(functionFragment: "getVotingPower(address,uint256)", data: BytesLike): Result;
|
|
55
|
-
decodeFunctionResult(functionFragment: "getVotingPower(address)", data: BytesLike): Result;
|
|
56
|
-
decodeFunctionResult(functionFragment: "increase", data: BytesLike): Result;
|
|
57
|
-
decodeFunctionResult(functionFragment: "lock", data: BytesLike): Result;
|
|
58
|
-
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
59
|
-
decodeFunctionResult(functionFragment: "mock_setInitialVotingPower", data: BytesLike): Result;
|
|
60
|
-
decodeFunctionResult(functionFragment: "mock_setTotalSupply", data: BytesLike): Result;
|
|
61
|
-
decodeFunctionResult(functionFragment: "mock_setVotingPower", data: BytesLike): Result;
|
|
62
|
-
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
63
|
-
decodeFunctionResult(functionFragment: "setBalance", data: BytesLike): Result;
|
|
64
|
-
decodeFunctionResult(functionFragment: "setMinter", data: BytesLike): Result;
|
|
65
|
-
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
66
|
-
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
67
|
-
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
68
|
-
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
69
|
-
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
70
|
-
}
|
|
71
|
-
export declare namespace ApprovalEvent {
|
|
72
|
-
type InputTuple = [
|
|
73
|
-
owner: AddressLike,
|
|
74
|
-
spender: AddressLike,
|
|
75
|
-
value: BigNumberish
|
|
76
|
-
];
|
|
77
|
-
type OutputTuple = [owner: string, spender: string, value: bigint];
|
|
78
|
-
interface OutputObject {
|
|
79
|
-
owner: string;
|
|
80
|
-
spender: string;
|
|
81
|
-
value: bigint;
|
|
82
|
-
}
|
|
83
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
84
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
85
|
-
type Log = TypedEventLog<Event>;
|
|
86
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
87
|
-
}
|
|
88
|
-
export declare namespace EmergencyActionCancelledEvent {
|
|
89
|
-
type InputTuple = [actionId: BytesLike];
|
|
90
|
-
type OutputTuple = [actionId: string];
|
|
91
|
-
interface OutputObject {
|
|
92
|
-
actionId: string;
|
|
93
|
-
}
|
|
94
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
95
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
96
|
-
type Log = TypedEventLog<Event>;
|
|
97
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
98
|
-
}
|
|
99
|
-
export declare namespace EmergencyActionScheduledEvent {
|
|
100
|
-
type InputTuple = [actionId: BytesLike, executeTime: BigNumberish];
|
|
101
|
-
type OutputTuple = [actionId: string, executeTime: bigint];
|
|
102
|
-
interface OutputObject {
|
|
103
|
-
actionId: string;
|
|
104
|
-
executeTime: bigint;
|
|
105
|
-
}
|
|
106
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
107
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
108
|
-
type Log = TypedEventLog<Event>;
|
|
109
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
110
|
-
}
|
|
111
|
-
export declare namespace EmergencyUnlockEnabledEvent {
|
|
112
|
-
type InputTuple = [];
|
|
113
|
-
type OutputTuple = [];
|
|
114
|
-
interface OutputObject {
|
|
115
|
-
}
|
|
116
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
117
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
118
|
-
type Log = TypedEventLog<Event>;
|
|
119
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
120
|
-
}
|
|
121
|
-
export declare namespace EmergencyUnlockScheduledEvent {
|
|
122
|
-
type InputTuple = [];
|
|
123
|
-
type OutputTuple = [];
|
|
124
|
-
interface OutputObject {
|
|
125
|
-
}
|
|
126
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
127
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
128
|
-
type Log = TypedEventLog<Event>;
|
|
129
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
130
|
-
}
|
|
131
|
-
export declare namespace EmergencyWithdrawEnabledEvent {
|
|
132
|
-
type InputTuple = [withdrawTime: BigNumberish];
|
|
133
|
-
type OutputTuple = [withdrawTime: bigint];
|
|
134
|
-
interface OutputObject {
|
|
135
|
-
withdrawTime: bigint;
|
|
136
|
-
}
|
|
137
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
138
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
139
|
-
type Log = TypedEventLog<Event>;
|
|
140
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
141
|
-
}
|
|
142
|
-
export declare namespace EmergencyWithdrawnEvent {
|
|
143
|
-
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
144
|
-
type OutputTuple = [user: string, amount: bigint];
|
|
145
|
-
interface OutputObject {
|
|
146
|
-
user: string;
|
|
147
|
-
amount: bigint;
|
|
148
|
-
}
|
|
149
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
150
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
151
|
-
type Log = TypedEventLog<Event>;
|
|
152
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
153
|
-
}
|
|
154
|
-
export declare namespace LockCreatedEvent {
|
|
155
|
-
type InputTuple = [
|
|
156
|
-
user: AddressLike,
|
|
157
|
-
amount: BigNumberish,
|
|
158
|
-
unlockTime: BigNumberish
|
|
159
|
-
];
|
|
160
|
-
type OutputTuple = [user: string, amount: bigint, unlockTime: bigint];
|
|
161
|
-
interface OutputObject {
|
|
162
|
-
user: string;
|
|
163
|
-
amount: bigint;
|
|
164
|
-
unlockTime: bigint;
|
|
165
|
-
}
|
|
166
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
167
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
168
|
-
type Log = TypedEventLog<Event>;
|
|
169
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
170
|
-
}
|
|
171
|
-
export declare namespace LockExtendedEvent {
|
|
172
|
-
type InputTuple = [user: AddressLike, newUnlockTime: BigNumberish];
|
|
173
|
-
type OutputTuple = [user: string, newUnlockTime: bigint];
|
|
174
|
-
interface OutputObject {
|
|
175
|
-
user: string;
|
|
176
|
-
newUnlockTime: bigint;
|
|
177
|
-
}
|
|
178
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
179
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
180
|
-
type Log = TypedEventLog<Event>;
|
|
181
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
182
|
-
}
|
|
183
|
-
export declare namespace LockIncreasedEvent {
|
|
184
|
-
type InputTuple = [user: AddressLike, additionalAmount: BigNumberish];
|
|
185
|
-
type OutputTuple = [user: string, additionalAmount: bigint];
|
|
186
|
-
interface OutputObject {
|
|
187
|
-
user: string;
|
|
188
|
-
additionalAmount: bigint;
|
|
189
|
-
}
|
|
190
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
191
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
192
|
-
type Log = TypedEventLog<Event>;
|
|
193
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
194
|
-
}
|
|
195
|
-
export declare namespace LockedEvent {
|
|
196
|
-
type InputTuple = [
|
|
197
|
-
user: AddressLike,
|
|
198
|
-
amount: BigNumberish,
|
|
199
|
-
lockDuration: BigNumberish
|
|
200
|
-
];
|
|
201
|
-
type OutputTuple = [
|
|
202
|
-
user: string,
|
|
203
|
-
amount: bigint,
|
|
204
|
-
lockDuration: bigint
|
|
205
|
-
];
|
|
206
|
-
interface OutputObject {
|
|
207
|
-
user: string;
|
|
208
|
-
amount: bigint;
|
|
209
|
-
lockDuration: bigint;
|
|
210
|
-
}
|
|
211
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
212
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
213
|
-
type Log = TypedEventLog<Event>;
|
|
214
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
215
|
-
}
|
|
216
|
-
export declare namespace MinterSetEvent {
|
|
217
|
-
type InputTuple = [minter: AddressLike];
|
|
218
|
-
type OutputTuple = [minter: string];
|
|
219
|
-
interface OutputObject {
|
|
220
|
-
minter: string;
|
|
221
|
-
}
|
|
222
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
223
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
224
|
-
type Log = TypedEventLog<Event>;
|
|
225
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
226
|
-
}
|
|
227
|
-
export declare namespace TransferEvent {
|
|
228
|
-
type InputTuple = [
|
|
229
|
-
from: AddressLike,
|
|
230
|
-
to: AddressLike,
|
|
231
|
-
value: BigNumberish
|
|
232
|
-
];
|
|
233
|
-
type OutputTuple = [from: string, to: string, value: bigint];
|
|
234
|
-
interface OutputObject {
|
|
235
|
-
from: string;
|
|
236
|
-
to: string;
|
|
237
|
-
value: bigint;
|
|
238
|
-
}
|
|
239
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
240
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
241
|
-
type Log = TypedEventLog<Event>;
|
|
242
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
243
|
-
}
|
|
244
|
-
export declare namespace VoteCastEvent {
|
|
245
|
-
type InputTuple = [
|
|
246
|
-
voter: AddressLike,
|
|
247
|
-
proposalId: BigNumberish,
|
|
248
|
-
power: BigNumberish
|
|
249
|
-
];
|
|
250
|
-
type OutputTuple = [voter: string, proposalId: bigint, power: bigint];
|
|
251
|
-
interface OutputObject {
|
|
252
|
-
voter: string;
|
|
253
|
-
proposalId: bigint;
|
|
254
|
-
power: bigint;
|
|
255
|
-
}
|
|
256
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
257
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
258
|
-
type Log = TypedEventLog<Event>;
|
|
259
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
260
|
-
}
|
|
261
|
-
export declare namespace WithdrawnEvent {
|
|
262
|
-
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
263
|
-
type OutputTuple = [user: string, amount: bigint];
|
|
264
|
-
interface OutputObject {
|
|
265
|
-
user: string;
|
|
266
|
-
amount: bigint;
|
|
267
|
-
}
|
|
268
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
269
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
270
|
-
type Log = TypedEventLog<Event>;
|
|
271
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
272
|
-
}
|
|
273
|
-
export interface MockVeToken extends BaseContract {
|
|
274
|
-
connect(runner?: ContractRunner | null): MockVeToken;
|
|
275
|
-
waitForDeployment(): Promise<this>;
|
|
276
|
-
interface: MockVeTokenInterface;
|
|
277
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
278
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
279
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
280
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
281
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
282
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
283
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
284
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
285
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
286
|
-
allowance: TypedContractMethod<[
|
|
287
|
-
owner: AddressLike,
|
|
288
|
-
spender: AddressLike
|
|
289
|
-
], [
|
|
290
|
-
bigint
|
|
291
|
-
], "view">;
|
|
292
|
-
approve: TypedContractMethod<[
|
|
293
|
-
spender: AddressLike,
|
|
294
|
-
value: BigNumberish
|
|
295
|
-
], [
|
|
296
|
-
boolean
|
|
297
|
-
], "nonpayable">;
|
|
298
|
-
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
299
|
-
calculateVeAmount: TypedContractMethod<[
|
|
300
|
-
amount: BigNumberish,
|
|
301
|
-
lockDuration: BigNumberish
|
|
302
|
-
], [
|
|
303
|
-
bigint
|
|
304
|
-
], "view">;
|
|
305
|
-
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
306
|
-
extend: TypedContractMethod<[arg0: BigNumberish], [void], "view">;
|
|
307
|
-
getLockPosition: TypedContractMethod<[
|
|
308
|
-
arg0: AddressLike
|
|
309
|
-
], [
|
|
310
|
-
IveRAACToken.LockPositionStructOutput
|
|
311
|
-
], "view">;
|
|
312
|
-
getTotalVotingPower: TypedContractMethod<[], [bigint], "view">;
|
|
313
|
-
"getVotingPower(address,uint256)": TypedContractMethod<[
|
|
314
|
-
account: AddressLike,
|
|
315
|
-
arg1: BigNumberish
|
|
316
|
-
], [
|
|
317
|
-
bigint
|
|
318
|
-
], "view">;
|
|
319
|
-
"getVotingPower(address)": TypedContractMethod<[
|
|
320
|
-
account: AddressLike
|
|
321
|
-
], [
|
|
322
|
-
bigint
|
|
323
|
-
], "view">;
|
|
324
|
-
increase: TypedContractMethod<[arg0: BigNumberish], [void], "view">;
|
|
325
|
-
lock: TypedContractMethod<[
|
|
326
|
-
arg0: BigNumberish,
|
|
327
|
-
arg1: BigNumberish
|
|
328
|
-
], [
|
|
329
|
-
void
|
|
330
|
-
], "view">;
|
|
331
|
-
mint: TypedContractMethod<[
|
|
332
|
-
to: AddressLike,
|
|
333
|
-
amount: BigNumberish
|
|
334
|
-
], [
|
|
335
|
-
void
|
|
336
|
-
], "nonpayable">;
|
|
337
|
-
mock_setInitialVotingPower: TypedContractMethod<[
|
|
338
|
-
account: AddressLike,
|
|
339
|
-
amount: BigNumberish
|
|
340
|
-
], [
|
|
341
|
-
void
|
|
342
|
-
], "nonpayable">;
|
|
343
|
-
mock_setTotalSupply: TypedContractMethod<[
|
|
344
|
-
amount: BigNumberish
|
|
345
|
-
], [
|
|
346
|
-
void
|
|
347
|
-
], "nonpayable">;
|
|
348
|
-
mock_setVotingPower: TypedContractMethod<[
|
|
349
|
-
account: AddressLike,
|
|
350
|
-
amount: BigNumberish
|
|
351
|
-
], [
|
|
352
|
-
void
|
|
353
|
-
], "nonpayable">;
|
|
354
|
-
name: TypedContractMethod<[], [string], "view">;
|
|
355
|
-
setBalance: TypedContractMethod<[
|
|
356
|
-
account: AddressLike,
|
|
357
|
-
balance: BigNumberish
|
|
358
|
-
], [
|
|
359
|
-
void
|
|
360
|
-
], "nonpayable">;
|
|
361
|
-
setMinter: TypedContractMethod<[arg0: AddressLike], [void], "view">;
|
|
362
|
-
symbol: TypedContractMethod<[], [string], "view">;
|
|
363
|
-
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
364
|
-
transfer: TypedContractMethod<[
|
|
365
|
-
to: AddressLike,
|
|
366
|
-
amount: BigNumberish
|
|
367
|
-
], [
|
|
368
|
-
boolean
|
|
369
|
-
], "nonpayable">;
|
|
370
|
-
transferFrom: TypedContractMethod<[
|
|
371
|
-
from: AddressLike,
|
|
372
|
-
to: AddressLike,
|
|
373
|
-
amount: BigNumberish
|
|
374
|
-
], [
|
|
375
|
-
boolean
|
|
376
|
-
], "nonpayable">;
|
|
377
|
-
withdraw: TypedContractMethod<[], [void], "view">;
|
|
378
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
379
|
-
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
380
|
-
owner: AddressLike,
|
|
381
|
-
spender: AddressLike
|
|
382
|
-
], [
|
|
383
|
-
bigint
|
|
384
|
-
], "view">;
|
|
385
|
-
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
386
|
-
spender: AddressLike,
|
|
387
|
-
value: BigNumberish
|
|
388
|
-
], [
|
|
389
|
-
boolean
|
|
390
|
-
], "nonpayable">;
|
|
391
|
-
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
392
|
-
getFunction(nameOrSignature: "calculateVeAmount"): TypedContractMethod<[
|
|
393
|
-
amount: BigNumberish,
|
|
394
|
-
lockDuration: BigNumberish
|
|
395
|
-
], [
|
|
396
|
-
bigint
|
|
397
|
-
], "view">;
|
|
398
|
-
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
399
|
-
getFunction(nameOrSignature: "extend"): TypedContractMethod<[arg0: BigNumberish], [void], "view">;
|
|
400
|
-
getFunction(nameOrSignature: "getLockPosition"): TypedContractMethod<[
|
|
401
|
-
arg0: AddressLike
|
|
402
|
-
], [
|
|
403
|
-
IveRAACToken.LockPositionStructOutput
|
|
404
|
-
], "view">;
|
|
405
|
-
getFunction(nameOrSignature: "getTotalVotingPower"): TypedContractMethod<[], [bigint], "view">;
|
|
406
|
-
getFunction(nameOrSignature: "getVotingPower(address,uint256)"): TypedContractMethod<[
|
|
407
|
-
account: AddressLike,
|
|
408
|
-
arg1: BigNumberish
|
|
409
|
-
], [
|
|
410
|
-
bigint
|
|
411
|
-
], "view">;
|
|
412
|
-
getFunction(nameOrSignature: "getVotingPower(address)"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
413
|
-
getFunction(nameOrSignature: "increase"): TypedContractMethod<[arg0: BigNumberish], [void], "view">;
|
|
414
|
-
getFunction(nameOrSignature: "lock"): TypedContractMethod<[
|
|
415
|
-
arg0: BigNumberish,
|
|
416
|
-
arg1: BigNumberish
|
|
417
|
-
], [
|
|
418
|
-
void
|
|
419
|
-
], "view">;
|
|
420
|
-
getFunction(nameOrSignature: "mint"): TypedContractMethod<[
|
|
421
|
-
to: AddressLike,
|
|
422
|
-
amount: BigNumberish
|
|
423
|
-
], [
|
|
424
|
-
void
|
|
425
|
-
], "nonpayable">;
|
|
426
|
-
getFunction(nameOrSignature: "mock_setInitialVotingPower"): TypedContractMethod<[
|
|
427
|
-
account: AddressLike,
|
|
428
|
-
amount: BigNumberish
|
|
429
|
-
], [
|
|
430
|
-
void
|
|
431
|
-
], "nonpayable">;
|
|
432
|
-
getFunction(nameOrSignature: "mock_setTotalSupply"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
433
|
-
getFunction(nameOrSignature: "mock_setVotingPower"): TypedContractMethod<[
|
|
434
|
-
account: AddressLike,
|
|
435
|
-
amount: BigNumberish
|
|
436
|
-
], [
|
|
437
|
-
void
|
|
438
|
-
], "nonpayable">;
|
|
439
|
-
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
440
|
-
getFunction(nameOrSignature: "setBalance"): TypedContractMethod<[
|
|
441
|
-
account: AddressLike,
|
|
442
|
-
balance: BigNumberish
|
|
443
|
-
], [
|
|
444
|
-
void
|
|
445
|
-
], "nonpayable">;
|
|
446
|
-
getFunction(nameOrSignature: "setMinter"): TypedContractMethod<[arg0: AddressLike], [void], "view">;
|
|
447
|
-
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
448
|
-
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
449
|
-
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
450
|
-
to: AddressLike,
|
|
451
|
-
amount: BigNumberish
|
|
452
|
-
], [
|
|
453
|
-
boolean
|
|
454
|
-
], "nonpayable">;
|
|
455
|
-
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
456
|
-
from: AddressLike,
|
|
457
|
-
to: AddressLike,
|
|
458
|
-
amount: BigNumberish
|
|
459
|
-
], [
|
|
460
|
-
boolean
|
|
461
|
-
], "nonpayable">;
|
|
462
|
-
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[], [void], "view">;
|
|
463
|
-
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
464
|
-
getEvent(key: "EmergencyActionCancelled"): TypedContractEvent<EmergencyActionCancelledEvent.InputTuple, EmergencyActionCancelledEvent.OutputTuple, EmergencyActionCancelledEvent.OutputObject>;
|
|
465
|
-
getEvent(key: "EmergencyActionScheduled"): TypedContractEvent<EmergencyActionScheduledEvent.InputTuple, EmergencyActionScheduledEvent.OutputTuple, EmergencyActionScheduledEvent.OutputObject>;
|
|
466
|
-
getEvent(key: "EmergencyUnlockEnabled"): TypedContractEvent<EmergencyUnlockEnabledEvent.InputTuple, EmergencyUnlockEnabledEvent.OutputTuple, EmergencyUnlockEnabledEvent.OutputObject>;
|
|
467
|
-
getEvent(key: "EmergencyUnlockScheduled"): TypedContractEvent<EmergencyUnlockScheduledEvent.InputTuple, EmergencyUnlockScheduledEvent.OutputTuple, EmergencyUnlockScheduledEvent.OutputObject>;
|
|
468
|
-
getEvent(key: "EmergencyWithdrawEnabled"): TypedContractEvent<EmergencyWithdrawEnabledEvent.InputTuple, EmergencyWithdrawEnabledEvent.OutputTuple, EmergencyWithdrawEnabledEvent.OutputObject>;
|
|
469
|
-
getEvent(key: "EmergencyWithdrawn"): TypedContractEvent<EmergencyWithdrawnEvent.InputTuple, EmergencyWithdrawnEvent.OutputTuple, EmergencyWithdrawnEvent.OutputObject>;
|
|
470
|
-
getEvent(key: "LockCreated"): TypedContractEvent<LockCreatedEvent.InputTuple, LockCreatedEvent.OutputTuple, LockCreatedEvent.OutputObject>;
|
|
471
|
-
getEvent(key: "LockExtended"): TypedContractEvent<LockExtendedEvent.InputTuple, LockExtendedEvent.OutputTuple, LockExtendedEvent.OutputObject>;
|
|
472
|
-
getEvent(key: "LockIncreased"): TypedContractEvent<LockIncreasedEvent.InputTuple, LockIncreasedEvent.OutputTuple, LockIncreasedEvent.OutputObject>;
|
|
473
|
-
getEvent(key: "Locked"): TypedContractEvent<LockedEvent.InputTuple, LockedEvent.OutputTuple, LockedEvent.OutputObject>;
|
|
474
|
-
getEvent(key: "MinterSet"): TypedContractEvent<MinterSetEvent.InputTuple, MinterSetEvent.OutputTuple, MinterSetEvent.OutputObject>;
|
|
475
|
-
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
476
|
-
getEvent(key: "VoteCast"): TypedContractEvent<VoteCastEvent.InputTuple, VoteCastEvent.OutputTuple, VoteCastEvent.OutputObject>;
|
|
477
|
-
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
478
|
-
filters: {
|
|
479
|
-
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
480
|
-
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
481
|
-
"EmergencyActionCancelled(bytes32)": TypedContractEvent<EmergencyActionCancelledEvent.InputTuple, EmergencyActionCancelledEvent.OutputTuple, EmergencyActionCancelledEvent.OutputObject>;
|
|
482
|
-
EmergencyActionCancelled: TypedContractEvent<EmergencyActionCancelledEvent.InputTuple, EmergencyActionCancelledEvent.OutputTuple, EmergencyActionCancelledEvent.OutputObject>;
|
|
483
|
-
"EmergencyActionScheduled(bytes32,uint256)": TypedContractEvent<EmergencyActionScheduledEvent.InputTuple, EmergencyActionScheduledEvent.OutputTuple, EmergencyActionScheduledEvent.OutputObject>;
|
|
484
|
-
EmergencyActionScheduled: TypedContractEvent<EmergencyActionScheduledEvent.InputTuple, EmergencyActionScheduledEvent.OutputTuple, EmergencyActionScheduledEvent.OutputObject>;
|
|
485
|
-
"EmergencyUnlockEnabled()": TypedContractEvent<EmergencyUnlockEnabledEvent.InputTuple, EmergencyUnlockEnabledEvent.OutputTuple, EmergencyUnlockEnabledEvent.OutputObject>;
|
|
486
|
-
EmergencyUnlockEnabled: TypedContractEvent<EmergencyUnlockEnabledEvent.InputTuple, EmergencyUnlockEnabledEvent.OutputTuple, EmergencyUnlockEnabledEvent.OutputObject>;
|
|
487
|
-
"EmergencyUnlockScheduled()": TypedContractEvent<EmergencyUnlockScheduledEvent.InputTuple, EmergencyUnlockScheduledEvent.OutputTuple, EmergencyUnlockScheduledEvent.OutputObject>;
|
|
488
|
-
EmergencyUnlockScheduled: TypedContractEvent<EmergencyUnlockScheduledEvent.InputTuple, EmergencyUnlockScheduledEvent.OutputTuple, EmergencyUnlockScheduledEvent.OutputObject>;
|
|
489
|
-
"EmergencyWithdrawEnabled(uint256)": TypedContractEvent<EmergencyWithdrawEnabledEvent.InputTuple, EmergencyWithdrawEnabledEvent.OutputTuple, EmergencyWithdrawEnabledEvent.OutputObject>;
|
|
490
|
-
EmergencyWithdrawEnabled: TypedContractEvent<EmergencyWithdrawEnabledEvent.InputTuple, EmergencyWithdrawEnabledEvent.OutputTuple, EmergencyWithdrawEnabledEvent.OutputObject>;
|
|
491
|
-
"EmergencyWithdrawn(address,uint256)": TypedContractEvent<EmergencyWithdrawnEvent.InputTuple, EmergencyWithdrawnEvent.OutputTuple, EmergencyWithdrawnEvent.OutputObject>;
|
|
492
|
-
EmergencyWithdrawn: TypedContractEvent<EmergencyWithdrawnEvent.InputTuple, EmergencyWithdrawnEvent.OutputTuple, EmergencyWithdrawnEvent.OutputObject>;
|
|
493
|
-
"LockCreated(address,uint256,uint256)": TypedContractEvent<LockCreatedEvent.InputTuple, LockCreatedEvent.OutputTuple, LockCreatedEvent.OutputObject>;
|
|
494
|
-
LockCreated: TypedContractEvent<LockCreatedEvent.InputTuple, LockCreatedEvent.OutputTuple, LockCreatedEvent.OutputObject>;
|
|
495
|
-
"LockExtended(address,uint256)": TypedContractEvent<LockExtendedEvent.InputTuple, LockExtendedEvent.OutputTuple, LockExtendedEvent.OutputObject>;
|
|
496
|
-
LockExtended: TypedContractEvent<LockExtendedEvent.InputTuple, LockExtendedEvent.OutputTuple, LockExtendedEvent.OutputObject>;
|
|
497
|
-
"LockIncreased(address,uint256)": TypedContractEvent<LockIncreasedEvent.InputTuple, LockIncreasedEvent.OutputTuple, LockIncreasedEvent.OutputObject>;
|
|
498
|
-
LockIncreased: TypedContractEvent<LockIncreasedEvent.InputTuple, LockIncreasedEvent.OutputTuple, LockIncreasedEvent.OutputObject>;
|
|
499
|
-
"Locked(address,uint256,uint256)": TypedContractEvent<LockedEvent.InputTuple, LockedEvent.OutputTuple, LockedEvent.OutputObject>;
|
|
500
|
-
Locked: TypedContractEvent<LockedEvent.InputTuple, LockedEvent.OutputTuple, LockedEvent.OutputObject>;
|
|
501
|
-
"MinterSet(address)": TypedContractEvent<MinterSetEvent.InputTuple, MinterSetEvent.OutputTuple, MinterSetEvent.OutputObject>;
|
|
502
|
-
MinterSet: TypedContractEvent<MinterSetEvent.InputTuple, MinterSetEvent.OutputTuple, MinterSetEvent.OutputObject>;
|
|
503
|
-
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
504
|
-
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
505
|
-
"VoteCast(address,uint256,uint256)": TypedContractEvent<VoteCastEvent.InputTuple, VoteCastEvent.OutputTuple, VoteCastEvent.OutputObject>;
|
|
506
|
-
VoteCast: TypedContractEvent<VoteCastEvent.InputTuple, VoteCastEvent.OutputTuple, VoteCastEvent.OutputObject>;
|
|
507
|
-
"Withdrawn(address,uint256)": TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
508
|
-
Withdrawn: TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
509
|
-
};
|
|
510
|
-
}
|
package/dist/types/typechain-types/contracts/mocks/libraries/governance/CheckpointsMock.d.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
-
export declare namespace Checkpoints {
|
|
4
|
-
type CheckpointStruct = {
|
|
5
|
-
fromBlock: BigNumberish;
|
|
6
|
-
value: BigNumberish;
|
|
7
|
-
};
|
|
8
|
-
type CheckpointStructOutput = [fromBlock: bigint, value: bigint] & {
|
|
9
|
-
fromBlock: bigint;
|
|
10
|
-
value: bigint;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export interface CheckpointsMockInterface extends Interface {
|
|
14
|
-
getFunction(nameOrSignature: "findCheckpoint" | "getAllCheckpoints" | "getLatestCheckpoint" | "length" | "writeCheckpoint"): FunctionFragment;
|
|
15
|
-
getEvent(nameOrSignatureOrTopic: "CheckpointWritten"): EventFragment;
|
|
16
|
-
encodeFunctionData(functionFragment: "findCheckpoint", values: [BigNumberish]): string;
|
|
17
|
-
encodeFunctionData(functionFragment: "getAllCheckpoints", values?: undefined): string;
|
|
18
|
-
encodeFunctionData(functionFragment: "getLatestCheckpoint", values?: undefined): string;
|
|
19
|
-
encodeFunctionData(functionFragment: "length", values?: undefined): string;
|
|
20
|
-
encodeFunctionData(functionFragment: "writeCheckpoint", values: [BigNumberish]): string;
|
|
21
|
-
decodeFunctionResult(functionFragment: "findCheckpoint", data: BytesLike): Result;
|
|
22
|
-
decodeFunctionResult(functionFragment: "getAllCheckpoints", data: BytesLike): Result;
|
|
23
|
-
decodeFunctionResult(functionFragment: "getLatestCheckpoint", data: BytesLike): Result;
|
|
24
|
-
decodeFunctionResult(functionFragment: "length", data: BytesLike): Result;
|
|
25
|
-
decodeFunctionResult(functionFragment: "writeCheckpoint", data: BytesLike): Result;
|
|
26
|
-
}
|
|
27
|
-
export declare namespace CheckpointWrittenEvent {
|
|
28
|
-
type InputTuple = [blockNumber: BigNumberish, value: BigNumberish];
|
|
29
|
-
type OutputTuple = [blockNumber: bigint, value: bigint];
|
|
30
|
-
interface OutputObject {
|
|
31
|
-
blockNumber: bigint;
|
|
32
|
-
value: bigint;
|
|
33
|
-
}
|
|
34
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
35
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
36
|
-
type Log = TypedEventLog<Event>;
|
|
37
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
38
|
-
}
|
|
39
|
-
export interface CheckpointsMock extends BaseContract {
|
|
40
|
-
connect(runner?: ContractRunner | null): CheckpointsMock;
|
|
41
|
-
waitForDeployment(): Promise<this>;
|
|
42
|
-
interface: CheckpointsMockInterface;
|
|
43
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
44
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
45
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
46
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
47
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
48
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
49
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
50
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
51
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
52
|
-
findCheckpoint: TypedContractMethod<[
|
|
53
|
-
blockNumber: BigNumberish
|
|
54
|
-
], [
|
|
55
|
-
bigint
|
|
56
|
-
], "view">;
|
|
57
|
-
getAllCheckpoints: TypedContractMethod<[
|
|
58
|
-
], [
|
|
59
|
-
Checkpoints.CheckpointStructOutput[]
|
|
60
|
-
], "view">;
|
|
61
|
-
getLatestCheckpoint: TypedContractMethod<[], [[bigint, bigint]], "view">;
|
|
62
|
-
length: TypedContractMethod<[], [bigint], "view">;
|
|
63
|
-
writeCheckpoint: TypedContractMethod<[
|
|
64
|
-
value: BigNumberish
|
|
65
|
-
], [
|
|
66
|
-
[bigint, bigint]
|
|
67
|
-
], "nonpayable">;
|
|
68
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
69
|
-
getFunction(nameOrSignature: "findCheckpoint"): TypedContractMethod<[blockNumber: BigNumberish], [bigint], "view">;
|
|
70
|
-
getFunction(nameOrSignature: "getAllCheckpoints"): TypedContractMethod<[], [Checkpoints.CheckpointStructOutput[]], "view">;
|
|
71
|
-
getFunction(nameOrSignature: "getLatestCheckpoint"): TypedContractMethod<[], [[bigint, bigint]], "view">;
|
|
72
|
-
getFunction(nameOrSignature: "length"): TypedContractMethod<[], [bigint], "view">;
|
|
73
|
-
getFunction(nameOrSignature: "writeCheckpoint"): TypedContractMethod<[
|
|
74
|
-
value: BigNumberish
|
|
75
|
-
], [
|
|
76
|
-
[bigint, bigint]
|
|
77
|
-
], "nonpayable">;
|
|
78
|
-
getEvent(key: "CheckpointWritten"): TypedContractEvent<CheckpointWrittenEvent.InputTuple, CheckpointWrittenEvent.OutputTuple, CheckpointWrittenEvent.OutputObject>;
|
|
79
|
-
filters: {
|
|
80
|
-
"CheckpointWritten(uint32,uint224)": TypedContractEvent<CheckpointWrittenEvent.InputTuple, CheckpointWrittenEvent.OutputTuple, CheckpointWrittenEvent.OutputObject>;
|
|
81
|
-
CheckpointWritten: TypedContractEvent<CheckpointWrittenEvent.InputTuple, CheckpointWrittenEvent.OutputTuple, CheckpointWrittenEvent.OutputObject>;
|
|
82
|
-
};
|
|
83
|
-
}
|