@gooddollar/goodprotocol 2.0.34-beta.4 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/artifacts/abis/UBISchemeV2.min.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Avatar.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Controller.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/IntVoteInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/ReputationInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/SchemeRegistrar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/AggregatorV3Interface.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ERC20.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAaveIncentivesController.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAdminWallet.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IDonationStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IERC2917.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IFirstClaimPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IHasRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentity.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentityV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IMultichainRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IQuoterV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ISwapRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IUBIScheme.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ProxyAdmin.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Reserve.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Uniswap.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapFactory.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapPair.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/cERC20.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBancorExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBroker.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExpansionController.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IMentoReserve.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/ITradingLimits.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.dbg.json +1 -1
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
- package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IGovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IStakingUpgrade.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/RewardsMinter.dbg.json +1 -1
- package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/MultiBaseGovernanceShareField.sol/MultiBaseGovernanceShareField.dbg.json +1 -1
- package/artifacts/contracts/governance/Reputation.sol/Reputation.dbg.json +1 -1
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV3.sol/IdentityV3.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesFuseV2.sol/InvitesFuseV2.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV2.sol/InvitesV2.dbg.json +1 -1
- package/artifacts/contracts/invite/OneTimeReward.sol/OneTimeReward.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionBridgeMock.sol/DistributionBridgeMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodDollarStakingMock.sol/GoodDollarStakingMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/IdentityMock.sol/IdentityMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/IWrapper.dbg.json +1 -1
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/MultichainRouterMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/IGoodDollarStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/OverMintTester.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
- package/artifacts/contracts/mocks/PayableMock.sol/PayableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/StakingMockFixedAPY.sol/StakingMockFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
- package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
- package/artifacts/contracts/reserve/CeloDistributionHelper.sol/CeloDistributionHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/DistributionHelper.sol/DistributionHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/IConsensus.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/PegSwap.dbg.json +1 -1
- package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/Math64X64.sol/Math64x64.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/StakingRewardsFixedAPY.sol/StakingRewardsFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/token/ERC20PresetMinterPauserUpgradeable.sol/ERC20PresetMinterPauserUpgradeable.dbg.json +1 -1
- package/artifacts/contracts/token/ERC677.sol/ERC677.dbg.json +1 -1
- package/artifacts/contracts/token/ERC677.sol/ERC677Receiver.dbg.json +1 -1
- package/artifacts/contracts/token/GoodDollar.sol/GoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/GoodDollar2.sol/GoodDollar2.dbg.json +1 -1
- package/artifacts/contracts/token/IFeesFormula.sol/IFeesFormula.dbg.json +1 -1
- package/artifacts/contracts/token/MultichainFeeFormula.sol/MultichainFeeFormula.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/SelfApprove.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperToken.sol/ISuperToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperfluidToken.sol/SuperfluidToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxiable.sol/UUPSProxiable.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/Proxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSUtils.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.json +2 -7
- package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.dbg.json +1 -1
- package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkWhitelist.sol/BulkWhitelist.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyFromReserveHelper.sol/BuyFromReserveHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDClone.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/DonateGDClone.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
- package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/EternalStorage.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/FuseOldBridgeKill.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/IUpgradeabilityOwnerStorage.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Initializable.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Ownable.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Upgradeable.dbg.json +1 -1
- package/artifacts/contracts/utils/GDFaucet.sol/GDFaucet.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/IRouter.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/PausableControl.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/TokenOperation.dbg.json +1 -1
- package/artifacts/contracts/utils/IdentityFix.sol/IdentityFix.dbg.json +1 -1
- package/artifacts/contracts/utils/LastauthReduction.sol/LastauthReduction.dbg.json +1 -1
- package/artifacts/contracts/utils/MultiCall.sol/Multicall.dbg.json +1 -1
- package/artifacts/contracts/utils/MultichainBridgeHelper.sol/MultichainBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePayments.sol/OneTimePayments.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePaymentsV2.sol/OneTimePaymentsV2.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/MentoExchange.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.dbg.json +1 -1
- package/contracts/IUniswapV3.sol +2 -0
- package/contracts/fuseFaucet/Faucet.sol +6 -0
- package/contracts/fuseFaucet/FuseFaucetV2.sol +10 -0
- package/contracts/mocks/GenericDistributionHelperTest.sol +31 -0
- package/contracts/reserve/GenericDistributionHelper.sol +28 -20
- package/contracts/utils/ProxyFactory1967.sol +1 -0
- package/hardhat.config.ts +29 -21
- package/package.json +3 -2
- package/releases/deployment.json +1 -0
- package/releases/olddao.json +1 -1
- package/scripts/fv.ts +0 -2
- package/scripts/multichain-deploy/fulldeploy.sh +17 -17
- package/scripts/multichain-deploy/helpers.ts +7 -5
- package/scripts/proposals/gip-25-xdc-upgrade-ubi.ts +447 -0
- package/scripts/upgrades/upgradeFaucet.ts +46 -0
- package/test/governance/ClaimersDistribution.test.ts +1 -1
- package/test/reserve/GenericDistributionHelper.test.ts +315 -0
- package/test/ubi/UBISchemeCycle.test.ts +30 -63
- package/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -1
- package/types/@uniswap/index.ts +0 -2
- package/types/AaveMock.ts +1031 -0
- package/types/AaveStakingFactory.ts +290 -0
- package/types/AaveUSDMockOracle.ts +89 -0
- package/types/AccessControl.ts +361 -0
- package/types/AccessControlEnumerableUpgradeable.ts +444 -0
- package/types/AccessControlUpgradeable.ts +371 -0
- package/types/AdminWallet.ts +1234 -0
- package/types/AdminWalletFuse.ts +1340 -0
- package/types/AggregatorV3Interface.ts +192 -0
- package/types/Avatar.ts +121 -0
- package/types/BancorFormula.ts +974 -0
- package/types/BaseShareField.ts +442 -0
- package/types/BaseShareFieldV2.ts +361 -0
- package/types/{contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange.ts → BatUSDMockOracle.ts} +30 -22
- package/types/BuyAndBridgeHelper.ts +279 -0
- package/types/BuyGDClone.ts +383 -0
- package/types/BuyGDCloneFactory.ts +180 -0
- package/types/CBATMock.ts +1203 -0
- package/types/CDAILowWorthMock.ts +1169 -0
- package/types/CDAIMock.ts +1219 -0
- package/types/CDAINonMintableMock.ts +1169 -0
- package/types/CDecimalsMock.ts +1203 -0
- package/types/CERC20.ts +552 -0
- package/types/CSDTMock.ts +1203 -0
- package/types/CUSDCMock.ts +1203 -0
- package/types/ClaimersDistribution.ts +634 -0
- package/types/CompUSDMockOracle.ts +89 -0
- package/types/CompoundStakingFactory.ts +261 -0
- package/types/CompoundVotingMachine.ts +1718 -0
- package/types/ContextUpgradeable.ts +77 -0
- package/types/ContributionCalc.ts +164 -0
- package/types/Controller.ts +547 -0
- package/types/DAIMock.ts +1092 -0
- package/types/DAOContract.ts +162 -0
- package/types/DAOUpgradeableContract.ts +299 -0
- package/types/DaiEthPriceMockOracle.ts +89 -0
- package/types/DecimalsMock.ts +1031 -0
- package/types/DistributionBridgeMock.ts +384 -0
- package/types/{contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper.ts → DistributionHelper.ts} +351 -345
- package/types/{contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper.ts → DistributionHelperTest.ts} +361 -349
- package/types/{contracts/reserve/GenericDistributionHelper.ts → DistributionHelperTestHelper.ts} +417 -401
- package/types/DonationsStaking.ts +805 -0
- package/types/EIP712Upgradeable.ts +77 -0
- package/types/ERC165.ts +104 -0
- package/types/ERC165Upgradeable.ts +115 -0
- package/types/ERC1967Proxy.ts +147 -0
- package/types/{@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts → ERC1967Upgrade.ts} +21 -23
- package/types/ERC1967UpgradeUpgradeable.ts +116 -0
- package/types/ERC20.ts +417 -0
- package/types/ERC20BurnableUpgradeable.ts +488 -0
- package/types/ERC20PausableUpgradeable.ts +458 -0
- package/types/ERC20Permit.ts +186 -0
- package/types/ERC20PermitUpgradeable.ts +531 -0
- package/types/ERC20PresetMinterPauserUpgradeable.ts +1136 -0
- package/types/ERC20Upgradeable.ts +426 -0
- package/types/ERC20WithTokenInfo.ts +339 -0
- package/types/ERC677.ts +131 -0
- package/types/ERC677Receiver.ts +115 -0
- package/types/EthUSDMockOracle.ts +138 -0
- package/types/EventsEmitter.ts +88 -0
- package/types/ExchangeHelper.ts +550 -0
- package/types/Faucet.ts +1167 -0
- package/types/FeesFormulaMock.ts +130 -0
- package/types/FuseFaucet.ts +507 -0
- package/types/FuseFaucetV2.ts +846 -0
- package/types/FuseStakingV3.ts +1212 -0
- package/types/GDFaucet.ts +221 -0
- package/types/GReputation.ts +2119 -0
- package/types/GasPriceMockOracle.ts +118 -0
- package/types/GlobalConstraintInterface.ts +134 -0
- package/types/GoodAaveStaking.ts +1761 -0
- package/types/{contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2.ts → GoodAaveStakingV2.ts} +100 -177
- package/types/GoodCompoundStaking.ts +1847 -0
- package/types/GoodCompoundStakingTest.ts +1957 -0
- package/types/GoodCompoundStakingV2.ts +1645 -0
- package/types/{contracts/token/GoodDollar18.ts → GoodDollar.ts} +140 -278
- package/types/GoodDollarMintBurnWrapper.ts +1792 -0
- package/types/GoodDollarStaking.ts +1947 -0
- package/types/GoodDollarStakingMock.ts +1986 -0
- package/types/GoodFundManager.ts +1126 -0
- package/types/GoodFundManagerTest.ts +1165 -0
- package/types/GoodMarketMaker.ts +1002 -0
- package/types/{contracts/reserve/GoodReserveADai.ts → GoodReserveCDai.ts} +197 -343
- package/types/GovernanceStaking.ts +1295 -0
- package/types/{contracts/Interfaces.sol/IAaveIncentivesControllerV3.ts → IAaveIncentivesController.ts} +47 -48
- package/types/IAccessControl.ts +306 -0
- package/types/IAccessControlEnumerableUpgradeable.ts +380 -0
- package/types/IAccessControlUpgradeable.ts +307 -0
- package/types/IAdminWallet.ts +171 -0
- package/types/{contracts/Interfaces.sol/AToken.ts → IBeacon.ts} +30 -22
- package/types/IBeaconUpgradeable.ts +89 -0
- package/types/IConsensus.ts +225 -0
- package/types/IDonationStaking.ts +98 -0
- package/types/IERC1271Upgradeable.ts +109 -0
- package/types/IERC165.ts +104 -0
- package/types/IERC165Upgradeable.ts +104 -0
- package/types/IERC1820Registry.ts +398 -0
- package/types/IERC1822Proxiable.ts +89 -0
- package/types/IERC1822ProxiableUpgradeable.ts +90 -0
- package/types/IERC20.ts +300 -0
- package/types/IERC20Metadata.ts +339 -0
- package/types/IERC20MetadataUpgradeable.ts +340 -0
- package/types/IERC20Permit.ts +175 -0
- package/types/IERC20PermitUpgradeable.ts +176 -0
- package/types/IERC20Upgradeable.ts +300 -0
- package/types/IERC2917.ts +661 -0
- package/types/IERC777.ts +586 -0
- package/types/IERC777Recipient.ts +130 -0
- package/types/IERC777Sender.ts +130 -0
- package/types/IFeesFormula.ts +111 -0
- package/types/IFirstClaimPool.ts +136 -0
- package/types/IGoodDollar.ts +876 -0
- package/types/IGoodDollarCustom.ts +618 -0
- package/types/IGoodDollarStakingTest.ts +160 -0
- package/types/IGoodStaking.ts +264 -0
- package/types/IGovernanceStaking.ts +98 -0
- package/types/{contracts/utils/ReserveRestore.sol/MentoExchange.ts → IHasRouter.ts} +24 -22
- package/types/IIdentity.ts +508 -0
- package/types/IIdentityV2.ts +591 -0
- package/types/ILayerZeroFeeEstimator.ts +136 -0
- package/types/{contracts/Interfaces.sol/ILendingPoolV3.ts → ILendingPool.ts} +76 -89
- package/types/IMessagePassingBridge.ts +774 -0
- package/types/IMultichainRouter.ts +166 -0
- package/types/INameService.ts +86 -0
- package/types/IRouter.ts +143 -0
- package/types/IStakingUpgrade.ts +110 -0
- package/types/IStaticOracle.ts +677 -0
- package/types/ISuperAgreement.ts +151 -0
- package/types/ISuperApp.ts +410 -0
- package/types/ISuperGoodDollar.ts +3029 -0
- package/types/ISuperToken.ts +2326 -0
- package/types/ISuperTokenFactory.ts +415 -0
- package/types/ISuperfluid.ts +1565 -0
- package/types/ISuperfluidGovernance.ts +455 -0
- package/types/ISuperfluidToken.ts +951 -0
- package/types/ISwapRouter.ts +298 -0
- package/types/IUBIScheme.ts +121 -0
- package/types/IUniswapV3Factory.ts +333 -0
- package/types/IWrapper.ts +143 -0
- package/types/IdentityFix.ts +141 -0
- package/types/IdentityMock.ts +527 -0
- package/types/IdentityV2.ts +1782 -0
- package/types/IncentiveControllerMock.ts +207 -0
- package/types/Initializable.ts +77 -0
- package/types/IntVoteInterface.ts +468 -0
- package/types/InvitesFuseV2.ts +840 -0
- package/types/InvitesV1.ts +806 -0
- package/types/InvitesV2.ts +1016 -0
- package/types/LendingPoolMock.ts +1259 -0
- package/types/MultiBaseGovernanceShareField.ts +411 -0
- package/types/Multicall.ts +298 -0
- package/types/MultichainBridgeHelper.ts +170 -0
- package/types/MultichainFeeFormula.ts +130 -0
- package/types/MultichainRouterMock.ts +141 -0
- package/types/NameService.ts +386 -0
- package/types/OldMarketMaker.ts +113 -0
- package/types/OneTimePayments.ts +396 -0
- package/types/OneTimePaymentsV2.ts +456 -0
- package/types/OverMintTester.ts +176 -0
- package/types/OverMintTesterRegularStake.ts +177 -0
- package/types/OwnableUpgradeable.ts +175 -0
- package/types/Pausable.ts +103 -0
- package/types/PausableControl.ts +125 -0
- package/types/PausableUpgradeable.ts +112 -0
- package/types/PayableMock.ts +92 -0
- package/types/PegSwap.ts +112 -0
- package/types/ProtocolUpgrade.ts +272 -0
- package/types/ProtocolUpgradeFuse.ts +166 -0
- package/types/ProtocolUpgradeFuseRecover.ts +167 -0
- package/types/ProtocolUpgradeRecover.ts +264 -0
- package/types/Proxy.ts +66 -0
- package/types/ProxyAdmin.ts +254 -0
- package/types/ProxyFactory1967.ts +284 -0
- package/types/ReentrancyGuardUpgradeable.ts +78 -0
- package/types/Reputation.ts +964 -0
- package/types/ReputationInterface.ts +261 -0
- package/types/ReputationTestHelper.ts +175 -0
- package/types/Reserve.ts +112 -0
- package/types/RewardsMinter.ts +107 -0
- package/types/SchemeRegistrar.ts +164 -0
- package/types/SelfApprove.ts +115 -0
- package/types/SimpleStaking.ts +1523 -0
- package/types/SimpleStakingV2.ts +1427 -0
- package/types/SixteenDecimalsTokenMock.ts +1032 -0
- package/types/StakersDistribution.ts +949 -0
- package/types/Staking.ts +158 -0
- package/types/StakingMockFixedAPY.ts +995 -0
- package/types/StakingRewardsFixedAPY.ts +428 -0
- package/types/SuperGoodDollar.ts +3662 -0
- package/types/SuperToken.ts +2434 -0
- package/types/SuperfluidToken.ts +951 -0
- package/types/SwapHelperTest.ts +120 -0
- package/types/TokenInfo.ts +109 -0
- package/types/TwentyDecimalsTokenMock.ts +1032 -0
- package/types/UBIScheme.ts +1461 -0
- package/types/UBISchemeV2.ts +1192 -0
- package/types/USDCMock.ts +1031 -0
- package/types/UUPSProxiable.ts +183 -0
- package/types/UUPSProxy.ts +105 -0
- package/types/UUPSUpgradeable.ts +207 -0
- package/types/Uniswap.ts +423 -0
- package/types/UniswapFactory.ts +106 -0
- package/types/UniswapPair.ts +187 -0
- package/types/UniswapV2SwapHelper.ts +124 -0
- package/types/UpgradableMock.ts +349 -0
- package/types/UpgradableMock2.ts +311 -0
- package/types/UpgradableMock3.ts +336 -0
- package/types/UpgradableMock4.ts +336 -0
- package/types/contracts/index.ts +0 -4
- package/types/contracts/reserve/index.ts +0 -1
- package/types/contracts/ubi/UBISchemeV2.ts +3 -14
- package/types/contracts/utils/BuyGDClone.sol/index.ts +2 -0
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -1
- package/types/factories/@uniswap/index.ts +0 -1
- package/types/factories/AaveMock__factory.ts +740 -0
- package/types/factories/AaveStakingFactory__factory.ts +262 -0
- package/types/factories/AaveUSDMockOracle__factory.ts +75 -0
- package/types/factories/AccessControlEnumerableUpgradeable__factory.ts +292 -0
- package/types/factories/AccessControlUpgradeable__factory.ts +247 -0
- package/types/factories/AccessControl__factory.ts +227 -0
- package/types/factories/AdminWalletFuse__factory.ts +933 -0
- package/types/factories/AdminWallet__factory.ts +865 -0
- package/types/factories/AggregatorV3Interface__factory.ts +121 -0
- package/types/factories/Avatar__factory.ts +59 -0
- package/types/factories/BancorFormula__factory.ts +674 -0
- package/types/factories/BaseShareFieldV2__factory.ts +251 -0
- package/types/factories/BaseShareField__factory.ts +307 -0
- package/types/factories/BatUSDMockOracle__factory.ts +75 -0
- package/types/factories/BuyAndBridgeHelper__factory.ts +237 -0
- package/types/factories/BuyGDCloneFactory__factory.ts +196 -0
- package/types/factories/BuyGDClone__factory.ts +343 -0
- package/types/factories/CBATMock__factory.ts +844 -0
- package/types/factories/CDAILowWorthMock__factory.ts +834 -0
- package/types/factories/CDAIMock__factory.ts +857 -0
- package/types/factories/CDAINonMintableMock__factory.ts +834 -0
- package/types/factories/CDecimalsMock__factory.ts +844 -0
- package/types/factories/CERC20__factory.ts +381 -0
- package/types/factories/CSDTMock__factory.ts +844 -0
- package/types/factories/CUSDCMock__factory.ts +844 -0
- package/types/factories/ClaimersDistribution__factory.ts +430 -0
- package/types/factories/CompUSDMockOracle__factory.ts +75 -0
- package/types/factories/CompoundStakingFactory__factory.ts +249 -0
- package/types/factories/CompoundVotingMachine__factory.ts +1208 -0
- package/types/factories/ContextUpgradeable__factory.ts +39 -0
- package/types/factories/ContributionCalc__factory.ts +83 -0
- package/types/factories/Controller__factory.ts +359 -0
- package/types/factories/DAIMock__factory.ts +783 -0
- package/types/factories/DAOContract__factory.ts +118 -0
- package/types/factories/DAOUpgradeableContract__factory.ts +227 -0
- package/types/factories/DaiEthPriceMockOracle__factory.ts +79 -0
- package/types/factories/DecimalsMock__factory.ts +755 -0
- package/types/factories/DistributionBridgeMock__factory.ts +312 -0
- package/types/factories/DistributionHelperTestHelper__factory.ts +1008 -0
- package/types/factories/DistributionHelperTest__factory.ts +975 -0
- package/types/factories/DistributionHelper__factory.ts +971 -0
- package/types/factories/DonationsStaking__factory.ts +580 -0
- package/types/factories/EIP712Upgradeable__factory.ts +39 -0
- package/types/factories/ERC165Upgradeable__factory.ts +58 -0
- package/types/factories/ERC165__factory.ts +39 -0
- package/types/factories/ERC1967Proxy__factory.ts +130 -0
- package/types/factories/ERC1967UpgradeUpgradeable__factory.ts +88 -0
- package/types/factories/ERC1967Upgrade__factory.ts +71 -0
- package/types/factories/ERC20BurnableUpgradeable__factory.ts +344 -0
- package/types/factories/ERC20PausableUpgradeable__factory.ts +352 -0
- package/types/factories/ERC20PermitUpgradeable__factory.ts +388 -0
- package/types/factories/ERC20Permit__factory.ts +111 -0
- package/types/factories/ERC20PresetMinterPauserUpgradeable__factory.ts +827 -0
- package/types/factories/ERC20Upgradeable__factory.ts +345 -0
- package/types/factories/ERC20WithTokenInfo__factory.ts +248 -0
- package/types/factories/ERC20__factory.ts +285 -0
- package/types/factories/ERC677Receiver__factory.ts +55 -0
- package/types/factories/ERC677__factory.ts +75 -0
- package/types/factories/EthUSDMockOracle__factory.ts +108 -0
- package/types/factories/EventsEmitter__factory.ts +84 -0
- package/types/factories/ExchangeHelper__factory.ts +427 -0
- package/types/factories/Faucet__factory.ts +826 -0
- package/types/factories/FeesFormulaMock__factory.ts +132 -0
- package/types/factories/FuseFaucetV2__factory.ts +592 -0
- package/types/factories/FuseFaucet__factory.ts +386 -0
- package/types/factories/FuseStakingV3__factory.ts +806 -0
- package/types/factories/GDFaucet__factory.ts +188 -0
- package/types/factories/GReputation__factory.ts +1490 -0
- package/types/factories/GasPriceMockOracle__factory.ts +88 -0
- package/types/factories/GlobalConstraintInterface__factory.ts +72 -0
- package/types/factories/GoodAaveStakingV2__factory.ts +1240 -0
- package/types/factories/GoodAaveStaking__factory.ts +1276 -0
- package/types/factories/GoodCompoundStakingTest__factory.ts +1470 -0
- package/types/factories/GoodCompoundStakingV2__factory.ts +1182 -0
- package/types/factories/GoodCompoundStaking__factory.ts +1316 -0
- package/types/factories/GoodDollarMintBurnWrapper__factory.ts +1330 -0
- package/types/factories/GoodDollarStakingMock__factory.ts +1497 -0
- package/types/factories/GoodDollarStaking__factory.ts +1469 -0
- package/types/factories/{contracts/token/GoodDollar18__factory.ts → GoodDollar__factory.ts} +23 -26
- package/types/factories/GoodFundManagerTest__factory.ts +801 -0
- package/types/factories/GoodFundManager__factory.ts +759 -0
- package/types/factories/GoodMarketMaker__factory.ts +687 -0
- package/types/factories/GoodReserveCDai__factory.ts +1489 -0
- package/types/factories/GovernanceStaking__factory.ts +948 -0
- package/types/factories/{contracts/Interfaces.sol/IAaveIncentivesControllerV3__factory.ts → IAaveIncentivesController__factory.ts} +22 -27
- package/types/factories/IAccessControlEnumerableUpgradeable__factory.ts +247 -0
- package/types/factories/IAccessControlUpgradeable__factory.ts +202 -0
- package/types/factories/IAccessControl__factory.ts +198 -0
- package/types/factories/IAdminWallet__factory.ts +75 -0
- package/types/factories/{contracts/utils/ReserveRestore.sol/MentoExchange__factory.ts → IBeaconUpgradeable__factory.ts} +11 -11
- package/types/factories/IBeacon__factory.ts +36 -0
- package/types/factories/IConsensus__factory.ts +116 -0
- package/types/factories/IDonationStaking__factory.ts +33 -0
- package/types/factories/IERC1271Upgradeable__factory.ts +50 -0
- package/types/factories/IERC165Upgradeable__factory.ts +45 -0
- package/types/factories/IERC165__factory.ts +42 -0
- package/types/factories/IERC1820Registry__factory.ts +239 -0
- package/types/factories/IERC1822ProxiableUpgradeable__factory.ts +43 -0
- package/types/factories/IERC1822Proxiable__factory.ts +39 -0
- package/types/factories/IERC20MetadataUpgradeable__factory.ts +252 -0
- package/types/factories/IERC20Metadata__factory.ts +248 -0
- package/types/factories/IERC20PermitUpgradeable__factory.ts +105 -0
- package/types/factories/IERC20Permit__factory.ts +98 -0
- package/types/factories/IERC20Upgradeable__factory.ts +209 -0
- package/types/factories/IERC20__factory.ts +203 -0
- package/types/factories/IERC2917__factory.ts +493 -0
- package/types/factories/IERC777Recipient__factory.ts +64 -0
- package/types/factories/IERC777Sender__factory.ts +61 -0
- package/types/factories/IERC777__factory.ts +414 -0
- package/types/factories/IFeesFormula__factory.ts +57 -0
- package/types/factories/IFirstClaimPool__factory.ts +65 -0
- package/types/factories/IGoodDollarCustom__factory.ts +370 -0
- package/types/factories/IGoodDollarStakingTest__factory.ts +68 -0
- package/types/factories/IGoodDollar__factory.ts +595 -0
- package/types/factories/IGoodStaking__factory.ts +175 -0
- package/types/factories/IGovernanceStaking__factory.ts +39 -0
- package/types/factories/IHasRouter__factory.ts +36 -0
- package/types/factories/IIdentityV2__factory.ts +331 -0
- package/types/factories/IIdentity__factory.ts +284 -0
- package/types/factories/ILayerZeroFeeEstimator__factory.ts +79 -0
- package/types/factories/{contracts/Interfaces.sol/ILendingPoolV3__factory.ts → ILendingPool__factory.ts} +14 -32
- package/types/factories/IMessagePassingBridge__factory.ts +446 -0
- package/types/factories/IMultichainRouter__factory.ts +82 -0
- package/types/factories/INameService__factory.ts +42 -0
- package/types/factories/{@uniswap/v2-periphery/contracts/interfaces/IWETH__factory.ts → IRouter__factory.ts} +28 -24
- package/types/factories/IStakingUpgrade__factory.ts +50 -0
- package/types/factories/IStaticOracle__factory.ts +407 -0
- package/types/factories/ISuperAgreement__factory.ts +78 -0
- package/types/factories/ISuperApp__factory.ts +272 -0
- package/types/factories/ISuperGoodDollar__factory.ts +2147 -0
- package/types/factories/ISuperTokenFactory__factory.ts +271 -0
- package/types/factories/ISuperToken__factory.ts +1682 -0
- package/types/factories/ISuperfluidGovernance__factory.ts +264 -0
- package/types/factories/ISuperfluidToken__factory.ts +697 -0
- package/types/factories/ISuperfluid__factory.ts +1143 -0
- package/types/factories/ISwapRouter__factory.ts +217 -0
- package/types/factories/IUBIScheme__factory.ts +68 -0
- package/types/factories/IUniswapV3Factory__factory.ts +222 -0
- package/types/factories/IWrapper__factory.ts +71 -0
- package/types/factories/IdentityFix__factory.ts +110 -0
- package/types/factories/IdentityMock__factory.ts +346 -0
- package/types/factories/IdentityV2__factory.ts +1147 -0
- package/types/factories/IncentiveControllerMock__factory.ts +166 -0
- package/types/factories/Initializable__factory.ts +36 -0
- package/types/factories/IntVoteInterface__factory.ts +349 -0
- package/types/factories/InvitesFuseV2__factory.ts +571 -0
- package/types/factories/InvitesV1__factory.ts +553 -0
- package/types/factories/InvitesV2__factory.ts +688 -0
- package/types/factories/LendingPoolMock__factory.ts +927 -0
- package/types/factories/MultiBaseGovernanceShareField__factory.ts +240 -0
- package/types/factories/Multicall__factory.ts +215 -0
- package/types/factories/MultichainBridgeHelper__factory.ts +134 -0
- package/types/factories/MultichainFeeFormula__factory.ts +113 -0
- package/types/factories/MultichainRouterMock__factory.ts +141 -0
- package/types/factories/NameService__factory.ts +290 -0
- package/types/factories/OldMarketMaker__factory.ts +62 -0
- package/types/factories/OneTimePaymentsV2__factory.ts +369 -0
- package/types/factories/OneTimePayments__factory.ts +323 -0
- package/types/factories/OverMintTesterRegularStake__factory.ts +156 -0
- package/types/factories/OverMintTester__factory.ts +152 -0
- package/types/factories/OwnableUpgradeable__factory.ts +91 -0
- package/types/factories/PausableControl__factory.ts +84 -0
- package/types/factories/PausableUpgradeable__factory.ts +78 -0
- package/types/factories/Pausable__factory.ts +62 -0
- package/types/factories/PayableMock__factory.ts +66 -0
- package/types/factories/PegSwap__factory.ts +46 -0
- package/types/factories/ProtocolUpgradeFuseRecover__factory.ts +146 -0
- package/types/factories/ProtocolUpgradeFuse__factory.ts +142 -0
- package/types/factories/ProtocolUpgradeRecover__factory.ts +184 -0
- package/types/factories/ProtocolUpgrade__factory.ts +207 -0
- package/types/factories/ProxyAdmin__factory.ts +128 -0
- package/types/factories/ProxyFactory1967__factory.ts +223 -0
- package/types/factories/Proxy__factory.ts +28 -0
- package/types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
- package/types/factories/ReputationInterface__factory.ts +168 -0
- package/types/factories/ReputationTestHelper__factory.ts +141 -0
- package/types/factories/Reputation__factory.ts +693 -0
- package/types/factories/Reserve__factory.ts +52 -0
- package/types/factories/RewardsMinter__factory.ts +47 -0
- package/types/factories/SchemeRegistrar__factory.ts +114 -0
- package/types/factories/SelfApprove__factory.ts +46 -0
- package/types/factories/SimpleStakingV2__factory.ts +999 -0
- package/types/factories/SimpleStaking__factory.ts +1058 -0
- package/types/factories/SixteenDecimalsTokenMock__factory.ts +747 -0
- package/types/factories/StakersDistribution__factory.ts +617 -0
- package/types/factories/StakingMockFixedAPY__factory.ts +745 -0
- package/types/factories/StakingRewardsFixedAPY__factory.ts +287 -0
- package/types/factories/Staking__factory.ts +74 -0
- package/types/factories/SuperGoodDollar__factory.ts +2680 -0
- package/types/factories/SuperToken__factory.ts +1809 -0
- package/types/factories/SuperfluidToken__factory.ts +697 -0
- package/types/factories/SwapHelperTest__factory.ts +96 -0
- package/types/factories/TokenInfo__factory.ts +62 -0
- package/types/factories/TwentyDecimalsTokenMock__factory.ts +747 -0
- package/types/factories/UBISchemeV2__factory.ts +837 -0
- package/types/factories/UBIScheme__factory.ts +1034 -0
- package/types/factories/USDCMock__factory.ts +740 -0
- package/types/factories/UUPSProxiable__factory.ts +101 -0
- package/types/factories/UUPSProxy__factory.ts +80 -0
- package/types/factories/UUPSUpgradeable__factory.ts +128 -0
- package/types/factories/UniswapFactory__factory.ts +50 -0
- package/types/factories/UniswapPair__factory.ts +117 -0
- package/types/factories/UniswapV2SwapHelper__factory.ts +101 -0
- package/types/factories/Uniswap__factory.ts +272 -0
- package/types/factories/UpgradableMock2__factory.ts +236 -0
- package/types/factories/UpgradableMock3__factory.ts +249 -0
- package/types/factories/UpgradableMock4__factory.ts +249 -0
- package/types/factories/UpgradableMock__factory.ts +262 -0
- package/types/factories/contracts/index.ts +0 -2
- package/types/factories/contracts/reserve/index.ts +0 -1
- package/types/factories/contracts/ubi/UBISchemeV2__factory.ts +1 -6
- package/types/factories/contracts/utils/BuyGDClone.sol/index.ts +2 -0
- package/types/hardhat.d.ts +18 -54
- package/types/index.ts +2 -10
- package/artifacts/abis/GenericDistributionHelper.min.json +0 -1
- package/artifacts/abis/INonfungiblePositionManager.min.json +0 -1
- package/artifacts/abis/IUniswapV3Pool.min.json +0 -1
- package/artifacts/contracts/IQuoter.sol/IQuoterV2.dbg.json +0 -4
- package/artifacts/contracts/IQuoter.sol/IQuoterV2.json +0 -211
- package/artifacts/contracts/IUniswapV3.sol/INonfungiblePositionManager.dbg.json +0 -4
- package/artifacts/contracts/IUniswapV3.sol/INonfungiblePositionManager.json +0 -102
- package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.dbg.json +0 -4
- package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.json +0 -93
- package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.dbg.json +0 -4
- package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.json +0 -931
- package/contracts/IQuoter.sol +0 -108
- package/dist/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.json +0 -1099
- package/dist/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.json +0 -2627
- package/dist/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.json +0 -32
- package/dist/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.json +0 -82
- package/dist/test-sdk/deploySuperGoodDollar.d.ts +0 -6
- package/dist/test-sdk/deploySuperGoodDollar.js +0 -46
- package/dist/test-sdk/index.d.ts +0 -1
- package/dist/test-sdk/index.js +0 -13
- package/scripts/multichain-deploy/verify.ts +0 -41
- package/scripts/proposals/gip-25-xdc-upgrade.ts +0 -438
- package/types/@uniswap/v2-periphery/contracts/index.ts +0 -5
- package/types/@uniswap/v2-periphery/contracts/interfaces/IWETH.ts +0 -159
- package/types/@uniswap/v2-periphery/contracts/interfaces/index.ts +0 -4
- package/types/@uniswap/v2-periphery/index.ts +0 -5
- package/types/contracts/IQuoter.sol/IQuoterV2.ts +0 -297
- package/types/contracts/IQuoter.sol/index.ts +0 -4
- package/types/contracts/IUniswapV3.sol/INonfungiblePositionManager.ts +0 -151
- package/types/contracts/IUniswapV3.sol/IUniswapV3Factory.ts +0 -155
- package/types/contracts/IUniswapV3.sol/IUniswapV3Pool.ts +0 -179
- package/types/contracts/IUniswapV3.sol/index.ts +0 -5
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor.ts +0 -648
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable.ts +0 -843
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +0 -4
- package/types/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +0 -4
- package/types/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +0 -4
- package/types/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677.ts +0 -108
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.ts +0 -161
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +0 -5
- package/types/contracts/utils/ReserveRestore.sol/ReserveRestore.ts +0 -112
- package/types/contracts/utils/ReserveRestore.sol/index.ts +0 -5
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +0 -146
- package/types/factories/@uniswap/v2-periphery/contracts/index.ts +0 -4
- package/types/factories/@uniswap/v2-periphery/contracts/interfaces/index.ts +0 -4
- package/types/factories/@uniswap/v2-periphery/index.ts +0 -4
- package/types/factories/contracts/IQuoter.sol/IQuoterV2__factory.ts +0 -226
- package/types/factories/contracts/IQuoter.sol/index.ts +0 -4
- package/types/factories/contracts/IUniswapV3.sol/INonfungiblePositionManager__factory.ts +0 -121
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Factory__factory.ts +0 -84
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Pool__factory.ts +0 -108
- package/types/factories/contracts/IUniswapV3.sol/index.ts +0 -5
- package/types/factories/contracts/Interfaces.sol/AToken__factory.ts +0 -36
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable__factory.ts +0 -572
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor__factory.ts +0 -482
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +0 -4
- package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper__factory.ts +0 -929
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper__factory.ts +0 -935
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +0 -4
- package/types/factories/contracts/reserve/GenericDistributionHelper__factory.ts +0 -987
- package/types/factories/contracts/reserve/GoodReserveADai__factory.ts +0 -1502
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2__factory.ts +0 -1240
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +0 -4
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677__factory.ts +0 -86
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange__factory.ts +0 -39
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +0 -152
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +0 -5
- package/types/factories/contracts/utils/ReserveRestore.sol/ReserveRestore__factory.ts +0 -95
- package/types/factories/contracts/utils/ReserveRestore.sol/index.ts +0 -5
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type {
|
|
5
|
-
BaseContract,
|
|
6
|
-
BigNumber,
|
|
7
|
-
BytesLike,
|
|
8
|
-
CallOverrides,
|
|
9
|
-
ContractTransaction,
|
|
10
|
-
Overrides,
|
|
11
|
-
PopulatedTransaction,
|
|
12
|
-
Signer,
|
|
13
|
-
utils,
|
|
14
|
-
} from "ethers";
|
|
15
|
-
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
16
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
17
|
-
import type {
|
|
18
|
-
TypedEventFilter,
|
|
19
|
-
TypedEvent,
|
|
20
|
-
TypedListener,
|
|
21
|
-
OnEvent,
|
|
22
|
-
} from "../../../common";
|
|
23
|
-
|
|
24
|
-
export interface BasicAMBErc677ToErc677Interface extends utils.Interface {
|
|
25
|
-
functions: {
|
|
26
|
-
"end()": FunctionFragment;
|
|
27
|
-
"isInitialized()": FunctionFragment;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
getFunction(
|
|
31
|
-
nameOrSignatureOrTopic: "end" | "isInitialized"
|
|
32
|
-
): FunctionFragment;
|
|
33
|
-
|
|
34
|
-
encodeFunctionData(functionFragment: "end", values?: undefined): string;
|
|
35
|
-
encodeFunctionData(
|
|
36
|
-
functionFragment: "isInitialized",
|
|
37
|
-
values?: undefined
|
|
38
|
-
): string;
|
|
39
|
-
|
|
40
|
-
decodeFunctionResult(functionFragment: "end", data: BytesLike): Result;
|
|
41
|
-
decodeFunctionResult(
|
|
42
|
-
functionFragment: "isInitialized",
|
|
43
|
-
data: BytesLike
|
|
44
|
-
): Result;
|
|
45
|
-
|
|
46
|
-
events: {};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface BasicAMBErc677ToErc677 extends BaseContract {
|
|
50
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
51
|
-
attach(addressOrName: string): this;
|
|
52
|
-
deployed(): Promise<this>;
|
|
53
|
-
|
|
54
|
-
interface: BasicAMBErc677ToErc677Interface;
|
|
55
|
-
|
|
56
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
57
|
-
event: TypedEventFilter<TEvent>,
|
|
58
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
59
|
-
toBlock?: string | number | undefined
|
|
60
|
-
): Promise<Array<TEvent>>;
|
|
61
|
-
|
|
62
|
-
listeners<TEvent extends TypedEvent>(
|
|
63
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
64
|
-
): Array<TypedListener<TEvent>>;
|
|
65
|
-
listeners(eventName?: string): Array<Listener>;
|
|
66
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
67
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
68
|
-
): this;
|
|
69
|
-
removeAllListeners(eventName?: string): this;
|
|
70
|
-
off: OnEvent<this>;
|
|
71
|
-
on: OnEvent<this>;
|
|
72
|
-
once: OnEvent<this>;
|
|
73
|
-
removeListener: OnEvent<this>;
|
|
74
|
-
|
|
75
|
-
functions: {
|
|
76
|
-
end(
|
|
77
|
-
overrides?: Overrides & { from?: string }
|
|
78
|
-
): Promise<ContractTransaction>;
|
|
79
|
-
|
|
80
|
-
isInitialized(overrides?: CallOverrides): Promise<[boolean]>;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
end(overrides?: Overrides & { from?: string }): Promise<ContractTransaction>;
|
|
84
|
-
|
|
85
|
-
isInitialized(overrides?: CallOverrides): Promise<boolean>;
|
|
86
|
-
|
|
87
|
-
callStatic: {
|
|
88
|
-
end(overrides?: CallOverrides): Promise<void>;
|
|
89
|
-
|
|
90
|
-
isInitialized(overrides?: CallOverrides): Promise<boolean>;
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
filters: {};
|
|
94
|
-
|
|
95
|
-
estimateGas: {
|
|
96
|
-
end(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
|
|
97
|
-
|
|
98
|
-
isInitialized(overrides?: CallOverrides): Promise<BigNumber>;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
populateTransaction: {
|
|
102
|
-
end(
|
|
103
|
-
overrides?: Overrides & { from?: string }
|
|
104
|
-
): Promise<PopulatedTransaction>;
|
|
105
|
-
|
|
106
|
-
isInitialized(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
107
|
-
};
|
|
108
|
-
}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type {
|
|
5
|
-
BaseContract,
|
|
6
|
-
BigNumber,
|
|
7
|
-
BigNumberish,
|
|
8
|
-
BytesLike,
|
|
9
|
-
CallOverrides,
|
|
10
|
-
ContractTransaction,
|
|
11
|
-
Overrides,
|
|
12
|
-
PopulatedTransaction,
|
|
13
|
-
Signer,
|
|
14
|
-
utils,
|
|
15
|
-
} from "ethers";
|
|
16
|
-
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
17
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
18
|
-
import type {
|
|
19
|
-
TypedEventFilter,
|
|
20
|
-
TypedEvent,
|
|
21
|
-
TypedListener,
|
|
22
|
-
OnEvent,
|
|
23
|
-
} from "../../../common";
|
|
24
|
-
|
|
25
|
-
export declare namespace IBancorExchangeProvider {
|
|
26
|
-
export type PoolExchangeStruct = {
|
|
27
|
-
reserveAsset: string;
|
|
28
|
-
tokenAddress: string;
|
|
29
|
-
tokenSupply: BigNumberish;
|
|
30
|
-
reserveBalance: BigNumberish;
|
|
31
|
-
reserveRatio: BigNumberish;
|
|
32
|
-
exitContribution: BigNumberish;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export type PoolExchangeStructOutput = [
|
|
36
|
-
string,
|
|
37
|
-
string,
|
|
38
|
-
BigNumber,
|
|
39
|
-
BigNumber,
|
|
40
|
-
number,
|
|
41
|
-
number
|
|
42
|
-
] & {
|
|
43
|
-
reserveAsset: string;
|
|
44
|
-
tokenAddress: string;
|
|
45
|
-
tokenSupply: BigNumber;
|
|
46
|
-
reserveBalance: BigNumber;
|
|
47
|
-
reserveRatio: number;
|
|
48
|
-
exitContribution: number;
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export interface ProtocolUpgradeV4MentoInterface extends utils.Interface {
|
|
53
|
-
functions: {
|
|
54
|
-
"upgrade(address,(address,address,uint256,uint256,uint32,uint32),address,address,address,uint256)": FunctionFragment;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
getFunction(nameOrSignatureOrTopic: "upgrade"): FunctionFragment;
|
|
58
|
-
|
|
59
|
-
encodeFunctionData(
|
|
60
|
-
functionFragment: "upgrade",
|
|
61
|
-
values: [
|
|
62
|
-
string,
|
|
63
|
-
IBancorExchangeProvider.PoolExchangeStruct,
|
|
64
|
-
string,
|
|
65
|
-
string,
|
|
66
|
-
string,
|
|
67
|
-
BigNumberish
|
|
68
|
-
]
|
|
69
|
-
): string;
|
|
70
|
-
|
|
71
|
-
decodeFunctionResult(functionFragment: "upgrade", data: BytesLike): Result;
|
|
72
|
-
|
|
73
|
-
events: {};
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export interface ProtocolUpgradeV4Mento extends BaseContract {
|
|
77
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
78
|
-
attach(addressOrName: string): this;
|
|
79
|
-
deployed(): Promise<this>;
|
|
80
|
-
|
|
81
|
-
interface: ProtocolUpgradeV4MentoInterface;
|
|
82
|
-
|
|
83
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
84
|
-
event: TypedEventFilter<TEvent>,
|
|
85
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
86
|
-
toBlock?: string | number | undefined
|
|
87
|
-
): Promise<Array<TEvent>>;
|
|
88
|
-
|
|
89
|
-
listeners<TEvent extends TypedEvent>(
|
|
90
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
91
|
-
): Array<TypedListener<TEvent>>;
|
|
92
|
-
listeners(eventName?: string): Array<Listener>;
|
|
93
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
94
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
95
|
-
): this;
|
|
96
|
-
removeAllListeners(eventName?: string): this;
|
|
97
|
-
off: OnEvent<this>;
|
|
98
|
-
on: OnEvent<this>;
|
|
99
|
-
once: OnEvent<this>;
|
|
100
|
-
removeListener: OnEvent<this>;
|
|
101
|
-
|
|
102
|
-
functions: {
|
|
103
|
-
upgrade(
|
|
104
|
-
_controller: string,
|
|
105
|
-
_exchange: IBancorExchangeProvider.PoolExchangeStruct,
|
|
106
|
-
_mentoExchange: string,
|
|
107
|
-
_mentoController: string,
|
|
108
|
-
_distHelper: string,
|
|
109
|
-
totalGlobalSupply: BigNumberish,
|
|
110
|
-
overrides?: Overrides & { from?: string }
|
|
111
|
-
): Promise<ContractTransaction>;
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
upgrade(
|
|
115
|
-
_controller: string,
|
|
116
|
-
_exchange: IBancorExchangeProvider.PoolExchangeStruct,
|
|
117
|
-
_mentoExchange: string,
|
|
118
|
-
_mentoController: string,
|
|
119
|
-
_distHelper: string,
|
|
120
|
-
totalGlobalSupply: BigNumberish,
|
|
121
|
-
overrides?: Overrides & { from?: string }
|
|
122
|
-
): Promise<ContractTransaction>;
|
|
123
|
-
|
|
124
|
-
callStatic: {
|
|
125
|
-
upgrade(
|
|
126
|
-
_controller: string,
|
|
127
|
-
_exchange: IBancorExchangeProvider.PoolExchangeStruct,
|
|
128
|
-
_mentoExchange: string,
|
|
129
|
-
_mentoController: string,
|
|
130
|
-
_distHelper: string,
|
|
131
|
-
totalGlobalSupply: BigNumberish,
|
|
132
|
-
overrides?: CallOverrides
|
|
133
|
-
): Promise<void>;
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
filters: {};
|
|
137
|
-
|
|
138
|
-
estimateGas: {
|
|
139
|
-
upgrade(
|
|
140
|
-
_controller: string,
|
|
141
|
-
_exchange: IBancorExchangeProvider.PoolExchangeStruct,
|
|
142
|
-
_mentoExchange: string,
|
|
143
|
-
_mentoController: string,
|
|
144
|
-
_distHelper: string,
|
|
145
|
-
totalGlobalSupply: BigNumberish,
|
|
146
|
-
overrides?: Overrides & { from?: string }
|
|
147
|
-
): Promise<BigNumber>;
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
populateTransaction: {
|
|
151
|
-
upgrade(
|
|
152
|
-
_controller: string,
|
|
153
|
-
_exchange: IBancorExchangeProvider.PoolExchangeStruct,
|
|
154
|
-
_mentoExchange: string,
|
|
155
|
-
_mentoController: string,
|
|
156
|
-
_distHelper: string,
|
|
157
|
-
totalGlobalSupply: BigNumberish,
|
|
158
|
-
overrides?: Overrides & { from?: string }
|
|
159
|
-
): Promise<PopulatedTransaction>;
|
|
160
|
-
};
|
|
161
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type {
|
|
5
|
-
BaseContract,
|
|
6
|
-
BigNumber,
|
|
7
|
-
BytesLike,
|
|
8
|
-
CallOverrides,
|
|
9
|
-
ContractTransaction,
|
|
10
|
-
Overrides,
|
|
11
|
-
PopulatedTransaction,
|
|
12
|
-
Signer,
|
|
13
|
-
utils,
|
|
14
|
-
} from "ethers";
|
|
15
|
-
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
16
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
17
|
-
import type {
|
|
18
|
-
TypedEventFilter,
|
|
19
|
-
TypedEvent,
|
|
20
|
-
TypedListener,
|
|
21
|
-
OnEvent,
|
|
22
|
-
} from "../../../common";
|
|
23
|
-
|
|
24
|
-
export interface ReserveRestoreInterface extends utils.Interface {
|
|
25
|
-
functions: {
|
|
26
|
-
"LOCKED_HACKED_FUNDS()": FunctionFragment;
|
|
27
|
-
"upgrade()": FunctionFragment;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
getFunction(
|
|
31
|
-
nameOrSignatureOrTopic: "LOCKED_HACKED_FUNDS" | "upgrade"
|
|
32
|
-
): FunctionFragment;
|
|
33
|
-
|
|
34
|
-
encodeFunctionData(
|
|
35
|
-
functionFragment: "LOCKED_HACKED_FUNDS",
|
|
36
|
-
values?: undefined
|
|
37
|
-
): string;
|
|
38
|
-
encodeFunctionData(functionFragment: "upgrade", values?: undefined): string;
|
|
39
|
-
|
|
40
|
-
decodeFunctionResult(
|
|
41
|
-
functionFragment: "LOCKED_HACKED_FUNDS",
|
|
42
|
-
data: BytesLike
|
|
43
|
-
): Result;
|
|
44
|
-
decodeFunctionResult(functionFragment: "upgrade", data: BytesLike): Result;
|
|
45
|
-
|
|
46
|
-
events: {};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface ReserveRestore extends BaseContract {
|
|
50
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
51
|
-
attach(addressOrName: string): this;
|
|
52
|
-
deployed(): Promise<this>;
|
|
53
|
-
|
|
54
|
-
interface: ReserveRestoreInterface;
|
|
55
|
-
|
|
56
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
57
|
-
event: TypedEventFilter<TEvent>,
|
|
58
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
59
|
-
toBlock?: string | number | undefined
|
|
60
|
-
): Promise<Array<TEvent>>;
|
|
61
|
-
|
|
62
|
-
listeners<TEvent extends TypedEvent>(
|
|
63
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
64
|
-
): Array<TypedListener<TEvent>>;
|
|
65
|
-
listeners(eventName?: string): Array<Listener>;
|
|
66
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
67
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
68
|
-
): this;
|
|
69
|
-
removeAllListeners(eventName?: string): this;
|
|
70
|
-
off: OnEvent<this>;
|
|
71
|
-
on: OnEvent<this>;
|
|
72
|
-
once: OnEvent<this>;
|
|
73
|
-
removeListener: OnEvent<this>;
|
|
74
|
-
|
|
75
|
-
functions: {
|
|
76
|
-
LOCKED_HACKED_FUNDS(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
77
|
-
|
|
78
|
-
upgrade(
|
|
79
|
-
overrides?: Overrides & { from?: string }
|
|
80
|
-
): Promise<ContractTransaction>;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
LOCKED_HACKED_FUNDS(overrides?: CallOverrides): Promise<BigNumber>;
|
|
84
|
-
|
|
85
|
-
upgrade(
|
|
86
|
-
overrides?: Overrides & { from?: string }
|
|
87
|
-
): Promise<ContractTransaction>;
|
|
88
|
-
|
|
89
|
-
callStatic: {
|
|
90
|
-
LOCKED_HACKED_FUNDS(overrides?: CallOverrides): Promise<BigNumber>;
|
|
91
|
-
|
|
92
|
-
upgrade(overrides?: CallOverrides): Promise<void>;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
filters: {};
|
|
96
|
-
|
|
97
|
-
estimateGas: {
|
|
98
|
-
LOCKED_HACKED_FUNDS(overrides?: CallOverrides): Promise<BigNumber>;
|
|
99
|
-
|
|
100
|
-
upgrade(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
populateTransaction: {
|
|
104
|
-
LOCKED_HACKED_FUNDS(
|
|
105
|
-
overrides?: CallOverrides
|
|
106
|
-
): Promise<PopulatedTransaction>;
|
|
107
|
-
|
|
108
|
-
upgrade(
|
|
109
|
-
overrides?: Overrides & { from?: string }
|
|
110
|
-
): Promise<PopulatedTransaction>;
|
|
111
|
-
};
|
|
112
|
-
}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import {
|
|
5
|
-
Signer,
|
|
6
|
-
utils,
|
|
7
|
-
Contract,
|
|
8
|
-
ContractFactory,
|
|
9
|
-
PayableOverrides,
|
|
10
|
-
BytesLike,
|
|
11
|
-
} from "ethers";
|
|
12
|
-
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
-
import type {
|
|
14
|
-
ERC1967Proxy,
|
|
15
|
-
ERC1967ProxyInterface,
|
|
16
|
-
} from "../../../../../@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy";
|
|
17
|
-
|
|
18
|
-
const _abi = [
|
|
19
|
-
{
|
|
20
|
-
inputs: [
|
|
21
|
-
{
|
|
22
|
-
internalType: "address",
|
|
23
|
-
name: "_logic",
|
|
24
|
-
type: "address",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
internalType: "bytes",
|
|
28
|
-
name: "_data",
|
|
29
|
-
type: "bytes",
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
stateMutability: "payable",
|
|
33
|
-
type: "constructor",
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
anonymous: false,
|
|
37
|
-
inputs: [
|
|
38
|
-
{
|
|
39
|
-
indexed: false,
|
|
40
|
-
internalType: "address",
|
|
41
|
-
name: "previousAdmin",
|
|
42
|
-
type: "address",
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
indexed: false,
|
|
46
|
-
internalType: "address",
|
|
47
|
-
name: "newAdmin",
|
|
48
|
-
type: "address",
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
name: "AdminChanged",
|
|
52
|
-
type: "event",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
anonymous: false,
|
|
56
|
-
inputs: [
|
|
57
|
-
{
|
|
58
|
-
indexed: true,
|
|
59
|
-
internalType: "address",
|
|
60
|
-
name: "beacon",
|
|
61
|
-
type: "address",
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
name: "BeaconUpgraded",
|
|
65
|
-
type: "event",
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
anonymous: false,
|
|
69
|
-
inputs: [
|
|
70
|
-
{
|
|
71
|
-
indexed: true,
|
|
72
|
-
internalType: "address",
|
|
73
|
-
name: "implementation",
|
|
74
|
-
type: "address",
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
name: "Upgraded",
|
|
78
|
-
type: "event",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
stateMutability: "payable",
|
|
82
|
-
type: "fallback",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
stateMutability: "payable",
|
|
86
|
-
type: "receive",
|
|
87
|
-
},
|
|
88
|
-
] as const;
|
|
89
|
-
|
|
90
|
-
const _bytecode =
|
|
91
|
-
"0x60806040526040516104ec3803806104ec833981016040819052610022916102e9565b61002e82826000610035565b5050610406565b61003e83610061565b60008251118061004b5750805b1561005c5761005a83836100a1565b505b505050565b61006a816100cd565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100c683836040518060600160405280602781526020016104c56027913961017e565b9392505050565b6100d6816101f7565b61013d5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080856001600160a01b03168560405161019b91906103b7565b600060405180830381855af49150503d80600081146101d6576040519150601f19603f3d011682016040523d82523d6000602084013e6101db565b606091505b5090925090506101ed86838387610206565b9695505050505050565b6001600160a01b03163b151590565b6060831561027357825160000361026c57610220856101f7565b61026c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610134565b508161027d565b61027d8383610285565b949350505050565b8151156102955781518083602001fd5b8060405162461bcd60e51b815260040161013491906103d3565b634e487b7160e01b600052604160045260246000fd5b60005b838110156102e05781810151838201526020016102c8565b50506000910152565b600080604083850312156102fc57600080fd5b82516001600160a01b038116811461031357600080fd5b60208401519092506001600160401b038082111561033057600080fd5b818501915085601f83011261034457600080fd5b815181811115610356576103566102af565b604051601f8201601f19908116603f0116810190838211818310171561037e5761037e6102af565b8160405282815288602084870101111561039757600080fd5b6103a88360208301602088016102c5565b80955050505050509250929050565b600082516103c98184602087016102c5565b9190910192915050565b60208152600082518060208401526103f28160408501602087016102c5565b601f01601f19169190910160400192915050565b60b1806104146000396000f3fe608060405236601057600e6013565b005b600e5b601f601b6021565b6058565b565b600060537f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e8080156076573d6000f35b3d6000fdfea2646970667358221220f1673ab27a90e2063171fa117e678ee04169d85cd6c7c0acd456a9f3a2d1842864736f6c63430008130033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564";
|
|
92
|
-
|
|
93
|
-
type ERC1967ProxyConstructorParams =
|
|
94
|
-
| [signer?: Signer]
|
|
95
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
96
|
-
|
|
97
|
-
const isSuperArgs = (
|
|
98
|
-
xs: ERC1967ProxyConstructorParams
|
|
99
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
100
|
-
|
|
101
|
-
export class ERC1967Proxy__factory extends ContractFactory {
|
|
102
|
-
constructor(...args: ERC1967ProxyConstructorParams) {
|
|
103
|
-
if (isSuperArgs(args)) {
|
|
104
|
-
super(...args);
|
|
105
|
-
} else {
|
|
106
|
-
super(_abi, _bytecode, args[0]);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
override deploy(
|
|
111
|
-
_logic: string,
|
|
112
|
-
_data: BytesLike,
|
|
113
|
-
overrides?: PayableOverrides & { from?: string }
|
|
114
|
-
): Promise<ERC1967Proxy> {
|
|
115
|
-
return super.deploy(
|
|
116
|
-
_logic,
|
|
117
|
-
_data,
|
|
118
|
-
overrides || {}
|
|
119
|
-
) as Promise<ERC1967Proxy>;
|
|
120
|
-
}
|
|
121
|
-
override getDeployTransaction(
|
|
122
|
-
_logic: string,
|
|
123
|
-
_data: BytesLike,
|
|
124
|
-
overrides?: PayableOverrides & { from?: string }
|
|
125
|
-
): TransactionRequest {
|
|
126
|
-
return super.getDeployTransaction(_logic, _data, overrides || {});
|
|
127
|
-
}
|
|
128
|
-
override attach(address: string): ERC1967Proxy {
|
|
129
|
-
return super.attach(address) as ERC1967Proxy;
|
|
130
|
-
}
|
|
131
|
-
override connect(signer: Signer): ERC1967Proxy__factory {
|
|
132
|
-
return super.connect(signer) as ERC1967Proxy__factory;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
static readonly bytecode = _bytecode;
|
|
136
|
-
static readonly abi = _abi;
|
|
137
|
-
static createInterface(): ERC1967ProxyInterface {
|
|
138
|
-
return new utils.Interface(_abi) as ERC1967ProxyInterface;
|
|
139
|
-
}
|
|
140
|
-
static connect(
|
|
141
|
-
address: string,
|
|
142
|
-
signerOrProvider: Signer | Provider
|
|
143
|
-
): ERC1967Proxy {
|
|
144
|
-
return new Contract(address, _abi, signerOrProvider) as ERC1967Proxy;
|
|
145
|
-
}
|
|
146
|
-
}
|