@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,1415 @@
|
|
|
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 { GReputation, GReputationInterface } from "../GReputation";
|
|
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: "_from",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
indexed: false,
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "_amount",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
name: "Burn",
|
|
59
|
+
type: "event",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
anonymous: false,
|
|
63
|
+
inputs: [
|
|
64
|
+
{
|
|
65
|
+
indexed: true,
|
|
66
|
+
internalType: "address",
|
|
67
|
+
name: "delegate",
|
|
68
|
+
type: "address",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
indexed: true,
|
|
72
|
+
internalType: "address",
|
|
73
|
+
name: "delegator",
|
|
74
|
+
type: "address",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
indexed: false,
|
|
78
|
+
internalType: "uint256",
|
|
79
|
+
name: "previousBalance",
|
|
80
|
+
type: "uint256",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
indexed: false,
|
|
84
|
+
internalType: "uint256",
|
|
85
|
+
name: "newBalance",
|
|
86
|
+
type: "uint256",
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
name: "DelegateVotesChanged",
|
|
90
|
+
type: "event",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
anonymous: false,
|
|
94
|
+
inputs: [
|
|
95
|
+
{
|
|
96
|
+
indexed: true,
|
|
97
|
+
internalType: "address",
|
|
98
|
+
name: "_to",
|
|
99
|
+
type: "address",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
indexed: false,
|
|
103
|
+
internalType: "uint256",
|
|
104
|
+
name: "_amount",
|
|
105
|
+
type: "uint256",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
name: "Mint",
|
|
109
|
+
type: "event",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
anonymous: false,
|
|
113
|
+
inputs: [
|
|
114
|
+
{
|
|
115
|
+
indexed: true,
|
|
116
|
+
internalType: "bytes32",
|
|
117
|
+
name: "role",
|
|
118
|
+
type: "bytes32",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
indexed: true,
|
|
122
|
+
internalType: "bytes32",
|
|
123
|
+
name: "previousAdminRole",
|
|
124
|
+
type: "bytes32",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
indexed: true,
|
|
128
|
+
internalType: "bytes32",
|
|
129
|
+
name: "newAdminRole",
|
|
130
|
+
type: "bytes32",
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
name: "RoleAdminChanged",
|
|
134
|
+
type: "event",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
anonymous: false,
|
|
138
|
+
inputs: [
|
|
139
|
+
{
|
|
140
|
+
indexed: true,
|
|
141
|
+
internalType: "bytes32",
|
|
142
|
+
name: "role",
|
|
143
|
+
type: "bytes32",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
indexed: true,
|
|
147
|
+
internalType: "address",
|
|
148
|
+
name: "account",
|
|
149
|
+
type: "address",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
indexed: true,
|
|
153
|
+
internalType: "address",
|
|
154
|
+
name: "sender",
|
|
155
|
+
type: "address",
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
name: "RoleGranted",
|
|
159
|
+
type: "event",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
anonymous: false,
|
|
163
|
+
inputs: [
|
|
164
|
+
{
|
|
165
|
+
indexed: true,
|
|
166
|
+
internalType: "bytes32",
|
|
167
|
+
name: "role",
|
|
168
|
+
type: "bytes32",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
indexed: true,
|
|
172
|
+
internalType: "address",
|
|
173
|
+
name: "account",
|
|
174
|
+
type: "address",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
indexed: true,
|
|
178
|
+
internalType: "address",
|
|
179
|
+
name: "sender",
|
|
180
|
+
type: "address",
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
name: "RoleRevoked",
|
|
184
|
+
type: "event",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
anonymous: false,
|
|
188
|
+
inputs: [
|
|
189
|
+
{
|
|
190
|
+
indexed: false,
|
|
191
|
+
internalType: "string",
|
|
192
|
+
name: "blockchain",
|
|
193
|
+
type: "string",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
indexed: false,
|
|
197
|
+
internalType: "bytes32",
|
|
198
|
+
name: "merkleRoot",
|
|
199
|
+
type: "bytes32",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
indexed: false,
|
|
203
|
+
internalType: "uint256",
|
|
204
|
+
name: "totalSupply",
|
|
205
|
+
type: "uint256",
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
name: "StateHash",
|
|
209
|
+
type: "event",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
anonymous: false,
|
|
213
|
+
inputs: [
|
|
214
|
+
{
|
|
215
|
+
indexed: false,
|
|
216
|
+
internalType: "string",
|
|
217
|
+
name: "blockchain",
|
|
218
|
+
type: "string",
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
indexed: true,
|
|
222
|
+
internalType: "address",
|
|
223
|
+
name: "user",
|
|
224
|
+
type: "address",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
indexed: false,
|
|
228
|
+
internalType: "uint256",
|
|
229
|
+
name: "repBalance",
|
|
230
|
+
type: "uint256",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
name: "StateHashProof",
|
|
234
|
+
type: "event",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
anonymous: false,
|
|
238
|
+
inputs: [
|
|
239
|
+
{
|
|
240
|
+
indexed: true,
|
|
241
|
+
internalType: "address",
|
|
242
|
+
name: "implementation",
|
|
243
|
+
type: "address",
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
name: "Upgraded",
|
|
247
|
+
type: "event",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
inputs: [],
|
|
251
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
252
|
+
outputs: [
|
|
253
|
+
{
|
|
254
|
+
internalType: "bytes32",
|
|
255
|
+
name: "",
|
|
256
|
+
type: "bytes32",
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
stateMutability: "view",
|
|
260
|
+
type: "function",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
inputs: [],
|
|
264
|
+
name: "DELEGATION_TYPEHASH",
|
|
265
|
+
outputs: [
|
|
266
|
+
{
|
|
267
|
+
internalType: "bytes32",
|
|
268
|
+
name: "",
|
|
269
|
+
type: "bytes32",
|
|
270
|
+
},
|
|
271
|
+
],
|
|
272
|
+
stateMutability: "view",
|
|
273
|
+
type: "function",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
inputs: [],
|
|
277
|
+
name: "DOMAIN_TYPEHASH",
|
|
278
|
+
outputs: [
|
|
279
|
+
{
|
|
280
|
+
internalType: "bytes32",
|
|
281
|
+
name: "",
|
|
282
|
+
type: "bytes32",
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
stateMutability: "view",
|
|
286
|
+
type: "function",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
inputs: [],
|
|
290
|
+
name: "MINTER_ROLE",
|
|
291
|
+
outputs: [
|
|
292
|
+
{
|
|
293
|
+
internalType: "bytes32",
|
|
294
|
+
name: "",
|
|
295
|
+
type: "bytes32",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
stateMutability: "view",
|
|
299
|
+
type: "function",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
inputs: [],
|
|
303
|
+
name: "ROOT_STATE",
|
|
304
|
+
outputs: [
|
|
305
|
+
{
|
|
306
|
+
internalType: "bytes32",
|
|
307
|
+
name: "",
|
|
308
|
+
type: "bytes32",
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
stateMutability: "view",
|
|
312
|
+
type: "function",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
inputs: [
|
|
316
|
+
{
|
|
317
|
+
internalType: "uint256",
|
|
318
|
+
name: "",
|
|
319
|
+
type: "uint256",
|
|
320
|
+
},
|
|
321
|
+
],
|
|
322
|
+
name: "activeBlockchains",
|
|
323
|
+
outputs: [
|
|
324
|
+
{
|
|
325
|
+
internalType: "bytes32",
|
|
326
|
+
name: "",
|
|
327
|
+
type: "bytes32",
|
|
328
|
+
},
|
|
329
|
+
],
|
|
330
|
+
stateMutability: "view",
|
|
331
|
+
type: "function",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
inputs: [
|
|
335
|
+
{
|
|
336
|
+
internalType: "address",
|
|
337
|
+
name: "",
|
|
338
|
+
type: "address",
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
internalType: "uint256",
|
|
342
|
+
name: "",
|
|
343
|
+
type: "uint256",
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
name: "activeVotes",
|
|
347
|
+
outputs: [
|
|
348
|
+
{
|
|
349
|
+
internalType: "uint256",
|
|
350
|
+
name: "",
|
|
351
|
+
type: "uint256",
|
|
352
|
+
},
|
|
353
|
+
],
|
|
354
|
+
stateMutability: "view",
|
|
355
|
+
type: "function",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
inputs: [],
|
|
359
|
+
name: "avatar",
|
|
360
|
+
outputs: [
|
|
361
|
+
{
|
|
362
|
+
internalType: "address",
|
|
363
|
+
name: "",
|
|
364
|
+
type: "address",
|
|
365
|
+
},
|
|
366
|
+
],
|
|
367
|
+
stateMutability: "view",
|
|
368
|
+
type: "function",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
inputs: [
|
|
372
|
+
{
|
|
373
|
+
internalType: "address",
|
|
374
|
+
name: "_user",
|
|
375
|
+
type: "address",
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
name: "balanceOf",
|
|
379
|
+
outputs: [
|
|
380
|
+
{
|
|
381
|
+
internalType: "uint256",
|
|
382
|
+
name: "balance",
|
|
383
|
+
type: "uint256",
|
|
384
|
+
},
|
|
385
|
+
],
|
|
386
|
+
stateMutability: "view",
|
|
387
|
+
type: "function",
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
inputs: [
|
|
391
|
+
{
|
|
392
|
+
internalType: "address",
|
|
393
|
+
name: "_owner",
|
|
394
|
+
type: "address",
|
|
395
|
+
},
|
|
396
|
+
],
|
|
397
|
+
name: "balanceOfLocal",
|
|
398
|
+
outputs: [
|
|
399
|
+
{
|
|
400
|
+
internalType: "uint256",
|
|
401
|
+
name: "",
|
|
402
|
+
type: "uint256",
|
|
403
|
+
},
|
|
404
|
+
],
|
|
405
|
+
stateMutability: "view",
|
|
406
|
+
type: "function",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
inputs: [
|
|
410
|
+
{
|
|
411
|
+
internalType: "address",
|
|
412
|
+
name: "_owner",
|
|
413
|
+
type: "address",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
internalType: "uint256",
|
|
417
|
+
name: "_blockNumber",
|
|
418
|
+
type: "uint256",
|
|
419
|
+
},
|
|
420
|
+
],
|
|
421
|
+
name: "balanceOfLocalAt",
|
|
422
|
+
outputs: [
|
|
423
|
+
{
|
|
424
|
+
internalType: "uint256",
|
|
425
|
+
name: "",
|
|
426
|
+
type: "uint256",
|
|
427
|
+
},
|
|
428
|
+
],
|
|
429
|
+
stateMutability: "view",
|
|
430
|
+
type: "function",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
inputs: [
|
|
434
|
+
{
|
|
435
|
+
internalType: "address",
|
|
436
|
+
name: "",
|
|
437
|
+
type: "address",
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
internalType: "uint256",
|
|
441
|
+
name: "",
|
|
442
|
+
type: "uint256",
|
|
443
|
+
},
|
|
444
|
+
],
|
|
445
|
+
name: "balances",
|
|
446
|
+
outputs: [
|
|
447
|
+
{
|
|
448
|
+
internalType: "uint256",
|
|
449
|
+
name: "",
|
|
450
|
+
type: "uint256",
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
stateMutability: "view",
|
|
454
|
+
type: "function",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
inputs: [
|
|
458
|
+
{
|
|
459
|
+
internalType: "bytes32",
|
|
460
|
+
name: "",
|
|
461
|
+
type: "bytes32",
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
internalType: "uint256",
|
|
465
|
+
name: "",
|
|
466
|
+
type: "uint256",
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
name: "blockchainStates",
|
|
470
|
+
outputs: [
|
|
471
|
+
{
|
|
472
|
+
internalType: "bytes32",
|
|
473
|
+
name: "stateHash",
|
|
474
|
+
type: "bytes32",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
internalType: "uint256",
|
|
478
|
+
name: "hashType",
|
|
479
|
+
type: "uint256",
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
internalType: "uint256",
|
|
483
|
+
name: "totalSupply",
|
|
484
|
+
type: "uint256",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
internalType: "uint256",
|
|
488
|
+
name: "blockNumber",
|
|
489
|
+
type: "uint256",
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
stateMutability: "view",
|
|
493
|
+
type: "function",
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
inputs: [
|
|
497
|
+
{
|
|
498
|
+
internalType: "address",
|
|
499
|
+
name: "_user",
|
|
500
|
+
type: "address",
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
internalType: "uint256",
|
|
504
|
+
name: "_amount",
|
|
505
|
+
type: "uint256",
|
|
506
|
+
},
|
|
507
|
+
],
|
|
508
|
+
name: "burn",
|
|
509
|
+
outputs: [
|
|
510
|
+
{
|
|
511
|
+
internalType: "bool",
|
|
512
|
+
name: "",
|
|
513
|
+
type: "bool",
|
|
514
|
+
},
|
|
515
|
+
],
|
|
516
|
+
stateMutability: "nonpayable",
|
|
517
|
+
type: "function",
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
inputs: [
|
|
521
|
+
{
|
|
522
|
+
internalType: "bytes32[]",
|
|
523
|
+
name: "_proof",
|
|
524
|
+
type: "bytes32[]",
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
internalType: "bytes32",
|
|
528
|
+
name: "_root",
|
|
529
|
+
type: "bytes32",
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
internalType: "bytes32",
|
|
533
|
+
name: "_hash",
|
|
534
|
+
type: "bytes32",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
internalType: "uint256",
|
|
538
|
+
name: "_index",
|
|
539
|
+
type: "uint256",
|
|
540
|
+
},
|
|
541
|
+
],
|
|
542
|
+
name: "checkProofOrdered",
|
|
543
|
+
outputs: [
|
|
544
|
+
{
|
|
545
|
+
internalType: "bool",
|
|
546
|
+
name: "",
|
|
547
|
+
type: "bool",
|
|
548
|
+
},
|
|
549
|
+
],
|
|
550
|
+
stateMutability: "pure",
|
|
551
|
+
type: "function",
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
inputs: [],
|
|
555
|
+
name: "dao",
|
|
556
|
+
outputs: [
|
|
557
|
+
{
|
|
558
|
+
internalType: "contract Controller",
|
|
559
|
+
name: "",
|
|
560
|
+
type: "address",
|
|
561
|
+
},
|
|
562
|
+
],
|
|
563
|
+
stateMutability: "view",
|
|
564
|
+
type: "function",
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
inputs: [],
|
|
568
|
+
name: "decimals",
|
|
569
|
+
outputs: [
|
|
570
|
+
{
|
|
571
|
+
internalType: "uint8",
|
|
572
|
+
name: "",
|
|
573
|
+
type: "uint8",
|
|
574
|
+
},
|
|
575
|
+
],
|
|
576
|
+
stateMutability: "view",
|
|
577
|
+
type: "function",
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
inputs: [
|
|
581
|
+
{
|
|
582
|
+
internalType: "address",
|
|
583
|
+
name: "_delegate",
|
|
584
|
+
type: "address",
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
internalType: "uint256",
|
|
588
|
+
name: "_nonce",
|
|
589
|
+
type: "uint256",
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
internalType: "uint256",
|
|
593
|
+
name: "_expiry",
|
|
594
|
+
type: "uint256",
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
internalType: "uint8",
|
|
598
|
+
name: "_v",
|
|
599
|
+
type: "uint8",
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
internalType: "bytes32",
|
|
603
|
+
name: "_r",
|
|
604
|
+
type: "bytes32",
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
internalType: "bytes32",
|
|
608
|
+
name: "_s",
|
|
609
|
+
type: "bytes32",
|
|
610
|
+
},
|
|
611
|
+
],
|
|
612
|
+
name: "delegateBySig",
|
|
613
|
+
outputs: [],
|
|
614
|
+
stateMutability: "nonpayable",
|
|
615
|
+
type: "function",
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
inputs: [
|
|
619
|
+
{
|
|
620
|
+
internalType: "address",
|
|
621
|
+
name: "_user",
|
|
622
|
+
type: "address",
|
|
623
|
+
},
|
|
624
|
+
],
|
|
625
|
+
name: "delegateOf",
|
|
626
|
+
outputs: [
|
|
627
|
+
{
|
|
628
|
+
internalType: "address",
|
|
629
|
+
name: "",
|
|
630
|
+
type: "address",
|
|
631
|
+
},
|
|
632
|
+
],
|
|
633
|
+
stateMutability: "view",
|
|
634
|
+
type: "function",
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
inputs: [
|
|
638
|
+
{
|
|
639
|
+
internalType: "address",
|
|
640
|
+
name: "_delegate",
|
|
641
|
+
type: "address",
|
|
642
|
+
},
|
|
643
|
+
],
|
|
644
|
+
name: "delegateTo",
|
|
645
|
+
outputs: [],
|
|
646
|
+
stateMutability: "nonpayable",
|
|
647
|
+
type: "function",
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
inputs: [
|
|
651
|
+
{
|
|
652
|
+
internalType: "address",
|
|
653
|
+
name: "",
|
|
654
|
+
type: "address",
|
|
655
|
+
},
|
|
656
|
+
],
|
|
657
|
+
name: "delegates",
|
|
658
|
+
outputs: [
|
|
659
|
+
{
|
|
660
|
+
internalType: "address",
|
|
661
|
+
name: "",
|
|
662
|
+
type: "address",
|
|
663
|
+
},
|
|
664
|
+
],
|
|
665
|
+
stateMutability: "view",
|
|
666
|
+
type: "function",
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
inputs: [
|
|
670
|
+
{
|
|
671
|
+
internalType: "address",
|
|
672
|
+
name: "_user",
|
|
673
|
+
type: "address",
|
|
674
|
+
},
|
|
675
|
+
],
|
|
676
|
+
name: "getCurrentVotes",
|
|
677
|
+
outputs: [
|
|
678
|
+
{
|
|
679
|
+
internalType: "uint256",
|
|
680
|
+
name: "",
|
|
681
|
+
type: "uint256",
|
|
682
|
+
},
|
|
683
|
+
],
|
|
684
|
+
stateMutability: "view",
|
|
685
|
+
type: "function",
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
inputs: [
|
|
689
|
+
{
|
|
690
|
+
internalType: "address",
|
|
691
|
+
name: "_user",
|
|
692
|
+
type: "address",
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
internalType: "uint256",
|
|
696
|
+
name: "_block",
|
|
697
|
+
type: "uint256",
|
|
698
|
+
},
|
|
699
|
+
],
|
|
700
|
+
name: "getPriorVotes",
|
|
701
|
+
outputs: [
|
|
702
|
+
{
|
|
703
|
+
internalType: "uint256",
|
|
704
|
+
name: "",
|
|
705
|
+
type: "uint256",
|
|
706
|
+
},
|
|
707
|
+
],
|
|
708
|
+
stateMutability: "view",
|
|
709
|
+
type: "function",
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
inputs: [
|
|
713
|
+
{
|
|
714
|
+
internalType: "bytes32",
|
|
715
|
+
name: "role",
|
|
716
|
+
type: "bytes32",
|
|
717
|
+
},
|
|
718
|
+
],
|
|
719
|
+
name: "getRoleAdmin",
|
|
720
|
+
outputs: [
|
|
721
|
+
{
|
|
722
|
+
internalType: "bytes32",
|
|
723
|
+
name: "",
|
|
724
|
+
type: "bytes32",
|
|
725
|
+
},
|
|
726
|
+
],
|
|
727
|
+
stateMutability: "view",
|
|
728
|
+
type: "function",
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
inputs: [
|
|
732
|
+
{
|
|
733
|
+
internalType: "address",
|
|
734
|
+
name: "_user",
|
|
735
|
+
type: "address",
|
|
736
|
+
},
|
|
737
|
+
],
|
|
738
|
+
name: "getVotes",
|
|
739
|
+
outputs: [
|
|
740
|
+
{
|
|
741
|
+
internalType: "uint256",
|
|
742
|
+
name: "",
|
|
743
|
+
type: "uint256",
|
|
744
|
+
},
|
|
745
|
+
],
|
|
746
|
+
stateMutability: "view",
|
|
747
|
+
type: "function",
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
inputs: [
|
|
751
|
+
{
|
|
752
|
+
internalType: "address",
|
|
753
|
+
name: "_user",
|
|
754
|
+
type: "address",
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
internalType: "uint256",
|
|
758
|
+
name: "_blockNumber",
|
|
759
|
+
type: "uint256",
|
|
760
|
+
},
|
|
761
|
+
],
|
|
762
|
+
name: "getVotesAt",
|
|
763
|
+
outputs: [
|
|
764
|
+
{
|
|
765
|
+
internalType: "uint256",
|
|
766
|
+
name: "",
|
|
767
|
+
type: "uint256",
|
|
768
|
+
},
|
|
769
|
+
],
|
|
770
|
+
stateMutability: "view",
|
|
771
|
+
type: "function",
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
inputs: [
|
|
775
|
+
{
|
|
776
|
+
internalType: "address",
|
|
777
|
+
name: "_user",
|
|
778
|
+
type: "address",
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
internalType: "bool",
|
|
782
|
+
name: "_global",
|
|
783
|
+
type: "bool",
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
internalType: "uint256",
|
|
787
|
+
name: "_blockNumber",
|
|
788
|
+
type: "uint256",
|
|
789
|
+
},
|
|
790
|
+
],
|
|
791
|
+
name: "getVotesAt",
|
|
792
|
+
outputs: [
|
|
793
|
+
{
|
|
794
|
+
internalType: "uint256",
|
|
795
|
+
name: "",
|
|
796
|
+
type: "uint256",
|
|
797
|
+
},
|
|
798
|
+
],
|
|
799
|
+
stateMutability: "view",
|
|
800
|
+
type: "function",
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
inputs: [
|
|
804
|
+
{
|
|
805
|
+
internalType: "bytes32",
|
|
806
|
+
name: "_id",
|
|
807
|
+
type: "bytes32",
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
internalType: "address",
|
|
811
|
+
name: "_user",
|
|
812
|
+
type: "address",
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
internalType: "uint256",
|
|
816
|
+
name: "_blockNumber",
|
|
817
|
+
type: "uint256",
|
|
818
|
+
},
|
|
819
|
+
],
|
|
820
|
+
name: "getVotesAtBlockchain",
|
|
821
|
+
outputs: [
|
|
822
|
+
{
|
|
823
|
+
internalType: "uint256",
|
|
824
|
+
name: "",
|
|
825
|
+
type: "uint256",
|
|
826
|
+
},
|
|
827
|
+
],
|
|
828
|
+
stateMutability: "view",
|
|
829
|
+
type: "function",
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
inputs: [
|
|
833
|
+
{
|
|
834
|
+
internalType: "bytes32",
|
|
835
|
+
name: "role",
|
|
836
|
+
type: "bytes32",
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
internalType: "address",
|
|
840
|
+
name: "account",
|
|
841
|
+
type: "address",
|
|
842
|
+
},
|
|
843
|
+
],
|
|
844
|
+
name: "grantRole",
|
|
845
|
+
outputs: [],
|
|
846
|
+
stateMutability: "nonpayable",
|
|
847
|
+
type: "function",
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
inputs: [
|
|
851
|
+
{
|
|
852
|
+
internalType: "bytes32",
|
|
853
|
+
name: "role",
|
|
854
|
+
type: "bytes32",
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
internalType: "address",
|
|
858
|
+
name: "account",
|
|
859
|
+
type: "address",
|
|
860
|
+
},
|
|
861
|
+
],
|
|
862
|
+
name: "hasRole",
|
|
863
|
+
outputs: [
|
|
864
|
+
{
|
|
865
|
+
internalType: "bool",
|
|
866
|
+
name: "",
|
|
867
|
+
type: "bool",
|
|
868
|
+
},
|
|
869
|
+
],
|
|
870
|
+
stateMutability: "view",
|
|
871
|
+
type: "function",
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
inputs: [
|
|
875
|
+
{
|
|
876
|
+
internalType: "contract INameService",
|
|
877
|
+
name: "_ns",
|
|
878
|
+
type: "address",
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
internalType: "string",
|
|
882
|
+
name: "_stateId",
|
|
883
|
+
type: "string",
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
internalType: "bytes32",
|
|
887
|
+
name: "_stateHash",
|
|
888
|
+
type: "bytes32",
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
internalType: "uint256",
|
|
892
|
+
name: "_totalSupply",
|
|
893
|
+
type: "uint256",
|
|
894
|
+
},
|
|
895
|
+
],
|
|
896
|
+
name: "initialize",
|
|
897
|
+
outputs: [],
|
|
898
|
+
stateMutability: "nonpayable",
|
|
899
|
+
type: "function",
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
inputs: [
|
|
903
|
+
{
|
|
904
|
+
internalType: "contract INameService",
|
|
905
|
+
name: "_ns",
|
|
906
|
+
type: "address",
|
|
907
|
+
},
|
|
908
|
+
],
|
|
909
|
+
name: "initialize",
|
|
910
|
+
outputs: [],
|
|
911
|
+
stateMutability: "nonpayable",
|
|
912
|
+
type: "function",
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
inputs: [
|
|
916
|
+
{
|
|
917
|
+
internalType: "address",
|
|
918
|
+
name: "_user",
|
|
919
|
+
type: "address",
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
internalType: "uint256",
|
|
923
|
+
name: "_amount",
|
|
924
|
+
type: "uint256",
|
|
925
|
+
},
|
|
926
|
+
],
|
|
927
|
+
name: "mint",
|
|
928
|
+
outputs: [
|
|
929
|
+
{
|
|
930
|
+
internalType: "bool",
|
|
931
|
+
name: "",
|
|
932
|
+
type: "bool",
|
|
933
|
+
},
|
|
934
|
+
],
|
|
935
|
+
stateMutability: "nonpayable",
|
|
936
|
+
type: "function",
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
inputs: [],
|
|
940
|
+
name: "name",
|
|
941
|
+
outputs: [
|
|
942
|
+
{
|
|
943
|
+
internalType: "string",
|
|
944
|
+
name: "",
|
|
945
|
+
type: "string",
|
|
946
|
+
},
|
|
947
|
+
],
|
|
948
|
+
stateMutability: "view",
|
|
949
|
+
type: "function",
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
inputs: [],
|
|
953
|
+
name: "nameService",
|
|
954
|
+
outputs: [
|
|
955
|
+
{
|
|
956
|
+
internalType: "contract INameService",
|
|
957
|
+
name: "",
|
|
958
|
+
type: "address",
|
|
959
|
+
},
|
|
960
|
+
],
|
|
961
|
+
stateMutability: "view",
|
|
962
|
+
type: "function",
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
inputs: [],
|
|
966
|
+
name: "nativeToken",
|
|
967
|
+
outputs: [
|
|
968
|
+
{
|
|
969
|
+
internalType: "contract IGoodDollar",
|
|
970
|
+
name: "",
|
|
971
|
+
type: "address",
|
|
972
|
+
},
|
|
973
|
+
],
|
|
974
|
+
stateMutability: "view",
|
|
975
|
+
type: "function",
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
inputs: [
|
|
979
|
+
{
|
|
980
|
+
internalType: "address",
|
|
981
|
+
name: "",
|
|
982
|
+
type: "address",
|
|
983
|
+
},
|
|
984
|
+
],
|
|
985
|
+
name: "nonces",
|
|
986
|
+
outputs: [
|
|
987
|
+
{
|
|
988
|
+
internalType: "uint256",
|
|
989
|
+
name: "",
|
|
990
|
+
type: "uint256",
|
|
991
|
+
},
|
|
992
|
+
],
|
|
993
|
+
stateMutability: "view",
|
|
994
|
+
type: "function",
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
inputs: [
|
|
998
|
+
{
|
|
999
|
+
internalType: "string",
|
|
1000
|
+
name: "_id",
|
|
1001
|
+
type: "string",
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
internalType: "address",
|
|
1005
|
+
name: "_user",
|
|
1006
|
+
type: "address",
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
internalType: "uint256",
|
|
1010
|
+
name: "_balance",
|
|
1011
|
+
type: "uint256",
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
internalType: "bytes32[]",
|
|
1015
|
+
name: "_proof",
|
|
1016
|
+
type: "bytes32[]",
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
internalType: "uint256",
|
|
1020
|
+
name: "_nodeIndex",
|
|
1021
|
+
type: "uint256",
|
|
1022
|
+
},
|
|
1023
|
+
],
|
|
1024
|
+
name: "proveBalanceOfAtBlockchain",
|
|
1025
|
+
outputs: [
|
|
1026
|
+
{
|
|
1027
|
+
internalType: "bool",
|
|
1028
|
+
name: "",
|
|
1029
|
+
type: "bool",
|
|
1030
|
+
},
|
|
1031
|
+
],
|
|
1032
|
+
stateMutability: "nonpayable",
|
|
1033
|
+
type: "function",
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
inputs: [
|
|
1037
|
+
{
|
|
1038
|
+
internalType: "bytes32",
|
|
1039
|
+
name: "role",
|
|
1040
|
+
type: "bytes32",
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
internalType: "address",
|
|
1044
|
+
name: "account",
|
|
1045
|
+
type: "address",
|
|
1046
|
+
},
|
|
1047
|
+
],
|
|
1048
|
+
name: "renounceRole",
|
|
1049
|
+
outputs: [],
|
|
1050
|
+
stateMutability: "nonpayable",
|
|
1051
|
+
type: "function",
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
inputs: [
|
|
1055
|
+
{
|
|
1056
|
+
internalType: "address",
|
|
1057
|
+
name: "",
|
|
1058
|
+
type: "address",
|
|
1059
|
+
},
|
|
1060
|
+
],
|
|
1061
|
+
name: "reputationRecipients",
|
|
1062
|
+
outputs: [
|
|
1063
|
+
{
|
|
1064
|
+
internalType: "address",
|
|
1065
|
+
name: "",
|
|
1066
|
+
type: "address",
|
|
1067
|
+
},
|
|
1068
|
+
],
|
|
1069
|
+
stateMutability: "view",
|
|
1070
|
+
type: "function",
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
inputs: [
|
|
1074
|
+
{
|
|
1075
|
+
internalType: "bytes32",
|
|
1076
|
+
name: "role",
|
|
1077
|
+
type: "bytes32",
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
internalType: "address",
|
|
1081
|
+
name: "account",
|
|
1082
|
+
type: "address",
|
|
1083
|
+
},
|
|
1084
|
+
],
|
|
1085
|
+
name: "revokeRole",
|
|
1086
|
+
outputs: [],
|
|
1087
|
+
stateMutability: "nonpayable",
|
|
1088
|
+
type: "function",
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
inputs: [
|
|
1092
|
+
{
|
|
1093
|
+
internalType: "string",
|
|
1094
|
+
name: "_id",
|
|
1095
|
+
type: "string",
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
internalType: "bytes32",
|
|
1099
|
+
name: "_hash",
|
|
1100
|
+
type: "bytes32",
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
internalType: "uint256",
|
|
1104
|
+
name: "_totalSupply",
|
|
1105
|
+
type: "uint256",
|
|
1106
|
+
},
|
|
1107
|
+
],
|
|
1108
|
+
name: "setBlockchainStateHash",
|
|
1109
|
+
outputs: [],
|
|
1110
|
+
stateMutability: "nonpayable",
|
|
1111
|
+
type: "function",
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
inputs: [
|
|
1115
|
+
{
|
|
1116
|
+
internalType: "address",
|
|
1117
|
+
name: "_target",
|
|
1118
|
+
type: "address",
|
|
1119
|
+
},
|
|
1120
|
+
],
|
|
1121
|
+
name: "setReputationRecipient",
|
|
1122
|
+
outputs: [],
|
|
1123
|
+
stateMutability: "nonpayable",
|
|
1124
|
+
type: "function",
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
inputs: [
|
|
1128
|
+
{
|
|
1129
|
+
internalType: "bytes32",
|
|
1130
|
+
name: "",
|
|
1131
|
+
type: "bytes32",
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
internalType: "address",
|
|
1135
|
+
name: "",
|
|
1136
|
+
type: "address",
|
|
1137
|
+
},
|
|
1138
|
+
],
|
|
1139
|
+
name: "stateHashBalances",
|
|
1140
|
+
outputs: [
|
|
1141
|
+
{
|
|
1142
|
+
internalType: "uint256",
|
|
1143
|
+
name: "",
|
|
1144
|
+
type: "uint256",
|
|
1145
|
+
},
|
|
1146
|
+
],
|
|
1147
|
+
stateMutability: "view",
|
|
1148
|
+
type: "function",
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
inputs: [
|
|
1152
|
+
{
|
|
1153
|
+
internalType: "bytes4",
|
|
1154
|
+
name: "interfaceId",
|
|
1155
|
+
type: "bytes4",
|
|
1156
|
+
},
|
|
1157
|
+
],
|
|
1158
|
+
name: "supportsInterface",
|
|
1159
|
+
outputs: [
|
|
1160
|
+
{
|
|
1161
|
+
internalType: "bool",
|
|
1162
|
+
name: "",
|
|
1163
|
+
type: "bool",
|
|
1164
|
+
},
|
|
1165
|
+
],
|
|
1166
|
+
stateMutability: "view",
|
|
1167
|
+
type: "function",
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
inputs: [],
|
|
1171
|
+
name: "symbol",
|
|
1172
|
+
outputs: [
|
|
1173
|
+
{
|
|
1174
|
+
internalType: "string",
|
|
1175
|
+
name: "",
|
|
1176
|
+
type: "string",
|
|
1177
|
+
},
|
|
1178
|
+
],
|
|
1179
|
+
stateMutability: "view",
|
|
1180
|
+
type: "function",
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
inputs: [],
|
|
1184
|
+
name: "totalSupply",
|
|
1185
|
+
outputs: [
|
|
1186
|
+
{
|
|
1187
|
+
internalType: "uint256",
|
|
1188
|
+
name: "",
|
|
1189
|
+
type: "uint256",
|
|
1190
|
+
},
|
|
1191
|
+
],
|
|
1192
|
+
stateMutability: "view",
|
|
1193
|
+
type: "function",
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
inputs: [
|
|
1197
|
+
{
|
|
1198
|
+
internalType: "uint256",
|
|
1199
|
+
name: "_blockNumber",
|
|
1200
|
+
type: "uint256",
|
|
1201
|
+
},
|
|
1202
|
+
],
|
|
1203
|
+
name: "totalSupplyAt",
|
|
1204
|
+
outputs: [
|
|
1205
|
+
{
|
|
1206
|
+
internalType: "uint256",
|
|
1207
|
+
name: "",
|
|
1208
|
+
type: "uint256",
|
|
1209
|
+
},
|
|
1210
|
+
],
|
|
1211
|
+
stateMutability: "view",
|
|
1212
|
+
type: "function",
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
inputs: [
|
|
1216
|
+
{
|
|
1217
|
+
internalType: "bytes32",
|
|
1218
|
+
name: "_id",
|
|
1219
|
+
type: "bytes32",
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
internalType: "uint256",
|
|
1223
|
+
name: "_blockNumber",
|
|
1224
|
+
type: "uint256",
|
|
1225
|
+
},
|
|
1226
|
+
],
|
|
1227
|
+
name: "totalSupplyAtBlockchain",
|
|
1228
|
+
outputs: [
|
|
1229
|
+
{
|
|
1230
|
+
internalType: "uint256",
|
|
1231
|
+
name: "",
|
|
1232
|
+
type: "uint256",
|
|
1233
|
+
},
|
|
1234
|
+
],
|
|
1235
|
+
stateMutability: "view",
|
|
1236
|
+
type: "function",
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
inputs: [
|
|
1240
|
+
{
|
|
1241
|
+
internalType: "uint256",
|
|
1242
|
+
name: "",
|
|
1243
|
+
type: "uint256",
|
|
1244
|
+
},
|
|
1245
|
+
],
|
|
1246
|
+
name: "totalSupplyHistory",
|
|
1247
|
+
outputs: [
|
|
1248
|
+
{
|
|
1249
|
+
internalType: "uint256",
|
|
1250
|
+
name: "",
|
|
1251
|
+
type: "uint256",
|
|
1252
|
+
},
|
|
1253
|
+
],
|
|
1254
|
+
stateMutability: "view",
|
|
1255
|
+
type: "function",
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
inputs: [],
|
|
1259
|
+
name: "totalSupplyLocal",
|
|
1260
|
+
outputs: [
|
|
1261
|
+
{
|
|
1262
|
+
internalType: "uint256",
|
|
1263
|
+
name: "",
|
|
1264
|
+
type: "uint256",
|
|
1265
|
+
},
|
|
1266
|
+
],
|
|
1267
|
+
stateMutability: "view",
|
|
1268
|
+
type: "function",
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
inputs: [
|
|
1272
|
+
{
|
|
1273
|
+
internalType: "uint256",
|
|
1274
|
+
name: "_blockNumber",
|
|
1275
|
+
type: "uint256",
|
|
1276
|
+
},
|
|
1277
|
+
],
|
|
1278
|
+
name: "totalSupplyLocal",
|
|
1279
|
+
outputs: [
|
|
1280
|
+
{
|
|
1281
|
+
internalType: "uint256",
|
|
1282
|
+
name: "",
|
|
1283
|
+
type: "uint256",
|
|
1284
|
+
},
|
|
1285
|
+
],
|
|
1286
|
+
stateMutability: "view",
|
|
1287
|
+
type: "function",
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
inputs: [
|
|
1291
|
+
{
|
|
1292
|
+
internalType: "uint256",
|
|
1293
|
+
name: "_blockNumber",
|
|
1294
|
+
type: "uint256",
|
|
1295
|
+
},
|
|
1296
|
+
],
|
|
1297
|
+
name: "totalSupplyLocalAt",
|
|
1298
|
+
outputs: [
|
|
1299
|
+
{
|
|
1300
|
+
internalType: "uint256",
|
|
1301
|
+
name: "",
|
|
1302
|
+
type: "uint256",
|
|
1303
|
+
},
|
|
1304
|
+
],
|
|
1305
|
+
stateMutability: "view",
|
|
1306
|
+
type: "function",
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
inputs: [],
|
|
1310
|
+
name: "undelegate",
|
|
1311
|
+
outputs: [],
|
|
1312
|
+
stateMutability: "nonpayable",
|
|
1313
|
+
type: "function",
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
inputs: [],
|
|
1317
|
+
name: "updateAvatar",
|
|
1318
|
+
outputs: [],
|
|
1319
|
+
stateMutability: "nonpayable",
|
|
1320
|
+
type: "function",
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
inputs: [
|
|
1324
|
+
{
|
|
1325
|
+
internalType: "contract INameService",
|
|
1326
|
+
name: "_ns",
|
|
1327
|
+
type: "address",
|
|
1328
|
+
},
|
|
1329
|
+
],
|
|
1330
|
+
name: "updateDAO",
|
|
1331
|
+
outputs: [],
|
|
1332
|
+
stateMutability: "nonpayable",
|
|
1333
|
+
type: "function",
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
inputs: [
|
|
1337
|
+
{
|
|
1338
|
+
internalType: "address",
|
|
1339
|
+
name: "newImplementation",
|
|
1340
|
+
type: "address",
|
|
1341
|
+
},
|
|
1342
|
+
],
|
|
1343
|
+
name: "upgradeTo",
|
|
1344
|
+
outputs: [],
|
|
1345
|
+
stateMutability: "nonpayable",
|
|
1346
|
+
type: "function",
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
inputs: [
|
|
1350
|
+
{
|
|
1351
|
+
internalType: "address",
|
|
1352
|
+
name: "newImplementation",
|
|
1353
|
+
type: "address",
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
internalType: "bytes",
|
|
1357
|
+
name: "data",
|
|
1358
|
+
type: "bytes",
|
|
1359
|
+
},
|
|
1360
|
+
],
|
|
1361
|
+
name: "upgradeToAndCall",
|
|
1362
|
+
outputs: [],
|
|
1363
|
+
stateMutability: "payable",
|
|
1364
|
+
type: "function",
|
|
1365
|
+
},
|
|
1366
|
+
];
|
|
1367
|
+
|
|
1368
|
+
const _bytecode =
|
|
1369
|
+
"0x60a06040523060601b60805234801561001757600080fd5b5060805160601c613cc861004b60003960008181611175015281816111b50152818161125c015261129c0152613cc86000f3fe6080604052600436106102915760003560e01c806301ffc9a71461029657806303b14b9e146102cb57806305bc9e84146102eb57806306fdde03146103195780630a1b50641461033b57806317aeda021461037f57806318160ddd146103a157806318a1851f146103b65780631b3c90a8146103d657806320606b70146103eb57806322ea1d801461040d5780632337f7b614610446578063248a9ca3146104665780632cff4382146104865780632f2ff15d1461049b578063313ce567146104bb57806336568abe146104e85780633659cfe6146105085780633e6326fc1461052857806340c10f19146105485780634162169f146105685780634518380d146105885780634ea953a4146105d35780634f1ef286146105f55780635534f3fa14610608578063587cde1e146106285780635aef7de61461065f5780636641d9a01461067f5780636c087d901461069f57806370a08231146106bf578063782d6fe1146106df578063798fc26b146106ff5780637ecebe001461071f5780638392edca1461074d5780638d22ea2a1461076d57806391d14854146107a757806392ab89bb146107c75780639324bffa146106df57806395d89b41146107dc578063981b24d0146107f15780639ab24eb0146108115780639dc29fac14610831578063a217fddf14610851578063a265ba4614610866578063ac637c7a14610886578063ae94c721146108a6578063b4b5ea5714610811578063bcb6c0b5146108c6578063c3cda520146108e6578063c4d66de814610906578063cbf1304d14610926578063ccb057d314610946578063d539139314610966578063d547741f14610988578063e1758bd8146109a8578063e7a324dc146109bd578063f0e18a43146109df578063f2a035e214610a1f575b600080fd5b3480156102a257600080fd5b506102b66102b1366004613134565b610a3f565b60405190151581526020015b60405180910390f35b3480156102d757600080fd5b506102b66102e63660046132af565b610a76565b3480156102f757600080fd5b5061030b610306366004613338565b610cc3565b6040519081526020016102c2565b34801561032557600080fd5b5061032e610d85565b6040516102c291906133b6565b34801561034757600080fd5b506103726103563660046133c9565b61013b602052600090815260409020546001600160a01b031681565b6040516102c291906133e6565b34801561038b57600080fd5b5061039f61039a3660046133fa565b610e14565b005b3480156103ad57600080fd5b5061030b610e2c565b3480156103c257600080fd5b5061030b6103d1366004613447565b610e3c565b3480156103e257600080fd5b5061039f610f38565b3480156103f757600080fd5b5061030b600080516020613b8c83398151915281565b34801561041957600080fd5b5061030b61042836600461347f565b61013760209081526000928352604080842090915290825290205481565b34801561045257600080fd5b5061030b6104613660046134af565b61107d565b34801561047257600080fd5b5061030b6104813660046134db565b6110af565b34801561049257600080fd5b5061030b6110c4565b3480156104a757600080fd5b5061039f6104b636600461347f565b6110cf565b3480156104c757600080fd5b50610132546104d69060ff1681565b60405160ff90911681526020016102c2565b3480156104f457600080fd5b5061039f61050336600461347f565b6110ec565b34801561051457600080fd5b5061039f6105233660046133c9565b61116a565b34801561053457600080fd5b50606754610372906001600160a01b031681565b34801561055457600080fd5b506102b66105633660046134af565b611233565b34801561057457600080fd5b50606554610372906001600160a01b031681565b34801561059457600080fd5b5061039f6105a33660046133c9565b33600090815261013b6020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b3480156105df57600080fd5b5061030b600080516020613c5383398151915281565b61039f6106033660046134f4565b611251565b34801561061457600080fd5b5061039f610623366004613557565b611307565b34801561063457600080fd5b506103726106433660046133c9565b610139602052600090815260409020546001600160a01b031681565b34801561066b57600080fd5b50606654610372906001600160a01b031681565b34801561068b57600080fd5b5061030b61069a3660046134db565b6113ca565b3480156106ab57600080fd5b5061030b6106ba3660046134db565b6113ec565b3480156106cb57600080fd5b5061030b6106da3660046133c9565b6113fd565b3480156106eb57600080fd5b5061030b6106fa3660046134af565b611405565b34801561070b57600080fd5b5061030b61071a3660046134af565b611413565b34801561072b57600080fd5b5061030b61073a3660046133c9565b6101356020526000908152604090205481565b34801561075957600080fd5b5061030b6107683660046134db565b6114ab565b34801561077957600080fd5b506103726107883660046133c9565b6001600160a01b03908116600090815261013960205260409020541690565b3480156107b357600080fd5b506102b66107c236600461347f565b6114fe565b3480156107d357600080fd5b5061039f611529565b3480156107e857600080fd5b5061032e611535565b3480156107fd57600080fd5b5061030b61080c3660046134db565b611543565b34801561081d57600080fd5b5061030b61082c3660046133c9565b6115ac565b34801561083d57600080fd5b506102b661084c3660046134af565b6115ba565b34801561085d57600080fd5b5061030b600081565b34801561087257600080fd5b5061030b6108813660046135ea565b6115de565b34801561089257600080fd5b5061039f6108a13660046133c9565b61166a565b3480156108b257600080fd5b5061030b6108c13660046133c9565b611674565b3480156108d257600080fd5b5061039f6108e13660046133c9565b611680565b3480156108f257600080fd5b5061039f61090136600461361f565b6116d6565b34801561091257600080fd5b5061039f6109213660046133c9565b61197a565b34801561093257600080fd5b5061030b6109413660046134af565b6119ef565b34801561095257600080fd5b506102b6610961366004613681565b611a0c565b34801561097257600080fd5b5061030b600080516020613c3383398151915281565b34801561099457600080fd5b5061039f6109a336600461347f565b611b4f565b3480156109b457600080fd5b50610372611b6c565b3480156109c957600080fd5b5061030b600080516020613c7383398151915281565b3480156109eb57600080fd5b506109ff6109fa366004613338565b611c03565b6040805194855260208501939093529183015260608201526080016102c2565b348015610a2b57600080fd5b5061030b610a3a3660046134db565b611c4a565b60006001600160e01b03198216637965db0b60e01b1480610a7057506301ffc9a760e01b6001600160e01b03198316145b92915050565b845160208087019190912060008181526101369092526040822054610ae15760405162461bcd60e51b815260206004820152601c60248201527b1b9bc81cdd185d1948199bdd5b9908199bdc8819da5d995b8817da5960221b60448201526064015b60405180910390fd5b6000818152610136602052604081208054610afe906001906136ea565b81548110610b0e57610b0e613701565b60009182526020808320600990920290910154808352610137825260408084206001600160a01b038c16855290925291205490915015610b8b5760405162461bcd60e51b81526020600482015260186024820152771cdd185d1952185cda08185b1c9958591e481c1c9bdd995960421b6044820152606401610ad8565b604080516001600160a01b03891660208201529081018790526000906060016040516020818303038152906040528051906020012090506000610bd087848489611a0c565b905080610c165760405162461bcd60e51b815260206004820152601460248201527334b73b30b634b21036b2b935b63290383937b7b360611b6044820152606401610ad8565b600080516020613c53833981519152841415610c52576000610c37436114ab565b9050610c438a8a611c55565b50610c5061013482611d0a565b505b6000838152610137602090815260408083206001600160a01b038d168085529252918290208a905590517f1c708de3afb744b96b84aa0fbf440e683fac3130cce82a8f01eb94b5e67610a090610cab908d908c90613717565b60405180910390a25060019998505050505050505050565b60008281526101366020526040812080548290610ce557600092505050610a70565b8154610cf3906001906136ea565b90505b60008112610d3f5783828281548110610d1157610d11613701565b90600052602060002090600902016003015411610d2d57610d3f565b80610d3781613739565b915050610cf6565b6000811215610d5357600092505050610a70565b6000828281548110610d6757610d67613701565b60009182526020909120600260099092020101549695505050505050565b6101308054610d9390613757565b80601f0160208091040260200160405190810160405280929190818152602001828054610dbf90613757565b8015610e0c5780601f10610de157610100808354040283529160200191610e0c565b820191906000526020600020905b815481529060010190602001808311610def57829003601f168201915b505050505081565b610e1c611e34565b610e27838383611f06565b505050565b6000610e3743611543565b905090565b600083815261013660205260408120805480610e5d57600092505050610f31565b600082610e6b600184613792565b81548110610e7b57610e7b613701565b90600052602060002090600902019050600182610e989190613792565b91505b60008212610ef25784816003015411610eb357610ef2565b82610ebf600184613792565b81548110610ecf57610ecf613701565b906000526020600020906009020190508180610eea90613739565b925050610e9b565b6000821215610f075760009350505050610f31565b546000908152610137602090815260408083206001600160a01b0389168452909152902054925050505b9392505050565b60675460405163bf40fac160e01b815260206004820152600a60248201526921a7a72a2927a62622a960b11b60448201526001600160a01b039091169063bf40fac19060640160206040518083038186803b158015610f9657600080fd5b505afa158015610faa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fce91906137d1565b606580546001600160a01b0319166001600160a01b0392909216918217905560408051632d77bef360e11b81529051635aef7de691600480820192602092909190829003018186803b15801561102357600080fd5b505afa158015611037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105b91906137d1565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b61013a602052816000526040600020818154811061109a57600080fd5b90600052602060002001600091509150505481565b600090815260fe602052604090206001015490565b6000610e37436114ab565b6110d8826110af565b6110e281336120e9565b610e27838361214d565b6001600160a01b038116331461115c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610ad8565b61116682826121d3565b5050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156111b35760405162461bcd60e51b8152600401610ad8906137ee565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166111e561223a565b6001600160a01b03161461120b5760405162461bcd60e51b8152600401610ad890613828565b61121481612256565b604080516000808252602082019092526112309183919061225e565b50565b600061123d6123a5565b6112478383611c55565b5060019392505050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561129a5760405162461bcd60e51b8152600401610ad8906137ee565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166112cc61223a565b6001600160a01b0316146112f25760405162461bcd60e51b8152600401610ad890613828565b6112fb82612256565b6111668282600161225e565b600054610100900460ff1680611320575060005460ff16155b61133c5760405162461bcd60e51b8152600401610ad890613862565b600054610100900460ff1615801561135e576000805461ffff19166101011790555b6113678661263c565b81156113b0576113b085858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250879250869150611f069050565b80156113c2576000805461ff00191690555b505050505050565b61013481815481106113db57600080fd5b600091825260209091200154905081565b61013881815481106113db57600080fd5b6000610a7082435b6000610f31836001846115de565b6001600160a01b03821660009081526101336020526040812054158061147457506001600160a01b038316600090815261013360205260408120805484929061145e5761145e613701565b90600052602060002001546001600160801b0316115b1561148157506000610a70565b6001600160a01b0383166000908152610133602052604090206114a490836126d7565b9050610a70565b6101345460009015806114e55750816101346000815481106114cf576114cf613701565b90600052602060002001546001600160801b0316115b156114f257506000919050565b610a70610134836126d7565b600091825260fe602090815260408084206001600160a01b0393909316845291905290205460ff1690565b611533333361281e565b565b6101318054610d9390613757565b60008061154f836114ab565b905060005b610138548110156115a557611587610138828154811061157657611576613701565b906000526020600020015485610cc3565b61159190836138b0565b91508061159d816138c8565b915050611554565b5092915050565b6000610a70826001436115de565b60006001600160a01b03831633146115d4576115d46123a5565b611247838361298d565b6001600160a01b038316600090815261013a60205260408120819061160390846126d7565b905083156116625760005b6101385481101561166057611642610138828154811061163057611630613701565b90600052602060002001548786610e3c565b61164c90836138b0565b915080611658816138c8565b91505061160e565b505b949350505050565b611230338261281e565b6000610a708243611413565b6067546001600160a01b03166112305761169981612a20565b6066546116b1906000906001600160a01b0316612a43565b60665461123090600080516020613c33833981519152906001600160a01b0316612a43565b6000600080516020613b8c8339815191526101306040516116f791906138e3565b60405180910390206117064690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a083018252805190840120600080516020613c7383398151915260c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015611820573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166118875760405162461bcd60e51b815260206004820152602d6024820152600080516020613bac83398151915260448201526c6c6964207369676e617475726560981b6064820152608401610ad8565b6001600160a01b0381166000908152610135602052604081208054916118ac836138c8565b9190505589146118fe5760405162461bcd60e51b81526020600482015260296024820152600080516020613bac8339815191526044820152686c6964206e6f6e636560b81b6064820152608401610ad8565b874211156119645760405162461bcd60e51b815260206004820152602d60248201527f4752657075746174696f6e3a3a64656c656761746542795369673a207369676e60448201526c185d1d5c9948195e1c1a5c9959609a1b6064820152608401610ad8565b61196e818b61281e565b50505050505050505050565b600054610100900460ff1680611993575060005460ff16155b6119af5760405162461bcd60e51b8152600401610ad890613862565b600054610100900460ff161580156119d1576000805461ffff19166101011790555b6119da8261263c565b8015611166576000805461ff00191690555050565b610133602052816000526040600020818154811061109a57600080fd5b6000808381805b8851811015611b4157888181518110611a2e57611a2e613701565b60200260200101519350808951611a4591906136ea565b91505b600082118015611a625750611a5e600287613995565b6001145b8015611a775750611a74826002613a8d565b86115b15611a9957611a87600287613a99565b611a929060016138b0565b9550611a48565b611aa4600287613995565b611ae8576040805160208101869052908101849052606001604051602081830303815290604052805190602001209250600286611ae19190613a99565b9550611b2f565b6040805160208101859052908101859052606001604051602081830303815290604052805190602001209250600286611b219190613a99565b611b2c9060016138b0565b95505b80611b39816138c8565b915050611a13565b505090941495945050505050565b611b58826110af565b611b6281336120e9565b610e2783836121d3565b60675460405163bf40fac160e01b815260206004820152600a60248201526923a7a7a22227a62620a960b11b60448201526000916001600160a01b03169063bf40fac19060640160206040518083038186803b158015611bcb57600080fd5b505afa158015611bdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3791906137d1565b6101366020528160005260406000208181548110611c2057600080fd5b60009182526020909120600990910201805460018201546002830154600390930154919450925084565b6000610a70826114ab565b6001600160a01b03808316600090815261013b602052604081205490911680611c7e5783611c80565b805b9050611c8c8184612a4d565b506001600160a01b03808216600090815261013960205260409020541680611cdb57506001600160a01b03811660008181526101396020526040902080546001600160a01b0319169091179055805b6000611ce9826000436115de565b9050611d00828483611cfb89826138b0565b612af1565b5092949350505050565b80816001600160801b031614611d585760405162461bcd60e51b815260206004820152601360248201527272657075746174696f6e206f766572666c6f7760681b6044820152606401610ad8565b81541580611d995750815443908390611d73906001906136ea565b81548110611d8357611d83613701565b90600052602060002001546001600160801b0316105b15611dc65781546001810183556000838152602090206001600160801b034316608084901b179101555050565b608081901b6001600160801b038360018580549050611de591906136ea565b81548110611df557611df5613701565b906000526020600020015416178260018480549050611e1491906136ea565b81548110611e2457611e24613701565b6000918252602090912001555050565b60655460408051632d77bef360e11b8152905133926001600160a01b031691635aef7de6916004808301926020929190829003018186803b158015611e7857600080fd5b505afa158015611e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb091906137d1565b6001600160a01b0316146115335760405162461bcd60e51b815260206004820181905260248201527f6f6e6c79206176617461722063616e2063616c6c2074686973206d6574686f646044820152606401610ad8565b82516020840120600080516020613c538339815191528114801580611f315750611f2f436114ab565b155b611f795760405162461bcd60e51b81526020600482015260196024820152781c9bdbdd14dd185d1948185b1c9958591e4818dc99585d1959603a1b6044820152606401610ad8565b8015611f8b57611f8b61013484611d0a565b60005b81158015611f9e57506101385481105b15611fe057826101388281548110611fb857611fb8613701565b90600052602060002001541415611fce57611fe0565b80611fd8816138c8565b915050611f8e565b81158015611ff057506101385481145b1561202c5761013880546001810182556000919091527ff79a63dcec80ed75c82f36161f17b9c2f407860160383a7be0a0ee7962c527ae018390555b612034613019565b858152604080820186815243606084019081526000878152610136602090815293812080546001818101835591835291859020865160099093020191825593850151938101939093559051600283015551600382015560808201518291906120a29060048301906005613050565b5050507f5298f094d368dc1c18dca22952c4ea2cb8b115d7c70a18269735b0f4ed0f49138787876040516120d893929190613aad565b60405180910390a150505050505050565b6120f382826114fe565b6111665761210b816001600160a01b03166014612b70565b612116836020612b70565b604051602001612127929190613ad2565b60408051601f198184030181529082905262461bcd60e51b8252610ad8916004016133b6565b61215782826114fe565b61116657600082815260fe602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561218f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6121dd82826114fe565b1561116657600082815260fe602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600080516020613bec833981519152546001600160a01b031690565b611230611e34565b600061226861223a565b905061227384612d0b565b6000835111806122805750815b156122915761228f8484612d9e565b505b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143805460ff1661239e57805460ff1916600117815560405161230c9086906122dd9085906024016133e6565b60408051601f198184030181529190526020810180516001600160e01b0316631b2ce7f360e11b179052612d9e565b50805460ff1916815561231d61223a565b6001600160a01b0316826001600160a01b0316146123955760405162461bcd60e51b815260206004820152602f60248201527f45524331393637557067726164653a207570677261646520627265616b73206660448201526e75727468657220757067726164657360881b6064820152608401610ad8565b61239e85612e89565b5050505050565b60675460405163bf40fac160e01b815260206004820152600d60248201526c4744414f5f434c41494d45525360981b60448201526001600160a01b039091169063bf40fac19060640160206040518083038186803b15801561240657600080fd5b505afa15801561241a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061243e91906137d1565b6001600160a01b0316336001600160a01b03161480612505575060675460405163bf40fac160e01b815260206004820152600c60248201526b4744414f5f5354414b494e4760a01b60448201526001600160a01b039091169063bf40fac19060640160206040518083038186803b1580156124b857600080fd5b505afa1580156124cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124f091906137d1565b6001600160a01b0316336001600160a01b0316145b806125b8575060675460405163bf40fac160e01b815260206004820152600c60248201526b4744414f5f5354414b45525360a01b60448201526001600160a01b039091169063bf40fac19060640160206040518083038186803b15801561256b57600080fd5b505afa15801561257f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125a391906137d1565b6001600160a01b0316336001600160a01b0316145b806125d657506125d6600080516020613c33833981519152336114fe565b6115335760405162461bcd60e51b815260206004820152603160248201527f4752657075746174696f6e3a206e656564206d696e74657220726f6c65206f726044820152700818994811d11053c818dbdb9d1c9858dd607a1b6064820152608401610ad8565b610132805460ff1916601217905560408051808201909152600780825266476f6f6444414f60c81b6020909201918252612679916101309161308e565b506040805180820190915260048082526311d3d3d160e21b60209092019182526126a6916101319161308e565b506126af612ec9565b6126b7612ec9565b6126bf612ec9565b6001600160a01b038116156112305761169981612a20565b8154600090806126eb576000915050610a70565b6000846126f96001846136ea565b8154811061270957612709613701565b90600052602060002001549050806001600160801b031684106127325760801c9150610a709050565b8460008154811061274557612745613701565b90600052602060002001546001600160801b031684101561276b57600092505050610a70565b6000806127796001856136ea565b90505b818111156127f1576000600261279284846138b0565b61279d9060016138b0565b6127a79190613a99565b9050868882815481106127bc576127bc613701565b90600052602060002001546001600160801b0316116127dd578092506127eb565b6127e86001826136ea565b91505b5061277c565b608087838154811061280557612805613701565b9060005260206000200154901c94505050505092915050565b6001600160a01b0381166128915760405162461bcd60e51b815260206004820152603460248201527f4752657075746174696f6e3a3a64656c65676174652063616e27742064656c656044820152736761746520746f206e756c6c206164647265737360601b6064820152608401610ad8565b6001600160a01b038083166000908152610139602052604090205481169082168114156129005760405162461bcd60e51b815260206004820152601f60248201527f616c72656164792064656c65676174696e6720746f2064656c656761746f72006044820152606401610ad8565b6001600160a01b0383811660009081526101396020526040812080546001600160a01b0319169285169290921790915561293a8443611413565b90506001600160a01b0382161561296d576000612959836000436115de565b905061296b838683611cfb86826136ea565b505b600061297b846000436115de565b905061239e848683611cfb86826138b0565b60008061299a8484612f34565b6001600160a01b038086166000908152610139602052604090205491925016806129c457846129c6565b805b6001600160a01b0386811660009081526101396020526040812080546001600160a01b03191692841692909217909155909150612a048282436115de565b9050612a16828783611cfb87826136ea565b5090949350505050565b606780546001600160a01b0319166001600160a01b038316179055611230610f38565b611166828261214d565b600080612a59436114ab565b90506000612a678543611413565b9050612a7e610134612a7986856138b0565b611d0a565b6001600160a01b038516600090815261013360205260409020612aa590612a7986846138b0565b846001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688585604051612ae091815260200190565b60405180910390a250919392505050565b6001600160a01b038416600090815261013a60205260409020612b149082611d0a565b826001600160a01b0316846001600160a01b03167f8553411b8bbb348336351063649aa1f4fa74c4935f5c4386469a017df33a1f668484604051612b62929190918252602082015260400190565b60405180910390a350505050565b60606000612b7f836002613b41565b612b8a9060026138b0565b6001600160401b03811115612ba157612ba161315e565b6040519080825280601f01601f191660200182016040528015612bcb576020820181803683370190505b509050600360fc1b81600081518110612be657612be6613701565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612c1557612c15613701565b60200101906001600160f81b031916908160001a9053506000612c39846002613b41565b612c449060016138b0565b90505b6001811115612cbc576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612c7857612c78613701565b1a60f81b828281518110612c8e57612c8e613701565b60200101906001600160f81b031916908160001a90535060049490941c93612cb581613b60565b9050612c47565b508315610f315760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610ad8565b803b612d6f5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610ad8565b600080516020613bec83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060823b612dfd5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610ad8565b600080846001600160a01b031684604051612e189190613b6f565b600060405180830381855af49150503d8060008114612e53576040519150601f19603f3d011682016040523d82523d6000602084013e612e58565b606091505b5091509150612e808282604051806060016040528060278152602001613c0c60279139612fe0565b95945050505050565b612e9281612d0b565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b600054610100900460ff1680612ee2575060005460ff16155b612efe5760405162461bcd60e51b8152600401610ad890613862565b600054610100900460ff16158015612f20576000805461ffff19166101011790555b8015611230576000805461ff001916905550565b600080612f40436114ab565b9050826000612f4f8643611413565b905081811015612f5d578091505b612f6d610134612a7984866136ea565b6001600160a01b038616600090815261013360205260409020612f9490612a7984846136ea565b856001600160a01b03167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca583604051612fcf91815260200190565b60405180910390a250949350505050565b60608315612fef575081610f31565b825115612fff5782518084602001fd5b8160405162461bcd60e51b8152600401610ad891906133b6565b6040518060a001604052806000801916815260200160008152602001600081526020016000815260200161304b613101565b905290565b826005810192821561307e579160200282015b8281111561307e578251825591602001919060010190613063565b5061308a92915061311f565b5090565b82805461309a90613757565b90600052602060002090601f0160209004810192826130bc576000855561307e565b82601f106130d557805160ff191683800117855561307e565b8280016001018555821561307e579182018281111561307e578251825591602001919060010190613063565b6040518060a001604052806005906020820280368337509192915050565b5b8082111561308a5760008155600101613120565b60006020828403121561314657600080fd5b81356001600160e01b031981168114610f3157600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561319c5761319c61315e565b604052919050565b60006001600160401b038311156131bd576131bd61315e565b6131d0601f8401601f1916602001613174565b90508281528383830111156131e457600080fd5b828260208301376000602084830101529392505050565b600082601f83011261320c57600080fd5b610f31838335602085016131a4565b6001600160a01b038116811461123057600080fd5b600082601f83011261324157600080fd5b813560206001600160401b0382111561325c5761325c61315e565b8160051b61326b828201613174565b928352848101820192828101908785111561328557600080fd5b83870192505b848310156132a45782358252918301919083019061328b565b979650505050505050565b600080600080600060a086880312156132c757600080fd5b85356001600160401b03808211156132de57600080fd5b6132ea89838a016131fb565b9650602088013591506132fc8261321b565b909450604087013593506060870135908082111561331957600080fd5b5061332688828901613230565b95989497509295608001359392505050565b6000806040838503121561334b57600080fd5b50508035926020909101359150565b60005b8381101561337557818101518382015260200161335d565b83811115613384576000848401525b50505050565b600081518084526133a281602086016020860161335a565b601f01601f19169290920160200192915050565b602081526000610f31602083018461338a565b6000602082840312156133db57600080fd5b8135610f318161321b565b6001600160a01b0391909116815260200190565b60008060006060848603121561340f57600080fd5b83356001600160401b0381111561342557600080fd5b613431868287016131fb565b9660208601359650604090950135949350505050565b60008060006060848603121561345c57600080fd5b83359250602084013561346e8161321b565b929592945050506040919091013590565b6000806040838503121561349257600080fd5b8235915060208301356134a48161321b565b809150509250929050565b600080604083850312156134c257600080fd5b82356134cd8161321b565b946020939093013593505050565b6000602082840312156134ed57600080fd5b5035919050565b6000806040838503121561350757600080fd5b82356135128161321b565b915060208301356001600160401b0381111561352d57600080fd5b8301601f8101851361353e57600080fd5b61354d858235602084016131a4565b9150509250929050565b60008060008060006080868803121561356f57600080fd5b853561357a8161321b565b945060208601356001600160401b038082111561359657600080fd5b818801915088601f8301126135aa57600080fd5b8135818111156135b957600080fd5b8960208285010111156135cb57600080fd5b9699602092909201985095966040810135965060600135945092505050565b6000806000606084860312156135ff57600080fd5b833561360a8161321b565b92506020840135801515811461346e57600080fd5b60008060008060008060c0878903121561363857600080fd5b86356136438161321b565b95506020870135945060408701359350606087013560ff8116811461366757600080fd5b9598949750929560808101359460a0909101359350915050565b6000806000806080858703121561369757600080fd5b84356001600160401b038111156136ad57600080fd5b6136b987828801613230565b97602087013597506040870135966060013595509350505050565b634e487b7160e01b600052601160045260246000fd5b6000828210156136fc576136fc6136d4565b500390565b634e487b7160e01b600052603260045260246000fd5b60408152600061372a604083018561338a565b90508260208301529392505050565b6000600160ff1b82141561374f5761374f6136d4565b506000190190565b600181811c9082168061376b57607f821691505b6020821081141561378c57634e487b7160e01b600052602260045260246000fd5b50919050565b60008083128015600160ff1b8501841216156137b0576137b06136d4565b6001600160ff1b03840183138116156137cb576137cb6136d4565b50500390565b6000602082840312156137e357600080fd5b8151610f318161321b565b6020808252602c90820152600080516020613bcc83398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c90820152600080516020613bcc83398151915260408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b600082198211156138c3576138c36136d4565b500190565b60006000198214156138dc576138dc6136d4565b5060010190565b600080835481600182811c9150808316806138ff57607f831692505b602080841082141561391f57634e487b7160e01b86526022600452602486fd5b818015613933576001811461394457613971565b60ff19861689528489019650613971565b60008a81526020902060005b868110156139695781548b820152908501908301613950565b505084890196505b509498975050505050505050565b634e487b7160e01b600052601260045260246000fd5b6000826139a4576139a461397f565b500690565b600181815b808511156139e45781600019048211156139ca576139ca6136d4565b808516156139d757918102915b93841c93908002906139ae565b509250929050565b6000826139fb57506001610a70565b81613a0857506000610a70565b8160018114613a1e5760028114613a2857613a44565b6001915050610a70565b60ff841115613a3957613a396136d4565b50506001821b610a70565b5060208310610133831016604e8410600b8410161715613a67575081810a610a70565b613a7183836139a9565b8060001904821115613a8557613a856136d4565b029392505050565b6000610f3183836139ec565b600082613aa857613aa861397f565b500490565b606081526000613ac0606083018661338a565b60208301949094525060400152919050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351613b0481601785016020880161335a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613b3581602884016020880161335a565b01602801949350505050565b6000816000190483118215151615613b5b57613b5b6136d4565b500290565b60008161374f5761374f6136d4565b60008251613b8181846020870161335a565b919091019291505056fe8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8664752657075746174696f6e3a3a64656c656761746542795369673a20696e766146756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65649f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a60df2f1ec68f7ac2e4205051c96e8cfd7b54c89c139839c13d3d59548ae1488a1ff41620983935eb4d4a3c7384a066ca8c1d10cef9a5eca9eb97ca735cd14a755a2646970667358221220d89858736a77f388ee67e4f5200af3d9ad66ef106038344801939a1152d2e07d64736f6c63430008080033";
|
|
1370
|
+
|
|
1371
|
+
type GReputationConstructorParams =
|
|
1372
|
+
| [signer?: Signer]
|
|
1373
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1374
|
+
|
|
1375
|
+
const isSuperArgs = (
|
|
1376
|
+
xs: GReputationConstructorParams
|
|
1377
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1378
|
+
|
|
1379
|
+
export class GReputation__factory extends ContractFactory {
|
|
1380
|
+
constructor(...args: GReputationConstructorParams) {
|
|
1381
|
+
if (isSuperArgs(args)) {
|
|
1382
|
+
super(...args);
|
|
1383
|
+
} else {
|
|
1384
|
+
super(_abi, _bytecode, args[0]);
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
deploy(
|
|
1389
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1390
|
+
): Promise<GReputation> {
|
|
1391
|
+
return super.deploy(overrides || {}) as Promise<GReputation>;
|
|
1392
|
+
}
|
|
1393
|
+
getDeployTransaction(
|
|
1394
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1395
|
+
): TransactionRequest {
|
|
1396
|
+
return super.getDeployTransaction(overrides || {});
|
|
1397
|
+
}
|
|
1398
|
+
attach(address: string): GReputation {
|
|
1399
|
+
return super.attach(address) as GReputation;
|
|
1400
|
+
}
|
|
1401
|
+
connect(signer: Signer): GReputation__factory {
|
|
1402
|
+
return super.connect(signer) as GReputation__factory;
|
|
1403
|
+
}
|
|
1404
|
+
static readonly bytecode = _bytecode;
|
|
1405
|
+
static readonly abi = _abi;
|
|
1406
|
+
static createInterface(): GReputationInterface {
|
|
1407
|
+
return new utils.Interface(_abi) as GReputationInterface;
|
|
1408
|
+
}
|
|
1409
|
+
static connect(
|
|
1410
|
+
address: string,
|
|
1411
|
+
signerOrProvider: Signer | Provider
|
|
1412
|
+
): GReputation {
|
|
1413
|
+
return new Contract(address, _abi, signerOrProvider) as GReputation;
|
|
1414
|
+
}
|
|
1415
|
+
}
|