@gooddollar/goodprotocol 1.0.19 → 1.0.21
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/artifacts/abis/UBIScheme.min.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Avatar.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Controller.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/IntVoteInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/ReputationInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/SchemeRegistrar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/AggregatorV3Interface.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ERC20.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAaveIncentivesController.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAdminWallet.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IDonationStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IERC2917.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IFirstClaimPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IHasRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentity.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IUBIScheme.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ProxyAdmin.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Reserve.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Uniswap.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapFactory.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapPair.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/cERC20.dbg.json +1 -1
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
- package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
- package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/MultiBaseGovernanceShareField.sol/MultiBaseGovernanceShareField.dbg.json +1 -1
- package/artifacts/contracts/governance/Reputation.sol/Reputation.dbg.json +1 -1
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/OverMintTester.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
- package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
- package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.json +48 -2
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
- package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
- package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/contracts/ubi/UBIScheme.sol +34 -4
- package/package.json +3 -2
- package/releases/deployment.json +3 -1
- package/scripts/misc/claimIncidentStats.ts +97 -0
- package/types/AaveMock.ts +1022 -0
- package/types/AaveStakingFactory.ts +290 -0
- package/types/AaveUSDMockOracle.ts +89 -0
- package/types/AccessControlEnumerableUpgradeable.ts +435 -0
- package/types/AccessControlUpgradeable.ts +362 -0
- package/types/AggregatorV3Interface.ts +192 -0
- package/types/Avatar.ts +121 -0
- package/types/BancorFormula.ts +974 -0
- package/types/BaseShareField.ts +442 -0
- package/types/BaseShareFieldV2.ts +361 -0
- package/types/BatUSDMockOracle.ts +89 -0
- package/types/BulkProof.ts +111 -0
- package/types/CBATMock.ts +1194 -0
- package/types/CDAILowWorthMock.ts +1160 -0
- package/types/CDAIMock.ts +1210 -0
- package/types/CDAINonMintableMock.ts +1160 -0
- package/types/CDecimalsMock.ts +1194 -0
- package/types/CERC20.ts +527 -0
- package/types/CSDTMock.ts +1194 -0
- package/types/CUSDCMock.ts +1194 -0
- package/types/ClaimersDistribution.ts +606 -0
- package/types/CompUSDMockOracle.ts +89 -0
- package/types/CompoundStakingFactory.ts +261 -0
- package/types/CompoundVotingMachine.ts +1690 -0
- package/types/ContributionCalc.ts +164 -0
- package/types/Controller.ts +547 -0
- package/types/DAIMock.ts +1083 -0
- package/types/DAOContract.ts +162 -0
- package/types/DAOUpgradeableContract.ts +271 -0
- package/types/DaiEthPriceMockOracle.ts +89 -0
- package/types/DecimalsMock.ts +1022 -0
- package/types/DonationsStaking.ts +777 -0
- package/types/ERC165Upgradeable.ts +104 -0
- package/types/ERC1967Proxy.ts +147 -0
- package/types/ERC1967Upgrade.ts +106 -0
- package/types/ERC1967UpgradeUpgradeable.ts +107 -0
- package/types/ERC20.ts +365 -0
- package/types/ERC20BurnableUpgradeable.ts +479 -0
- package/types/ERC20PausableUpgradeable.ts +449 -0
- package/types/ERC20PresetMinterPauserUpgradeable.ts +1023 -0
- package/types/ERC20Upgradeable.ts +417 -0
- package/types/EthUSDMockOracle.ts +138 -0
- package/types/ExchangeHelper.ts +522 -0
- package/types/GReputation.ts +2020 -0
- package/types/GasPriceMockOracle.ts +89 -0
- package/types/GlobalConstraintInterface.ts +134 -0
- package/types/GoodAaveStaking.ts +1752 -0
- package/types/GoodAaveStakingV2.ts +1722 -0
- package/types/GoodCompoundStaking.ts +1838 -0
- package/types/GoodCompoundStakingTest.ts +1948 -0
- package/types/GoodCompoundStakingV2.ts +1636 -0
- package/types/GoodFundManager.ts +1098 -0
- package/types/GoodFundManagerTest.ts +1137 -0
- package/types/GoodMarketMaker.ts +974 -0
- package/types/GoodReserveCDai.ts +1938 -0
- package/types/GovernanceStaking.ts +1267 -0
- package/types/IAaveIncentivesController.ts +155 -0
- package/types/IAccessControlEnumerableUpgradeable.ts +380 -0
- package/types/IAccessControlUpgradeable.ts +307 -0
- package/types/IAdminWallet.ts +171 -0
- package/types/IBeacon.ts +89 -0
- package/types/IBeaconUpgradeable.ts +89 -0
- package/types/IDonationStaking.ts +98 -0
- package/types/IERC165Upgradeable.ts +104 -0
- package/types/IERC1822Proxiable.ts +89 -0
- package/types/IERC20MetadataUpgradeable.ts +340 -0
- package/types/IERC20Upgradeable.ts +300 -0
- package/types/IERC2917.ts +636 -0
- package/types/IFirstClaimPool.ts +115 -0
- package/types/IGoodDollar.ts +579 -0
- package/types/IGoodStaking.ts +264 -0
- package/types/IHasRouter.ts +83 -0
- package/types/IIdentity.ts +281 -0
- package/types/ILendingPool.ts +241 -0
- package/types/INameService.ts +86 -0
- package/types/IUBIScheme.ts +121 -0
- package/types/IncentiveControllerMock.ts +207 -0
- package/types/IntVoteInterface.ts +468 -0
- package/types/LendingPoolMock.ts +1250 -0
- package/types/MultiBaseGovernanceShareField.ts +411 -0
- package/types/Multicall.ts +298 -0
- package/types/NameService.ts +358 -0
- package/types/OldMarketMaker.ts +113 -0
- package/types/OverMintTester.ts +176 -0
- package/types/OverMintTesterRegularStake.ts +177 -0
- package/types/PausableUpgradeable.ts +103 -0
- package/types/ProtocolUpgrade.ts +272 -0
- package/types/ProtocolUpgradeFuse.ts +166 -0
- package/types/ProtocolUpgradeFuseRecover.ts +167 -0
- package/types/ProtocolUpgradeRecover.ts +264 -0
- package/types/Proxy.ts +66 -0
- package/types/ProxyAdmin.ts +210 -0
- package/types/ProxyFactory1967.ts +284 -0
- package/types/Reputation.ts +936 -0
- package/types/ReputationInterface.ts +261 -0
- package/types/ReputationTestHelper.ts +175 -0
- package/types/Reserve.ts +112 -0
- package/types/SchemeRegistrar.ts +164 -0
- package/types/SimpleStaking.ts +1514 -0
- package/types/SimpleStakingV2.ts +1418 -0
- package/types/SixteenDecimalsTokenMock.ts +1023 -0
- package/types/StakersDistribution.ts +921 -0
- package/types/Staking.ts +158 -0
- package/types/SwapHelperTest.ts +120 -0
- package/types/TwentyDecimalsTokenMock.ts +1023 -0
- package/types/UBIScheme.ts +1454 -0
- package/types/USDCMock.ts +1022 -0
- package/types/UUPSUpgradeable.ts +179 -0
- package/types/Uniswap.ts +423 -0
- package/types/UniswapFactory.ts +106 -0
- package/types/UniswapPair.ts +187 -0
- package/types/UniswapV2SwapHelper.ts +124 -0
- package/types/UpgradableMock.ts +321 -0
- package/types/UpgradableMock2.ts +283 -0
- package/types/UpgradableMock3.ts +308 -0
- package/types/UpgradableMock4.ts +308 -0
- package/types/common.ts +44 -0
- package/types/factories/AaveMock__factory.ts +727 -0
- package/types/factories/AaveStakingFactory__factory.ts +262 -0
- package/types/factories/AaveUSDMockOracle__factory.ts +75 -0
- package/types/factories/AccessControlEnumerableUpgradeable__factory.ts +279 -0
- package/types/factories/AccessControlUpgradeable__factory.ts +234 -0
- package/types/factories/AggregatorV3Interface__factory.ts +121 -0
- package/types/factories/Avatar__factory.ts +59 -0
- package/types/factories/BancorFormula__factory.ts +674 -0
- package/types/factories/BaseShareFieldV2__factory.ts +251 -0
- package/types/factories/BaseShareField__factory.ts +307 -0
- package/types/factories/BatUSDMockOracle__factory.ts +75 -0
- package/types/factories/BulkProof__factory.ts +89 -0
- package/types/factories/CBATMock__factory.ts +831 -0
- package/types/factories/CDAILowWorthMock__factory.ts +821 -0
- package/types/factories/CDAIMock__factory.ts +844 -0
- package/types/factories/CDAINonMintableMock__factory.ts +821 -0
- package/types/factories/CDecimalsMock__factory.ts +831 -0
- package/types/factories/CERC20__factory.ts +368 -0
- package/types/factories/CSDTMock__factory.ts +831 -0
- package/types/factories/CUSDCMock__factory.ts +831 -0
- package/types/factories/ClaimersDistribution__factory.ts +404 -0
- package/types/factories/CompUSDMockOracle__factory.ts +75 -0
- package/types/factories/CompoundStakingFactory__factory.ts +249 -0
- package/types/factories/CompoundVotingMachine__factory.ts +1182 -0
- package/types/factories/ContributionCalc__factory.ts +83 -0
- package/types/factories/Controller__factory.ts +359 -0
- package/types/factories/DAIMock__factory.ts +770 -0
- package/types/factories/DAOContract__factory.ts +118 -0
- package/types/factories/DAOUpgradeableContract__factory.ts +201 -0
- package/types/factories/DaiEthPriceMockOracle__factory.ts +79 -0
- package/types/factories/DecimalsMock__factory.ts +742 -0
- package/types/factories/DonationsStaking__factory.ts +554 -0
- package/types/factories/ERC165Upgradeable__factory.ts +45 -0
- package/types/factories/ERC1967Proxy__factory.ts +130 -0
- package/types/factories/ERC1967UpgradeUpgradeable__factory.ts +75 -0
- package/types/factories/ERC1967Upgrade__factory.ts +71 -0
- package/types/factories/ERC20BurnableUpgradeable__factory.ts +331 -0
- package/types/factories/ERC20PausableUpgradeable__factory.ts +339 -0
- package/types/factories/ERC20PresetMinterPauserUpgradeable__factory.ts +733 -0
- package/types/factories/ERC20Upgradeable__factory.ts +332 -0
- package/types/factories/ERC20__factory.ts +272 -0
- package/types/factories/EthUSDMockOracle__factory.ts +108 -0
- package/types/factories/ExchangeHelper__factory.ts +401 -0
- package/types/factories/GReputation__factory.ts +1415 -0
- package/types/factories/GasPriceMockOracle__factory.ts +75 -0
- package/types/factories/GlobalConstraintInterface__factory.ts +72 -0
- package/types/factories/GoodAaveStakingV2__factory.ts +1227 -0
- package/types/factories/GoodAaveStaking__factory.ts +1263 -0
- package/types/factories/GoodCompoundStakingTest__factory.ts +1457 -0
- package/types/factories/GoodCompoundStakingV2__factory.ts +1169 -0
- package/types/factories/GoodCompoundStaking__factory.ts +1303 -0
- package/types/factories/GoodFundManagerTest__factory.ts +775 -0
- package/types/factories/GoodFundManager__factory.ts +733 -0
- package/types/factories/GoodMarketMaker__factory.ts +661 -0
- package/types/factories/GoodReserveCDai__factory.ts +1391 -0
- package/types/factories/GovernanceStaking__factory.ts +922 -0
- package/types/factories/IAaveIncentivesController__factory.ts +83 -0
- package/types/factories/IAccessControlEnumerableUpgradeable__factory.ts +247 -0
- package/types/factories/IAccessControlUpgradeable__factory.ts +202 -0
- package/types/factories/IAdminWallet__factory.ts +75 -0
- package/types/factories/IBeaconUpgradeable__factory.ts +39 -0
- package/types/factories/IBeacon__factory.ts +36 -0
- package/types/factories/IDonationStaking__factory.ts +33 -0
- package/types/factories/IERC165Upgradeable__factory.ts +45 -0
- package/types/factories/IERC1822Proxiable__factory.ts +39 -0
- package/types/factories/IERC20MetadataUpgradeable__factory.ts +252 -0
- package/types/factories/IERC20Upgradeable__factory.ts +209 -0
- package/types/factories/IERC2917__factory.ts +480 -0
- package/types/factories/IFirstClaimPool__factory.ts +58 -0
- package/types/factories/IGoodDollar__factory.ts +411 -0
- package/types/factories/IGoodStaking__factory.ts +175 -0
- package/types/factories/IHasRouter__factory.ts +36 -0
- package/types/factories/IIdentity__factory.ts +150 -0
- package/types/factories/ILendingPool__factory.ts +168 -0
- package/types/factories/INameService__factory.ts +42 -0
- package/types/factories/IUBIScheme__factory.ts +68 -0
- package/types/factories/IncentiveControllerMock__factory.ts +166 -0
- package/types/factories/IntVoteInterface__factory.ts +349 -0
- package/types/factories/LendingPoolMock__factory.ts +914 -0
- package/types/factories/MultiBaseGovernanceShareField__factory.ts +240 -0
- package/types/factories/Multicall__factory.ts +215 -0
- package/types/factories/NameService__factory.ts +264 -0
- package/types/factories/OldMarketMaker__factory.ts +62 -0
- package/types/factories/OverMintTesterRegularStake__factory.ts +156 -0
- package/types/factories/OverMintTester__factory.ts +152 -0
- package/types/factories/PausableUpgradeable__factory.ts +65 -0
- package/types/factories/ProtocolUpgradeFuseRecover__factory.ts +146 -0
- package/types/factories/ProtocolUpgradeFuse__factory.ts +142 -0
- package/types/factories/ProtocolUpgradeRecover__factory.ts +184 -0
- package/types/factories/ProtocolUpgrade__factory.ts +207 -0
- package/types/factories/ProxyAdmin__factory.ts +105 -0
- package/types/factories/ProxyFactory1967__factory.ts +223 -0
- package/types/factories/Proxy__factory.ts +28 -0
- package/types/factories/ReputationInterface__factory.ts +168 -0
- package/types/factories/ReputationTestHelper__factory.ts +141 -0
- package/types/factories/Reputation__factory.ts +667 -0
- package/types/factories/Reserve__factory.ts +52 -0
- package/types/factories/SchemeRegistrar__factory.ts +114 -0
- package/types/factories/SimpleStakingV2__factory.ts +986 -0
- package/types/factories/SimpleStaking__factory.ts +1045 -0
- package/types/factories/SixteenDecimalsTokenMock__factory.ts +734 -0
- package/types/factories/StakersDistribution__factory.ts +591 -0
- package/types/factories/Staking__factory.ts +74 -0
- package/types/factories/SwapHelperTest__factory.ts +96 -0
- package/types/factories/TwentyDecimalsTokenMock__factory.ts +734 -0
- package/types/factories/UBIScheme__factory.ts +1015 -0
- package/types/factories/USDCMock__factory.ts +727 -0
- package/types/factories/UUPSUpgradeable__factory.ts +102 -0
- package/types/factories/UniswapFactory__factory.ts +50 -0
- package/types/factories/UniswapPair__factory.ts +117 -0
- package/types/factories/UniswapV2SwapHelper__factory.ts +101 -0
- package/types/factories/Uniswap__factory.ts +272 -0
- package/types/factories/UpgradableMock2__factory.ts +210 -0
- package/types/factories/UpgradableMock3__factory.ts +223 -0
- package/types/factories/UpgradableMock4__factory.ts +223 -0
- package/types/factories/UpgradableMock__factory.ts +236 -0
- package/types/hardhat.d.ts +1077 -0
- package/types/index.ts +236 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
ethers,
|
|
7
|
+
EventFilter,
|
|
8
|
+
Signer,
|
|
9
|
+
BigNumber,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
PopulatedTransaction,
|
|
12
|
+
BaseContract,
|
|
13
|
+
ContractTransaction,
|
|
14
|
+
Overrides,
|
|
15
|
+
CallOverrides,
|
|
16
|
+
} from "ethers";
|
|
17
|
+
import { BytesLike } from "@ethersproject/bytes";
|
|
18
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
19
|
+
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
|
|
20
|
+
import type {
|
|
21
|
+
TypedEventFilter,
|
|
22
|
+
TypedEvent,
|
|
23
|
+
TypedListener,
|
|
24
|
+
OnEvent,
|
|
25
|
+
} from "./common";
|
|
26
|
+
|
|
27
|
+
export interface DAOContractInterface extends ethers.utils.Interface {
|
|
28
|
+
functions: {
|
|
29
|
+
"avatar()": FunctionFragment;
|
|
30
|
+
"dao()": FunctionFragment;
|
|
31
|
+
"nameService()": FunctionFragment;
|
|
32
|
+
"nativeToken()": FunctionFragment;
|
|
33
|
+
"updateAvatar()": FunctionFragment;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
encodeFunctionData(functionFragment: "avatar", values?: undefined): string;
|
|
37
|
+
encodeFunctionData(functionFragment: "dao", values?: undefined): string;
|
|
38
|
+
encodeFunctionData(
|
|
39
|
+
functionFragment: "nameService",
|
|
40
|
+
values?: undefined
|
|
41
|
+
): string;
|
|
42
|
+
encodeFunctionData(
|
|
43
|
+
functionFragment: "nativeToken",
|
|
44
|
+
values?: undefined
|
|
45
|
+
): string;
|
|
46
|
+
encodeFunctionData(
|
|
47
|
+
functionFragment: "updateAvatar",
|
|
48
|
+
values?: undefined
|
|
49
|
+
): string;
|
|
50
|
+
|
|
51
|
+
decodeFunctionResult(functionFragment: "avatar", data: BytesLike): Result;
|
|
52
|
+
decodeFunctionResult(functionFragment: "dao", data: BytesLike): Result;
|
|
53
|
+
decodeFunctionResult(
|
|
54
|
+
functionFragment: "nameService",
|
|
55
|
+
data: BytesLike
|
|
56
|
+
): Result;
|
|
57
|
+
decodeFunctionResult(
|
|
58
|
+
functionFragment: "nativeToken",
|
|
59
|
+
data: BytesLike
|
|
60
|
+
): Result;
|
|
61
|
+
decodeFunctionResult(
|
|
62
|
+
functionFragment: "updateAvatar",
|
|
63
|
+
data: BytesLike
|
|
64
|
+
): Result;
|
|
65
|
+
|
|
66
|
+
events: {};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface DAOContract extends BaseContract {
|
|
70
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
71
|
+
attach(addressOrName: string): this;
|
|
72
|
+
deployed(): Promise<this>;
|
|
73
|
+
|
|
74
|
+
interface: DAOContractInterface;
|
|
75
|
+
|
|
76
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
77
|
+
event: TypedEventFilter<TEvent>,
|
|
78
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
79
|
+
toBlock?: string | number | undefined
|
|
80
|
+
): Promise<Array<TEvent>>;
|
|
81
|
+
|
|
82
|
+
listeners<TEvent extends TypedEvent>(
|
|
83
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
84
|
+
): Array<TypedListener<TEvent>>;
|
|
85
|
+
listeners(eventName?: string): Array<Listener>;
|
|
86
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
87
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
88
|
+
): this;
|
|
89
|
+
removeAllListeners(eventName?: string): this;
|
|
90
|
+
off: OnEvent<this>;
|
|
91
|
+
on: OnEvent<this>;
|
|
92
|
+
once: OnEvent<this>;
|
|
93
|
+
removeListener: OnEvent<this>;
|
|
94
|
+
|
|
95
|
+
functions: {
|
|
96
|
+
avatar(overrides?: CallOverrides): Promise<[string]>;
|
|
97
|
+
|
|
98
|
+
dao(overrides?: CallOverrides): Promise<[string]>;
|
|
99
|
+
|
|
100
|
+
nameService(overrides?: CallOverrides): Promise<[string]>;
|
|
101
|
+
|
|
102
|
+
nativeToken(overrides?: CallOverrides): Promise<[string]>;
|
|
103
|
+
|
|
104
|
+
updateAvatar(
|
|
105
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
106
|
+
): Promise<ContractTransaction>;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
avatar(overrides?: CallOverrides): Promise<string>;
|
|
110
|
+
|
|
111
|
+
dao(overrides?: CallOverrides): Promise<string>;
|
|
112
|
+
|
|
113
|
+
nameService(overrides?: CallOverrides): Promise<string>;
|
|
114
|
+
|
|
115
|
+
nativeToken(overrides?: CallOverrides): Promise<string>;
|
|
116
|
+
|
|
117
|
+
updateAvatar(
|
|
118
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
119
|
+
): Promise<ContractTransaction>;
|
|
120
|
+
|
|
121
|
+
callStatic: {
|
|
122
|
+
avatar(overrides?: CallOverrides): Promise<string>;
|
|
123
|
+
|
|
124
|
+
dao(overrides?: CallOverrides): Promise<string>;
|
|
125
|
+
|
|
126
|
+
nameService(overrides?: CallOverrides): Promise<string>;
|
|
127
|
+
|
|
128
|
+
nativeToken(overrides?: CallOverrides): Promise<string>;
|
|
129
|
+
|
|
130
|
+
updateAvatar(overrides?: CallOverrides): Promise<void>;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
filters: {};
|
|
134
|
+
|
|
135
|
+
estimateGas: {
|
|
136
|
+
avatar(overrides?: CallOverrides): Promise<BigNumber>;
|
|
137
|
+
|
|
138
|
+
dao(overrides?: CallOverrides): Promise<BigNumber>;
|
|
139
|
+
|
|
140
|
+
nameService(overrides?: CallOverrides): Promise<BigNumber>;
|
|
141
|
+
|
|
142
|
+
nativeToken(overrides?: CallOverrides): Promise<BigNumber>;
|
|
143
|
+
|
|
144
|
+
updateAvatar(
|
|
145
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
146
|
+
): Promise<BigNumber>;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
populateTransaction: {
|
|
150
|
+
avatar(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
151
|
+
|
|
152
|
+
dao(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
153
|
+
|
|
154
|
+
nameService(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
155
|
+
|
|
156
|
+
nativeToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
157
|
+
|
|
158
|
+
updateAvatar(
|
|
159
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
160
|
+
): Promise<PopulatedTransaction>;
|
|
161
|
+
};
|
|
162
|
+
}
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
ethers,
|
|
7
|
+
EventFilter,
|
|
8
|
+
Signer,
|
|
9
|
+
BigNumber,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
PopulatedTransaction,
|
|
12
|
+
BaseContract,
|
|
13
|
+
ContractTransaction,
|
|
14
|
+
Overrides,
|
|
15
|
+
PayableOverrides,
|
|
16
|
+
CallOverrides,
|
|
17
|
+
} from "ethers";
|
|
18
|
+
import { BytesLike } from "@ethersproject/bytes";
|
|
19
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
20
|
+
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
|
|
21
|
+
import type {
|
|
22
|
+
TypedEventFilter,
|
|
23
|
+
TypedEvent,
|
|
24
|
+
TypedListener,
|
|
25
|
+
OnEvent,
|
|
26
|
+
} from "./common";
|
|
27
|
+
|
|
28
|
+
export interface DAOUpgradeableContractInterface
|
|
29
|
+
extends ethers.utils.Interface {
|
|
30
|
+
functions: {
|
|
31
|
+
"avatar()": FunctionFragment;
|
|
32
|
+
"dao()": FunctionFragment;
|
|
33
|
+
"nameService()": FunctionFragment;
|
|
34
|
+
"nativeToken()": FunctionFragment;
|
|
35
|
+
"updateAvatar()": FunctionFragment;
|
|
36
|
+
"upgradeTo(address)": FunctionFragment;
|
|
37
|
+
"upgradeToAndCall(address,bytes)": FunctionFragment;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
encodeFunctionData(functionFragment: "avatar", values?: undefined): string;
|
|
41
|
+
encodeFunctionData(functionFragment: "dao", values?: undefined): string;
|
|
42
|
+
encodeFunctionData(
|
|
43
|
+
functionFragment: "nameService",
|
|
44
|
+
values?: undefined
|
|
45
|
+
): string;
|
|
46
|
+
encodeFunctionData(
|
|
47
|
+
functionFragment: "nativeToken",
|
|
48
|
+
values?: undefined
|
|
49
|
+
): string;
|
|
50
|
+
encodeFunctionData(
|
|
51
|
+
functionFragment: "updateAvatar",
|
|
52
|
+
values?: undefined
|
|
53
|
+
): string;
|
|
54
|
+
encodeFunctionData(functionFragment: "upgradeTo", values: [string]): string;
|
|
55
|
+
encodeFunctionData(
|
|
56
|
+
functionFragment: "upgradeToAndCall",
|
|
57
|
+
values: [string, BytesLike]
|
|
58
|
+
): string;
|
|
59
|
+
|
|
60
|
+
decodeFunctionResult(functionFragment: "avatar", data: BytesLike): Result;
|
|
61
|
+
decodeFunctionResult(functionFragment: "dao", data: BytesLike): Result;
|
|
62
|
+
decodeFunctionResult(
|
|
63
|
+
functionFragment: "nameService",
|
|
64
|
+
data: BytesLike
|
|
65
|
+
): Result;
|
|
66
|
+
decodeFunctionResult(
|
|
67
|
+
functionFragment: "nativeToken",
|
|
68
|
+
data: BytesLike
|
|
69
|
+
): Result;
|
|
70
|
+
decodeFunctionResult(
|
|
71
|
+
functionFragment: "updateAvatar",
|
|
72
|
+
data: BytesLike
|
|
73
|
+
): Result;
|
|
74
|
+
decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result;
|
|
75
|
+
decodeFunctionResult(
|
|
76
|
+
functionFragment: "upgradeToAndCall",
|
|
77
|
+
data: BytesLike
|
|
78
|
+
): Result;
|
|
79
|
+
|
|
80
|
+
events: {
|
|
81
|
+
"AdminChanged(address,address)": EventFragment;
|
|
82
|
+
"BeaconUpgraded(address)": EventFragment;
|
|
83
|
+
"Upgraded(address)": EventFragment;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment;
|
|
87
|
+
getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment;
|
|
88
|
+
getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export type AdminChangedEvent = TypedEvent<
|
|
92
|
+
[string, string],
|
|
93
|
+
{ previousAdmin: string; newAdmin: string }
|
|
94
|
+
>;
|
|
95
|
+
|
|
96
|
+
export type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
|
|
97
|
+
|
|
98
|
+
export type BeaconUpgradedEvent = TypedEvent<[string], { beacon: string }>;
|
|
99
|
+
|
|
100
|
+
export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
|
|
101
|
+
|
|
102
|
+
export type UpgradedEvent = TypedEvent<[string], { implementation: string }>;
|
|
103
|
+
|
|
104
|
+
export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
|
|
105
|
+
|
|
106
|
+
export interface DAOUpgradeableContract extends BaseContract {
|
|
107
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
108
|
+
attach(addressOrName: string): this;
|
|
109
|
+
deployed(): Promise<this>;
|
|
110
|
+
|
|
111
|
+
interface: DAOUpgradeableContractInterface;
|
|
112
|
+
|
|
113
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
114
|
+
event: TypedEventFilter<TEvent>,
|
|
115
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
116
|
+
toBlock?: string | number | undefined
|
|
117
|
+
): Promise<Array<TEvent>>;
|
|
118
|
+
|
|
119
|
+
listeners<TEvent extends TypedEvent>(
|
|
120
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
121
|
+
): Array<TypedListener<TEvent>>;
|
|
122
|
+
listeners(eventName?: string): Array<Listener>;
|
|
123
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
124
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
125
|
+
): this;
|
|
126
|
+
removeAllListeners(eventName?: string): this;
|
|
127
|
+
off: OnEvent<this>;
|
|
128
|
+
on: OnEvent<this>;
|
|
129
|
+
once: OnEvent<this>;
|
|
130
|
+
removeListener: OnEvent<this>;
|
|
131
|
+
|
|
132
|
+
functions: {
|
|
133
|
+
avatar(overrides?: CallOverrides): Promise<[string]>;
|
|
134
|
+
|
|
135
|
+
dao(overrides?: CallOverrides): Promise<[string]>;
|
|
136
|
+
|
|
137
|
+
nameService(overrides?: CallOverrides): Promise<[string]>;
|
|
138
|
+
|
|
139
|
+
nativeToken(overrides?: CallOverrides): Promise<[string]>;
|
|
140
|
+
|
|
141
|
+
updateAvatar(
|
|
142
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
143
|
+
): Promise<ContractTransaction>;
|
|
144
|
+
|
|
145
|
+
upgradeTo(
|
|
146
|
+
newImplementation: string,
|
|
147
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
148
|
+
): Promise<ContractTransaction>;
|
|
149
|
+
|
|
150
|
+
upgradeToAndCall(
|
|
151
|
+
newImplementation: string,
|
|
152
|
+
data: BytesLike,
|
|
153
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
154
|
+
): Promise<ContractTransaction>;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
avatar(overrides?: CallOverrides): Promise<string>;
|
|
158
|
+
|
|
159
|
+
dao(overrides?: CallOverrides): Promise<string>;
|
|
160
|
+
|
|
161
|
+
nameService(overrides?: CallOverrides): Promise<string>;
|
|
162
|
+
|
|
163
|
+
nativeToken(overrides?: CallOverrides): Promise<string>;
|
|
164
|
+
|
|
165
|
+
updateAvatar(
|
|
166
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
167
|
+
): Promise<ContractTransaction>;
|
|
168
|
+
|
|
169
|
+
upgradeTo(
|
|
170
|
+
newImplementation: string,
|
|
171
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
172
|
+
): Promise<ContractTransaction>;
|
|
173
|
+
|
|
174
|
+
upgradeToAndCall(
|
|
175
|
+
newImplementation: string,
|
|
176
|
+
data: BytesLike,
|
|
177
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
178
|
+
): Promise<ContractTransaction>;
|
|
179
|
+
|
|
180
|
+
callStatic: {
|
|
181
|
+
avatar(overrides?: CallOverrides): Promise<string>;
|
|
182
|
+
|
|
183
|
+
dao(overrides?: CallOverrides): Promise<string>;
|
|
184
|
+
|
|
185
|
+
nameService(overrides?: CallOverrides): Promise<string>;
|
|
186
|
+
|
|
187
|
+
nativeToken(overrides?: CallOverrides): Promise<string>;
|
|
188
|
+
|
|
189
|
+
updateAvatar(overrides?: CallOverrides): Promise<void>;
|
|
190
|
+
|
|
191
|
+
upgradeTo(
|
|
192
|
+
newImplementation: string,
|
|
193
|
+
overrides?: CallOverrides
|
|
194
|
+
): Promise<void>;
|
|
195
|
+
|
|
196
|
+
upgradeToAndCall(
|
|
197
|
+
newImplementation: string,
|
|
198
|
+
data: BytesLike,
|
|
199
|
+
overrides?: CallOverrides
|
|
200
|
+
): Promise<void>;
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
filters: {
|
|
204
|
+
"AdminChanged(address,address)"(
|
|
205
|
+
previousAdmin?: null,
|
|
206
|
+
newAdmin?: null
|
|
207
|
+
): AdminChangedEventFilter;
|
|
208
|
+
AdminChanged(
|
|
209
|
+
previousAdmin?: null,
|
|
210
|
+
newAdmin?: null
|
|
211
|
+
): AdminChangedEventFilter;
|
|
212
|
+
|
|
213
|
+
"BeaconUpgraded(address)"(
|
|
214
|
+
beacon?: string | null
|
|
215
|
+
): BeaconUpgradedEventFilter;
|
|
216
|
+
BeaconUpgraded(beacon?: string | null): BeaconUpgradedEventFilter;
|
|
217
|
+
|
|
218
|
+
"Upgraded(address)"(implementation?: string | null): UpgradedEventFilter;
|
|
219
|
+
Upgraded(implementation?: string | null): UpgradedEventFilter;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
estimateGas: {
|
|
223
|
+
avatar(overrides?: CallOverrides): Promise<BigNumber>;
|
|
224
|
+
|
|
225
|
+
dao(overrides?: CallOverrides): Promise<BigNumber>;
|
|
226
|
+
|
|
227
|
+
nameService(overrides?: CallOverrides): Promise<BigNumber>;
|
|
228
|
+
|
|
229
|
+
nativeToken(overrides?: CallOverrides): Promise<BigNumber>;
|
|
230
|
+
|
|
231
|
+
updateAvatar(
|
|
232
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
233
|
+
): Promise<BigNumber>;
|
|
234
|
+
|
|
235
|
+
upgradeTo(
|
|
236
|
+
newImplementation: string,
|
|
237
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
238
|
+
): Promise<BigNumber>;
|
|
239
|
+
|
|
240
|
+
upgradeToAndCall(
|
|
241
|
+
newImplementation: string,
|
|
242
|
+
data: BytesLike,
|
|
243
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
244
|
+
): Promise<BigNumber>;
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
populateTransaction: {
|
|
248
|
+
avatar(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
249
|
+
|
|
250
|
+
dao(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
251
|
+
|
|
252
|
+
nameService(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
253
|
+
|
|
254
|
+
nativeToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
255
|
+
|
|
256
|
+
updateAvatar(
|
|
257
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
258
|
+
): Promise<PopulatedTransaction>;
|
|
259
|
+
|
|
260
|
+
upgradeTo(
|
|
261
|
+
newImplementation: string,
|
|
262
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
263
|
+
): Promise<PopulatedTransaction>;
|
|
264
|
+
|
|
265
|
+
upgradeToAndCall(
|
|
266
|
+
newImplementation: string,
|
|
267
|
+
data: BytesLike,
|
|
268
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
269
|
+
): Promise<PopulatedTransaction>;
|
|
270
|
+
};
|
|
271
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
ethers,
|
|
7
|
+
EventFilter,
|
|
8
|
+
Signer,
|
|
9
|
+
BigNumber,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
PopulatedTransaction,
|
|
12
|
+
BaseContract,
|
|
13
|
+
ContractTransaction,
|
|
14
|
+
CallOverrides,
|
|
15
|
+
} from "ethers";
|
|
16
|
+
import { BytesLike } from "@ethersproject/bytes";
|
|
17
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
|
+
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
|
|
19
|
+
import type {
|
|
20
|
+
TypedEventFilter,
|
|
21
|
+
TypedEvent,
|
|
22
|
+
TypedListener,
|
|
23
|
+
OnEvent,
|
|
24
|
+
} from "./common";
|
|
25
|
+
|
|
26
|
+
export interface DaiEthPriceMockOracleInterface extends ethers.utils.Interface {
|
|
27
|
+
functions: {
|
|
28
|
+
"latestAnswer()": FunctionFragment;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
encodeFunctionData(
|
|
32
|
+
functionFragment: "latestAnswer",
|
|
33
|
+
values?: undefined
|
|
34
|
+
): string;
|
|
35
|
+
|
|
36
|
+
decodeFunctionResult(
|
|
37
|
+
functionFragment: "latestAnswer",
|
|
38
|
+
data: BytesLike
|
|
39
|
+
): Result;
|
|
40
|
+
|
|
41
|
+
events: {};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface DaiEthPriceMockOracle extends BaseContract {
|
|
45
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
46
|
+
attach(addressOrName: string): this;
|
|
47
|
+
deployed(): Promise<this>;
|
|
48
|
+
|
|
49
|
+
interface: DaiEthPriceMockOracleInterface;
|
|
50
|
+
|
|
51
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
52
|
+
event: TypedEventFilter<TEvent>,
|
|
53
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
54
|
+
toBlock?: string | number | undefined
|
|
55
|
+
): Promise<Array<TEvent>>;
|
|
56
|
+
|
|
57
|
+
listeners<TEvent extends TypedEvent>(
|
|
58
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
59
|
+
): Array<TypedListener<TEvent>>;
|
|
60
|
+
listeners(eventName?: string): Array<Listener>;
|
|
61
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
62
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
63
|
+
): this;
|
|
64
|
+
removeAllListeners(eventName?: string): this;
|
|
65
|
+
off: OnEvent<this>;
|
|
66
|
+
on: OnEvent<this>;
|
|
67
|
+
once: OnEvent<this>;
|
|
68
|
+
removeListener: OnEvent<this>;
|
|
69
|
+
|
|
70
|
+
functions: {
|
|
71
|
+
latestAnswer(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
latestAnswer(overrides?: CallOverrides): Promise<BigNumber>;
|
|
75
|
+
|
|
76
|
+
callStatic: {
|
|
77
|
+
latestAnswer(overrides?: CallOverrides): Promise<BigNumber>;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
filters: {};
|
|
81
|
+
|
|
82
|
+
estimateGas: {
|
|
83
|
+
latestAnswer(overrides?: CallOverrides): Promise<BigNumber>;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
populateTransaction: {
|
|
87
|
+
latestAnswer(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
88
|
+
};
|
|
89
|
+
}
|