@gooddollar/goodprotocol 2.0.32 → 2.0.34-beta.0
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/BuyFromReserveHelper.min.json +1 -0
- package/artifacts/abis/Faucet.min.json +1 -1
- package/artifacts/abis/GoodDollar2.min.json +1 -0
- package/artifacts/abis/ISuperToken.min.json +1 -1
- package/artifacts/abis/IdentityV3.min.json +1 -0
- package/artifacts/abis/SuperGoodDollar.min.json +1 -1
- package/artifacts/abis/SuperToken.min.json +1 -1
- package/artifacts/abis/SuperfluidFaucet.min.json +1 -1
- package/artifacts/abis/UBISchemeV2.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/IQuoter.sol/IQuoterV2.dbg.json +4 -0
- package/artifacts/contracts/IQuoter.sol/IQuoterV2.json +211 -0
- 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/IIdentityV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IMultichainRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IQuoterV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ISwapRouter.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/MentoInterfaces.sol/IBancorExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBroker.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExpansionController.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IMentoReserve.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/ITradingLimits.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.json +57 -2
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.json +2 -2
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.json +2 -2
- package/artifacts/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.json +46 -28
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.json +2 -2
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.json +2 -2
- package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
- package/artifacts/contracts/governance/GReputation.sol/GReputation.json +2 -2
- package/artifacts/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking.json +2 -2
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IGovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IStakingUpgrade.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/RewardsMinter.dbg.json +1 -1
- package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.json +2 -2
- 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/Reputation.sol/Reputation.json +2 -2
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.json +2 -2
- package/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.json +2 -2
- package/artifacts/contracts/identity/IdentityV3.sol/IdentityV3.dbg.json +4 -0
- package/artifacts/contracts/identity/IdentityV3.sol/IdentityV3.json +1089 -0
- package/artifacts/contracts/invite/InvitesFuseV2.sol/InvitesFuseV2.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesFuseV2.sol/InvitesFuseV2.json +2 -2
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.json +2 -2
- package/artifacts/contracts/invite/InvitesV2.sol/InvitesV2.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV2.sol/InvitesV2.json +2 -2
- package/artifacts/contracts/invite/OneTimeReward.sol/OneTimeReward.dbg.json +1 -1
- package/artifacts/contracts/invite/OneTimeReward.sol/OneTimeReward.json +2 -2
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.json +2 -2
- package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.json +2 -2
- package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.json +2 -2
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest.json +2 -2
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper.json +2 -2
- package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.json +2 -2
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.json +2 -2
- package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.json +2 -2
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.json +2 -2
- package/artifacts/contracts/mocks/DistributionBridgeMock.sol/DistributionBridgeMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionBridgeMock.sol/DistributionBridgeMock.json +2 -2
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.json +2 -2
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.json +2 -2
- package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.json +2 -2
- package/artifacts/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.json +2 -2
- package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.json +2 -2
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.json +2 -2
- package/artifacts/contracts/mocks/GoodDollarStakingMock.sol/GoodDollarStakingMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodDollarStakingMock.sol/GoodDollarStakingMock.json +2 -2
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.json +2 -2
- package/artifacts/contracts/mocks/IdentityMock.sol/IdentityMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/IdentityMock.sol/IdentityMock.json +2 -2
- package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.json +2 -2
- package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.json +2 -2
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/IWrapper.dbg.json +1 -1
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/MultichainRouterMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/MultichainRouterMock.json +2 -2
- package/artifacts/contracts/mocks/OverMintTester.sol/IGoodDollarStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/OverMintTester.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/OverMintTester.json +2 -2
- package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.json +2 -2
- package/artifacts/contracts/mocks/PayableMock.sol/PayableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/PayableMock.sol/PayableMock.json +2 -2
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.json +2 -2
- package/artifacts/contracts/mocks/StakingMockFixedAPY.sol/StakingMockFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/mocks/StakingMockFixedAPY.sol/StakingMockFixedAPY.json +2 -2
- package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.json +2 -2
- package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.json +2 -2
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.json +2 -2
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.json +2 -2
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.json +2 -2
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.json +2 -2
- package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.json +2 -2
- package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.json +2 -2
- package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.json +2 -2
- package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.json +2 -2
- package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.json +2 -2
- package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.json +2 -2
- package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.json +2 -2
- package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.json +2 -2
- package/artifacts/contracts/reserve/CeloDistributionHelper.sol/CeloDistributionHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/CeloDistributionHelper.sol/CeloDistributionHelper.json +2 -2
- package/artifacts/contracts/reserve/DistributionHelper.sol/DistributionHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/DistributionHelper.sol/DistributionHelper.json +2 -2
- package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.json +2 -2
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.json +2 -2
- 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/reserve/GoodReserveCDai.sol/GoodReserveCDai.json +2 -2
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.json +2 -2
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.json +2 -2
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.json +2 -2
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.json +2 -2
- package/artifacts/contracts/staking/FuseStakingV3.sol/IConsensus.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/PegSwap.dbg.json +1 -1
- package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.dbg.json +1 -1
- package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.json +2 -2
- 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/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.json +2 -2
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.json +2 -2
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.json +2 -2
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.json +2 -2
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.json +2 -2
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.json +2 -2
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.json +2 -2
- package/artifacts/contracts/staking/utils/Math64X64.sol/Math64x64.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/Math64X64.sol/Math64x64.json +2 -2
- package/artifacts/contracts/staking/utils/StakingRewardsFixedAPY.sol/StakingRewardsFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/token/ERC20PresetMinterPauserUpgradeable.sol/ERC20PresetMinterPauserUpgradeable.dbg.json +1 -1
- package/artifacts/contracts/token/ERC20PresetMinterPauserUpgradeable.sol/ERC20PresetMinterPauserUpgradeable.json +2 -2
- package/artifacts/contracts/token/ERC677.sol/ERC677.dbg.json +1 -1
- package/artifacts/contracts/token/ERC677.sol/ERC677Receiver.dbg.json +1 -1
- package/artifacts/contracts/token/GoodDollar.sol/GoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/GoodDollar.sol/GoodDollar.json +2 -2
- package/artifacts/contracts/token/GoodDollar2.sol/GoodDollar2.dbg.json +4 -0
- package/artifacts/contracts/token/GoodDollar2.sol/GoodDollar2.json +1206 -0
- package/artifacts/contracts/token/IFeesFormula.sol/IFeesFormula.dbg.json +1 -1
- package/artifacts/contracts/token/MultichainFeeFormula.sol/MultichainFeeFormula.dbg.json +1 -1
- package/artifacts/contracts/token/MultichainFeeFormula.sol/MultichainFeeFormula.json +2 -2
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/SelfApprove.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperToken.sol/ISuperToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperToken.sol/ISuperToken.json +0 -52
- package/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.json +2 -74
- package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.json +2 -54
- package/artifacts/contracts/token/superfluid/SuperfluidToken.sol/SuperfluidToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxiable.sol/UUPSProxiable.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/Proxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.json +2 -2
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSUtils.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSUtils.json +2 -2
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.json +2 -2
- package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.json +2 -7
- package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.dbg.json +1 -1
- package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.json +2 -2
- package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.json +2 -2
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.json +2 -2
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.json +2 -2
- package/artifacts/contracts/utils/BulkWhitelist.sol/BulkWhitelist.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkWhitelist.sol/BulkWhitelist.json +2 -2
- package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.json +2 -2
- package/artifacts/contracts/utils/BuyFromReserveHelper.sol/BuyFromReserveHelper.dbg.json +4 -0
- package/artifacts/contracts/utils/BuyFromReserveHelper.sol/BuyFromReserveHelper.json +476 -0
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDClone.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDClone.json +2 -2
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory.json +2 -2
- package/artifacts/contracts/utils/BuyGDClone.sol/DonateGDClone.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/DonateGDClone.json +2 -2
- package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOContract.sol/DAOContract.json +2 -2
- package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.json +2 -2
- package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
- package/artifacts/contracts/utils/DSMath.sol/DSMath.json +2 -2
- package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
- package/artifacts/contracts/utils/DataTypes.sol/DataTypes.json +2 -2
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/EternalStorage.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/EternalStorage.json +2 -2
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/FuseOldBridgeKill.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/FuseOldBridgeKill.json +2 -2
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/IUpgradeabilityOwnerStorage.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Initializable.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Initializable.json +2 -2
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Ownable.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Ownable.json +2 -2
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Upgradeable.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Upgradeable.json +2 -2
- package/artifacts/contracts/utils/GDFaucet.sol/GDFaucet.dbg.json +1 -1
- package/artifacts/contracts/utils/GDFaucet.sol/GDFaucet.json +2 -2
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.json +2 -2
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/IRouter.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/PausableControl.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/TokenOperation.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/TokenOperation.json +2 -2
- package/artifacts/contracts/utils/IdentityFix.sol/IdentityFix.dbg.json +1 -1
- package/artifacts/contracts/utils/IdentityFix.sol/IdentityFix.json +2 -2
- package/artifacts/contracts/utils/LastauthReduction.sol/LastauthReduction.dbg.json +1 -1
- package/artifacts/contracts/utils/LastauthReduction.sol/LastauthReduction.json +2 -2
- package/artifacts/contracts/utils/MultiCall.sol/Multicall.dbg.json +1 -1
- package/artifacts/contracts/utils/MultiCall.sol/Multicall.json +2 -2
- package/artifacts/contracts/utils/MultichainBridgeHelper.sol/MultichainBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/MultichainBridgeHelper.sol/MultichainBridgeHelper.json +2 -2
- package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
- package/artifacts/contracts/utils/NameService.sol/NameService.json +2 -2
- package/artifacts/contracts/utils/OneTimePayments.sol/OneTimePayments.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePayments.sol/OneTimePayments.json +2 -2
- package/artifacts/contracts/utils/OneTimePaymentsV2.sol/OneTimePaymentsV2.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePaymentsV2.sol/OneTimePaymentsV2.json +2 -2
- package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/MentoExchange.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.json +2 -2
- 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/ProtocolUpgrade.sol/ProtocolUpgrade.json +2 -2
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.json +2 -2
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.json +2 -2
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.json +2 -2
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.json +2 -2
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.json +2 -2
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.json +2 -2
- package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.dbg.json +1 -1
- package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.json +2 -2
- package/contracts/IQuoter.sol +108 -0
- package/contracts/fuseFaucet/Faucet.sol +49 -37
- package/contracts/fuseFaucet/SuperfluidFacuet.sol +29 -8
- package/contracts/identity/IdentityV3.sol +534 -0
- package/contracts/token/ERC20PresetMinterPauserUpgradeable.sol +8 -9
- package/contracts/token/GoodDollar.sol +1 -1
- package/contracts/token/GoodDollar2.sol +13 -0
- package/contracts/token/superfluid/ISuperToken.sol +0 -19
- package/contracts/token/superfluid/SuperGoodDollar.sol +2 -21
- package/contracts/token/superfluid/SuperToken.sol +2 -2
- package/contracts/token/superfluid/SuperfluidToken.sol +66 -67
- package/contracts/ubi/UBISchemeV2.sol +12 -18
- package/contracts/utils/BuyFromReserveHelper.sol +129 -0
- package/dist/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.json +2 -2
- package/dist/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.json +177 -256
- package/dist/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.json +2 -2
- package/dist/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.json +2 -2
- package/dist/test-sdk/deploySuperGoodDollar.d.ts +1 -1
- package/dist/test-sdk/deploySuperGoodDollar.js +4 -8
- package/dist/test-sdk/index.js +1 -5
- package/hardhat.config.ts +37 -30
- package/package.json +3 -2
- package/releases/deploy-settings.json +5 -1
- package/releases/deployment.json +27 -1
- package/releases/olddao.json +1 -1
- package/scripts/analytics/activeGDStakers.ts +188 -0
- package/scripts/fv.ts +19 -1
- package/scripts/multichain-deploy/0_proxyFactory-deploy.ts +28 -5
- package/scripts/multichain-deploy/1_basicdao-deploy.ts +111 -73
- package/scripts/multichain-deploy/2_helpers-deploy.ts +13 -8
- package/scripts/multichain-deploy/4_ubi-deploy.ts +17 -19
- package/scripts/multichain-deploy/5_gov-deploy.ts +58 -26
- package/scripts/multichain-deploy/flattened/Avatar.sol +913 -0
- package/scripts/multichain-deploy/flattened/Controller.sol +1891 -0
- package/scripts/multichain-deploy/flattened/FeeFormula.sol +1290 -0
- package/scripts/multichain-deploy/fulldeploy.sh +17 -17
- package/scripts/multichain-deploy/helpers.ts +203 -70
- package/scripts/multichain-deploy/verify.ts +41 -0
- package/test/governance/ClaimersDistribution.test.ts +1 -1
- package/test/helpers.ts +59 -46
- package/test/identity/IdentityV2.test.ts +4 -1
- package/test/identity/IdentityV3.test.ts +449 -0
- package/test/invite/InvitesV2.test.ts +1 -1
- package/test/token/GoodDollar.test.ts +1 -1
- package/test/token/SuperGoodDollar.nohost.test.ts +383 -0
- package/test/token/SuperGoodDollar.test.ts +2 -10
- package/test/ubi/UBIScheme.e2e.test.ts +5 -5
- package/test/ubi/UBISchemeCycle.test.ts +69 -22
- package/test/ubi/UBISchemeV2.test.ts +636 -0
- package/test/utils/AdminWallet.test.ts +1 -1
- package/test/utils/ProxyFactory.test.ts +4 -1
- package/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +108 -0
- package/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +1 -0
- package/types/contracts/IQuoter.sol/IQuoterV2.ts +297 -0
- package/types/contracts/IQuoter.sol/index.ts +4 -0
- package/types/contracts/Interfaces.sol/AToken.ts +81 -0
- package/types/contracts/Interfaces.sol/IAaveIncentivesControllerV3.ts +156 -0
- package/types/contracts/Interfaces.sol/ILendingPoolV3.ts +254 -0
- package/types/contracts/fuseFaucet/Faucet.ts +109 -11
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor.ts +648 -0
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable.ts +843 -0
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +4 -0
- package/types/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.ts +79 -41
- package/types/contracts/identity/IdentityV3.ts +1899 -0
- package/types/contracts/identity/index.ts +1 -0
- package/types/contracts/index.ts +2 -0
- package/types/contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper.ts +1252 -0
- package/types/contracts/reserve/GoodReserveADai.ts +2212 -0
- package/types/contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2.ts +1808 -0
- package/types/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +4 -0
- package/types/contracts/token/GoodDollar18.ts +1871 -0
- package/types/contracts/token/GoodDollar2.ts +1871 -0
- package/types/contracts/token/index.ts +1 -0
- package/types/contracts/token/superfluid/ISuperToken.ts +0 -84
- package/types/contracts/token/superfluid/SuperGoodDollar.ts +12 -126
- package/types/contracts/token/superfluid/SuperToken.ts +0 -84
- package/types/contracts/ubi/UBISchemeV2.ts +3 -14
- package/types/contracts/utils/BuyFromReserveHelper.ts +699 -0
- package/types/contracts/utils/BuyGDClone.sol/IQuoterV2.ts +184 -0
- package/types/contracts/utils/BuyGDClone.sol/ISwapRouter.ts +306 -0
- package/types/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677.ts +108 -0
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange.ts +81 -0
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.ts +161 -0
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +5 -0
- package/types/contracts/utils/ReserveRestore.sol/MentoExchange.ts +81 -0
- package/types/contracts/utils/ReserveRestore.sol/ReserveRestore.ts +112 -0
- package/types/contracts/utils/ReserveRestore.sol/index.ts +5 -0
- package/types/contracts/utils/index.ts +1 -0
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +146 -0
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +1 -0
- package/types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.ts +1 -1
- package/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable__factory.ts +1 -1
- package/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/presets/ERC20PresetMinterPauserUpgradeable__factory.ts +1 -1
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/libs/EventsEmitter__factory.ts +1 -1
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/superfluid/ConstantInflowNFT__factory.ts +1 -1
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/superfluid/ConstantOutflowNFT__factory.ts +1 -1
- package/types/factories/contracts/IQuoter.sol/IQuoterV2__factory.ts +226 -0
- package/types/factories/contracts/IQuoter.sol/index.ts +4 -0
- package/types/factories/contracts/Interfaces.sol/AToken__factory.ts +36 -0
- package/types/factories/contracts/Interfaces.sol/IAaveIncentivesControllerV3__factory.ts +88 -0
- package/types/factories/contracts/Interfaces.sol/ILendingPoolV3__factory.ts +186 -0
- package/types/factories/contracts/fuseFaucet/Faucet__factory.ts +56 -1
- package/types/factories/contracts/fuseFaucet/FuseFaucetV2__factory.ts +1 -1
- package/types/factories/contracts/fuseFaucet/FuseFaucet__factory.ts +1 -1
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable__factory.ts +572 -0
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor__factory.ts +482 -0
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +4 -0
- package/types/factories/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet__factory.ts +45 -27
- package/types/factories/contracts/governance/ClaimersDistribution__factory.ts +1 -1
- package/types/factories/contracts/governance/CompoundVotingMachine__factory.ts +1 -1
- package/types/factories/contracts/governance/GReputation__factory.ts +1 -1
- package/types/factories/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking__factory.ts +1 -1
- package/types/factories/contracts/governance/GovernanceStaking__factory.ts +1 -1
- package/types/factories/contracts/governance/Reputation__factory.ts +1 -1
- package/types/factories/contracts/governance/StakersDistribution__factory.ts +1 -1
- package/types/factories/contracts/identity/IdentityV2__factory.ts +1 -1
- package/types/factories/contracts/identity/IdentityV3__factory.ts +1140 -0
- package/types/factories/contracts/identity/index.ts +1 -0
- package/types/factories/contracts/index.ts +1 -0
- package/types/factories/contracts/invite/InvitesFuseV2__factory.ts +1 -1
- package/types/factories/contracts/invite/InvitesV1__factory.ts +1 -1
- package/types/factories/contracts/invite/InvitesV2__factory.ts +1 -1
- package/types/factories/contracts/invite/OneTimeReward__factory.ts +1 -1
- package/types/factories/contracts/mocks/AaveMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/AaveUSDMockOracle__factory.ts +1 -1
- package/types/factories/contracts/mocks/BatUSDMockOracle__factory.ts +1 -1
- package/types/factories/contracts/mocks/CBATMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/CDAILowWorthMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/CDAIMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/CDAINonMintableMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/CDecimalsMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/CSDTMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/CUSDCMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper__factory.ts +1 -1
- package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest__factory.ts +1 -1
- package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper__factory.ts +929 -0
- package/types/factories/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle__factory.ts +1 -1
- package/types/factories/contracts/mocks/DAIMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/DaiEthPriceMockOracle__factory.ts +1 -1
- package/types/factories/contracts/mocks/DecimalsMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/DistributionBridgeMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper__factory.ts +1 -1
- package/types/factories/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest__factory.ts +1 -1
- package/types/factories/contracts/mocks/EthUSDMockOracle__factory.ts +1 -1
- package/types/factories/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/GasPriceMockOracle__factory.ts +1 -1
- package/types/factories/contracts/mocks/GoodCompoundStakingTest__factory.ts +1 -1
- package/types/factories/contracts/mocks/GoodDollarStakingMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/GoodFundManagerTest__factory.ts +1 -1
- package/types/factories/contracts/mocks/IdentityMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/IncentiveControllerMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/LendingPoolMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/MultichainRouterMock.sol/MultichainRouterMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/OverMintTester.sol/OverMintTester__factory.ts +1 -1
- package/types/factories/contracts/mocks/OverMintTesterRegularStake__factory.ts +1 -1
- package/types/factories/contracts/mocks/PayableMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/SixteenDecimalsTokenMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/StakingMockFixedAPY__factory.ts +1 -1
- package/types/factories/contracts/mocks/SwapHelperTest__factory.ts +1 -1
- package/types/factories/contracts/mocks/TwentyDecimalsTokenMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/UpgradableMocks.sol/UpgradableMock2__factory.ts +1 -1
- package/types/factories/contracts/mocks/UpgradableMocks.sol/UpgradableMock3__factory.ts +1 -1
- package/types/factories/contracts/mocks/UpgradableMocks.sol/UpgradableMock4__factory.ts +1 -1
- package/types/factories/contracts/mocks/UpgradableMocks.sol/UpgradableMock__factory.ts +1 -1
- package/types/factories/contracts/mocks/UsdcMock.sol/USDCMock__factory.ts +1 -1
- package/types/factories/contracts/reserve/CeloDistributionHelper__factory.ts +1 -1
- package/types/factories/contracts/reserve/DistributionHelper__factory.ts +1 -1
- package/types/factories/contracts/reserve/ExchangeHelper__factory.ts +1 -1
- package/types/factories/contracts/reserve/GoodMarketMaker__factory.ts +1 -1
- package/types/factories/contracts/reserve/GoodReserveADai__factory.ts +1502 -0
- package/types/factories/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai__factory.ts +1 -1
- package/types/factories/contracts/staking/BaseShareFieldV2__factory.ts +1 -1
- package/types/factories/contracts/staking/BaseShareField__factory.ts +1 -1
- package/types/factories/contracts/staking/DonationsStaking__factory.ts +1 -1
- package/types/factories/contracts/staking/FuseStakingV3.sol/FuseStakingV3__factory.ts +1 -1
- package/types/factories/contracts/staking/GoodFundManager__factory.ts +1 -1
- package/types/factories/contracts/staking/UniswapV2SwapHelper__factory.ts +1 -1
- package/types/factories/contracts/staking/aave/AaveStakingFactory__factory.ts +1 -1
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2__factory.ts +1240 -0
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +4 -0
- package/types/factories/contracts/staking/aave/GoodAaveStakingV2__factory.ts +1 -1
- package/types/factories/contracts/staking/aave/GoodAaveStaking__factory.ts +1 -1
- package/types/factories/contracts/staking/compound/CompoundStakingFactory__factory.ts +1 -1
- package/types/factories/contracts/staking/compound/GoodCompoundStakingV2__factory.ts +1 -1
- package/types/factories/contracts/staking/compound/GoodCompoundStaking__factory.ts +1 -1
- package/types/factories/contracts/token/ERC20PresetMinterPauserUpgradeable__factory.ts +1 -1
- package/types/factories/contracts/token/GoodDollar18__factory.ts +1257 -0
- package/types/factories/contracts/token/GoodDollar2__factory.ts +1257 -0
- package/types/factories/contracts/token/GoodDollar__factory.ts +1 -1
- package/types/factories/contracts/token/MultichainFeeFormula__factory.ts +1 -1
- package/types/factories/contracts/token/index.ts +1 -0
- package/types/factories/contracts/token/superfluid/ISuperToken__factory.ts +0 -52
- package/types/factories/contracts/token/superfluid/SuperGoodDollar__factory.ts +1 -73
- package/types/factories/contracts/token/superfluid/SuperToken__factory.ts +1 -53
- package/types/factories/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy__factory.ts +1 -1
- package/types/factories/contracts/ubi/UBISchemeV2__factory.ts +1 -6
- package/types/factories/contracts/ubi/UBIScheme__factory.ts +1 -1
- package/types/factories/contracts/utils/AdminWalletFuse__factory.ts +1 -1
- package/types/factories/contracts/utils/AdminWallet__factory.ts +1 -1
- package/types/factories/contracts/utils/BancorFormula__factory.ts +1 -1
- package/types/factories/contracts/utils/BulkWhitelist__factory.ts +1 -1
- package/types/factories/contracts/utils/BuyAndBridgeHelper__factory.ts +1 -1
- package/types/factories/contracts/utils/BuyFromReserveHelper__factory.ts +566 -0
- package/types/factories/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory__factory.ts +1 -1
- package/types/factories/contracts/utils/BuyGDClone.sol/BuyGDClone__factory.ts +1 -1
- package/types/factories/contracts/utils/BuyGDClone.sol/DonateGDClone__factory.ts +1 -1
- package/types/factories/contracts/utils/BuyGDClone.sol/IQuoterV2__factory.ts +126 -0
- package/types/factories/contracts/utils/BuyGDClone.sol/ISwapRouter__factory.ts +220 -0
- package/types/factories/contracts/utils/DAOContract__factory.ts +1 -1
- package/types/factories/contracts/utils/DAOUpgradeableContract__factory.ts +1 -1
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677__factory.ts +86 -0
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/FuseOldBridgeKill__factory.ts +1 -1
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/Initializable__factory.ts +1 -1
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/Ownable__factory.ts +1 -1
- package/types/factories/contracts/utils/GDFaucet__factory.ts +1 -1
- package/types/factories/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper__factory.ts +1 -1
- package/types/factories/contracts/utils/IdentityFix__factory.ts +1 -1
- package/types/factories/contracts/utils/LastauthReduction__factory.ts +1 -1
- package/types/factories/contracts/utils/MultiCall.sol/Multicall__factory.ts +1 -1
- package/types/factories/contracts/utils/MultichainBridgeHelper__factory.ts +1 -1
- package/types/factories/contracts/utils/NameService__factory.ts +1 -1
- package/types/factories/contracts/utils/OneTimePaymentsV2__factory.ts +1 -1
- package/types/factories/contracts/utils/OneTimePayments__factory.ts +1 -1
- package/types/factories/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +1 -1
- package/types/factories/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade__factory.ts +1 -1
- package/types/factories/contracts/utils/ProtocolUpgradeFuseRecover__factory.ts +1 -1
- package/types/factories/contracts/utils/ProtocolUpgradeFuse__factory.ts +1 -1
- package/types/factories/contracts/utils/ProtocolUpgradeRecover__factory.ts +1 -1
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange__factory.ts +39 -0
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +152 -0
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +5 -0
- package/types/factories/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy__factory.ts +1 -1
- package/types/factories/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967__factory.ts +1 -1
- package/types/factories/contracts/utils/ReputationTestHelper__factory.ts +1 -1
- package/types/factories/contracts/utils/ReserveRestore.sol/MentoExchange__factory.ts +39 -0
- package/types/factories/contracts/utils/ReserveRestore.sol/ReserveRestore__factory.ts +95 -0
- package/types/factories/contracts/utils/ReserveRestore.sol/index.ts +5 -0
- package/types/factories/contracts/utils/ReserveRestore__factory.ts +1 -1
- package/types/factories/contracts/utils/index.ts +1 -0
- package/types/hardhat.d.ts +45 -0
- package/types/index.ts +8 -2
|
@@ -0,0 +1,1257 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
GoodDollar2,
|
|
8
|
+
GoodDollar2Interface,
|
|
9
|
+
} from "../../../contracts/token/GoodDollar2";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
anonymous: false,
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
indexed: false,
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "previousAdmin",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
indexed: false,
|
|
23
|
+
internalType: "address",
|
|
24
|
+
name: "newAdmin",
|
|
25
|
+
type: "address",
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
name: "AdminChanged",
|
|
29
|
+
type: "event",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
anonymous: false,
|
|
33
|
+
inputs: [
|
|
34
|
+
{
|
|
35
|
+
indexed: true,
|
|
36
|
+
internalType: "address",
|
|
37
|
+
name: "owner",
|
|
38
|
+
type: "address",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
indexed: true,
|
|
42
|
+
internalType: "address",
|
|
43
|
+
name: "spender",
|
|
44
|
+
type: "address",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
indexed: false,
|
|
48
|
+
internalType: "uint256",
|
|
49
|
+
name: "value",
|
|
50
|
+
type: "uint256",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
name: "Approval",
|
|
54
|
+
type: "event",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
anonymous: false,
|
|
58
|
+
inputs: [
|
|
59
|
+
{
|
|
60
|
+
indexed: true,
|
|
61
|
+
internalType: "address",
|
|
62
|
+
name: "beacon",
|
|
63
|
+
type: "address",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
name: "BeaconUpgraded",
|
|
67
|
+
type: "event",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
anonymous: false,
|
|
71
|
+
inputs: [
|
|
72
|
+
{
|
|
73
|
+
indexed: false,
|
|
74
|
+
internalType: "uint8",
|
|
75
|
+
name: "version",
|
|
76
|
+
type: "uint8",
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
name: "Initialized",
|
|
80
|
+
type: "event",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
anonymous: false,
|
|
84
|
+
inputs: [
|
|
85
|
+
{
|
|
86
|
+
indexed: false,
|
|
87
|
+
internalType: "address",
|
|
88
|
+
name: "account",
|
|
89
|
+
type: "address",
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
name: "Paused",
|
|
93
|
+
type: "event",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
anonymous: false,
|
|
97
|
+
inputs: [
|
|
98
|
+
{
|
|
99
|
+
indexed: true,
|
|
100
|
+
internalType: "bytes32",
|
|
101
|
+
name: "role",
|
|
102
|
+
type: "bytes32",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
indexed: true,
|
|
106
|
+
internalType: "bytes32",
|
|
107
|
+
name: "previousAdminRole",
|
|
108
|
+
type: "bytes32",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
indexed: true,
|
|
112
|
+
internalType: "bytes32",
|
|
113
|
+
name: "newAdminRole",
|
|
114
|
+
type: "bytes32",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
name: "RoleAdminChanged",
|
|
118
|
+
type: "event",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
anonymous: false,
|
|
122
|
+
inputs: [
|
|
123
|
+
{
|
|
124
|
+
indexed: true,
|
|
125
|
+
internalType: "bytes32",
|
|
126
|
+
name: "role",
|
|
127
|
+
type: "bytes32",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
indexed: true,
|
|
131
|
+
internalType: "address",
|
|
132
|
+
name: "account",
|
|
133
|
+
type: "address",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
indexed: true,
|
|
137
|
+
internalType: "address",
|
|
138
|
+
name: "sender",
|
|
139
|
+
type: "address",
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
name: "RoleGranted",
|
|
143
|
+
type: "event",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
anonymous: false,
|
|
147
|
+
inputs: [
|
|
148
|
+
{
|
|
149
|
+
indexed: true,
|
|
150
|
+
internalType: "bytes32",
|
|
151
|
+
name: "role",
|
|
152
|
+
type: "bytes32",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
indexed: true,
|
|
156
|
+
internalType: "address",
|
|
157
|
+
name: "account",
|
|
158
|
+
type: "address",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
indexed: true,
|
|
162
|
+
internalType: "address",
|
|
163
|
+
name: "sender",
|
|
164
|
+
type: "address",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
name: "RoleRevoked",
|
|
168
|
+
type: "event",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
anonymous: false,
|
|
172
|
+
inputs: [
|
|
173
|
+
{
|
|
174
|
+
indexed: true,
|
|
175
|
+
internalType: "address",
|
|
176
|
+
name: "from",
|
|
177
|
+
type: "address",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
indexed: true,
|
|
181
|
+
internalType: "address",
|
|
182
|
+
name: "to",
|
|
183
|
+
type: "address",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
indexed: false,
|
|
187
|
+
internalType: "uint256",
|
|
188
|
+
name: "value",
|
|
189
|
+
type: "uint256",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
name: "Transfer",
|
|
193
|
+
type: "event",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
anonymous: false,
|
|
197
|
+
inputs: [
|
|
198
|
+
{
|
|
199
|
+
indexed: true,
|
|
200
|
+
internalType: "address",
|
|
201
|
+
name: "from",
|
|
202
|
+
type: "address",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
indexed: true,
|
|
206
|
+
internalType: "address",
|
|
207
|
+
name: "to",
|
|
208
|
+
type: "address",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
indexed: false,
|
|
212
|
+
internalType: "uint256",
|
|
213
|
+
name: "value",
|
|
214
|
+
type: "uint256",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
indexed: false,
|
|
218
|
+
internalType: "bytes",
|
|
219
|
+
name: "data",
|
|
220
|
+
type: "bytes",
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
name: "Transfer",
|
|
224
|
+
type: "event",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
anonymous: false,
|
|
228
|
+
inputs: [
|
|
229
|
+
{
|
|
230
|
+
indexed: false,
|
|
231
|
+
internalType: "address",
|
|
232
|
+
name: "account",
|
|
233
|
+
type: "address",
|
|
234
|
+
},
|
|
235
|
+
],
|
|
236
|
+
name: "Unpaused",
|
|
237
|
+
type: "event",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
anonymous: false,
|
|
241
|
+
inputs: [
|
|
242
|
+
{
|
|
243
|
+
indexed: true,
|
|
244
|
+
internalType: "address",
|
|
245
|
+
name: "implementation",
|
|
246
|
+
type: "address",
|
|
247
|
+
},
|
|
248
|
+
],
|
|
249
|
+
name: "Upgraded",
|
|
250
|
+
type: "event",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
inputs: [],
|
|
254
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
255
|
+
outputs: [
|
|
256
|
+
{
|
|
257
|
+
internalType: "bytes32",
|
|
258
|
+
name: "",
|
|
259
|
+
type: "bytes32",
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
stateMutability: "view",
|
|
263
|
+
type: "function",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
inputs: [],
|
|
267
|
+
name: "DOMAIN_SEPARATOR",
|
|
268
|
+
outputs: [
|
|
269
|
+
{
|
|
270
|
+
internalType: "bytes32",
|
|
271
|
+
name: "",
|
|
272
|
+
type: "bytes32",
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
stateMutability: "view",
|
|
276
|
+
type: "function",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
inputs: [],
|
|
280
|
+
name: "MINTER_ROLE",
|
|
281
|
+
outputs: [
|
|
282
|
+
{
|
|
283
|
+
internalType: "bytes32",
|
|
284
|
+
name: "",
|
|
285
|
+
type: "bytes32",
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
stateMutability: "view",
|
|
289
|
+
type: "function",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
inputs: [],
|
|
293
|
+
name: "PAUSER_ROLE",
|
|
294
|
+
outputs: [
|
|
295
|
+
{
|
|
296
|
+
internalType: "bytes32",
|
|
297
|
+
name: "",
|
|
298
|
+
type: "bytes32",
|
|
299
|
+
},
|
|
300
|
+
],
|
|
301
|
+
stateMutability: "view",
|
|
302
|
+
type: "function",
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
inputs: [
|
|
306
|
+
{
|
|
307
|
+
internalType: "address",
|
|
308
|
+
name: "_minter",
|
|
309
|
+
type: "address",
|
|
310
|
+
},
|
|
311
|
+
],
|
|
312
|
+
name: "addMinter",
|
|
313
|
+
outputs: [],
|
|
314
|
+
stateMutability: "nonpayable",
|
|
315
|
+
type: "function",
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
inputs: [
|
|
319
|
+
{
|
|
320
|
+
internalType: "address",
|
|
321
|
+
name: "_pauser",
|
|
322
|
+
type: "address",
|
|
323
|
+
},
|
|
324
|
+
],
|
|
325
|
+
name: "addPauser",
|
|
326
|
+
outputs: [],
|
|
327
|
+
stateMutability: "nonpayable",
|
|
328
|
+
type: "function",
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
inputs: [
|
|
332
|
+
{
|
|
333
|
+
internalType: "address",
|
|
334
|
+
name: "owner",
|
|
335
|
+
type: "address",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
internalType: "address",
|
|
339
|
+
name: "spender",
|
|
340
|
+
type: "address",
|
|
341
|
+
},
|
|
342
|
+
],
|
|
343
|
+
name: "allowance",
|
|
344
|
+
outputs: [
|
|
345
|
+
{
|
|
346
|
+
internalType: "uint256",
|
|
347
|
+
name: "",
|
|
348
|
+
type: "uint256",
|
|
349
|
+
},
|
|
350
|
+
],
|
|
351
|
+
stateMutability: "view",
|
|
352
|
+
type: "function",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
inputs: [
|
|
356
|
+
{
|
|
357
|
+
internalType: "address",
|
|
358
|
+
name: "spender",
|
|
359
|
+
type: "address",
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
internalType: "uint256",
|
|
363
|
+
name: "amount",
|
|
364
|
+
type: "uint256",
|
|
365
|
+
},
|
|
366
|
+
],
|
|
367
|
+
name: "approve",
|
|
368
|
+
outputs: [
|
|
369
|
+
{
|
|
370
|
+
internalType: "bool",
|
|
371
|
+
name: "",
|
|
372
|
+
type: "bool",
|
|
373
|
+
},
|
|
374
|
+
],
|
|
375
|
+
stateMutability: "nonpayable",
|
|
376
|
+
type: "function",
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
inputs: [
|
|
380
|
+
{
|
|
381
|
+
internalType: "address",
|
|
382
|
+
name: "account",
|
|
383
|
+
type: "address",
|
|
384
|
+
},
|
|
385
|
+
],
|
|
386
|
+
name: "balanceOf",
|
|
387
|
+
outputs: [
|
|
388
|
+
{
|
|
389
|
+
internalType: "uint256",
|
|
390
|
+
name: "",
|
|
391
|
+
type: "uint256",
|
|
392
|
+
},
|
|
393
|
+
],
|
|
394
|
+
stateMutability: "view",
|
|
395
|
+
type: "function",
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
inputs: [
|
|
399
|
+
{
|
|
400
|
+
internalType: "uint256",
|
|
401
|
+
name: "amount",
|
|
402
|
+
type: "uint256",
|
|
403
|
+
},
|
|
404
|
+
],
|
|
405
|
+
name: "burn",
|
|
406
|
+
outputs: [],
|
|
407
|
+
stateMutability: "nonpayable",
|
|
408
|
+
type: "function",
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
inputs: [
|
|
412
|
+
{
|
|
413
|
+
internalType: "address",
|
|
414
|
+
name: "account",
|
|
415
|
+
type: "address",
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
internalType: "uint256",
|
|
419
|
+
name: "amount",
|
|
420
|
+
type: "uint256",
|
|
421
|
+
},
|
|
422
|
+
],
|
|
423
|
+
name: "burnFrom",
|
|
424
|
+
outputs: [],
|
|
425
|
+
stateMutability: "nonpayable",
|
|
426
|
+
type: "function",
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
inputs: [],
|
|
430
|
+
name: "cap",
|
|
431
|
+
outputs: [
|
|
432
|
+
{
|
|
433
|
+
internalType: "uint256",
|
|
434
|
+
name: "",
|
|
435
|
+
type: "uint256",
|
|
436
|
+
},
|
|
437
|
+
],
|
|
438
|
+
stateMutability: "view",
|
|
439
|
+
type: "function",
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
inputs: [],
|
|
443
|
+
name: "decimals",
|
|
444
|
+
outputs: [
|
|
445
|
+
{
|
|
446
|
+
internalType: "uint8",
|
|
447
|
+
name: "",
|
|
448
|
+
type: "uint8",
|
|
449
|
+
},
|
|
450
|
+
],
|
|
451
|
+
stateMutability: "view",
|
|
452
|
+
type: "function",
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
inputs: [
|
|
456
|
+
{
|
|
457
|
+
internalType: "address",
|
|
458
|
+
name: "spender",
|
|
459
|
+
type: "address",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
internalType: "uint256",
|
|
463
|
+
name: "subtractedValue",
|
|
464
|
+
type: "uint256",
|
|
465
|
+
},
|
|
466
|
+
],
|
|
467
|
+
name: "decreaseAllowance",
|
|
468
|
+
outputs: [
|
|
469
|
+
{
|
|
470
|
+
internalType: "bool",
|
|
471
|
+
name: "",
|
|
472
|
+
type: "bool",
|
|
473
|
+
},
|
|
474
|
+
],
|
|
475
|
+
stateMutability: "nonpayable",
|
|
476
|
+
type: "function",
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
inputs: [],
|
|
480
|
+
name: "feeRecipient",
|
|
481
|
+
outputs: [
|
|
482
|
+
{
|
|
483
|
+
internalType: "address",
|
|
484
|
+
name: "",
|
|
485
|
+
type: "address",
|
|
486
|
+
},
|
|
487
|
+
],
|
|
488
|
+
stateMutability: "view",
|
|
489
|
+
type: "function",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
inputs: [],
|
|
493
|
+
name: "formula",
|
|
494
|
+
outputs: [
|
|
495
|
+
{
|
|
496
|
+
internalType: "contract IFeesFormula",
|
|
497
|
+
name: "",
|
|
498
|
+
type: "address",
|
|
499
|
+
},
|
|
500
|
+
],
|
|
501
|
+
stateMutability: "view",
|
|
502
|
+
type: "function",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
inputs: [
|
|
506
|
+
{
|
|
507
|
+
internalType: "uint256",
|
|
508
|
+
name: "value",
|
|
509
|
+
type: "uint256",
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
internalType: "address",
|
|
513
|
+
name: "sender",
|
|
514
|
+
type: "address",
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
internalType: "address",
|
|
518
|
+
name: "recipient",
|
|
519
|
+
type: "address",
|
|
520
|
+
},
|
|
521
|
+
],
|
|
522
|
+
name: "getFees",
|
|
523
|
+
outputs: [
|
|
524
|
+
{
|
|
525
|
+
internalType: "uint256",
|
|
526
|
+
name: "fee",
|
|
527
|
+
type: "uint256",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
internalType: "bool",
|
|
531
|
+
name: "senderPays",
|
|
532
|
+
type: "bool",
|
|
533
|
+
},
|
|
534
|
+
],
|
|
535
|
+
stateMutability: "view",
|
|
536
|
+
type: "function",
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
inputs: [
|
|
540
|
+
{
|
|
541
|
+
internalType: "uint256",
|
|
542
|
+
name: "value",
|
|
543
|
+
type: "uint256",
|
|
544
|
+
},
|
|
545
|
+
],
|
|
546
|
+
name: "getFees",
|
|
547
|
+
outputs: [
|
|
548
|
+
{
|
|
549
|
+
internalType: "uint256",
|
|
550
|
+
name: "fee",
|
|
551
|
+
type: "uint256",
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
internalType: "bool",
|
|
555
|
+
name: "senderPays",
|
|
556
|
+
type: "bool",
|
|
557
|
+
},
|
|
558
|
+
],
|
|
559
|
+
stateMutability: "view",
|
|
560
|
+
type: "function",
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
inputs: [
|
|
564
|
+
{
|
|
565
|
+
internalType: "bytes32",
|
|
566
|
+
name: "role",
|
|
567
|
+
type: "bytes32",
|
|
568
|
+
},
|
|
569
|
+
],
|
|
570
|
+
name: "getRoleAdmin",
|
|
571
|
+
outputs: [
|
|
572
|
+
{
|
|
573
|
+
internalType: "bytes32",
|
|
574
|
+
name: "",
|
|
575
|
+
type: "bytes32",
|
|
576
|
+
},
|
|
577
|
+
],
|
|
578
|
+
stateMutability: "view",
|
|
579
|
+
type: "function",
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
inputs: [
|
|
583
|
+
{
|
|
584
|
+
internalType: "bytes32",
|
|
585
|
+
name: "role",
|
|
586
|
+
type: "bytes32",
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
internalType: "uint256",
|
|
590
|
+
name: "index",
|
|
591
|
+
type: "uint256",
|
|
592
|
+
},
|
|
593
|
+
],
|
|
594
|
+
name: "getRoleMember",
|
|
595
|
+
outputs: [
|
|
596
|
+
{
|
|
597
|
+
internalType: "address",
|
|
598
|
+
name: "",
|
|
599
|
+
type: "address",
|
|
600
|
+
},
|
|
601
|
+
],
|
|
602
|
+
stateMutability: "view",
|
|
603
|
+
type: "function",
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
inputs: [
|
|
607
|
+
{
|
|
608
|
+
internalType: "bytes32",
|
|
609
|
+
name: "role",
|
|
610
|
+
type: "bytes32",
|
|
611
|
+
},
|
|
612
|
+
],
|
|
613
|
+
name: "getRoleMemberCount",
|
|
614
|
+
outputs: [
|
|
615
|
+
{
|
|
616
|
+
internalType: "uint256",
|
|
617
|
+
name: "",
|
|
618
|
+
type: "uint256",
|
|
619
|
+
},
|
|
620
|
+
],
|
|
621
|
+
stateMutability: "view",
|
|
622
|
+
type: "function",
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
inputs: [
|
|
626
|
+
{
|
|
627
|
+
internalType: "bytes32",
|
|
628
|
+
name: "role",
|
|
629
|
+
type: "bytes32",
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
internalType: "address",
|
|
633
|
+
name: "account",
|
|
634
|
+
type: "address",
|
|
635
|
+
},
|
|
636
|
+
],
|
|
637
|
+
name: "grantRole",
|
|
638
|
+
outputs: [],
|
|
639
|
+
stateMutability: "nonpayable",
|
|
640
|
+
type: "function",
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
inputs: [
|
|
644
|
+
{
|
|
645
|
+
internalType: "bytes32",
|
|
646
|
+
name: "role",
|
|
647
|
+
type: "bytes32",
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
internalType: "address",
|
|
651
|
+
name: "account",
|
|
652
|
+
type: "address",
|
|
653
|
+
},
|
|
654
|
+
],
|
|
655
|
+
name: "hasRole",
|
|
656
|
+
outputs: [
|
|
657
|
+
{
|
|
658
|
+
internalType: "bool",
|
|
659
|
+
name: "",
|
|
660
|
+
type: "bool",
|
|
661
|
+
},
|
|
662
|
+
],
|
|
663
|
+
stateMutability: "view",
|
|
664
|
+
type: "function",
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
inputs: [],
|
|
668
|
+
name: "identity",
|
|
669
|
+
outputs: [
|
|
670
|
+
{
|
|
671
|
+
internalType: "contract IIdentity",
|
|
672
|
+
name: "",
|
|
673
|
+
type: "address",
|
|
674
|
+
},
|
|
675
|
+
],
|
|
676
|
+
stateMutability: "view",
|
|
677
|
+
type: "function",
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
inputs: [
|
|
681
|
+
{
|
|
682
|
+
internalType: "address",
|
|
683
|
+
name: "spender",
|
|
684
|
+
type: "address",
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
internalType: "uint256",
|
|
688
|
+
name: "addedValue",
|
|
689
|
+
type: "uint256",
|
|
690
|
+
},
|
|
691
|
+
],
|
|
692
|
+
name: "increaseAllowance",
|
|
693
|
+
outputs: [
|
|
694
|
+
{
|
|
695
|
+
internalType: "bool",
|
|
696
|
+
name: "",
|
|
697
|
+
type: "bool",
|
|
698
|
+
},
|
|
699
|
+
],
|
|
700
|
+
stateMutability: "nonpayable",
|
|
701
|
+
type: "function",
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
inputs: [
|
|
705
|
+
{
|
|
706
|
+
internalType: "string",
|
|
707
|
+
name: "name",
|
|
708
|
+
type: "string",
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
internalType: "string",
|
|
712
|
+
name: "symbol",
|
|
713
|
+
type: "string",
|
|
714
|
+
},
|
|
715
|
+
],
|
|
716
|
+
name: "initialize",
|
|
717
|
+
outputs: [],
|
|
718
|
+
stateMutability: "nonpayable",
|
|
719
|
+
type: "function",
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
inputs: [
|
|
723
|
+
{
|
|
724
|
+
internalType: "string",
|
|
725
|
+
name: "_name",
|
|
726
|
+
type: "string",
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
internalType: "string",
|
|
730
|
+
name: "_symbol",
|
|
731
|
+
type: "string",
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
internalType: "uint256",
|
|
735
|
+
name: "_cap",
|
|
736
|
+
type: "uint256",
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
internalType: "contract IFeesFormula",
|
|
740
|
+
name: "_formula",
|
|
741
|
+
type: "address",
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
internalType: "contract IIdentity",
|
|
745
|
+
name: "_identity",
|
|
746
|
+
type: "address",
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
internalType: "address",
|
|
750
|
+
name: "_feeRecipient",
|
|
751
|
+
type: "address",
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
internalType: "address",
|
|
755
|
+
name: "_owner",
|
|
756
|
+
type: "address",
|
|
757
|
+
},
|
|
758
|
+
],
|
|
759
|
+
name: "initialize",
|
|
760
|
+
outputs: [],
|
|
761
|
+
stateMutability: "nonpayable",
|
|
762
|
+
type: "function",
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
inputs: [
|
|
766
|
+
{
|
|
767
|
+
internalType: "address",
|
|
768
|
+
name: "_minter",
|
|
769
|
+
type: "address",
|
|
770
|
+
},
|
|
771
|
+
],
|
|
772
|
+
name: "isMinter",
|
|
773
|
+
outputs: [
|
|
774
|
+
{
|
|
775
|
+
internalType: "bool",
|
|
776
|
+
name: "",
|
|
777
|
+
type: "bool",
|
|
778
|
+
},
|
|
779
|
+
],
|
|
780
|
+
stateMutability: "view",
|
|
781
|
+
type: "function",
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
inputs: [
|
|
785
|
+
{
|
|
786
|
+
internalType: "address",
|
|
787
|
+
name: "_pauser",
|
|
788
|
+
type: "address",
|
|
789
|
+
},
|
|
790
|
+
],
|
|
791
|
+
name: "isPauser",
|
|
792
|
+
outputs: [
|
|
793
|
+
{
|
|
794
|
+
internalType: "bool",
|
|
795
|
+
name: "",
|
|
796
|
+
type: "bool",
|
|
797
|
+
},
|
|
798
|
+
],
|
|
799
|
+
stateMutability: "view",
|
|
800
|
+
type: "function",
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
inputs: [
|
|
804
|
+
{
|
|
805
|
+
internalType: "address",
|
|
806
|
+
name: "to",
|
|
807
|
+
type: "address",
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
internalType: "uint256",
|
|
811
|
+
name: "value",
|
|
812
|
+
type: "uint256",
|
|
813
|
+
},
|
|
814
|
+
],
|
|
815
|
+
name: "mint",
|
|
816
|
+
outputs: [
|
|
817
|
+
{
|
|
818
|
+
internalType: "bool",
|
|
819
|
+
name: "",
|
|
820
|
+
type: "bool",
|
|
821
|
+
},
|
|
822
|
+
],
|
|
823
|
+
stateMutability: "nonpayable",
|
|
824
|
+
type: "function",
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
inputs: [],
|
|
828
|
+
name: "name",
|
|
829
|
+
outputs: [
|
|
830
|
+
{
|
|
831
|
+
internalType: "string",
|
|
832
|
+
name: "",
|
|
833
|
+
type: "string",
|
|
834
|
+
},
|
|
835
|
+
],
|
|
836
|
+
stateMutability: "view",
|
|
837
|
+
type: "function",
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
inputs: [
|
|
841
|
+
{
|
|
842
|
+
internalType: "address",
|
|
843
|
+
name: "owner",
|
|
844
|
+
type: "address",
|
|
845
|
+
},
|
|
846
|
+
],
|
|
847
|
+
name: "nonces",
|
|
848
|
+
outputs: [
|
|
849
|
+
{
|
|
850
|
+
internalType: "uint256",
|
|
851
|
+
name: "",
|
|
852
|
+
type: "uint256",
|
|
853
|
+
},
|
|
854
|
+
],
|
|
855
|
+
stateMutability: "view",
|
|
856
|
+
type: "function",
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
inputs: [],
|
|
860
|
+
name: "owner",
|
|
861
|
+
outputs: [
|
|
862
|
+
{
|
|
863
|
+
internalType: "address",
|
|
864
|
+
name: "",
|
|
865
|
+
type: "address",
|
|
866
|
+
},
|
|
867
|
+
],
|
|
868
|
+
stateMutability: "view",
|
|
869
|
+
type: "function",
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
inputs: [],
|
|
873
|
+
name: "pause",
|
|
874
|
+
outputs: [],
|
|
875
|
+
stateMutability: "nonpayable",
|
|
876
|
+
type: "function",
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
inputs: [],
|
|
880
|
+
name: "paused",
|
|
881
|
+
outputs: [
|
|
882
|
+
{
|
|
883
|
+
internalType: "bool",
|
|
884
|
+
name: "",
|
|
885
|
+
type: "bool",
|
|
886
|
+
},
|
|
887
|
+
],
|
|
888
|
+
stateMutability: "view",
|
|
889
|
+
type: "function",
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
inputs: [
|
|
893
|
+
{
|
|
894
|
+
internalType: "address",
|
|
895
|
+
name: "owner",
|
|
896
|
+
type: "address",
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
internalType: "address",
|
|
900
|
+
name: "spender",
|
|
901
|
+
type: "address",
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
internalType: "uint256",
|
|
905
|
+
name: "value",
|
|
906
|
+
type: "uint256",
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
internalType: "uint256",
|
|
910
|
+
name: "deadline",
|
|
911
|
+
type: "uint256",
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
internalType: "uint8",
|
|
915
|
+
name: "v",
|
|
916
|
+
type: "uint8",
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
internalType: "bytes32",
|
|
920
|
+
name: "r",
|
|
921
|
+
type: "bytes32",
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
internalType: "bytes32",
|
|
925
|
+
name: "s",
|
|
926
|
+
type: "bytes32",
|
|
927
|
+
},
|
|
928
|
+
],
|
|
929
|
+
name: "permit",
|
|
930
|
+
outputs: [],
|
|
931
|
+
stateMutability: "nonpayable",
|
|
932
|
+
type: "function",
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
inputs: [],
|
|
936
|
+
name: "proxiableUUID",
|
|
937
|
+
outputs: [
|
|
938
|
+
{
|
|
939
|
+
internalType: "bytes32",
|
|
940
|
+
name: "",
|
|
941
|
+
type: "bytes32",
|
|
942
|
+
},
|
|
943
|
+
],
|
|
944
|
+
stateMutability: "view",
|
|
945
|
+
type: "function",
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
inputs: [],
|
|
949
|
+
name: "renounceMinter",
|
|
950
|
+
outputs: [],
|
|
951
|
+
stateMutability: "nonpayable",
|
|
952
|
+
type: "function",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
inputs: [
|
|
956
|
+
{
|
|
957
|
+
internalType: "bytes32",
|
|
958
|
+
name: "role",
|
|
959
|
+
type: "bytes32",
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
internalType: "address",
|
|
963
|
+
name: "account",
|
|
964
|
+
type: "address",
|
|
965
|
+
},
|
|
966
|
+
],
|
|
967
|
+
name: "renounceRole",
|
|
968
|
+
outputs: [],
|
|
969
|
+
stateMutability: "nonpayable",
|
|
970
|
+
type: "function",
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
inputs: [
|
|
974
|
+
{
|
|
975
|
+
internalType: "bytes32",
|
|
976
|
+
name: "role",
|
|
977
|
+
type: "bytes32",
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
internalType: "address",
|
|
981
|
+
name: "account",
|
|
982
|
+
type: "address",
|
|
983
|
+
},
|
|
984
|
+
],
|
|
985
|
+
name: "revokeRole",
|
|
986
|
+
outputs: [],
|
|
987
|
+
stateMutability: "nonpayable",
|
|
988
|
+
type: "function",
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
inputs: [
|
|
992
|
+
{
|
|
993
|
+
internalType: "address",
|
|
994
|
+
name: "_feeRecipient",
|
|
995
|
+
type: "address",
|
|
996
|
+
},
|
|
997
|
+
],
|
|
998
|
+
name: "setFeeRecipient",
|
|
999
|
+
outputs: [],
|
|
1000
|
+
stateMutability: "nonpayable",
|
|
1001
|
+
type: "function",
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
inputs: [
|
|
1005
|
+
{
|
|
1006
|
+
internalType: "contract IFeesFormula",
|
|
1007
|
+
name: "_formula",
|
|
1008
|
+
type: "address",
|
|
1009
|
+
},
|
|
1010
|
+
],
|
|
1011
|
+
name: "setFormula",
|
|
1012
|
+
outputs: [],
|
|
1013
|
+
stateMutability: "nonpayable",
|
|
1014
|
+
type: "function",
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
inputs: [
|
|
1018
|
+
{
|
|
1019
|
+
internalType: "contract IIdentityV2",
|
|
1020
|
+
name: "_identity",
|
|
1021
|
+
type: "address",
|
|
1022
|
+
},
|
|
1023
|
+
],
|
|
1024
|
+
name: "setIdentity",
|
|
1025
|
+
outputs: [],
|
|
1026
|
+
stateMutability: "nonpayable",
|
|
1027
|
+
type: "function",
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
inputs: [
|
|
1031
|
+
{
|
|
1032
|
+
internalType: "bytes4",
|
|
1033
|
+
name: "interfaceId",
|
|
1034
|
+
type: "bytes4",
|
|
1035
|
+
},
|
|
1036
|
+
],
|
|
1037
|
+
name: "supportsInterface",
|
|
1038
|
+
outputs: [
|
|
1039
|
+
{
|
|
1040
|
+
internalType: "bool",
|
|
1041
|
+
name: "",
|
|
1042
|
+
type: "bool",
|
|
1043
|
+
},
|
|
1044
|
+
],
|
|
1045
|
+
stateMutability: "view",
|
|
1046
|
+
type: "function",
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
inputs: [],
|
|
1050
|
+
name: "symbol",
|
|
1051
|
+
outputs: [
|
|
1052
|
+
{
|
|
1053
|
+
internalType: "string",
|
|
1054
|
+
name: "",
|
|
1055
|
+
type: "string",
|
|
1056
|
+
},
|
|
1057
|
+
],
|
|
1058
|
+
stateMutability: "view",
|
|
1059
|
+
type: "function",
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
inputs: [],
|
|
1063
|
+
name: "totalSupply",
|
|
1064
|
+
outputs: [
|
|
1065
|
+
{
|
|
1066
|
+
internalType: "uint256",
|
|
1067
|
+
name: "",
|
|
1068
|
+
type: "uint256",
|
|
1069
|
+
},
|
|
1070
|
+
],
|
|
1071
|
+
stateMutability: "view",
|
|
1072
|
+
type: "function",
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
inputs: [
|
|
1076
|
+
{
|
|
1077
|
+
internalType: "address",
|
|
1078
|
+
name: "to",
|
|
1079
|
+
type: "address",
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
internalType: "uint256",
|
|
1083
|
+
name: "value",
|
|
1084
|
+
type: "uint256",
|
|
1085
|
+
},
|
|
1086
|
+
],
|
|
1087
|
+
name: "transfer",
|
|
1088
|
+
outputs: [
|
|
1089
|
+
{
|
|
1090
|
+
internalType: "bool",
|
|
1091
|
+
name: "",
|
|
1092
|
+
type: "bool",
|
|
1093
|
+
},
|
|
1094
|
+
],
|
|
1095
|
+
stateMutability: "nonpayable",
|
|
1096
|
+
type: "function",
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
inputs: [
|
|
1100
|
+
{
|
|
1101
|
+
internalType: "address",
|
|
1102
|
+
name: "to",
|
|
1103
|
+
type: "address",
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
internalType: "uint256",
|
|
1107
|
+
name: "value",
|
|
1108
|
+
type: "uint256",
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
internalType: "bytes",
|
|
1112
|
+
name: "data",
|
|
1113
|
+
type: "bytes",
|
|
1114
|
+
},
|
|
1115
|
+
],
|
|
1116
|
+
name: "transferAndCall",
|
|
1117
|
+
outputs: [
|
|
1118
|
+
{
|
|
1119
|
+
internalType: "bool",
|
|
1120
|
+
name: "",
|
|
1121
|
+
type: "bool",
|
|
1122
|
+
},
|
|
1123
|
+
],
|
|
1124
|
+
stateMutability: "nonpayable",
|
|
1125
|
+
type: "function",
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
inputs: [
|
|
1129
|
+
{
|
|
1130
|
+
internalType: "address",
|
|
1131
|
+
name: "from",
|
|
1132
|
+
type: "address",
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
internalType: "address",
|
|
1136
|
+
name: "to",
|
|
1137
|
+
type: "address",
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
internalType: "uint256",
|
|
1141
|
+
name: "value",
|
|
1142
|
+
type: "uint256",
|
|
1143
|
+
},
|
|
1144
|
+
],
|
|
1145
|
+
name: "transferFrom",
|
|
1146
|
+
outputs: [
|
|
1147
|
+
{
|
|
1148
|
+
internalType: "bool",
|
|
1149
|
+
name: "",
|
|
1150
|
+
type: "bool",
|
|
1151
|
+
},
|
|
1152
|
+
],
|
|
1153
|
+
stateMutability: "nonpayable",
|
|
1154
|
+
type: "function",
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
inputs: [
|
|
1158
|
+
{
|
|
1159
|
+
internalType: "address",
|
|
1160
|
+
name: "_owner",
|
|
1161
|
+
type: "address",
|
|
1162
|
+
},
|
|
1163
|
+
],
|
|
1164
|
+
name: "transferOwnership",
|
|
1165
|
+
outputs: [],
|
|
1166
|
+
stateMutability: "nonpayable",
|
|
1167
|
+
type: "function",
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
inputs: [],
|
|
1171
|
+
name: "unpause",
|
|
1172
|
+
outputs: [],
|
|
1173
|
+
stateMutability: "nonpayable",
|
|
1174
|
+
type: "function",
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
inputs: [
|
|
1178
|
+
{
|
|
1179
|
+
internalType: "address",
|
|
1180
|
+
name: "newImplementation",
|
|
1181
|
+
type: "address",
|
|
1182
|
+
},
|
|
1183
|
+
],
|
|
1184
|
+
name: "upgradeTo",
|
|
1185
|
+
outputs: [],
|
|
1186
|
+
stateMutability: "nonpayable",
|
|
1187
|
+
type: "function",
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
inputs: [
|
|
1191
|
+
{
|
|
1192
|
+
internalType: "address",
|
|
1193
|
+
name: "newImplementation",
|
|
1194
|
+
type: "address",
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
internalType: "bytes",
|
|
1198
|
+
name: "data",
|
|
1199
|
+
type: "bytes",
|
|
1200
|
+
},
|
|
1201
|
+
],
|
|
1202
|
+
name: "upgradeToAndCall",
|
|
1203
|
+
outputs: [],
|
|
1204
|
+
stateMutability: "payable",
|
|
1205
|
+
type: "function",
|
|
1206
|
+
},
|
|
1207
|
+
] as const;
|
|
1208
|
+
|
|
1209
|
+
const _bytecode =
|
|
1210
|
+
"0x60a06040523060805234801561001457600080fd5b506080516139cb61004c60003960008181610a9601528181610ad601528181610ef701528181610f370152610faf01526139cb6000f3fe60806040526004361061025a5760003560e01c806301ffc9a71461025f57806306fdde0314610294578063095ea7b3146102b657806318160ddd146102d657806323b872dd146102f6578063248a9ca3146103165780632c159a1a146103365780632f2ff15d14610364578063313ce56714610386578063355274ea146103a25780633644e515146103b957806336568abe146103ce5780633659cfe6146103ee57806339364fd71461040e57806339509351146104435780633f4ba83a146104635780634000aea01461047857806340c10f191461049857806342966c68146104b857806346904840146104d857806346fbf68e146104f95780634b75f54f146105195780634cd88b761461053a5780634f1ef2861461055a57806352d1902d1461056d5780635c975abb146105825780635d5bf1781461059b57806370a08231146105bb57806379cc6790146105db5780637ecebe00146105fb57806382dc1ec41461061b5780638456cb591461063b5780638da5cb5b146106505780639010d07c1461066557806391d148541461068557806395d89b41146106a5578063983b2d56146106ba57806398650275146106da578063a217fddf146106ef578063a457c2d714610704578063a9059cbb14610724578063aa271e1a14610744578063ca15c87314610764578063d505accf14610784578063d5391393146107a4578063d547741f146107c6578063d5a06d4c146107e6578063dd62ed3e14610806578063dea7f11214610826578063e63ab1e914610846578063e74b981b14610868578063ecc06c7614610888578063f2fde38b146108a8575b600080fd5b34801561026b57600080fd5b5061027f61027a366004612ebb565b6108c8565b60405190151581526020015b60405180910390f35b3480156102a057600080fd5b506102a96108f3565b60405161028b9190612f35565b3480156102c257600080fd5b5061027f6102d1366004612f5d565b610986565b3480156102e257600080fd5b5061012f545b60405190815260200161028b565b34801561030257600080fd5b5061027f610311366004612f89565b61099e565b34801561032257600080fd5b506102e8610331366004612fca565b6109c4565b34801561034257600080fd5b5061029054610357906001600160a01b031681565b60405161028b9190612fe3565b34801561037057600080fd5b5061038461037f366004612ff7565b6109d9565b005b34801561039257600080fd5b506040516002815260200161028b565b3480156103ae57600080fd5b506102e86102915481565b3480156103c557600080fd5b506102e86109fa565b3480156103da57600080fd5b506103846103e9366004612ff7565b610a09565b3480156103fa57600080fd5b50610384610409366004613027565b610a8c565b34801561041a57600080fd5b5061042e610429366004613044565b610b54565b6040805192835290151560208301520161028b565b34801561044f57600080fd5b5061027f61045e366004612f5d565b610bda565b34801561046f57600080fd5b50610384610bfc565b34801561048457600080fd5b5061027f610493366004613086565b610c7a565b3480156104a457600080fd5b5061027f6104b3366004612f5d565b610d80565b3480156104c457600080fd5b506103846104d3366004612fca565b610e07565b3480156104e457600080fd5b5061028e54610357906001600160a01b031681565b34801561050557600080fd5b5061027f610514366004613027565b610e11565b34801561052557600080fd5b5061028f54610357906001600160a01b031681565b34801561054657600080fd5b506103846105553660046131b9565b610e2b565b61038461056836600461321c565b610eed565b34801561057957600080fd5b506102e8610fa2565b34801561058e57600080fd5b506101f85460ff1661027f565b3480156105a757600080fd5b506103846105b6366004613027565b611050565b3480156105c757600080fd5b506102e86105d6366004613027565b61109a565b3480156105e757600080fd5b506103846105f6366004612f5d565b6110b6565b34801561060757600080fd5b506102e8610616366004613027565b6110cb565b34801561062757600080fd5b50610384610636366004613027565b6110ea565b34801561064757600080fd5b50610384611102565b34801561065c57600080fd5b5061035761117c565b34801561067157600080fd5b50610357610680366004613275565b611184565b34801561069157600080fd5b5061027f6106a0366004612ff7565b61119c565b3480156106b157600080fd5b506102a96111c7565b3480156106c657600080fd5b506103846106d5366004613027565b6111d7565b3480156106e657600080fd5b506103846111ef565b3480156106fb57600080fd5b506102e8600081565b34801561071057600080fd5b5061027f61071f366004612f5d565b611207565b34801561073057600080fd5b5061027f61073f366004612f5d565b61128d565b34801561075057600080fd5b5061027f61075f366004613027565b6112af565b34801561077057600080fd5b506102e861077f366004612fca565b6112c9565b34801561079057600080fd5b5061038461079f366004613297565b6112e0565b3480156107b057600080fd5b506102e860008051602061395683398151915281565b3480156107d257600080fd5b506103846107e1366004612ff7565b611444565b3480156107f257600080fd5b5061042e610801366004612fca565b611460565b34801561081257600080fd5b506102e861082136600461330e565b6114e3565b34801561083257600080fd5b5061038461084136600461333c565b61150f565b34801561085257600080fd5b506102e860008051602061390f83398151915281565b34801561087457600080fd5b50610384610883366004613027565b611675565b34801561089457600080fd5b506103846108a3366004613027565b6116bf565b3480156108b457600080fd5b506103846108c3366004613027565b611709565b60006001600160e01b03198216635a05180f60e01b14806108ed57506108ed82611746565b92915050565b60606101308054610903906133f5565b80601f016020809104026020016040519081016040528092919081815260200182805461092f906133f5565b801561097c5780601f106109515761010080835404028352916020019161097c565b820191906000526020600020905b81548152906001019060200180831161095f57829003601f168201915b5050505050905090565b60003361099481858561177b565b5060019392505050565b6000806109ac8585856118a0565b90506109b9858583611a13565b9150505b9392505050565b600090815260c9602052604090206001015490565b6109e2826109c4565b6109eb81611a2c565b6109f58383611a36565b505050565b6000610a04611a58565b905090565b6001600160a01b0381163314610a7e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610a888282611ad5565b5050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610ad45760405162461bcd60e51b8152600401610a7590613429565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610b06611af7565b6001600160a01b031614610b2c5760405162461bcd60e51b8152600401610a7590613463565b610b3581611b13565b60408051600080825260208201909252610b5191839190611b3a565b50565b61028f54604051631eed540360e11b815260009182916001600160a01b0390911690633ddaa80690610b8e9088908890889060040161349d565b6040805180830381865afa158015610baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bce91906134d1565b91509150935093915050565b600033610994818585610bed83836114e3565b610bf79190613513565b61177b565b610c1460008051602061390f8339815191523361119c565b610c705760405162461bcd60e51b8152602060048201526039602482015260008051602061388f83398151915260448201527876652070617573657220726f6c6520746f20756e706175736560381b6064820152608401610a75565b610c78611ca5565b565b600080610c883387876118a0565b90506000610c968783611cf2565b9050866001600160a01b0316336001600160a01b03167fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c16848888604051610cdf93929190613526565b60405180910390a3863b15610d7657610d2f878387878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611d0092505050565b610d765760405162461bcd60e51b815260206004820152601860248201527710dbdb9d1c9858dd0819985b1b189858dac819985a5b195960421b6044820152606401610a75565b9695505050505050565b6102915460009015610dfd576102915482610d9b61012f5490565b610da59190613513565b1115610dfd5760405162461bcd60e51b815260206004820152602160248201527f43616e6e6f7420696e63726561736520737570706c79206265796f6e642063616044820152600760fc1b6064820152608401610a75565b6109bd8383611dbf565b610b513382611e45565b60006108ed60008051602061390f8339815191528361119c565b600054610100900460ff1615808015610e4b5750600054600160ff909116105b80610e6c5750610e5a30611f76565b158015610e6c575060005460ff166001145b610e885760405162461bcd60e51b8152600401610a759061355c565b6000805460ff191660011790558015610eab576000805461ff0019166101001790555b610eb58383611f85565b80156109f5576000805461ff0019169055604051600181526000805160206138ef8339815191529060200160405180910390a1505050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610f355760405162461bcd60e51b8152600401610a7590613429565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610f67611af7565b6001600160a01b031614610f8d5760405162461bcd60e51b8152600401610a7590613463565b610f9682611b13565b610a8882826001611b3a565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461103d5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610a75565b506000805160206138cf83398151915290565b61105b60003361119c565b6110775760405162461bcd60e51b8152600401610a75906135aa565b61029080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0316600090815261012d602052604090205490565b6110c1823383612001565b610a888282611e45565b6001600160a01b038116600090815261019360205260408120546108ed565b610b5160008051602061390f833981519152826109d9565b61111a60008051602061390f8339815191523361119c565b6111745760405162461bcd60e51b8152602060048201526037602482015260008051602061388f83398151915260448201527676652070617573657220726f6c6520746f20706175736560481b6064820152608401610a75565b610c7861207b565b6000610a0481805b600082815260fb602052604081206109bd90836120b9565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606101318054610903906133f5565b610b51600080516020613956833981519152826109d9565b610c7860008051602061395683398151915233610a09565b6000338161121582866114e3565b9050838110156112755760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a75565b611282828686840361177b565b506001949350505050565b60008061129b3385856118a0565b90506112a78482611cf2565b949350505050565b60006108ed6000805160206139568339815191528361119c565b600081815260fb602052604081206108ed906120c5565b834211156113305760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610a75565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861135f8c6120cf565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006113ba826120f8565b905060006113ca82878787612146565b9050896001600160a01b0316816001600160a01b03161461142d5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610a75565b6114388a8a8a61177b565b50505050505050505050565b61144d826109c4565b61145681611a2c565b6109f58383611ad5565b61028f54604051631eed540360e11b815260009182916001600160a01b0390911690633ddaa8069061149a9086908590819060040161349d565b6040805180830381865afa1580156114b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114da91906134d1565b91509150915091565b6001600160a01b03918216600090815261012e6020908152604080832093909416825291909152205490565b600054610100900460ff161580801561152f5750600054600160ff909116105b80611550575061153e30611f76565b158015611550575060005460ff166001145b61156c5760405162461bcd60e51b8152600401610a759061355c565b6000805460ff19166001179055801561158f576000805461ff0019166101001790555b6115998888611f85565b61028e80546001600160a01b038086166001600160a01b031992831617909255610290805487841690831617905561028f8054928816929091169190911790556102918690556115e63390565b6001600160a01b0316826001600160a01b0316146116375761160782611709565b61161f60008051602061395683398151915233610a09565b61163760008051602061390f83398151915233610a09565b801561166b576000805461ff0019169055604051600181526000805160206138ef8339815191529060200160405180910390a15b5050505050505050565b61168060003361119c565b61169c5760405162461bcd60e51b8152600401610a75906135aa565b61028e80546001600160a01b0319166001600160a01b0392909216919091179055565b6116ca60003361119c565b6116e65760405162461bcd60e51b8152600401610a75906135aa565b61028f80546001600160a01b0319166001600160a01b0392909216919091179055565b61171460003361119c565b6117305760405162461bcd60e51b8152600401610a75906135aa565b61173b6000826109d9565b610b51600033610a09565b60006001600160e01b03198216637965db0b60e01b14806108ed57506301ffc9a760e01b6001600160e01b03198316146108ed565b6001600160a01b0383166117dd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a75565b6001600160a01b03821661183e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a75565b6001600160a01b03838116600081815261012e602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60008060006118b0848787610b54565b9150915060008211801561193357506102905460405163639e625760e11b81526001600160a01b039091169063c73cc4ae906118f0903390600401612fe3565b602060405180830381865afa15801561190d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193191906135cd565b155b15611a095780158061195657506119498661109a565b6119538386613513565b11155b6119a25760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682062616c616e636520746f20706179205458206665656044820152606401610a75565b336001600160a01b038716036119cf5761028e546119c9906001600160a01b031683611cf2565b506119ea565b61028e546119e89087906001600160a01b031684611a13565b505b806119fe576119f982856135e8565b611a00565b835b925050506109bd565b5091949350505050565b600033611a21858285612001565b61128285858561216e565b610b518133612314565b611a40828261236d565b600082815260fb602052604090206109f590826123f3565b6000610a047f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611a8861015f5490565b610160546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b611adf8282612408565b600082815260fb602052604090206109f5908261246f565b6000805160206138cf833981519152546001600160a01b031690565b611b1e60003361119c565b610b515760405162461bcd60e51b8152600401610a75906135aa565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611b6d576109f583612484565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611bc7575060408051601f3d908101601f19168201909252611bc4918101906135fb565b60015b611c2a5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610a75565b6000805160206138cf8339815191528114611c995760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610a75565b506109f583838361251e565b611cad612543565b6101f8805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051611ce89190612fe3565b60405180910390a1565b60003361099481858561216e565b604051635260769b60e11b815260009084906001600160a01b0382169063a4c0ed3690611d3590339088908890600401613614565b6020604051808303816000875af1158015611d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7891906135cd565b6112825760405162461bcd60e51b815260206004820152601860248201527710dbdb9d1c9858dd0811985b1b189858dac819985a5b195960421b6044820152606401610a75565b6000611dd96000805160206139568339815191523361119c565b611e325760405162461bcd60e51b8152602060048201526036602482015260008051602061388f8339815191526044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b6064820152608401610a75565b611e3c838361258d565b50600192915050565b6001600160a01b038216611ea55760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a75565b611eb18260008361264a565b6001600160a01b038216600090815261012d602052604090205481811015611f265760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a75565b6001600160a01b038316600081815261012d60209081526040808320868603905561012f8054879003905551858152919291600080516020613976833981519152910160405180910390a3505050565b6001600160a01b03163b151590565b600054610100900460ff16611fac5760405162461bcd60e51b8152600401610a759061363b565b611fb4612655565b611fbc612655565b611fc4612655565b611fcc612655565b611fd6828261267c565b611fde612655565b611fe66126be565b611fee612655565b611ff882826126f2565b610a8882612754565b600061200d84846114e3565b9050600019811461207557818110156120685760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a75565b612075848484840361177b565b50505050565b61208361277b565b6101f8805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611cdb3390565b60006109bd83836127c2565b60006108ed825490565b6001600160a01b0381166000908152610193602052604090208054600181018255905b50919050565b60006108ed612105611a58565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612157878787876127ec565b91509150612164816128a6565b5095945050505050565b6001600160a01b0383166121d25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a75565b6001600160a01b0382166122345760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a75565b61223f83838361264a565b6001600160a01b038316600090815261012d6020526040902054818110156122b85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a75565b6001600160a01b03808516600081815261012d60205260408082208686039055928616808252908390208054860190559151600080516020613976833981519152906123079086815260200190565b60405180910390a3612075565b61231e828261119c565b610a885761232b816129eb565b6123368360206129fd565b604051602001612347929190613686565b60408051601f198184030181529082905262461bcd60e51b8252610a7591600401612f35565b612377828261119c565b610a8857600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff191660011790556123af3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006109bd836001600160a01b038416612b98565b612412828261119c565b15610a8857600082815260c9602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006109bd836001600160a01b038416612be7565b61248d81611f76565b6124ef5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610a75565b6000805160206138cf83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61252783612cda565b6000825111806125345750805b156109f5576120758383612d1a565b6101f85460ff16610c785760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a75565b6001600160a01b0382166125e35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a75565b6125ef6000838361264a565b8061012f60008282546126029190613513565b90915550506001600160a01b038216600081815261012d6020908152604080832080548601905551848152600080516020613976833981519152910160405180910390a35050565b6109f5838383612e0c565b600054610100900460ff16610c785760405162461bcd60e51b8152600401610a759061363b565b600054610100900460ff166126a35760405162461bcd60e51b8152600401610a759061363b565b6101306126b08382613743565b506101316109f58282613743565b600054610100900460ff166126e55760405162461bcd60e51b8152600401610a759061363b565b6101f8805460ff19169055565b600054610100900460ff166127195760405162461bcd60e51b8152600401610a759061363b565b612724600033612e73565b61273c60008051602061395683398151915233612e73565b610a8860008051602061390f83398151915233612e73565b600054610100900460ff16610b515760405162461bcd60e51b8152600401610a759061363b565b6101f85460ff1615610c785760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a75565b60008260000182815481106127d9576127d9613802565b9060005260206000200154905092915050565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115612819575060009050600361289d565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561286d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166128965760006001925092505061289d565b9150600090505b94509492505050565b60008160048111156128ba576128ba613818565b036128c25750565b60018160048111156128d6576128d6613818565b0361291e5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610a75565b600281600481111561293257612932613818565b0361297f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a75565b600381600481111561299357612993613818565b03610b515760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a75565b60606108ed6001600160a01b03831660145b60606000612a0c83600261382e565b612a17906002613513565b6001600160401b03811115612a2e57612a2e61310e565b6040519080825280601f01601f191660200182016040528015612a58576020820181803683370190505b509050600360fc1b81600081518110612a7357612a73613802565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612aa257612aa2613802565b60200101906001600160f81b031916908160001a9053506000612ac684600261382e565b612ad1906001613513565b90505b6001811115612b49576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612b0557612b05613802565b1a60f81b828281518110612b1b57612b1b613802565b60200101906001600160f81b031916908160001a90535060049490941c93612b4281613845565b9050612ad4565b5083156109bd5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a75565b6000818152600183016020526040812054612bdf575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108ed565b5060006108ed565b60008181526001830160205260408120548015612cd0576000612c0b6001836135e8565b8554909150600090612c1f906001906135e8565b9050818114612c84576000866000018281548110612c3f57612c3f613802565b9060005260206000200154905080876000018481548110612c6257612c62613802565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612c9557612c9561385c565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506108ed565b60009150506108ed565b612ce381612484565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060612d2583611f76565b612d805760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610a75565b600080846001600160a01b031684604051612d9b9190613872565b600060405180830381855af49150503d8060008114612dd6576040519150601f19603f3d011682016040523d82523d6000602084013e612ddb565b606091505b5091509150612e03828260405180606001604052806027815260200161392f60279139612e7d565b95945050505050565b6101f85460ff16156109f55760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401610a75565b610a888282611a36565b60608315612e8c5750816109bd565b6109bd8383815115612ea15781518083602001fd5b8060405162461bcd60e51b8152600401610a759190612f35565b600060208284031215612ecd57600080fd5b81356001600160e01b0319811681146109bd57600080fd5b60005b83811015612f00578181015183820152602001612ee8565b50506000910152565b60008151808452612f21816020860160208601612ee5565b601f01601f19169290920160200192915050565b6020815260006109bd6020830184612f09565b6001600160a01b0381168114610b5157600080fd5b60008060408385031215612f7057600080fd5b8235612f7b81612f48565b946020939093013593505050565b600080600060608486031215612f9e57600080fd5b8335612fa981612f48565b92506020840135612fb981612f48565b929592945050506040919091013590565b600060208284031215612fdc57600080fd5b5035919050565b6001600160a01b0391909116815260200190565b6000806040838503121561300a57600080fd5b82359150602083013561301c81612f48565b809150509250929050565b60006020828403121561303957600080fd5b81356109bd81612f48565b60008060006060848603121561305957600080fd5b83359250602084013561306b81612f48565b9150604084013561307b81612f48565b809150509250925092565b6000806000806060858703121561309c57600080fd5b84356130a781612f48565b93506020850135925060408501356001600160401b03808211156130ca57600080fd5b818701915087601f8301126130de57600080fd5b8135818111156130ed57600080fd5b8860208285010111156130ff57600080fd5b95989497505060200194505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561313e5761313e61310e565b604051601f8501601f19908116603f011681019082821181831017156131665761316661310e565b8160405280935085815286868601111561317f57600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126131aa57600080fd5b6109bd83833560208501613124565b600080604083850312156131cc57600080fd5b82356001600160401b03808211156131e357600080fd5b6131ef86838701613199565b9350602085013591508082111561320557600080fd5b5061321285828601613199565b9150509250929050565b6000806040838503121561322f57600080fd5b823561323a81612f48565b915060208301356001600160401b0381111561325557600080fd5b8301601f8101851361326657600080fd5b61321285823560208401613124565b6000806040838503121561328857600080fd5b50508035926020909101359150565b600080600080600080600060e0888a0312156132b257600080fd5b87356132bd81612f48565b965060208801356132cd81612f48565b95506040880135945060608801359350608088013560ff811681146132f157600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561332157600080fd5b823561332c81612f48565b9150602083013561301c81612f48565b600080600080600080600060e0888a03121561335757600080fd5b87356001600160401b038082111561336e57600080fd5b61337a8b838c01613199565b985060208a013591508082111561339057600080fd5b5061339d8a828b01613199565b9650506040880135945060608801356133b581612f48565b935060808801356133c581612f48565b925060a08801356133d581612f48565b915060c08801356133e581612f48565b8091505092959891949750929550565b600181811c9082168061340957607f821691505b6020821081036120f257634e487b7160e01b600052602260045260246000fd5b6020808252602c908201526000805160206138af83398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206138af83398151915260408201526b6163746976652070726f787960a01b606082015260800190565b9283526001600160a01b03918216602084015216604082015260600190565b805180151581146134cc57600080fd5b919050565b600080604083850312156134e457600080fd5b825191506134f4602084016134bc565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808201808211156108ed576108ed6134fd565b83815260406020820152816040820152818360608301376000818301606090810191909152601f909201601f1916010192915050565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252600990820152683737ba1037bbb732b960b91b604082015260600190565b6000602082840312156135df57600080fd5b6109bd826134bc565b818103818111156108ed576108ed6134fd565b60006020828403121561360d57600080fd5b5051919050565b60018060a01b0384168152826020820152606060408201526000612e036060830184612f09565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516136b8816017850160208801612ee5565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516136e9816028840160208801612ee5565b01602801949350505050565b601f8211156109f557600081815260208120601f850160051c8101602086101561371c5750805b601f850160051c820191505b8181101561373b57828155600101613728565b505050505050565b81516001600160401b0381111561375c5761375c61310e565b6137708161376a84546133f5565b846136f5565b602080601f8311600181146137a5576000841561378d5750858301515b600019600386901b1c1916600185901b17855561373b565b600085815260208120601f198616915b828110156137d4578886015182559484019460019091019084016137b5565b50858210156137f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b80820281158282048414176108ed576108ed6134fd565b600081613854576138546134fd565b506000190190565b634e487b7160e01b600052603160045260246000fd5b60008251613884818460208701612ee5565b919091019291505056fe45524332305072657365744d696e7465725061757365723a206d75737420686146756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249865d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65649f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201690eab5366829efc9d4100e47b131210a8adbfa821fffd18cbb76936dc273b064736f6c63430008130033";
|
|
1211
|
+
|
|
1212
|
+
type GoodDollar2ConstructorParams =
|
|
1213
|
+
| [signer?: Signer]
|
|
1214
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1215
|
+
|
|
1216
|
+
const isSuperArgs = (
|
|
1217
|
+
xs: GoodDollar2ConstructorParams
|
|
1218
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1219
|
+
|
|
1220
|
+
export class GoodDollar2__factory extends ContractFactory {
|
|
1221
|
+
constructor(...args: GoodDollar2ConstructorParams) {
|
|
1222
|
+
if (isSuperArgs(args)) {
|
|
1223
|
+
super(...args);
|
|
1224
|
+
} else {
|
|
1225
|
+
super(_abi, _bytecode, args[0]);
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
override deploy(
|
|
1230
|
+
overrides?: Overrides & { from?: string }
|
|
1231
|
+
): Promise<GoodDollar2> {
|
|
1232
|
+
return super.deploy(overrides || {}) as Promise<GoodDollar2>;
|
|
1233
|
+
}
|
|
1234
|
+
override getDeployTransaction(
|
|
1235
|
+
overrides?: Overrides & { from?: string }
|
|
1236
|
+
): TransactionRequest {
|
|
1237
|
+
return super.getDeployTransaction(overrides || {});
|
|
1238
|
+
}
|
|
1239
|
+
override attach(address: string): GoodDollar2 {
|
|
1240
|
+
return super.attach(address) as GoodDollar2;
|
|
1241
|
+
}
|
|
1242
|
+
override connect(signer: Signer): GoodDollar2__factory {
|
|
1243
|
+
return super.connect(signer) as GoodDollar2__factory;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
static readonly bytecode = _bytecode;
|
|
1247
|
+
static readonly abi = _abi;
|
|
1248
|
+
static createInterface(): GoodDollar2Interface {
|
|
1249
|
+
return new utils.Interface(_abi) as GoodDollar2Interface;
|
|
1250
|
+
}
|
|
1251
|
+
static connect(
|
|
1252
|
+
address: string,
|
|
1253
|
+
signerOrProvider: Signer | Provider
|
|
1254
|
+
): GoodDollar2 {
|
|
1255
|
+
return new Contract(address, _abi, signerOrProvider) as GoodDollar2;
|
|
1256
|
+
}
|
|
1257
|
+
}
|