@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,39 +1,36 @@
|
|
|
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 GoodReserveCDaiInterface extends ethers.utils.Interface {
|
|
31
29
|
functions: {
|
|
32
30
|
"DEFAULT_ADMIN_ROLE()": FunctionFragment;
|
|
33
31
|
"MINTER_ROLE()": FunctionFragment;
|
|
34
32
|
"PAUSER_ROLE()": FunctionFragment;
|
|
35
33
|
"RESERVE_MINTER_ROLE()": FunctionFragment;
|
|
36
|
-
"aDaiAddress()": FunctionFragment;
|
|
37
34
|
"allowance(address,address)": FunctionFragment;
|
|
38
35
|
"approve(address,uint256)": FunctionFragment;
|
|
39
36
|
"avatar()": FunctionFragment;
|
|
@@ -62,7 +59,6 @@ export interface GoodReserveADaiInterface extends utils.Interface {
|
|
|
62
59
|
"hasRole(bytes32,address)": FunctionFragment;
|
|
63
60
|
"increaseAllowance(address,uint256)": FunctionFragment;
|
|
64
61
|
"initialize(string,string)": FunctionFragment;
|
|
65
|
-
"initialize(address,bytes32)": FunctionFragment;
|
|
66
62
|
"isClaimedGDX(address)": FunctionFragment;
|
|
67
63
|
"lastMinted()": FunctionFragment;
|
|
68
64
|
"mint(address,uint256)": FunctionFragment;
|
|
@@ -95,74 +91,6 @@ export interface GoodReserveADaiInterface extends utils.Interface {
|
|
|
95
91
|
"when()": FunctionFragment;
|
|
96
92
|
};
|
|
97
93
|
|
|
98
|
-
getFunction(
|
|
99
|
-
nameOrSignatureOrTopic:
|
|
100
|
-
| "DEFAULT_ADMIN_ROLE"
|
|
101
|
-
| "MINTER_ROLE"
|
|
102
|
-
| "PAUSER_ROLE"
|
|
103
|
-
| "RESERVE_MINTER_ROLE"
|
|
104
|
-
| "aDaiAddress"
|
|
105
|
-
| "allowance"
|
|
106
|
-
| "approve"
|
|
107
|
-
| "avatar"
|
|
108
|
-
| "balanceOf"
|
|
109
|
-
| "burn"
|
|
110
|
-
| "burnFrom"
|
|
111
|
-
| "buy"
|
|
112
|
-
| "cDaiAddress"
|
|
113
|
-
| "cap"
|
|
114
|
-
| "currentPrice"
|
|
115
|
-
| "currentPriceDAI"
|
|
116
|
-
| "daiAddress"
|
|
117
|
-
| "dao"
|
|
118
|
-
| "decimals"
|
|
119
|
-
| "decreaseAllowance"
|
|
120
|
-
| "discountDisabled"
|
|
121
|
-
| "distributionHelper"
|
|
122
|
-
| "end"
|
|
123
|
-
| "gdxAirdrop"
|
|
124
|
-
| "gdxDisabled"
|
|
125
|
-
| "getMarketMaker"
|
|
126
|
-
| "getRoleAdmin"
|
|
127
|
-
| "getRoleMember"
|
|
128
|
-
| "getRoleMemberCount"
|
|
129
|
-
| "grantRole"
|
|
130
|
-
| "hasRole"
|
|
131
|
-
| "increaseAllowance"
|
|
132
|
-
| "initialize(string,string)"
|
|
133
|
-
| "initialize(address,bytes32)"
|
|
134
|
-
| "isClaimedGDX"
|
|
135
|
-
| "lastMinted"
|
|
136
|
-
| "mint"
|
|
137
|
-
| "mintRewardFromRR"
|
|
138
|
-
| "mintUBI"
|
|
139
|
-
| "name"
|
|
140
|
-
| "nameService"
|
|
141
|
-
| "nativeToken"
|
|
142
|
-
| "pause"
|
|
143
|
-
| "paused"
|
|
144
|
-
| "pre"
|
|
145
|
-
| "proxiableUUID"
|
|
146
|
-
| "recover"
|
|
147
|
-
| "renounceRole"
|
|
148
|
-
| "revokeRole"
|
|
149
|
-
| "sell"
|
|
150
|
-
| "setAddresses"
|
|
151
|
-
| "setDistributionHelper"
|
|
152
|
-
| "setGDXDisabled"
|
|
153
|
-
| "setReserveRatioDailyExpansion"
|
|
154
|
-
| "supportsInterface"
|
|
155
|
-
| "symbol"
|
|
156
|
-
| "totalSupply"
|
|
157
|
-
| "transfer"
|
|
158
|
-
| "transferFrom"
|
|
159
|
-
| "unpause"
|
|
160
|
-
| "updateAvatar"
|
|
161
|
-
| "upgradeTo"
|
|
162
|
-
| "upgradeToAndCall"
|
|
163
|
-
| "when"
|
|
164
|
-
): FunctionFragment;
|
|
165
|
-
|
|
166
94
|
encodeFunctionData(
|
|
167
95
|
functionFragment: "DEFAULT_ADMIN_ROLE",
|
|
168
96
|
values?: undefined
|
|
@@ -179,10 +107,6 @@ export interface GoodReserveADaiInterface extends utils.Interface {
|
|
|
179
107
|
functionFragment: "RESERVE_MINTER_ROLE",
|
|
180
108
|
values?: undefined
|
|
181
109
|
): string;
|
|
182
|
-
encodeFunctionData(
|
|
183
|
-
functionFragment: "aDaiAddress",
|
|
184
|
-
values?: undefined
|
|
185
|
-
): string;
|
|
186
110
|
encodeFunctionData(
|
|
187
111
|
functionFragment: "allowance",
|
|
188
112
|
values: [string, string]
|
|
@@ -271,13 +195,9 @@ export interface GoodReserveADaiInterface extends utils.Interface {
|
|
|
271
195
|
values: [string, BigNumberish]
|
|
272
196
|
): string;
|
|
273
197
|
encodeFunctionData(
|
|
274
|
-
functionFragment: "initialize
|
|
198
|
+
functionFragment: "initialize",
|
|
275
199
|
values: [string, string]
|
|
276
200
|
): string;
|
|
277
|
-
encodeFunctionData(
|
|
278
|
-
functionFragment: "initialize(address,bytes32)",
|
|
279
|
-
values: [string, BytesLike]
|
|
280
|
-
): string;
|
|
281
201
|
encodeFunctionData(
|
|
282
202
|
functionFragment: "isClaimedGDX",
|
|
283
203
|
values: [string]
|
|
@@ -391,10 +311,6 @@ export interface GoodReserveADaiInterface extends utils.Interface {
|
|
|
391
311
|
functionFragment: "RESERVE_MINTER_ROLE",
|
|
392
312
|
data: BytesLike
|
|
393
313
|
): Result;
|
|
394
|
-
decodeFunctionResult(
|
|
395
|
-
functionFragment: "aDaiAddress",
|
|
396
|
-
data: BytesLike
|
|
397
|
-
): Result;
|
|
398
314
|
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
399
315
|
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
400
316
|
decodeFunctionResult(functionFragment: "avatar", data: BytesLike): Result;
|
|
@@ -458,14 +374,7 @@ export interface GoodReserveADaiInterface extends utils.Interface {
|
|
|
458
374
|
functionFragment: "increaseAllowance",
|
|
459
375
|
data: BytesLike
|
|
460
376
|
): Result;
|
|
461
|
-
decodeFunctionResult(
|
|
462
|
-
functionFragment: "initialize(string,string)",
|
|
463
|
-
data: BytesLike
|
|
464
|
-
): Result;
|
|
465
|
-
decodeFunctionResult(
|
|
466
|
-
functionFragment: "initialize(address,bytes32)",
|
|
467
|
-
data: BytesLike
|
|
468
|
-
): Result;
|
|
377
|
+
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
469
378
|
decodeFunctionResult(
|
|
470
379
|
functionFragment: "isClaimedGDX",
|
|
471
380
|
data: BytesLike
|
|
@@ -579,190 +488,135 @@ export interface GoodReserveADaiInterface extends utils.Interface {
|
|
|
579
488
|
getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
|
|
580
489
|
}
|
|
581
490
|
|
|
582
|
-
export interface AdminChangedEventObject {
|
|
583
|
-
previousAdmin: string;
|
|
584
|
-
newAdmin: string;
|
|
585
|
-
}
|
|
586
491
|
export type AdminChangedEvent = TypedEvent<
|
|
587
492
|
[string, string],
|
|
588
|
-
|
|
493
|
+
{ previousAdmin: string; newAdmin: string }
|
|
589
494
|
>;
|
|
590
495
|
|
|
591
496
|
export type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
|
|
592
497
|
|
|
593
|
-
export interface ApprovalEventObject {
|
|
594
|
-
owner: string;
|
|
595
|
-
spender: string;
|
|
596
|
-
value: BigNumber;
|
|
597
|
-
}
|
|
598
498
|
export type ApprovalEvent = TypedEvent<
|
|
599
499
|
[string, string, BigNumber],
|
|
600
|
-
|
|
500
|
+
{ owner: string; spender: string; value: BigNumber }
|
|
601
501
|
>;
|
|
602
502
|
|
|
603
503
|
export type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
|
|
604
504
|
|
|
605
|
-
export
|
|
606
|
-
beacon: string;
|
|
607
|
-
}
|
|
608
|
-
export type BeaconUpgradedEvent = TypedEvent<
|
|
609
|
-
[string],
|
|
610
|
-
BeaconUpgradedEventObject
|
|
611
|
-
>;
|
|
505
|
+
export type BeaconUpgradedEvent = TypedEvent<[string], { beacon: string }>;
|
|
612
506
|
|
|
613
507
|
export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
|
|
614
508
|
|
|
615
|
-
export interface DistributionHelperSetEventObject {
|
|
616
|
-
distributionHelper: string;
|
|
617
|
-
bps: number;
|
|
618
|
-
}
|
|
619
509
|
export type DistributionHelperSetEvent = TypedEvent<
|
|
620
510
|
[string, number],
|
|
621
|
-
|
|
511
|
+
{ distributionHelper: string; bps: number }
|
|
622
512
|
>;
|
|
623
513
|
|
|
624
514
|
export type DistributionHelperSetEventFilter =
|
|
625
515
|
TypedEventFilter<DistributionHelperSetEvent>;
|
|
626
516
|
|
|
627
|
-
export
|
|
628
|
-
version: number;
|
|
629
|
-
}
|
|
630
|
-
export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
|
|
517
|
+
export type InitializedEvent = TypedEvent<[number], { version: number }>;
|
|
631
518
|
|
|
632
519
|
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
633
520
|
|
|
634
|
-
export interface NonUBIMintedEventObject {
|
|
635
|
-
distributionHelper: string;
|
|
636
|
-
amountMinted: BigNumber;
|
|
637
|
-
distributionSucceeded: boolean;
|
|
638
|
-
}
|
|
639
521
|
export type NonUBIMintedEvent = TypedEvent<
|
|
640
522
|
[string, BigNumber, boolean],
|
|
641
|
-
|
|
523
|
+
{
|
|
524
|
+
distributionHelper: string;
|
|
525
|
+
amountMinted: BigNumber;
|
|
526
|
+
distributionSucceeded: boolean;
|
|
527
|
+
}
|
|
642
528
|
>;
|
|
643
529
|
|
|
644
530
|
export type NonUBIMintedEventFilter = TypedEventFilter<NonUBIMintedEvent>;
|
|
645
531
|
|
|
646
|
-
export
|
|
647
|
-
account: string;
|
|
648
|
-
}
|
|
649
|
-
export type PausedEvent = TypedEvent<[string], PausedEventObject>;
|
|
532
|
+
export type PausedEvent = TypedEvent<[string], { account: string }>;
|
|
650
533
|
|
|
651
534
|
export type PausedEventFilter = TypedEventFilter<PausedEvent>;
|
|
652
535
|
|
|
653
|
-
export interface RoleAdminChangedEventObject {
|
|
654
|
-
role: string;
|
|
655
|
-
previousAdminRole: string;
|
|
656
|
-
newAdminRole: string;
|
|
657
|
-
}
|
|
658
536
|
export type RoleAdminChangedEvent = TypedEvent<
|
|
659
537
|
[string, string, string],
|
|
660
|
-
|
|
538
|
+
{ role: string; previousAdminRole: string; newAdminRole: string }
|
|
661
539
|
>;
|
|
662
540
|
|
|
663
541
|
export type RoleAdminChangedEventFilter =
|
|
664
542
|
TypedEventFilter<RoleAdminChangedEvent>;
|
|
665
543
|
|
|
666
|
-
export interface RoleGrantedEventObject {
|
|
667
|
-
role: string;
|
|
668
|
-
account: string;
|
|
669
|
-
sender: string;
|
|
670
|
-
}
|
|
671
544
|
export type RoleGrantedEvent = TypedEvent<
|
|
672
545
|
[string, string, string],
|
|
673
|
-
|
|
546
|
+
{ role: string; account: string; sender: string }
|
|
674
547
|
>;
|
|
675
548
|
|
|
676
549
|
export type RoleGrantedEventFilter = TypedEventFilter<RoleGrantedEvent>;
|
|
677
550
|
|
|
678
|
-
export interface RoleRevokedEventObject {
|
|
679
|
-
role: string;
|
|
680
|
-
account: string;
|
|
681
|
-
sender: string;
|
|
682
|
-
}
|
|
683
551
|
export type RoleRevokedEvent = TypedEvent<
|
|
684
552
|
[string, string, string],
|
|
685
|
-
|
|
553
|
+
{ role: string; account: string; sender: string }
|
|
686
554
|
>;
|
|
687
555
|
|
|
688
556
|
export type RoleRevokedEventFilter = TypedEventFilter<RoleRevokedEvent>;
|
|
689
557
|
|
|
690
|
-
export interface TokenPurchasedEventObject {
|
|
691
|
-
caller: string;
|
|
692
|
-
inputToken: string;
|
|
693
|
-
inputAmount: BigNumber;
|
|
694
|
-
actualReturn: BigNumber;
|
|
695
|
-
receiverAddress: string;
|
|
696
|
-
}
|
|
697
558
|
export type TokenPurchasedEvent = TypedEvent<
|
|
698
559
|
[string, string, BigNumber, BigNumber, string],
|
|
699
|
-
|
|
560
|
+
{
|
|
561
|
+
caller: string;
|
|
562
|
+
inputToken: string;
|
|
563
|
+
inputAmount: BigNumber;
|
|
564
|
+
actualReturn: BigNumber;
|
|
565
|
+
receiverAddress: string;
|
|
566
|
+
}
|
|
700
567
|
>;
|
|
701
568
|
|
|
702
569
|
export type TokenPurchasedEventFilter = TypedEventFilter<TokenPurchasedEvent>;
|
|
703
570
|
|
|
704
|
-
export interface TokenSoldEventObject {
|
|
705
|
-
caller: string;
|
|
706
|
-
outputToken: string;
|
|
707
|
-
gdAmount: BigNumber;
|
|
708
|
-
contributionAmount: BigNumber;
|
|
709
|
-
actualReturn: BigNumber;
|
|
710
|
-
receiverAddress: string;
|
|
711
|
-
}
|
|
712
571
|
export type TokenSoldEvent = TypedEvent<
|
|
713
572
|
[string, string, BigNumber, BigNumber, BigNumber, string],
|
|
714
|
-
|
|
573
|
+
{
|
|
574
|
+
caller: string;
|
|
575
|
+
outputToken: string;
|
|
576
|
+
gdAmount: BigNumber;
|
|
577
|
+
contributionAmount: BigNumber;
|
|
578
|
+
actualReturn: BigNumber;
|
|
579
|
+
receiverAddress: string;
|
|
580
|
+
}
|
|
715
581
|
>;
|
|
716
582
|
|
|
717
583
|
export type TokenSoldEventFilter = TypedEventFilter<TokenSoldEvent>;
|
|
718
584
|
|
|
719
|
-
export interface TransferEventObject {
|
|
720
|
-
from: string;
|
|
721
|
-
to: string;
|
|
722
|
-
value: BigNumber;
|
|
723
|
-
}
|
|
724
585
|
export type TransferEvent = TypedEvent<
|
|
725
586
|
[string, string, BigNumber],
|
|
726
|
-
|
|
587
|
+
{ from: string; to: string; value: BigNumber }
|
|
727
588
|
>;
|
|
728
589
|
|
|
729
590
|
export type TransferEventFilter = TypedEventFilter<TransferEvent>;
|
|
730
591
|
|
|
731
|
-
export interface UBIMintedEventObject {
|
|
732
|
-
day: BigNumber;
|
|
733
|
-
interestToken: string;
|
|
734
|
-
interestReceived: BigNumber;
|
|
735
|
-
gdInterestMinted: BigNumber;
|
|
736
|
-
gdExpansionMinted: BigNumber;
|
|
737
|
-
gdUbiTransferred: BigNumber;
|
|
738
|
-
}
|
|
739
592
|
export type UBIMintedEvent = TypedEvent<
|
|
740
593
|
[BigNumber, string, BigNumber, BigNumber, BigNumber, BigNumber],
|
|
741
|
-
|
|
594
|
+
{
|
|
595
|
+
day: BigNumber;
|
|
596
|
+
interestToken: string;
|
|
597
|
+
interestReceived: BigNumber;
|
|
598
|
+
gdInterestMinted: BigNumber;
|
|
599
|
+
gdExpansionMinted: BigNumber;
|
|
600
|
+
gdUbiTransferred: BigNumber;
|
|
601
|
+
}
|
|
742
602
|
>;
|
|
743
603
|
|
|
744
604
|
export type UBIMintedEventFilter = TypedEventFilter<UBIMintedEvent>;
|
|
745
605
|
|
|
746
|
-
export
|
|
747
|
-
account: string;
|
|
748
|
-
}
|
|
749
|
-
export type UnpausedEvent = TypedEvent<[string], UnpausedEventObject>;
|
|
606
|
+
export type UnpausedEvent = TypedEvent<[string], { account: string }>;
|
|
750
607
|
|
|
751
608
|
export type UnpausedEventFilter = TypedEventFilter<UnpausedEvent>;
|
|
752
609
|
|
|
753
|
-
export
|
|
754
|
-
implementation: string;
|
|
755
|
-
}
|
|
756
|
-
export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>;
|
|
610
|
+
export type UpgradedEvent = TypedEvent<[string], { implementation: string }>;
|
|
757
611
|
|
|
758
612
|
export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
|
|
759
613
|
|
|
760
|
-
export interface
|
|
614
|
+
export interface GoodReserveCDai extends BaseContract {
|
|
761
615
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
762
616
|
attach(addressOrName: string): this;
|
|
763
617
|
deployed(): Promise<this>;
|
|
764
618
|
|
|
765
|
-
interface:
|
|
619
|
+
interface: GoodReserveCDaiInterface;
|
|
766
620
|
|
|
767
621
|
queryFilter<TEvent extends TypedEvent>(
|
|
768
622
|
event: TypedEventFilter<TEvent>,
|
|
@@ -792,8 +646,6 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
792
646
|
|
|
793
647
|
RESERVE_MINTER_ROLE(overrides?: CallOverrides): Promise<[string]>;
|
|
794
648
|
|
|
795
|
-
aDaiAddress(overrides?: CallOverrides): Promise<[string]>;
|
|
796
|
-
|
|
797
649
|
allowance(
|
|
798
650
|
owner: string,
|
|
799
651
|
spender: string,
|
|
@@ -803,7 +655,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
803
655
|
approve(
|
|
804
656
|
spender: string,
|
|
805
657
|
amount: BigNumberish,
|
|
806
|
-
overrides?: Overrides & { from?: string }
|
|
658
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
807
659
|
): Promise<ContractTransaction>;
|
|
808
660
|
|
|
809
661
|
avatar(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -812,20 +664,20 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
812
664
|
|
|
813
665
|
burn(
|
|
814
666
|
amount: BigNumberish,
|
|
815
|
-
overrides?: Overrides & { from?: string }
|
|
667
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
816
668
|
): Promise<ContractTransaction>;
|
|
817
669
|
|
|
818
670
|
burnFrom(
|
|
819
671
|
account: string,
|
|
820
672
|
amount: BigNumberish,
|
|
821
|
-
overrides?: Overrides & { from?: string }
|
|
673
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
822
674
|
): Promise<ContractTransaction>;
|
|
823
675
|
|
|
824
676
|
buy(
|
|
825
677
|
_tokenAmount: BigNumberish,
|
|
826
678
|
_minReturn: BigNumberish,
|
|
827
679
|
_targetAddress: string,
|
|
828
|
-
overrides?: Overrides & { from?: string }
|
|
680
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
829
681
|
): Promise<ContractTransaction>;
|
|
830
682
|
|
|
831
683
|
cDaiAddress(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -834,9 +686,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
834
686
|
|
|
835
687
|
currentPrice(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
836
688
|
|
|
837
|
-
currentPriceDAI(
|
|
838
|
-
overrides?: CallOverrides
|
|
839
|
-
): Promise<[BigNumber] & { price: BigNumber }>;
|
|
689
|
+
currentPriceDAI(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
840
690
|
|
|
841
691
|
daiAddress(overrides?: CallOverrides): Promise<[string]>;
|
|
842
692
|
|
|
@@ -847,7 +697,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
847
697
|
decreaseAllowance(
|
|
848
698
|
spender: string,
|
|
849
699
|
subtractedValue: BigNumberish,
|
|
850
|
-
overrides?: Overrides & { from?: string }
|
|
700
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
851
701
|
): Promise<ContractTransaction>;
|
|
852
702
|
|
|
853
703
|
discountDisabled(overrides?: CallOverrides): Promise<[boolean]>;
|
|
@@ -855,7 +705,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
855
705
|
distributionHelper(overrides?: CallOverrides): Promise<[string]>;
|
|
856
706
|
|
|
857
707
|
end(
|
|
858
|
-
overrides?: Overrides & { from?: string }
|
|
708
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
859
709
|
): Promise<ContractTransaction>;
|
|
860
710
|
|
|
861
711
|
gdxAirdrop(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -880,7 +730,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
880
730
|
grantRole(
|
|
881
731
|
role: BytesLike,
|
|
882
732
|
account: string,
|
|
883
|
-
overrides?: Overrides & { from?: string }
|
|
733
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
884
734
|
): Promise<ContractTransaction>;
|
|
885
735
|
|
|
886
736
|
hasRole(
|
|
@@ -892,19 +742,19 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
892
742
|
increaseAllowance(
|
|
893
743
|
spender: string,
|
|
894
744
|
addedValue: BigNumberish,
|
|
895
|
-
overrides?: Overrides & { from?: string }
|
|
745
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
896
746
|
): Promise<ContractTransaction>;
|
|
897
747
|
|
|
898
748
|
"initialize(string,string)"(
|
|
899
749
|
name: string,
|
|
900
750
|
symbol: string,
|
|
901
|
-
overrides?: Overrides & { from?: string }
|
|
751
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
902
752
|
): Promise<ContractTransaction>;
|
|
903
753
|
|
|
904
754
|
"initialize(address,bytes32)"(
|
|
905
755
|
_ns: string,
|
|
906
756
|
_gdxAirdrop: BytesLike,
|
|
907
|
-
overrides?: Overrides & { from?: string }
|
|
757
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
908
758
|
): Promise<ContractTransaction>;
|
|
909
759
|
|
|
910
760
|
isClaimedGDX(arg0: string, overrides?: CallOverrides): Promise<[boolean]>;
|
|
@@ -914,21 +764,21 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
914
764
|
mint(
|
|
915
765
|
to: string,
|
|
916
766
|
amount: BigNumberish,
|
|
917
|
-
overrides?: Overrides & { from?: string }
|
|
767
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
918
768
|
): Promise<ContractTransaction>;
|
|
919
769
|
|
|
920
770
|
mintRewardFromRR(
|
|
921
771
|
_token: string,
|
|
922
772
|
_to: string,
|
|
923
773
|
_amount: BigNumberish,
|
|
924
|
-
overrides?: Overrides & { from?: string }
|
|
774
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
925
775
|
): Promise<ContractTransaction>;
|
|
926
776
|
|
|
927
777
|
mintUBI(
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
overrides?: Overrides & { from?: string }
|
|
778
|
+
_daiToConvert: BigNumberish,
|
|
779
|
+
_startingCDAIBalance: BigNumberish,
|
|
780
|
+
_interestToken: string,
|
|
781
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
932
782
|
): Promise<ContractTransaction>;
|
|
933
783
|
|
|
934
784
|
name(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -938,7 +788,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
938
788
|
nativeToken(overrides?: CallOverrides): Promise<[string]>;
|
|
939
789
|
|
|
940
790
|
pause(
|
|
941
|
-
overrides?: Overrides & { from?: string }
|
|
791
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
942
792
|
): Promise<ContractTransaction>;
|
|
943
793
|
|
|
944
794
|
paused(overrides?: CallOverrides): Promise<[boolean]>;
|
|
@@ -954,19 +804,19 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
954
804
|
|
|
955
805
|
recover(
|
|
956
806
|
_token: string,
|
|
957
|
-
overrides?: Overrides & { from?: string }
|
|
807
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
958
808
|
): Promise<ContractTransaction>;
|
|
959
809
|
|
|
960
810
|
renounceRole(
|
|
961
811
|
role: BytesLike,
|
|
962
812
|
account: string,
|
|
963
|
-
overrides?: Overrides & { from?: string }
|
|
813
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
964
814
|
): Promise<ContractTransaction>;
|
|
965
815
|
|
|
966
816
|
revokeRole(
|
|
967
817
|
role: BytesLike,
|
|
968
818
|
account: string,
|
|
969
|
-
overrides?: Overrides & { from?: string }
|
|
819
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
970
820
|
): Promise<ContractTransaction>;
|
|
971
821
|
|
|
972
822
|
sell(
|
|
@@ -974,28 +824,28 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
974
824
|
_minReturn: BigNumberish,
|
|
975
825
|
_target: string,
|
|
976
826
|
_seller: string,
|
|
977
|
-
overrides?: Overrides & { from?: string }
|
|
827
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
978
828
|
): Promise<ContractTransaction>;
|
|
979
829
|
|
|
980
830
|
setAddresses(
|
|
981
|
-
overrides?: Overrides & { from?: string }
|
|
831
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
982
832
|
): Promise<ContractTransaction>;
|
|
983
833
|
|
|
984
834
|
setDistributionHelper(
|
|
985
835
|
_helper: string,
|
|
986
|
-
overrides?: Overrides & { from?: string }
|
|
836
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
987
837
|
): Promise<ContractTransaction>;
|
|
988
838
|
|
|
989
839
|
setGDXDisabled(
|
|
990
840
|
_gdxDisabled: boolean,
|
|
991
841
|
_discountDisabled: boolean,
|
|
992
|
-
overrides?: Overrides & { from?: string }
|
|
842
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
993
843
|
): Promise<ContractTransaction>;
|
|
994
844
|
|
|
995
845
|
setReserveRatioDailyExpansion(
|
|
996
846
|
_nom: BigNumberish,
|
|
997
847
|
_denom: BigNumberish,
|
|
998
|
-
overrides?: Overrides & { from?: string }
|
|
848
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
999
849
|
): Promise<ContractTransaction>;
|
|
1000
850
|
|
|
1001
851
|
supportsInterface(
|
|
@@ -1010,33 +860,33 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1010
860
|
transfer(
|
|
1011
861
|
to: string,
|
|
1012
862
|
amount: BigNumberish,
|
|
1013
|
-
overrides?: Overrides & { from?: string }
|
|
863
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1014
864
|
): Promise<ContractTransaction>;
|
|
1015
865
|
|
|
1016
866
|
transferFrom(
|
|
1017
867
|
from: string,
|
|
1018
868
|
to: string,
|
|
1019
869
|
amount: BigNumberish,
|
|
1020
|
-
overrides?: Overrides & { from?: string }
|
|
870
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1021
871
|
): Promise<ContractTransaction>;
|
|
1022
872
|
|
|
1023
873
|
unpause(
|
|
1024
|
-
overrides?: Overrides & { from?: string }
|
|
874
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1025
875
|
): Promise<ContractTransaction>;
|
|
1026
876
|
|
|
1027
877
|
updateAvatar(
|
|
1028
|
-
overrides?: Overrides & { from?: string }
|
|
878
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1029
879
|
): Promise<ContractTransaction>;
|
|
1030
880
|
|
|
1031
881
|
upgradeTo(
|
|
1032
882
|
newImplementation: string,
|
|
1033
|
-
overrides?: Overrides & { from?: string }
|
|
883
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1034
884
|
): Promise<ContractTransaction>;
|
|
1035
885
|
|
|
1036
886
|
upgradeToAndCall(
|
|
1037
887
|
newImplementation: string,
|
|
1038
888
|
data: BytesLike,
|
|
1039
|
-
overrides?: PayableOverrides & { from?: string }
|
|
889
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1040
890
|
): Promise<ContractTransaction>;
|
|
1041
891
|
|
|
1042
892
|
when(overrides?: CallOverrides): Promise<[number]>;
|
|
@@ -1050,8 +900,6 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1050
900
|
|
|
1051
901
|
RESERVE_MINTER_ROLE(overrides?: CallOverrides): Promise<string>;
|
|
1052
902
|
|
|
1053
|
-
aDaiAddress(overrides?: CallOverrides): Promise<string>;
|
|
1054
|
-
|
|
1055
903
|
allowance(
|
|
1056
904
|
owner: string,
|
|
1057
905
|
spender: string,
|
|
@@ -1061,7 +909,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1061
909
|
approve(
|
|
1062
910
|
spender: string,
|
|
1063
911
|
amount: BigNumberish,
|
|
1064
|
-
overrides?: Overrides & { from?: string }
|
|
912
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1065
913
|
): Promise<ContractTransaction>;
|
|
1066
914
|
|
|
1067
915
|
avatar(overrides?: CallOverrides): Promise<string>;
|
|
@@ -1070,20 +918,20 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1070
918
|
|
|
1071
919
|
burn(
|
|
1072
920
|
amount: BigNumberish,
|
|
1073
|
-
overrides?: Overrides & { from?: string }
|
|
921
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1074
922
|
): Promise<ContractTransaction>;
|
|
1075
923
|
|
|
1076
924
|
burnFrom(
|
|
1077
925
|
account: string,
|
|
1078
926
|
amount: BigNumberish,
|
|
1079
|
-
overrides?: Overrides & { from?: string }
|
|
927
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1080
928
|
): Promise<ContractTransaction>;
|
|
1081
929
|
|
|
1082
930
|
buy(
|
|
1083
931
|
_tokenAmount: BigNumberish,
|
|
1084
932
|
_minReturn: BigNumberish,
|
|
1085
933
|
_targetAddress: string,
|
|
1086
|
-
overrides?: Overrides & { from?: string }
|
|
934
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1087
935
|
): Promise<ContractTransaction>;
|
|
1088
936
|
|
|
1089
937
|
cDaiAddress(overrides?: CallOverrides): Promise<string>;
|
|
@@ -1103,14 +951,16 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1103
951
|
decreaseAllowance(
|
|
1104
952
|
spender: string,
|
|
1105
953
|
subtractedValue: BigNumberish,
|
|
1106
|
-
overrides?: Overrides & { from?: string }
|
|
954
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1107
955
|
): Promise<ContractTransaction>;
|
|
1108
956
|
|
|
1109
957
|
discountDisabled(overrides?: CallOverrides): Promise<boolean>;
|
|
1110
958
|
|
|
1111
959
|
distributionHelper(overrides?: CallOverrides): Promise<string>;
|
|
1112
960
|
|
|
1113
|
-
end(
|
|
961
|
+
end(
|
|
962
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
963
|
+
): Promise<ContractTransaction>;
|
|
1114
964
|
|
|
1115
965
|
gdxAirdrop(overrides?: CallOverrides): Promise<string>;
|
|
1116
966
|
|
|
@@ -1134,7 +984,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1134
984
|
grantRole(
|
|
1135
985
|
role: BytesLike,
|
|
1136
986
|
account: string,
|
|
1137
|
-
overrides?: Overrides & { from?: string }
|
|
987
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1138
988
|
): Promise<ContractTransaction>;
|
|
1139
989
|
|
|
1140
990
|
hasRole(
|
|
@@ -1146,19 +996,19 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1146
996
|
increaseAllowance(
|
|
1147
997
|
spender: string,
|
|
1148
998
|
addedValue: BigNumberish,
|
|
1149
|
-
overrides?: Overrides & { from?: string }
|
|
999
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1150
1000
|
): Promise<ContractTransaction>;
|
|
1151
1001
|
|
|
1152
1002
|
"initialize(string,string)"(
|
|
1153
1003
|
name: string,
|
|
1154
1004
|
symbol: string,
|
|
1155
|
-
overrides?: Overrides & { from?: string }
|
|
1005
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1156
1006
|
): Promise<ContractTransaction>;
|
|
1157
1007
|
|
|
1158
1008
|
"initialize(address,bytes32)"(
|
|
1159
1009
|
_ns: string,
|
|
1160
1010
|
_gdxAirdrop: BytesLike,
|
|
1161
|
-
overrides?: Overrides & { from?: string }
|
|
1011
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1162
1012
|
): Promise<ContractTransaction>;
|
|
1163
1013
|
|
|
1164
1014
|
isClaimedGDX(arg0: string, overrides?: CallOverrides): Promise<boolean>;
|
|
@@ -1168,21 +1018,21 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1168
1018
|
mint(
|
|
1169
1019
|
to: string,
|
|
1170
1020
|
amount: BigNumberish,
|
|
1171
|
-
overrides?: Overrides & { from?: string }
|
|
1021
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1172
1022
|
): Promise<ContractTransaction>;
|
|
1173
1023
|
|
|
1174
1024
|
mintRewardFromRR(
|
|
1175
1025
|
_token: string,
|
|
1176
1026
|
_to: string,
|
|
1177
1027
|
_amount: BigNumberish,
|
|
1178
|
-
overrides?: Overrides & { from?: string }
|
|
1028
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1179
1029
|
): Promise<ContractTransaction>;
|
|
1180
1030
|
|
|
1181
1031
|
mintUBI(
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
overrides?: Overrides & { from?: string }
|
|
1032
|
+
_daiToConvert: BigNumberish,
|
|
1033
|
+
_startingCDAIBalance: BigNumberish,
|
|
1034
|
+
_interestToken: string,
|
|
1035
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1186
1036
|
): Promise<ContractTransaction>;
|
|
1187
1037
|
|
|
1188
1038
|
name(overrides?: CallOverrides): Promise<string>;
|
|
@@ -1192,7 +1042,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1192
1042
|
nativeToken(overrides?: CallOverrides): Promise<string>;
|
|
1193
1043
|
|
|
1194
1044
|
pause(
|
|
1195
|
-
overrides?: Overrides & { from?: string }
|
|
1045
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1196
1046
|
): Promise<ContractTransaction>;
|
|
1197
1047
|
|
|
1198
1048
|
paused(overrides?: CallOverrides): Promise<boolean>;
|
|
@@ -1208,19 +1058,19 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1208
1058
|
|
|
1209
1059
|
recover(
|
|
1210
1060
|
_token: string,
|
|
1211
|
-
overrides?: Overrides & { from?: string }
|
|
1061
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1212
1062
|
): Promise<ContractTransaction>;
|
|
1213
1063
|
|
|
1214
1064
|
renounceRole(
|
|
1215
1065
|
role: BytesLike,
|
|
1216
1066
|
account: string,
|
|
1217
|
-
overrides?: Overrides & { from?: string }
|
|
1067
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1218
1068
|
): Promise<ContractTransaction>;
|
|
1219
1069
|
|
|
1220
1070
|
revokeRole(
|
|
1221
1071
|
role: BytesLike,
|
|
1222
1072
|
account: string,
|
|
1223
|
-
overrides?: Overrides & { from?: string }
|
|
1073
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1224
1074
|
): Promise<ContractTransaction>;
|
|
1225
1075
|
|
|
1226
1076
|
sell(
|
|
@@ -1228,28 +1078,28 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1228
1078
|
_minReturn: BigNumberish,
|
|
1229
1079
|
_target: string,
|
|
1230
1080
|
_seller: string,
|
|
1231
|
-
overrides?: Overrides & { from?: string }
|
|
1081
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1232
1082
|
): Promise<ContractTransaction>;
|
|
1233
1083
|
|
|
1234
1084
|
setAddresses(
|
|
1235
|
-
overrides?: Overrides & { from?: string }
|
|
1085
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1236
1086
|
): Promise<ContractTransaction>;
|
|
1237
1087
|
|
|
1238
1088
|
setDistributionHelper(
|
|
1239
1089
|
_helper: string,
|
|
1240
|
-
overrides?: Overrides & { from?: string }
|
|
1090
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1241
1091
|
): Promise<ContractTransaction>;
|
|
1242
1092
|
|
|
1243
1093
|
setGDXDisabled(
|
|
1244
1094
|
_gdxDisabled: boolean,
|
|
1245
1095
|
_discountDisabled: boolean,
|
|
1246
|
-
overrides?: Overrides & { from?: string }
|
|
1096
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1247
1097
|
): Promise<ContractTransaction>;
|
|
1248
1098
|
|
|
1249
1099
|
setReserveRatioDailyExpansion(
|
|
1250
1100
|
_nom: BigNumberish,
|
|
1251
1101
|
_denom: BigNumberish,
|
|
1252
|
-
overrides?: Overrides & { from?: string }
|
|
1102
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1253
1103
|
): Promise<ContractTransaction>;
|
|
1254
1104
|
|
|
1255
1105
|
supportsInterface(
|
|
@@ -1264,33 +1114,33 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1264
1114
|
transfer(
|
|
1265
1115
|
to: string,
|
|
1266
1116
|
amount: BigNumberish,
|
|
1267
|
-
overrides?: Overrides & { from?: string }
|
|
1117
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1268
1118
|
): Promise<ContractTransaction>;
|
|
1269
1119
|
|
|
1270
1120
|
transferFrom(
|
|
1271
1121
|
from: string,
|
|
1272
1122
|
to: string,
|
|
1273
1123
|
amount: BigNumberish,
|
|
1274
|
-
overrides?: Overrides & { from?: string }
|
|
1124
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1275
1125
|
): Promise<ContractTransaction>;
|
|
1276
1126
|
|
|
1277
1127
|
unpause(
|
|
1278
|
-
overrides?: Overrides & { from?: string }
|
|
1128
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1279
1129
|
): Promise<ContractTransaction>;
|
|
1280
1130
|
|
|
1281
1131
|
updateAvatar(
|
|
1282
|
-
overrides?: Overrides & { from?: string }
|
|
1132
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1283
1133
|
): Promise<ContractTransaction>;
|
|
1284
1134
|
|
|
1285
1135
|
upgradeTo(
|
|
1286
1136
|
newImplementation: string,
|
|
1287
|
-
overrides?: Overrides & { from?: string }
|
|
1137
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1288
1138
|
): Promise<ContractTransaction>;
|
|
1289
1139
|
|
|
1290
1140
|
upgradeToAndCall(
|
|
1291
1141
|
newImplementation: string,
|
|
1292
1142
|
data: BytesLike,
|
|
1293
|
-
overrides?: PayableOverrides & { from?: string }
|
|
1143
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1294
1144
|
): Promise<ContractTransaction>;
|
|
1295
1145
|
|
|
1296
1146
|
when(overrides?: CallOverrides): Promise<number>;
|
|
@@ -1304,8 +1154,6 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1304
1154
|
|
|
1305
1155
|
RESERVE_MINTER_ROLE(overrides?: CallOverrides): Promise<string>;
|
|
1306
1156
|
|
|
1307
|
-
aDaiAddress(overrides?: CallOverrides): Promise<string>;
|
|
1308
|
-
|
|
1309
1157
|
allowance(
|
|
1310
1158
|
owner: string,
|
|
1311
1159
|
spender: string,
|
|
@@ -1430,9 +1278,9 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1430
1278
|
): Promise<void>;
|
|
1431
1279
|
|
|
1432
1280
|
mintUBI(
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1281
|
+
_daiToConvert: BigNumberish,
|
|
1282
|
+
_startingCDAIBalance: BigNumberish,
|
|
1283
|
+
_interestToken: string,
|
|
1436
1284
|
overrides?: CallOverrides
|
|
1437
1285
|
): Promise<[BigNumber, BigNumber]>;
|
|
1438
1286
|
|
|
@@ -1697,8 +1545,6 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1697
1545
|
|
|
1698
1546
|
RESERVE_MINTER_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1699
1547
|
|
|
1700
|
-
aDaiAddress(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1701
|
-
|
|
1702
1548
|
allowance(
|
|
1703
1549
|
owner: string,
|
|
1704
1550
|
spender: string,
|
|
@@ -1708,7 +1554,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1708
1554
|
approve(
|
|
1709
1555
|
spender: string,
|
|
1710
1556
|
amount: BigNumberish,
|
|
1711
|
-
overrides?: Overrides & { from?: string }
|
|
1557
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1712
1558
|
): Promise<BigNumber>;
|
|
1713
1559
|
|
|
1714
1560
|
avatar(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1717,20 +1563,20 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1717
1563
|
|
|
1718
1564
|
burn(
|
|
1719
1565
|
amount: BigNumberish,
|
|
1720
|
-
overrides?: Overrides & { from?: string }
|
|
1566
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1721
1567
|
): Promise<BigNumber>;
|
|
1722
1568
|
|
|
1723
1569
|
burnFrom(
|
|
1724
1570
|
account: string,
|
|
1725
1571
|
amount: BigNumberish,
|
|
1726
|
-
overrides?: Overrides & { from?: string }
|
|
1572
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1727
1573
|
): Promise<BigNumber>;
|
|
1728
1574
|
|
|
1729
1575
|
buy(
|
|
1730
1576
|
_tokenAmount: BigNumberish,
|
|
1731
1577
|
_minReturn: BigNumberish,
|
|
1732
1578
|
_targetAddress: string,
|
|
1733
|
-
overrides?: Overrides & { from?: string }
|
|
1579
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1734
1580
|
): Promise<BigNumber>;
|
|
1735
1581
|
|
|
1736
1582
|
cDaiAddress(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1750,14 +1596,16 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1750
1596
|
decreaseAllowance(
|
|
1751
1597
|
spender: string,
|
|
1752
1598
|
subtractedValue: BigNumberish,
|
|
1753
|
-
overrides?: Overrides & { from?: string }
|
|
1599
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1754
1600
|
): Promise<BigNumber>;
|
|
1755
1601
|
|
|
1756
1602
|
discountDisabled(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1757
1603
|
|
|
1758
1604
|
distributionHelper(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1759
1605
|
|
|
1760
|
-
end(
|
|
1606
|
+
end(
|
|
1607
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1608
|
+
): Promise<BigNumber>;
|
|
1761
1609
|
|
|
1762
1610
|
gdxAirdrop(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1763
1611
|
|
|
@@ -1784,7 +1632,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1784
1632
|
grantRole(
|
|
1785
1633
|
role: BytesLike,
|
|
1786
1634
|
account: string,
|
|
1787
|
-
overrides?: Overrides & { from?: string }
|
|
1635
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1788
1636
|
): Promise<BigNumber>;
|
|
1789
1637
|
|
|
1790
1638
|
hasRole(
|
|
@@ -1796,19 +1644,19 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1796
1644
|
increaseAllowance(
|
|
1797
1645
|
spender: string,
|
|
1798
1646
|
addedValue: BigNumberish,
|
|
1799
|
-
overrides?: Overrides & { from?: string }
|
|
1647
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1800
1648
|
): Promise<BigNumber>;
|
|
1801
1649
|
|
|
1802
1650
|
"initialize(string,string)"(
|
|
1803
1651
|
name: string,
|
|
1804
1652
|
symbol: string,
|
|
1805
|
-
overrides?: Overrides & { from?: string }
|
|
1653
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1806
1654
|
): Promise<BigNumber>;
|
|
1807
1655
|
|
|
1808
1656
|
"initialize(address,bytes32)"(
|
|
1809
1657
|
_ns: string,
|
|
1810
1658
|
_gdxAirdrop: BytesLike,
|
|
1811
|
-
overrides?: Overrides & { from?: string }
|
|
1659
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1812
1660
|
): Promise<BigNumber>;
|
|
1813
1661
|
|
|
1814
1662
|
isClaimedGDX(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1818,21 +1666,21 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1818
1666
|
mint(
|
|
1819
1667
|
to: string,
|
|
1820
1668
|
amount: BigNumberish,
|
|
1821
|
-
overrides?: Overrides & { from?: string }
|
|
1669
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1822
1670
|
): Promise<BigNumber>;
|
|
1823
1671
|
|
|
1824
1672
|
mintRewardFromRR(
|
|
1825
1673
|
_token: string,
|
|
1826
1674
|
_to: string,
|
|
1827
1675
|
_amount: BigNumberish,
|
|
1828
|
-
overrides?: Overrides & { from?: string }
|
|
1676
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1829
1677
|
): Promise<BigNumber>;
|
|
1830
1678
|
|
|
1831
1679
|
mintUBI(
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
overrides?: Overrides & { from?: string }
|
|
1680
|
+
_daiToConvert: BigNumberish,
|
|
1681
|
+
_startingCDAIBalance: BigNumberish,
|
|
1682
|
+
_interestToken: string,
|
|
1683
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1836
1684
|
): Promise<BigNumber>;
|
|
1837
1685
|
|
|
1838
1686
|
name(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1841,7 +1689,9 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1841
1689
|
|
|
1842
1690
|
nativeToken(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1843
1691
|
|
|
1844
|
-
pause(
|
|
1692
|
+
pause(
|
|
1693
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1694
|
+
): Promise<BigNumber>;
|
|
1845
1695
|
|
|
1846
1696
|
paused(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1847
1697
|
|
|
@@ -1856,19 +1706,19 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1856
1706
|
|
|
1857
1707
|
recover(
|
|
1858
1708
|
_token: string,
|
|
1859
|
-
overrides?: Overrides & { from?: string }
|
|
1709
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1860
1710
|
): Promise<BigNumber>;
|
|
1861
1711
|
|
|
1862
1712
|
renounceRole(
|
|
1863
1713
|
role: BytesLike,
|
|
1864
1714
|
account: string,
|
|
1865
|
-
overrides?: Overrides & { from?: string }
|
|
1715
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1866
1716
|
): Promise<BigNumber>;
|
|
1867
1717
|
|
|
1868
1718
|
revokeRole(
|
|
1869
1719
|
role: BytesLike,
|
|
1870
1720
|
account: string,
|
|
1871
|
-
overrides?: Overrides & { from?: string }
|
|
1721
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1872
1722
|
): Promise<BigNumber>;
|
|
1873
1723
|
|
|
1874
1724
|
sell(
|
|
@@ -1876,26 +1726,28 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1876
1726
|
_minReturn: BigNumberish,
|
|
1877
1727
|
_target: string,
|
|
1878
1728
|
_seller: string,
|
|
1879
|
-
overrides?: Overrides & { from?: string }
|
|
1729
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1880
1730
|
): Promise<BigNumber>;
|
|
1881
1731
|
|
|
1882
|
-
setAddresses(
|
|
1732
|
+
setAddresses(
|
|
1733
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1734
|
+
): Promise<BigNumber>;
|
|
1883
1735
|
|
|
1884
1736
|
setDistributionHelper(
|
|
1885
1737
|
_helper: string,
|
|
1886
|
-
overrides?: Overrides & { from?: string }
|
|
1738
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1887
1739
|
): Promise<BigNumber>;
|
|
1888
1740
|
|
|
1889
1741
|
setGDXDisabled(
|
|
1890
1742
|
_gdxDisabled: boolean,
|
|
1891
1743
|
_discountDisabled: boolean,
|
|
1892
|
-
overrides?: Overrides & { from?: string }
|
|
1744
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1893
1745
|
): Promise<BigNumber>;
|
|
1894
1746
|
|
|
1895
1747
|
setReserveRatioDailyExpansion(
|
|
1896
1748
|
_nom: BigNumberish,
|
|
1897
1749
|
_denom: BigNumberish,
|
|
1898
|
-
overrides?: Overrides & { from?: string }
|
|
1750
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1899
1751
|
): Promise<BigNumber>;
|
|
1900
1752
|
|
|
1901
1753
|
supportsInterface(
|
|
@@ -1910,29 +1762,33 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1910
1762
|
transfer(
|
|
1911
1763
|
to: string,
|
|
1912
1764
|
amount: BigNumberish,
|
|
1913
|
-
overrides?: Overrides & { from?: string }
|
|
1765
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1914
1766
|
): Promise<BigNumber>;
|
|
1915
1767
|
|
|
1916
1768
|
transferFrom(
|
|
1917
1769
|
from: string,
|
|
1918
1770
|
to: string,
|
|
1919
1771
|
amount: BigNumberish,
|
|
1920
|
-
overrides?: Overrides & { from?: string }
|
|
1772
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1921
1773
|
): Promise<BigNumber>;
|
|
1922
1774
|
|
|
1923
|
-
unpause(
|
|
1775
|
+
unpause(
|
|
1776
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1777
|
+
): Promise<BigNumber>;
|
|
1924
1778
|
|
|
1925
|
-
updateAvatar(
|
|
1779
|
+
updateAvatar(
|
|
1780
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1781
|
+
): Promise<BigNumber>;
|
|
1926
1782
|
|
|
1927
1783
|
upgradeTo(
|
|
1928
1784
|
newImplementation: string,
|
|
1929
|
-
overrides?: Overrides & { from?: string }
|
|
1785
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1930
1786
|
): Promise<BigNumber>;
|
|
1931
1787
|
|
|
1932
1788
|
upgradeToAndCall(
|
|
1933
1789
|
newImplementation: string,
|
|
1934
1790
|
data: BytesLike,
|
|
1935
|
-
overrides?: PayableOverrides & { from?: string }
|
|
1791
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1936
1792
|
): Promise<BigNumber>;
|
|
1937
1793
|
|
|
1938
1794
|
when(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1951,8 +1807,6 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1951
1807
|
overrides?: CallOverrides
|
|
1952
1808
|
): Promise<PopulatedTransaction>;
|
|
1953
1809
|
|
|
1954
|
-
aDaiAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1955
|
-
|
|
1956
1810
|
allowance(
|
|
1957
1811
|
owner: string,
|
|
1958
1812
|
spender: string,
|
|
@@ -1962,7 +1816,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1962
1816
|
approve(
|
|
1963
1817
|
spender: string,
|
|
1964
1818
|
amount: BigNumberish,
|
|
1965
|
-
overrides?: Overrides & { from?: string }
|
|
1819
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1966
1820
|
): Promise<PopulatedTransaction>;
|
|
1967
1821
|
|
|
1968
1822
|
avatar(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1974,20 +1828,20 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
1974
1828
|
|
|
1975
1829
|
burn(
|
|
1976
1830
|
amount: BigNumberish,
|
|
1977
|
-
overrides?: Overrides & { from?: string }
|
|
1831
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1978
1832
|
): Promise<PopulatedTransaction>;
|
|
1979
1833
|
|
|
1980
1834
|
burnFrom(
|
|
1981
1835
|
account: string,
|
|
1982
1836
|
amount: BigNumberish,
|
|
1983
|
-
overrides?: Overrides & { from?: string }
|
|
1837
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1984
1838
|
): Promise<PopulatedTransaction>;
|
|
1985
1839
|
|
|
1986
1840
|
buy(
|
|
1987
1841
|
_tokenAmount: BigNumberish,
|
|
1988
1842
|
_minReturn: BigNumberish,
|
|
1989
1843
|
_targetAddress: string,
|
|
1990
|
-
overrides?: Overrides & { from?: string }
|
|
1844
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1991
1845
|
): Promise<PopulatedTransaction>;
|
|
1992
1846
|
|
|
1993
1847
|
cDaiAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -2007,7 +1861,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
2007
1861
|
decreaseAllowance(
|
|
2008
1862
|
spender: string,
|
|
2009
1863
|
subtractedValue: BigNumberish,
|
|
2010
|
-
overrides?: Overrides & { from?: string }
|
|
1864
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2011
1865
|
): Promise<PopulatedTransaction>;
|
|
2012
1866
|
|
|
2013
1867
|
discountDisabled(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -2017,7 +1871,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
2017
1871
|
): Promise<PopulatedTransaction>;
|
|
2018
1872
|
|
|
2019
1873
|
end(
|
|
2020
|
-
overrides?: Overrides & { from?: string }
|
|
1874
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2021
1875
|
): Promise<PopulatedTransaction>;
|
|
2022
1876
|
|
|
2023
1877
|
gdxAirdrop(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -2045,7 +1899,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
2045
1899
|
grantRole(
|
|
2046
1900
|
role: BytesLike,
|
|
2047
1901
|
account: string,
|
|
2048
|
-
overrides?: Overrides & { from?: string }
|
|
1902
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2049
1903
|
): Promise<PopulatedTransaction>;
|
|
2050
1904
|
|
|
2051
1905
|
hasRole(
|
|
@@ -2057,19 +1911,19 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
2057
1911
|
increaseAllowance(
|
|
2058
1912
|
spender: string,
|
|
2059
1913
|
addedValue: BigNumberish,
|
|
2060
|
-
overrides?: Overrides & { from?: string }
|
|
1914
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2061
1915
|
): Promise<PopulatedTransaction>;
|
|
2062
1916
|
|
|
2063
1917
|
"initialize(string,string)"(
|
|
2064
1918
|
name: string,
|
|
2065
1919
|
symbol: string,
|
|
2066
|
-
overrides?: Overrides & { from?: string }
|
|
1920
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2067
1921
|
): Promise<PopulatedTransaction>;
|
|
2068
1922
|
|
|
2069
1923
|
"initialize(address,bytes32)"(
|
|
2070
1924
|
_ns: string,
|
|
2071
1925
|
_gdxAirdrop: BytesLike,
|
|
2072
|
-
overrides?: Overrides & { from?: string }
|
|
1926
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2073
1927
|
): Promise<PopulatedTransaction>;
|
|
2074
1928
|
|
|
2075
1929
|
isClaimedGDX(
|
|
@@ -2082,21 +1936,21 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
2082
1936
|
mint(
|
|
2083
1937
|
to: string,
|
|
2084
1938
|
amount: BigNumberish,
|
|
2085
|
-
overrides?: Overrides & { from?: string }
|
|
1939
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2086
1940
|
): Promise<PopulatedTransaction>;
|
|
2087
1941
|
|
|
2088
1942
|
mintRewardFromRR(
|
|
2089
1943
|
_token: string,
|
|
2090
1944
|
_to: string,
|
|
2091
1945
|
_amount: BigNumberish,
|
|
2092
|
-
overrides?: Overrides & { from?: string }
|
|
1946
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2093
1947
|
): Promise<PopulatedTransaction>;
|
|
2094
1948
|
|
|
2095
1949
|
mintUBI(
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
overrides?: Overrides & { from?: string }
|
|
1950
|
+
_daiToConvert: BigNumberish,
|
|
1951
|
+
_startingCDAIBalance: BigNumberish,
|
|
1952
|
+
_interestToken: string,
|
|
1953
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2100
1954
|
): Promise<PopulatedTransaction>;
|
|
2101
1955
|
|
|
2102
1956
|
name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -2106,7 +1960,7 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
2106
1960
|
nativeToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2107
1961
|
|
|
2108
1962
|
pause(
|
|
2109
|
-
overrides?: Overrides & { from?: string }
|
|
1963
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2110
1964
|
): Promise<PopulatedTransaction>;
|
|
2111
1965
|
|
|
2112
1966
|
paused(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -2122,19 +1976,19 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
2122
1976
|
|
|
2123
1977
|
recover(
|
|
2124
1978
|
_token: string,
|
|
2125
|
-
overrides?: Overrides & { from?: string }
|
|
1979
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2126
1980
|
): Promise<PopulatedTransaction>;
|
|
2127
1981
|
|
|
2128
1982
|
renounceRole(
|
|
2129
1983
|
role: BytesLike,
|
|
2130
1984
|
account: string,
|
|
2131
|
-
overrides?: Overrides & { from?: string }
|
|
1985
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2132
1986
|
): Promise<PopulatedTransaction>;
|
|
2133
1987
|
|
|
2134
1988
|
revokeRole(
|
|
2135
1989
|
role: BytesLike,
|
|
2136
1990
|
account: string,
|
|
2137
|
-
overrides?: Overrides & { from?: string }
|
|
1991
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2138
1992
|
): Promise<PopulatedTransaction>;
|
|
2139
1993
|
|
|
2140
1994
|
sell(
|
|
@@ -2142,28 +1996,28 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
2142
1996
|
_minReturn: BigNumberish,
|
|
2143
1997
|
_target: string,
|
|
2144
1998
|
_seller: string,
|
|
2145
|
-
overrides?: Overrides & { from?: string }
|
|
1999
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2146
2000
|
): Promise<PopulatedTransaction>;
|
|
2147
2001
|
|
|
2148
2002
|
setAddresses(
|
|
2149
|
-
overrides?: Overrides & { from?: string }
|
|
2003
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2150
2004
|
): Promise<PopulatedTransaction>;
|
|
2151
2005
|
|
|
2152
2006
|
setDistributionHelper(
|
|
2153
2007
|
_helper: string,
|
|
2154
|
-
overrides?: Overrides & { from?: string }
|
|
2008
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2155
2009
|
): Promise<PopulatedTransaction>;
|
|
2156
2010
|
|
|
2157
2011
|
setGDXDisabled(
|
|
2158
2012
|
_gdxDisabled: boolean,
|
|
2159
2013
|
_discountDisabled: boolean,
|
|
2160
|
-
overrides?: Overrides & { from?: string }
|
|
2014
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2161
2015
|
): Promise<PopulatedTransaction>;
|
|
2162
2016
|
|
|
2163
2017
|
setReserveRatioDailyExpansion(
|
|
2164
2018
|
_nom: BigNumberish,
|
|
2165
2019
|
_denom: BigNumberish,
|
|
2166
|
-
overrides?: Overrides & { from?: string }
|
|
2020
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2167
2021
|
): Promise<PopulatedTransaction>;
|
|
2168
2022
|
|
|
2169
2023
|
supportsInterface(
|
|
@@ -2178,33 +2032,33 @@ export interface GoodReserveADai extends BaseContract {
|
|
|
2178
2032
|
transfer(
|
|
2179
2033
|
to: string,
|
|
2180
2034
|
amount: BigNumberish,
|
|
2181
|
-
overrides?: Overrides & { from?: string }
|
|
2035
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2182
2036
|
): Promise<PopulatedTransaction>;
|
|
2183
2037
|
|
|
2184
2038
|
transferFrom(
|
|
2185
2039
|
from: string,
|
|
2186
2040
|
to: string,
|
|
2187
2041
|
amount: BigNumberish,
|
|
2188
|
-
overrides?: Overrides & { from?: string }
|
|
2042
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2189
2043
|
): Promise<PopulatedTransaction>;
|
|
2190
2044
|
|
|
2191
2045
|
unpause(
|
|
2192
|
-
overrides?: Overrides & { from?: string }
|
|
2046
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2193
2047
|
): Promise<PopulatedTransaction>;
|
|
2194
2048
|
|
|
2195
2049
|
updateAvatar(
|
|
2196
|
-
overrides?: Overrides & { from?: string }
|
|
2050
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2197
2051
|
): Promise<PopulatedTransaction>;
|
|
2198
2052
|
|
|
2199
2053
|
upgradeTo(
|
|
2200
2054
|
newImplementation: string,
|
|
2201
|
-
overrides?: Overrides & { from?: string }
|
|
2055
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2202
2056
|
): Promise<PopulatedTransaction>;
|
|
2203
2057
|
|
|
2204
2058
|
upgradeToAndCall(
|
|
2205
2059
|
newImplementation: string,
|
|
2206
2060
|
data: BytesLike,
|
|
2207
|
-
overrides?: PayableOverrides & { from?: string }
|
|
2061
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
2208
2062
|
): Promise<PopulatedTransaction>;
|
|
2209
2063
|
|
|
2210
2064
|
when(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|