@gooddollar/goodprotocol 2.1.1 → 2.1.2
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/artifacts/abis/AdminWallet.min.json +1 -1
- package/artifacts/abis/AdminWalletFuse.min.json +1 -1
- package/artifacts/abis/Faucet.min.json +1 -1
- package/artifacts/abis/FuseFaucetV2.min.json +1 -1
- package/artifacts/abis/GenericDistributionHelper.min.json +1 -0
- package/artifacts/abis/GenericDistributionHelperTest.min.json +1 -0
- package/artifacts/abis/GenericDistributionHelperTestHelper.min.json +1 -0
- package/artifacts/abis/IBancorExchangeProvider.min.json +1 -1
- package/artifacts/abis/INonfungiblePositionManager.min.json +1 -0
- package/artifacts/abis/IUniswapV3Pool.min.json +1 -0
- package/artifacts/abis/IdentityV3.min.json +1 -1
- package/artifacts/abis/MentoExchange.min.json +1 -1
- package/artifacts/abis/UBISchemeV2.min.json +1 -1
- package/artifacts/abis/UpdateReserveRatioAfterXDC.min.json +1 -0
- 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/IUniswapV3.sol/INonfungiblePositionManager.dbg.json +4 -0
- package/artifacts/contracts/IUniswapV3.sol/INonfungiblePositionManager.json +102 -0
- package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.dbg.json +4 -0
- package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.json +106 -0
- 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/IBancorExchangeProvider.json +13 -0
- package/artifacts/contracts/MentoInterfaces.sol/IBroker.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExpansionController.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IMentoReserve.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/ITradingLimits.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.json +34 -2
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.json +34 -2
- 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/identity/IdentityV3.sol/IdentityV3.json +40 -2
- 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/GenericDistributionHelperTest.sol/GenericDistributionHelperTest.dbg.json +4 -0
- package/artifacts/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTest.json +931 -0
- package/artifacts/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTestHelper.dbg.json +4 -0
- package/artifacts/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTestHelper.json +957 -0
- 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/GenericDistributionHelper.sol/GenericDistributionHelper.dbg.json +4 -0
- package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.json +931 -0
- 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 +7 -2
- package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.dbg.json +1 -1
- package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.json +36 -2
- package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.json +36 -2
- 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/BulkWhitelist.sol/BulkWhitelist.json +2 -2
- 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/BuyFromReserveHelper.sol/BuyFromReserveHelper.json +2 -2
- 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/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.json +2 -2
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.json +2 -2
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.json +2 -2
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.dbg.json +1 -1
- package/artifacts/contracts/utils/UpdateReserveRatioAfterXDC.sol/MentoExchange.dbg.json +4 -0
- package/artifacts/contracts/utils/UpdateReserveRatioAfterXDC.sol/MentoExchange.json +24 -0
- package/artifacts/contracts/utils/UpdateReserveRatioAfterXDC.sol/UpdateReserveRatioAfterXDC.dbg.json +4 -0
- package/artifacts/contracts/utils/UpdateReserveRatioAfterXDC.sol/UpdateReserveRatioAfterXDC.json +50 -0
- package/contracts/identity/IdentityV3.sol +2 -0
- package/contracts/reserve/GenericDistributionHelper.sol +16 -2
- package/contracts/utils/AdminWallet.sol +27 -0
- package/contracts/utils/AdminWalletFuse.sol +27 -0
- package/contracts/utils/UpdateReserveRatioAfterXDC.sol +64 -0
- package/dist/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.json +1099 -0
- package/dist/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.json +2627 -0
- package/dist/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.json +32 -0
- package/dist/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.json +82 -0
- package/dist/test-sdk/deploySuperGoodDollar.d.ts +6 -0
- package/dist/test-sdk/deploySuperGoodDollar.js +46 -0
- package/dist/test-sdk/index.d.ts +1 -0
- package/dist/test-sdk/index.js +13 -0
- package/hardhat.config.ts +6 -12
- package/package.json +1 -1
- package/releases/deployment.json +3 -1
- package/scripts/bulkWhitelist.ts +31 -0
- package/scripts/multichain-deploy/helpers.ts +6 -1
- package/scripts/proposals/gip-25-xdc-deploy-reserve.ts +425 -0
- package/scripts/proposals/gip-25-xdc-upgrade-ubi.ts +303 -4
- package/types/{ERC1967Upgrade.ts → @openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts} +23 -21
- package/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +1 -0
- package/types/@uniswap/index.ts +2 -0
- package/types/@uniswap/v2-periphery/contracts/index.ts +5 -0
- package/types/@uniswap/v2-periphery/contracts/interfaces/IWETH.ts +159 -0
- package/types/@uniswap/v2-periphery/contracts/interfaces/index.ts +4 -0
- package/types/@uniswap/v2-periphery/index.ts +5 -0
- package/types/contracts/IQuoter.sol/IQuoterV2.ts +297 -0
- package/types/contracts/IQuoter.sol/index.ts +4 -0
- package/types/contracts/IUniswapV3.sol/INonfungiblePositionManager.ts +151 -0
- package/types/contracts/IUniswapV3.sol/IUniswapV3Factory.ts +155 -0
- package/types/contracts/IUniswapV3.sol/IUniswapV3Pool.ts +192 -0
- package/types/contracts/IUniswapV3.sol/index.ts +5 -0
- package/types/{IHasRouter.ts → contracts/Interfaces.sol/AToken.ts} +22 -24
- package/types/{IAaveIncentivesController.ts → contracts/Interfaces.sol/IAaveIncentivesControllerV3.ts} +48 -47
- package/types/{ILendingPool.ts → contracts/Interfaces.sol/ILendingPoolV3.ts} +89 -76
- package/types/contracts/MentoInterfaces.sol/IBancorExchangeProvider.ts +14 -0
- package/types/{Faucet.ts → contracts/fuseFaucet/Faucet copy.sol/DebugFaucet.ts } +354 -82
- package/types/contracts/fuseFaucet/Faucet copy.sol/index.ts +4 -0
- package/types/contracts/fuseFaucet/Faucet.ts +43 -0
- package/types/contracts/fuseFaucet/FuseFaucetV2.ts +43 -0
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor.ts +648 -0
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable.ts +843 -0
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +4 -0
- package/types/contracts/identity/IdentityV3.ts +46 -0
- package/types/contracts/index.ts +2 -0
- package/types/{DistributionHelper.ts → contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper.ts} +345 -351
- package/types/{DistributionHelperTestHelper.ts → contracts/mocks/GenericDistributionHelperTest.sol/CeloDistributionHelperTestHelper.ts} +426 -389
- package/types/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTest.ts +1305 -0
- package/types/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTestHelper.ts +1357 -0
- package/types/contracts/mocks/GenericDistributionHelperTest.sol/index.ts +5 -0
- package/types/contracts/mocks/index.ts +2 -0
- package/types/{DistributionHelperTest.ts → contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper.ts } +349 -361
- package/types/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +4 -0
- package/types/contracts/reserve/GenericDistributionHelper.ts +1304 -0
- package/types/{GoodReserveCDai.ts → contracts/reserve/GoodReserveADai.ts} +343 -197
- package/types/contracts/reserve/index.ts +1 -0
- package/types/{GoodAaveStakingV2.ts → contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2.ts} +177 -100
- package/types/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +4 -0
- package/types/{GoodDollar.ts → contracts/token/GoodDollar18.ts} +278 -140
- package/types/contracts/ubi/UBISchemeV2.ts +14 -3
- package/types/contracts/utils/AdminWallet.ts +45 -0
- package/types/contracts/utils/AdminWalletFuse.ts +45 -0
- package/types/{BuyGDClone.ts → contracts/utils/BuyGDClone.sol/BuyGDCloneV2.ts} +133 -52
- package/types/contracts/utils/BuyGDClone.sol/index.ts +0 -2
- package/types/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677.ts +108 -0
- package/types/{IBeacon.ts → contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange.ts} +22 -30
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.ts +161 -0
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +5 -0
- package/types/{BatUSDMockOracle.ts → contracts/utils/ReserveRestore.sol/MentoExchange.ts} +22 -30
- package/types/contracts/utils/ReserveRestore.sol/ReserveRestore.ts +112 -0
- package/types/contracts/utils/ReserveRestore.sol/index.ts +5 -0
- package/types/{IERC1822Proxiable.ts → contracts/utils/UpdateReserveRatioAfterXDC.sol/MentoExchange.ts} +22 -30
- package/types/contracts/utils/UpdateReserveRatioAfterXDC.sol/UpdateReserveRatioAfterXDC.ts +117 -0
- package/types/contracts/utils/UpdateReserveRatioAfterXDC.sol/index.ts +5 -0
- package/types/contracts/utils/UpdateReserveSettingsForXdc.sol/MentoExchange.ts +81 -0
- package/types/contracts/utils/UpdateReserveSettingsForXdc.sol/UpdateReserveRatioAfterXDC.ts +122 -0
- package/types/contracts/utils/UpdateReserveSettingsForXdc.sol/index.ts +5 -0
- package/types/contracts/utils/index.ts +4 -0
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +146 -0
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +1 -0
- package/types/factories/@uniswap/index.ts +1 -0
- package/types/factories/@uniswap/v2-periphery/contracts/index.ts +4 -0
- package/types/factories/{IRouter__factory.ts → @uniswap/v2-periphery/contracts/interfaces/IWETH__factory.ts} +24 -28
- package/types/factories/@uniswap/v2-periphery/contracts/interfaces/index.ts +4 -0
- package/types/factories/@uniswap/v2-periphery/index.ts +4 -0
- package/types/factories/contracts/IQuoter.sol/IQuoterV2__factory.ts +226 -0
- package/types/factories/contracts/IQuoter.sol/index.ts +4 -0
- package/types/factories/contracts/IUniswapV3.sol/INonfungiblePositionManager__factory.ts +121 -0
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Factory__factory.ts +84 -0
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Pool__factory.ts +121 -0
- package/types/factories/contracts/IUniswapV3.sol/index.ts +5 -0
- package/types/factories/contracts/Interfaces.sol/AToken__factory.ts +36 -0
- package/types/factories/{IAaveIncentivesController__factory.ts → contracts/Interfaces.sol/IAaveIncentivesControllerV3__factory.ts} +27 -22
- package/types/factories/{ILendingPool__factory.ts → contracts/Interfaces.sol/ILendingPoolV3__factory.ts} +32 -14
- package/types/factories/contracts/MentoInterfaces.sol/IBancorExchangeProvider__factory.ts +13 -0
- package/types/factories/contracts/fuseFaucet/Faucet copy.sol/DebugFaucet__factory.ts +945 -0
- package/types/factories/contracts/fuseFaucet/Faucet copy.sol/index.ts +4 -0
- package/types/factories/contracts/fuseFaucet/Faucet__factory.ts +33 -1
- package/types/factories/contracts/fuseFaucet/FuseFaucetV2__factory.ts +33 -1
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable__factory.ts +572 -0
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor__factory.ts +482 -0
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +4 -0
- package/types/factories/contracts/identity/IdentityV3__factory.ts +39 -1
- package/types/factories/contracts/index.ts +1 -0
- package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper__factory.ts +929 -0
- package/types/factories/contracts/mocks/GenericDistributionHelperTest.sol/CeloDistributionHelperTestHelper__factory.ts +1017 -0
- package/types/factories/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTestHelper__factory.ts +1021 -0
- package/types/factories/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTest__factory.ts +989 -0
- package/types/factories/contracts/mocks/GenericDistributionHelperTest.sol/index.ts +5 -0
- package/types/factories/contracts/mocks/index.ts +1 -0
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper__factory.ts +935 -0
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +4 -0
- package/types/factories/contracts/reserve/GenericDistributionHelper__factory.ts +987 -0
- package/types/factories/contracts/reserve/GoodReserveADai__factory.ts +1502 -0
- package/types/factories/contracts/reserve/index.ts +1 -0
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2__factory.ts +1240 -0
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +4 -0
- package/types/factories/{GoodDollar__factory.ts → contracts/token/GoodDollar18__factory.ts} +26 -23
- package/types/factories/contracts/ubi/UBISchemeV2__factory.ts +6 -1
- package/types/factories/contracts/utils/AdminWalletFuse__factory.ts +35 -1
- package/types/factories/contracts/utils/AdminWallet__factory.ts +35 -1
- package/types/factories/contracts/utils/BulkWhitelist__factory.ts +1 -1
- package/types/factories/contracts/utils/BuyFromReserveHelper__factory.ts +1 -1
- package/types/factories/contracts/utils/BuyGDClone.sol/BuyGDCloneV2__factory.ts +415 -0
- package/types/factories/contracts/utils/BuyGDClone.sol/index.ts +0 -2
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677__factory.ts +86 -0
- package/types/factories/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +1 -1
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange__factory.ts +39 -0
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +152 -0
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +5 -0
- package/types/factories/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy__factory.ts +1 -1
- package/types/factories/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967__factory.ts +1 -1
- package/types/factories/{IBeaconUpgradeable__factory.ts → contracts/utils/ReserveRestore.sol/MentoExchange__factory.ts} +11 -11
- package/types/factories/contracts/utils/ReserveRestore.sol/ReserveRestore__factory.ts +95 -0
- package/types/factories/contracts/utils/ReserveRestore.sol/index.ts +5 -0
- package/types/factories/contracts/utils/UpdateReserveRatioAfterXDC.sol/MentoExchange__factory.ts +39 -0
- package/types/factories/contracts/utils/UpdateReserveRatioAfterXDC.sol/UpdateReserveRatioAfterXDC__factory.ts +110 -0
- package/types/factories/contracts/utils/UpdateReserveRatioAfterXDC.sol/index.ts +5 -0
- package/types/factories/contracts/utils/UpdateReserveSettingsForXdc.sol/MentoExchange__factory.ts +39 -0
- package/types/factories/contracts/utils/UpdateReserveSettingsForXdc.sol/UpdateReserveRatioAfterXDC__factory.ts +115 -0
- package/types/factories/contracts/utils/UpdateReserveSettingsForXdc.sol/index.ts +5 -0
- package/types/factories/contracts/utils/index.ts +2 -0
- package/types/hardhat.d.ts +99 -18
- package/types/index.ts +16 -2
- package/types/AaveMock.ts +0 -1031
- package/types/AaveStakingFactory.ts +0 -290
- package/types/AaveUSDMockOracle.ts +0 -89
- package/types/AccessControl.ts +0 -361
- package/types/AccessControlEnumerableUpgradeable.ts +0 -444
- package/types/AccessControlUpgradeable.ts +0 -371
- package/types/AdminWallet.ts +0 -1234
- package/types/AdminWalletFuse.ts +0 -1340
- package/types/AggregatorV3Interface.ts +0 -192
- package/types/Avatar.ts +0 -121
- package/types/BancorFormula.ts +0 -974
- package/types/BaseShareField.ts +0 -442
- package/types/BaseShareFieldV2.ts +0 -361
- package/types/BuyAndBridgeHelper.ts +0 -279
- package/types/BuyGDCloneFactory.ts +0 -180
- package/types/CBATMock.ts +0 -1203
- package/types/CDAILowWorthMock.ts +0 -1169
- package/types/CDAIMock.ts +0 -1219
- package/types/CDAINonMintableMock.ts +0 -1169
- package/types/CDecimalsMock.ts +0 -1203
- package/types/CERC20.ts +0 -552
- package/types/CSDTMock.ts +0 -1203
- package/types/CUSDCMock.ts +0 -1203
- package/types/ClaimersDistribution.ts +0 -634
- package/types/CompUSDMockOracle.ts +0 -89
- package/types/CompoundStakingFactory.ts +0 -261
- package/types/CompoundVotingMachine.ts +0 -1718
- package/types/ContextUpgradeable.ts +0 -77
- package/types/ContributionCalc.ts +0 -164
- package/types/Controller.ts +0 -547
- package/types/DAIMock.ts +0 -1092
- package/types/DAOContract.ts +0 -162
- package/types/DAOUpgradeableContract.ts +0 -299
- package/types/DaiEthPriceMockOracle.ts +0 -89
- package/types/DecimalsMock.ts +0 -1031
- package/types/DistributionBridgeMock.ts +0 -384
- package/types/DonationsStaking.ts +0 -805
- package/types/EIP712Upgradeable.ts +0 -77
- package/types/ERC165.ts +0 -104
- package/types/ERC165Upgradeable.ts +0 -115
- package/types/ERC1967Proxy.ts +0 -147
- package/types/ERC1967UpgradeUpgradeable.ts +0 -116
- package/types/ERC20.ts +0 -417
- package/types/ERC20BurnableUpgradeable.ts +0 -488
- package/types/ERC20PausableUpgradeable.ts +0 -458
- package/types/ERC20Permit.ts +0 -186
- package/types/ERC20PermitUpgradeable.ts +0 -531
- package/types/ERC20PresetMinterPauserUpgradeable.ts +0 -1136
- package/types/ERC20Upgradeable.ts +0 -426
- package/types/ERC20WithTokenInfo.ts +0 -339
- package/types/ERC677.ts +0 -131
- package/types/ERC677Receiver.ts +0 -115
- package/types/EthUSDMockOracle.ts +0 -138
- package/types/EventsEmitter.ts +0 -88
- package/types/ExchangeHelper.ts +0 -550
- package/types/FeesFormulaMock.ts +0 -130
- package/types/FuseFaucet.ts +0 -507
- package/types/FuseFaucetV2.ts +0 -846
- package/types/FuseStakingV3.ts +0 -1212
- package/types/GDFaucet.ts +0 -221
- package/types/GReputation.ts +0 -2119
- package/types/GasPriceMockOracle.ts +0 -118
- package/types/GlobalConstraintInterface.ts +0 -134
- package/types/GoodAaveStaking.ts +0 -1761
- package/types/GoodCompoundStaking.ts +0 -1847
- package/types/GoodCompoundStakingTest.ts +0 -1957
- package/types/GoodCompoundStakingV2.ts +0 -1645
- package/types/GoodDollarMintBurnWrapper.ts +0 -1792
- package/types/GoodDollarStaking.ts +0 -1947
- package/types/GoodDollarStakingMock.ts +0 -1986
- package/types/GoodFundManager.ts +0 -1126
- package/types/GoodFundManagerTest.ts +0 -1165
- package/types/GoodMarketMaker.ts +0 -1002
- package/types/GovernanceStaking.ts +0 -1295
- package/types/IAccessControl.ts +0 -306
- package/types/IAccessControlEnumerableUpgradeable.ts +0 -380
- package/types/IAccessControlUpgradeable.ts +0 -307
- package/types/IAdminWallet.ts +0 -171
- package/types/IBeaconUpgradeable.ts +0 -89
- package/types/IConsensus.ts +0 -225
- package/types/IDonationStaking.ts +0 -98
- package/types/IERC1271Upgradeable.ts +0 -109
- package/types/IERC165.ts +0 -104
- package/types/IERC165Upgradeable.ts +0 -104
- package/types/IERC1820Registry.ts +0 -398
- package/types/IERC1822ProxiableUpgradeable.ts +0 -90
- package/types/IERC20.ts +0 -300
- package/types/IERC20Metadata.ts +0 -339
- package/types/IERC20MetadataUpgradeable.ts +0 -340
- package/types/IERC20Permit.ts +0 -175
- package/types/IERC20PermitUpgradeable.ts +0 -176
- package/types/IERC20Upgradeable.ts +0 -300
- package/types/IERC2917.ts +0 -661
- package/types/IERC777.ts +0 -586
- package/types/IERC777Recipient.ts +0 -130
- package/types/IERC777Sender.ts +0 -130
- package/types/IFeesFormula.ts +0 -111
- package/types/IFirstClaimPool.ts +0 -136
- package/types/IGoodDollar.ts +0 -876
- package/types/IGoodDollarCustom.ts +0 -618
- package/types/IGoodDollarStakingTest.ts +0 -160
- package/types/IGoodStaking.ts +0 -264
- package/types/IGovernanceStaking.ts +0 -98
- package/types/IIdentity.ts +0 -508
- package/types/IIdentityV2.ts +0 -591
- package/types/ILayerZeroFeeEstimator.ts +0 -136
- package/types/IMessagePassingBridge.ts +0 -774
- package/types/IMultichainRouter.ts +0 -166
- package/types/INameService.ts +0 -86
- package/types/IRouter.ts +0 -143
- package/types/IStakingUpgrade.ts +0 -110
- package/types/IStaticOracle.ts +0 -677
- package/types/ISuperAgreement.ts +0 -151
- package/types/ISuperApp.ts +0 -410
- package/types/ISuperGoodDollar.ts +0 -3029
- package/types/ISuperToken.ts +0 -2326
- package/types/ISuperTokenFactory.ts +0 -415
- package/types/ISuperfluid.ts +0 -1565
- package/types/ISuperfluidGovernance.ts +0 -455
- package/types/ISuperfluidToken.ts +0 -951
- package/types/ISwapRouter.ts +0 -298
- package/types/IUBIScheme.ts +0 -121
- package/types/IUniswapV3Factory.ts +0 -333
- package/types/IWrapper.ts +0 -143
- package/types/IdentityFix.ts +0 -141
- package/types/IdentityMock.ts +0 -527
- package/types/IdentityV2.ts +0 -1782
- package/types/IncentiveControllerMock.ts +0 -207
- package/types/Initializable.ts +0 -77
- package/types/IntVoteInterface.ts +0 -468
- package/types/InvitesFuseV2.ts +0 -840
- package/types/InvitesV1.ts +0 -806
- package/types/InvitesV2.ts +0 -1016
- package/types/LendingPoolMock.ts +0 -1259
- package/types/MultiBaseGovernanceShareField.ts +0 -411
- package/types/Multicall.ts +0 -298
- package/types/MultichainBridgeHelper.ts +0 -170
- package/types/MultichainFeeFormula.ts +0 -130
- package/types/MultichainRouterMock.ts +0 -141
- package/types/NameService.ts +0 -386
- package/types/OldMarketMaker.ts +0 -113
- package/types/OneTimePayments.ts +0 -396
- package/types/OneTimePaymentsV2.ts +0 -456
- package/types/OverMintTester.ts +0 -176
- package/types/OverMintTesterRegularStake.ts +0 -177
- package/types/OwnableUpgradeable.ts +0 -175
- package/types/Pausable.ts +0 -103
- package/types/PausableControl.ts +0 -125
- package/types/PausableUpgradeable.ts +0 -112
- package/types/PayableMock.ts +0 -92
- package/types/PegSwap.ts +0 -112
- package/types/ProtocolUpgrade.ts +0 -272
- package/types/ProtocolUpgradeFuse.ts +0 -166
- package/types/ProtocolUpgradeFuseRecover.ts +0 -167
- package/types/ProtocolUpgradeRecover.ts +0 -264
- package/types/Proxy.ts +0 -66
- package/types/ProxyAdmin.ts +0 -254
- package/types/ProxyFactory1967.ts +0 -284
- package/types/ReentrancyGuardUpgradeable.ts +0 -78
- package/types/Reputation.ts +0 -964
- package/types/ReputationInterface.ts +0 -261
- package/types/ReputationTestHelper.ts +0 -175
- package/types/Reserve.ts +0 -112
- package/types/RewardsMinter.ts +0 -107
- package/types/SchemeRegistrar.ts +0 -164
- package/types/SelfApprove.ts +0 -115
- package/types/SimpleStaking.ts +0 -1523
- package/types/SimpleStakingV2.ts +0 -1427
- package/types/SixteenDecimalsTokenMock.ts +0 -1032
- package/types/StakersDistribution.ts +0 -949
- package/types/Staking.ts +0 -158
- package/types/StakingMockFixedAPY.ts +0 -995
- package/types/StakingRewardsFixedAPY.ts +0 -428
- package/types/SuperGoodDollar.ts +0 -3662
- package/types/SuperToken.ts +0 -2434
- package/types/SuperfluidToken.ts +0 -951
- package/types/SwapHelperTest.ts +0 -120
- package/types/TokenInfo.ts +0 -109
- package/types/TwentyDecimalsTokenMock.ts +0 -1032
- package/types/UBIScheme.ts +0 -1461
- package/types/UBISchemeV2.ts +0 -1192
- package/types/USDCMock.ts +0 -1031
- package/types/UUPSProxiable.ts +0 -183
- package/types/UUPSProxy.ts +0 -105
- package/types/UUPSUpgradeable.ts +0 -207
- package/types/Uniswap.ts +0 -423
- package/types/UniswapFactory.ts +0 -106
- package/types/UniswapPair.ts +0 -187
- package/types/UniswapV2SwapHelper.ts +0 -124
- package/types/UpgradableMock.ts +0 -349
- package/types/UpgradableMock2.ts +0 -311
- package/types/UpgradableMock3.ts +0 -336
- package/types/UpgradableMock4.ts +0 -336
- package/types/factories/AaveMock__factory.ts +0 -740
- package/types/factories/AaveStakingFactory__factory.ts +0 -262
- package/types/factories/AaveUSDMockOracle__factory.ts +0 -75
- package/types/factories/AccessControlEnumerableUpgradeable__factory.ts +0 -292
- package/types/factories/AccessControlUpgradeable__factory.ts +0 -247
- package/types/factories/AccessControl__factory.ts +0 -227
- package/types/factories/AdminWalletFuse__factory.ts +0 -933
- package/types/factories/AdminWallet__factory.ts +0 -865
- package/types/factories/AggregatorV3Interface__factory.ts +0 -121
- package/types/factories/Avatar__factory.ts +0 -59
- package/types/factories/BancorFormula__factory.ts +0 -674
- package/types/factories/BaseShareFieldV2__factory.ts +0 -251
- package/types/factories/BaseShareField__factory.ts +0 -307
- package/types/factories/BatUSDMockOracle__factory.ts +0 -75
- package/types/factories/BuyAndBridgeHelper__factory.ts +0 -237
- package/types/factories/BuyGDCloneFactory__factory.ts +0 -196
- package/types/factories/BuyGDClone__factory.ts +0 -343
- package/types/factories/CBATMock__factory.ts +0 -844
- package/types/factories/CDAILowWorthMock__factory.ts +0 -834
- package/types/factories/CDAIMock__factory.ts +0 -857
- package/types/factories/CDAINonMintableMock__factory.ts +0 -834
- package/types/factories/CDecimalsMock__factory.ts +0 -844
- package/types/factories/CERC20__factory.ts +0 -381
- package/types/factories/CSDTMock__factory.ts +0 -844
- package/types/factories/CUSDCMock__factory.ts +0 -844
- package/types/factories/ClaimersDistribution__factory.ts +0 -430
- package/types/factories/CompUSDMockOracle__factory.ts +0 -75
- package/types/factories/CompoundStakingFactory__factory.ts +0 -249
- package/types/factories/CompoundVotingMachine__factory.ts +0 -1208
- package/types/factories/ContextUpgradeable__factory.ts +0 -39
- package/types/factories/ContributionCalc__factory.ts +0 -83
- package/types/factories/Controller__factory.ts +0 -359
- package/types/factories/DAIMock__factory.ts +0 -783
- package/types/factories/DAOContract__factory.ts +0 -118
- package/types/factories/DAOUpgradeableContract__factory.ts +0 -227
- package/types/factories/DaiEthPriceMockOracle__factory.ts +0 -79
- package/types/factories/DecimalsMock__factory.ts +0 -755
- package/types/factories/DistributionBridgeMock__factory.ts +0 -312
- package/types/factories/DistributionHelperTestHelper__factory.ts +0 -1008
- package/types/factories/DistributionHelperTest__factory.ts +0 -975
- package/types/factories/DistributionHelper__factory.ts +0 -971
- package/types/factories/DonationsStaking__factory.ts +0 -580
- package/types/factories/EIP712Upgradeable__factory.ts +0 -39
- package/types/factories/ERC165Upgradeable__factory.ts +0 -58
- package/types/factories/ERC165__factory.ts +0 -39
- package/types/factories/ERC1967Proxy__factory.ts +0 -130
- package/types/factories/ERC1967UpgradeUpgradeable__factory.ts +0 -88
- package/types/factories/ERC1967Upgrade__factory.ts +0 -71
- package/types/factories/ERC20BurnableUpgradeable__factory.ts +0 -344
- package/types/factories/ERC20PausableUpgradeable__factory.ts +0 -352
- package/types/factories/ERC20PermitUpgradeable__factory.ts +0 -388
- package/types/factories/ERC20Permit__factory.ts +0 -111
- package/types/factories/ERC20PresetMinterPauserUpgradeable__factory.ts +0 -827
- package/types/factories/ERC20Upgradeable__factory.ts +0 -345
- package/types/factories/ERC20WithTokenInfo__factory.ts +0 -248
- package/types/factories/ERC20__factory.ts +0 -285
- package/types/factories/ERC677Receiver__factory.ts +0 -55
- package/types/factories/ERC677__factory.ts +0 -75
- package/types/factories/EthUSDMockOracle__factory.ts +0 -108
- package/types/factories/EventsEmitter__factory.ts +0 -84
- package/types/factories/ExchangeHelper__factory.ts +0 -427
- package/types/factories/Faucet__factory.ts +0 -826
- package/types/factories/FeesFormulaMock__factory.ts +0 -132
- package/types/factories/FuseFaucetV2__factory.ts +0 -592
- package/types/factories/FuseFaucet__factory.ts +0 -386
- package/types/factories/FuseStakingV3__factory.ts +0 -806
- package/types/factories/GDFaucet__factory.ts +0 -188
- package/types/factories/GReputation__factory.ts +0 -1490
- package/types/factories/GasPriceMockOracle__factory.ts +0 -88
- package/types/factories/GlobalConstraintInterface__factory.ts +0 -72
- package/types/factories/GoodAaveStakingV2__factory.ts +0 -1240
- package/types/factories/GoodAaveStaking__factory.ts +0 -1276
- package/types/factories/GoodCompoundStakingTest__factory.ts +0 -1470
- package/types/factories/GoodCompoundStakingV2__factory.ts +0 -1182
- package/types/factories/GoodCompoundStaking__factory.ts +0 -1316
- package/types/factories/GoodDollarMintBurnWrapper__factory.ts +0 -1330
- package/types/factories/GoodDollarStakingMock__factory.ts +0 -1497
- package/types/factories/GoodDollarStaking__factory.ts +0 -1469
- package/types/factories/GoodFundManagerTest__factory.ts +0 -801
- package/types/factories/GoodFundManager__factory.ts +0 -759
- package/types/factories/GoodMarketMaker__factory.ts +0 -687
- package/types/factories/GoodReserveCDai__factory.ts +0 -1489
- package/types/factories/GovernanceStaking__factory.ts +0 -948
- package/types/factories/IAccessControlEnumerableUpgradeable__factory.ts +0 -247
- package/types/factories/IAccessControlUpgradeable__factory.ts +0 -202
- package/types/factories/IAccessControl__factory.ts +0 -198
- package/types/factories/IAdminWallet__factory.ts +0 -75
- package/types/factories/IBeacon__factory.ts +0 -36
- package/types/factories/IConsensus__factory.ts +0 -116
- package/types/factories/IDonationStaking__factory.ts +0 -33
- package/types/factories/IERC1271Upgradeable__factory.ts +0 -50
- package/types/factories/IERC165Upgradeable__factory.ts +0 -45
- package/types/factories/IERC165__factory.ts +0 -42
- package/types/factories/IERC1820Registry__factory.ts +0 -239
- package/types/factories/IERC1822ProxiableUpgradeable__factory.ts +0 -43
- package/types/factories/IERC1822Proxiable__factory.ts +0 -39
- package/types/factories/IERC20MetadataUpgradeable__factory.ts +0 -252
- package/types/factories/IERC20Metadata__factory.ts +0 -248
- package/types/factories/IERC20PermitUpgradeable__factory.ts +0 -105
- package/types/factories/IERC20Permit__factory.ts +0 -98
- package/types/factories/IERC20Upgradeable__factory.ts +0 -209
- package/types/factories/IERC20__factory.ts +0 -203
- package/types/factories/IERC2917__factory.ts +0 -493
- package/types/factories/IERC777Recipient__factory.ts +0 -64
- package/types/factories/IERC777Sender__factory.ts +0 -61
- package/types/factories/IERC777__factory.ts +0 -414
- package/types/factories/IFeesFormula__factory.ts +0 -57
- package/types/factories/IFirstClaimPool__factory.ts +0 -65
- package/types/factories/IGoodDollarCustom__factory.ts +0 -370
- package/types/factories/IGoodDollarStakingTest__factory.ts +0 -68
- package/types/factories/IGoodDollar__factory.ts +0 -595
- package/types/factories/IGoodStaking__factory.ts +0 -175
- package/types/factories/IGovernanceStaking__factory.ts +0 -39
- package/types/factories/IHasRouter__factory.ts +0 -36
- package/types/factories/IIdentityV2__factory.ts +0 -331
- package/types/factories/IIdentity__factory.ts +0 -284
- package/types/factories/ILayerZeroFeeEstimator__factory.ts +0 -79
- package/types/factories/IMessagePassingBridge__factory.ts +0 -446
- package/types/factories/IMultichainRouter__factory.ts +0 -82
- package/types/factories/INameService__factory.ts +0 -42
- package/types/factories/IStakingUpgrade__factory.ts +0 -50
- package/types/factories/IStaticOracle__factory.ts +0 -407
- package/types/factories/ISuperAgreement__factory.ts +0 -78
- package/types/factories/ISuperApp__factory.ts +0 -272
- package/types/factories/ISuperGoodDollar__factory.ts +0 -2147
- package/types/factories/ISuperTokenFactory__factory.ts +0 -271
- package/types/factories/ISuperToken__factory.ts +0 -1682
- package/types/factories/ISuperfluidGovernance__factory.ts +0 -264
- package/types/factories/ISuperfluidToken__factory.ts +0 -697
- package/types/factories/ISuperfluid__factory.ts +0 -1143
- package/types/factories/ISwapRouter__factory.ts +0 -217
- package/types/factories/IUBIScheme__factory.ts +0 -68
- package/types/factories/IUniswapV3Factory__factory.ts +0 -222
- package/types/factories/IWrapper__factory.ts +0 -71
- package/types/factories/IdentityFix__factory.ts +0 -110
- package/types/factories/IdentityMock__factory.ts +0 -346
- package/types/factories/IdentityV2__factory.ts +0 -1147
- package/types/factories/IncentiveControllerMock__factory.ts +0 -166
- package/types/factories/Initializable__factory.ts +0 -36
- package/types/factories/IntVoteInterface__factory.ts +0 -349
- package/types/factories/InvitesFuseV2__factory.ts +0 -571
- package/types/factories/InvitesV1__factory.ts +0 -553
- package/types/factories/InvitesV2__factory.ts +0 -688
- package/types/factories/LendingPoolMock__factory.ts +0 -927
- package/types/factories/MultiBaseGovernanceShareField__factory.ts +0 -240
- package/types/factories/Multicall__factory.ts +0 -215
- package/types/factories/MultichainBridgeHelper__factory.ts +0 -134
- package/types/factories/MultichainFeeFormula__factory.ts +0 -113
- package/types/factories/MultichainRouterMock__factory.ts +0 -141
- package/types/factories/NameService__factory.ts +0 -290
- package/types/factories/OldMarketMaker__factory.ts +0 -62
- package/types/factories/OneTimePaymentsV2__factory.ts +0 -369
- package/types/factories/OneTimePayments__factory.ts +0 -323
- package/types/factories/OverMintTesterRegularStake__factory.ts +0 -156
- package/types/factories/OverMintTester__factory.ts +0 -152
- package/types/factories/OwnableUpgradeable__factory.ts +0 -91
- package/types/factories/PausableControl__factory.ts +0 -84
- package/types/factories/PausableUpgradeable__factory.ts +0 -78
- package/types/factories/Pausable__factory.ts +0 -62
- package/types/factories/PayableMock__factory.ts +0 -66
- package/types/factories/PegSwap__factory.ts +0 -46
- package/types/factories/ProtocolUpgradeFuseRecover__factory.ts +0 -146
- package/types/factories/ProtocolUpgradeFuse__factory.ts +0 -142
- package/types/factories/ProtocolUpgradeRecover__factory.ts +0 -184
- package/types/factories/ProtocolUpgrade__factory.ts +0 -207
- package/types/factories/ProxyAdmin__factory.ts +0 -128
- package/types/factories/ProxyFactory1967__factory.ts +0 -223
- package/types/factories/Proxy__factory.ts +0 -28
- package/types/factories/ReentrancyGuardUpgradeable__factory.ts +0 -43
- package/types/factories/ReputationInterface__factory.ts +0 -168
- package/types/factories/ReputationTestHelper__factory.ts +0 -141
- package/types/factories/Reputation__factory.ts +0 -693
- package/types/factories/Reserve__factory.ts +0 -52
- package/types/factories/RewardsMinter__factory.ts +0 -47
- package/types/factories/SchemeRegistrar__factory.ts +0 -114
- package/types/factories/SelfApprove__factory.ts +0 -46
- package/types/factories/SimpleStakingV2__factory.ts +0 -999
- package/types/factories/SimpleStaking__factory.ts +0 -1058
- package/types/factories/SixteenDecimalsTokenMock__factory.ts +0 -747
- package/types/factories/StakersDistribution__factory.ts +0 -617
- package/types/factories/StakingMockFixedAPY__factory.ts +0 -745
- package/types/factories/StakingRewardsFixedAPY__factory.ts +0 -287
- package/types/factories/Staking__factory.ts +0 -74
- package/types/factories/SuperGoodDollar__factory.ts +0 -2680
- package/types/factories/SuperToken__factory.ts +0 -1809
- package/types/factories/SuperfluidToken__factory.ts +0 -697
- package/types/factories/SwapHelperTest__factory.ts +0 -96
- package/types/factories/TokenInfo__factory.ts +0 -62
- package/types/factories/TwentyDecimalsTokenMock__factory.ts +0 -747
- package/types/factories/UBISchemeV2__factory.ts +0 -837
- package/types/factories/UBIScheme__factory.ts +0 -1034
- package/types/factories/USDCMock__factory.ts +0 -740
- package/types/factories/UUPSProxiable__factory.ts +0 -101
- package/types/factories/UUPSProxy__factory.ts +0 -80
- package/types/factories/UUPSUpgradeable__factory.ts +0 -128
- package/types/factories/UniswapFactory__factory.ts +0 -50
- package/types/factories/UniswapPair__factory.ts +0 -117
- package/types/factories/UniswapV2SwapHelper__factory.ts +0 -101
- package/types/factories/Uniswap__factory.ts +0 -272
- package/types/factories/UpgradableMock2__factory.ts +0 -236
- package/types/factories/UpgradableMock3__factory.ts +0 -249
- package/types/factories/UpgradableMock4__factory.ts +0 -249
- package/types/factories/UpgradableMock__factory.ts +0 -262
|
@@ -1,36 +1,39 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
ethers,
|
|
7
|
-
EventFilter,
|
|
8
|
-
Signer,
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
9
6
|
BigNumber,
|
|
10
7
|
BigNumberish,
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
BytesLike,
|
|
9
|
+
CallOverrides,
|
|
13
10
|
ContractTransaction,
|
|
14
11
|
Overrides,
|
|
15
12
|
PayableOverrides,
|
|
16
|
-
|
|
13
|
+
PopulatedTransaction,
|
|
14
|
+
Signer,
|
|
15
|
+
utils,
|
|
17
16
|
} from "ethers";
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
import type {
|
|
18
|
+
FunctionFragment,
|
|
19
|
+
Result,
|
|
20
|
+
EventFragment,
|
|
21
|
+
} from "@ethersproject/abi";
|
|
22
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
21
23
|
import type {
|
|
22
24
|
TypedEventFilter,
|
|
23
25
|
TypedEvent,
|
|
24
26
|
TypedListener,
|
|
25
27
|
OnEvent,
|
|
26
|
-
} from "
|
|
28
|
+
} from "../../common";
|
|
27
29
|
|
|
28
|
-
export interface
|
|
30
|
+
export interface GoodReserveADaiInterface extends utils.Interface {
|
|
29
31
|
functions: {
|
|
30
32
|
"DEFAULT_ADMIN_ROLE()": FunctionFragment;
|
|
31
33
|
"MINTER_ROLE()": FunctionFragment;
|
|
32
34
|
"PAUSER_ROLE()": FunctionFragment;
|
|
33
35
|
"RESERVE_MINTER_ROLE()": FunctionFragment;
|
|
36
|
+
"aDaiAddress()": FunctionFragment;
|
|
34
37
|
"allowance(address,address)": FunctionFragment;
|
|
35
38
|
"approve(address,uint256)": FunctionFragment;
|
|
36
39
|
"avatar()": FunctionFragment;
|
|
@@ -59,6 +62,7 @@ export interface GoodReserveCDaiInterface extends ethers.utils.Interface {
|
|
|
59
62
|
"hasRole(bytes32,address)": FunctionFragment;
|
|
60
63
|
"increaseAllowance(address,uint256)": FunctionFragment;
|
|
61
64
|
"initialize(string,string)": FunctionFragment;
|
|
65
|
+
"initialize(address,bytes32)": FunctionFragment;
|
|
62
66
|
"isClaimedGDX(address)": FunctionFragment;
|
|
63
67
|
"lastMinted()": FunctionFragment;
|
|
64
68
|
"mint(address,uint256)": FunctionFragment;
|
|
@@ -91,6 +95,74 @@ export interface GoodReserveCDaiInterface extends ethers.utils.Interface {
|
|
|
91
95
|
"when()": FunctionFragment;
|
|
92
96
|
};
|
|
93
97
|
|
|
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
|
+
|
|
94
166
|
encodeFunctionData(
|
|
95
167
|
functionFragment: "DEFAULT_ADMIN_ROLE",
|
|
96
168
|
values?: undefined
|
|
@@ -107,6 +179,10 @@ export interface GoodReserveCDaiInterface extends ethers.utils.Interface {
|
|
|
107
179
|
functionFragment: "RESERVE_MINTER_ROLE",
|
|
108
180
|
values?: undefined
|
|
109
181
|
): string;
|
|
182
|
+
encodeFunctionData(
|
|
183
|
+
functionFragment: "aDaiAddress",
|
|
184
|
+
values?: undefined
|
|
185
|
+
): string;
|
|
110
186
|
encodeFunctionData(
|
|
111
187
|
functionFragment: "allowance",
|
|
112
188
|
values: [string, string]
|
|
@@ -195,9 +271,13 @@ export interface GoodReserveCDaiInterface extends ethers.utils.Interface {
|
|
|
195
271
|
values: [string, BigNumberish]
|
|
196
272
|
): string;
|
|
197
273
|
encodeFunctionData(
|
|
198
|
-
functionFragment: "initialize",
|
|
274
|
+
functionFragment: "initialize(string,string)",
|
|
199
275
|
values: [string, string]
|
|
200
276
|
): string;
|
|
277
|
+
encodeFunctionData(
|
|
278
|
+
functionFragment: "initialize(address,bytes32)",
|
|
279
|
+
values: [string, BytesLike]
|
|
280
|
+
): string;
|
|
201
281
|
encodeFunctionData(
|
|
202
282
|
functionFragment: "isClaimedGDX",
|
|
203
283
|
values: [string]
|
|
@@ -311,6 +391,10 @@ export interface GoodReserveCDaiInterface extends ethers.utils.Interface {
|
|
|
311
391
|
functionFragment: "RESERVE_MINTER_ROLE",
|
|
312
392
|
data: BytesLike
|
|
313
393
|
): Result;
|
|
394
|
+
decodeFunctionResult(
|
|
395
|
+
functionFragment: "aDaiAddress",
|
|
396
|
+
data: BytesLike
|
|
397
|
+
): Result;
|
|
314
398
|
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
315
399
|
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
316
400
|
decodeFunctionResult(functionFragment: "avatar", data: BytesLike): Result;
|
|
@@ -374,7 +458,14 @@ export interface GoodReserveCDaiInterface extends ethers.utils.Interface {
|
|
|
374
458
|
functionFragment: "increaseAllowance",
|
|
375
459
|
data: BytesLike
|
|
376
460
|
): Result;
|
|
377
|
-
decodeFunctionResult(
|
|
461
|
+
decodeFunctionResult(
|
|
462
|
+
functionFragment: "initialize(string,string)",
|
|
463
|
+
data: BytesLike
|
|
464
|
+
): Result;
|
|
465
|
+
decodeFunctionResult(
|
|
466
|
+
functionFragment: "initialize(address,bytes32)",
|
|
467
|
+
data: BytesLike
|
|
468
|
+
): Result;
|
|
378
469
|
decodeFunctionResult(
|
|
379
470
|
functionFragment: "isClaimedGDX",
|
|
380
471
|
data: BytesLike
|
|
@@ -488,135 +579,190 @@ export interface GoodReserveCDaiInterface extends ethers.utils.Interface {
|
|
|
488
579
|
getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
|
|
489
580
|
}
|
|
490
581
|
|
|
582
|
+
export interface AdminChangedEventObject {
|
|
583
|
+
previousAdmin: string;
|
|
584
|
+
newAdmin: string;
|
|
585
|
+
}
|
|
491
586
|
export type AdminChangedEvent = TypedEvent<
|
|
492
587
|
[string, string],
|
|
493
|
-
|
|
588
|
+
AdminChangedEventObject
|
|
494
589
|
>;
|
|
495
590
|
|
|
496
591
|
export type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
|
|
497
592
|
|
|
593
|
+
export interface ApprovalEventObject {
|
|
594
|
+
owner: string;
|
|
595
|
+
spender: string;
|
|
596
|
+
value: BigNumber;
|
|
597
|
+
}
|
|
498
598
|
export type ApprovalEvent = TypedEvent<
|
|
499
599
|
[string, string, BigNumber],
|
|
500
|
-
|
|
600
|
+
ApprovalEventObject
|
|
501
601
|
>;
|
|
502
602
|
|
|
503
603
|
export type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
|
|
504
604
|
|
|
505
|
-
export
|
|
605
|
+
export interface BeaconUpgradedEventObject {
|
|
606
|
+
beacon: string;
|
|
607
|
+
}
|
|
608
|
+
export type BeaconUpgradedEvent = TypedEvent<
|
|
609
|
+
[string],
|
|
610
|
+
BeaconUpgradedEventObject
|
|
611
|
+
>;
|
|
506
612
|
|
|
507
613
|
export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
|
|
508
614
|
|
|
615
|
+
export interface DistributionHelperSetEventObject {
|
|
616
|
+
distributionHelper: string;
|
|
617
|
+
bps: number;
|
|
618
|
+
}
|
|
509
619
|
export type DistributionHelperSetEvent = TypedEvent<
|
|
510
620
|
[string, number],
|
|
511
|
-
|
|
621
|
+
DistributionHelperSetEventObject
|
|
512
622
|
>;
|
|
513
623
|
|
|
514
624
|
export type DistributionHelperSetEventFilter =
|
|
515
625
|
TypedEventFilter<DistributionHelperSetEvent>;
|
|
516
626
|
|
|
517
|
-
export
|
|
627
|
+
export interface InitializedEventObject {
|
|
628
|
+
version: number;
|
|
629
|
+
}
|
|
630
|
+
export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
|
|
518
631
|
|
|
519
632
|
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
520
633
|
|
|
634
|
+
export interface NonUBIMintedEventObject {
|
|
635
|
+
distributionHelper: string;
|
|
636
|
+
amountMinted: BigNumber;
|
|
637
|
+
distributionSucceeded: boolean;
|
|
638
|
+
}
|
|
521
639
|
export type NonUBIMintedEvent = TypedEvent<
|
|
522
640
|
[string, BigNumber, boolean],
|
|
523
|
-
|
|
524
|
-
distributionHelper: string;
|
|
525
|
-
amountMinted: BigNumber;
|
|
526
|
-
distributionSucceeded: boolean;
|
|
527
|
-
}
|
|
641
|
+
NonUBIMintedEventObject
|
|
528
642
|
>;
|
|
529
643
|
|
|
530
644
|
export type NonUBIMintedEventFilter = TypedEventFilter<NonUBIMintedEvent>;
|
|
531
645
|
|
|
532
|
-
export
|
|
646
|
+
export interface PausedEventObject {
|
|
647
|
+
account: string;
|
|
648
|
+
}
|
|
649
|
+
export type PausedEvent = TypedEvent<[string], PausedEventObject>;
|
|
533
650
|
|
|
534
651
|
export type PausedEventFilter = TypedEventFilter<PausedEvent>;
|
|
535
652
|
|
|
653
|
+
export interface RoleAdminChangedEventObject {
|
|
654
|
+
role: string;
|
|
655
|
+
previousAdminRole: string;
|
|
656
|
+
newAdminRole: string;
|
|
657
|
+
}
|
|
536
658
|
export type RoleAdminChangedEvent = TypedEvent<
|
|
537
659
|
[string, string, string],
|
|
538
|
-
|
|
660
|
+
RoleAdminChangedEventObject
|
|
539
661
|
>;
|
|
540
662
|
|
|
541
663
|
export type RoleAdminChangedEventFilter =
|
|
542
664
|
TypedEventFilter<RoleAdminChangedEvent>;
|
|
543
665
|
|
|
666
|
+
export interface RoleGrantedEventObject {
|
|
667
|
+
role: string;
|
|
668
|
+
account: string;
|
|
669
|
+
sender: string;
|
|
670
|
+
}
|
|
544
671
|
export type RoleGrantedEvent = TypedEvent<
|
|
545
672
|
[string, string, string],
|
|
546
|
-
|
|
673
|
+
RoleGrantedEventObject
|
|
547
674
|
>;
|
|
548
675
|
|
|
549
676
|
export type RoleGrantedEventFilter = TypedEventFilter<RoleGrantedEvent>;
|
|
550
677
|
|
|
678
|
+
export interface RoleRevokedEventObject {
|
|
679
|
+
role: string;
|
|
680
|
+
account: string;
|
|
681
|
+
sender: string;
|
|
682
|
+
}
|
|
551
683
|
export type RoleRevokedEvent = TypedEvent<
|
|
552
684
|
[string, string, string],
|
|
553
|
-
|
|
685
|
+
RoleRevokedEventObject
|
|
554
686
|
>;
|
|
555
687
|
|
|
556
688
|
export type RoleRevokedEventFilter = TypedEventFilter<RoleRevokedEvent>;
|
|
557
689
|
|
|
690
|
+
export interface TokenPurchasedEventObject {
|
|
691
|
+
caller: string;
|
|
692
|
+
inputToken: string;
|
|
693
|
+
inputAmount: BigNumber;
|
|
694
|
+
actualReturn: BigNumber;
|
|
695
|
+
receiverAddress: string;
|
|
696
|
+
}
|
|
558
697
|
export type TokenPurchasedEvent = TypedEvent<
|
|
559
698
|
[string, string, BigNumber, BigNumber, string],
|
|
560
|
-
|
|
561
|
-
caller: string;
|
|
562
|
-
inputToken: string;
|
|
563
|
-
inputAmount: BigNumber;
|
|
564
|
-
actualReturn: BigNumber;
|
|
565
|
-
receiverAddress: string;
|
|
566
|
-
}
|
|
699
|
+
TokenPurchasedEventObject
|
|
567
700
|
>;
|
|
568
701
|
|
|
569
702
|
export type TokenPurchasedEventFilter = TypedEventFilter<TokenPurchasedEvent>;
|
|
570
703
|
|
|
704
|
+
export interface TokenSoldEventObject {
|
|
705
|
+
caller: string;
|
|
706
|
+
outputToken: string;
|
|
707
|
+
gdAmount: BigNumber;
|
|
708
|
+
contributionAmount: BigNumber;
|
|
709
|
+
actualReturn: BigNumber;
|
|
710
|
+
receiverAddress: string;
|
|
711
|
+
}
|
|
571
712
|
export type TokenSoldEvent = TypedEvent<
|
|
572
713
|
[string, string, BigNumber, BigNumber, BigNumber, string],
|
|
573
|
-
|
|
574
|
-
caller: string;
|
|
575
|
-
outputToken: string;
|
|
576
|
-
gdAmount: BigNumber;
|
|
577
|
-
contributionAmount: BigNumber;
|
|
578
|
-
actualReturn: BigNumber;
|
|
579
|
-
receiverAddress: string;
|
|
580
|
-
}
|
|
714
|
+
TokenSoldEventObject
|
|
581
715
|
>;
|
|
582
716
|
|
|
583
717
|
export type TokenSoldEventFilter = TypedEventFilter<TokenSoldEvent>;
|
|
584
718
|
|
|
719
|
+
export interface TransferEventObject {
|
|
720
|
+
from: string;
|
|
721
|
+
to: string;
|
|
722
|
+
value: BigNumber;
|
|
723
|
+
}
|
|
585
724
|
export type TransferEvent = TypedEvent<
|
|
586
725
|
[string, string, BigNumber],
|
|
587
|
-
|
|
726
|
+
TransferEventObject
|
|
588
727
|
>;
|
|
589
728
|
|
|
590
729
|
export type TransferEventFilter = TypedEventFilter<TransferEvent>;
|
|
591
730
|
|
|
731
|
+
export interface UBIMintedEventObject {
|
|
732
|
+
day: BigNumber;
|
|
733
|
+
interestToken: string;
|
|
734
|
+
interestReceived: BigNumber;
|
|
735
|
+
gdInterestMinted: BigNumber;
|
|
736
|
+
gdExpansionMinted: BigNumber;
|
|
737
|
+
gdUbiTransferred: BigNumber;
|
|
738
|
+
}
|
|
592
739
|
export type UBIMintedEvent = TypedEvent<
|
|
593
740
|
[BigNumber, string, BigNumber, BigNumber, BigNumber, BigNumber],
|
|
594
|
-
|
|
595
|
-
day: BigNumber;
|
|
596
|
-
interestToken: string;
|
|
597
|
-
interestReceived: BigNumber;
|
|
598
|
-
gdInterestMinted: BigNumber;
|
|
599
|
-
gdExpansionMinted: BigNumber;
|
|
600
|
-
gdUbiTransferred: BigNumber;
|
|
601
|
-
}
|
|
741
|
+
UBIMintedEventObject
|
|
602
742
|
>;
|
|
603
743
|
|
|
604
744
|
export type UBIMintedEventFilter = TypedEventFilter<UBIMintedEvent>;
|
|
605
745
|
|
|
606
|
-
export
|
|
746
|
+
export interface UnpausedEventObject {
|
|
747
|
+
account: string;
|
|
748
|
+
}
|
|
749
|
+
export type UnpausedEvent = TypedEvent<[string], UnpausedEventObject>;
|
|
607
750
|
|
|
608
751
|
export type UnpausedEventFilter = TypedEventFilter<UnpausedEvent>;
|
|
609
752
|
|
|
610
|
-
export
|
|
753
|
+
export interface UpgradedEventObject {
|
|
754
|
+
implementation: string;
|
|
755
|
+
}
|
|
756
|
+
export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>;
|
|
611
757
|
|
|
612
758
|
export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
|
|
613
759
|
|
|
614
|
-
export interface
|
|
760
|
+
export interface GoodReserveADai extends BaseContract {
|
|
615
761
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
616
762
|
attach(addressOrName: string): this;
|
|
617
763
|
deployed(): Promise<this>;
|
|
618
764
|
|
|
619
|
-
interface:
|
|
765
|
+
interface: GoodReserveADaiInterface;
|
|
620
766
|
|
|
621
767
|
queryFilter<TEvent extends TypedEvent>(
|
|
622
768
|
event: TypedEventFilter<TEvent>,
|
|
@@ -646,6 +792,8 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
646
792
|
|
|
647
793
|
RESERVE_MINTER_ROLE(overrides?: CallOverrides): Promise<[string]>;
|
|
648
794
|
|
|
795
|
+
aDaiAddress(overrides?: CallOverrides): Promise<[string]>;
|
|
796
|
+
|
|
649
797
|
allowance(
|
|
650
798
|
owner: string,
|
|
651
799
|
spender: string,
|
|
@@ -655,7 +803,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
655
803
|
approve(
|
|
656
804
|
spender: string,
|
|
657
805
|
amount: BigNumberish,
|
|
658
|
-
overrides?: Overrides & { from?: string
|
|
806
|
+
overrides?: Overrides & { from?: string }
|
|
659
807
|
): Promise<ContractTransaction>;
|
|
660
808
|
|
|
661
809
|
avatar(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -664,20 +812,20 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
664
812
|
|
|
665
813
|
burn(
|
|
666
814
|
amount: BigNumberish,
|
|
667
|
-
overrides?: Overrides & { from?: string
|
|
815
|
+
overrides?: Overrides & { from?: string }
|
|
668
816
|
): Promise<ContractTransaction>;
|
|
669
817
|
|
|
670
818
|
burnFrom(
|
|
671
819
|
account: string,
|
|
672
820
|
amount: BigNumberish,
|
|
673
|
-
overrides?: Overrides & { from?: string
|
|
821
|
+
overrides?: Overrides & { from?: string }
|
|
674
822
|
): Promise<ContractTransaction>;
|
|
675
823
|
|
|
676
824
|
buy(
|
|
677
825
|
_tokenAmount: BigNumberish,
|
|
678
826
|
_minReturn: BigNumberish,
|
|
679
827
|
_targetAddress: string,
|
|
680
|
-
overrides?: Overrides & { from?: string
|
|
828
|
+
overrides?: Overrides & { from?: string }
|
|
681
829
|
): Promise<ContractTransaction>;
|
|
682
830
|
|
|
683
831
|
cDaiAddress(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -686,7 +834,9 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
686
834
|
|
|
687
835
|
currentPrice(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
688
836
|
|
|
689
|
-
currentPriceDAI(
|
|
837
|
+
currentPriceDAI(
|
|
838
|
+
overrides?: CallOverrides
|
|
839
|
+
): Promise<[BigNumber] & { price: BigNumber }>;
|
|
690
840
|
|
|
691
841
|
daiAddress(overrides?: CallOverrides): Promise<[string]>;
|
|
692
842
|
|
|
@@ -697,7 +847,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
697
847
|
decreaseAllowance(
|
|
698
848
|
spender: string,
|
|
699
849
|
subtractedValue: BigNumberish,
|
|
700
|
-
overrides?: Overrides & { from?: string
|
|
850
|
+
overrides?: Overrides & { from?: string }
|
|
701
851
|
): Promise<ContractTransaction>;
|
|
702
852
|
|
|
703
853
|
discountDisabled(overrides?: CallOverrides): Promise<[boolean]>;
|
|
@@ -705,7 +855,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
705
855
|
distributionHelper(overrides?: CallOverrides): Promise<[string]>;
|
|
706
856
|
|
|
707
857
|
end(
|
|
708
|
-
overrides?: Overrides & { from?: string
|
|
858
|
+
overrides?: Overrides & { from?: string }
|
|
709
859
|
): Promise<ContractTransaction>;
|
|
710
860
|
|
|
711
861
|
gdxAirdrop(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -730,7 +880,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
730
880
|
grantRole(
|
|
731
881
|
role: BytesLike,
|
|
732
882
|
account: string,
|
|
733
|
-
overrides?: Overrides & { from?: string
|
|
883
|
+
overrides?: Overrides & { from?: string }
|
|
734
884
|
): Promise<ContractTransaction>;
|
|
735
885
|
|
|
736
886
|
hasRole(
|
|
@@ -742,19 +892,19 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
742
892
|
increaseAllowance(
|
|
743
893
|
spender: string,
|
|
744
894
|
addedValue: BigNumberish,
|
|
745
|
-
overrides?: Overrides & { from?: string
|
|
895
|
+
overrides?: Overrides & { from?: string }
|
|
746
896
|
): Promise<ContractTransaction>;
|
|
747
897
|
|
|
748
898
|
"initialize(string,string)"(
|
|
749
899
|
name: string,
|
|
750
900
|
symbol: string,
|
|
751
|
-
overrides?: Overrides & { from?: string
|
|
901
|
+
overrides?: Overrides & { from?: string }
|
|
752
902
|
): Promise<ContractTransaction>;
|
|
753
903
|
|
|
754
904
|
"initialize(address,bytes32)"(
|
|
755
905
|
_ns: string,
|
|
756
906
|
_gdxAirdrop: BytesLike,
|
|
757
|
-
overrides?: Overrides & { from?: string
|
|
907
|
+
overrides?: Overrides & { from?: string }
|
|
758
908
|
): Promise<ContractTransaction>;
|
|
759
909
|
|
|
760
910
|
isClaimedGDX(arg0: string, overrides?: CallOverrides): Promise<[boolean]>;
|
|
@@ -764,21 +914,21 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
764
914
|
mint(
|
|
765
915
|
to: string,
|
|
766
916
|
amount: BigNumberish,
|
|
767
|
-
overrides?: Overrides & { from?: string
|
|
917
|
+
overrides?: Overrides & { from?: string }
|
|
768
918
|
): Promise<ContractTransaction>;
|
|
769
919
|
|
|
770
920
|
mintRewardFromRR(
|
|
771
921
|
_token: string,
|
|
772
922
|
_to: string,
|
|
773
923
|
_amount: BigNumberish,
|
|
774
|
-
overrides?: Overrides & { from?: string
|
|
924
|
+
overrides?: Overrides & { from?: string }
|
|
775
925
|
): Promise<ContractTransaction>;
|
|
776
926
|
|
|
777
927
|
mintUBI(
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
overrides?: Overrides & { from?: string
|
|
928
|
+
arg0: BigNumberish,
|
|
929
|
+
arg1: BigNumberish,
|
|
930
|
+
arg2: string,
|
|
931
|
+
overrides?: Overrides & { from?: string }
|
|
782
932
|
): Promise<ContractTransaction>;
|
|
783
933
|
|
|
784
934
|
name(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -788,7 +938,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
788
938
|
nativeToken(overrides?: CallOverrides): Promise<[string]>;
|
|
789
939
|
|
|
790
940
|
pause(
|
|
791
|
-
overrides?: Overrides & { from?: string
|
|
941
|
+
overrides?: Overrides & { from?: string }
|
|
792
942
|
): Promise<ContractTransaction>;
|
|
793
943
|
|
|
794
944
|
paused(overrides?: CallOverrides): Promise<[boolean]>;
|
|
@@ -804,19 +954,19 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
804
954
|
|
|
805
955
|
recover(
|
|
806
956
|
_token: string,
|
|
807
|
-
overrides?: Overrides & { from?: string
|
|
957
|
+
overrides?: Overrides & { from?: string }
|
|
808
958
|
): Promise<ContractTransaction>;
|
|
809
959
|
|
|
810
960
|
renounceRole(
|
|
811
961
|
role: BytesLike,
|
|
812
962
|
account: string,
|
|
813
|
-
overrides?: Overrides & { from?: string
|
|
963
|
+
overrides?: Overrides & { from?: string }
|
|
814
964
|
): Promise<ContractTransaction>;
|
|
815
965
|
|
|
816
966
|
revokeRole(
|
|
817
967
|
role: BytesLike,
|
|
818
968
|
account: string,
|
|
819
|
-
overrides?: Overrides & { from?: string
|
|
969
|
+
overrides?: Overrides & { from?: string }
|
|
820
970
|
): Promise<ContractTransaction>;
|
|
821
971
|
|
|
822
972
|
sell(
|
|
@@ -824,28 +974,28 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
824
974
|
_minReturn: BigNumberish,
|
|
825
975
|
_target: string,
|
|
826
976
|
_seller: string,
|
|
827
|
-
overrides?: Overrides & { from?: string
|
|
977
|
+
overrides?: Overrides & { from?: string }
|
|
828
978
|
): Promise<ContractTransaction>;
|
|
829
979
|
|
|
830
980
|
setAddresses(
|
|
831
|
-
overrides?: Overrides & { from?: string
|
|
981
|
+
overrides?: Overrides & { from?: string }
|
|
832
982
|
): Promise<ContractTransaction>;
|
|
833
983
|
|
|
834
984
|
setDistributionHelper(
|
|
835
985
|
_helper: string,
|
|
836
|
-
overrides?: Overrides & { from?: string
|
|
986
|
+
overrides?: Overrides & { from?: string }
|
|
837
987
|
): Promise<ContractTransaction>;
|
|
838
988
|
|
|
839
989
|
setGDXDisabled(
|
|
840
990
|
_gdxDisabled: boolean,
|
|
841
991
|
_discountDisabled: boolean,
|
|
842
|
-
overrides?: Overrides & { from?: string
|
|
992
|
+
overrides?: Overrides & { from?: string }
|
|
843
993
|
): Promise<ContractTransaction>;
|
|
844
994
|
|
|
845
995
|
setReserveRatioDailyExpansion(
|
|
846
996
|
_nom: BigNumberish,
|
|
847
997
|
_denom: BigNumberish,
|
|
848
|
-
overrides?: Overrides & { from?: string
|
|
998
|
+
overrides?: Overrides & { from?: string }
|
|
849
999
|
): Promise<ContractTransaction>;
|
|
850
1000
|
|
|
851
1001
|
supportsInterface(
|
|
@@ -860,33 +1010,33 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
860
1010
|
transfer(
|
|
861
1011
|
to: string,
|
|
862
1012
|
amount: BigNumberish,
|
|
863
|
-
overrides?: Overrides & { from?: string
|
|
1013
|
+
overrides?: Overrides & { from?: string }
|
|
864
1014
|
): Promise<ContractTransaction>;
|
|
865
1015
|
|
|
866
1016
|
transferFrom(
|
|
867
1017
|
from: string,
|
|
868
1018
|
to: string,
|
|
869
1019
|
amount: BigNumberish,
|
|
870
|
-
overrides?: Overrides & { from?: string
|
|
1020
|
+
overrides?: Overrides & { from?: string }
|
|
871
1021
|
): Promise<ContractTransaction>;
|
|
872
1022
|
|
|
873
1023
|
unpause(
|
|
874
|
-
overrides?: Overrides & { from?: string
|
|
1024
|
+
overrides?: Overrides & { from?: string }
|
|
875
1025
|
): Promise<ContractTransaction>;
|
|
876
1026
|
|
|
877
1027
|
updateAvatar(
|
|
878
|
-
overrides?: Overrides & { from?: string
|
|
1028
|
+
overrides?: Overrides & { from?: string }
|
|
879
1029
|
): Promise<ContractTransaction>;
|
|
880
1030
|
|
|
881
1031
|
upgradeTo(
|
|
882
1032
|
newImplementation: string,
|
|
883
|
-
overrides?: Overrides & { from?: string
|
|
1033
|
+
overrides?: Overrides & { from?: string }
|
|
884
1034
|
): Promise<ContractTransaction>;
|
|
885
1035
|
|
|
886
1036
|
upgradeToAndCall(
|
|
887
1037
|
newImplementation: string,
|
|
888
1038
|
data: BytesLike,
|
|
889
|
-
overrides?: PayableOverrides & { from?: string
|
|
1039
|
+
overrides?: PayableOverrides & { from?: string }
|
|
890
1040
|
): Promise<ContractTransaction>;
|
|
891
1041
|
|
|
892
1042
|
when(overrides?: CallOverrides): Promise<[number]>;
|
|
@@ -900,6 +1050,8 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
900
1050
|
|
|
901
1051
|
RESERVE_MINTER_ROLE(overrides?: CallOverrides): Promise<string>;
|
|
902
1052
|
|
|
1053
|
+
aDaiAddress(overrides?: CallOverrides): Promise<string>;
|
|
1054
|
+
|
|
903
1055
|
allowance(
|
|
904
1056
|
owner: string,
|
|
905
1057
|
spender: string,
|
|
@@ -909,7 +1061,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
909
1061
|
approve(
|
|
910
1062
|
spender: string,
|
|
911
1063
|
amount: BigNumberish,
|
|
912
|
-
overrides?: Overrides & { from?: string
|
|
1064
|
+
overrides?: Overrides & { from?: string }
|
|
913
1065
|
): Promise<ContractTransaction>;
|
|
914
1066
|
|
|
915
1067
|
avatar(overrides?: CallOverrides): Promise<string>;
|
|
@@ -918,20 +1070,20 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
918
1070
|
|
|
919
1071
|
burn(
|
|
920
1072
|
amount: BigNumberish,
|
|
921
|
-
overrides?: Overrides & { from?: string
|
|
1073
|
+
overrides?: Overrides & { from?: string }
|
|
922
1074
|
): Promise<ContractTransaction>;
|
|
923
1075
|
|
|
924
1076
|
burnFrom(
|
|
925
1077
|
account: string,
|
|
926
1078
|
amount: BigNumberish,
|
|
927
|
-
overrides?: Overrides & { from?: string
|
|
1079
|
+
overrides?: Overrides & { from?: string }
|
|
928
1080
|
): Promise<ContractTransaction>;
|
|
929
1081
|
|
|
930
1082
|
buy(
|
|
931
1083
|
_tokenAmount: BigNumberish,
|
|
932
1084
|
_minReturn: BigNumberish,
|
|
933
1085
|
_targetAddress: string,
|
|
934
|
-
overrides?: Overrides & { from?: string
|
|
1086
|
+
overrides?: Overrides & { from?: string }
|
|
935
1087
|
): Promise<ContractTransaction>;
|
|
936
1088
|
|
|
937
1089
|
cDaiAddress(overrides?: CallOverrides): Promise<string>;
|
|
@@ -951,16 +1103,14 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
951
1103
|
decreaseAllowance(
|
|
952
1104
|
spender: string,
|
|
953
1105
|
subtractedValue: BigNumberish,
|
|
954
|
-
overrides?: Overrides & { from?: string
|
|
1106
|
+
overrides?: Overrides & { from?: string }
|
|
955
1107
|
): Promise<ContractTransaction>;
|
|
956
1108
|
|
|
957
1109
|
discountDisabled(overrides?: CallOverrides): Promise<boolean>;
|
|
958
1110
|
|
|
959
1111
|
distributionHelper(overrides?: CallOverrides): Promise<string>;
|
|
960
1112
|
|
|
961
|
-
end(
|
|
962
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
963
|
-
): Promise<ContractTransaction>;
|
|
1113
|
+
end(overrides?: Overrides & { from?: string }): Promise<ContractTransaction>;
|
|
964
1114
|
|
|
965
1115
|
gdxAirdrop(overrides?: CallOverrides): Promise<string>;
|
|
966
1116
|
|
|
@@ -984,7 +1134,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
984
1134
|
grantRole(
|
|
985
1135
|
role: BytesLike,
|
|
986
1136
|
account: string,
|
|
987
|
-
overrides?: Overrides & { from?: string
|
|
1137
|
+
overrides?: Overrides & { from?: string }
|
|
988
1138
|
): Promise<ContractTransaction>;
|
|
989
1139
|
|
|
990
1140
|
hasRole(
|
|
@@ -996,19 +1146,19 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
996
1146
|
increaseAllowance(
|
|
997
1147
|
spender: string,
|
|
998
1148
|
addedValue: BigNumberish,
|
|
999
|
-
overrides?: Overrides & { from?: string
|
|
1149
|
+
overrides?: Overrides & { from?: string }
|
|
1000
1150
|
): Promise<ContractTransaction>;
|
|
1001
1151
|
|
|
1002
1152
|
"initialize(string,string)"(
|
|
1003
1153
|
name: string,
|
|
1004
1154
|
symbol: string,
|
|
1005
|
-
overrides?: Overrides & { from?: string
|
|
1155
|
+
overrides?: Overrides & { from?: string }
|
|
1006
1156
|
): Promise<ContractTransaction>;
|
|
1007
1157
|
|
|
1008
1158
|
"initialize(address,bytes32)"(
|
|
1009
1159
|
_ns: string,
|
|
1010
1160
|
_gdxAirdrop: BytesLike,
|
|
1011
|
-
overrides?: Overrides & { from?: string
|
|
1161
|
+
overrides?: Overrides & { from?: string }
|
|
1012
1162
|
): Promise<ContractTransaction>;
|
|
1013
1163
|
|
|
1014
1164
|
isClaimedGDX(arg0: string, overrides?: CallOverrides): Promise<boolean>;
|
|
@@ -1018,21 +1168,21 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1018
1168
|
mint(
|
|
1019
1169
|
to: string,
|
|
1020
1170
|
amount: BigNumberish,
|
|
1021
|
-
overrides?: Overrides & { from?: string
|
|
1171
|
+
overrides?: Overrides & { from?: string }
|
|
1022
1172
|
): Promise<ContractTransaction>;
|
|
1023
1173
|
|
|
1024
1174
|
mintRewardFromRR(
|
|
1025
1175
|
_token: string,
|
|
1026
1176
|
_to: string,
|
|
1027
1177
|
_amount: BigNumberish,
|
|
1028
|
-
overrides?: Overrides & { from?: string
|
|
1178
|
+
overrides?: Overrides & { from?: string }
|
|
1029
1179
|
): Promise<ContractTransaction>;
|
|
1030
1180
|
|
|
1031
1181
|
mintUBI(
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
overrides?: Overrides & { from?: string
|
|
1182
|
+
arg0: BigNumberish,
|
|
1183
|
+
arg1: BigNumberish,
|
|
1184
|
+
arg2: string,
|
|
1185
|
+
overrides?: Overrides & { from?: string }
|
|
1036
1186
|
): Promise<ContractTransaction>;
|
|
1037
1187
|
|
|
1038
1188
|
name(overrides?: CallOverrides): Promise<string>;
|
|
@@ -1042,7 +1192,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1042
1192
|
nativeToken(overrides?: CallOverrides): Promise<string>;
|
|
1043
1193
|
|
|
1044
1194
|
pause(
|
|
1045
|
-
overrides?: Overrides & { from?: string
|
|
1195
|
+
overrides?: Overrides & { from?: string }
|
|
1046
1196
|
): Promise<ContractTransaction>;
|
|
1047
1197
|
|
|
1048
1198
|
paused(overrides?: CallOverrides): Promise<boolean>;
|
|
@@ -1058,19 +1208,19 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1058
1208
|
|
|
1059
1209
|
recover(
|
|
1060
1210
|
_token: string,
|
|
1061
|
-
overrides?: Overrides & { from?: string
|
|
1211
|
+
overrides?: Overrides & { from?: string }
|
|
1062
1212
|
): Promise<ContractTransaction>;
|
|
1063
1213
|
|
|
1064
1214
|
renounceRole(
|
|
1065
1215
|
role: BytesLike,
|
|
1066
1216
|
account: string,
|
|
1067
|
-
overrides?: Overrides & { from?: string
|
|
1217
|
+
overrides?: Overrides & { from?: string }
|
|
1068
1218
|
): Promise<ContractTransaction>;
|
|
1069
1219
|
|
|
1070
1220
|
revokeRole(
|
|
1071
1221
|
role: BytesLike,
|
|
1072
1222
|
account: string,
|
|
1073
|
-
overrides?: Overrides & { from?: string
|
|
1223
|
+
overrides?: Overrides & { from?: string }
|
|
1074
1224
|
): Promise<ContractTransaction>;
|
|
1075
1225
|
|
|
1076
1226
|
sell(
|
|
@@ -1078,28 +1228,28 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1078
1228
|
_minReturn: BigNumberish,
|
|
1079
1229
|
_target: string,
|
|
1080
1230
|
_seller: string,
|
|
1081
|
-
overrides?: Overrides & { from?: string
|
|
1231
|
+
overrides?: Overrides & { from?: string }
|
|
1082
1232
|
): Promise<ContractTransaction>;
|
|
1083
1233
|
|
|
1084
1234
|
setAddresses(
|
|
1085
|
-
overrides?: Overrides & { from?: string
|
|
1235
|
+
overrides?: Overrides & { from?: string }
|
|
1086
1236
|
): Promise<ContractTransaction>;
|
|
1087
1237
|
|
|
1088
1238
|
setDistributionHelper(
|
|
1089
1239
|
_helper: string,
|
|
1090
|
-
overrides?: Overrides & { from?: string
|
|
1240
|
+
overrides?: Overrides & { from?: string }
|
|
1091
1241
|
): Promise<ContractTransaction>;
|
|
1092
1242
|
|
|
1093
1243
|
setGDXDisabled(
|
|
1094
1244
|
_gdxDisabled: boolean,
|
|
1095
1245
|
_discountDisabled: boolean,
|
|
1096
|
-
overrides?: Overrides & { from?: string
|
|
1246
|
+
overrides?: Overrides & { from?: string }
|
|
1097
1247
|
): Promise<ContractTransaction>;
|
|
1098
1248
|
|
|
1099
1249
|
setReserveRatioDailyExpansion(
|
|
1100
1250
|
_nom: BigNumberish,
|
|
1101
1251
|
_denom: BigNumberish,
|
|
1102
|
-
overrides?: Overrides & { from?: string
|
|
1252
|
+
overrides?: Overrides & { from?: string }
|
|
1103
1253
|
): Promise<ContractTransaction>;
|
|
1104
1254
|
|
|
1105
1255
|
supportsInterface(
|
|
@@ -1114,33 +1264,33 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1114
1264
|
transfer(
|
|
1115
1265
|
to: string,
|
|
1116
1266
|
amount: BigNumberish,
|
|
1117
|
-
overrides?: Overrides & { from?: string
|
|
1267
|
+
overrides?: Overrides & { from?: string }
|
|
1118
1268
|
): Promise<ContractTransaction>;
|
|
1119
1269
|
|
|
1120
1270
|
transferFrom(
|
|
1121
1271
|
from: string,
|
|
1122
1272
|
to: string,
|
|
1123
1273
|
amount: BigNumberish,
|
|
1124
|
-
overrides?: Overrides & { from?: string
|
|
1274
|
+
overrides?: Overrides & { from?: string }
|
|
1125
1275
|
): Promise<ContractTransaction>;
|
|
1126
1276
|
|
|
1127
1277
|
unpause(
|
|
1128
|
-
overrides?: Overrides & { from?: string
|
|
1278
|
+
overrides?: Overrides & { from?: string }
|
|
1129
1279
|
): Promise<ContractTransaction>;
|
|
1130
1280
|
|
|
1131
1281
|
updateAvatar(
|
|
1132
|
-
overrides?: Overrides & { from?: string
|
|
1282
|
+
overrides?: Overrides & { from?: string }
|
|
1133
1283
|
): Promise<ContractTransaction>;
|
|
1134
1284
|
|
|
1135
1285
|
upgradeTo(
|
|
1136
1286
|
newImplementation: string,
|
|
1137
|
-
overrides?: Overrides & { from?: string
|
|
1287
|
+
overrides?: Overrides & { from?: string }
|
|
1138
1288
|
): Promise<ContractTransaction>;
|
|
1139
1289
|
|
|
1140
1290
|
upgradeToAndCall(
|
|
1141
1291
|
newImplementation: string,
|
|
1142
1292
|
data: BytesLike,
|
|
1143
|
-
overrides?: PayableOverrides & { from?: string
|
|
1293
|
+
overrides?: PayableOverrides & { from?: string }
|
|
1144
1294
|
): Promise<ContractTransaction>;
|
|
1145
1295
|
|
|
1146
1296
|
when(overrides?: CallOverrides): Promise<number>;
|
|
@@ -1154,6 +1304,8 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1154
1304
|
|
|
1155
1305
|
RESERVE_MINTER_ROLE(overrides?: CallOverrides): Promise<string>;
|
|
1156
1306
|
|
|
1307
|
+
aDaiAddress(overrides?: CallOverrides): Promise<string>;
|
|
1308
|
+
|
|
1157
1309
|
allowance(
|
|
1158
1310
|
owner: string,
|
|
1159
1311
|
spender: string,
|
|
@@ -1278,9 +1430,9 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1278
1430
|
): Promise<void>;
|
|
1279
1431
|
|
|
1280
1432
|
mintUBI(
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1433
|
+
arg0: BigNumberish,
|
|
1434
|
+
arg1: BigNumberish,
|
|
1435
|
+
arg2: string,
|
|
1284
1436
|
overrides?: CallOverrides
|
|
1285
1437
|
): Promise<[BigNumber, BigNumber]>;
|
|
1286
1438
|
|
|
@@ -1545,6 +1697,8 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1545
1697
|
|
|
1546
1698
|
RESERVE_MINTER_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1547
1699
|
|
|
1700
|
+
aDaiAddress(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1701
|
+
|
|
1548
1702
|
allowance(
|
|
1549
1703
|
owner: string,
|
|
1550
1704
|
spender: string,
|
|
@@ -1554,7 +1708,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1554
1708
|
approve(
|
|
1555
1709
|
spender: string,
|
|
1556
1710
|
amount: BigNumberish,
|
|
1557
|
-
overrides?: Overrides & { from?: string
|
|
1711
|
+
overrides?: Overrides & { from?: string }
|
|
1558
1712
|
): Promise<BigNumber>;
|
|
1559
1713
|
|
|
1560
1714
|
avatar(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1563,20 +1717,20 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1563
1717
|
|
|
1564
1718
|
burn(
|
|
1565
1719
|
amount: BigNumberish,
|
|
1566
|
-
overrides?: Overrides & { from?: string
|
|
1720
|
+
overrides?: Overrides & { from?: string }
|
|
1567
1721
|
): Promise<BigNumber>;
|
|
1568
1722
|
|
|
1569
1723
|
burnFrom(
|
|
1570
1724
|
account: string,
|
|
1571
1725
|
amount: BigNumberish,
|
|
1572
|
-
overrides?: Overrides & { from?: string
|
|
1726
|
+
overrides?: Overrides & { from?: string }
|
|
1573
1727
|
): Promise<BigNumber>;
|
|
1574
1728
|
|
|
1575
1729
|
buy(
|
|
1576
1730
|
_tokenAmount: BigNumberish,
|
|
1577
1731
|
_minReturn: BigNumberish,
|
|
1578
1732
|
_targetAddress: string,
|
|
1579
|
-
overrides?: Overrides & { from?: string
|
|
1733
|
+
overrides?: Overrides & { from?: string }
|
|
1580
1734
|
): Promise<BigNumber>;
|
|
1581
1735
|
|
|
1582
1736
|
cDaiAddress(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1596,16 +1750,14 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1596
1750
|
decreaseAllowance(
|
|
1597
1751
|
spender: string,
|
|
1598
1752
|
subtractedValue: BigNumberish,
|
|
1599
|
-
overrides?: Overrides & { from?: string
|
|
1753
|
+
overrides?: Overrides & { from?: string }
|
|
1600
1754
|
): Promise<BigNumber>;
|
|
1601
1755
|
|
|
1602
1756
|
discountDisabled(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1603
1757
|
|
|
1604
1758
|
distributionHelper(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1605
1759
|
|
|
1606
|
-
end(
|
|
1607
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1608
|
-
): Promise<BigNumber>;
|
|
1760
|
+
end(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
|
|
1609
1761
|
|
|
1610
1762
|
gdxAirdrop(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1611
1763
|
|
|
@@ -1632,7 +1784,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1632
1784
|
grantRole(
|
|
1633
1785
|
role: BytesLike,
|
|
1634
1786
|
account: string,
|
|
1635
|
-
overrides?: Overrides & { from?: string
|
|
1787
|
+
overrides?: Overrides & { from?: string }
|
|
1636
1788
|
): Promise<BigNumber>;
|
|
1637
1789
|
|
|
1638
1790
|
hasRole(
|
|
@@ -1644,19 +1796,19 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1644
1796
|
increaseAllowance(
|
|
1645
1797
|
spender: string,
|
|
1646
1798
|
addedValue: BigNumberish,
|
|
1647
|
-
overrides?: Overrides & { from?: string
|
|
1799
|
+
overrides?: Overrides & { from?: string }
|
|
1648
1800
|
): Promise<BigNumber>;
|
|
1649
1801
|
|
|
1650
1802
|
"initialize(string,string)"(
|
|
1651
1803
|
name: string,
|
|
1652
1804
|
symbol: string,
|
|
1653
|
-
overrides?: Overrides & { from?: string
|
|
1805
|
+
overrides?: Overrides & { from?: string }
|
|
1654
1806
|
): Promise<BigNumber>;
|
|
1655
1807
|
|
|
1656
1808
|
"initialize(address,bytes32)"(
|
|
1657
1809
|
_ns: string,
|
|
1658
1810
|
_gdxAirdrop: BytesLike,
|
|
1659
|
-
overrides?: Overrides & { from?: string
|
|
1811
|
+
overrides?: Overrides & { from?: string }
|
|
1660
1812
|
): Promise<BigNumber>;
|
|
1661
1813
|
|
|
1662
1814
|
isClaimedGDX(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1666,21 +1818,21 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1666
1818
|
mint(
|
|
1667
1819
|
to: string,
|
|
1668
1820
|
amount: BigNumberish,
|
|
1669
|
-
overrides?: Overrides & { from?: string
|
|
1821
|
+
overrides?: Overrides & { from?: string }
|
|
1670
1822
|
): Promise<BigNumber>;
|
|
1671
1823
|
|
|
1672
1824
|
mintRewardFromRR(
|
|
1673
1825
|
_token: string,
|
|
1674
1826
|
_to: string,
|
|
1675
1827
|
_amount: BigNumberish,
|
|
1676
|
-
overrides?: Overrides & { from?: string
|
|
1828
|
+
overrides?: Overrides & { from?: string }
|
|
1677
1829
|
): Promise<BigNumber>;
|
|
1678
1830
|
|
|
1679
1831
|
mintUBI(
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
overrides?: Overrides & { from?: string
|
|
1832
|
+
arg0: BigNumberish,
|
|
1833
|
+
arg1: BigNumberish,
|
|
1834
|
+
arg2: string,
|
|
1835
|
+
overrides?: Overrides & { from?: string }
|
|
1684
1836
|
): Promise<BigNumber>;
|
|
1685
1837
|
|
|
1686
1838
|
name(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1689,9 +1841,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1689
1841
|
|
|
1690
1842
|
nativeToken(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1691
1843
|
|
|
1692
|
-
pause(
|
|
1693
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1694
|
-
): Promise<BigNumber>;
|
|
1844
|
+
pause(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
|
|
1695
1845
|
|
|
1696
1846
|
paused(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1697
1847
|
|
|
@@ -1706,19 +1856,19 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1706
1856
|
|
|
1707
1857
|
recover(
|
|
1708
1858
|
_token: string,
|
|
1709
|
-
overrides?: Overrides & { from?: string
|
|
1859
|
+
overrides?: Overrides & { from?: string }
|
|
1710
1860
|
): Promise<BigNumber>;
|
|
1711
1861
|
|
|
1712
1862
|
renounceRole(
|
|
1713
1863
|
role: BytesLike,
|
|
1714
1864
|
account: string,
|
|
1715
|
-
overrides?: Overrides & { from?: string
|
|
1865
|
+
overrides?: Overrides & { from?: string }
|
|
1716
1866
|
): Promise<BigNumber>;
|
|
1717
1867
|
|
|
1718
1868
|
revokeRole(
|
|
1719
1869
|
role: BytesLike,
|
|
1720
1870
|
account: string,
|
|
1721
|
-
overrides?: Overrides & { from?: string
|
|
1871
|
+
overrides?: Overrides & { from?: string }
|
|
1722
1872
|
): Promise<BigNumber>;
|
|
1723
1873
|
|
|
1724
1874
|
sell(
|
|
@@ -1726,28 +1876,26 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1726
1876
|
_minReturn: BigNumberish,
|
|
1727
1877
|
_target: string,
|
|
1728
1878
|
_seller: string,
|
|
1729
|
-
overrides?: Overrides & { from?: string
|
|
1879
|
+
overrides?: Overrides & { from?: string }
|
|
1730
1880
|
): Promise<BigNumber>;
|
|
1731
1881
|
|
|
1732
|
-
setAddresses(
|
|
1733
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1734
|
-
): Promise<BigNumber>;
|
|
1882
|
+
setAddresses(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
|
|
1735
1883
|
|
|
1736
1884
|
setDistributionHelper(
|
|
1737
1885
|
_helper: string,
|
|
1738
|
-
overrides?: Overrides & { from?: string
|
|
1886
|
+
overrides?: Overrides & { from?: string }
|
|
1739
1887
|
): Promise<BigNumber>;
|
|
1740
1888
|
|
|
1741
1889
|
setGDXDisabled(
|
|
1742
1890
|
_gdxDisabled: boolean,
|
|
1743
1891
|
_discountDisabled: boolean,
|
|
1744
|
-
overrides?: Overrides & { from?: string
|
|
1892
|
+
overrides?: Overrides & { from?: string }
|
|
1745
1893
|
): Promise<BigNumber>;
|
|
1746
1894
|
|
|
1747
1895
|
setReserveRatioDailyExpansion(
|
|
1748
1896
|
_nom: BigNumberish,
|
|
1749
1897
|
_denom: BigNumberish,
|
|
1750
|
-
overrides?: Overrides & { from?: string
|
|
1898
|
+
overrides?: Overrides & { from?: string }
|
|
1751
1899
|
): Promise<BigNumber>;
|
|
1752
1900
|
|
|
1753
1901
|
supportsInterface(
|
|
@@ -1762,33 +1910,29 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1762
1910
|
transfer(
|
|
1763
1911
|
to: string,
|
|
1764
1912
|
amount: BigNumberish,
|
|
1765
|
-
overrides?: Overrides & { from?: string
|
|
1913
|
+
overrides?: Overrides & { from?: string }
|
|
1766
1914
|
): Promise<BigNumber>;
|
|
1767
1915
|
|
|
1768
1916
|
transferFrom(
|
|
1769
1917
|
from: string,
|
|
1770
1918
|
to: string,
|
|
1771
1919
|
amount: BigNumberish,
|
|
1772
|
-
overrides?: Overrides & { from?: string
|
|
1920
|
+
overrides?: Overrides & { from?: string }
|
|
1773
1921
|
): Promise<BigNumber>;
|
|
1774
1922
|
|
|
1775
|
-
unpause(
|
|
1776
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1777
|
-
): Promise<BigNumber>;
|
|
1923
|
+
unpause(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
|
|
1778
1924
|
|
|
1779
|
-
updateAvatar(
|
|
1780
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1781
|
-
): Promise<BigNumber>;
|
|
1925
|
+
updateAvatar(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
|
|
1782
1926
|
|
|
1783
1927
|
upgradeTo(
|
|
1784
1928
|
newImplementation: string,
|
|
1785
|
-
overrides?: Overrides & { from?: string
|
|
1929
|
+
overrides?: Overrides & { from?: string }
|
|
1786
1930
|
): Promise<BigNumber>;
|
|
1787
1931
|
|
|
1788
1932
|
upgradeToAndCall(
|
|
1789
1933
|
newImplementation: string,
|
|
1790
1934
|
data: BytesLike,
|
|
1791
|
-
overrides?: PayableOverrides & { from?: string
|
|
1935
|
+
overrides?: PayableOverrides & { from?: string }
|
|
1792
1936
|
): Promise<BigNumber>;
|
|
1793
1937
|
|
|
1794
1938
|
when(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1807,6 +1951,8 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1807
1951
|
overrides?: CallOverrides
|
|
1808
1952
|
): Promise<PopulatedTransaction>;
|
|
1809
1953
|
|
|
1954
|
+
aDaiAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1955
|
+
|
|
1810
1956
|
allowance(
|
|
1811
1957
|
owner: string,
|
|
1812
1958
|
spender: string,
|
|
@@ -1816,7 +1962,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1816
1962
|
approve(
|
|
1817
1963
|
spender: string,
|
|
1818
1964
|
amount: BigNumberish,
|
|
1819
|
-
overrides?: Overrides & { from?: string
|
|
1965
|
+
overrides?: Overrides & { from?: string }
|
|
1820
1966
|
): Promise<PopulatedTransaction>;
|
|
1821
1967
|
|
|
1822
1968
|
avatar(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1828,20 +1974,20 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1828
1974
|
|
|
1829
1975
|
burn(
|
|
1830
1976
|
amount: BigNumberish,
|
|
1831
|
-
overrides?: Overrides & { from?: string
|
|
1977
|
+
overrides?: Overrides & { from?: string }
|
|
1832
1978
|
): Promise<PopulatedTransaction>;
|
|
1833
1979
|
|
|
1834
1980
|
burnFrom(
|
|
1835
1981
|
account: string,
|
|
1836
1982
|
amount: BigNumberish,
|
|
1837
|
-
overrides?: Overrides & { from?: string
|
|
1983
|
+
overrides?: Overrides & { from?: string }
|
|
1838
1984
|
): Promise<PopulatedTransaction>;
|
|
1839
1985
|
|
|
1840
1986
|
buy(
|
|
1841
1987
|
_tokenAmount: BigNumberish,
|
|
1842
1988
|
_minReturn: BigNumberish,
|
|
1843
1989
|
_targetAddress: string,
|
|
1844
|
-
overrides?: Overrides & { from?: string
|
|
1990
|
+
overrides?: Overrides & { from?: string }
|
|
1845
1991
|
): Promise<PopulatedTransaction>;
|
|
1846
1992
|
|
|
1847
1993
|
cDaiAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1861,7 +2007,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1861
2007
|
decreaseAllowance(
|
|
1862
2008
|
spender: string,
|
|
1863
2009
|
subtractedValue: BigNumberish,
|
|
1864
|
-
overrides?: Overrides & { from?: string
|
|
2010
|
+
overrides?: Overrides & { from?: string }
|
|
1865
2011
|
): Promise<PopulatedTransaction>;
|
|
1866
2012
|
|
|
1867
2013
|
discountDisabled(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1871,7 +2017,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1871
2017
|
): Promise<PopulatedTransaction>;
|
|
1872
2018
|
|
|
1873
2019
|
end(
|
|
1874
|
-
overrides?: Overrides & { from?: string
|
|
2020
|
+
overrides?: Overrides & { from?: string }
|
|
1875
2021
|
): Promise<PopulatedTransaction>;
|
|
1876
2022
|
|
|
1877
2023
|
gdxAirdrop(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1899,7 +2045,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1899
2045
|
grantRole(
|
|
1900
2046
|
role: BytesLike,
|
|
1901
2047
|
account: string,
|
|
1902
|
-
overrides?: Overrides & { from?: string
|
|
2048
|
+
overrides?: Overrides & { from?: string }
|
|
1903
2049
|
): Promise<PopulatedTransaction>;
|
|
1904
2050
|
|
|
1905
2051
|
hasRole(
|
|
@@ -1911,19 +2057,19 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1911
2057
|
increaseAllowance(
|
|
1912
2058
|
spender: string,
|
|
1913
2059
|
addedValue: BigNumberish,
|
|
1914
|
-
overrides?: Overrides & { from?: string
|
|
2060
|
+
overrides?: Overrides & { from?: string }
|
|
1915
2061
|
): Promise<PopulatedTransaction>;
|
|
1916
2062
|
|
|
1917
2063
|
"initialize(string,string)"(
|
|
1918
2064
|
name: string,
|
|
1919
2065
|
symbol: string,
|
|
1920
|
-
overrides?: Overrides & { from?: string
|
|
2066
|
+
overrides?: Overrides & { from?: string }
|
|
1921
2067
|
): Promise<PopulatedTransaction>;
|
|
1922
2068
|
|
|
1923
2069
|
"initialize(address,bytes32)"(
|
|
1924
2070
|
_ns: string,
|
|
1925
2071
|
_gdxAirdrop: BytesLike,
|
|
1926
|
-
overrides?: Overrides & { from?: string
|
|
2072
|
+
overrides?: Overrides & { from?: string }
|
|
1927
2073
|
): Promise<PopulatedTransaction>;
|
|
1928
2074
|
|
|
1929
2075
|
isClaimedGDX(
|
|
@@ -1936,21 +2082,21 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1936
2082
|
mint(
|
|
1937
2083
|
to: string,
|
|
1938
2084
|
amount: BigNumberish,
|
|
1939
|
-
overrides?: Overrides & { from?: string
|
|
2085
|
+
overrides?: Overrides & { from?: string }
|
|
1940
2086
|
): Promise<PopulatedTransaction>;
|
|
1941
2087
|
|
|
1942
2088
|
mintRewardFromRR(
|
|
1943
2089
|
_token: string,
|
|
1944
2090
|
_to: string,
|
|
1945
2091
|
_amount: BigNumberish,
|
|
1946
|
-
overrides?: Overrides & { from?: string
|
|
2092
|
+
overrides?: Overrides & { from?: string }
|
|
1947
2093
|
): Promise<PopulatedTransaction>;
|
|
1948
2094
|
|
|
1949
2095
|
mintUBI(
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
overrides?: Overrides & { from?: string
|
|
2096
|
+
arg0: BigNumberish,
|
|
2097
|
+
arg1: BigNumberish,
|
|
2098
|
+
arg2: string,
|
|
2099
|
+
overrides?: Overrides & { from?: string }
|
|
1954
2100
|
): Promise<PopulatedTransaction>;
|
|
1955
2101
|
|
|
1956
2102
|
name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1960,7 +2106,7 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1960
2106
|
nativeToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1961
2107
|
|
|
1962
2108
|
pause(
|
|
1963
|
-
overrides?: Overrides & { from?: string
|
|
2109
|
+
overrides?: Overrides & { from?: string }
|
|
1964
2110
|
): Promise<PopulatedTransaction>;
|
|
1965
2111
|
|
|
1966
2112
|
paused(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
@@ -1976,19 +2122,19 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1976
2122
|
|
|
1977
2123
|
recover(
|
|
1978
2124
|
_token: string,
|
|
1979
|
-
overrides?: Overrides & { from?: string
|
|
2125
|
+
overrides?: Overrides & { from?: string }
|
|
1980
2126
|
): Promise<PopulatedTransaction>;
|
|
1981
2127
|
|
|
1982
2128
|
renounceRole(
|
|
1983
2129
|
role: BytesLike,
|
|
1984
2130
|
account: string,
|
|
1985
|
-
overrides?: Overrides & { from?: string
|
|
2131
|
+
overrides?: Overrides & { from?: string }
|
|
1986
2132
|
): Promise<PopulatedTransaction>;
|
|
1987
2133
|
|
|
1988
2134
|
revokeRole(
|
|
1989
2135
|
role: BytesLike,
|
|
1990
2136
|
account: string,
|
|
1991
|
-
overrides?: Overrides & { from?: string
|
|
2137
|
+
overrides?: Overrides & { from?: string }
|
|
1992
2138
|
): Promise<PopulatedTransaction>;
|
|
1993
2139
|
|
|
1994
2140
|
sell(
|
|
@@ -1996,28 +2142,28 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
1996
2142
|
_minReturn: BigNumberish,
|
|
1997
2143
|
_target: string,
|
|
1998
2144
|
_seller: string,
|
|
1999
|
-
overrides?: Overrides & { from?: string
|
|
2145
|
+
overrides?: Overrides & { from?: string }
|
|
2000
2146
|
): Promise<PopulatedTransaction>;
|
|
2001
2147
|
|
|
2002
2148
|
setAddresses(
|
|
2003
|
-
overrides?: Overrides & { from?: string
|
|
2149
|
+
overrides?: Overrides & { from?: string }
|
|
2004
2150
|
): Promise<PopulatedTransaction>;
|
|
2005
2151
|
|
|
2006
2152
|
setDistributionHelper(
|
|
2007
2153
|
_helper: string,
|
|
2008
|
-
overrides?: Overrides & { from?: string
|
|
2154
|
+
overrides?: Overrides & { from?: string }
|
|
2009
2155
|
): Promise<PopulatedTransaction>;
|
|
2010
2156
|
|
|
2011
2157
|
setGDXDisabled(
|
|
2012
2158
|
_gdxDisabled: boolean,
|
|
2013
2159
|
_discountDisabled: boolean,
|
|
2014
|
-
overrides?: Overrides & { from?: string
|
|
2160
|
+
overrides?: Overrides & { from?: string }
|
|
2015
2161
|
): Promise<PopulatedTransaction>;
|
|
2016
2162
|
|
|
2017
2163
|
setReserveRatioDailyExpansion(
|
|
2018
2164
|
_nom: BigNumberish,
|
|
2019
2165
|
_denom: BigNumberish,
|
|
2020
|
-
overrides?: Overrides & { from?: string
|
|
2166
|
+
overrides?: Overrides & { from?: string }
|
|
2021
2167
|
): Promise<PopulatedTransaction>;
|
|
2022
2168
|
|
|
2023
2169
|
supportsInterface(
|
|
@@ -2032,33 +2178,33 @@ export interface GoodReserveCDai extends BaseContract {
|
|
|
2032
2178
|
transfer(
|
|
2033
2179
|
to: string,
|
|
2034
2180
|
amount: BigNumberish,
|
|
2035
|
-
overrides?: Overrides & { from?: string
|
|
2181
|
+
overrides?: Overrides & { from?: string }
|
|
2036
2182
|
): Promise<PopulatedTransaction>;
|
|
2037
2183
|
|
|
2038
2184
|
transferFrom(
|
|
2039
2185
|
from: string,
|
|
2040
2186
|
to: string,
|
|
2041
2187
|
amount: BigNumberish,
|
|
2042
|
-
overrides?: Overrides & { from?: string
|
|
2188
|
+
overrides?: Overrides & { from?: string }
|
|
2043
2189
|
): Promise<PopulatedTransaction>;
|
|
2044
2190
|
|
|
2045
2191
|
unpause(
|
|
2046
|
-
overrides?: Overrides & { from?: string
|
|
2192
|
+
overrides?: Overrides & { from?: string }
|
|
2047
2193
|
): Promise<PopulatedTransaction>;
|
|
2048
2194
|
|
|
2049
2195
|
updateAvatar(
|
|
2050
|
-
overrides?: Overrides & { from?: string
|
|
2196
|
+
overrides?: Overrides & { from?: string }
|
|
2051
2197
|
): Promise<PopulatedTransaction>;
|
|
2052
2198
|
|
|
2053
2199
|
upgradeTo(
|
|
2054
2200
|
newImplementation: string,
|
|
2055
|
-
overrides?: Overrides & { from?: string
|
|
2201
|
+
overrides?: Overrides & { from?: string }
|
|
2056
2202
|
): Promise<PopulatedTransaction>;
|
|
2057
2203
|
|
|
2058
2204
|
upgradeToAndCall(
|
|
2059
2205
|
newImplementation: string,
|
|
2060
2206
|
data: BytesLike,
|
|
2061
|
-
overrides?: PayableOverrides & { from?: string
|
|
2207
|
+
overrides?: PayableOverrides & { from?: string }
|
|
2062
2208
|
): Promise<PopulatedTransaction>;
|
|
2063
2209
|
|
|
2064
2210
|
when(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|