@gooddollar/goodprotocol 2.1.0 → 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/Faucet.min.json +1 -1
- package/artifacts/abis/FuseFaucetV2.min.json +1 -1
- package/artifacts/abis/UBISchemeV2.min.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Avatar.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Controller.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/IntVoteInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/ReputationInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/SchemeRegistrar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/AggregatorV3Interface.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ERC20.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAaveIncentivesController.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAdminWallet.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IDonationStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IERC2917.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IFirstClaimPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IHasRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentity.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentityV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IMultichainRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IQuoterV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ISwapRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IUBIScheme.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ProxyAdmin.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Reserve.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Uniswap.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapFactory.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapPair.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/cERC20.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBancorExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBroker.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExpansionController.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IMentoReserve.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/ITradingLimits.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.json +2 -34
- 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/FuseFaucetV2.sol/FuseFaucetV2.json +2 -34
- 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/ERC1967Proxy.json +2 -2
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.json +2 -2
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.dbg.json +1 -1
- package/contracts/IUniswapV3.sol +2 -0
- package/contracts/mocks/GenericDistributionHelperTest.sol +31 -0
- package/contracts/reserve/GenericDistributionHelper.sol +28 -20
- package/hardhat.config.ts +4 -1
- package/package.json +3 -2
- package/releases/deployment.json +1 -0
- package/scripts/multichain-deploy/helpers.ts +7 -5
- package/scripts/proposals/gip-25-xdc-upgrade-ubi.ts +31 -27
- 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/Interfaces.sol/AToken.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/utils/ProtocolUpgradeV4Mento.sol/MentoExchange.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/fuseFaucet/Faucet.ts +0 -43
- package/types/contracts/fuseFaucet/FuseFaucetV2.ts +0 -43
- 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/fuseFaucet/Faucet__factory.ts +1 -33
- package/types/factories/contracts/fuseFaucet/FuseFaucetV2__factory.ts +1 -33
- 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/factories/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy__factory.ts +1 -1
- package/types/factories/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967__factory.ts +1 -1
- 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/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/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
|
@@ -0,0 +1,975 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
6
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
DistributionHelperTest,
|
|
9
|
+
DistributionHelperTestInterface,
|
|
10
|
+
} from "../DistributionHelperTest";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "uint256",
|
|
17
|
+
name: "fee",
|
|
18
|
+
type: "uint256",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
name: "FEE_LIMIT",
|
|
22
|
+
type: "error",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
anonymous: false,
|
|
26
|
+
inputs: [
|
|
27
|
+
{
|
|
28
|
+
indexed: false,
|
|
29
|
+
internalType: "address",
|
|
30
|
+
name: "previousAdmin",
|
|
31
|
+
type: "address",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
indexed: false,
|
|
35
|
+
internalType: "address",
|
|
36
|
+
name: "newAdmin",
|
|
37
|
+
type: "address",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
name: "AdminChanged",
|
|
41
|
+
type: "event",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
anonymous: false,
|
|
45
|
+
inputs: [
|
|
46
|
+
{
|
|
47
|
+
indexed: true,
|
|
48
|
+
internalType: "address",
|
|
49
|
+
name: "beacon",
|
|
50
|
+
type: "address",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
name: "BeaconUpgraded",
|
|
54
|
+
type: "event",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
anonymous: false,
|
|
58
|
+
inputs: [
|
|
59
|
+
{
|
|
60
|
+
indexed: false,
|
|
61
|
+
internalType: "uint256",
|
|
62
|
+
name: "distributed",
|
|
63
|
+
type: "uint256",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
indexed: false,
|
|
67
|
+
internalType: "uint256",
|
|
68
|
+
name: "startingBalance",
|
|
69
|
+
type: "uint256",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
indexed: false,
|
|
73
|
+
internalType: "uint256",
|
|
74
|
+
name: "incomingAmount",
|
|
75
|
+
type: "uint256",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
components: [
|
|
79
|
+
{
|
|
80
|
+
internalType: "uint32",
|
|
81
|
+
name: "bps",
|
|
82
|
+
type: "uint32",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
internalType: "uint32",
|
|
86
|
+
name: "chainId",
|
|
87
|
+
type: "uint32",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
internalType: "address",
|
|
91
|
+
name: "addr",
|
|
92
|
+
type: "address",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
internalType: "enum DistributionHelper.TransferType",
|
|
96
|
+
name: "transferType",
|
|
97
|
+
type: "uint8",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
indexed: false,
|
|
101
|
+
internalType: "struct DistributionHelper.DistributionRecipient[]",
|
|
102
|
+
name: "distributionRecipients",
|
|
103
|
+
type: "tuple[]",
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
name: "Distribution",
|
|
107
|
+
type: "event",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
anonymous: false,
|
|
111
|
+
inputs: [
|
|
112
|
+
{
|
|
113
|
+
indexed: false,
|
|
114
|
+
internalType: "uint8",
|
|
115
|
+
name: "version",
|
|
116
|
+
type: "uint8",
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
name: "Initialized",
|
|
120
|
+
type: "event",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
anonymous: false,
|
|
124
|
+
inputs: [
|
|
125
|
+
{
|
|
126
|
+
components: [
|
|
127
|
+
{
|
|
128
|
+
internalType: "uint32",
|
|
129
|
+
name: "bps",
|
|
130
|
+
type: "uint32",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
internalType: "uint32",
|
|
134
|
+
name: "chainId",
|
|
135
|
+
type: "uint32",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
internalType: "address",
|
|
139
|
+
name: "addr",
|
|
140
|
+
type: "address",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
internalType: "enum DistributionHelper.TransferType",
|
|
144
|
+
name: "transferType",
|
|
145
|
+
type: "uint8",
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
indexed: false,
|
|
149
|
+
internalType: "struct DistributionHelper.DistributionRecipient",
|
|
150
|
+
name: "recipient",
|
|
151
|
+
type: "tuple",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
indexed: false,
|
|
155
|
+
internalType: "uint256",
|
|
156
|
+
name: "index",
|
|
157
|
+
type: "uint256",
|
|
158
|
+
},
|
|
159
|
+
],
|
|
160
|
+
name: "RecipientAdded",
|
|
161
|
+
type: "event",
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
anonymous: false,
|
|
165
|
+
inputs: [
|
|
166
|
+
{
|
|
167
|
+
components: [
|
|
168
|
+
{
|
|
169
|
+
internalType: "uint32",
|
|
170
|
+
name: "bps",
|
|
171
|
+
type: "uint32",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
internalType: "uint32",
|
|
175
|
+
name: "chainId",
|
|
176
|
+
type: "uint32",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
internalType: "address",
|
|
180
|
+
name: "addr",
|
|
181
|
+
type: "address",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
internalType: "enum DistributionHelper.TransferType",
|
|
185
|
+
name: "transferType",
|
|
186
|
+
type: "uint8",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
indexed: false,
|
|
190
|
+
internalType: "struct DistributionHelper.DistributionRecipient",
|
|
191
|
+
name: "recipient",
|
|
192
|
+
type: "tuple",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
indexed: false,
|
|
196
|
+
internalType: "uint256",
|
|
197
|
+
name: "index",
|
|
198
|
+
type: "uint256",
|
|
199
|
+
},
|
|
200
|
+
],
|
|
201
|
+
name: "RecipientUpdated",
|
|
202
|
+
type: "event",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
anonymous: false,
|
|
206
|
+
inputs: [
|
|
207
|
+
{
|
|
208
|
+
indexed: true,
|
|
209
|
+
internalType: "bytes32",
|
|
210
|
+
name: "role",
|
|
211
|
+
type: "bytes32",
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
indexed: true,
|
|
215
|
+
internalType: "bytes32",
|
|
216
|
+
name: "previousAdminRole",
|
|
217
|
+
type: "bytes32",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
indexed: true,
|
|
221
|
+
internalType: "bytes32",
|
|
222
|
+
name: "newAdminRole",
|
|
223
|
+
type: "bytes32",
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
name: "RoleAdminChanged",
|
|
227
|
+
type: "event",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
anonymous: false,
|
|
231
|
+
inputs: [
|
|
232
|
+
{
|
|
233
|
+
indexed: true,
|
|
234
|
+
internalType: "bytes32",
|
|
235
|
+
name: "role",
|
|
236
|
+
type: "bytes32",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
indexed: true,
|
|
240
|
+
internalType: "address",
|
|
241
|
+
name: "account",
|
|
242
|
+
type: "address",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
indexed: true,
|
|
246
|
+
internalType: "address",
|
|
247
|
+
name: "sender",
|
|
248
|
+
type: "address",
|
|
249
|
+
},
|
|
250
|
+
],
|
|
251
|
+
name: "RoleGranted",
|
|
252
|
+
type: "event",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
anonymous: false,
|
|
256
|
+
inputs: [
|
|
257
|
+
{
|
|
258
|
+
indexed: true,
|
|
259
|
+
internalType: "bytes32",
|
|
260
|
+
name: "role",
|
|
261
|
+
type: "bytes32",
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
indexed: true,
|
|
265
|
+
internalType: "address",
|
|
266
|
+
name: "account",
|
|
267
|
+
type: "address",
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
indexed: true,
|
|
271
|
+
internalType: "address",
|
|
272
|
+
name: "sender",
|
|
273
|
+
type: "address",
|
|
274
|
+
},
|
|
275
|
+
],
|
|
276
|
+
name: "RoleRevoked",
|
|
277
|
+
type: "event",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
anonymous: false,
|
|
281
|
+
inputs: [
|
|
282
|
+
{
|
|
283
|
+
indexed: true,
|
|
284
|
+
internalType: "address",
|
|
285
|
+
name: "implementation",
|
|
286
|
+
type: "address",
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
name: "Upgraded",
|
|
290
|
+
type: "event",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
inputs: [],
|
|
294
|
+
name: "CELO_TOKEN",
|
|
295
|
+
outputs: [
|
|
296
|
+
{
|
|
297
|
+
internalType: "address",
|
|
298
|
+
name: "",
|
|
299
|
+
type: "address",
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
stateMutability: "view",
|
|
303
|
+
type: "function",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
inputs: [],
|
|
307
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
308
|
+
outputs: [
|
|
309
|
+
{
|
|
310
|
+
internalType: "bytes32",
|
|
311
|
+
name: "",
|
|
312
|
+
type: "bytes32",
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
stateMutability: "view",
|
|
316
|
+
type: "function",
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
inputs: [],
|
|
320
|
+
name: "FUSE_TOKEN",
|
|
321
|
+
outputs: [
|
|
322
|
+
{
|
|
323
|
+
internalType: "address",
|
|
324
|
+
name: "",
|
|
325
|
+
type: "address",
|
|
326
|
+
},
|
|
327
|
+
],
|
|
328
|
+
stateMutability: "view",
|
|
329
|
+
type: "function",
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
inputs: [],
|
|
333
|
+
name: "GUARDIAN_ROLE",
|
|
334
|
+
outputs: [
|
|
335
|
+
{
|
|
336
|
+
internalType: "bytes32",
|
|
337
|
+
name: "",
|
|
338
|
+
type: "bytes32",
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
stateMutability: "view",
|
|
342
|
+
type: "function",
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
inputs: [],
|
|
346
|
+
name: "STATIC_ORACLE",
|
|
347
|
+
outputs: [
|
|
348
|
+
{
|
|
349
|
+
internalType: "contract IStaticOracle",
|
|
350
|
+
name: "",
|
|
351
|
+
type: "address",
|
|
352
|
+
},
|
|
353
|
+
],
|
|
354
|
+
stateMutability: "view",
|
|
355
|
+
type: "function",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
inputs: [],
|
|
359
|
+
name: "USDC_TOKEN",
|
|
360
|
+
outputs: [
|
|
361
|
+
{
|
|
362
|
+
internalType: "address",
|
|
363
|
+
name: "",
|
|
364
|
+
type: "address",
|
|
365
|
+
},
|
|
366
|
+
],
|
|
367
|
+
stateMutability: "view",
|
|
368
|
+
type: "function",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
inputs: [],
|
|
372
|
+
name: "WETH_TOKEN",
|
|
373
|
+
outputs: [
|
|
374
|
+
{
|
|
375
|
+
internalType: "address",
|
|
376
|
+
name: "",
|
|
377
|
+
type: "address",
|
|
378
|
+
},
|
|
379
|
+
],
|
|
380
|
+
stateMutability: "view",
|
|
381
|
+
type: "function",
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
inputs: [
|
|
385
|
+
{
|
|
386
|
+
components: [
|
|
387
|
+
{
|
|
388
|
+
internalType: "uint32",
|
|
389
|
+
name: "bps",
|
|
390
|
+
type: "uint32",
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
internalType: "uint32",
|
|
394
|
+
name: "chainId",
|
|
395
|
+
type: "uint32",
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
internalType: "address",
|
|
399
|
+
name: "addr",
|
|
400
|
+
type: "address",
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
internalType: "enum DistributionHelper.TransferType",
|
|
404
|
+
name: "transferType",
|
|
405
|
+
type: "uint8",
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
internalType: "struct DistributionHelper.DistributionRecipient",
|
|
409
|
+
name: "_recipient",
|
|
410
|
+
type: "tuple",
|
|
411
|
+
},
|
|
412
|
+
],
|
|
413
|
+
name: "addOrUpdateRecipient",
|
|
414
|
+
outputs: [],
|
|
415
|
+
stateMutability: "nonpayable",
|
|
416
|
+
type: "function",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
inputs: [],
|
|
420
|
+
name: "avatar",
|
|
421
|
+
outputs: [
|
|
422
|
+
{
|
|
423
|
+
internalType: "address",
|
|
424
|
+
name: "",
|
|
425
|
+
type: "address",
|
|
426
|
+
},
|
|
427
|
+
],
|
|
428
|
+
stateMutability: "view",
|
|
429
|
+
type: "function",
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
inputs: [],
|
|
433
|
+
name: "dao",
|
|
434
|
+
outputs: [
|
|
435
|
+
{
|
|
436
|
+
internalType: "contract Controller",
|
|
437
|
+
name: "",
|
|
438
|
+
type: "address",
|
|
439
|
+
},
|
|
440
|
+
],
|
|
441
|
+
stateMutability: "view",
|
|
442
|
+
type: "function",
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
inputs: [
|
|
446
|
+
{
|
|
447
|
+
internalType: "uint256",
|
|
448
|
+
name: "",
|
|
449
|
+
type: "uint256",
|
|
450
|
+
},
|
|
451
|
+
],
|
|
452
|
+
name: "distributionRecipients",
|
|
453
|
+
outputs: [
|
|
454
|
+
{
|
|
455
|
+
internalType: "uint32",
|
|
456
|
+
name: "bps",
|
|
457
|
+
type: "uint32",
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
internalType: "uint32",
|
|
461
|
+
name: "chainId",
|
|
462
|
+
type: "uint32",
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
internalType: "address",
|
|
466
|
+
name: "addr",
|
|
467
|
+
type: "address",
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
internalType: "enum DistributionHelper.TransferType",
|
|
471
|
+
name: "transferType",
|
|
472
|
+
type: "uint8",
|
|
473
|
+
},
|
|
474
|
+
],
|
|
475
|
+
stateMutability: "view",
|
|
476
|
+
type: "function",
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
inputs: [],
|
|
480
|
+
name: "feeSettings",
|
|
481
|
+
outputs: [
|
|
482
|
+
{
|
|
483
|
+
internalType: "uint128",
|
|
484
|
+
name: "axelarBaseFeeUSD",
|
|
485
|
+
type: "uint128",
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
internalType: "uint128",
|
|
489
|
+
name: "bridgeExecuteGas",
|
|
490
|
+
type: "uint128",
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
internalType: "uint128",
|
|
494
|
+
name: "targetChainGasPrice",
|
|
495
|
+
type: "uint128",
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
internalType: "uint128",
|
|
499
|
+
name: "maxFee",
|
|
500
|
+
type: "uint128",
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
internalType: "uint128",
|
|
504
|
+
name: "minBalanceForFees",
|
|
505
|
+
type: "uint128",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
internalType: "uint8",
|
|
509
|
+
name: "percentageToSellForFee",
|
|
510
|
+
type: "uint8",
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
stateMutability: "view",
|
|
514
|
+
type: "function",
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
inputs: [],
|
|
518
|
+
name: "fuseBridge",
|
|
519
|
+
outputs: [
|
|
520
|
+
{
|
|
521
|
+
internalType: "address",
|
|
522
|
+
name: "",
|
|
523
|
+
type: "address",
|
|
524
|
+
},
|
|
525
|
+
],
|
|
526
|
+
stateMutability: "view",
|
|
527
|
+
type: "function",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
inputs: [
|
|
531
|
+
{
|
|
532
|
+
internalType: "uint256",
|
|
533
|
+
name: "targetChainId",
|
|
534
|
+
type: "uint256",
|
|
535
|
+
},
|
|
536
|
+
],
|
|
537
|
+
name: "getAxelarFee",
|
|
538
|
+
outputs: [
|
|
539
|
+
{
|
|
540
|
+
internalType: "uint256",
|
|
541
|
+
name: "feeInEth",
|
|
542
|
+
type: "uint256",
|
|
543
|
+
},
|
|
544
|
+
],
|
|
545
|
+
stateMutability: "view",
|
|
546
|
+
type: "function",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
inputs: [
|
|
550
|
+
{
|
|
551
|
+
internalType: "bytes32",
|
|
552
|
+
name: "role",
|
|
553
|
+
type: "bytes32",
|
|
554
|
+
},
|
|
555
|
+
],
|
|
556
|
+
name: "getRoleAdmin",
|
|
557
|
+
outputs: [
|
|
558
|
+
{
|
|
559
|
+
internalType: "bytes32",
|
|
560
|
+
name: "",
|
|
561
|
+
type: "bytes32",
|
|
562
|
+
},
|
|
563
|
+
],
|
|
564
|
+
stateMutability: "view",
|
|
565
|
+
type: "function",
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
inputs: [
|
|
569
|
+
{
|
|
570
|
+
internalType: "bytes32",
|
|
571
|
+
name: "role",
|
|
572
|
+
type: "bytes32",
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
internalType: "uint256",
|
|
576
|
+
name: "index",
|
|
577
|
+
type: "uint256",
|
|
578
|
+
},
|
|
579
|
+
],
|
|
580
|
+
name: "getRoleMember",
|
|
581
|
+
outputs: [
|
|
582
|
+
{
|
|
583
|
+
internalType: "address",
|
|
584
|
+
name: "",
|
|
585
|
+
type: "address",
|
|
586
|
+
},
|
|
587
|
+
],
|
|
588
|
+
stateMutability: "view",
|
|
589
|
+
type: "function",
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
inputs: [
|
|
593
|
+
{
|
|
594
|
+
internalType: "bytes32",
|
|
595
|
+
name: "role",
|
|
596
|
+
type: "bytes32",
|
|
597
|
+
},
|
|
598
|
+
],
|
|
599
|
+
name: "getRoleMemberCount",
|
|
600
|
+
outputs: [
|
|
601
|
+
{
|
|
602
|
+
internalType: "uint256",
|
|
603
|
+
name: "",
|
|
604
|
+
type: "uint256",
|
|
605
|
+
},
|
|
606
|
+
],
|
|
607
|
+
stateMutability: "view",
|
|
608
|
+
type: "function",
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
inputs: [
|
|
612
|
+
{
|
|
613
|
+
internalType: "uint256",
|
|
614
|
+
name: "gasCostWei",
|
|
615
|
+
type: "uint256",
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
internalType: "uint256",
|
|
619
|
+
name: "chainId",
|
|
620
|
+
type: "uint256",
|
|
621
|
+
},
|
|
622
|
+
],
|
|
623
|
+
name: "getTargetChainGasInEth",
|
|
624
|
+
outputs: [
|
|
625
|
+
{
|
|
626
|
+
internalType: "uint256",
|
|
627
|
+
name: "quote",
|
|
628
|
+
type: "uint256",
|
|
629
|
+
},
|
|
630
|
+
],
|
|
631
|
+
stateMutability: "view",
|
|
632
|
+
type: "function",
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
inputs: [
|
|
636
|
+
{
|
|
637
|
+
internalType: "uint256",
|
|
638
|
+
name: "chainId",
|
|
639
|
+
type: "uint256",
|
|
640
|
+
},
|
|
641
|
+
],
|
|
642
|
+
name: "getTargetChainRefundAddress",
|
|
643
|
+
outputs: [
|
|
644
|
+
{
|
|
645
|
+
internalType: "address",
|
|
646
|
+
name: "",
|
|
647
|
+
type: "address",
|
|
648
|
+
},
|
|
649
|
+
],
|
|
650
|
+
stateMutability: "pure",
|
|
651
|
+
type: "function",
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
inputs: [
|
|
655
|
+
{
|
|
656
|
+
internalType: "bytes32",
|
|
657
|
+
name: "role",
|
|
658
|
+
type: "bytes32",
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
internalType: "address",
|
|
662
|
+
name: "account",
|
|
663
|
+
type: "address",
|
|
664
|
+
},
|
|
665
|
+
],
|
|
666
|
+
name: "grantRole",
|
|
667
|
+
outputs: [],
|
|
668
|
+
stateMutability: "nonpayable",
|
|
669
|
+
type: "function",
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
inputs: [
|
|
673
|
+
{
|
|
674
|
+
internalType: "bytes32",
|
|
675
|
+
name: "role",
|
|
676
|
+
type: "bytes32",
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
internalType: "address",
|
|
680
|
+
name: "account",
|
|
681
|
+
type: "address",
|
|
682
|
+
},
|
|
683
|
+
],
|
|
684
|
+
name: "hasRole",
|
|
685
|
+
outputs: [
|
|
686
|
+
{
|
|
687
|
+
internalType: "bool",
|
|
688
|
+
name: "",
|
|
689
|
+
type: "bool",
|
|
690
|
+
},
|
|
691
|
+
],
|
|
692
|
+
stateMutability: "view",
|
|
693
|
+
type: "function",
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
inputs: [
|
|
697
|
+
{
|
|
698
|
+
internalType: "contract INameService",
|
|
699
|
+
name: "_ns",
|
|
700
|
+
type: "address",
|
|
701
|
+
},
|
|
702
|
+
],
|
|
703
|
+
name: "initialize",
|
|
704
|
+
outputs: [],
|
|
705
|
+
stateMutability: "nonpayable",
|
|
706
|
+
type: "function",
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
inputs: [],
|
|
710
|
+
name: "mpbBridge",
|
|
711
|
+
outputs: [
|
|
712
|
+
{
|
|
713
|
+
internalType: "contract IMessagePassingBridge",
|
|
714
|
+
name: "",
|
|
715
|
+
type: "address",
|
|
716
|
+
},
|
|
717
|
+
],
|
|
718
|
+
stateMutability: "view",
|
|
719
|
+
type: "function",
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
inputs: [],
|
|
723
|
+
name: "nameService",
|
|
724
|
+
outputs: [
|
|
725
|
+
{
|
|
726
|
+
internalType: "contract INameService",
|
|
727
|
+
name: "",
|
|
728
|
+
type: "address",
|
|
729
|
+
},
|
|
730
|
+
],
|
|
731
|
+
stateMutability: "view",
|
|
732
|
+
type: "function",
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
inputs: [],
|
|
736
|
+
name: "nativeToken",
|
|
737
|
+
outputs: [
|
|
738
|
+
{
|
|
739
|
+
internalType: "contract IGoodDollar",
|
|
740
|
+
name: "",
|
|
741
|
+
type: "address",
|
|
742
|
+
},
|
|
743
|
+
],
|
|
744
|
+
stateMutability: "view",
|
|
745
|
+
type: "function",
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
inputs: [
|
|
749
|
+
{
|
|
750
|
+
internalType: "uint256",
|
|
751
|
+
name: "_amount",
|
|
752
|
+
type: "uint256",
|
|
753
|
+
},
|
|
754
|
+
],
|
|
755
|
+
name: "onDistribution",
|
|
756
|
+
outputs: [],
|
|
757
|
+
stateMutability: "nonpayable",
|
|
758
|
+
type: "function",
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
inputs: [],
|
|
762
|
+
name: "proxiableUUID",
|
|
763
|
+
outputs: [
|
|
764
|
+
{
|
|
765
|
+
internalType: "bytes32",
|
|
766
|
+
name: "",
|
|
767
|
+
type: "bytes32",
|
|
768
|
+
},
|
|
769
|
+
],
|
|
770
|
+
stateMutability: "view",
|
|
771
|
+
type: "function",
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
inputs: [
|
|
775
|
+
{
|
|
776
|
+
internalType: "bytes32",
|
|
777
|
+
name: "role",
|
|
778
|
+
type: "bytes32",
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
internalType: "address",
|
|
782
|
+
name: "account",
|
|
783
|
+
type: "address",
|
|
784
|
+
},
|
|
785
|
+
],
|
|
786
|
+
name: "renounceRole",
|
|
787
|
+
outputs: [],
|
|
788
|
+
stateMutability: "nonpayable",
|
|
789
|
+
type: "function",
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
inputs: [
|
|
793
|
+
{
|
|
794
|
+
internalType: "bytes32",
|
|
795
|
+
name: "role",
|
|
796
|
+
type: "bytes32",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
internalType: "address",
|
|
800
|
+
name: "account",
|
|
801
|
+
type: "address",
|
|
802
|
+
},
|
|
803
|
+
],
|
|
804
|
+
name: "revokeRole",
|
|
805
|
+
outputs: [],
|
|
806
|
+
stateMutability: "nonpayable",
|
|
807
|
+
type: "function",
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
inputs: [
|
|
811
|
+
{
|
|
812
|
+
components: [
|
|
813
|
+
{
|
|
814
|
+
internalType: "uint128",
|
|
815
|
+
name: "axelarBaseFeeUSD",
|
|
816
|
+
type: "uint128",
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
internalType: "uint128",
|
|
820
|
+
name: "bridgeExecuteGas",
|
|
821
|
+
type: "uint128",
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
internalType: "uint128",
|
|
825
|
+
name: "targetChainGasPrice",
|
|
826
|
+
type: "uint128",
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
internalType: "uint128",
|
|
830
|
+
name: "maxFee",
|
|
831
|
+
type: "uint128",
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
internalType: "uint128",
|
|
835
|
+
name: "minBalanceForFees",
|
|
836
|
+
type: "uint128",
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
internalType: "uint8",
|
|
840
|
+
name: "percentageToSellForFee",
|
|
841
|
+
type: "uint8",
|
|
842
|
+
},
|
|
843
|
+
],
|
|
844
|
+
internalType: "struct DistributionHelper.FeeSettings",
|
|
845
|
+
name: "_feeData",
|
|
846
|
+
type: "tuple",
|
|
847
|
+
},
|
|
848
|
+
],
|
|
849
|
+
name: "setFeeSettings",
|
|
850
|
+
outputs: [],
|
|
851
|
+
stateMutability: "nonpayable",
|
|
852
|
+
type: "function",
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
inputs: [
|
|
856
|
+
{
|
|
857
|
+
internalType: "bytes4",
|
|
858
|
+
name: "interfaceId",
|
|
859
|
+
type: "bytes4",
|
|
860
|
+
},
|
|
861
|
+
],
|
|
862
|
+
name: "supportsInterface",
|
|
863
|
+
outputs: [
|
|
864
|
+
{
|
|
865
|
+
internalType: "bool",
|
|
866
|
+
name: "",
|
|
867
|
+
type: "bool",
|
|
868
|
+
},
|
|
869
|
+
],
|
|
870
|
+
stateMutability: "view",
|
|
871
|
+
type: "function",
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
inputs: [],
|
|
875
|
+
name: "updateAddresses",
|
|
876
|
+
outputs: [],
|
|
877
|
+
stateMutability: "nonpayable",
|
|
878
|
+
type: "function",
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
inputs: [],
|
|
882
|
+
name: "updateAvatar",
|
|
883
|
+
outputs: [],
|
|
884
|
+
stateMutability: "nonpayable",
|
|
885
|
+
type: "function",
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
inputs: [
|
|
889
|
+
{
|
|
890
|
+
internalType: "address",
|
|
891
|
+
name: "newImplementation",
|
|
892
|
+
type: "address",
|
|
893
|
+
},
|
|
894
|
+
],
|
|
895
|
+
name: "upgradeTo",
|
|
896
|
+
outputs: [],
|
|
897
|
+
stateMutability: "nonpayable",
|
|
898
|
+
type: "function",
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
inputs: [
|
|
902
|
+
{
|
|
903
|
+
internalType: "address",
|
|
904
|
+
name: "newImplementation",
|
|
905
|
+
type: "address",
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
internalType: "bytes",
|
|
909
|
+
name: "data",
|
|
910
|
+
type: "bytes",
|
|
911
|
+
},
|
|
912
|
+
],
|
|
913
|
+
name: "upgradeToAndCall",
|
|
914
|
+
outputs: [],
|
|
915
|
+
stateMutability: "payable",
|
|
916
|
+
type: "function",
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
stateMutability: "payable",
|
|
920
|
+
type: "receive",
|
|
921
|
+
},
|
|
922
|
+
];
|
|
923
|
+
|
|
924
|
+
const _bytecode =
|
|
925
|
+
"0x60a06040523060805234801561001457600080fd5b5060805161288361004c600039600081816109000152818161094001528181610a4a01528181610a8a0152610b0201526128836000f3fe6080604052600436106101985760003560e01c806301ffc9a7146101a457806312adcebf146101d95780631b3c90a8146102125780631c6603ba146102295780631e599ff7146102b9578063248a9ca3146102da57806324ea54f41461030857806325e237b51461032a5780632f2ff15d14610352578063346ef41b1461037257806336568abe146103a25780633659cfe6146103c257806337d277d4146103e25780633d5037551461040a5780633e6326fc146104325780634162169f146104525780634d770d10146104725780634f1ef2861461049257806352d1902d146104a55780635aef7de6146104ba57806386d97a1a146104da5780639010d07c146104fa57806391d148541461051a5780639a2a37801461053a5780639d4c9c401461055a578063a217fddf1461057b578063a7f0c94314610590578063a8ba3890146105b0578063c0106d4d146105cb578063c4d66de8146105eb578063ca15c8731461060b578063d547741f1461062b578063e1758bd81461064b578063e26db6fc14610660578063fa5692741461067557600080fd5b3661019f57005b600080fd5b3480156101b057600080fd5b506101c46101bf366004611ff7565b61069d565b60405190151581526020015b60405180910390f35b3480156101e557600080fd5b50610168546101fa906001600160a01b031681565b6040516001600160a01b0390911681526020016101d0565b34801561021e57600080fd5b506102276106c8565b005b34801561023557600080fd5b50610165546101665461016754610274926001600160801b0380821693600160801b92839004821693818316939182900483169281169160ff91041686565b604080516001600160801b0397881681529587166020870152938616938501939093529084166060840152909216608082015260ff90911660a082015260c0016101d0565b3480156102c557600080fd5b50610163546101fa906001600160a01b031681565b3480156102e657600080fd5b506102fa6102f5366004612021565b6107ef565b6040519081526020016101d0565b34801561031457600080fd5b506102fa60008051602061282e83398151915281565b34801561033657600080fd5b506101fa73970b9bb2c0444f5e81e9d0efb84c8ccdcdcaf84d81565b34801561035e57600080fd5b5061022761036d36600461204f565b610804565b34801561037e57600080fd5b5061039261038d366004612021565b610825565b6040516101d094939291906120b7565b3480156103ae57600080fd5b506102276103bd36600461204f565b610873565b3480156103ce57600080fd5b506102276103dd3660046120e8565b6108f6565b3480156103ee57600080fd5b506101fa73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b34801561041657600080fd5b506101fa733294395e62f4eb6af3f1fcf89f5602d90fb3ef6981565b34801561043e57600080fd5b506067546101fa906001600160a01b031681565b34801561045e57600080fd5b506065546101fa906001600160a01b031681565b34801561047e57600080fd5b506101fa61048d366004612021565b6109be565b6102276104a036600461214b565b610a40565b3480156104b157600080fd5b506102fa610af5565b3480156104c657600080fd5b506066546101fa906001600160a01b031681565b3480156104e657600080fd5b506102276104f536600461220b565b610ba3565b34801561050657600080fd5b506101fa61051536600461228f565b610e16565b34801561052657600080fd5b506101c461053536600461204f565b610e36565b34801561054657600080fd5b506102276105553660046122c8565b610e61565b34801561056657600080fd5b50610164546101fa906001600160a01b031681565b34801561058757600080fd5b506102fa600081565b34801561059c57600080fd5b506102fa6105ab366004612021565b610ee2565b3480156105bc57600080fd5b5061022761019f366004612021565b3480156105d757600080fd5b506102fa6105e636600461228f565b611063565b3480156105f757600080fd5b506102276106063660046120e8565b6111d2565b34801561061757600080fd5b506102fa610626366004612021565b611338565b34801561063757600080fd5b5061022761064636600461204f565b611350565b34801561065757600080fd5b506101fa61136c565b34801561066c57600080fd5b506102276113f9565b34801561068157600080fd5b506101fa73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b60006001600160e01b03198216635a05180f60e01b14806106c257506106c2826115b3565b92915050565b60675460405163bf40fac160e01b815260206004820152600a60248201526921a7a72a2927a62622a960b11b60448201526001600160a01b039091169063bf40fac190606401602060405180830381865afa15801561072b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074f919061236e565b606580546001600160a01b0319166001600160a01b0392909216918217905560408051632d77bef360e11b81529051635aef7de6916004808201926020929091908290030181865afa1580156107a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107cd919061236e565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b600090815260fe602052604090206001015490565b61080d826107ef565b610816816115e8565b61082083836115f2565b505050565b610162818154811061083657600080fd5b60009182526020909120015463ffffffff8082169250600160201b82041690600160401b81046001600160a01b031690600160e01b900460ff1684565b6001600160a01b03811633146108e85760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6108f28282611615565b5050565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361093e5760405162461bcd60e51b81526004016108df9061238b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610970611638565b6001600160a01b0316146109965760405162461bcd60e51b81526004016108df906123c5565b61099f81611654565b604080516000808252602082019092526109bb9183919061165c565b50565b600081607a036109e3575073f96dadc6d71113f6500e97590760c924da1ef70e919050565b8161a4ec03610a07575073495d133b938596c9984d462f007b676bdc57ecec919050565b60405162461bcd60e51b815260206004820152600e60248201526d1c99599d5b990818da185a5b925960921b60448201526064016108df565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610a885760405162461bcd60e51b81526004016108df9061238b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610aba611638565b6001600160a01b031614610ae05760405162461bcd60e51b81526004016108df906123c5565b610ae982611654565b6108f28282600161165c565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610b905760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016108df565b506000805160206127e783398151915290565b6000610bae816115e8565b60005b61016254811015610d075782604001516001600160a01b03166101628281548110610bde57610bde6123ff565b600091825260209091200154600160401b90046001600160a01b031603610cf557826101628281548110610c1457610c146123ff565b60009182526020918290208351910180549284015160408501516001600160a01b0316600160401b02600160401b600160e01b031963ffffffff928316600160201b026001600160401b031990961692909416919091179390931791821683178155606084015190929091839160ff60e01b1916600160401b600160e81b031990911617600160e01b836003811115610caf57610caf61207f565b02179055509050507fd26d9de175cfca2c3e0cad9d09c85f0ce6c7fa5257382d00dc26dc5fb25cd8df8382604051610ce8929190612415565b60405180910390a1505050565b80610cff8161247c565b915050610bb1565b50610162546040517f2e65f65347b2e76218df0b7b6b594a3862c81e85706795e700237093c47a395791610d3d91859190612415565b60405180910390a1610162805460018101825560009190915282517f29af0939a5988989bfee913a9ad10b9335cb63ebc9fd2b69e5f877d0455ac9199091018054602085015160408601516001600160a01b0316600160401b02600160401b600160e01b031963ffffffff928316600160201b026001600160401b031990941692909516919091179190911792831681178255606085015185939091839160ff60e01b19909116600160401b600160e81b031990911617600160e01b836003811115610e0b57610e0b61207f565b021790555050505050565b600082815261013060205260408120610e2f90836117c7565b9392505050565b600091825260fe602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60008051602061282e833981519152610e79816115e8565b50805160208201516001600160801b03908116600160801b9081029282169290921761016555604083015160608401518216830290821617610166556080830151610167805460a09095015160ff169093026001600160881b0319909416911617919091179055565b61016654610165546000918291610f2091610f11916001600160801b0391821691600160801b90910416612495565b6001600160801b031684611063565b60408051600180825281830190925291925060009190602080830190803683370190505090506101f481600081518110610f5c57610f5c6123ff565b62ffffff9092166020928302919091019091015261016854610165546000916001600160a01b03169063d8045eca90610fa49064e8d4a51000906001600160801b03166124da565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873c02aaa39b223fe8d0a0e5c4f27ead9083c756cc286603c6040518663ffffffff1660e01b8152600401610ff1959493929190612500565b600060405180830381865afa15801561100e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110369190810190612586565b50905060646110458483612645565b61105090606e612658565b61105a9190612677565b95945050505050565b60008082607a03611089575073970b9bb2c0444f5e81e9d0efb84c8ccdcdcaf84d6110e9565b8261a4ec036110ad5750733294395e62f4eb6af3f1fcf89f5602d90fb3ef696110e9565b60405162461bcd60e51b815260206004820152601160248201527018985cd9551bdad95b8818da185a5b9259607a1b60448201526064016108df565b60408051600180825281830190925260009160208083019080368337019050509050610bb881600081518110611121576111216123ff565b62ffffff9092166020928302919091019091015261016854604051636c022f6560e11b81526001600160a01b039091169063d8045eca90611183908890869073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2908790603c90600401612500565b600060405180830381865afa1580156111a0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111c89190810190612586565b5095945050505050565b600054610100900460ff16158080156111f25750600054600160ff909116105b806112135750611201306117d3565b158015611213575060005460ff166001145b6112765760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108df565b6000805460ff191660011790558015611299576000805461ff0019166101001790555b6112a16117e2565b6112aa8261184d565b6066546112c2906000906001600160a01b0316611870565b6066546112e79060008051602061282e833981519152906001600160a01b0316611870565b6112ef6113f9565b80156108f2576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b6000818152610130602052604081206106c29061187a565b611359826107ef565b611362816115e8565b6108208383611615565b60675460405163bf40fac160e01b815260206004820152600a60248201526923a7a7a22227a62620a960b11b60448201526000916001600160a01b03169063bf40fac190606401602060405180830381865afa1580156113d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f4919061236e565b905090565b60675460405163bf40fac160e01b815260206004820152600f60248201526e1094925111d157d0d3d395149050d5608a1b60448201526001600160a01b039091169063bf40fac190606401602060405180830381865afa158015611461573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611485919061236e565b61016380546001600160a01b0319166001600160a01b0392831617905560675460405163bf40fac160e01b81526020600482015260126024820152711354109094925111d157d0d3d395149050d560721b604482015291169063bf40fac190606401602060405180830381865afa158015611504573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611528919061236e565b61016480546001600160a01b039283166001600160a01b031991821617909155610168805490911673b210ce856631eeeb767efa666ec7c1c57738d4381790556066546115859160008051602061282e8339815191529116611870565b6115b160008051602061282e83398151915273e0c5daa7cc6f88d29505f702a53bb5e67600e7ec611870565b565b60006001600160e01b03198216637965db0b60e01b14806106c257506301ffc9a760e01b6001600160e01b03198316146106c2565b6109bb8133611884565b6115fc82826118dd565b6000828152610130602052604090206108209082611963565b61161f8282611978565b60008281526101306020526040902061082090826119df565b6000805160206127e7833981519152546001600160a01b031690565b6109bb6119f4565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561168f5761082083611ab7565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156116e9575060408051601f3d908101601f191682019092526116e69181019061268b565b60015b61174c5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016108df565b6000805160206127e783398151915281146117bb5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016108df565b50610820838383611b51565b6000610e2f8383611b7c565b6001600160a01b03163b151590565b600054610100900460ff166115b15760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016108df565b606780546001600160a01b0319166001600160a01b0383161790556109bb6106c8565b6108f282826115f2565b60006106c2825490565b61188e8282610e36565b6108f25761189b81611ba6565b6118a6836020611bb8565b6040516020016118b79291906126c8565b60408051601f198184030181529082905262461bcd60e51b82526108df91600401612737565b6118e78282610e36565b6108f257600082815260fe602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561191f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610e2f836001600160a01b038416611d53565b6119828282610e36565b156108f257600082815260fe602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610e2f836001600160a01b038416611da2565b60655460408051632d77bef360e11b8152905133926001600160a01b031691635aef7de69160048083019260209291908290030181865afa158015611a3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a61919061236e565b6001600160a01b0316146115b15760405162461bcd60e51b815260206004820181905260248201527f6f6e6c79206176617461722063616e2063616c6c2074686973206d6574686f6460448201526064016108df565b611ac0816117d3565b611b225760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016108df565b6000805160206127e783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611b5a83611e95565b600082511180611b675750805b1561082057611b768383611ed5565b50505050565b6000826000018281548110611b9357611b936123ff565b9060005260206000200154905092915050565b60606106c26001600160a01b03831660145b60606000611bc7836002612658565b611bd2906002612645565b6001600160401b03811115611be957611be9612105565b6040519080825280601f01601f191660200182016040528015611c13576020820181803683370190505b509050600360fc1b81600081518110611c2e57611c2e6123ff565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c5d57611c5d6123ff565b60200101906001600160f81b031916908160001a9053506000611c81846002612658565b611c8c906001612645565b90505b6001811115611d04576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611cc057611cc06123ff565b1a60f81b828281518110611cd657611cd66123ff565b60200101906001600160f81b031916908160001a90535060049490941c93611cfd8161276a565b9050611c8f565b508315610e2f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016108df565b6000818152600183016020526040812054611d9a575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556106c2565b5060006106c2565b60008181526001830160205260408120548015611e8b576000611dc6600183612781565b8554909150600090611dda90600190612781565b9050818114611e3f576000866000018281548110611dfa57611dfa6123ff565b9060005260206000200154905080876000018481548110611e1d57611e1d6123ff565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611e5057611e50612794565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506106c2565b60009150506106c2565b611e9e81611ab7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060611ee0836117d3565b611f3b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016108df565b600080846001600160a01b031684604051611f5691906127aa565b600060405180830381855af49150503d8060008114611f91576040519150601f19603f3d011682016040523d82523d6000602084013e611f96565b606091505b509150915061105a82826040518060600160405280602781526020016128076027913960608315611fc8575081610e2f565b610e2f8383815115611fdd5781518083602001fd5b8060405162461bcd60e51b81526004016108df9190612737565b60006020828403121561200957600080fd5b81356001600160e01b031981168114610e2f57600080fd5b60006020828403121561203357600080fd5b5035919050565b6001600160a01b03811681146109bb57600080fd5b6000806040838503121561206257600080fd5b8235915060208301356120748161203a565b809150509250929050565b634e487b7160e01b600052602160045260246000fd5b600481106120b357634e487b7160e01b600052602160045260246000fd5b9052565b63ffffffff8581168252841660208201526001600160a01b03831660408201526080810161105a6060830184612095565b6000602082840312156120fa57600080fd5b8135610e2f8161203a565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561214357612143612105565b604052919050565b6000806040838503121561215e57600080fd5b82356121698161203a565b91506020838101356001600160401b038082111561218657600080fd5b818601915086601f83011261219a57600080fd5b8135818111156121ac576121ac612105565b6121be601f8201601f1916850161211b565b915080825287848285010111156121d457600080fd5b80848401858401376000848284010152508093505050509250929050565b803563ffffffff8116811461220657600080fd5b919050565b60006080828403121561221d57600080fd5b604051608081016001600160401b038111828210171561223f5761223f612105565b60405261224b836121f2565b8152612259602084016121f2565b6020820152604083013561226c8161203a565b604082015260608301356004811061228357600080fd5b60608201529392505050565b600080604083850312156122a257600080fd5b50508035926020909101359150565b80356001600160801b038116811461220657600080fd5b600060c082840312156122da57600080fd5b60405160c081016001600160401b03811182821017156122fc576122fc612105565b604052612308836122b1565b8152612316602084016122b1565b6020820152612327604084016122b1565b6040820152612338606084016122b1565b6060820152612349608084016122b1565b608082015260a083013560ff8116811461236257600080fd5b60a08201529392505050565b60006020828403121561238057600080fd5b8151610e2f8161203a565b6020808252602c908201526000805160206127c783398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206127c783398151915260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b825163ffffffff9081168252602080850151909116908201526040808401516001600160a01b03169082015260608084015160a083019161245890840182612095565b508260808301529392505050565b634e487b7160e01b600052601160045260246000fd5b60006001820161248e5761248e612466565b5060010190565b60006001600160801b03828116848216811515828404821116156124bb576124bb612466565b02949350505050565b634e487b7160e01b600052601260045260246000fd5b60006001600160801b03838116806124f4576124f46124c4565b92169190910492915050565b6001600160801b03861681526001600160a01b03858116602080840191909152908516604083015260a06060830181905284519083018190526000918581019160c0850190845b8181101561256857845162ffffff1683529383019391830191600101612547565b505080935050505063ffffffff831660808301529695505050505050565b6000806040838503121561259957600080fd5b8251602080850151919350906001600160401b03808211156125ba57600080fd5b818601915086601f8301126125ce57600080fd5b8151818111156125e0576125e0612105565b8060051b91506125f184830161211b565b818152918301840191848101908984111561260b57600080fd5b938501935b8385101561263557845192506126258361203a565b8282529385019390850190612610565b8096505050505050509250929050565b808201808211156106c2576106c2612466565b600081600019048311821515161561267257612672612466565b500290565b600082612686576126866124c4565b500490565b60006020828403121561269d57600080fd5b5051919050565b60005b838110156126bf5781810151838201526020016126a7565b50506000910152565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516126fa8160178501602088016126a4565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161272b8160288401602088016126a4565b01602801949350505050565b60208152600082518060208401526127568160408501602087016126a4565b601f01601f19169190910160400192915050565b60008161277957612779612466565b506000190190565b818103818111156106c2576106c2612466565b634e487b7160e01b600052603160045260246000fd5b600082516127bc8184602087016126a4565b919091019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656455435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041a2646970667358221220a81ddc5f000f179abefd4a7553e0b4eb0b7e6c0a9dc143df0f16cc3ede07137c64736f6c63430008100033";
|
|
926
|
+
|
|
927
|
+
type DistributionHelperTestConstructorParams =
|
|
928
|
+
| [signer?: Signer]
|
|
929
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
930
|
+
|
|
931
|
+
const isSuperArgs = (
|
|
932
|
+
xs: DistributionHelperTestConstructorParams
|
|
933
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
934
|
+
|
|
935
|
+
export class DistributionHelperTest__factory extends ContractFactory {
|
|
936
|
+
constructor(...args: DistributionHelperTestConstructorParams) {
|
|
937
|
+
if (isSuperArgs(args)) {
|
|
938
|
+
super(...args);
|
|
939
|
+
} else {
|
|
940
|
+
super(_abi, _bytecode, args[0]);
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
deploy(
|
|
945
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
946
|
+
): Promise<DistributionHelperTest> {
|
|
947
|
+
return super.deploy(overrides || {}) as Promise<DistributionHelperTest>;
|
|
948
|
+
}
|
|
949
|
+
getDeployTransaction(
|
|
950
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
951
|
+
): TransactionRequest {
|
|
952
|
+
return super.getDeployTransaction(overrides || {});
|
|
953
|
+
}
|
|
954
|
+
attach(address: string): DistributionHelperTest {
|
|
955
|
+
return super.attach(address) as DistributionHelperTest;
|
|
956
|
+
}
|
|
957
|
+
connect(signer: Signer): DistributionHelperTest__factory {
|
|
958
|
+
return super.connect(signer) as DistributionHelperTest__factory;
|
|
959
|
+
}
|
|
960
|
+
static readonly bytecode = _bytecode;
|
|
961
|
+
static readonly abi = _abi;
|
|
962
|
+
static createInterface(): DistributionHelperTestInterface {
|
|
963
|
+
return new utils.Interface(_abi) as DistributionHelperTestInterface;
|
|
964
|
+
}
|
|
965
|
+
static connect(
|
|
966
|
+
address: string,
|
|
967
|
+
signerOrProvider: Signer | Provider
|
|
968
|
+
): DistributionHelperTest {
|
|
969
|
+
return new Contract(
|
|
970
|
+
address,
|
|
971
|
+
_abi,
|
|
972
|
+
signerOrProvider
|
|
973
|
+
) as DistributionHelperTest;
|
|
974
|
+
}
|
|
975
|
+
}
|