@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,33 +1,31 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
ethers,
|
|
7
|
+
EventFilter,
|
|
8
|
+
Signer,
|
|
6
9
|
BigNumber,
|
|
7
10
|
BigNumberish,
|
|
8
|
-
|
|
9
|
-
|
|
11
|
+
PopulatedTransaction,
|
|
12
|
+
BaseContract,
|
|
10
13
|
ContractTransaction,
|
|
11
14
|
Overrides,
|
|
12
15
|
PayableOverrides,
|
|
13
|
-
|
|
14
|
-
Signer,
|
|
15
|
-
utils,
|
|
16
|
+
CallOverrides,
|
|
16
17
|
} from "ethers";
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
EventFragment,
|
|
21
|
-
} from "@ethersproject/abi";
|
|
22
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
18
|
+
import { BytesLike } from "@ethersproject/bytes";
|
|
19
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
20
|
+
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
|
|
23
21
|
import type {
|
|
24
22
|
TypedEventFilter,
|
|
25
23
|
TypedEvent,
|
|
26
24
|
TypedListener,
|
|
27
25
|
OnEvent,
|
|
28
|
-
} from "
|
|
26
|
+
} from "./common";
|
|
29
27
|
|
|
30
|
-
export interface
|
|
28
|
+
export interface GoodDollarInterface extends ethers.utils.Interface {
|
|
31
29
|
functions: {
|
|
32
30
|
"DEFAULT_ADMIN_ROLE()": FunctionFragment;
|
|
33
31
|
"DOMAIN_SEPARATOR()": FunctionFragment;
|
|
@@ -46,7 +44,6 @@ export interface GoodDollar18Interface extends utils.Interface {
|
|
|
46
44
|
"feeRecipient()": FunctionFragment;
|
|
47
45
|
"formula()": FunctionFragment;
|
|
48
46
|
"getFees(uint256,address,address)": FunctionFragment;
|
|
49
|
-
"getFees(uint256)": FunctionFragment;
|
|
50
47
|
"getRoleAdmin(bytes32)": FunctionFragment;
|
|
51
48
|
"getRoleMember(bytes32,uint256)": FunctionFragment;
|
|
52
49
|
"getRoleMemberCount(bytes32)": FunctionFragment;
|
|
@@ -55,7 +52,6 @@ export interface GoodDollar18Interface extends utils.Interface {
|
|
|
55
52
|
"identity()": FunctionFragment;
|
|
56
53
|
"increaseAllowance(address,uint256)": FunctionFragment;
|
|
57
54
|
"initialize(string,string)": FunctionFragment;
|
|
58
|
-
"initialize(string,string,uint256,address,address,address,address)": FunctionFragment;
|
|
59
55
|
"isMinter(address)": FunctionFragment;
|
|
60
56
|
"isPauser(address)": FunctionFragment;
|
|
61
57
|
"mint(address,uint256)": FunctionFragment;
|
|
@@ -84,63 +80,6 @@ export interface GoodDollar18Interface extends utils.Interface {
|
|
|
84
80
|
"upgradeToAndCall(address,bytes)": FunctionFragment;
|
|
85
81
|
};
|
|
86
82
|
|
|
87
|
-
getFunction(
|
|
88
|
-
nameOrSignatureOrTopic:
|
|
89
|
-
| "DEFAULT_ADMIN_ROLE"
|
|
90
|
-
| "DOMAIN_SEPARATOR"
|
|
91
|
-
| "MINTER_ROLE"
|
|
92
|
-
| "PAUSER_ROLE"
|
|
93
|
-
| "addMinter"
|
|
94
|
-
| "addPauser"
|
|
95
|
-
| "allowance"
|
|
96
|
-
| "approve"
|
|
97
|
-
| "balanceOf"
|
|
98
|
-
| "burn"
|
|
99
|
-
| "burnFrom"
|
|
100
|
-
| "cap"
|
|
101
|
-
| "decimals"
|
|
102
|
-
| "decreaseAllowance"
|
|
103
|
-
| "feeRecipient"
|
|
104
|
-
| "formula"
|
|
105
|
-
| "getFees(uint256,address,address)"
|
|
106
|
-
| "getFees(uint256)"
|
|
107
|
-
| "getRoleAdmin"
|
|
108
|
-
| "getRoleMember"
|
|
109
|
-
| "getRoleMemberCount"
|
|
110
|
-
| "grantRole"
|
|
111
|
-
| "hasRole"
|
|
112
|
-
| "identity"
|
|
113
|
-
| "increaseAllowance"
|
|
114
|
-
| "initialize(string,string)"
|
|
115
|
-
| "initialize(string,string,uint256,address,address,address,address)"
|
|
116
|
-
| "isMinter"
|
|
117
|
-
| "isPauser"
|
|
118
|
-
| "mint"
|
|
119
|
-
| "name"
|
|
120
|
-
| "nonces"
|
|
121
|
-
| "owner"
|
|
122
|
-
| "pause"
|
|
123
|
-
| "paused"
|
|
124
|
-
| "permit"
|
|
125
|
-
| "proxiableUUID"
|
|
126
|
-
| "renounceMinter"
|
|
127
|
-
| "renounceRole"
|
|
128
|
-
| "revokeRole"
|
|
129
|
-
| "setFeeRecipient"
|
|
130
|
-
| "setFormula"
|
|
131
|
-
| "setIdentity"
|
|
132
|
-
| "supportsInterface"
|
|
133
|
-
| "symbol"
|
|
134
|
-
| "totalSupply"
|
|
135
|
-
| "transfer"
|
|
136
|
-
| "transferAndCall"
|
|
137
|
-
| "transferFrom"
|
|
138
|
-
| "transferOwnership"
|
|
139
|
-
| "unpause"
|
|
140
|
-
| "upgradeTo"
|
|
141
|
-
| "upgradeToAndCall"
|
|
142
|
-
): FunctionFragment;
|
|
143
|
-
|
|
144
83
|
encodeFunctionData(
|
|
145
84
|
functionFragment: "DEFAULT_ADMIN_ROLE",
|
|
146
85
|
values?: undefined
|
|
@@ -185,13 +124,9 @@ export interface GoodDollar18Interface extends utils.Interface {
|
|
|
185
124
|
): string;
|
|
186
125
|
encodeFunctionData(functionFragment: "formula", values?: undefined): string;
|
|
187
126
|
encodeFunctionData(
|
|
188
|
-
functionFragment: "getFees
|
|
127
|
+
functionFragment: "getFees",
|
|
189
128
|
values: [BigNumberish, string, string]
|
|
190
129
|
): string;
|
|
191
|
-
encodeFunctionData(
|
|
192
|
-
functionFragment: "getFees(uint256)",
|
|
193
|
-
values: [BigNumberish]
|
|
194
|
-
): string;
|
|
195
130
|
encodeFunctionData(
|
|
196
131
|
functionFragment: "getRoleAdmin",
|
|
197
132
|
values: [BytesLike]
|
|
@@ -218,13 +153,9 @@ export interface GoodDollar18Interface extends utils.Interface {
|
|
|
218
153
|
values: [string, BigNumberish]
|
|
219
154
|
): string;
|
|
220
155
|
encodeFunctionData(
|
|
221
|
-
functionFragment: "initialize
|
|
156
|
+
functionFragment: "initialize",
|
|
222
157
|
values: [string, string]
|
|
223
158
|
): string;
|
|
224
|
-
encodeFunctionData(
|
|
225
|
-
functionFragment: "initialize(string,string,uint256,address,address,address,address)",
|
|
226
|
-
values: [string, string, BigNumberish, string, string, string, string]
|
|
227
|
-
): string;
|
|
228
159
|
encodeFunctionData(functionFragment: "isMinter", values: [string]): string;
|
|
229
160
|
encodeFunctionData(functionFragment: "isPauser", values: [string]): string;
|
|
230
161
|
encodeFunctionData(
|
|
@@ -336,14 +267,7 @@ export interface GoodDollar18Interface extends utils.Interface {
|
|
|
336
267
|
data: BytesLike
|
|
337
268
|
): Result;
|
|
338
269
|
decodeFunctionResult(functionFragment: "formula", data: BytesLike): Result;
|
|
339
|
-
decodeFunctionResult(
|
|
340
|
-
functionFragment: "getFees(uint256,address,address)",
|
|
341
|
-
data: BytesLike
|
|
342
|
-
): Result;
|
|
343
|
-
decodeFunctionResult(
|
|
344
|
-
functionFragment: "getFees(uint256)",
|
|
345
|
-
data: BytesLike
|
|
346
|
-
): Result;
|
|
270
|
+
decodeFunctionResult(functionFragment: "getFees", data: BytesLike): Result;
|
|
347
271
|
decodeFunctionResult(
|
|
348
272
|
functionFragment: "getRoleAdmin",
|
|
349
273
|
data: BytesLike
|
|
@@ -363,14 +287,7 @@ export interface GoodDollar18Interface extends utils.Interface {
|
|
|
363
287
|
functionFragment: "increaseAllowance",
|
|
364
288
|
data: BytesLike
|
|
365
289
|
): Result;
|
|
366
|
-
decodeFunctionResult(
|
|
367
|
-
functionFragment: "initialize(string,string)",
|
|
368
|
-
data: BytesLike
|
|
369
|
-
): Result;
|
|
370
|
-
decodeFunctionResult(
|
|
371
|
-
functionFragment: "initialize(string,string,uint256,address,address,address,address)",
|
|
372
|
-
data: BytesLike
|
|
373
|
-
): Result;
|
|
290
|
+
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
374
291
|
decodeFunctionResult(functionFragment: "isMinter", data: BytesLike): Result;
|
|
375
292
|
decodeFunctionResult(functionFragment: "isPauser", data: BytesLike): Result;
|
|
376
293
|
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
@@ -441,7 +358,6 @@ export interface GoodDollar18Interface extends utils.Interface {
|
|
|
441
358
|
"RoleGranted(bytes32,address,address)": EventFragment;
|
|
442
359
|
"RoleRevoked(bytes32,address,address)": EventFragment;
|
|
443
360
|
"Transfer(address,address,uint256)": EventFragment;
|
|
444
|
-
"Transfer(address,address,uint256,bytes)": EventFragment;
|
|
445
361
|
"Unpaused(address)": EventFragment;
|
|
446
362
|
"Upgraded(address)": EventFragment;
|
|
447
363
|
};
|
|
@@ -454,147 +370,89 @@ export interface GoodDollar18Interface extends utils.Interface {
|
|
|
454
370
|
getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment;
|
|
455
371
|
getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment;
|
|
456
372
|
getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment;
|
|
457
|
-
getEvent(
|
|
458
|
-
nameOrSignatureOrTopic: "Transfer(address,address,uint256)"
|
|
459
|
-
): EventFragment;
|
|
460
|
-
getEvent(
|
|
461
|
-
nameOrSignatureOrTopic: "Transfer(address,address,uint256,bytes)"
|
|
462
|
-
): EventFragment;
|
|
373
|
+
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
|
|
463
374
|
getEvent(nameOrSignatureOrTopic: "Unpaused"): EventFragment;
|
|
464
375
|
getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
|
|
465
376
|
}
|
|
466
377
|
|
|
467
|
-
export interface AdminChangedEventObject {
|
|
468
|
-
previousAdmin: string;
|
|
469
|
-
newAdmin: string;
|
|
470
|
-
}
|
|
471
378
|
export type AdminChangedEvent = TypedEvent<
|
|
472
379
|
[string, string],
|
|
473
|
-
|
|
380
|
+
{ previousAdmin: string; newAdmin: string }
|
|
474
381
|
>;
|
|
475
382
|
|
|
476
383
|
export type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
|
|
477
384
|
|
|
478
|
-
export interface ApprovalEventObject {
|
|
479
|
-
owner: string;
|
|
480
|
-
spender: string;
|
|
481
|
-
value: BigNumber;
|
|
482
|
-
}
|
|
483
385
|
export type ApprovalEvent = TypedEvent<
|
|
484
386
|
[string, string, BigNumber],
|
|
485
|
-
|
|
387
|
+
{ owner: string; spender: string; value: BigNumber }
|
|
486
388
|
>;
|
|
487
389
|
|
|
488
390
|
export type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
|
|
489
391
|
|
|
490
|
-
export
|
|
491
|
-
beacon: string;
|
|
492
|
-
}
|
|
493
|
-
export type BeaconUpgradedEvent = TypedEvent<
|
|
494
|
-
[string],
|
|
495
|
-
BeaconUpgradedEventObject
|
|
496
|
-
>;
|
|
392
|
+
export type BeaconUpgradedEvent = TypedEvent<[string], { beacon: string }>;
|
|
497
393
|
|
|
498
394
|
export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
|
|
499
395
|
|
|
500
|
-
export
|
|
501
|
-
version: number;
|
|
502
|
-
}
|
|
503
|
-
export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
|
|
396
|
+
export type InitializedEvent = TypedEvent<[number], { version: number }>;
|
|
504
397
|
|
|
505
398
|
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
506
399
|
|
|
507
|
-
export
|
|
508
|
-
account: string;
|
|
509
|
-
}
|
|
510
|
-
export type PausedEvent = TypedEvent<[string], PausedEventObject>;
|
|
400
|
+
export type PausedEvent = TypedEvent<[string], { account: string }>;
|
|
511
401
|
|
|
512
402
|
export type PausedEventFilter = TypedEventFilter<PausedEvent>;
|
|
513
403
|
|
|
514
|
-
export interface RoleAdminChangedEventObject {
|
|
515
|
-
role: string;
|
|
516
|
-
previousAdminRole: string;
|
|
517
|
-
newAdminRole: string;
|
|
518
|
-
}
|
|
519
404
|
export type RoleAdminChangedEvent = TypedEvent<
|
|
520
405
|
[string, string, string],
|
|
521
|
-
|
|
406
|
+
{ role: string; previousAdminRole: string; newAdminRole: string }
|
|
522
407
|
>;
|
|
523
408
|
|
|
524
409
|
export type RoleAdminChangedEventFilter =
|
|
525
410
|
TypedEventFilter<RoleAdminChangedEvent>;
|
|
526
411
|
|
|
527
|
-
export interface RoleGrantedEventObject {
|
|
528
|
-
role: string;
|
|
529
|
-
account: string;
|
|
530
|
-
sender: string;
|
|
531
|
-
}
|
|
532
412
|
export type RoleGrantedEvent = TypedEvent<
|
|
533
413
|
[string, string, string],
|
|
534
|
-
|
|
414
|
+
{ role: string; account: string; sender: string }
|
|
535
415
|
>;
|
|
536
416
|
|
|
537
417
|
export type RoleGrantedEventFilter = TypedEventFilter<RoleGrantedEvent>;
|
|
538
418
|
|
|
539
|
-
export interface RoleRevokedEventObject {
|
|
540
|
-
role: string;
|
|
541
|
-
account: string;
|
|
542
|
-
sender: string;
|
|
543
|
-
}
|
|
544
419
|
export type RoleRevokedEvent = TypedEvent<
|
|
545
420
|
[string, string, string],
|
|
546
|
-
|
|
421
|
+
{ role: string; account: string; sender: string }
|
|
547
422
|
>;
|
|
548
423
|
|
|
549
424
|
export type RoleRevokedEventFilter = TypedEventFilter<RoleRevokedEvent>;
|
|
550
425
|
|
|
551
|
-
export interface Transfer_address_address_uint256_EventObject {
|
|
552
|
-
from: string;
|
|
553
|
-
to: string;
|
|
554
|
-
value: BigNumber;
|
|
555
|
-
}
|
|
556
426
|
export type Transfer_address_address_uint256_Event = TypedEvent<
|
|
557
427
|
[string, string, BigNumber],
|
|
558
|
-
|
|
428
|
+
{ from: string; to: string; value: BigNumber }
|
|
559
429
|
>;
|
|
560
430
|
|
|
561
431
|
export type Transfer_address_address_uint256_EventFilter =
|
|
562
432
|
TypedEventFilter<Transfer_address_address_uint256_Event>;
|
|
563
433
|
|
|
564
|
-
export interface Transfer_address_address_uint256_bytes_EventObject {
|
|
565
|
-
from: string;
|
|
566
|
-
to: string;
|
|
567
|
-
value: BigNumber;
|
|
568
|
-
data: string;
|
|
569
|
-
}
|
|
570
434
|
export type Transfer_address_address_uint256_bytes_Event = TypedEvent<
|
|
571
435
|
[string, string, BigNumber, string],
|
|
572
|
-
|
|
436
|
+
{ from: string; to: string; value: BigNumber; data: string }
|
|
573
437
|
>;
|
|
574
438
|
|
|
575
439
|
export type Transfer_address_address_uint256_bytes_EventFilter =
|
|
576
440
|
TypedEventFilter<Transfer_address_address_uint256_bytes_Event>;
|
|
577
441
|
|
|
578
|
-
export
|
|
579
|
-
account: string;
|
|
580
|
-
}
|
|
581
|
-
export type UnpausedEvent = TypedEvent<[string], UnpausedEventObject>;
|
|
442
|
+
export type UnpausedEvent = TypedEvent<[string], { account: string }>;
|
|
582
443
|
|
|
583
444
|
export type UnpausedEventFilter = TypedEventFilter<UnpausedEvent>;
|
|
584
445
|
|
|
585
|
-
export
|
|
586
|
-
implementation: string;
|
|
587
|
-
}
|
|
588
|
-
export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>;
|
|
446
|
+
export type UpgradedEvent = TypedEvent<[string], { implementation: string }>;
|
|
589
447
|
|
|
590
448
|
export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
|
|
591
449
|
|
|
592
|
-
export interface
|
|
450
|
+
export interface GoodDollar extends BaseContract {
|
|
593
451
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
594
452
|
attach(addressOrName: string): this;
|
|
595
453
|
deployed(): Promise<this>;
|
|
596
454
|
|
|
597
|
-
interface:
|
|
455
|
+
interface: GoodDollarInterface;
|
|
598
456
|
|
|
599
457
|
queryFilter<TEvent extends TypedEvent>(
|
|
600
458
|
event: TypedEventFilter<TEvent>,
|
|
@@ -626,12 +484,12 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
626
484
|
|
|
627
485
|
addMinter(
|
|
628
486
|
_minter: string,
|
|
629
|
-
overrides?: Overrides & { from?: string }
|
|
487
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
630
488
|
): Promise<ContractTransaction>;
|
|
631
489
|
|
|
632
490
|
addPauser(
|
|
633
491
|
_pauser: string,
|
|
634
|
-
overrides?: Overrides & { from?: string }
|
|
492
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
635
493
|
): Promise<ContractTransaction>;
|
|
636
494
|
|
|
637
495
|
allowance(
|
|
@@ -643,20 +501,20 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
643
501
|
approve(
|
|
644
502
|
spender: string,
|
|
645
503
|
amount: BigNumberish,
|
|
646
|
-
overrides?: Overrides & { from?: string }
|
|
504
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
647
505
|
): Promise<ContractTransaction>;
|
|
648
506
|
|
|
649
507
|
balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
650
508
|
|
|
651
509
|
burn(
|
|
652
510
|
amount: BigNumberish,
|
|
653
|
-
overrides?: Overrides & { from?: string }
|
|
511
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
654
512
|
): Promise<ContractTransaction>;
|
|
655
513
|
|
|
656
514
|
burnFrom(
|
|
657
515
|
account: string,
|
|
658
516
|
amount: BigNumberish,
|
|
659
|
-
overrides?: Overrides & { from?: string }
|
|
517
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
660
518
|
): Promise<ContractTransaction>;
|
|
661
519
|
|
|
662
520
|
cap(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
@@ -666,7 +524,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
666
524
|
decreaseAllowance(
|
|
667
525
|
spender: string,
|
|
668
526
|
subtractedValue: BigNumberish,
|
|
669
|
-
overrides?: Overrides & { from?: string }
|
|
527
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
670
528
|
): Promise<ContractTransaction>;
|
|
671
529
|
|
|
672
530
|
feeRecipient(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -701,7 +559,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
701
559
|
grantRole(
|
|
702
560
|
role: BytesLike,
|
|
703
561
|
account: string,
|
|
704
|
-
overrides?: Overrides & { from?: string }
|
|
562
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
705
563
|
): Promise<ContractTransaction>;
|
|
706
564
|
|
|
707
565
|
hasRole(
|
|
@@ -715,13 +573,13 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
715
573
|
increaseAllowance(
|
|
716
574
|
spender: string,
|
|
717
575
|
addedValue: BigNumberish,
|
|
718
|
-
overrides?: Overrides & { from?: string }
|
|
576
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
719
577
|
): Promise<ContractTransaction>;
|
|
720
578
|
|
|
721
579
|
"initialize(string,string)"(
|
|
722
580
|
name: string,
|
|
723
581
|
symbol: string,
|
|
724
|
-
overrides?: Overrides & { from?: string }
|
|
582
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
725
583
|
): Promise<ContractTransaction>;
|
|
726
584
|
|
|
727
585
|
"initialize(string,string,uint256,address,address,address,address)"(
|
|
@@ -732,7 +590,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
732
590
|
_identity: string,
|
|
733
591
|
_feeRecipient: string,
|
|
734
592
|
_owner: string,
|
|
735
|
-
overrides?: Overrides & { from?: string }
|
|
593
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
736
594
|
): Promise<ContractTransaction>;
|
|
737
595
|
|
|
738
596
|
isMinter(_minter: string, overrides?: CallOverrides): Promise<[boolean]>;
|
|
@@ -742,7 +600,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
742
600
|
mint(
|
|
743
601
|
to: string,
|
|
744
602
|
value: BigNumberish,
|
|
745
|
-
overrides?: Overrides & { from?: string }
|
|
603
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
746
604
|
): Promise<ContractTransaction>;
|
|
747
605
|
|
|
748
606
|
name(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -752,7 +610,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
752
610
|
owner(overrides?: CallOverrides): Promise<[string]>;
|
|
753
611
|
|
|
754
612
|
pause(
|
|
755
|
-
overrides?: Overrides & { from?: string }
|
|
613
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
756
614
|
): Promise<ContractTransaction>;
|
|
757
615
|
|
|
758
616
|
paused(overrides?: CallOverrides): Promise<[boolean]>;
|
|
@@ -765,40 +623,40 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
765
623
|
v: BigNumberish,
|
|
766
624
|
r: BytesLike,
|
|
767
625
|
s: BytesLike,
|
|
768
|
-
overrides?: Overrides & { from?: string }
|
|
626
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
769
627
|
): Promise<ContractTransaction>;
|
|
770
628
|
|
|
771
629
|
proxiableUUID(overrides?: CallOverrides): Promise<[string]>;
|
|
772
630
|
|
|
773
631
|
renounceMinter(
|
|
774
|
-
overrides?: Overrides & { from?: string }
|
|
632
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
775
633
|
): Promise<ContractTransaction>;
|
|
776
634
|
|
|
777
635
|
renounceRole(
|
|
778
636
|
role: BytesLike,
|
|
779
637
|
account: string,
|
|
780
|
-
overrides?: Overrides & { from?: string }
|
|
638
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
781
639
|
): Promise<ContractTransaction>;
|
|
782
640
|
|
|
783
641
|
revokeRole(
|
|
784
642
|
role: BytesLike,
|
|
785
643
|
account: string,
|
|
786
|
-
overrides?: Overrides & { from?: string }
|
|
644
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
787
645
|
): Promise<ContractTransaction>;
|
|
788
646
|
|
|
789
647
|
setFeeRecipient(
|
|
790
648
|
_feeRecipient: string,
|
|
791
|
-
overrides?: Overrides & { from?: string }
|
|
649
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
792
650
|
): Promise<ContractTransaction>;
|
|
793
651
|
|
|
794
652
|
setFormula(
|
|
795
653
|
_formula: string,
|
|
796
|
-
overrides?: Overrides & { from?: string }
|
|
654
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
797
655
|
): Promise<ContractTransaction>;
|
|
798
656
|
|
|
799
657
|
setIdentity(
|
|
800
658
|
_identity: string,
|
|
801
|
-
overrides?: Overrides & { from?: string }
|
|
659
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
802
660
|
): Promise<ContractTransaction>;
|
|
803
661
|
|
|
804
662
|
supportsInterface(
|
|
@@ -813,41 +671,41 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
813
671
|
transfer(
|
|
814
672
|
to: string,
|
|
815
673
|
value: BigNumberish,
|
|
816
|
-
overrides?: Overrides & { from?: string }
|
|
674
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
817
675
|
): Promise<ContractTransaction>;
|
|
818
676
|
|
|
819
677
|
transferAndCall(
|
|
820
678
|
to: string,
|
|
821
679
|
value: BigNumberish,
|
|
822
680
|
data: BytesLike,
|
|
823
|
-
overrides?: Overrides & { from?: string }
|
|
681
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
824
682
|
): Promise<ContractTransaction>;
|
|
825
683
|
|
|
826
684
|
transferFrom(
|
|
827
685
|
from: string,
|
|
828
686
|
to: string,
|
|
829
687
|
value: BigNumberish,
|
|
830
|
-
overrides?: Overrides & { from?: string }
|
|
688
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
831
689
|
): Promise<ContractTransaction>;
|
|
832
690
|
|
|
833
691
|
transferOwnership(
|
|
834
692
|
_owner: string,
|
|
835
|
-
overrides?: Overrides & { from?: string }
|
|
693
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
836
694
|
): Promise<ContractTransaction>;
|
|
837
695
|
|
|
838
696
|
unpause(
|
|
839
|
-
overrides?: Overrides & { from?: string }
|
|
697
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
840
698
|
): Promise<ContractTransaction>;
|
|
841
699
|
|
|
842
700
|
upgradeTo(
|
|
843
701
|
newImplementation: string,
|
|
844
|
-
overrides?: Overrides & { from?: string }
|
|
702
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
845
703
|
): Promise<ContractTransaction>;
|
|
846
704
|
|
|
847
705
|
upgradeToAndCall(
|
|
848
706
|
newImplementation: string,
|
|
849
707
|
data: BytesLike,
|
|
850
|
-
overrides?: PayableOverrides & { from?: string }
|
|
708
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
851
709
|
): Promise<ContractTransaction>;
|
|
852
710
|
};
|
|
853
711
|
|
|
@@ -861,12 +719,12 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
861
719
|
|
|
862
720
|
addMinter(
|
|
863
721
|
_minter: string,
|
|
864
|
-
overrides?: Overrides & { from?: string }
|
|
722
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
865
723
|
): Promise<ContractTransaction>;
|
|
866
724
|
|
|
867
725
|
addPauser(
|
|
868
726
|
_pauser: string,
|
|
869
|
-
overrides?: Overrides & { from?: string }
|
|
727
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
870
728
|
): Promise<ContractTransaction>;
|
|
871
729
|
|
|
872
730
|
allowance(
|
|
@@ -878,20 +736,20 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
878
736
|
approve(
|
|
879
737
|
spender: string,
|
|
880
738
|
amount: BigNumberish,
|
|
881
|
-
overrides?: Overrides & { from?: string }
|
|
739
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
882
740
|
): Promise<ContractTransaction>;
|
|
883
741
|
|
|
884
742
|
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
885
743
|
|
|
886
744
|
burn(
|
|
887
745
|
amount: BigNumberish,
|
|
888
|
-
overrides?: Overrides & { from?: string }
|
|
746
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
889
747
|
): Promise<ContractTransaction>;
|
|
890
748
|
|
|
891
749
|
burnFrom(
|
|
892
750
|
account: string,
|
|
893
751
|
amount: BigNumberish,
|
|
894
|
-
overrides?: Overrides & { from?: string }
|
|
752
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
895
753
|
): Promise<ContractTransaction>;
|
|
896
754
|
|
|
897
755
|
cap(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -901,7 +759,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
901
759
|
decreaseAllowance(
|
|
902
760
|
spender: string,
|
|
903
761
|
subtractedValue: BigNumberish,
|
|
904
|
-
overrides?: Overrides & { from?: string }
|
|
762
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
905
763
|
): Promise<ContractTransaction>;
|
|
906
764
|
|
|
907
765
|
feeRecipient(overrides?: CallOverrides): Promise<string>;
|
|
@@ -936,7 +794,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
936
794
|
grantRole(
|
|
937
795
|
role: BytesLike,
|
|
938
796
|
account: string,
|
|
939
|
-
overrides?: Overrides & { from?: string }
|
|
797
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
940
798
|
): Promise<ContractTransaction>;
|
|
941
799
|
|
|
942
800
|
hasRole(
|
|
@@ -950,13 +808,13 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
950
808
|
increaseAllowance(
|
|
951
809
|
spender: string,
|
|
952
810
|
addedValue: BigNumberish,
|
|
953
|
-
overrides?: Overrides & { from?: string }
|
|
811
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
954
812
|
): Promise<ContractTransaction>;
|
|
955
813
|
|
|
956
814
|
"initialize(string,string)"(
|
|
957
815
|
name: string,
|
|
958
816
|
symbol: string,
|
|
959
|
-
overrides?: Overrides & { from?: string }
|
|
817
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
960
818
|
): Promise<ContractTransaction>;
|
|
961
819
|
|
|
962
820
|
"initialize(string,string,uint256,address,address,address,address)"(
|
|
@@ -967,7 +825,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
967
825
|
_identity: string,
|
|
968
826
|
_feeRecipient: string,
|
|
969
827
|
_owner: string,
|
|
970
|
-
overrides?: Overrides & { from?: string }
|
|
828
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
971
829
|
): Promise<ContractTransaction>;
|
|
972
830
|
|
|
973
831
|
isMinter(_minter: string, overrides?: CallOverrides): Promise<boolean>;
|
|
@@ -977,7 +835,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
977
835
|
mint(
|
|
978
836
|
to: string,
|
|
979
837
|
value: BigNumberish,
|
|
980
|
-
overrides?: Overrides & { from?: string }
|
|
838
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
981
839
|
): Promise<ContractTransaction>;
|
|
982
840
|
|
|
983
841
|
name(overrides?: CallOverrides): Promise<string>;
|
|
@@ -987,7 +845,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
987
845
|
owner(overrides?: CallOverrides): Promise<string>;
|
|
988
846
|
|
|
989
847
|
pause(
|
|
990
|
-
overrides?: Overrides & { from?: string }
|
|
848
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
991
849
|
): Promise<ContractTransaction>;
|
|
992
850
|
|
|
993
851
|
paused(overrides?: CallOverrides): Promise<boolean>;
|
|
@@ -1000,40 +858,40 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1000
858
|
v: BigNumberish,
|
|
1001
859
|
r: BytesLike,
|
|
1002
860
|
s: BytesLike,
|
|
1003
|
-
overrides?: Overrides & { from?: string }
|
|
861
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1004
862
|
): Promise<ContractTransaction>;
|
|
1005
863
|
|
|
1006
864
|
proxiableUUID(overrides?: CallOverrides): Promise<string>;
|
|
1007
865
|
|
|
1008
866
|
renounceMinter(
|
|
1009
|
-
overrides?: Overrides & { from?: string }
|
|
867
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1010
868
|
): Promise<ContractTransaction>;
|
|
1011
869
|
|
|
1012
870
|
renounceRole(
|
|
1013
871
|
role: BytesLike,
|
|
1014
872
|
account: string,
|
|
1015
|
-
overrides?: Overrides & { from?: string }
|
|
873
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1016
874
|
): Promise<ContractTransaction>;
|
|
1017
875
|
|
|
1018
876
|
revokeRole(
|
|
1019
877
|
role: BytesLike,
|
|
1020
878
|
account: string,
|
|
1021
|
-
overrides?: Overrides & { from?: string }
|
|
879
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1022
880
|
): Promise<ContractTransaction>;
|
|
1023
881
|
|
|
1024
882
|
setFeeRecipient(
|
|
1025
883
|
_feeRecipient: string,
|
|
1026
|
-
overrides?: Overrides & { from?: string }
|
|
884
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1027
885
|
): Promise<ContractTransaction>;
|
|
1028
886
|
|
|
1029
887
|
setFormula(
|
|
1030
888
|
_formula: string,
|
|
1031
|
-
overrides?: Overrides & { from?: string }
|
|
889
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1032
890
|
): Promise<ContractTransaction>;
|
|
1033
891
|
|
|
1034
892
|
setIdentity(
|
|
1035
893
|
_identity: string,
|
|
1036
|
-
overrides?: Overrides & { from?: string }
|
|
894
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1037
895
|
): Promise<ContractTransaction>;
|
|
1038
896
|
|
|
1039
897
|
supportsInterface(
|
|
@@ -1048,41 +906,41 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1048
906
|
transfer(
|
|
1049
907
|
to: string,
|
|
1050
908
|
value: BigNumberish,
|
|
1051
|
-
overrides?: Overrides & { from?: string }
|
|
909
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1052
910
|
): Promise<ContractTransaction>;
|
|
1053
911
|
|
|
1054
912
|
transferAndCall(
|
|
1055
913
|
to: string,
|
|
1056
914
|
value: BigNumberish,
|
|
1057
915
|
data: BytesLike,
|
|
1058
|
-
overrides?: Overrides & { from?: string }
|
|
916
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1059
917
|
): Promise<ContractTransaction>;
|
|
1060
918
|
|
|
1061
919
|
transferFrom(
|
|
1062
920
|
from: string,
|
|
1063
921
|
to: string,
|
|
1064
922
|
value: BigNumberish,
|
|
1065
|
-
overrides?: Overrides & { from?: string }
|
|
923
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1066
924
|
): Promise<ContractTransaction>;
|
|
1067
925
|
|
|
1068
926
|
transferOwnership(
|
|
1069
927
|
_owner: string,
|
|
1070
|
-
overrides?: Overrides & { from?: string }
|
|
928
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1071
929
|
): Promise<ContractTransaction>;
|
|
1072
930
|
|
|
1073
931
|
unpause(
|
|
1074
|
-
overrides?: Overrides & { from?: string }
|
|
932
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1075
933
|
): Promise<ContractTransaction>;
|
|
1076
934
|
|
|
1077
935
|
upgradeTo(
|
|
1078
936
|
newImplementation: string,
|
|
1079
|
-
overrides?: Overrides & { from?: string }
|
|
937
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1080
938
|
): Promise<ContractTransaction>;
|
|
1081
939
|
|
|
1082
940
|
upgradeToAndCall(
|
|
1083
941
|
newImplementation: string,
|
|
1084
942
|
data: BytesLike,
|
|
1085
|
-
overrides?: PayableOverrides & { from?: string }
|
|
943
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1086
944
|
): Promise<ContractTransaction>;
|
|
1087
945
|
|
|
1088
946
|
callStatic: {
|
|
@@ -1392,12 +1250,12 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1392
1250
|
|
|
1393
1251
|
addMinter(
|
|
1394
1252
|
_minter: string,
|
|
1395
|
-
overrides?: Overrides & { from?: string }
|
|
1253
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1396
1254
|
): Promise<BigNumber>;
|
|
1397
1255
|
|
|
1398
1256
|
addPauser(
|
|
1399
1257
|
_pauser: string,
|
|
1400
|
-
overrides?: Overrides & { from?: string }
|
|
1258
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1401
1259
|
): Promise<BigNumber>;
|
|
1402
1260
|
|
|
1403
1261
|
allowance(
|
|
@@ -1409,20 +1267,20 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1409
1267
|
approve(
|
|
1410
1268
|
spender: string,
|
|
1411
1269
|
amount: BigNumberish,
|
|
1412
|
-
overrides?: Overrides & { from?: string }
|
|
1270
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1413
1271
|
): Promise<BigNumber>;
|
|
1414
1272
|
|
|
1415
1273
|
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
1416
1274
|
|
|
1417
1275
|
burn(
|
|
1418
1276
|
amount: BigNumberish,
|
|
1419
|
-
overrides?: Overrides & { from?: string }
|
|
1277
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1420
1278
|
): Promise<BigNumber>;
|
|
1421
1279
|
|
|
1422
1280
|
burnFrom(
|
|
1423
1281
|
account: string,
|
|
1424
1282
|
amount: BigNumberish,
|
|
1425
|
-
overrides?: Overrides & { from?: string }
|
|
1283
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1426
1284
|
): Promise<BigNumber>;
|
|
1427
1285
|
|
|
1428
1286
|
cap(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1432,7 +1290,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1432
1290
|
decreaseAllowance(
|
|
1433
1291
|
spender: string,
|
|
1434
1292
|
subtractedValue: BigNumberish,
|
|
1435
|
-
overrides?: Overrides & { from?: string }
|
|
1293
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1436
1294
|
): Promise<BigNumber>;
|
|
1437
1295
|
|
|
1438
1296
|
feeRecipient(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1470,7 +1328,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1470
1328
|
grantRole(
|
|
1471
1329
|
role: BytesLike,
|
|
1472
1330
|
account: string,
|
|
1473
|
-
overrides?: Overrides & { from?: string }
|
|
1331
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1474
1332
|
): Promise<BigNumber>;
|
|
1475
1333
|
|
|
1476
1334
|
hasRole(
|
|
@@ -1484,13 +1342,13 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1484
1342
|
increaseAllowance(
|
|
1485
1343
|
spender: string,
|
|
1486
1344
|
addedValue: BigNumberish,
|
|
1487
|
-
overrides?: Overrides & { from?: string }
|
|
1345
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1488
1346
|
): Promise<BigNumber>;
|
|
1489
1347
|
|
|
1490
1348
|
"initialize(string,string)"(
|
|
1491
1349
|
name: string,
|
|
1492
1350
|
symbol: string,
|
|
1493
|
-
overrides?: Overrides & { from?: string }
|
|
1351
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1494
1352
|
): Promise<BigNumber>;
|
|
1495
1353
|
|
|
1496
1354
|
"initialize(string,string,uint256,address,address,address,address)"(
|
|
@@ -1501,7 +1359,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1501
1359
|
_identity: string,
|
|
1502
1360
|
_feeRecipient: string,
|
|
1503
1361
|
_owner: string,
|
|
1504
|
-
overrides?: Overrides & { from?: string }
|
|
1362
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1505
1363
|
): Promise<BigNumber>;
|
|
1506
1364
|
|
|
1507
1365
|
isMinter(_minter: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1511,7 +1369,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1511
1369
|
mint(
|
|
1512
1370
|
to: string,
|
|
1513
1371
|
value: BigNumberish,
|
|
1514
|
-
overrides?: Overrides & { from?: string }
|
|
1372
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1515
1373
|
): Promise<BigNumber>;
|
|
1516
1374
|
|
|
1517
1375
|
name(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1520,7 +1378,9 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1520
1378
|
|
|
1521
1379
|
owner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1522
1380
|
|
|
1523
|
-
pause(
|
|
1381
|
+
pause(
|
|
1382
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1383
|
+
): Promise<BigNumber>;
|
|
1524
1384
|
|
|
1525
1385
|
paused(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1526
1386
|
|
|
@@ -1532,40 +1392,40 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1532
1392
|
v: BigNumberish,
|
|
1533
1393
|
r: BytesLike,
|
|
1534
1394
|
s: BytesLike,
|
|
1535
|
-
overrides?: Overrides & { from?: string }
|
|
1395
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1536
1396
|
): Promise<BigNumber>;
|
|
1537
1397
|
|
|
1538
1398
|
proxiableUUID(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1539
1399
|
|
|
1540
1400
|
renounceMinter(
|
|
1541
|
-
overrides?: Overrides & { from?: string }
|
|
1401
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1542
1402
|
): Promise<BigNumber>;
|
|
1543
1403
|
|
|
1544
1404
|
renounceRole(
|
|
1545
1405
|
role: BytesLike,
|
|
1546
1406
|
account: string,
|
|
1547
|
-
overrides?: Overrides & { from?: string }
|
|
1407
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1548
1408
|
): Promise<BigNumber>;
|
|
1549
1409
|
|
|
1550
1410
|
revokeRole(
|
|
1551
1411
|
role: BytesLike,
|
|
1552
1412
|
account: string,
|
|
1553
|
-
overrides?: Overrides & { from?: string }
|
|
1413
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1554
1414
|
): Promise<BigNumber>;
|
|
1555
1415
|
|
|
1556
1416
|
setFeeRecipient(
|
|
1557
1417
|
_feeRecipient: string,
|
|
1558
|
-
overrides?: Overrides & { from?: string }
|
|
1418
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1559
1419
|
): Promise<BigNumber>;
|
|
1560
1420
|
|
|
1561
1421
|
setFormula(
|
|
1562
1422
|
_formula: string,
|
|
1563
|
-
overrides?: Overrides & { from?: string }
|
|
1423
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1564
1424
|
): Promise<BigNumber>;
|
|
1565
1425
|
|
|
1566
1426
|
setIdentity(
|
|
1567
1427
|
_identity: string,
|
|
1568
|
-
overrides?: Overrides & { from?: string }
|
|
1428
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1569
1429
|
): Promise<BigNumber>;
|
|
1570
1430
|
|
|
1571
1431
|
supportsInterface(
|
|
@@ -1580,39 +1440,41 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1580
1440
|
transfer(
|
|
1581
1441
|
to: string,
|
|
1582
1442
|
value: BigNumberish,
|
|
1583
|
-
overrides?: Overrides & { from?: string }
|
|
1443
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1584
1444
|
): Promise<BigNumber>;
|
|
1585
1445
|
|
|
1586
1446
|
transferAndCall(
|
|
1587
1447
|
to: string,
|
|
1588
1448
|
value: BigNumberish,
|
|
1589
1449
|
data: BytesLike,
|
|
1590
|
-
overrides?: Overrides & { from?: string }
|
|
1450
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1591
1451
|
): Promise<BigNumber>;
|
|
1592
1452
|
|
|
1593
1453
|
transferFrom(
|
|
1594
1454
|
from: string,
|
|
1595
1455
|
to: string,
|
|
1596
1456
|
value: BigNumberish,
|
|
1597
|
-
overrides?: Overrides & { from?: string }
|
|
1457
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1598
1458
|
): Promise<BigNumber>;
|
|
1599
1459
|
|
|
1600
1460
|
transferOwnership(
|
|
1601
1461
|
_owner: string,
|
|
1602
|
-
overrides?: Overrides & { from?: string }
|
|
1462
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1603
1463
|
): Promise<BigNumber>;
|
|
1604
1464
|
|
|
1605
|
-
unpause(
|
|
1465
|
+
unpause(
|
|
1466
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1467
|
+
): Promise<BigNumber>;
|
|
1606
1468
|
|
|
1607
1469
|
upgradeTo(
|
|
1608
1470
|
newImplementation: string,
|
|
1609
|
-
overrides?: Overrides & { from?: string }
|
|
1471
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1610
1472
|
): Promise<BigNumber>;
|
|
1611
1473
|
|
|
1612
1474
|
upgradeToAndCall(
|
|
1613
1475
|
newImplementation: string,
|
|
1614
1476
|
data: BytesLike,
|
|
1615
|
-
overrides?: PayableOverrides & { from?: string }
|
|
1477
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1616
1478
|
): Promise<BigNumber>;
|
|
1617
1479
|
};
|
|
1618
1480
|
|
|
@@ -1629,12 +1491,12 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1629
1491
|
|
|
1630
1492
|
addMinter(
|
|
1631
1493
|
_minter: string,
|
|
1632
|
-
overrides?: Overrides & { from?: string }
|
|
1494
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1633
1495
|
): Promise<PopulatedTransaction>;
|
|
1634
1496
|
|
|
1635
1497
|
addPauser(
|
|
1636
1498
|
_pauser: string,
|
|
1637
|
-
overrides?: Overrides & { from?: string }
|
|
1499
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1638
1500
|
): Promise<PopulatedTransaction>;
|
|
1639
1501
|
|
|
1640
1502
|
allowance(
|
|
@@ -1646,7 +1508,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1646
1508
|
approve(
|
|
1647
1509
|
spender: string,
|
|
1648
1510
|
amount: BigNumberish,
|
|
1649
|
-
overrides?: Overrides & { from?: string }
|
|
1511
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1650
1512
|
): Promise<PopulatedTransaction>;
|
|
1651
1513
|
|
|
1652
1514
|
balanceOf(
|
|
@@ -1656,13 +1518,13 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1656
1518
|
|
|
1657
1519
|
burn(
|
|
1658
1520
|
amount: BigNumberish,
|
|
1659
|
-
overrides?: Overrides & { from?: string }
|
|
1521
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1660
1522
|
): Promise<PopulatedTransaction>;
|
|
1661
1523
|
|
|
1662
1524
|
burnFrom(
|
|
1663
1525
|
account: string,
|
|
1664
1526
|
amount: BigNumberish,
|
|
1665
|
-
overrides?: Overrides & { from?: string }
|
|
1527
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1666
1528
|
): Promise<PopulatedTransaction>;
|
|
1667
1529
|
|
|
1668
1530
|
cap(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1672,7 +1534,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1672
1534
|
decreaseAllowance(
|
|
1673
1535
|
spender: string,
|
|
1674
1536
|
subtractedValue: BigNumberish,
|
|
1675
|
-
overrides?: Overrides & { from?: string }
|
|
1537
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1676
1538
|
): Promise<PopulatedTransaction>;
|
|
1677
1539
|
|
|
1678
1540
|
feeRecipient(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1710,7 +1572,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1710
1572
|
grantRole(
|
|
1711
1573
|
role: BytesLike,
|
|
1712
1574
|
account: string,
|
|
1713
|
-
overrides?: Overrides & { from?: string }
|
|
1575
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1714
1576
|
): Promise<PopulatedTransaction>;
|
|
1715
1577
|
|
|
1716
1578
|
hasRole(
|
|
@@ -1724,13 +1586,13 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1724
1586
|
increaseAllowance(
|
|
1725
1587
|
spender: string,
|
|
1726
1588
|
addedValue: BigNumberish,
|
|
1727
|
-
overrides?: Overrides & { from?: string }
|
|
1589
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1728
1590
|
): Promise<PopulatedTransaction>;
|
|
1729
1591
|
|
|
1730
1592
|
"initialize(string,string)"(
|
|
1731
1593
|
name: string,
|
|
1732
1594
|
symbol: string,
|
|
1733
|
-
overrides?: Overrides & { from?: string }
|
|
1595
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1734
1596
|
): Promise<PopulatedTransaction>;
|
|
1735
1597
|
|
|
1736
1598
|
"initialize(string,string,uint256,address,address,address,address)"(
|
|
@@ -1741,7 +1603,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1741
1603
|
_identity: string,
|
|
1742
1604
|
_feeRecipient: string,
|
|
1743
1605
|
_owner: string,
|
|
1744
|
-
overrides?: Overrides & { from?: string }
|
|
1606
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1745
1607
|
): Promise<PopulatedTransaction>;
|
|
1746
1608
|
|
|
1747
1609
|
isMinter(
|
|
@@ -1757,7 +1619,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1757
1619
|
mint(
|
|
1758
1620
|
to: string,
|
|
1759
1621
|
value: BigNumberish,
|
|
1760
|
-
overrides?: Overrides & { from?: string }
|
|
1622
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1761
1623
|
): Promise<PopulatedTransaction>;
|
|
1762
1624
|
|
|
1763
1625
|
name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1770,7 +1632,7 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1770
1632
|
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1771
1633
|
|
|
1772
1634
|
pause(
|
|
1773
|
-
overrides?: Overrides & { from?: string }
|
|
1635
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1774
1636
|
): Promise<PopulatedTransaction>;
|
|
1775
1637
|
|
|
1776
1638
|
paused(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1783,40 +1645,40 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1783
1645
|
v: BigNumberish,
|
|
1784
1646
|
r: BytesLike,
|
|
1785
1647
|
s: BytesLike,
|
|
1786
|
-
overrides?: Overrides & { from?: string }
|
|
1648
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1787
1649
|
): Promise<PopulatedTransaction>;
|
|
1788
1650
|
|
|
1789
1651
|
proxiableUUID(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1790
1652
|
|
|
1791
1653
|
renounceMinter(
|
|
1792
|
-
overrides?: Overrides & { from?: string }
|
|
1654
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1793
1655
|
): Promise<PopulatedTransaction>;
|
|
1794
1656
|
|
|
1795
1657
|
renounceRole(
|
|
1796
1658
|
role: BytesLike,
|
|
1797
1659
|
account: string,
|
|
1798
|
-
overrides?: Overrides & { from?: string }
|
|
1660
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1799
1661
|
): Promise<PopulatedTransaction>;
|
|
1800
1662
|
|
|
1801
1663
|
revokeRole(
|
|
1802
1664
|
role: BytesLike,
|
|
1803
1665
|
account: string,
|
|
1804
|
-
overrides?: Overrides & { from?: string }
|
|
1666
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1805
1667
|
): Promise<PopulatedTransaction>;
|
|
1806
1668
|
|
|
1807
1669
|
setFeeRecipient(
|
|
1808
1670
|
_feeRecipient: string,
|
|
1809
|
-
overrides?: Overrides & { from?: string }
|
|
1671
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1810
1672
|
): Promise<PopulatedTransaction>;
|
|
1811
1673
|
|
|
1812
1674
|
setFormula(
|
|
1813
1675
|
_formula: string,
|
|
1814
|
-
overrides?: Overrides & { from?: string }
|
|
1676
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1815
1677
|
): Promise<PopulatedTransaction>;
|
|
1816
1678
|
|
|
1817
1679
|
setIdentity(
|
|
1818
1680
|
_identity: string,
|
|
1819
|
-
overrides?: Overrides & { from?: string }
|
|
1681
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1820
1682
|
): Promise<PopulatedTransaction>;
|
|
1821
1683
|
|
|
1822
1684
|
supportsInterface(
|
|
@@ -1831,41 +1693,41 @@ export interface GoodDollar18 extends BaseContract {
|
|
|
1831
1693
|
transfer(
|
|
1832
1694
|
to: string,
|
|
1833
1695
|
value: BigNumberish,
|
|
1834
|
-
overrides?: Overrides & { from?: string }
|
|
1696
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1835
1697
|
): Promise<PopulatedTransaction>;
|
|
1836
1698
|
|
|
1837
1699
|
transferAndCall(
|
|
1838
1700
|
to: string,
|
|
1839
1701
|
value: BigNumberish,
|
|
1840
1702
|
data: BytesLike,
|
|
1841
|
-
overrides?: Overrides & { from?: string }
|
|
1703
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1842
1704
|
): Promise<PopulatedTransaction>;
|
|
1843
1705
|
|
|
1844
1706
|
transferFrom(
|
|
1845
1707
|
from: string,
|
|
1846
1708
|
to: string,
|
|
1847
1709
|
value: BigNumberish,
|
|
1848
|
-
overrides?: Overrides & { from?: string }
|
|
1710
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1849
1711
|
): Promise<PopulatedTransaction>;
|
|
1850
1712
|
|
|
1851
1713
|
transferOwnership(
|
|
1852
1714
|
_owner: string,
|
|
1853
|
-
overrides?: Overrides & { from?: string }
|
|
1715
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1854
1716
|
): Promise<PopulatedTransaction>;
|
|
1855
1717
|
|
|
1856
1718
|
unpause(
|
|
1857
|
-
overrides?: Overrides & { from?: string }
|
|
1719
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1858
1720
|
): Promise<PopulatedTransaction>;
|
|
1859
1721
|
|
|
1860
1722
|
upgradeTo(
|
|
1861
1723
|
newImplementation: string,
|
|
1862
|
-
overrides?: Overrides & { from?: string }
|
|
1724
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1863
1725
|
): Promise<PopulatedTransaction>;
|
|
1864
1726
|
|
|
1865
1727
|
upgradeToAndCall(
|
|
1866
1728
|
newImplementation: string,
|
|
1867
1729
|
data: BytesLike,
|
|
1868
|
-
overrides?: PayableOverrides & { from?: string }
|
|
1730
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1869
1731
|
): Promise<PopulatedTransaction>;
|
|
1870
1732
|
};
|
|
1871
1733
|
}
|