@gooddollar/goodprotocol 2.0.34-beta.4 → 2.1.1
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/README.md +12 -0
- 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/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/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.dbg.json +1 -1
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
- package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking.dbg.json +1 -1
- 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/MultiBaseGovernanceShareField.sol/MultiBaseGovernanceShareField.dbg.json +1 -1
- package/artifacts/contracts/governance/Reputation.sol/Reputation.dbg.json +1 -1
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV3.sol/IdentityV3.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesFuseV2.sol/InvitesFuseV2.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV2.sol/InvitesV2.dbg.json +1 -1
- package/artifacts/contracts/invite/OneTimeReward.sol/OneTimeReward.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionBridgeMock.sol/DistributionBridgeMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodDollarStakingMock.sol/GoodDollarStakingMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/IdentityMock.sol/IdentityMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/IWrapper.dbg.json +1 -1
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/MultichainRouterMock.dbg.json +1 -1
- 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/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
- package/artifacts/contracts/mocks/PayableMock.sol/PayableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/StakingMockFixedAPY.sol/StakingMockFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
- package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
- package/artifacts/contracts/reserve/CeloDistributionHelper.sol/CeloDistributionHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/DistributionHelper.sol/DistributionHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.dbg.json +1 -1
- 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/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/Math64X64.sol/Math64x64.dbg.json +1 -1
- 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/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/GoodDollar2.sol/GoodDollar2.dbg.json +1 -1
- 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/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/SuperGoodDollar.sol/SuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.dbg.json +1 -1
- 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/UUPSUtils.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
- 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/AdminWalletFuse.sol/AdminWalletFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkWhitelist.sol/BulkWhitelist.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyFromReserveHelper.sol/BuyFromReserveHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDClone.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/DonateGDClone.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
- package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/EternalStorage.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/FuseOldBridgeKill.dbg.json +1 -1
- 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/Ownable.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Upgradeable.dbg.json +1 -1
- package/artifacts/contracts/utils/GDFaucet.sol/GDFaucet.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.dbg.json +1 -1
- 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/IdentityFix.sol/IdentityFix.dbg.json +1 -1
- package/artifacts/contracts/utils/LastauthReduction.sol/LastauthReduction.dbg.json +1 -1
- package/artifacts/contracts/utils/MultiCall.sol/Multicall.dbg.json +1 -1
- package/artifacts/contracts/utils/MultichainBridgeHelper.sol/MultichainBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePayments.sol/OneTimePayments.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePaymentsV2.sol/OneTimePaymentsV2.dbg.json +1 -1
- 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/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.dbg.json +1 -1
- package/contracts/IUniswapV3.sol +2 -0
- package/contracts/fuseFaucet/Faucet.sol +6 -0
- package/contracts/fuseFaucet/FuseFaucetV2.sol +10 -0
- package/contracts/mocks/GenericDistributionHelperTest.sol +31 -0
- package/contracts/reserve/GenericDistributionHelper.sol +28 -20
- package/contracts/utils/ProxyFactory1967.sol +1 -0
- package/hardhat.config.ts +29 -21
- package/package.json +3 -2
- package/releases/deployment.json +1 -0
- package/releases/olddao.json +1 -1
- package/scripts/fv.ts +0 -2
- package/scripts/multichain-deploy/fulldeploy.sh +17 -17
- package/scripts/multichain-deploy/helpers.ts +7 -5
- package/scripts/proposals/gip-25-xdc-upgrade-ubi.ts +447 -0
- package/scripts/upgrades/upgradeFaucet.ts +46 -0
- package/test/governance/ClaimersDistribution.test.ts +1 -1
- package/test/reserve/GenericDistributionHelper.test.ts +315 -0
- package/test/ubi/UBISchemeCycle.test.ts +30 -63
- package/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -1
- package/types/@uniswap/index.ts +0 -2
- package/types/AaveMock.ts +1031 -0
- package/types/AaveStakingFactory.ts +290 -0
- package/types/AaveUSDMockOracle.ts +89 -0
- package/types/AccessControl.ts +361 -0
- package/types/AccessControlEnumerableUpgradeable.ts +444 -0
- package/types/AccessControlUpgradeable.ts +371 -0
- package/types/AdminWallet.ts +1234 -0
- package/types/AdminWalletFuse.ts +1340 -0
- package/types/AggregatorV3Interface.ts +192 -0
- package/types/Avatar.ts +121 -0
- package/types/BancorFormula.ts +974 -0
- package/types/BaseShareField.ts +442 -0
- package/types/BaseShareFieldV2.ts +361 -0
- package/types/{contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange.ts → BatUSDMockOracle.ts} +30 -22
- package/types/BuyAndBridgeHelper.ts +279 -0
- package/types/BuyGDClone.ts +383 -0
- package/types/BuyGDCloneFactory.ts +180 -0
- package/types/CBATMock.ts +1203 -0
- package/types/CDAILowWorthMock.ts +1169 -0
- package/types/CDAIMock.ts +1219 -0
- package/types/CDAINonMintableMock.ts +1169 -0
- package/types/CDecimalsMock.ts +1203 -0
- package/types/CERC20.ts +552 -0
- package/types/CSDTMock.ts +1203 -0
- package/types/CUSDCMock.ts +1203 -0
- package/types/ClaimersDistribution.ts +634 -0
- package/types/CompUSDMockOracle.ts +89 -0
- package/types/CompoundStakingFactory.ts +261 -0
- package/types/CompoundVotingMachine.ts +1718 -0
- package/types/ContextUpgradeable.ts +77 -0
- package/types/ContributionCalc.ts +164 -0
- package/types/Controller.ts +547 -0
- package/types/DAIMock.ts +1092 -0
- package/types/DAOContract.ts +162 -0
- package/types/DAOUpgradeableContract.ts +299 -0
- package/types/DaiEthPriceMockOracle.ts +89 -0
- package/types/DecimalsMock.ts +1031 -0
- package/types/DistributionBridgeMock.ts +384 -0
- package/types/{contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper.ts → DistributionHelper.ts} +351 -345
- package/types/{contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper.ts → DistributionHelperTest.ts} +361 -349
- package/types/{contracts/reserve/GenericDistributionHelper.ts → DistributionHelperTestHelper.ts} +417 -401
- package/types/DonationsStaking.ts +805 -0
- package/types/EIP712Upgradeable.ts +77 -0
- package/types/ERC165.ts +104 -0
- package/types/ERC165Upgradeable.ts +115 -0
- package/types/ERC1967Proxy.ts +147 -0
- package/types/{@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts → ERC1967Upgrade.ts} +21 -23
- package/types/ERC1967UpgradeUpgradeable.ts +116 -0
- package/types/ERC20.ts +417 -0
- package/types/ERC20BurnableUpgradeable.ts +488 -0
- package/types/ERC20PausableUpgradeable.ts +458 -0
- package/types/ERC20Permit.ts +186 -0
- package/types/ERC20PermitUpgradeable.ts +531 -0
- package/types/ERC20PresetMinterPauserUpgradeable.ts +1136 -0
- package/types/ERC20Upgradeable.ts +426 -0
- package/types/ERC20WithTokenInfo.ts +339 -0
- package/types/ERC677.ts +131 -0
- package/types/ERC677Receiver.ts +115 -0
- package/types/EthUSDMockOracle.ts +138 -0
- package/types/EventsEmitter.ts +88 -0
- package/types/ExchangeHelper.ts +550 -0
- package/types/Faucet.ts +1167 -0
- package/types/FeesFormulaMock.ts +130 -0
- package/types/FuseFaucet.ts +507 -0
- package/types/FuseFaucetV2.ts +846 -0
- package/types/FuseStakingV3.ts +1212 -0
- package/types/GDFaucet.ts +221 -0
- package/types/GReputation.ts +2119 -0
- package/types/GasPriceMockOracle.ts +118 -0
- package/types/GlobalConstraintInterface.ts +134 -0
- package/types/GoodAaveStaking.ts +1761 -0
- package/types/{contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2.ts → GoodAaveStakingV2.ts} +100 -177
- package/types/GoodCompoundStaking.ts +1847 -0
- package/types/GoodCompoundStakingTest.ts +1957 -0
- package/types/GoodCompoundStakingV2.ts +1645 -0
- package/types/{contracts/token/GoodDollar18.ts → GoodDollar.ts} +140 -278
- package/types/GoodDollarMintBurnWrapper.ts +1792 -0
- package/types/GoodDollarStaking.ts +1947 -0
- package/types/GoodDollarStakingMock.ts +1986 -0
- package/types/GoodFundManager.ts +1126 -0
- package/types/GoodFundManagerTest.ts +1165 -0
- package/types/GoodMarketMaker.ts +1002 -0
- package/types/{contracts/reserve/GoodReserveADai.ts → GoodReserveCDai.ts} +197 -343
- package/types/GovernanceStaking.ts +1295 -0
- package/types/{contracts/Interfaces.sol/IAaveIncentivesControllerV3.ts → IAaveIncentivesController.ts} +47 -48
- package/types/IAccessControl.ts +306 -0
- package/types/IAccessControlEnumerableUpgradeable.ts +380 -0
- package/types/IAccessControlUpgradeable.ts +307 -0
- package/types/IAdminWallet.ts +171 -0
- package/types/{contracts/Interfaces.sol/AToken.ts → IBeacon.ts} +30 -22
- package/types/IBeaconUpgradeable.ts +89 -0
- package/types/IConsensus.ts +225 -0
- package/types/IDonationStaking.ts +98 -0
- package/types/IERC1271Upgradeable.ts +109 -0
- package/types/IERC165.ts +104 -0
- package/types/IERC165Upgradeable.ts +104 -0
- package/types/IERC1820Registry.ts +398 -0
- package/types/IERC1822Proxiable.ts +89 -0
- package/types/IERC1822ProxiableUpgradeable.ts +90 -0
- package/types/IERC20.ts +300 -0
- package/types/IERC20Metadata.ts +339 -0
- package/types/IERC20MetadataUpgradeable.ts +340 -0
- package/types/IERC20Permit.ts +175 -0
- package/types/IERC20PermitUpgradeable.ts +176 -0
- package/types/IERC20Upgradeable.ts +300 -0
- package/types/IERC2917.ts +661 -0
- package/types/IERC777.ts +586 -0
- package/types/IERC777Recipient.ts +130 -0
- package/types/IERC777Sender.ts +130 -0
- package/types/IFeesFormula.ts +111 -0
- package/types/IFirstClaimPool.ts +136 -0
- package/types/IGoodDollar.ts +876 -0
- package/types/IGoodDollarCustom.ts +618 -0
- package/types/IGoodDollarStakingTest.ts +160 -0
- package/types/IGoodStaking.ts +264 -0
- package/types/IGovernanceStaking.ts +98 -0
- package/types/{contracts/utils/ReserveRestore.sol/MentoExchange.ts → IHasRouter.ts} +24 -22
- package/types/IIdentity.ts +508 -0
- package/types/IIdentityV2.ts +591 -0
- package/types/ILayerZeroFeeEstimator.ts +136 -0
- package/types/{contracts/Interfaces.sol/ILendingPoolV3.ts → ILendingPool.ts} +76 -89
- package/types/IMessagePassingBridge.ts +774 -0
- package/types/IMultichainRouter.ts +166 -0
- package/types/INameService.ts +86 -0
- package/types/IRouter.ts +143 -0
- package/types/IStakingUpgrade.ts +110 -0
- package/types/IStaticOracle.ts +677 -0
- package/types/ISuperAgreement.ts +151 -0
- package/types/ISuperApp.ts +410 -0
- package/types/ISuperGoodDollar.ts +3029 -0
- package/types/ISuperToken.ts +2326 -0
- package/types/ISuperTokenFactory.ts +415 -0
- package/types/ISuperfluid.ts +1565 -0
- package/types/ISuperfluidGovernance.ts +455 -0
- package/types/ISuperfluidToken.ts +951 -0
- package/types/ISwapRouter.ts +298 -0
- package/types/IUBIScheme.ts +121 -0
- package/types/IUniswapV3Factory.ts +333 -0
- package/types/IWrapper.ts +143 -0
- package/types/IdentityFix.ts +141 -0
- package/types/IdentityMock.ts +527 -0
- package/types/IdentityV2.ts +1782 -0
- package/types/IncentiveControllerMock.ts +207 -0
- package/types/Initializable.ts +77 -0
- package/types/IntVoteInterface.ts +468 -0
- package/types/InvitesFuseV2.ts +840 -0
- package/types/InvitesV1.ts +806 -0
- package/types/InvitesV2.ts +1016 -0
- package/types/LendingPoolMock.ts +1259 -0
- package/types/MultiBaseGovernanceShareField.ts +411 -0
- package/types/Multicall.ts +298 -0
- package/types/MultichainBridgeHelper.ts +170 -0
- package/types/MultichainFeeFormula.ts +130 -0
- package/types/MultichainRouterMock.ts +141 -0
- package/types/NameService.ts +386 -0
- package/types/OldMarketMaker.ts +113 -0
- package/types/OneTimePayments.ts +396 -0
- package/types/OneTimePaymentsV2.ts +456 -0
- package/types/OverMintTester.ts +176 -0
- package/types/OverMintTesterRegularStake.ts +177 -0
- package/types/OwnableUpgradeable.ts +175 -0
- package/types/Pausable.ts +103 -0
- package/types/PausableControl.ts +125 -0
- package/types/PausableUpgradeable.ts +112 -0
- package/types/PayableMock.ts +92 -0
- package/types/PegSwap.ts +112 -0
- package/types/ProtocolUpgrade.ts +272 -0
- package/types/ProtocolUpgradeFuse.ts +166 -0
- package/types/ProtocolUpgradeFuseRecover.ts +167 -0
- package/types/ProtocolUpgradeRecover.ts +264 -0
- package/types/Proxy.ts +66 -0
- package/types/ProxyAdmin.ts +254 -0
- package/types/ProxyFactory1967.ts +284 -0
- package/types/ReentrancyGuardUpgradeable.ts +78 -0
- package/types/Reputation.ts +964 -0
- package/types/ReputationInterface.ts +261 -0
- package/types/ReputationTestHelper.ts +175 -0
- package/types/Reserve.ts +112 -0
- package/types/RewardsMinter.ts +107 -0
- package/types/SchemeRegistrar.ts +164 -0
- package/types/SelfApprove.ts +115 -0
- package/types/SimpleStaking.ts +1523 -0
- package/types/SimpleStakingV2.ts +1427 -0
- package/types/SixteenDecimalsTokenMock.ts +1032 -0
- package/types/StakersDistribution.ts +949 -0
- package/types/Staking.ts +158 -0
- package/types/StakingMockFixedAPY.ts +995 -0
- package/types/StakingRewardsFixedAPY.ts +428 -0
- package/types/SuperGoodDollar.ts +3662 -0
- package/types/SuperToken.ts +2434 -0
- package/types/SuperfluidToken.ts +951 -0
- package/types/SwapHelperTest.ts +120 -0
- package/types/TokenInfo.ts +109 -0
- package/types/TwentyDecimalsTokenMock.ts +1032 -0
- package/types/UBIScheme.ts +1461 -0
- package/types/UBISchemeV2.ts +1192 -0
- package/types/USDCMock.ts +1031 -0
- package/types/UUPSProxiable.ts +183 -0
- package/types/UUPSProxy.ts +105 -0
- package/types/UUPSUpgradeable.ts +207 -0
- package/types/Uniswap.ts +423 -0
- package/types/UniswapFactory.ts +106 -0
- package/types/UniswapPair.ts +187 -0
- package/types/UniswapV2SwapHelper.ts +124 -0
- package/types/UpgradableMock.ts +349 -0
- package/types/UpgradableMock2.ts +311 -0
- package/types/UpgradableMock3.ts +336 -0
- package/types/UpgradableMock4.ts +336 -0
- package/types/contracts/index.ts +0 -4
- package/types/contracts/reserve/index.ts +0 -1
- package/types/contracts/ubi/UBISchemeV2.ts +3 -14
- package/types/contracts/utils/BuyGDClone.sol/index.ts +2 -0
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -1
- package/types/factories/@uniswap/index.ts +0 -1
- package/types/factories/AaveMock__factory.ts +740 -0
- package/types/factories/AaveStakingFactory__factory.ts +262 -0
- package/types/factories/AaveUSDMockOracle__factory.ts +75 -0
- package/types/factories/AccessControlEnumerableUpgradeable__factory.ts +292 -0
- package/types/factories/AccessControlUpgradeable__factory.ts +247 -0
- package/types/factories/AccessControl__factory.ts +227 -0
- package/types/factories/AdminWalletFuse__factory.ts +933 -0
- package/types/factories/AdminWallet__factory.ts +865 -0
- package/types/factories/AggregatorV3Interface__factory.ts +121 -0
- package/types/factories/Avatar__factory.ts +59 -0
- package/types/factories/BancorFormula__factory.ts +674 -0
- package/types/factories/BaseShareFieldV2__factory.ts +251 -0
- package/types/factories/BaseShareField__factory.ts +307 -0
- package/types/factories/BatUSDMockOracle__factory.ts +75 -0
- package/types/factories/BuyAndBridgeHelper__factory.ts +237 -0
- package/types/factories/BuyGDCloneFactory__factory.ts +196 -0
- package/types/factories/BuyGDClone__factory.ts +343 -0
- package/types/factories/CBATMock__factory.ts +844 -0
- package/types/factories/CDAILowWorthMock__factory.ts +834 -0
- package/types/factories/CDAIMock__factory.ts +857 -0
- package/types/factories/CDAINonMintableMock__factory.ts +834 -0
- package/types/factories/CDecimalsMock__factory.ts +844 -0
- package/types/factories/CERC20__factory.ts +381 -0
- package/types/factories/CSDTMock__factory.ts +844 -0
- package/types/factories/CUSDCMock__factory.ts +844 -0
- package/types/factories/ClaimersDistribution__factory.ts +430 -0
- package/types/factories/CompUSDMockOracle__factory.ts +75 -0
- package/types/factories/CompoundStakingFactory__factory.ts +249 -0
- package/types/factories/CompoundVotingMachine__factory.ts +1208 -0
- package/types/factories/ContextUpgradeable__factory.ts +39 -0
- package/types/factories/ContributionCalc__factory.ts +83 -0
- package/types/factories/Controller__factory.ts +359 -0
- package/types/factories/DAIMock__factory.ts +783 -0
- package/types/factories/DAOContract__factory.ts +118 -0
- package/types/factories/DAOUpgradeableContract__factory.ts +227 -0
- package/types/factories/DaiEthPriceMockOracle__factory.ts +79 -0
- package/types/factories/DecimalsMock__factory.ts +755 -0
- package/types/factories/DistributionBridgeMock__factory.ts +312 -0
- package/types/factories/DistributionHelperTestHelper__factory.ts +1008 -0
- package/types/factories/DistributionHelperTest__factory.ts +975 -0
- package/types/factories/DistributionHelper__factory.ts +971 -0
- package/types/factories/DonationsStaking__factory.ts +580 -0
- package/types/factories/EIP712Upgradeable__factory.ts +39 -0
- package/types/factories/ERC165Upgradeable__factory.ts +58 -0
- package/types/factories/ERC165__factory.ts +39 -0
- package/types/factories/ERC1967Proxy__factory.ts +130 -0
- package/types/factories/ERC1967UpgradeUpgradeable__factory.ts +88 -0
- package/types/factories/ERC1967Upgrade__factory.ts +71 -0
- package/types/factories/ERC20BurnableUpgradeable__factory.ts +344 -0
- package/types/factories/ERC20PausableUpgradeable__factory.ts +352 -0
- package/types/factories/ERC20PermitUpgradeable__factory.ts +388 -0
- package/types/factories/ERC20Permit__factory.ts +111 -0
- package/types/factories/ERC20PresetMinterPauserUpgradeable__factory.ts +827 -0
- package/types/factories/ERC20Upgradeable__factory.ts +345 -0
- package/types/factories/ERC20WithTokenInfo__factory.ts +248 -0
- package/types/factories/ERC20__factory.ts +285 -0
- package/types/factories/ERC677Receiver__factory.ts +55 -0
- package/types/factories/ERC677__factory.ts +75 -0
- package/types/factories/EthUSDMockOracle__factory.ts +108 -0
- package/types/factories/EventsEmitter__factory.ts +84 -0
- package/types/factories/ExchangeHelper__factory.ts +427 -0
- package/types/factories/Faucet__factory.ts +826 -0
- package/types/factories/FeesFormulaMock__factory.ts +132 -0
- package/types/factories/FuseFaucetV2__factory.ts +592 -0
- package/types/factories/FuseFaucet__factory.ts +386 -0
- package/types/factories/FuseStakingV3__factory.ts +806 -0
- package/types/factories/GDFaucet__factory.ts +188 -0
- package/types/factories/GReputation__factory.ts +1490 -0
- package/types/factories/GasPriceMockOracle__factory.ts +88 -0
- package/types/factories/GlobalConstraintInterface__factory.ts +72 -0
- package/types/factories/GoodAaveStakingV2__factory.ts +1240 -0
- package/types/factories/GoodAaveStaking__factory.ts +1276 -0
- package/types/factories/GoodCompoundStakingTest__factory.ts +1470 -0
- package/types/factories/GoodCompoundStakingV2__factory.ts +1182 -0
- package/types/factories/GoodCompoundStaking__factory.ts +1316 -0
- package/types/factories/GoodDollarMintBurnWrapper__factory.ts +1330 -0
- package/types/factories/GoodDollarStakingMock__factory.ts +1497 -0
- package/types/factories/GoodDollarStaking__factory.ts +1469 -0
- package/types/factories/{contracts/token/GoodDollar18__factory.ts → GoodDollar__factory.ts} +23 -26
- package/types/factories/GoodFundManagerTest__factory.ts +801 -0
- package/types/factories/GoodFundManager__factory.ts +759 -0
- package/types/factories/GoodMarketMaker__factory.ts +687 -0
- package/types/factories/GoodReserveCDai__factory.ts +1489 -0
- package/types/factories/GovernanceStaking__factory.ts +948 -0
- package/types/factories/{contracts/Interfaces.sol/IAaveIncentivesControllerV3__factory.ts → IAaveIncentivesController__factory.ts} +22 -27
- package/types/factories/IAccessControlEnumerableUpgradeable__factory.ts +247 -0
- package/types/factories/IAccessControlUpgradeable__factory.ts +202 -0
- package/types/factories/IAccessControl__factory.ts +198 -0
- package/types/factories/IAdminWallet__factory.ts +75 -0
- package/types/factories/{contracts/utils/ReserveRestore.sol/MentoExchange__factory.ts → IBeaconUpgradeable__factory.ts} +11 -11
- package/types/factories/IBeacon__factory.ts +36 -0
- package/types/factories/IConsensus__factory.ts +116 -0
- package/types/factories/IDonationStaking__factory.ts +33 -0
- package/types/factories/IERC1271Upgradeable__factory.ts +50 -0
- package/types/factories/IERC165Upgradeable__factory.ts +45 -0
- package/types/factories/IERC165__factory.ts +42 -0
- package/types/factories/IERC1820Registry__factory.ts +239 -0
- package/types/factories/IERC1822ProxiableUpgradeable__factory.ts +43 -0
- package/types/factories/IERC1822Proxiable__factory.ts +39 -0
- package/types/factories/IERC20MetadataUpgradeable__factory.ts +252 -0
- package/types/factories/IERC20Metadata__factory.ts +248 -0
- package/types/factories/IERC20PermitUpgradeable__factory.ts +105 -0
- package/types/factories/IERC20Permit__factory.ts +98 -0
- package/types/factories/IERC20Upgradeable__factory.ts +209 -0
- package/types/factories/IERC20__factory.ts +203 -0
- package/types/factories/IERC2917__factory.ts +493 -0
- package/types/factories/IERC777Recipient__factory.ts +64 -0
- package/types/factories/IERC777Sender__factory.ts +61 -0
- package/types/factories/IERC777__factory.ts +414 -0
- package/types/factories/IFeesFormula__factory.ts +57 -0
- package/types/factories/IFirstClaimPool__factory.ts +65 -0
- package/types/factories/IGoodDollarCustom__factory.ts +370 -0
- package/types/factories/IGoodDollarStakingTest__factory.ts +68 -0
- package/types/factories/IGoodDollar__factory.ts +595 -0
- package/types/factories/IGoodStaking__factory.ts +175 -0
- package/types/factories/IGovernanceStaking__factory.ts +39 -0
- package/types/factories/IHasRouter__factory.ts +36 -0
- package/types/factories/IIdentityV2__factory.ts +331 -0
- package/types/factories/IIdentity__factory.ts +284 -0
- package/types/factories/ILayerZeroFeeEstimator__factory.ts +79 -0
- package/types/factories/{contracts/Interfaces.sol/ILendingPoolV3__factory.ts → ILendingPool__factory.ts} +14 -32
- package/types/factories/IMessagePassingBridge__factory.ts +446 -0
- package/types/factories/IMultichainRouter__factory.ts +82 -0
- package/types/factories/INameService__factory.ts +42 -0
- package/types/factories/{@uniswap/v2-periphery/contracts/interfaces/IWETH__factory.ts → IRouter__factory.ts} +28 -24
- package/types/factories/IStakingUpgrade__factory.ts +50 -0
- package/types/factories/IStaticOracle__factory.ts +407 -0
- package/types/factories/ISuperAgreement__factory.ts +78 -0
- package/types/factories/ISuperApp__factory.ts +272 -0
- package/types/factories/ISuperGoodDollar__factory.ts +2147 -0
- package/types/factories/ISuperTokenFactory__factory.ts +271 -0
- package/types/factories/ISuperToken__factory.ts +1682 -0
- package/types/factories/ISuperfluidGovernance__factory.ts +264 -0
- package/types/factories/ISuperfluidToken__factory.ts +697 -0
- package/types/factories/ISuperfluid__factory.ts +1143 -0
- package/types/factories/ISwapRouter__factory.ts +217 -0
- package/types/factories/IUBIScheme__factory.ts +68 -0
- package/types/factories/IUniswapV3Factory__factory.ts +222 -0
- package/types/factories/IWrapper__factory.ts +71 -0
- package/types/factories/IdentityFix__factory.ts +110 -0
- package/types/factories/IdentityMock__factory.ts +346 -0
- package/types/factories/IdentityV2__factory.ts +1147 -0
- package/types/factories/IncentiveControllerMock__factory.ts +166 -0
- package/types/factories/Initializable__factory.ts +36 -0
- package/types/factories/IntVoteInterface__factory.ts +349 -0
- package/types/factories/InvitesFuseV2__factory.ts +571 -0
- package/types/factories/InvitesV1__factory.ts +553 -0
- package/types/factories/InvitesV2__factory.ts +688 -0
- package/types/factories/LendingPoolMock__factory.ts +927 -0
- package/types/factories/MultiBaseGovernanceShareField__factory.ts +240 -0
- package/types/factories/Multicall__factory.ts +215 -0
- package/types/factories/MultichainBridgeHelper__factory.ts +134 -0
- package/types/factories/MultichainFeeFormula__factory.ts +113 -0
- package/types/factories/MultichainRouterMock__factory.ts +141 -0
- package/types/factories/NameService__factory.ts +290 -0
- package/types/factories/OldMarketMaker__factory.ts +62 -0
- package/types/factories/OneTimePaymentsV2__factory.ts +369 -0
- package/types/factories/OneTimePayments__factory.ts +323 -0
- package/types/factories/OverMintTesterRegularStake__factory.ts +156 -0
- package/types/factories/OverMintTester__factory.ts +152 -0
- package/types/factories/OwnableUpgradeable__factory.ts +91 -0
- package/types/factories/PausableControl__factory.ts +84 -0
- package/types/factories/PausableUpgradeable__factory.ts +78 -0
- package/types/factories/Pausable__factory.ts +62 -0
- package/types/factories/PayableMock__factory.ts +66 -0
- package/types/factories/PegSwap__factory.ts +46 -0
- package/types/factories/ProtocolUpgradeFuseRecover__factory.ts +146 -0
- package/types/factories/ProtocolUpgradeFuse__factory.ts +142 -0
- package/types/factories/ProtocolUpgradeRecover__factory.ts +184 -0
- package/types/factories/ProtocolUpgrade__factory.ts +207 -0
- package/types/factories/ProxyAdmin__factory.ts +128 -0
- package/types/factories/ProxyFactory1967__factory.ts +223 -0
- package/types/factories/Proxy__factory.ts +28 -0
- package/types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
- package/types/factories/ReputationInterface__factory.ts +168 -0
- package/types/factories/ReputationTestHelper__factory.ts +141 -0
- package/types/factories/Reputation__factory.ts +693 -0
- package/types/factories/Reserve__factory.ts +52 -0
- package/types/factories/RewardsMinter__factory.ts +47 -0
- package/types/factories/SchemeRegistrar__factory.ts +114 -0
- package/types/factories/SelfApprove__factory.ts +46 -0
- package/types/factories/SimpleStakingV2__factory.ts +999 -0
- package/types/factories/SimpleStaking__factory.ts +1058 -0
- package/types/factories/SixteenDecimalsTokenMock__factory.ts +747 -0
- package/types/factories/StakersDistribution__factory.ts +617 -0
- package/types/factories/StakingMockFixedAPY__factory.ts +745 -0
- package/types/factories/StakingRewardsFixedAPY__factory.ts +287 -0
- package/types/factories/Staking__factory.ts +74 -0
- package/types/factories/SuperGoodDollar__factory.ts +2680 -0
- package/types/factories/SuperToken__factory.ts +1809 -0
- package/types/factories/SuperfluidToken__factory.ts +697 -0
- package/types/factories/SwapHelperTest__factory.ts +96 -0
- package/types/factories/TokenInfo__factory.ts +62 -0
- package/types/factories/TwentyDecimalsTokenMock__factory.ts +747 -0
- package/types/factories/UBISchemeV2__factory.ts +837 -0
- package/types/factories/UBIScheme__factory.ts +1034 -0
- package/types/factories/USDCMock__factory.ts +740 -0
- package/types/factories/UUPSProxiable__factory.ts +101 -0
- package/types/factories/UUPSProxy__factory.ts +80 -0
- package/types/factories/UUPSUpgradeable__factory.ts +128 -0
- package/types/factories/UniswapFactory__factory.ts +50 -0
- package/types/factories/UniswapPair__factory.ts +117 -0
- package/types/factories/UniswapV2SwapHelper__factory.ts +101 -0
- package/types/factories/Uniswap__factory.ts +272 -0
- package/types/factories/UpgradableMock2__factory.ts +236 -0
- package/types/factories/UpgradableMock3__factory.ts +249 -0
- package/types/factories/UpgradableMock4__factory.ts +249 -0
- package/types/factories/UpgradableMock__factory.ts +262 -0
- package/types/factories/contracts/index.ts +0 -2
- package/types/factories/contracts/reserve/index.ts +0 -1
- package/types/factories/contracts/ubi/UBISchemeV2__factory.ts +1 -6
- package/types/factories/contracts/utils/BuyGDClone.sol/index.ts +2 -0
- package/types/hardhat.d.ts +18 -54
- package/types/index.ts +2 -10
- package/artifacts/abis/GenericDistributionHelper.min.json +0 -1
- package/artifacts/abis/INonfungiblePositionManager.min.json +0 -1
- package/artifacts/abis/IUniswapV3Pool.min.json +0 -1
- package/artifacts/contracts/IQuoter.sol/IQuoterV2.dbg.json +0 -4
- package/artifacts/contracts/IQuoter.sol/IQuoterV2.json +0 -211
- package/artifacts/contracts/IUniswapV3.sol/INonfungiblePositionManager.dbg.json +0 -4
- package/artifacts/contracts/IUniswapV3.sol/INonfungiblePositionManager.json +0 -102
- package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.dbg.json +0 -4
- package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.json +0 -93
- package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.dbg.json +0 -4
- package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.json +0 -931
- package/contracts/IQuoter.sol +0 -108
- package/dist/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.json +0 -1099
- package/dist/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.json +0 -2627
- package/dist/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.json +0 -32
- package/dist/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.json +0 -82
- package/dist/test-sdk/deploySuperGoodDollar.d.ts +0 -6
- package/dist/test-sdk/deploySuperGoodDollar.js +0 -46
- package/dist/test-sdk/index.d.ts +0 -1
- package/dist/test-sdk/index.js +0 -13
- package/scripts/multichain-deploy/verify.ts +0 -41
- package/scripts/proposals/gip-25-xdc-upgrade.ts +0 -438
- package/types/@uniswap/v2-periphery/contracts/index.ts +0 -5
- package/types/@uniswap/v2-periphery/contracts/interfaces/IWETH.ts +0 -159
- package/types/@uniswap/v2-periphery/contracts/interfaces/index.ts +0 -4
- package/types/@uniswap/v2-periphery/index.ts +0 -5
- package/types/contracts/IQuoter.sol/IQuoterV2.ts +0 -297
- package/types/contracts/IQuoter.sol/index.ts +0 -4
- package/types/contracts/IUniswapV3.sol/INonfungiblePositionManager.ts +0 -151
- package/types/contracts/IUniswapV3.sol/IUniswapV3Factory.ts +0 -155
- package/types/contracts/IUniswapV3.sol/IUniswapV3Pool.ts +0 -179
- package/types/contracts/IUniswapV3.sol/index.ts +0 -5
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor.ts +0 -648
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable.ts +0 -843
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +0 -4
- package/types/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +0 -4
- package/types/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +0 -4
- package/types/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677.ts +0 -108
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.ts +0 -161
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +0 -5
- package/types/contracts/utils/ReserveRestore.sol/ReserveRestore.ts +0 -112
- package/types/contracts/utils/ReserveRestore.sol/index.ts +0 -5
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +0 -146
- package/types/factories/@uniswap/v2-periphery/contracts/index.ts +0 -4
- package/types/factories/@uniswap/v2-periphery/contracts/interfaces/index.ts +0 -4
- package/types/factories/@uniswap/v2-periphery/index.ts +0 -4
- package/types/factories/contracts/IQuoter.sol/IQuoterV2__factory.ts +0 -226
- package/types/factories/contracts/IQuoter.sol/index.ts +0 -4
- package/types/factories/contracts/IUniswapV3.sol/INonfungiblePositionManager__factory.ts +0 -121
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Factory__factory.ts +0 -84
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Pool__factory.ts +0 -108
- package/types/factories/contracts/IUniswapV3.sol/index.ts +0 -5
- package/types/factories/contracts/Interfaces.sol/AToken__factory.ts +0 -36
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable__factory.ts +0 -572
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor__factory.ts +0 -482
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +0 -4
- package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper__factory.ts +0 -929
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper__factory.ts +0 -935
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +0 -4
- package/types/factories/contracts/reserve/GenericDistributionHelper__factory.ts +0 -987
- package/types/factories/contracts/reserve/GoodReserveADai__factory.ts +0 -1502
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2__factory.ts +0 -1240
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +0 -4
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677__factory.ts +0 -86
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange__factory.ts +0 -39
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +0 -152
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +0 -5
- package/types/factories/contracts/utils/ReserveRestore.sol/ReserveRestore__factory.ts +0 -95
- package/types/factories/contracts/utils/ReserveRestore.sol/index.ts +0 -5
|
@@ -1,929 +0,0 @@
|
|
|
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
|
-
DistributionHelperTestHelper,
|
|
8
|
-
DistributionHelperTestHelperInterface,
|
|
9
|
-
} from "../../../../contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "uint256",
|
|
16
|
-
name: "fee",
|
|
17
|
-
type: "uint256",
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
name: "FEE_LIMIT",
|
|
21
|
-
type: "error",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
anonymous: false,
|
|
25
|
-
inputs: [
|
|
26
|
-
{
|
|
27
|
-
indexed: false,
|
|
28
|
-
internalType: "address",
|
|
29
|
-
name: "previousAdmin",
|
|
30
|
-
type: "address",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
indexed: false,
|
|
34
|
-
internalType: "address",
|
|
35
|
-
name: "newAdmin",
|
|
36
|
-
type: "address",
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
name: "AdminChanged",
|
|
40
|
-
type: "event",
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
anonymous: false,
|
|
44
|
-
inputs: [
|
|
45
|
-
{
|
|
46
|
-
indexed: true,
|
|
47
|
-
internalType: "address",
|
|
48
|
-
name: "beacon",
|
|
49
|
-
type: "address",
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
name: "BeaconUpgraded",
|
|
53
|
-
type: "event",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
anonymous: false,
|
|
57
|
-
inputs: [
|
|
58
|
-
{
|
|
59
|
-
indexed: false,
|
|
60
|
-
internalType: "uint256",
|
|
61
|
-
name: "distributed",
|
|
62
|
-
type: "uint256",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
indexed: false,
|
|
66
|
-
internalType: "uint256",
|
|
67
|
-
name: "startingBalance",
|
|
68
|
-
type: "uint256",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
indexed: false,
|
|
72
|
-
internalType: "uint256",
|
|
73
|
-
name: "incomingAmount",
|
|
74
|
-
type: "uint256",
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
components: [
|
|
78
|
-
{
|
|
79
|
-
internalType: "uint32",
|
|
80
|
-
name: "bps",
|
|
81
|
-
type: "uint32",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
internalType: "uint32",
|
|
85
|
-
name: "chainId",
|
|
86
|
-
type: "uint32",
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
internalType: "address",
|
|
90
|
-
name: "addr",
|
|
91
|
-
type: "address",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
internalType: "enum CeloDistributionHelper.TransferType",
|
|
95
|
-
name: "transferType",
|
|
96
|
-
type: "uint8",
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
indexed: false,
|
|
100
|
-
internalType: "struct CeloDistributionHelper.DistributionRecipient[]",
|
|
101
|
-
name: "distributionRecipients",
|
|
102
|
-
type: "tuple[]",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
indexed: false,
|
|
106
|
-
internalType: "uint256",
|
|
107
|
-
name: "gdSoldForGas",
|
|
108
|
-
type: "uint256",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
indexed: false,
|
|
112
|
-
internalType: "uint256",
|
|
113
|
-
name: "nativeBoughtForGas",
|
|
114
|
-
type: "uint256",
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
name: "Distribution",
|
|
118
|
-
type: "event",
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
anonymous: false,
|
|
122
|
-
inputs: [
|
|
123
|
-
{
|
|
124
|
-
indexed: false,
|
|
125
|
-
internalType: "uint8",
|
|
126
|
-
name: "version",
|
|
127
|
-
type: "uint8",
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
name: "Initialized",
|
|
131
|
-
type: "event",
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
anonymous: false,
|
|
135
|
-
inputs: [
|
|
136
|
-
{
|
|
137
|
-
components: [
|
|
138
|
-
{
|
|
139
|
-
internalType: "uint32",
|
|
140
|
-
name: "bps",
|
|
141
|
-
type: "uint32",
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
internalType: "uint32",
|
|
145
|
-
name: "chainId",
|
|
146
|
-
type: "uint32",
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
internalType: "address",
|
|
150
|
-
name: "addr",
|
|
151
|
-
type: "address",
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
internalType: "enum CeloDistributionHelper.TransferType",
|
|
155
|
-
name: "transferType",
|
|
156
|
-
type: "uint8",
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
indexed: false,
|
|
160
|
-
internalType: "struct CeloDistributionHelper.DistributionRecipient",
|
|
161
|
-
name: "recipient",
|
|
162
|
-
type: "tuple",
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
indexed: false,
|
|
166
|
-
internalType: "uint256",
|
|
167
|
-
name: "index",
|
|
168
|
-
type: "uint256",
|
|
169
|
-
},
|
|
170
|
-
],
|
|
171
|
-
name: "RecipientAdded",
|
|
172
|
-
type: "event",
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
anonymous: false,
|
|
176
|
-
inputs: [
|
|
177
|
-
{
|
|
178
|
-
components: [
|
|
179
|
-
{
|
|
180
|
-
internalType: "uint32",
|
|
181
|
-
name: "bps",
|
|
182
|
-
type: "uint32",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
internalType: "uint32",
|
|
186
|
-
name: "chainId",
|
|
187
|
-
type: "uint32",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
internalType: "address",
|
|
191
|
-
name: "addr",
|
|
192
|
-
type: "address",
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
internalType: "enum CeloDistributionHelper.TransferType",
|
|
196
|
-
name: "transferType",
|
|
197
|
-
type: "uint8",
|
|
198
|
-
},
|
|
199
|
-
],
|
|
200
|
-
indexed: false,
|
|
201
|
-
internalType: "struct CeloDistributionHelper.DistributionRecipient",
|
|
202
|
-
name: "recipient",
|
|
203
|
-
type: "tuple",
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
indexed: false,
|
|
207
|
-
internalType: "uint256",
|
|
208
|
-
name: "index",
|
|
209
|
-
type: "uint256",
|
|
210
|
-
},
|
|
211
|
-
],
|
|
212
|
-
name: "RecipientUpdated",
|
|
213
|
-
type: "event",
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
anonymous: false,
|
|
217
|
-
inputs: [
|
|
218
|
-
{
|
|
219
|
-
indexed: true,
|
|
220
|
-
internalType: "bytes32",
|
|
221
|
-
name: "role",
|
|
222
|
-
type: "bytes32",
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
indexed: true,
|
|
226
|
-
internalType: "bytes32",
|
|
227
|
-
name: "previousAdminRole",
|
|
228
|
-
type: "bytes32",
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
indexed: true,
|
|
232
|
-
internalType: "bytes32",
|
|
233
|
-
name: "newAdminRole",
|
|
234
|
-
type: "bytes32",
|
|
235
|
-
},
|
|
236
|
-
],
|
|
237
|
-
name: "RoleAdminChanged",
|
|
238
|
-
type: "event",
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
anonymous: false,
|
|
242
|
-
inputs: [
|
|
243
|
-
{
|
|
244
|
-
indexed: true,
|
|
245
|
-
internalType: "bytes32",
|
|
246
|
-
name: "role",
|
|
247
|
-
type: "bytes32",
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
indexed: true,
|
|
251
|
-
internalType: "address",
|
|
252
|
-
name: "account",
|
|
253
|
-
type: "address",
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
indexed: true,
|
|
257
|
-
internalType: "address",
|
|
258
|
-
name: "sender",
|
|
259
|
-
type: "address",
|
|
260
|
-
},
|
|
261
|
-
],
|
|
262
|
-
name: "RoleGranted",
|
|
263
|
-
type: "event",
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
anonymous: false,
|
|
267
|
-
inputs: [
|
|
268
|
-
{
|
|
269
|
-
indexed: true,
|
|
270
|
-
internalType: "bytes32",
|
|
271
|
-
name: "role",
|
|
272
|
-
type: "bytes32",
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
indexed: true,
|
|
276
|
-
internalType: "address",
|
|
277
|
-
name: "account",
|
|
278
|
-
type: "address",
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
indexed: true,
|
|
282
|
-
internalType: "address",
|
|
283
|
-
name: "sender",
|
|
284
|
-
type: "address",
|
|
285
|
-
},
|
|
286
|
-
],
|
|
287
|
-
name: "RoleRevoked",
|
|
288
|
-
type: "event",
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
anonymous: false,
|
|
292
|
-
inputs: [
|
|
293
|
-
{
|
|
294
|
-
indexed: true,
|
|
295
|
-
internalType: "address",
|
|
296
|
-
name: "implementation",
|
|
297
|
-
type: "address",
|
|
298
|
-
},
|
|
299
|
-
],
|
|
300
|
-
name: "Upgraded",
|
|
301
|
-
type: "event",
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
inputs: [],
|
|
305
|
-
name: "CELO",
|
|
306
|
-
outputs: [
|
|
307
|
-
{
|
|
308
|
-
internalType: "address",
|
|
309
|
-
name: "",
|
|
310
|
-
type: "address",
|
|
311
|
-
},
|
|
312
|
-
],
|
|
313
|
-
stateMutability: "view",
|
|
314
|
-
type: "function",
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
inputs: [],
|
|
318
|
-
name: "CUSD",
|
|
319
|
-
outputs: [
|
|
320
|
-
{
|
|
321
|
-
internalType: "address",
|
|
322
|
-
name: "",
|
|
323
|
-
type: "address",
|
|
324
|
-
},
|
|
325
|
-
],
|
|
326
|
-
stateMutability: "view",
|
|
327
|
-
type: "function",
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
inputs: [],
|
|
331
|
-
name: "DEFAULT_ADMIN_ROLE",
|
|
332
|
-
outputs: [
|
|
333
|
-
{
|
|
334
|
-
internalType: "bytes32",
|
|
335
|
-
name: "",
|
|
336
|
-
type: "bytes32",
|
|
337
|
-
},
|
|
338
|
-
],
|
|
339
|
-
stateMutability: "view",
|
|
340
|
-
type: "function",
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
inputs: [],
|
|
344
|
-
name: "GUARDIAN_ROLE",
|
|
345
|
-
outputs: [
|
|
346
|
-
{
|
|
347
|
-
internalType: "bytes32",
|
|
348
|
-
name: "",
|
|
349
|
-
type: "bytes32",
|
|
350
|
-
},
|
|
351
|
-
],
|
|
352
|
-
stateMutability: "view",
|
|
353
|
-
type: "function",
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
inputs: [],
|
|
357
|
-
name: "ROUTER",
|
|
358
|
-
outputs: [
|
|
359
|
-
{
|
|
360
|
-
internalType: "contract ISwapRouter",
|
|
361
|
-
name: "",
|
|
362
|
-
type: "address",
|
|
363
|
-
},
|
|
364
|
-
],
|
|
365
|
-
stateMutability: "view",
|
|
366
|
-
type: "function",
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
inputs: [],
|
|
370
|
-
name: "STATIC_ORACLE",
|
|
371
|
-
outputs: [
|
|
372
|
-
{
|
|
373
|
-
internalType: "contract IStaticOracle",
|
|
374
|
-
name: "",
|
|
375
|
-
type: "address",
|
|
376
|
-
},
|
|
377
|
-
],
|
|
378
|
-
stateMutability: "view",
|
|
379
|
-
type: "function",
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
inputs: [
|
|
383
|
-
{
|
|
384
|
-
components: [
|
|
385
|
-
{
|
|
386
|
-
internalType: "uint32",
|
|
387
|
-
name: "bps",
|
|
388
|
-
type: "uint32",
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
internalType: "uint32",
|
|
392
|
-
name: "chainId",
|
|
393
|
-
type: "uint32",
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
internalType: "address",
|
|
397
|
-
name: "addr",
|
|
398
|
-
type: "address",
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
internalType: "enum CeloDistributionHelper.TransferType",
|
|
402
|
-
name: "transferType",
|
|
403
|
-
type: "uint8",
|
|
404
|
-
},
|
|
405
|
-
],
|
|
406
|
-
internalType: "struct CeloDistributionHelper.DistributionRecipient",
|
|
407
|
-
name: "_recipient",
|
|
408
|
-
type: "tuple",
|
|
409
|
-
},
|
|
410
|
-
],
|
|
411
|
-
name: "addOrUpdateRecipient",
|
|
412
|
-
outputs: [],
|
|
413
|
-
stateMutability: "nonpayable",
|
|
414
|
-
type: "function",
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
inputs: [],
|
|
418
|
-
name: "avatar",
|
|
419
|
-
outputs: [
|
|
420
|
-
{
|
|
421
|
-
internalType: "address",
|
|
422
|
-
name: "",
|
|
423
|
-
type: "address",
|
|
424
|
-
},
|
|
425
|
-
],
|
|
426
|
-
stateMutability: "view",
|
|
427
|
-
type: "function",
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
inputs: [
|
|
431
|
-
{
|
|
432
|
-
internalType: "uint256",
|
|
433
|
-
name: "maxAmountToSell",
|
|
434
|
-
type: "uint256",
|
|
435
|
-
},
|
|
436
|
-
],
|
|
437
|
-
name: "calcGDToSell",
|
|
438
|
-
outputs: [
|
|
439
|
-
{
|
|
440
|
-
internalType: "uint256",
|
|
441
|
-
name: "gdToSell",
|
|
442
|
-
type: "uint256",
|
|
443
|
-
},
|
|
444
|
-
],
|
|
445
|
-
stateMutability: "view",
|
|
446
|
-
type: "function",
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
inputs: [],
|
|
450
|
-
name: "dao",
|
|
451
|
-
outputs: [
|
|
452
|
-
{
|
|
453
|
-
internalType: "contract Controller",
|
|
454
|
-
name: "",
|
|
455
|
-
type: "address",
|
|
456
|
-
},
|
|
457
|
-
],
|
|
458
|
-
stateMutability: "view",
|
|
459
|
-
type: "function",
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
inputs: [
|
|
463
|
-
{
|
|
464
|
-
internalType: "uint256",
|
|
465
|
-
name: "",
|
|
466
|
-
type: "uint256",
|
|
467
|
-
},
|
|
468
|
-
],
|
|
469
|
-
name: "distributionRecipients",
|
|
470
|
-
outputs: [
|
|
471
|
-
{
|
|
472
|
-
internalType: "uint32",
|
|
473
|
-
name: "bps",
|
|
474
|
-
type: "uint32",
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
internalType: "uint32",
|
|
478
|
-
name: "chainId",
|
|
479
|
-
type: "uint32",
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
internalType: "address",
|
|
483
|
-
name: "addr",
|
|
484
|
-
type: "address",
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
internalType: "enum CeloDistributionHelper.TransferType",
|
|
488
|
-
name: "transferType",
|
|
489
|
-
type: "uint8",
|
|
490
|
-
},
|
|
491
|
-
],
|
|
492
|
-
stateMutability: "view",
|
|
493
|
-
type: "function",
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
inputs: [],
|
|
497
|
-
name: "feeSettings",
|
|
498
|
-
outputs: [
|
|
499
|
-
{
|
|
500
|
-
internalType: "uint128",
|
|
501
|
-
name: "bridgeExecuteGas",
|
|
502
|
-
type: "uint128",
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
internalType: "uint128",
|
|
506
|
-
name: "targetChainGasPrice",
|
|
507
|
-
type: "uint128",
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
internalType: "uint128",
|
|
511
|
-
name: "maxFee",
|
|
512
|
-
type: "uint128",
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
internalType: "uint128",
|
|
516
|
-
name: "minBalanceForFees",
|
|
517
|
-
type: "uint128",
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
internalType: "uint8",
|
|
521
|
-
name: "percentageToSellForFee",
|
|
522
|
-
type: "uint8",
|
|
523
|
-
},
|
|
524
|
-
],
|
|
525
|
-
stateMutability: "view",
|
|
526
|
-
type: "function",
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
inputs: [
|
|
530
|
-
{
|
|
531
|
-
internalType: "bytes32",
|
|
532
|
-
name: "role",
|
|
533
|
-
type: "bytes32",
|
|
534
|
-
},
|
|
535
|
-
],
|
|
536
|
-
name: "getRoleAdmin",
|
|
537
|
-
outputs: [
|
|
538
|
-
{
|
|
539
|
-
internalType: "bytes32",
|
|
540
|
-
name: "",
|
|
541
|
-
type: "bytes32",
|
|
542
|
-
},
|
|
543
|
-
],
|
|
544
|
-
stateMutability: "view",
|
|
545
|
-
type: "function",
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
inputs: [
|
|
549
|
-
{
|
|
550
|
-
internalType: "bytes32",
|
|
551
|
-
name: "role",
|
|
552
|
-
type: "bytes32",
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
internalType: "uint256",
|
|
556
|
-
name: "index",
|
|
557
|
-
type: "uint256",
|
|
558
|
-
},
|
|
559
|
-
],
|
|
560
|
-
name: "getRoleMember",
|
|
561
|
-
outputs: [
|
|
562
|
-
{
|
|
563
|
-
internalType: "address",
|
|
564
|
-
name: "",
|
|
565
|
-
type: "address",
|
|
566
|
-
},
|
|
567
|
-
],
|
|
568
|
-
stateMutability: "view",
|
|
569
|
-
type: "function",
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
inputs: [
|
|
573
|
-
{
|
|
574
|
-
internalType: "bytes32",
|
|
575
|
-
name: "role",
|
|
576
|
-
type: "bytes32",
|
|
577
|
-
},
|
|
578
|
-
],
|
|
579
|
-
name: "getRoleMemberCount",
|
|
580
|
-
outputs: [
|
|
581
|
-
{
|
|
582
|
-
internalType: "uint256",
|
|
583
|
-
name: "",
|
|
584
|
-
type: "uint256",
|
|
585
|
-
},
|
|
586
|
-
],
|
|
587
|
-
stateMutability: "view",
|
|
588
|
-
type: "function",
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
inputs: [
|
|
592
|
-
{
|
|
593
|
-
internalType: "bytes32",
|
|
594
|
-
name: "role",
|
|
595
|
-
type: "bytes32",
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
internalType: "address",
|
|
599
|
-
name: "account",
|
|
600
|
-
type: "address",
|
|
601
|
-
},
|
|
602
|
-
],
|
|
603
|
-
name: "grantRole",
|
|
604
|
-
outputs: [],
|
|
605
|
-
stateMutability: "nonpayable",
|
|
606
|
-
type: "function",
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
inputs: [
|
|
610
|
-
{
|
|
611
|
-
internalType: "bytes32",
|
|
612
|
-
name: "role",
|
|
613
|
-
type: "bytes32",
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
internalType: "address",
|
|
617
|
-
name: "account",
|
|
618
|
-
type: "address",
|
|
619
|
-
},
|
|
620
|
-
],
|
|
621
|
-
name: "hasRole",
|
|
622
|
-
outputs: [
|
|
623
|
-
{
|
|
624
|
-
internalType: "bool",
|
|
625
|
-
name: "",
|
|
626
|
-
type: "bool",
|
|
627
|
-
},
|
|
628
|
-
],
|
|
629
|
-
stateMutability: "view",
|
|
630
|
-
type: "function",
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
inputs: [
|
|
634
|
-
{
|
|
635
|
-
internalType: "contract INameService",
|
|
636
|
-
name: "_ns",
|
|
637
|
-
type: "address",
|
|
638
|
-
},
|
|
639
|
-
],
|
|
640
|
-
name: "initialize",
|
|
641
|
-
outputs: [],
|
|
642
|
-
stateMutability: "nonpayable",
|
|
643
|
-
type: "function",
|
|
644
|
-
},
|
|
645
|
-
{
|
|
646
|
-
inputs: [],
|
|
647
|
-
name: "mpbBridge",
|
|
648
|
-
outputs: [
|
|
649
|
-
{
|
|
650
|
-
internalType: "contract IMessagePassingBridge",
|
|
651
|
-
name: "",
|
|
652
|
-
type: "address",
|
|
653
|
-
},
|
|
654
|
-
],
|
|
655
|
-
stateMutability: "view",
|
|
656
|
-
type: "function",
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
inputs: [],
|
|
660
|
-
name: "nameService",
|
|
661
|
-
outputs: [
|
|
662
|
-
{
|
|
663
|
-
internalType: "contract INameService",
|
|
664
|
-
name: "",
|
|
665
|
-
type: "address",
|
|
666
|
-
},
|
|
667
|
-
],
|
|
668
|
-
stateMutability: "view",
|
|
669
|
-
type: "function",
|
|
670
|
-
},
|
|
671
|
-
{
|
|
672
|
-
inputs: [],
|
|
673
|
-
name: "nativeToken",
|
|
674
|
-
outputs: [
|
|
675
|
-
{
|
|
676
|
-
internalType: "contract IGoodDollar",
|
|
677
|
-
name: "",
|
|
678
|
-
type: "address",
|
|
679
|
-
},
|
|
680
|
-
],
|
|
681
|
-
stateMutability: "view",
|
|
682
|
-
type: "function",
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
inputs: [
|
|
686
|
-
{
|
|
687
|
-
internalType: "uint256",
|
|
688
|
-
name: "_amount",
|
|
689
|
-
type: "uint256",
|
|
690
|
-
},
|
|
691
|
-
],
|
|
692
|
-
name: "onDistribution",
|
|
693
|
-
outputs: [],
|
|
694
|
-
stateMutability: "nonpayable",
|
|
695
|
-
type: "function",
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
inputs: [],
|
|
699
|
-
name: "proxiableUUID",
|
|
700
|
-
outputs: [
|
|
701
|
-
{
|
|
702
|
-
internalType: "bytes32",
|
|
703
|
-
name: "",
|
|
704
|
-
type: "bytes32",
|
|
705
|
-
},
|
|
706
|
-
],
|
|
707
|
-
stateMutability: "view",
|
|
708
|
-
type: "function",
|
|
709
|
-
},
|
|
710
|
-
{
|
|
711
|
-
inputs: [
|
|
712
|
-
{
|
|
713
|
-
internalType: "bytes32",
|
|
714
|
-
name: "role",
|
|
715
|
-
type: "bytes32",
|
|
716
|
-
},
|
|
717
|
-
{
|
|
718
|
-
internalType: "address",
|
|
719
|
-
name: "account",
|
|
720
|
-
type: "address",
|
|
721
|
-
},
|
|
722
|
-
],
|
|
723
|
-
name: "renounceRole",
|
|
724
|
-
outputs: [],
|
|
725
|
-
stateMutability: "nonpayable",
|
|
726
|
-
type: "function",
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
inputs: [
|
|
730
|
-
{
|
|
731
|
-
internalType: "bytes32",
|
|
732
|
-
name: "role",
|
|
733
|
-
type: "bytes32",
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
internalType: "address",
|
|
737
|
-
name: "account",
|
|
738
|
-
type: "address",
|
|
739
|
-
},
|
|
740
|
-
],
|
|
741
|
-
name: "revokeRole",
|
|
742
|
-
outputs: [],
|
|
743
|
-
stateMutability: "nonpayable",
|
|
744
|
-
type: "function",
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
inputs: [
|
|
748
|
-
{
|
|
749
|
-
internalType: "address",
|
|
750
|
-
name: "_mpbBridge",
|
|
751
|
-
type: "address",
|
|
752
|
-
},
|
|
753
|
-
],
|
|
754
|
-
name: "setBridges",
|
|
755
|
-
outputs: [],
|
|
756
|
-
stateMutability: "nonpayable",
|
|
757
|
-
type: "function",
|
|
758
|
-
},
|
|
759
|
-
{
|
|
760
|
-
inputs: [
|
|
761
|
-
{
|
|
762
|
-
components: [
|
|
763
|
-
{
|
|
764
|
-
internalType: "uint128",
|
|
765
|
-
name: "bridgeExecuteGas",
|
|
766
|
-
type: "uint128",
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
internalType: "uint128",
|
|
770
|
-
name: "targetChainGasPrice",
|
|
771
|
-
type: "uint128",
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
internalType: "uint128",
|
|
775
|
-
name: "maxFee",
|
|
776
|
-
type: "uint128",
|
|
777
|
-
},
|
|
778
|
-
{
|
|
779
|
-
internalType: "uint128",
|
|
780
|
-
name: "minBalanceForFees",
|
|
781
|
-
type: "uint128",
|
|
782
|
-
},
|
|
783
|
-
{
|
|
784
|
-
internalType: "uint8",
|
|
785
|
-
name: "percentageToSellForFee",
|
|
786
|
-
type: "uint8",
|
|
787
|
-
},
|
|
788
|
-
],
|
|
789
|
-
internalType: "struct CeloDistributionHelper.FeeSettings",
|
|
790
|
-
name: "_feeData",
|
|
791
|
-
type: "tuple",
|
|
792
|
-
},
|
|
793
|
-
],
|
|
794
|
-
name: "setFeeSettings",
|
|
795
|
-
outputs: [],
|
|
796
|
-
stateMutability: "nonpayable",
|
|
797
|
-
type: "function",
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
inputs: [
|
|
801
|
-
{
|
|
802
|
-
internalType: "contract IStaticOracle",
|
|
803
|
-
name: "oracle",
|
|
804
|
-
type: "address",
|
|
805
|
-
},
|
|
806
|
-
],
|
|
807
|
-
name: "setOracle",
|
|
808
|
-
outputs: [],
|
|
809
|
-
stateMutability: "nonpayable",
|
|
810
|
-
type: "function",
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
inputs: [
|
|
814
|
-
{
|
|
815
|
-
internalType: "bytes4",
|
|
816
|
-
name: "interfaceId",
|
|
817
|
-
type: "bytes4",
|
|
818
|
-
},
|
|
819
|
-
],
|
|
820
|
-
name: "supportsInterface",
|
|
821
|
-
outputs: [
|
|
822
|
-
{
|
|
823
|
-
internalType: "bool",
|
|
824
|
-
name: "",
|
|
825
|
-
type: "bool",
|
|
826
|
-
},
|
|
827
|
-
],
|
|
828
|
-
stateMutability: "view",
|
|
829
|
-
type: "function",
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
inputs: [],
|
|
833
|
-
name: "updateAvatar",
|
|
834
|
-
outputs: [],
|
|
835
|
-
stateMutability: "nonpayable",
|
|
836
|
-
type: "function",
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
inputs: [
|
|
840
|
-
{
|
|
841
|
-
internalType: "address",
|
|
842
|
-
name: "newImplementation",
|
|
843
|
-
type: "address",
|
|
844
|
-
},
|
|
845
|
-
],
|
|
846
|
-
name: "upgradeTo",
|
|
847
|
-
outputs: [],
|
|
848
|
-
stateMutability: "nonpayable",
|
|
849
|
-
type: "function",
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
inputs: [
|
|
853
|
-
{
|
|
854
|
-
internalType: "address",
|
|
855
|
-
name: "newImplementation",
|
|
856
|
-
type: "address",
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
internalType: "bytes",
|
|
860
|
-
name: "data",
|
|
861
|
-
type: "bytes",
|
|
862
|
-
},
|
|
863
|
-
],
|
|
864
|
-
name: "upgradeToAndCall",
|
|
865
|
-
outputs: [],
|
|
866
|
-
stateMutability: "payable",
|
|
867
|
-
type: "function",
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
stateMutability: "payable",
|
|
871
|
-
type: "receive",
|
|
872
|
-
},
|
|
873
|
-
] as const;
|
|
874
|
-
|
|
875
|
-
const _bytecode =
|
|
876
|
-
"0x60a06040523060805234801561001457600080fd5b50608051612eb661004c600039600081816108aa015281816108ea01528181610b8801528181610bc80152610c400152612eb66000f3fe6080604052600436106101775760003560e01c806301ffc9a71461018357806312adcebf146101b85780631b3c90a8146101e65780631c6603ba146101fd578063248a9ca31461028057806324ea54f4146102ae5780632f2ff15d146102d057806332fe7b26146102f0578063346ef41b1461031857806336568abe146103485780633659cfe6146103685780633d34a267146103885780633e6326fc146103a85780634162169f146103c85780634f1ef286146103e857806352d1902d146103fb5780635aef7de614610410578063758316c9146104305780637adbf9731461045857806386d97a1a146104965780639010d07c146104b6578063902fe0f0146104d657806391d14854146104f65780639d4c9c4014610516578063a217fddf14610537578063a8ba38901461054c578063b2ecd7751461056c578063c4d66de8146105aa578063ca15c873146105ca578063d547741f146105ea578063e1758bd81461060a578063f60e673e1461061f57600080fd5b3661017e57005b600080fd5b34801561018f57600080fd5b506101a361019e366004612488565b610647565b60405190151581526020015b60405180910390f35b3480156101c457600080fd5b50610167546101d9906001600160a01b031681565b6040516101af91906124b2565b3480156101f257600080fd5b506101fb610672565b005b34801561020957600080fd5b50610164546101655461016654610243926001600160801b0380821693600160801b92839004821693818316939091049091169060ff1685565b604080516001600160801b039687168152948616602086015292851692840192909252909216606082015260ff909116608082015260a0016101af565b34801561028c57600080fd5b506102a061029b3660046124c6565b610799565b6040519081526020016101af565b3480156102ba57600080fd5b506102a0600080516020612e6183398151915281565b3480156102dc57600080fd5b506101fb6102eb3660046124f4565b6107ae565b3480156102fc57600080fd5b506101d9735615cdab10dc425a742d643d949a7f474c01abc481565b34801561032457600080fd5b506103386103333660046124c6565b6107cf565b6040516101af949392919061255c565b34801561035457600080fd5b506101fb6103633660046124f4565b61081d565b34801561037457600080fd5b506101fb61038336600461258d565b6108a0565b34801561039457600080fd5b506102a06103a33660046124c6565b610968565b3480156103b457600080fd5b506067546101d9906001600160a01b031681565b3480156103d457600080fd5b506065546101d9906001600160a01b031681565b6101fb6103f63660046125f0565b610b7e565b34801561040757600080fd5b506102a0610c33565b34801561041c57600080fd5b506066546101d9906001600160a01b031681565b34801561043c57600080fd5b506101d973765de816845861e75a25fca122bb6898b8b1282a81565b34801561046457600080fd5b506101fb61047336600461258d565b61016780546001600160a01b0319166001600160a01b0392909216919091179055565b3480156104a257600080fd5b506101fb6104b13660046126b0565b610ce1565b3480156104c257600080fd5b506101d96104d1366004612734565b610f54565b3480156104e257600080fd5b506101fb6104f136600461276d565b610f74565b34801561050257600080fd5b506101a36105113660046124f4565b610fdd565b34801561052257600080fd5b50610163546101d9906001600160a01b031681565b34801561054357600080fd5b506102a0600081565b34801561055857600080fd5b506101fb6105673660046124c6565b611008565b34801561057857600080fd5b506101fb61058736600461258d565b61016380546001600160a01b0319166001600160a01b0392909216919091179055565b3480156105b657600080fd5b506101fb6105c536600461258d565b6111d0565b3480156105d657600080fd5b506102a06105e53660046124c6565b6113fc565b3480156105f657600080fd5b506101fb6106053660046124f4565b611414565b34801561061657600080fd5b506101d9611430565b34801561062b57600080fd5b506101d973471ece3750da237f93b8e339c536989b8978a43881565b60006001600160e01b03198216635a05180f60e01b148061066c575061066c826114bd565b92915050565b60675460405163bf40fac160e01b815260206004820152600a60248201526921a7a72a2927a62622a960b11b60448201526001600160a01b039091169063bf40fac190606401602060405180830381865afa1580156106d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f99190612802565b606580546001600160a01b0319166001600160a01b0392909216918217905560408051632d77bef360e11b81529051635aef7de6916004808201926020929091908290030181865afa158015610753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107779190612802565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b600090815260fe602052604090206001015490565b6107b782610799565b6107c0816114f2565b6107ca83836114fc565b505050565b61016281815481106107e057600080fd5b60009182526020909120015463ffffffff8082169250600160201b82041690600160401b81046001600160a01b031690600160e01b900460ff1684565b6001600160a01b03811633146108925760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61089c828261151f565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036108e85760405162461bcd60e51b81526004016108899061281f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661091a611542565b6001600160a01b0316146109405760405162461bcd60e51b815260040161088990612859565b6109498161155e565b6040805160008082526020820190925261096591839190611566565b50565b604080516001808252818301909252600091829190602080830190803683370190505090506101f4816000815181106109a3576109a3612893565b62ffffff909216602092830291909101909101526101655460009047906109dc906001600160801b03600160801b9091041660036128bf565b6001600160801b03166109ef91906128ea565b61016754604051636c022f6560e11b81529192506000916001600160a01b039091169063d8045eca90610a5790859073471ece3750da237f93b8e339c536989b8978a4389073765de816845861e75a25fca122bb6898b8b1282a908990603c906004016128fd565b600060405180830381865afa158015610a74573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a9c9190810190612983565b50610167549091506000906001600160a01b031663d8045eca670de0b6b3a7640000610ac6611430565b73765de816845861e75a25fca122bb6898b8b1282a88603c6040518663ffffffff1660e01b8152600401610afe9594939291906128fd565b600060405180830381865afa158015610b1b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b439190810190612983565b50905080610b5983670de0b6b3a7640000612a42565b610b639190612a59565b9450858511610b725784610b74565b855b9695505050505050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610bc65760405162461bcd60e51b81526004016108899061281f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610bf8611542565b6001600160a01b031614610c1e5760405162461bcd60e51b815260040161088990612859565b610c278261155e565b61089c82826001611566565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610cce5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610889565b50600080516020612e1a83398151915290565b6000610cec816114f2565b60005b61016254811015610e455782604001516001600160a01b03166101628281548110610d1c57610d1c612893565b600091825260209091200154600160401b90046001600160a01b031603610e3357826101628281548110610d5257610d52612893565b60009182526020918290208351910180549284015160408501516001600160a01b0316600160401b02600160401b600160e01b031963ffffffff928316600160201b026001600160401b031990961692909416919091179390931791821683178155606084015190929091839160ff60e01b1916600160401b600160e81b031990911617600160e01b836002811115610ded57610ded612524565b02179055509050507fd26d9de175cfca2c3e0cad9d09c85f0ce6c7fa5257382d00dc26dc5fb25cd8df8382604051610e26929190612a7b565b60405180910390a1505050565b80610e3d81612acc565b915050610cef565b50610162546040517f2e65f65347b2e76218df0b7b6b594a3862c81e85706795e700237093c47a395791610e7b91859190612a7b565b60405180910390a1610162805460018101825560009190915282517f29af0939a5988989bfee913a9ad10b9335cb63ebc9fd2b69e5f877d0455ac9199091018054602085015160408601516001600160a01b0316600160401b02600160401b600160e01b031963ffffffff928316600160201b026001600160401b031990941692909516919091179190911792831681178255606085015185939091839160ff60e01b19909116600160401b600160e81b031990911617600160e01b836002811115610f4957610f49612524565b021790555050505050565b600082815261013060205260408120610f6d90836116d1565b9392505050565b600080516020612e61833981519152610f8c816114f2565b50805160208201516001600160801b03918216600160801b9183168202176101645560408301516060840151908316921602176101655560800151610166805460ff191660ff909216919091179055565b600091825260fe602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000611012611430565b6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161103d91906124b2565b602060405180830381865afa15801561105a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107e9190612ae5565b90508060000361108c575050565b610165546000908190600160801b90046001600160801b03164710156110ef57610166546064906110c09060ff1685612a42565b6110ca9190612a59565b90506110d581610968565b90506110e181846128ea565b92506110ec816116dd565b91505b6000805b61016254811015611185576000610162828154811061111457611114612893565b6000918252602090912001805490915063ffffffff1615611172578054600090612710906111489063ffffffff1689612a42565b6111529190612a59565b905061115e8185612afe565b9350801561117057611170828261189f565b505b508061117d81612acc565b9150506110f3565b507fdbd53b67dd15f9594eee6de294654de25af4c2a14d79d76e47d08d83c8025f5d81858761016286886040516111c196959493929190612b11565b60405180910390a15050505050565b600054610100900460ff16158080156111f05750600054600160ff909116105b8061121157506111ff30611c54565b158015611211575060005460ff166001145b6112745760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610889565b6000805460ff191660011790558015611297576000805461ff0019166101001790555b61129f611c63565b6112a882611cd0565b6066546112c0906000906001600160a01b0316611cf3565b6066546112e590600080516020612e61833981519152906001600160a01b0316611cf3565b60675460405163bf40fac160e01b81526020600482015260126024820152711354109094925111d157d0d3d395149050d560721b60448201526001600160a01b039091169063bf40fac190606401602060405180830381865afa158015611350573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113749190612802565b61016380546001600160a01b03929092166001600160a01b0319928316179055610167805490911672851a91a3c4e9a4c1b48df827bacc1f884bde28179055801561089c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b60008181526101306020526040812061066c90611cfd565b61141d82610799565b611426816114f2565b6107ca838361151f565b60675460405163bf40fac160e01b815260206004820152600a60248201526923a7a7a22227a62620a960b11b60448201526000916001600160a01b03169063bf40fac190606401602060405180830381865afa158015611494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b89190612802565b905090565b60006001600160e01b03198216637965db0b60e01b148061066c57506301ffc9a760e01b6001600160e01b031983161461066c565b6109658133611d07565b6115068282611d60565b6000828152610130602052604090206107ca9082611de6565b6115298282611dfb565b6000828152610130602052604090206107ca9082611e62565b600080516020612e1a833981519152546001600160a01b031690565b610965611e77565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611599576107ca83611f3a565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156115f3575060408051601f3d908101601f191682019092526115f091810190612ae5565b60015b6116565760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610889565b600080516020612e1a83398151915281146116c55760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610889565b506107ca838383611fd4565b6000610f6d8383611fff565b60006116e7611430565b6001600160a01b031663095ea7b3735615cdab10dc425a742d643d949a7f474c01abc4846040518363ffffffff1660e01b8152600401611728929190612bbc565b6020604051808303816000875af1158015611747573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176b9190612bd5565b5060006040518060800160405280611781611430565b60405160609190911b6001600160601b031916602082015261027160ec1b6034820152733b2ef40b422c30f3ad12fe50915db44c5c58941560611b603782015261017760eb1b604b8201527308e3d9c6ea1b446ff2771c6738a6d313712f148760631b604e8201526062016040516020818303038152906040528152602001306001600160a01b0316815260200184815260200160008152509050735615cdab10dc425a742d643d949a7f474c01abc46001600160a01b031663b858183f826040518263ffffffff1660e01b815260040161185c9190612c47565b6020604051808303816000875af115801561187b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d9190612ae5565b60008254600160e01b900460ff1660028111156118be576118be612524565b03611b36576118cb611430565b6101635460405163095ea7b360e01b81526001600160a01b039283169263095ea7b3926118ff929116908590600401612bbc565b6020604051808303816000875af115801561191e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119429190612bd5565b506101635482546040516305b23a9960e41b8152600160201b90910463ffffffff1660048201526000916001600160a01b0316906305fead15908290635b23a99090602401602060405180830381865afa1580156119a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c89190612c95565b8554604051600160f01b602082015262061a8060228201523091600160401b90046001600160a01b03169087906000906042016040516020818303038152906040526040518763ffffffff1660e01b8152600401611a2b96959493929190612cb9565b6040805180830381865afa158015611a47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a6b9190612d0a565b50610165549091506001600160801b0316811115611a9f57604051634493514b60e11b815260048101829052602401610889565b61016354835460405163c56bbdd960e01b8152600160401b82046001600160a01b039081166004830152600160201b90920463ffffffff16602482015260448101859052608060648201526000608482015291169063c56bbdd990839060a4016000604051808303818588803b158015611b1857600080fd5b505af1158015611b2c573d6000803e3d6000fd5b5050505050505050565b60028254600160e01b900460ff166002811115611b5557611b55612524565b03611bed57611b62611430565b8254604051630200057560e51b81526001600160a01b03600160401b90920482166004820152602481018490526060604482015260006064820152911690634000aea0906084015b6020604051808303816000875af1158015611bc9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ca9190612bd5565b60018254600160e01b900460ff166002811115611c0c57611c0c612524565b0361089c57611c19611430565b825460405163a9059cbb60e01b81526001600160a01b039283169263a9059cbb92611baa92600160401b909104909116908590600401612bbc565b6001600160a01b03163b151590565b600054610100900460ff16611cce5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610889565b565b606780546001600160a01b0319166001600160a01b038316179055610965610672565b61089c82826114fc565b600061066c825490565b611d118282610fdd565b61089c57611d1e81612029565b611d2983602061203b565b604051602001611d3a929190612d2e565b60408051601f198184030181529082905262461bcd60e51b825261088991600401612d9d565b611d6a8282610fdd565b61089c57600082815260fe602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611da23390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610f6d836001600160a01b0384166121d6565b611e058282610fdd565b1561089c57600082815260fe602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610f6d836001600160a01b038416612225565b60655460408051632d77bef360e11b8152905133926001600160a01b031691635aef7de69160048083019260209291908290030181865afa158015611ec0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee49190612802565b6001600160a01b031614611cce5760405162461bcd60e51b815260206004820181905260248201527f6f6e6c79206176617461722063616e2063616c6c2074686973206d6574686f646044820152606401610889565b611f4381611c54565b611fa55760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610889565b600080516020612e1a83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611fdd83612318565b600082511180611fea5750805b156107ca57611ff98383612358565b50505050565b600082600001828154811061201657612016612893565b9060005260206000200154905092915050565b606061066c6001600160a01b03831660145b6060600061204a836002612a42565b612055906002612afe565b6001600160401b0381111561206c5761206c6125aa565b6040519080825280601f01601f191660200182016040528015612096576020820181803683370190505b509050600360fc1b816000815181106120b1576120b1612893565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106120e0576120e0612893565b60200101906001600160f81b031916908160001a9053506000612104846002612a42565b61210f906001612afe565b90505b6001811115612187576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061214357612143612893565b1a60f81b82828151811061215957612159612893565b60200101906001600160f81b031916908160001a90535060049490941c9361218081612db0565b9050612112565b508315610f6d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610889565b600081815260018301602052604081205461221d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561066c565b50600061066c565b6000818152600183016020526040812054801561230e5760006122496001836128ea565b855490915060009061225d906001906128ea565b90508181146122c257600086600001828154811061227d5761227d612893565b90600052602060002001549050808760000184815481106122a0576122a0612893565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806122d3576122d3612dc7565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061066c565b600091505061066c565b61232181611f3a565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061236383611c54565b6123be5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610889565b600080846001600160a01b0316846040516123d99190612ddd565b600060405180830381855af49150503d8060008114612414576040519150601f19603f3d011682016040523d82523d6000602084013e612419565b606091505b50915091506124418282604051806060016040528060278152602001612e3a6027913961244a565b95945050505050565b60608315612459575081610f6d565b610f6d838381511561246e5781518083602001fd5b8060405162461bcd60e51b81526004016108899190612d9d565b60006020828403121561249a57600080fd5b81356001600160e01b031981168114610f6d57600080fd5b6001600160a01b0391909116815260200190565b6000602082840312156124d857600080fd5b5035919050565b6001600160a01b038116811461096557600080fd5b6000806040838503121561250757600080fd5b823591506020830135612519816124df565b809150509250929050565b634e487b7160e01b600052602160045260246000fd5b6003811061255857634e487b7160e01b600052602160045260246000fd5b9052565b63ffffffff8581168252841660208201526001600160a01b038316604082015260808101612441606083018461253a565b60006020828403121561259f57600080fd5b8135610f6d816124df565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156125e8576125e86125aa565b604052919050565b6000806040838503121561260357600080fd5b823561260e816124df565b91506020838101356001600160401b038082111561262b57600080fd5b818601915086601f83011261263f57600080fd5b813581811115612651576126516125aa565b612663601f8201601f191685016125c0565b9150808252878482850101111561267957600080fd5b80848401858401376000848284010152508093505050509250929050565b803563ffffffff811681146126ab57600080fd5b919050565b6000608082840312156126c257600080fd5b604051608081016001600160401b03811182821017156126e4576126e46125aa565b6040526126f083612697565b81526126fe60208401612697565b60208201526040830135612711816124df565b604082015260608301356003811061272857600080fd5b60608201529392505050565b6000806040838503121561274757600080fd5b50508035926020909101359150565b80356001600160801b03811681146126ab57600080fd5b600060a0828403121561277f57600080fd5b60405160a081016001600160401b03811182821017156127a1576127a16125aa565b6040526127ad83612756565b81526127bb60208401612756565b60208201526127cc60408401612756565b60408201526127dd60608401612756565b6060820152608083013560ff811681146127f657600080fd5b60808201529392505050565b60006020828403121561281457600080fd5b8151610f6d816124df565b6020808252602c90820152600080516020612dfa83398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c90820152600080516020612dfa83398151915260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6001600160801b038181168382160280821691908281146128e2576128e26128a9565b505092915050565b8181038181111561066c5761066c6128a9565b6001600160801b03861681526001600160a01b03858116602080840191909152908516604083015260a06060830181905284519083018190526000918581019160c0850190845b8181101561296557845162ffffff1683529383019391830191600101612944565b505080935050505063ffffffff831660808301529695505050505050565b6000806040838503121561299657600080fd5b8251602080850151919350906001600160401b03808211156129b757600080fd5b818601915086601f8301126129cb57600080fd5b8151818111156129dd576129dd6125aa565b8060051b91506129ee8483016125c0565b8181529183018401918481019089841115612a0857600080fd5b938501935b83851015612a325784519250612a22836124df565b8282529385019390850190612a0d565b8096505050505050509250929050565b808202811582820484141761066c5761066c6128a9565b600082612a7657634e487b7160e01b600052601260045260246000fd5b500490565b825163ffffffff9081168252602080850151909116908201526040808401516001600160a01b03169082015260608084015160a0830191612abe9084018261253a565b508260808301529392505050565b600060018201612ade57612ade6128a9565b5060010190565b600060208284031215612af757600080fd5b5051919050565b8082018082111561066c5761066c6128a9565b600060c082018883526020888185015260408881860152606060c08187015283895480865260e0955085880191508a6000528460002060005b82811015612b9b57815463ffffffff808216865281891c168886015280871c6001600160a01b031687860152612b87868601828b1c60ff1661253a565b506080939093019260019182019101612b4a565b50505060808701989098525050505060a09091019190915250949350505050565b6001600160a01b03929092168252602082015260400190565b600060208284031215612be757600080fd5b81518015158114610f6d57600080fd5b60005b83811015612c12578181015183820152602001612bfa565b50506000910152565b60008151808452612c33816020860160208601612bf7565b601f01601f19169290920160200192915050565b602081526000825160806020840152612c6360a0840182612c1b565b905060018060a01b03602085015116604084015260408401516060840152606084015160808401528091505092915050565b600060208284031215612ca757600080fd5b815161ffff81168114610f6d57600080fd5b61ffff871681526001600160a01b0386811660208301528516604082015260608101849052821515608082015260c060a08201819052600090612cfe90830184612c1b565b98975050505050505050565b60008060408385031215612d1d57600080fd5b505080516020909101519092909150565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351612d60816017850160208801612bf7565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612d91816028840160208801612bf7565b01602801949350505050565b602081526000610f6d6020830184612c1b565b600081612dbf57612dbf6128a9565b506000190190565b634e487b7160e01b600052603160045260246000fd5b60008251612def818460208701612bf7565b919091019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656455435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041a2646970667358221220f7d385fd16764f422e38baf5f8e54e2118a073ba25f9dfdcc4c232c3ec8e7a3564736f6c63430008130033";
|
|
877
|
-
|
|
878
|
-
type DistributionHelperTestHelperConstructorParams =
|
|
879
|
-
| [signer?: Signer]
|
|
880
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
881
|
-
|
|
882
|
-
const isSuperArgs = (
|
|
883
|
-
xs: DistributionHelperTestHelperConstructorParams
|
|
884
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
885
|
-
|
|
886
|
-
export class DistributionHelperTestHelper__factory extends ContractFactory {
|
|
887
|
-
constructor(...args: DistributionHelperTestHelperConstructorParams) {
|
|
888
|
-
if (isSuperArgs(args)) {
|
|
889
|
-
super(...args);
|
|
890
|
-
} else {
|
|
891
|
-
super(_abi, _bytecode, args[0]);
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
override deploy(
|
|
896
|
-
overrides?: Overrides & { from?: string }
|
|
897
|
-
): Promise<DistributionHelperTestHelper> {
|
|
898
|
-
return super.deploy(
|
|
899
|
-
overrides || {}
|
|
900
|
-
) as Promise<DistributionHelperTestHelper>;
|
|
901
|
-
}
|
|
902
|
-
override getDeployTransaction(
|
|
903
|
-
overrides?: Overrides & { from?: string }
|
|
904
|
-
): TransactionRequest {
|
|
905
|
-
return super.getDeployTransaction(overrides || {});
|
|
906
|
-
}
|
|
907
|
-
override attach(address: string): DistributionHelperTestHelper {
|
|
908
|
-
return super.attach(address) as DistributionHelperTestHelper;
|
|
909
|
-
}
|
|
910
|
-
override connect(signer: Signer): DistributionHelperTestHelper__factory {
|
|
911
|
-
return super.connect(signer) as DistributionHelperTestHelper__factory;
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
static readonly bytecode = _bytecode;
|
|
915
|
-
static readonly abi = _abi;
|
|
916
|
-
static createInterface(): DistributionHelperTestHelperInterface {
|
|
917
|
-
return new utils.Interface(_abi) as DistributionHelperTestHelperInterface;
|
|
918
|
-
}
|
|
919
|
-
static connect(
|
|
920
|
-
address: string,
|
|
921
|
-
signerOrProvider: Signer | Provider
|
|
922
|
-
): DistributionHelperTestHelper {
|
|
923
|
-
return new Contract(
|
|
924
|
-
address,
|
|
925
|
-
_abi,
|
|
926
|
-
signerOrProvider
|
|
927
|
-
) as DistributionHelperTestHelper;
|
|
928
|
-
}
|
|
929
|
-
}
|