@raac/rpc 1.1.0-beta.73 → 1.1.0-beta.75
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/CrvUSDToUSDOracle.sol/CrvUSDToUSDOracle.json +556 -0
- 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 +5 -0
- package/dist/pools/lendingPool/getLendingPoolInfo.js +3 -0
- 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/dist/types/utils/artifacts.d.ts +113 -0
- package/dist/utils/artifacts.js +3 -0
- 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,41 +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 RAACVotingMockInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "calculateBias" | "calculateSlope"): FunctionFragment;
|
|
5
|
-
encodeFunctionData(functionFragment: "calculateBias", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
6
|
-
encodeFunctionData(functionFragment: "calculateSlope", values: [BigNumberish]): string;
|
|
7
|
-
decodeFunctionResult(functionFragment: "calculateBias", data: BytesLike): Result;
|
|
8
|
-
decodeFunctionResult(functionFragment: "calculateSlope", data: BytesLike): Result;
|
|
9
|
-
}
|
|
10
|
-
export interface RAACVotingMock extends BaseContract {
|
|
11
|
-
connect(runner?: ContractRunner | null): RAACVotingMock;
|
|
12
|
-
waitForDeployment(): Promise<this>;
|
|
13
|
-
interface: RAACVotingMockInterface;
|
|
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
|
-
calculateBias: TypedContractMethod<[
|
|
24
|
-
amount: BigNumberish,
|
|
25
|
-
unlockTime: BigNumberish,
|
|
26
|
-
currentTime: BigNumberish
|
|
27
|
-
], [
|
|
28
|
-
bigint
|
|
29
|
-
], "view">;
|
|
30
|
-
calculateSlope: TypedContractMethod<[amount: BigNumberish], [bigint], "view">;
|
|
31
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
32
|
-
getFunction(nameOrSignature: "calculateBias"): TypedContractMethod<[
|
|
33
|
-
amount: BigNumberish,
|
|
34
|
-
unlockTime: BigNumberish,
|
|
35
|
-
currentTime: BigNumberish
|
|
36
|
-
], [
|
|
37
|
-
bigint
|
|
38
|
-
], "view">;
|
|
39
|
-
getFunction(nameOrSignature: "calculateSlope"): TypedContractMethod<[amount: BigNumberish], [bigint], "view">;
|
|
40
|
-
filters: {};
|
|
41
|
-
}
|
package/dist/types/typechain-types/contracts/mocks/libraries/governance/VotingPowerMock.d.ts
DELETED
|
@@ -1,281 +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 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 VotingPowerMockInterface extends Interface {
|
|
14
|
-
getFunction(nameOrSignature: "MAX_BOOST" | "batchUpdatePower" | "batchWriteCheckpoints" | "calculateAndUpdatePower" | "calculateBoost" | "calculateInitialPower" | "calculatePowerAtTimestamp" | "getCheckpointAt" | "getCheckpointCount" | "getCurrentPower" | "getLastAccountCheckpoint" | "getPoint" | "getSlopeChange" | "writeCheckpoint"): FunctionFragment;
|
|
15
|
-
getEvent(nameOrSignatureOrTopic: "PowerUpdated" | "VotingPowerUpdated"): EventFragment;
|
|
16
|
-
encodeFunctionData(functionFragment: "MAX_BOOST", values?: undefined): string;
|
|
17
|
-
encodeFunctionData(functionFragment: "batchUpdatePower", values: [AddressLike[], BigNumberish[], BigNumberish[]]): string;
|
|
18
|
-
encodeFunctionData(functionFragment: "batchWriteCheckpoints", values: [AddressLike, BigNumberish[]]): string;
|
|
19
|
-
encodeFunctionData(functionFragment: "calculateAndUpdatePower", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
20
|
-
encodeFunctionData(functionFragment: "calculateBoost", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
21
|
-
encodeFunctionData(functionFragment: "calculateInitialPower", values: [BigNumberish, BigNumberish]): string;
|
|
22
|
-
encodeFunctionData(functionFragment: "calculatePowerAtTimestamp", values: [AddressLike, BigNumberish]): string;
|
|
23
|
-
encodeFunctionData(functionFragment: "getCheckpointAt", values: [AddressLike, BigNumberish]): string;
|
|
24
|
-
encodeFunctionData(functionFragment: "getCheckpointCount", values: [AddressLike]): string;
|
|
25
|
-
encodeFunctionData(functionFragment: "getCurrentPower", values: [AddressLike]): string;
|
|
26
|
-
encodeFunctionData(functionFragment: "getLastAccountCheckpoint", values: [AddressLike]): string;
|
|
27
|
-
encodeFunctionData(functionFragment: "getPoint", values: [AddressLike]): string;
|
|
28
|
-
encodeFunctionData(functionFragment: "getSlopeChange", values: [BigNumberish]): string;
|
|
29
|
-
encodeFunctionData(functionFragment: "writeCheckpoint", values: [AddressLike, BigNumberish]): string;
|
|
30
|
-
decodeFunctionResult(functionFragment: "MAX_BOOST", data: BytesLike): Result;
|
|
31
|
-
decodeFunctionResult(functionFragment: "batchUpdatePower", data: BytesLike): Result;
|
|
32
|
-
decodeFunctionResult(functionFragment: "batchWriteCheckpoints", data: BytesLike): Result;
|
|
33
|
-
decodeFunctionResult(functionFragment: "calculateAndUpdatePower", data: BytesLike): Result;
|
|
34
|
-
decodeFunctionResult(functionFragment: "calculateBoost", data: BytesLike): Result;
|
|
35
|
-
decodeFunctionResult(functionFragment: "calculateInitialPower", data: BytesLike): Result;
|
|
36
|
-
decodeFunctionResult(functionFragment: "calculatePowerAtTimestamp", data: BytesLike): Result;
|
|
37
|
-
decodeFunctionResult(functionFragment: "getCheckpointAt", data: BytesLike): Result;
|
|
38
|
-
decodeFunctionResult(functionFragment: "getCheckpointCount", data: BytesLike): Result;
|
|
39
|
-
decodeFunctionResult(functionFragment: "getCurrentPower", data: BytesLike): Result;
|
|
40
|
-
decodeFunctionResult(functionFragment: "getLastAccountCheckpoint", data: BytesLike): Result;
|
|
41
|
-
decodeFunctionResult(functionFragment: "getPoint", data: BytesLike): Result;
|
|
42
|
-
decodeFunctionResult(functionFragment: "getSlopeChange", data: BytesLike): Result;
|
|
43
|
-
decodeFunctionResult(functionFragment: "writeCheckpoint", data: BytesLike): Result;
|
|
44
|
-
}
|
|
45
|
-
export declare namespace PowerUpdatedEvent {
|
|
46
|
-
type InputTuple = [
|
|
47
|
-
user: AddressLike,
|
|
48
|
-
amount: BigNumberish,
|
|
49
|
-
unlockTime: BigNumberish,
|
|
50
|
-
bias: BigNumberish,
|
|
51
|
-
slope: BigNumberish
|
|
52
|
-
];
|
|
53
|
-
type OutputTuple = [
|
|
54
|
-
user: string,
|
|
55
|
-
amount: bigint,
|
|
56
|
-
unlockTime: bigint,
|
|
57
|
-
bias: bigint,
|
|
58
|
-
slope: bigint
|
|
59
|
-
];
|
|
60
|
-
interface OutputObject {
|
|
61
|
-
user: string;
|
|
62
|
-
amount: bigint;
|
|
63
|
-
unlockTime: bigint;
|
|
64
|
-
bias: bigint;
|
|
65
|
-
slope: bigint;
|
|
66
|
-
}
|
|
67
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
68
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
69
|
-
type Log = TypedEventLog<Event>;
|
|
70
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
71
|
-
}
|
|
72
|
-
export declare namespace VotingPowerUpdatedEvent {
|
|
73
|
-
type InputTuple = [
|
|
74
|
-
user: AddressLike,
|
|
75
|
-
oldPower: BigNumberish,
|
|
76
|
-
newPower: BigNumberish
|
|
77
|
-
];
|
|
78
|
-
type OutputTuple = [user: string, oldPower: bigint, newPower: bigint];
|
|
79
|
-
interface OutputObject {
|
|
80
|
-
user: string;
|
|
81
|
-
oldPower: bigint;
|
|
82
|
-
newPower: bigint;
|
|
83
|
-
}
|
|
84
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
85
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
86
|
-
type Log = TypedEventLog<Event>;
|
|
87
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
88
|
-
}
|
|
89
|
-
export interface VotingPowerMock extends BaseContract {
|
|
90
|
-
connect(runner?: ContractRunner | null): VotingPowerMock;
|
|
91
|
-
waitForDeployment(): Promise<this>;
|
|
92
|
-
interface: VotingPowerMockInterface;
|
|
93
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
94
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
95
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
96
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
97
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
98
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
99
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
100
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
101
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
102
|
-
MAX_BOOST: TypedContractMethod<[], [bigint], "view">;
|
|
103
|
-
batchUpdatePower: TypedContractMethod<[
|
|
104
|
-
users: AddressLike[],
|
|
105
|
-
amounts: BigNumberish[],
|
|
106
|
-
unlockTimes: BigNumberish[]
|
|
107
|
-
], [
|
|
108
|
-
bigint
|
|
109
|
-
], "nonpayable">;
|
|
110
|
-
batchWriteCheckpoints: TypedContractMethod<[
|
|
111
|
-
user: AddressLike,
|
|
112
|
-
powers: BigNumberish[]
|
|
113
|
-
], [
|
|
114
|
-
bigint
|
|
115
|
-
], "nonpayable">;
|
|
116
|
-
calculateAndUpdatePower: TypedContractMethod<[
|
|
117
|
-
user: AddressLike,
|
|
118
|
-
amount: BigNumberish,
|
|
119
|
-
unlockTime: BigNumberish
|
|
120
|
-
], [
|
|
121
|
-
[bigint, bigint] & {
|
|
122
|
-
bias: bigint;
|
|
123
|
-
slope: bigint;
|
|
124
|
-
}
|
|
125
|
-
], "nonpayable">;
|
|
126
|
-
calculateBoost: TypedContractMethod<[
|
|
127
|
-
userBalance: BigNumberish,
|
|
128
|
-
totalSupply: BigNumberish,
|
|
129
|
-
amount: BigNumberish
|
|
130
|
-
], [
|
|
131
|
-
bigint
|
|
132
|
-
], "view">;
|
|
133
|
-
calculateInitialPower: TypedContractMethod<[
|
|
134
|
-
amount: BigNumberish,
|
|
135
|
-
duration: BigNumberish
|
|
136
|
-
], [
|
|
137
|
-
bigint
|
|
138
|
-
], "view">;
|
|
139
|
-
calculatePowerAtTimestamp: TypedContractMethod<[
|
|
140
|
-
account: AddressLike,
|
|
141
|
-
timestamp: BigNumberish
|
|
142
|
-
], [
|
|
143
|
-
bigint
|
|
144
|
-
], "view">;
|
|
145
|
-
getCheckpointAt: TypedContractMethod<[
|
|
146
|
-
account: AddressLike,
|
|
147
|
-
index: BigNumberish
|
|
148
|
-
], [
|
|
149
|
-
[bigint, bigint] & {
|
|
150
|
-
fromBlock: bigint;
|
|
151
|
-
value: bigint;
|
|
152
|
-
}
|
|
153
|
-
], "view">;
|
|
154
|
-
getCheckpointCount: TypedContractMethod<[
|
|
155
|
-
account: AddressLike
|
|
156
|
-
], [
|
|
157
|
-
bigint
|
|
158
|
-
], "view">;
|
|
159
|
-
getCurrentPower: TypedContractMethod<[
|
|
160
|
-
account: AddressLike
|
|
161
|
-
], [
|
|
162
|
-
bigint
|
|
163
|
-
], "view">;
|
|
164
|
-
getLastAccountCheckpoint: TypedContractMethod<[
|
|
165
|
-
account: AddressLike
|
|
166
|
-
], [
|
|
167
|
-
Checkpoints.CheckpointStructOutput
|
|
168
|
-
], "view">;
|
|
169
|
-
getPoint: TypedContractMethod<[
|
|
170
|
-
user: AddressLike
|
|
171
|
-
], [
|
|
172
|
-
[
|
|
173
|
-
bigint,
|
|
174
|
-
bigint,
|
|
175
|
-
bigint
|
|
176
|
-
] & {
|
|
177
|
-
bias: bigint;
|
|
178
|
-
slope: bigint;
|
|
179
|
-
timestamp: bigint;
|
|
180
|
-
}
|
|
181
|
-
], "view">;
|
|
182
|
-
getSlopeChange: TypedContractMethod<[
|
|
183
|
-
timestamp: BigNumberish
|
|
184
|
-
], [
|
|
185
|
-
bigint
|
|
186
|
-
], "view">;
|
|
187
|
-
writeCheckpoint: TypedContractMethod<[
|
|
188
|
-
account: AddressLike,
|
|
189
|
-
newPower: BigNumberish
|
|
190
|
-
], [
|
|
191
|
-
void
|
|
192
|
-
], "nonpayable">;
|
|
193
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
194
|
-
getFunction(nameOrSignature: "MAX_BOOST"): TypedContractMethod<[], [bigint], "view">;
|
|
195
|
-
getFunction(nameOrSignature: "batchUpdatePower"): TypedContractMethod<[
|
|
196
|
-
users: AddressLike[],
|
|
197
|
-
amounts: BigNumberish[],
|
|
198
|
-
unlockTimes: BigNumberish[]
|
|
199
|
-
], [
|
|
200
|
-
bigint
|
|
201
|
-
], "nonpayable">;
|
|
202
|
-
getFunction(nameOrSignature: "batchWriteCheckpoints"): TypedContractMethod<[
|
|
203
|
-
user: AddressLike,
|
|
204
|
-
powers: BigNumberish[]
|
|
205
|
-
], [
|
|
206
|
-
bigint
|
|
207
|
-
], "nonpayable">;
|
|
208
|
-
getFunction(nameOrSignature: "calculateAndUpdatePower"): TypedContractMethod<[
|
|
209
|
-
user: AddressLike,
|
|
210
|
-
amount: BigNumberish,
|
|
211
|
-
unlockTime: BigNumberish
|
|
212
|
-
], [
|
|
213
|
-
[bigint, bigint] & {
|
|
214
|
-
bias: bigint;
|
|
215
|
-
slope: bigint;
|
|
216
|
-
}
|
|
217
|
-
], "nonpayable">;
|
|
218
|
-
getFunction(nameOrSignature: "calculateBoost"): TypedContractMethod<[
|
|
219
|
-
userBalance: BigNumberish,
|
|
220
|
-
totalSupply: BigNumberish,
|
|
221
|
-
amount: BigNumberish
|
|
222
|
-
], [
|
|
223
|
-
bigint
|
|
224
|
-
], "view">;
|
|
225
|
-
getFunction(nameOrSignature: "calculateInitialPower"): TypedContractMethod<[
|
|
226
|
-
amount: BigNumberish,
|
|
227
|
-
duration: BigNumberish
|
|
228
|
-
], [
|
|
229
|
-
bigint
|
|
230
|
-
], "view">;
|
|
231
|
-
getFunction(nameOrSignature: "calculatePowerAtTimestamp"): TypedContractMethod<[
|
|
232
|
-
account: AddressLike,
|
|
233
|
-
timestamp: BigNumberish
|
|
234
|
-
], [
|
|
235
|
-
bigint
|
|
236
|
-
], "view">;
|
|
237
|
-
getFunction(nameOrSignature: "getCheckpointAt"): TypedContractMethod<[
|
|
238
|
-
account: AddressLike,
|
|
239
|
-
index: BigNumberish
|
|
240
|
-
], [
|
|
241
|
-
[bigint, bigint] & {
|
|
242
|
-
fromBlock: bigint;
|
|
243
|
-
value: bigint;
|
|
244
|
-
}
|
|
245
|
-
], "view">;
|
|
246
|
-
getFunction(nameOrSignature: "getCheckpointCount"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
247
|
-
getFunction(nameOrSignature: "getCurrentPower"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
248
|
-
getFunction(nameOrSignature: "getLastAccountCheckpoint"): TypedContractMethod<[
|
|
249
|
-
account: AddressLike
|
|
250
|
-
], [
|
|
251
|
-
Checkpoints.CheckpointStructOutput
|
|
252
|
-
], "view">;
|
|
253
|
-
getFunction(nameOrSignature: "getPoint"): TypedContractMethod<[
|
|
254
|
-
user: AddressLike
|
|
255
|
-
], [
|
|
256
|
-
[
|
|
257
|
-
bigint,
|
|
258
|
-
bigint,
|
|
259
|
-
bigint
|
|
260
|
-
] & {
|
|
261
|
-
bias: bigint;
|
|
262
|
-
slope: bigint;
|
|
263
|
-
timestamp: bigint;
|
|
264
|
-
}
|
|
265
|
-
], "view">;
|
|
266
|
-
getFunction(nameOrSignature: "getSlopeChange"): TypedContractMethod<[timestamp: BigNumberish], [bigint], "view">;
|
|
267
|
-
getFunction(nameOrSignature: "writeCheckpoint"): TypedContractMethod<[
|
|
268
|
-
account: AddressLike,
|
|
269
|
-
newPower: BigNumberish
|
|
270
|
-
], [
|
|
271
|
-
void
|
|
272
|
-
], "nonpayable">;
|
|
273
|
-
getEvent(key: "PowerUpdated"): TypedContractEvent<PowerUpdatedEvent.InputTuple, PowerUpdatedEvent.OutputTuple, PowerUpdatedEvent.OutputObject>;
|
|
274
|
-
getEvent(key: "VotingPowerUpdated"): TypedContractEvent<VotingPowerUpdatedEvent.InputTuple, VotingPowerUpdatedEvent.OutputTuple, VotingPowerUpdatedEvent.OutputObject>;
|
|
275
|
-
filters: {
|
|
276
|
-
"PowerUpdated(address,uint256,uint256,int128,int128)": TypedContractEvent<PowerUpdatedEvent.InputTuple, PowerUpdatedEvent.OutputTuple, PowerUpdatedEvent.OutputObject>;
|
|
277
|
-
PowerUpdated: TypedContractEvent<PowerUpdatedEvent.InputTuple, PowerUpdatedEvent.OutputTuple, PowerUpdatedEvent.OutputObject>;
|
|
278
|
-
"VotingPowerUpdated(address,uint256,uint256)": TypedContractEvent<VotingPowerUpdatedEvent.InputTuple, VotingPowerUpdatedEvent.OutputTuple, VotingPowerUpdatedEvent.OutputObject>;
|
|
279
|
-
VotingPowerUpdated: TypedContractEvent<VotingPowerUpdatedEvent.InputTuple, VotingPowerUpdatedEvent.OutputTuple, VotingPowerUpdatedEvent.OutputObject>;
|
|
280
|
-
};
|
|
281
|
-
}
|
|
@@ -1,100 +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 interface VotingPowerFuzzHelperInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "generatePowerScenario" | "simulatePowerDecay" | "votingPower"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "ScenarioGenerated"): EventFragment;
|
|
6
|
-
encodeFunctionData(functionFragment: "generatePowerScenario", values: [BigNumberish]): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "simulatePowerDecay", values: [AddressLike, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
8
|
-
encodeFunctionData(functionFragment: "votingPower", values?: undefined): string;
|
|
9
|
-
decodeFunctionResult(functionFragment: "generatePowerScenario", data: BytesLike): Result;
|
|
10
|
-
decodeFunctionResult(functionFragment: "simulatePowerDecay", data: BytesLike): Result;
|
|
11
|
-
decodeFunctionResult(functionFragment: "votingPower", data: BytesLike): Result;
|
|
12
|
-
}
|
|
13
|
-
export declare namespace ScenarioGeneratedEvent {
|
|
14
|
-
type InputTuple = [
|
|
15
|
-
user: AddressLike,
|
|
16
|
-
amount: BigNumberish,
|
|
17
|
-
duration: BigNumberish,
|
|
18
|
-
timestamp: BigNumberish
|
|
19
|
-
];
|
|
20
|
-
type OutputTuple = [
|
|
21
|
-
user: string,
|
|
22
|
-
amount: bigint,
|
|
23
|
-
duration: bigint,
|
|
24
|
-
timestamp: bigint
|
|
25
|
-
];
|
|
26
|
-
interface OutputObject {
|
|
27
|
-
user: string;
|
|
28
|
-
amount: bigint;
|
|
29
|
-
duration: bigint;
|
|
30
|
-
timestamp: bigint;
|
|
31
|
-
}
|
|
32
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
33
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
34
|
-
type Log = TypedEventLog<Event>;
|
|
35
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
36
|
-
}
|
|
37
|
-
export interface VotingPowerFuzzHelper extends BaseContract {
|
|
38
|
-
connect(runner?: ContractRunner | null): VotingPowerFuzzHelper;
|
|
39
|
-
waitForDeployment(): Promise<this>;
|
|
40
|
-
interface: VotingPowerFuzzHelperInterface;
|
|
41
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
42
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
43
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
44
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
45
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
46
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
47
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
48
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
49
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
50
|
-
generatePowerScenario: TypedContractMethod<[
|
|
51
|
-
seed: BigNumberish
|
|
52
|
-
], [
|
|
53
|
-
[
|
|
54
|
-
bigint,
|
|
55
|
-
bigint,
|
|
56
|
-
bigint
|
|
57
|
-
] & {
|
|
58
|
-
amount: bigint;
|
|
59
|
-
duration: bigint;
|
|
60
|
-
unlockTime: bigint;
|
|
61
|
-
}
|
|
62
|
-
], "view">;
|
|
63
|
-
simulatePowerDecay: TypedContractMethod<[
|
|
64
|
-
user: AddressLike,
|
|
65
|
-
amount: BigNumberish,
|
|
66
|
-
duration: BigNumberish,
|
|
67
|
-
steps: BigNumberish
|
|
68
|
-
], [
|
|
69
|
-
bigint[]
|
|
70
|
-
], "nonpayable">;
|
|
71
|
-
votingPower: TypedContractMethod<[], [string], "view">;
|
|
72
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
73
|
-
getFunction(nameOrSignature: "generatePowerScenario"): TypedContractMethod<[
|
|
74
|
-
seed: BigNumberish
|
|
75
|
-
], [
|
|
76
|
-
[
|
|
77
|
-
bigint,
|
|
78
|
-
bigint,
|
|
79
|
-
bigint
|
|
80
|
-
] & {
|
|
81
|
-
amount: bigint;
|
|
82
|
-
duration: bigint;
|
|
83
|
-
unlockTime: bigint;
|
|
84
|
-
}
|
|
85
|
-
], "view">;
|
|
86
|
-
getFunction(nameOrSignature: "simulatePowerDecay"): TypedContractMethod<[
|
|
87
|
-
user: AddressLike,
|
|
88
|
-
amount: BigNumberish,
|
|
89
|
-
duration: BigNumberish,
|
|
90
|
-
steps: BigNumberish
|
|
91
|
-
], [
|
|
92
|
-
bigint[]
|
|
93
|
-
], "nonpayable">;
|
|
94
|
-
getFunction(nameOrSignature: "votingPower"): TypedContractMethod<[], [string], "view">;
|
|
95
|
-
getEvent(key: "ScenarioGenerated"): TypedContractEvent<ScenarioGeneratedEvent.InputTuple, ScenarioGeneratedEvent.OutputTuple, ScenarioGeneratedEvent.OutputObject>;
|
|
96
|
-
filters: {
|
|
97
|
-
"ScenarioGenerated(address,uint256,uint256,uint256)": TypedContractEvent<ScenarioGeneratedEvent.InputTuple, ScenarioGeneratedEvent.OutputTuple, ScenarioGeneratedEvent.OutputObject>;
|
|
98
|
-
ScenarioGenerated: TypedContractEvent<ScenarioGeneratedEvent.InputTuple, ScenarioGeneratedEvent.OutputTuple, ScenarioGeneratedEvent.OutputObject>;
|
|
99
|
-
};
|
|
100
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type { VRFConsumerBaseV2, VRFConsumerBaseV2Interface } from "../../../../../../@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2";
|
|
3
|
-
export declare class VRFConsumerBaseV2__factory {
|
|
4
|
-
static readonly abi: readonly [{
|
|
5
|
-
readonly inputs: readonly [{
|
|
6
|
-
readonly internalType: "address";
|
|
7
|
-
readonly name: "have";
|
|
8
|
-
readonly type: "address";
|
|
9
|
-
}, {
|
|
10
|
-
readonly internalType: "address";
|
|
11
|
-
readonly name: "want";
|
|
12
|
-
readonly type: "address";
|
|
13
|
-
}];
|
|
14
|
-
readonly name: "OnlyCoordinatorCanFulfill";
|
|
15
|
-
readonly type: "error";
|
|
16
|
-
}, {
|
|
17
|
-
readonly inputs: readonly [{
|
|
18
|
-
readonly internalType: "uint256";
|
|
19
|
-
readonly name: "requestId";
|
|
20
|
-
readonly type: "uint256";
|
|
21
|
-
}, {
|
|
22
|
-
readonly internalType: "uint256[]";
|
|
23
|
-
readonly name: "randomWords";
|
|
24
|
-
readonly type: "uint256[]";
|
|
25
|
-
}];
|
|
26
|
-
readonly name: "rawFulfillRandomWords";
|
|
27
|
-
readonly outputs: readonly [];
|
|
28
|
-
readonly stateMutability: "nonpayable";
|
|
29
|
-
readonly type: "function";
|
|
30
|
-
}];
|
|
31
|
-
static createInterface(): VRFConsumerBaseV2Interface;
|
|
32
|
-
static connect(address: string, runner?: ContractRunner | null): VRFConsumerBaseV2;
|
|
33
|
-
}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type { VRFCoordinatorV2Interface, VRFCoordinatorV2InterfaceInterface } from "../../../../../../../@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface";
|
|
3
|
-
export declare class VRFCoordinatorV2Interface__factory {
|
|
4
|
-
static readonly abi: readonly [{
|
|
5
|
-
readonly inputs: readonly [{
|
|
6
|
-
readonly internalType: "uint64";
|
|
7
|
-
readonly name: "subId";
|
|
8
|
-
readonly type: "uint64";
|
|
9
|
-
}];
|
|
10
|
-
readonly name: "acceptSubscriptionOwnerTransfer";
|
|
11
|
-
readonly outputs: readonly [];
|
|
12
|
-
readonly stateMutability: "nonpayable";
|
|
13
|
-
readonly type: "function";
|
|
14
|
-
}, {
|
|
15
|
-
readonly inputs: readonly [{
|
|
16
|
-
readonly internalType: "uint64";
|
|
17
|
-
readonly name: "subId";
|
|
18
|
-
readonly type: "uint64";
|
|
19
|
-
}, {
|
|
20
|
-
readonly internalType: "address";
|
|
21
|
-
readonly name: "consumer";
|
|
22
|
-
readonly type: "address";
|
|
23
|
-
}];
|
|
24
|
-
readonly name: "addConsumer";
|
|
25
|
-
readonly outputs: readonly [];
|
|
26
|
-
readonly stateMutability: "nonpayable";
|
|
27
|
-
readonly type: "function";
|
|
28
|
-
}, {
|
|
29
|
-
readonly inputs: readonly [{
|
|
30
|
-
readonly internalType: "uint64";
|
|
31
|
-
readonly name: "subId";
|
|
32
|
-
readonly type: "uint64";
|
|
33
|
-
}, {
|
|
34
|
-
readonly internalType: "address";
|
|
35
|
-
readonly name: "to";
|
|
36
|
-
readonly type: "address";
|
|
37
|
-
}];
|
|
38
|
-
readonly name: "cancelSubscription";
|
|
39
|
-
readonly outputs: readonly [];
|
|
40
|
-
readonly stateMutability: "nonpayable";
|
|
41
|
-
readonly type: "function";
|
|
42
|
-
}, {
|
|
43
|
-
readonly inputs: readonly [];
|
|
44
|
-
readonly name: "createSubscription";
|
|
45
|
-
readonly outputs: readonly [{
|
|
46
|
-
readonly internalType: "uint64";
|
|
47
|
-
readonly name: "subId";
|
|
48
|
-
readonly type: "uint64";
|
|
49
|
-
}];
|
|
50
|
-
readonly stateMutability: "nonpayable";
|
|
51
|
-
readonly type: "function";
|
|
52
|
-
}, {
|
|
53
|
-
readonly inputs: readonly [];
|
|
54
|
-
readonly name: "getRequestConfig";
|
|
55
|
-
readonly outputs: readonly [{
|
|
56
|
-
readonly internalType: "uint16";
|
|
57
|
-
readonly name: "";
|
|
58
|
-
readonly type: "uint16";
|
|
59
|
-
}, {
|
|
60
|
-
readonly internalType: "uint32";
|
|
61
|
-
readonly name: "";
|
|
62
|
-
readonly type: "uint32";
|
|
63
|
-
}, {
|
|
64
|
-
readonly internalType: "bytes32[]";
|
|
65
|
-
readonly name: "";
|
|
66
|
-
readonly type: "bytes32[]";
|
|
67
|
-
}];
|
|
68
|
-
readonly stateMutability: "view";
|
|
69
|
-
readonly type: "function";
|
|
70
|
-
}, {
|
|
71
|
-
readonly inputs: readonly [{
|
|
72
|
-
readonly internalType: "uint64";
|
|
73
|
-
readonly name: "subId";
|
|
74
|
-
readonly type: "uint64";
|
|
75
|
-
}];
|
|
76
|
-
readonly name: "getSubscription";
|
|
77
|
-
readonly outputs: readonly [{
|
|
78
|
-
readonly internalType: "uint96";
|
|
79
|
-
readonly name: "balance";
|
|
80
|
-
readonly type: "uint96";
|
|
81
|
-
}, {
|
|
82
|
-
readonly internalType: "uint64";
|
|
83
|
-
readonly name: "reqCount";
|
|
84
|
-
readonly type: "uint64";
|
|
85
|
-
}, {
|
|
86
|
-
readonly internalType: "address";
|
|
87
|
-
readonly name: "owner";
|
|
88
|
-
readonly type: "address";
|
|
89
|
-
}, {
|
|
90
|
-
readonly internalType: "address[]";
|
|
91
|
-
readonly name: "consumers";
|
|
92
|
-
readonly type: "address[]";
|
|
93
|
-
}];
|
|
94
|
-
readonly stateMutability: "view";
|
|
95
|
-
readonly type: "function";
|
|
96
|
-
}, {
|
|
97
|
-
readonly inputs: readonly [{
|
|
98
|
-
readonly internalType: "uint64";
|
|
99
|
-
readonly name: "subId";
|
|
100
|
-
readonly type: "uint64";
|
|
101
|
-
}];
|
|
102
|
-
readonly name: "pendingRequestExists";
|
|
103
|
-
readonly outputs: readonly [{
|
|
104
|
-
readonly internalType: "bool";
|
|
105
|
-
readonly name: "";
|
|
106
|
-
readonly type: "bool";
|
|
107
|
-
}];
|
|
108
|
-
readonly stateMutability: "view";
|
|
109
|
-
readonly type: "function";
|
|
110
|
-
}, {
|
|
111
|
-
readonly inputs: readonly [{
|
|
112
|
-
readonly internalType: "uint64";
|
|
113
|
-
readonly name: "subId";
|
|
114
|
-
readonly type: "uint64";
|
|
115
|
-
}, {
|
|
116
|
-
readonly internalType: "address";
|
|
117
|
-
readonly name: "consumer";
|
|
118
|
-
readonly type: "address";
|
|
119
|
-
}];
|
|
120
|
-
readonly name: "removeConsumer";
|
|
121
|
-
readonly outputs: readonly [];
|
|
122
|
-
readonly stateMutability: "nonpayable";
|
|
123
|
-
readonly type: "function";
|
|
124
|
-
}, {
|
|
125
|
-
readonly inputs: readonly [{
|
|
126
|
-
readonly internalType: "bytes32";
|
|
127
|
-
readonly name: "keyHash";
|
|
128
|
-
readonly type: "bytes32";
|
|
129
|
-
}, {
|
|
130
|
-
readonly internalType: "uint64";
|
|
131
|
-
readonly name: "subId";
|
|
132
|
-
readonly type: "uint64";
|
|
133
|
-
}, {
|
|
134
|
-
readonly internalType: "uint16";
|
|
135
|
-
readonly name: "minimumRequestConfirmations";
|
|
136
|
-
readonly type: "uint16";
|
|
137
|
-
}, {
|
|
138
|
-
readonly internalType: "uint32";
|
|
139
|
-
readonly name: "callbackGasLimit";
|
|
140
|
-
readonly type: "uint32";
|
|
141
|
-
}, {
|
|
142
|
-
readonly internalType: "uint32";
|
|
143
|
-
readonly name: "numWords";
|
|
144
|
-
readonly type: "uint32";
|
|
145
|
-
}];
|
|
146
|
-
readonly name: "requestRandomWords";
|
|
147
|
-
readonly outputs: readonly [{
|
|
148
|
-
readonly internalType: "uint256";
|
|
149
|
-
readonly name: "requestId";
|
|
150
|
-
readonly type: "uint256";
|
|
151
|
-
}];
|
|
152
|
-
readonly stateMutability: "nonpayable";
|
|
153
|
-
readonly type: "function";
|
|
154
|
-
}, {
|
|
155
|
-
readonly inputs: readonly [{
|
|
156
|
-
readonly internalType: "uint64";
|
|
157
|
-
readonly name: "subId";
|
|
158
|
-
readonly type: "uint64";
|
|
159
|
-
}, {
|
|
160
|
-
readonly internalType: "address";
|
|
161
|
-
readonly name: "newOwner";
|
|
162
|
-
readonly type: "address";
|
|
163
|
-
}];
|
|
164
|
-
readonly name: "requestSubscriptionOwnerTransfer";
|
|
165
|
-
readonly outputs: readonly [];
|
|
166
|
-
readonly stateMutability: "nonpayable";
|
|
167
|
-
readonly type: "function";
|
|
168
|
-
}];
|
|
169
|
-
static createInterface(): VRFCoordinatorV2InterfaceInterface;
|
|
170
|
-
static connect(address: string, runner?: ContractRunner | null): VRFCoordinatorV2Interface;
|
|
171
|
-
}
|
package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { VRFCoordinatorV2Interface__factory } from "./VRFCoordinatorV2Interface__factory";
|