@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,130 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
6
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
7
|
+
import type { ERC1967Proxy, ERC1967ProxyInterface } from "../ERC1967Proxy";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
anonymous: false,
|
|
12
|
+
inputs: [
|
|
13
|
+
{
|
|
14
|
+
indexed: false,
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "previousAdmin",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
indexed: false,
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "newAdmin",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
name: "AdminChanged",
|
|
27
|
+
type: "event",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
anonymous: false,
|
|
31
|
+
inputs: [
|
|
32
|
+
{
|
|
33
|
+
indexed: true,
|
|
34
|
+
internalType: "address",
|
|
35
|
+
name: "beacon",
|
|
36
|
+
type: "address",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
name: "BeaconUpgraded",
|
|
40
|
+
type: "event",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
anonymous: false,
|
|
44
|
+
inputs: [
|
|
45
|
+
{
|
|
46
|
+
indexed: true,
|
|
47
|
+
internalType: "address",
|
|
48
|
+
name: "implementation",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
name: "Upgraded",
|
|
53
|
+
type: "event",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
stateMutability: "payable",
|
|
57
|
+
type: "fallback",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "_logic",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
internalType: "bytes",
|
|
68
|
+
name: "_data",
|
|
69
|
+
type: "bytes",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
name: "initialize",
|
|
73
|
+
outputs: [],
|
|
74
|
+
stateMutability: "payable",
|
|
75
|
+
type: "function",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
stateMutability: "payable",
|
|
79
|
+
type: "receive",
|
|
80
|
+
},
|
|
81
|
+
];
|
|
82
|
+
|
|
83
|
+
const _bytecode =
|
|
84
|
+
"0x608060405234801561001057600080fd5b506105a3806100206000396000f3fe6080604052600436106100225760003560e01c8063d1f578941461003957610031565b366100315761002f61004c565b005b61002f61004c565b61002f6100473660046103e0565b61005e565b61005c61005761013d565b61014c565b565b6000610068610170565b6001600160a01b0316146100b15760405162461bcd60e51b815260206004820152600b60248201526a1a5b9a5d1a585b1a5e995960aa1b60448201526064015b60405180910390fd5b6100dc60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd610470565b600080516020610527833981519152146100f8576100f8610495565b6101388383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250925061018c915050565b505050565b6000610147610170565b905090565b3660008037600080366000845af43d6000803e80801561016b573d6000f35b3d6000fd5b600080516020610527833981519152546001600160a01b031690565b610195836101b7565b6000825111806101a25750805b15610138576101b183836101f7565b50505050565b6101c081610223565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061021c8383604051806060016040528060278152602001610547602791396102bd565b9392505050565b61022c81610398565b61028e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016100a8565b60008051602061052783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b60606102c884610398565b6103235760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016100a8565b600080856001600160a01b03168560405161033e91906104d7565b600060405180830381855af49150503d8060008114610379576040519150601f19603f3d011682016040523d82523d6000602084013e61037e565b606091505b509150915061038e8282866103a7565b9695505050505050565b6001600160a01b03163b151590565b606083156103b657508161021c565b8251156103c65782518084602001fd5b8160405162461bcd60e51b81526004016100a891906104f3565b6000806000604084860312156103f557600080fd5b83356001600160a01b038116811461040c57600080fd5b925060208401356001600160401b038082111561042857600080fd5b818601915086601f83011261043c57600080fd5b81358181111561044b57600080fd5b87602082850101111561045d57600080fd5b6020830194508093505050509250925092565b60008282101561049057634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b60005b838110156104c65781810151838201526020016104ae565b838111156101b15750506000910152565b600082516104e98184602087016104ab565b9190910192915050565b60208152600082518060208401526105128160408501602087016104ab565b601f01601f1916919091016040019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220859dac0560f70effb099541786da94ecb702f189a8b02ff16bfd17936e03c51a64736f6c63430008080033";
|
|
85
|
+
|
|
86
|
+
type ERC1967ProxyConstructorParams =
|
|
87
|
+
| [signer?: Signer]
|
|
88
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
89
|
+
|
|
90
|
+
const isSuperArgs = (
|
|
91
|
+
xs: ERC1967ProxyConstructorParams
|
|
92
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
93
|
+
|
|
94
|
+
export class ERC1967Proxy__factory extends ContractFactory {
|
|
95
|
+
constructor(...args: ERC1967ProxyConstructorParams) {
|
|
96
|
+
if (isSuperArgs(args)) {
|
|
97
|
+
super(...args);
|
|
98
|
+
} else {
|
|
99
|
+
super(_abi, _bytecode, args[0]);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
deploy(
|
|
104
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
105
|
+
): Promise<ERC1967Proxy> {
|
|
106
|
+
return super.deploy(overrides || {}) as Promise<ERC1967Proxy>;
|
|
107
|
+
}
|
|
108
|
+
getDeployTransaction(
|
|
109
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
110
|
+
): TransactionRequest {
|
|
111
|
+
return super.getDeployTransaction(overrides || {});
|
|
112
|
+
}
|
|
113
|
+
attach(address: string): ERC1967Proxy {
|
|
114
|
+
return super.attach(address) as ERC1967Proxy;
|
|
115
|
+
}
|
|
116
|
+
connect(signer: Signer): ERC1967Proxy__factory {
|
|
117
|
+
return super.connect(signer) as ERC1967Proxy__factory;
|
|
118
|
+
}
|
|
119
|
+
static readonly bytecode = _bytecode;
|
|
120
|
+
static readonly abi = _abi;
|
|
121
|
+
static createInterface(): ERC1967ProxyInterface {
|
|
122
|
+
return new utils.Interface(_abi) as ERC1967ProxyInterface;
|
|
123
|
+
}
|
|
124
|
+
static connect(
|
|
125
|
+
address: string,
|
|
126
|
+
signerOrProvider: Signer | Provider
|
|
127
|
+
): ERC1967Proxy {
|
|
128
|
+
return new Contract(address, _abi, signerOrProvider) as ERC1967Proxy;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
ERC1967UpgradeUpgradeable,
|
|
9
|
+
ERC1967UpgradeUpgradeableInterface,
|
|
10
|
+
} from "../ERC1967UpgradeUpgradeable";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: false,
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "previousAdmin",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
indexed: false,
|
|
24
|
+
internalType: "address",
|
|
25
|
+
name: "newAdmin",
|
|
26
|
+
type: "address",
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
name: "AdminChanged",
|
|
30
|
+
type: "event",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
anonymous: false,
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
indexed: true,
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "beacon",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
name: "BeaconUpgraded",
|
|
43
|
+
type: "event",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
anonymous: false,
|
|
47
|
+
inputs: [
|
|
48
|
+
{
|
|
49
|
+
indexed: true,
|
|
50
|
+
internalType: "address",
|
|
51
|
+
name: "implementation",
|
|
52
|
+
type: "address",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
name: "Upgraded",
|
|
56
|
+
type: "event",
|
|
57
|
+
},
|
|
58
|
+
];
|
|
59
|
+
|
|
60
|
+
export class ERC1967UpgradeUpgradeable__factory {
|
|
61
|
+
static readonly abi = _abi;
|
|
62
|
+
static createInterface(): ERC1967UpgradeUpgradeableInterface {
|
|
63
|
+
return new utils.Interface(_abi) as ERC1967UpgradeUpgradeableInterface;
|
|
64
|
+
}
|
|
65
|
+
static connect(
|
|
66
|
+
address: string,
|
|
67
|
+
signerOrProvider: Signer | Provider
|
|
68
|
+
): ERC1967UpgradeUpgradeable {
|
|
69
|
+
return new Contract(
|
|
70
|
+
address,
|
|
71
|
+
_abi,
|
|
72
|
+
signerOrProvider
|
|
73
|
+
) as ERC1967UpgradeUpgradeable;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
ERC1967Upgrade,
|
|
9
|
+
ERC1967UpgradeInterface,
|
|
10
|
+
} from "../ERC1967Upgrade";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: false,
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "previousAdmin",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
indexed: false,
|
|
24
|
+
internalType: "address",
|
|
25
|
+
name: "newAdmin",
|
|
26
|
+
type: "address",
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
name: "AdminChanged",
|
|
30
|
+
type: "event",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
anonymous: false,
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
indexed: true,
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "beacon",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
name: "BeaconUpgraded",
|
|
43
|
+
type: "event",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
anonymous: false,
|
|
47
|
+
inputs: [
|
|
48
|
+
{
|
|
49
|
+
indexed: true,
|
|
50
|
+
internalType: "address",
|
|
51
|
+
name: "implementation",
|
|
52
|
+
type: "address",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
name: "Upgraded",
|
|
56
|
+
type: "event",
|
|
57
|
+
},
|
|
58
|
+
];
|
|
59
|
+
|
|
60
|
+
export class ERC1967Upgrade__factory {
|
|
61
|
+
static readonly abi = _abi;
|
|
62
|
+
static createInterface(): ERC1967UpgradeInterface {
|
|
63
|
+
return new utils.Interface(_abi) as ERC1967UpgradeInterface;
|
|
64
|
+
}
|
|
65
|
+
static connect(
|
|
66
|
+
address: string,
|
|
67
|
+
signerOrProvider: Signer | Provider
|
|
68
|
+
): ERC1967Upgrade {
|
|
69
|
+
return new Contract(address, _abi, signerOrProvider) as ERC1967Upgrade;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
ERC20BurnableUpgradeable,
|
|
9
|
+
ERC20BurnableUpgradeableInterface,
|
|
10
|
+
} from "../ERC20BurnableUpgradeable";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: true,
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "owner",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
indexed: true,
|
|
24
|
+
internalType: "address",
|
|
25
|
+
name: "spender",
|
|
26
|
+
type: "address",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
indexed: false,
|
|
30
|
+
internalType: "uint256",
|
|
31
|
+
name: "value",
|
|
32
|
+
type: "uint256",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
name: "Approval",
|
|
36
|
+
type: "event",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
anonymous: false,
|
|
40
|
+
inputs: [
|
|
41
|
+
{
|
|
42
|
+
indexed: true,
|
|
43
|
+
internalType: "address",
|
|
44
|
+
name: "from",
|
|
45
|
+
type: "address",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
indexed: true,
|
|
49
|
+
internalType: "address",
|
|
50
|
+
name: "to",
|
|
51
|
+
type: "address",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
indexed: false,
|
|
55
|
+
internalType: "uint256",
|
|
56
|
+
name: "value",
|
|
57
|
+
type: "uint256",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
name: "Transfer",
|
|
61
|
+
type: "event",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
inputs: [
|
|
65
|
+
{
|
|
66
|
+
internalType: "address",
|
|
67
|
+
name: "owner",
|
|
68
|
+
type: "address",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
internalType: "address",
|
|
72
|
+
name: "spender",
|
|
73
|
+
type: "address",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
name: "allowance",
|
|
77
|
+
outputs: [
|
|
78
|
+
{
|
|
79
|
+
internalType: "uint256",
|
|
80
|
+
name: "",
|
|
81
|
+
type: "uint256",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
stateMutability: "view",
|
|
85
|
+
type: "function",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
inputs: [
|
|
89
|
+
{
|
|
90
|
+
internalType: "address",
|
|
91
|
+
name: "spender",
|
|
92
|
+
type: "address",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
internalType: "uint256",
|
|
96
|
+
name: "amount",
|
|
97
|
+
type: "uint256",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
name: "approve",
|
|
101
|
+
outputs: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "bool",
|
|
104
|
+
name: "",
|
|
105
|
+
type: "bool",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
stateMutability: "nonpayable",
|
|
109
|
+
type: "function",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
inputs: [
|
|
113
|
+
{
|
|
114
|
+
internalType: "address",
|
|
115
|
+
name: "account",
|
|
116
|
+
type: "address",
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
name: "balanceOf",
|
|
120
|
+
outputs: [
|
|
121
|
+
{
|
|
122
|
+
internalType: "uint256",
|
|
123
|
+
name: "",
|
|
124
|
+
type: "uint256",
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
stateMutability: "view",
|
|
128
|
+
type: "function",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
inputs: [
|
|
132
|
+
{
|
|
133
|
+
internalType: "uint256",
|
|
134
|
+
name: "amount",
|
|
135
|
+
type: "uint256",
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
name: "burn",
|
|
139
|
+
outputs: [],
|
|
140
|
+
stateMutability: "nonpayable",
|
|
141
|
+
type: "function",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
inputs: [
|
|
145
|
+
{
|
|
146
|
+
internalType: "address",
|
|
147
|
+
name: "account",
|
|
148
|
+
type: "address",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
internalType: "uint256",
|
|
152
|
+
name: "amount",
|
|
153
|
+
type: "uint256",
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
name: "burnFrom",
|
|
157
|
+
outputs: [],
|
|
158
|
+
stateMutability: "nonpayable",
|
|
159
|
+
type: "function",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [],
|
|
163
|
+
name: "decimals",
|
|
164
|
+
outputs: [
|
|
165
|
+
{
|
|
166
|
+
internalType: "uint8",
|
|
167
|
+
name: "",
|
|
168
|
+
type: "uint8",
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
stateMutability: "view",
|
|
172
|
+
type: "function",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
inputs: [
|
|
176
|
+
{
|
|
177
|
+
internalType: "address",
|
|
178
|
+
name: "spender",
|
|
179
|
+
type: "address",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
internalType: "uint256",
|
|
183
|
+
name: "subtractedValue",
|
|
184
|
+
type: "uint256",
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
name: "decreaseAllowance",
|
|
188
|
+
outputs: [
|
|
189
|
+
{
|
|
190
|
+
internalType: "bool",
|
|
191
|
+
name: "",
|
|
192
|
+
type: "bool",
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
stateMutability: "nonpayable",
|
|
196
|
+
type: "function",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
inputs: [
|
|
200
|
+
{
|
|
201
|
+
internalType: "address",
|
|
202
|
+
name: "spender",
|
|
203
|
+
type: "address",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
internalType: "uint256",
|
|
207
|
+
name: "addedValue",
|
|
208
|
+
type: "uint256",
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
name: "increaseAllowance",
|
|
212
|
+
outputs: [
|
|
213
|
+
{
|
|
214
|
+
internalType: "bool",
|
|
215
|
+
name: "",
|
|
216
|
+
type: "bool",
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
stateMutability: "nonpayable",
|
|
220
|
+
type: "function",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
inputs: [],
|
|
224
|
+
name: "name",
|
|
225
|
+
outputs: [
|
|
226
|
+
{
|
|
227
|
+
internalType: "string",
|
|
228
|
+
name: "",
|
|
229
|
+
type: "string",
|
|
230
|
+
},
|
|
231
|
+
],
|
|
232
|
+
stateMutability: "view",
|
|
233
|
+
type: "function",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
inputs: [],
|
|
237
|
+
name: "symbol",
|
|
238
|
+
outputs: [
|
|
239
|
+
{
|
|
240
|
+
internalType: "string",
|
|
241
|
+
name: "",
|
|
242
|
+
type: "string",
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
stateMutability: "view",
|
|
246
|
+
type: "function",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
inputs: [],
|
|
250
|
+
name: "totalSupply",
|
|
251
|
+
outputs: [
|
|
252
|
+
{
|
|
253
|
+
internalType: "uint256",
|
|
254
|
+
name: "",
|
|
255
|
+
type: "uint256",
|
|
256
|
+
},
|
|
257
|
+
],
|
|
258
|
+
stateMutability: "view",
|
|
259
|
+
type: "function",
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
inputs: [
|
|
263
|
+
{
|
|
264
|
+
internalType: "address",
|
|
265
|
+
name: "recipient",
|
|
266
|
+
type: "address",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
internalType: "uint256",
|
|
270
|
+
name: "amount",
|
|
271
|
+
type: "uint256",
|
|
272
|
+
},
|
|
273
|
+
],
|
|
274
|
+
name: "transfer",
|
|
275
|
+
outputs: [
|
|
276
|
+
{
|
|
277
|
+
internalType: "bool",
|
|
278
|
+
name: "",
|
|
279
|
+
type: "bool",
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
stateMutability: "nonpayable",
|
|
283
|
+
type: "function",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
inputs: [
|
|
287
|
+
{
|
|
288
|
+
internalType: "address",
|
|
289
|
+
name: "sender",
|
|
290
|
+
type: "address",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
internalType: "address",
|
|
294
|
+
name: "recipient",
|
|
295
|
+
type: "address",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
internalType: "uint256",
|
|
299
|
+
name: "amount",
|
|
300
|
+
type: "uint256",
|
|
301
|
+
},
|
|
302
|
+
],
|
|
303
|
+
name: "transferFrom",
|
|
304
|
+
outputs: [
|
|
305
|
+
{
|
|
306
|
+
internalType: "bool",
|
|
307
|
+
name: "",
|
|
308
|
+
type: "bool",
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
stateMutability: "nonpayable",
|
|
312
|
+
type: "function",
|
|
313
|
+
},
|
|
314
|
+
];
|
|
315
|
+
|
|
316
|
+
export class ERC20BurnableUpgradeable__factory {
|
|
317
|
+
static readonly abi = _abi;
|
|
318
|
+
static createInterface(): ERC20BurnableUpgradeableInterface {
|
|
319
|
+
return new utils.Interface(_abi) as ERC20BurnableUpgradeableInterface;
|
|
320
|
+
}
|
|
321
|
+
static connect(
|
|
322
|
+
address: string,
|
|
323
|
+
signerOrProvider: Signer | Provider
|
|
324
|
+
): ERC20BurnableUpgradeable {
|
|
325
|
+
return new Contract(
|
|
326
|
+
address,
|
|
327
|
+
_abi,
|
|
328
|
+
signerOrProvider
|
|
329
|
+
) as ERC20BurnableUpgradeable;
|
|
330
|
+
}
|
|
331
|
+
}
|