@gooddollar/goodprotocol 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/artifacts/abis/Faucet.min.json +1 -1
- package/artifacts/abis/FuseFaucetV2.min.json +1 -1
- package/artifacts/abis/UBISchemeV2.min.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Avatar.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Controller.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/IntVoteInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/ReputationInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/SchemeRegistrar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/AggregatorV3Interface.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ERC20.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAaveIncentivesController.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAdminWallet.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IDonationStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IERC2917.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IFirstClaimPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IHasRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentity.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentityV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IMultichainRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IQuoterV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ISwapRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IUBIScheme.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ProxyAdmin.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Reserve.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Uniswap.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapFactory.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapPair.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/cERC20.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBancorExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBroker.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExpansionController.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IMentoReserve.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/ITradingLimits.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.json +2 -34
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.json +2 -34
- package/artifacts/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.dbg.json +1 -1
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
- package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IGovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IStakingUpgrade.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/RewardsMinter.dbg.json +1 -1
- package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/MultiBaseGovernanceShareField.sol/MultiBaseGovernanceShareField.dbg.json +1 -1
- package/artifacts/contracts/governance/Reputation.sol/Reputation.dbg.json +1 -1
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV3.sol/IdentityV3.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesFuseV2.sol/InvitesFuseV2.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV2.sol/InvitesV2.dbg.json +1 -1
- package/artifacts/contracts/invite/OneTimeReward.sol/OneTimeReward.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionBridgeMock.sol/DistributionBridgeMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodDollarStakingMock.sol/GoodDollarStakingMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/IdentityMock.sol/IdentityMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/IWrapper.dbg.json +1 -1
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/MultichainRouterMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/IGoodDollarStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/OverMintTester.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
- package/artifacts/contracts/mocks/PayableMock.sol/PayableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/StakingMockFixedAPY.sol/StakingMockFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
- package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
- package/artifacts/contracts/reserve/CeloDistributionHelper.sol/CeloDistributionHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/DistributionHelper.sol/DistributionHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/IConsensus.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/PegSwap.dbg.json +1 -1
- package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/Math64X64.sol/Math64x64.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/StakingRewardsFixedAPY.sol/StakingRewardsFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/token/ERC20PresetMinterPauserUpgradeable.sol/ERC20PresetMinterPauserUpgradeable.dbg.json +1 -1
- package/artifacts/contracts/token/ERC677.sol/ERC677.dbg.json +1 -1
- package/artifacts/contracts/token/ERC677.sol/ERC677Receiver.dbg.json +1 -1
- package/artifacts/contracts/token/GoodDollar.sol/GoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/GoodDollar2.sol/GoodDollar2.dbg.json +1 -1
- package/artifacts/contracts/token/IFeesFormula.sol/IFeesFormula.dbg.json +1 -1
- package/artifacts/contracts/token/MultichainFeeFormula.sol/MultichainFeeFormula.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/SelfApprove.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperToken.sol/ISuperToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperfluidToken.sol/SuperfluidToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxiable.sol/UUPSProxiable.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/Proxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSUtils.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.json +2 -7
- package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.dbg.json +1 -1
- package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkWhitelist.sol/BulkWhitelist.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyFromReserveHelper.sol/BuyFromReserveHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDClone.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/DonateGDClone.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
- package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/EternalStorage.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/FuseOldBridgeKill.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/IUpgradeabilityOwnerStorage.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Initializable.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Ownable.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Upgradeable.dbg.json +1 -1
- package/artifacts/contracts/utils/GDFaucet.sol/GDFaucet.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/IRouter.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/PausableControl.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/TokenOperation.dbg.json +1 -1
- package/artifacts/contracts/utils/IdentityFix.sol/IdentityFix.dbg.json +1 -1
- package/artifacts/contracts/utils/LastauthReduction.sol/LastauthReduction.dbg.json +1 -1
- package/artifacts/contracts/utils/MultiCall.sol/Multicall.dbg.json +1 -1
- package/artifacts/contracts/utils/MultichainBridgeHelper.sol/MultichainBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePayments.sol/OneTimePayments.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePaymentsV2.sol/OneTimePaymentsV2.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/MentoExchange.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.json +2 -2
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.json +2 -2
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.dbg.json +1 -1
- package/contracts/IUniswapV3.sol +2 -0
- package/contracts/mocks/GenericDistributionHelperTest.sol +31 -0
- package/contracts/reserve/GenericDistributionHelper.sol +28 -20
- package/hardhat.config.ts +4 -1
- package/package.json +3 -2
- package/releases/deployment.json +1 -0
- package/scripts/multichain-deploy/helpers.ts +7 -5
- package/scripts/proposals/gip-25-xdc-upgrade-ubi.ts +31 -27
- package/test/governance/ClaimersDistribution.test.ts +1 -1
- package/test/reserve/GenericDistributionHelper.test.ts +315 -0
- package/test/ubi/UBISchemeCycle.test.ts +30 -63
- package/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -1
- package/types/@uniswap/index.ts +0 -2
- package/types/AaveMock.ts +1031 -0
- package/types/AaveStakingFactory.ts +290 -0
- package/types/AaveUSDMockOracle.ts +89 -0
- package/types/AccessControl.ts +361 -0
- package/types/AccessControlEnumerableUpgradeable.ts +444 -0
- package/types/AccessControlUpgradeable.ts +371 -0
- package/types/AdminWallet.ts +1234 -0
- package/types/AdminWalletFuse.ts +1340 -0
- package/types/AggregatorV3Interface.ts +192 -0
- package/types/Avatar.ts +121 -0
- package/types/BancorFormula.ts +974 -0
- package/types/BaseShareField.ts +442 -0
- package/types/BaseShareFieldV2.ts +361 -0
- package/types/{contracts/Interfaces.sol/AToken.ts → BatUSDMockOracle.ts} +30 -22
- package/types/BuyAndBridgeHelper.ts +279 -0
- package/types/BuyGDClone.ts +383 -0
- package/types/BuyGDCloneFactory.ts +180 -0
- package/types/CBATMock.ts +1203 -0
- package/types/CDAILowWorthMock.ts +1169 -0
- package/types/CDAIMock.ts +1219 -0
- package/types/CDAINonMintableMock.ts +1169 -0
- package/types/CDecimalsMock.ts +1203 -0
- package/types/CERC20.ts +552 -0
- package/types/CSDTMock.ts +1203 -0
- package/types/CUSDCMock.ts +1203 -0
- package/types/ClaimersDistribution.ts +634 -0
- package/types/CompUSDMockOracle.ts +89 -0
- package/types/CompoundStakingFactory.ts +261 -0
- package/types/CompoundVotingMachine.ts +1718 -0
- package/types/ContextUpgradeable.ts +77 -0
- package/types/ContributionCalc.ts +164 -0
- package/types/Controller.ts +547 -0
- package/types/DAIMock.ts +1092 -0
- package/types/DAOContract.ts +162 -0
- package/types/DAOUpgradeableContract.ts +299 -0
- package/types/DaiEthPriceMockOracle.ts +89 -0
- package/types/DecimalsMock.ts +1031 -0
- package/types/DistributionBridgeMock.ts +384 -0
- package/types/{contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper.ts → DistributionHelper.ts} +351 -345
- package/types/{contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper.ts → DistributionHelperTest.ts} +361 -349
- package/types/{contracts/reserve/GenericDistributionHelper.ts → DistributionHelperTestHelper.ts} +417 -401
- package/types/DonationsStaking.ts +805 -0
- package/types/EIP712Upgradeable.ts +77 -0
- package/types/ERC165.ts +104 -0
- package/types/ERC165Upgradeable.ts +115 -0
- package/types/ERC1967Proxy.ts +147 -0
- package/types/{@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts → ERC1967Upgrade.ts} +21 -23
- package/types/ERC1967UpgradeUpgradeable.ts +116 -0
- package/types/ERC20.ts +417 -0
- package/types/ERC20BurnableUpgradeable.ts +488 -0
- package/types/ERC20PausableUpgradeable.ts +458 -0
- package/types/ERC20Permit.ts +186 -0
- package/types/ERC20PermitUpgradeable.ts +531 -0
- package/types/ERC20PresetMinterPauserUpgradeable.ts +1136 -0
- package/types/ERC20Upgradeable.ts +426 -0
- package/types/ERC20WithTokenInfo.ts +339 -0
- package/types/ERC677.ts +131 -0
- package/types/ERC677Receiver.ts +115 -0
- package/types/EthUSDMockOracle.ts +138 -0
- package/types/EventsEmitter.ts +88 -0
- package/types/ExchangeHelper.ts +550 -0
- package/types/Faucet.ts +1167 -0
- package/types/FeesFormulaMock.ts +130 -0
- package/types/FuseFaucet.ts +507 -0
- package/types/FuseFaucetV2.ts +846 -0
- package/types/FuseStakingV3.ts +1212 -0
- package/types/GDFaucet.ts +221 -0
- package/types/GReputation.ts +2119 -0
- package/types/GasPriceMockOracle.ts +118 -0
- package/types/GlobalConstraintInterface.ts +134 -0
- package/types/GoodAaveStaking.ts +1761 -0
- package/types/{contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2.ts → GoodAaveStakingV2.ts} +100 -177
- package/types/GoodCompoundStaking.ts +1847 -0
- package/types/GoodCompoundStakingTest.ts +1957 -0
- package/types/GoodCompoundStakingV2.ts +1645 -0
- package/types/{contracts/token/GoodDollar18.ts → GoodDollar.ts} +140 -278
- package/types/GoodDollarMintBurnWrapper.ts +1792 -0
- package/types/GoodDollarStaking.ts +1947 -0
- package/types/GoodDollarStakingMock.ts +1986 -0
- package/types/GoodFundManager.ts +1126 -0
- package/types/GoodFundManagerTest.ts +1165 -0
- package/types/GoodMarketMaker.ts +1002 -0
- package/types/{contracts/reserve/GoodReserveADai.ts → GoodReserveCDai.ts} +197 -343
- package/types/GovernanceStaking.ts +1295 -0
- package/types/{contracts/Interfaces.sol/IAaveIncentivesControllerV3.ts → IAaveIncentivesController.ts} +47 -48
- package/types/IAccessControl.ts +306 -0
- package/types/IAccessControlEnumerableUpgradeable.ts +380 -0
- package/types/IAccessControlUpgradeable.ts +307 -0
- package/types/IAdminWallet.ts +171 -0
- package/types/{contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange.ts → IBeacon.ts} +30 -22
- package/types/IBeaconUpgradeable.ts +89 -0
- package/types/IConsensus.ts +225 -0
- package/types/IDonationStaking.ts +98 -0
- package/types/IERC1271Upgradeable.ts +109 -0
- package/types/IERC165.ts +104 -0
- package/types/IERC165Upgradeable.ts +104 -0
- package/types/IERC1820Registry.ts +398 -0
- package/types/IERC1822Proxiable.ts +89 -0
- package/types/IERC1822ProxiableUpgradeable.ts +90 -0
- package/types/IERC20.ts +300 -0
- package/types/IERC20Metadata.ts +339 -0
- package/types/IERC20MetadataUpgradeable.ts +340 -0
- package/types/IERC20Permit.ts +175 -0
- package/types/IERC20PermitUpgradeable.ts +176 -0
- package/types/IERC20Upgradeable.ts +300 -0
- package/types/IERC2917.ts +661 -0
- package/types/IERC777.ts +586 -0
- package/types/IERC777Recipient.ts +130 -0
- package/types/IERC777Sender.ts +130 -0
- package/types/IFeesFormula.ts +111 -0
- package/types/IFirstClaimPool.ts +136 -0
- package/types/IGoodDollar.ts +876 -0
- package/types/IGoodDollarCustom.ts +618 -0
- package/types/IGoodDollarStakingTest.ts +160 -0
- package/types/IGoodStaking.ts +264 -0
- package/types/IGovernanceStaking.ts +98 -0
- package/types/{contracts/utils/ReserveRestore.sol/MentoExchange.ts → IHasRouter.ts} +24 -22
- package/types/IIdentity.ts +508 -0
- package/types/IIdentityV2.ts +591 -0
- package/types/ILayerZeroFeeEstimator.ts +136 -0
- package/types/{contracts/Interfaces.sol/ILendingPoolV3.ts → ILendingPool.ts} +76 -89
- package/types/IMessagePassingBridge.ts +774 -0
- package/types/IMultichainRouter.ts +166 -0
- package/types/INameService.ts +86 -0
- package/types/IRouter.ts +143 -0
- package/types/IStakingUpgrade.ts +110 -0
- package/types/IStaticOracle.ts +677 -0
- package/types/ISuperAgreement.ts +151 -0
- package/types/ISuperApp.ts +410 -0
- package/types/ISuperGoodDollar.ts +3029 -0
- package/types/ISuperToken.ts +2326 -0
- package/types/ISuperTokenFactory.ts +415 -0
- package/types/ISuperfluid.ts +1565 -0
- package/types/ISuperfluidGovernance.ts +455 -0
- package/types/ISuperfluidToken.ts +951 -0
- package/types/ISwapRouter.ts +298 -0
- package/types/IUBIScheme.ts +121 -0
- package/types/IUniswapV3Factory.ts +333 -0
- package/types/IWrapper.ts +143 -0
- package/types/IdentityFix.ts +141 -0
- package/types/IdentityMock.ts +527 -0
- package/types/IdentityV2.ts +1782 -0
- package/types/IncentiveControllerMock.ts +207 -0
- package/types/Initializable.ts +77 -0
- package/types/IntVoteInterface.ts +468 -0
- package/types/InvitesFuseV2.ts +840 -0
- package/types/InvitesV1.ts +806 -0
- package/types/InvitesV2.ts +1016 -0
- package/types/LendingPoolMock.ts +1259 -0
- package/types/MultiBaseGovernanceShareField.ts +411 -0
- package/types/Multicall.ts +298 -0
- package/types/MultichainBridgeHelper.ts +170 -0
- package/types/MultichainFeeFormula.ts +130 -0
- package/types/MultichainRouterMock.ts +141 -0
- package/types/NameService.ts +386 -0
- package/types/OldMarketMaker.ts +113 -0
- package/types/OneTimePayments.ts +396 -0
- package/types/OneTimePaymentsV2.ts +456 -0
- package/types/OverMintTester.ts +176 -0
- package/types/OverMintTesterRegularStake.ts +177 -0
- package/types/OwnableUpgradeable.ts +175 -0
- package/types/Pausable.ts +103 -0
- package/types/PausableControl.ts +125 -0
- package/types/PausableUpgradeable.ts +112 -0
- package/types/PayableMock.ts +92 -0
- package/types/PegSwap.ts +112 -0
- package/types/ProtocolUpgrade.ts +272 -0
- package/types/ProtocolUpgradeFuse.ts +166 -0
- package/types/ProtocolUpgradeFuseRecover.ts +167 -0
- package/types/ProtocolUpgradeRecover.ts +264 -0
- package/types/Proxy.ts +66 -0
- package/types/ProxyAdmin.ts +254 -0
- package/types/ProxyFactory1967.ts +284 -0
- package/types/ReentrancyGuardUpgradeable.ts +78 -0
- package/types/Reputation.ts +964 -0
- package/types/ReputationInterface.ts +261 -0
- package/types/ReputationTestHelper.ts +175 -0
- package/types/Reserve.ts +112 -0
- package/types/RewardsMinter.ts +107 -0
- package/types/SchemeRegistrar.ts +164 -0
- package/types/SelfApprove.ts +115 -0
- package/types/SimpleStaking.ts +1523 -0
- package/types/SimpleStakingV2.ts +1427 -0
- package/types/SixteenDecimalsTokenMock.ts +1032 -0
- package/types/StakersDistribution.ts +949 -0
- package/types/Staking.ts +158 -0
- package/types/StakingMockFixedAPY.ts +995 -0
- package/types/StakingRewardsFixedAPY.ts +428 -0
- package/types/SuperGoodDollar.ts +3662 -0
- package/types/SuperToken.ts +2434 -0
- package/types/SuperfluidToken.ts +951 -0
- package/types/SwapHelperTest.ts +120 -0
- package/types/TokenInfo.ts +109 -0
- package/types/TwentyDecimalsTokenMock.ts +1032 -0
- package/types/UBIScheme.ts +1461 -0
- package/types/UBISchemeV2.ts +1192 -0
- package/types/USDCMock.ts +1031 -0
- package/types/UUPSProxiable.ts +183 -0
- package/types/UUPSProxy.ts +105 -0
- package/types/UUPSUpgradeable.ts +207 -0
- package/types/Uniswap.ts +423 -0
- package/types/UniswapFactory.ts +106 -0
- package/types/UniswapPair.ts +187 -0
- package/types/UniswapV2SwapHelper.ts +124 -0
- package/types/UpgradableMock.ts +349 -0
- package/types/UpgradableMock2.ts +311 -0
- package/types/UpgradableMock3.ts +336 -0
- package/types/UpgradableMock4.ts +336 -0
- package/types/contracts/fuseFaucet/Faucet.ts +0 -43
- package/types/contracts/fuseFaucet/FuseFaucetV2.ts +0 -43
- package/types/contracts/index.ts +0 -4
- package/types/contracts/reserve/index.ts +0 -1
- package/types/contracts/ubi/UBISchemeV2.ts +3 -14
- package/types/contracts/utils/BuyGDClone.sol/index.ts +2 -0
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -1
- package/types/factories/@uniswap/index.ts +0 -1
- package/types/factories/AaveMock__factory.ts +740 -0
- package/types/factories/AaveStakingFactory__factory.ts +262 -0
- package/types/factories/AaveUSDMockOracle__factory.ts +75 -0
- package/types/factories/AccessControlEnumerableUpgradeable__factory.ts +292 -0
- package/types/factories/AccessControlUpgradeable__factory.ts +247 -0
- package/types/factories/AccessControl__factory.ts +227 -0
- package/types/factories/AdminWalletFuse__factory.ts +933 -0
- package/types/factories/AdminWallet__factory.ts +865 -0
- package/types/factories/AggregatorV3Interface__factory.ts +121 -0
- package/types/factories/Avatar__factory.ts +59 -0
- package/types/factories/BancorFormula__factory.ts +674 -0
- package/types/factories/BaseShareFieldV2__factory.ts +251 -0
- package/types/factories/BaseShareField__factory.ts +307 -0
- package/types/factories/BatUSDMockOracle__factory.ts +75 -0
- package/types/factories/BuyAndBridgeHelper__factory.ts +237 -0
- package/types/factories/BuyGDCloneFactory__factory.ts +196 -0
- package/types/factories/BuyGDClone__factory.ts +343 -0
- package/types/factories/CBATMock__factory.ts +844 -0
- package/types/factories/CDAILowWorthMock__factory.ts +834 -0
- package/types/factories/CDAIMock__factory.ts +857 -0
- package/types/factories/CDAINonMintableMock__factory.ts +834 -0
- package/types/factories/CDecimalsMock__factory.ts +844 -0
- package/types/factories/CERC20__factory.ts +381 -0
- package/types/factories/CSDTMock__factory.ts +844 -0
- package/types/factories/CUSDCMock__factory.ts +844 -0
- package/types/factories/ClaimersDistribution__factory.ts +430 -0
- package/types/factories/CompUSDMockOracle__factory.ts +75 -0
- package/types/factories/CompoundStakingFactory__factory.ts +249 -0
- package/types/factories/CompoundVotingMachine__factory.ts +1208 -0
- package/types/factories/ContextUpgradeable__factory.ts +39 -0
- package/types/factories/ContributionCalc__factory.ts +83 -0
- package/types/factories/Controller__factory.ts +359 -0
- package/types/factories/DAIMock__factory.ts +783 -0
- package/types/factories/DAOContract__factory.ts +118 -0
- package/types/factories/DAOUpgradeableContract__factory.ts +227 -0
- package/types/factories/DaiEthPriceMockOracle__factory.ts +79 -0
- package/types/factories/DecimalsMock__factory.ts +755 -0
- package/types/factories/DistributionBridgeMock__factory.ts +312 -0
- package/types/factories/DistributionHelperTestHelper__factory.ts +1008 -0
- package/types/factories/DistributionHelperTest__factory.ts +975 -0
- package/types/factories/DistributionHelper__factory.ts +971 -0
- package/types/factories/DonationsStaking__factory.ts +580 -0
- package/types/factories/EIP712Upgradeable__factory.ts +39 -0
- package/types/factories/ERC165Upgradeable__factory.ts +58 -0
- package/types/factories/ERC165__factory.ts +39 -0
- package/types/factories/ERC1967Proxy__factory.ts +130 -0
- package/types/factories/ERC1967UpgradeUpgradeable__factory.ts +88 -0
- package/types/factories/ERC1967Upgrade__factory.ts +71 -0
- package/types/factories/ERC20BurnableUpgradeable__factory.ts +344 -0
- package/types/factories/ERC20PausableUpgradeable__factory.ts +352 -0
- package/types/factories/ERC20PermitUpgradeable__factory.ts +388 -0
- package/types/factories/ERC20Permit__factory.ts +111 -0
- package/types/factories/ERC20PresetMinterPauserUpgradeable__factory.ts +827 -0
- package/types/factories/ERC20Upgradeable__factory.ts +345 -0
- package/types/factories/ERC20WithTokenInfo__factory.ts +248 -0
- package/types/factories/ERC20__factory.ts +285 -0
- package/types/factories/ERC677Receiver__factory.ts +55 -0
- package/types/factories/ERC677__factory.ts +75 -0
- package/types/factories/EthUSDMockOracle__factory.ts +108 -0
- package/types/factories/EventsEmitter__factory.ts +84 -0
- package/types/factories/ExchangeHelper__factory.ts +427 -0
- package/types/factories/Faucet__factory.ts +826 -0
- package/types/factories/FeesFormulaMock__factory.ts +132 -0
- package/types/factories/FuseFaucetV2__factory.ts +592 -0
- package/types/factories/FuseFaucet__factory.ts +386 -0
- package/types/factories/FuseStakingV3__factory.ts +806 -0
- package/types/factories/GDFaucet__factory.ts +188 -0
- package/types/factories/GReputation__factory.ts +1490 -0
- package/types/factories/GasPriceMockOracle__factory.ts +88 -0
- package/types/factories/GlobalConstraintInterface__factory.ts +72 -0
- package/types/factories/GoodAaveStakingV2__factory.ts +1240 -0
- package/types/factories/GoodAaveStaking__factory.ts +1276 -0
- package/types/factories/GoodCompoundStakingTest__factory.ts +1470 -0
- package/types/factories/GoodCompoundStakingV2__factory.ts +1182 -0
- package/types/factories/GoodCompoundStaking__factory.ts +1316 -0
- package/types/factories/GoodDollarMintBurnWrapper__factory.ts +1330 -0
- package/types/factories/GoodDollarStakingMock__factory.ts +1497 -0
- package/types/factories/GoodDollarStaking__factory.ts +1469 -0
- package/types/factories/{contracts/token/GoodDollar18__factory.ts → GoodDollar__factory.ts} +23 -26
- package/types/factories/GoodFundManagerTest__factory.ts +801 -0
- package/types/factories/GoodFundManager__factory.ts +759 -0
- package/types/factories/GoodMarketMaker__factory.ts +687 -0
- package/types/factories/GoodReserveCDai__factory.ts +1489 -0
- package/types/factories/GovernanceStaking__factory.ts +948 -0
- package/types/factories/{contracts/Interfaces.sol/IAaveIncentivesControllerV3__factory.ts → IAaveIncentivesController__factory.ts} +22 -27
- package/types/factories/IAccessControlEnumerableUpgradeable__factory.ts +247 -0
- package/types/factories/IAccessControlUpgradeable__factory.ts +202 -0
- package/types/factories/IAccessControl__factory.ts +198 -0
- package/types/factories/IAdminWallet__factory.ts +75 -0
- package/types/factories/{contracts/utils/ReserveRestore.sol/MentoExchange__factory.ts → IBeaconUpgradeable__factory.ts} +11 -11
- package/types/factories/IBeacon__factory.ts +36 -0
- package/types/factories/IConsensus__factory.ts +116 -0
- package/types/factories/IDonationStaking__factory.ts +33 -0
- package/types/factories/IERC1271Upgradeable__factory.ts +50 -0
- package/types/factories/IERC165Upgradeable__factory.ts +45 -0
- package/types/factories/IERC165__factory.ts +42 -0
- package/types/factories/IERC1820Registry__factory.ts +239 -0
- package/types/factories/IERC1822ProxiableUpgradeable__factory.ts +43 -0
- package/types/factories/IERC1822Proxiable__factory.ts +39 -0
- package/types/factories/IERC20MetadataUpgradeable__factory.ts +252 -0
- package/types/factories/IERC20Metadata__factory.ts +248 -0
- package/types/factories/IERC20PermitUpgradeable__factory.ts +105 -0
- package/types/factories/IERC20Permit__factory.ts +98 -0
- package/types/factories/IERC20Upgradeable__factory.ts +209 -0
- package/types/factories/IERC20__factory.ts +203 -0
- package/types/factories/IERC2917__factory.ts +493 -0
- package/types/factories/IERC777Recipient__factory.ts +64 -0
- package/types/factories/IERC777Sender__factory.ts +61 -0
- package/types/factories/IERC777__factory.ts +414 -0
- package/types/factories/IFeesFormula__factory.ts +57 -0
- package/types/factories/IFirstClaimPool__factory.ts +65 -0
- package/types/factories/IGoodDollarCustom__factory.ts +370 -0
- package/types/factories/IGoodDollarStakingTest__factory.ts +68 -0
- package/types/factories/IGoodDollar__factory.ts +595 -0
- package/types/factories/IGoodStaking__factory.ts +175 -0
- package/types/factories/IGovernanceStaking__factory.ts +39 -0
- package/types/factories/IHasRouter__factory.ts +36 -0
- package/types/factories/IIdentityV2__factory.ts +331 -0
- package/types/factories/IIdentity__factory.ts +284 -0
- package/types/factories/ILayerZeroFeeEstimator__factory.ts +79 -0
- package/types/factories/{contracts/Interfaces.sol/ILendingPoolV3__factory.ts → ILendingPool__factory.ts} +14 -32
- package/types/factories/IMessagePassingBridge__factory.ts +446 -0
- package/types/factories/IMultichainRouter__factory.ts +82 -0
- package/types/factories/INameService__factory.ts +42 -0
- package/types/factories/{@uniswap/v2-periphery/contracts/interfaces/IWETH__factory.ts → IRouter__factory.ts} +28 -24
- package/types/factories/IStakingUpgrade__factory.ts +50 -0
- package/types/factories/IStaticOracle__factory.ts +407 -0
- package/types/factories/ISuperAgreement__factory.ts +78 -0
- package/types/factories/ISuperApp__factory.ts +272 -0
- package/types/factories/ISuperGoodDollar__factory.ts +2147 -0
- package/types/factories/ISuperTokenFactory__factory.ts +271 -0
- package/types/factories/ISuperToken__factory.ts +1682 -0
- package/types/factories/ISuperfluidGovernance__factory.ts +264 -0
- package/types/factories/ISuperfluidToken__factory.ts +697 -0
- package/types/factories/ISuperfluid__factory.ts +1143 -0
- package/types/factories/ISwapRouter__factory.ts +217 -0
- package/types/factories/IUBIScheme__factory.ts +68 -0
- package/types/factories/IUniswapV3Factory__factory.ts +222 -0
- package/types/factories/IWrapper__factory.ts +71 -0
- package/types/factories/IdentityFix__factory.ts +110 -0
- package/types/factories/IdentityMock__factory.ts +346 -0
- package/types/factories/IdentityV2__factory.ts +1147 -0
- package/types/factories/IncentiveControllerMock__factory.ts +166 -0
- package/types/factories/Initializable__factory.ts +36 -0
- package/types/factories/IntVoteInterface__factory.ts +349 -0
- package/types/factories/InvitesFuseV2__factory.ts +571 -0
- package/types/factories/InvitesV1__factory.ts +553 -0
- package/types/factories/InvitesV2__factory.ts +688 -0
- package/types/factories/LendingPoolMock__factory.ts +927 -0
- package/types/factories/MultiBaseGovernanceShareField__factory.ts +240 -0
- package/types/factories/Multicall__factory.ts +215 -0
- package/types/factories/MultichainBridgeHelper__factory.ts +134 -0
- package/types/factories/MultichainFeeFormula__factory.ts +113 -0
- package/types/factories/MultichainRouterMock__factory.ts +141 -0
- package/types/factories/NameService__factory.ts +290 -0
- package/types/factories/OldMarketMaker__factory.ts +62 -0
- package/types/factories/OneTimePaymentsV2__factory.ts +369 -0
- package/types/factories/OneTimePayments__factory.ts +323 -0
- package/types/factories/OverMintTesterRegularStake__factory.ts +156 -0
- package/types/factories/OverMintTester__factory.ts +152 -0
- package/types/factories/OwnableUpgradeable__factory.ts +91 -0
- package/types/factories/PausableControl__factory.ts +84 -0
- package/types/factories/PausableUpgradeable__factory.ts +78 -0
- package/types/factories/Pausable__factory.ts +62 -0
- package/types/factories/PayableMock__factory.ts +66 -0
- package/types/factories/PegSwap__factory.ts +46 -0
- package/types/factories/ProtocolUpgradeFuseRecover__factory.ts +146 -0
- package/types/factories/ProtocolUpgradeFuse__factory.ts +142 -0
- package/types/factories/ProtocolUpgradeRecover__factory.ts +184 -0
- package/types/factories/ProtocolUpgrade__factory.ts +207 -0
- package/types/factories/ProxyAdmin__factory.ts +128 -0
- package/types/factories/ProxyFactory1967__factory.ts +223 -0
- package/types/factories/Proxy__factory.ts +28 -0
- package/types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
- package/types/factories/ReputationInterface__factory.ts +168 -0
- package/types/factories/ReputationTestHelper__factory.ts +141 -0
- package/types/factories/Reputation__factory.ts +693 -0
- package/types/factories/Reserve__factory.ts +52 -0
- package/types/factories/RewardsMinter__factory.ts +47 -0
- package/types/factories/SchemeRegistrar__factory.ts +114 -0
- package/types/factories/SelfApprove__factory.ts +46 -0
- package/types/factories/SimpleStakingV2__factory.ts +999 -0
- package/types/factories/SimpleStaking__factory.ts +1058 -0
- package/types/factories/SixteenDecimalsTokenMock__factory.ts +747 -0
- package/types/factories/StakersDistribution__factory.ts +617 -0
- package/types/factories/StakingMockFixedAPY__factory.ts +745 -0
- package/types/factories/StakingRewardsFixedAPY__factory.ts +287 -0
- package/types/factories/Staking__factory.ts +74 -0
- package/types/factories/SuperGoodDollar__factory.ts +2680 -0
- package/types/factories/SuperToken__factory.ts +1809 -0
- package/types/factories/SuperfluidToken__factory.ts +697 -0
- package/types/factories/SwapHelperTest__factory.ts +96 -0
- package/types/factories/TokenInfo__factory.ts +62 -0
- package/types/factories/TwentyDecimalsTokenMock__factory.ts +747 -0
- package/types/factories/UBISchemeV2__factory.ts +837 -0
- package/types/factories/UBIScheme__factory.ts +1034 -0
- package/types/factories/USDCMock__factory.ts +740 -0
- package/types/factories/UUPSProxiable__factory.ts +101 -0
- package/types/factories/UUPSProxy__factory.ts +80 -0
- package/types/factories/UUPSUpgradeable__factory.ts +128 -0
- package/types/factories/UniswapFactory__factory.ts +50 -0
- package/types/factories/UniswapPair__factory.ts +117 -0
- package/types/factories/UniswapV2SwapHelper__factory.ts +101 -0
- package/types/factories/Uniswap__factory.ts +272 -0
- package/types/factories/UpgradableMock2__factory.ts +236 -0
- package/types/factories/UpgradableMock3__factory.ts +249 -0
- package/types/factories/UpgradableMock4__factory.ts +249 -0
- package/types/factories/UpgradableMock__factory.ts +262 -0
- package/types/factories/contracts/fuseFaucet/Faucet__factory.ts +1 -33
- package/types/factories/contracts/fuseFaucet/FuseFaucetV2__factory.ts +1 -33
- package/types/factories/contracts/index.ts +0 -2
- package/types/factories/contracts/reserve/index.ts +0 -1
- package/types/factories/contracts/ubi/UBISchemeV2__factory.ts +1 -6
- package/types/factories/contracts/utils/BuyGDClone.sol/index.ts +2 -0
- package/types/factories/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy__factory.ts +1 -1
- package/types/factories/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967__factory.ts +1 -1
- package/types/hardhat.d.ts +18 -54
- package/types/index.ts +2 -10
- package/artifacts/abis/GenericDistributionHelper.min.json +0 -1
- package/artifacts/abis/INonfungiblePositionManager.min.json +0 -1
- package/artifacts/abis/IUniswapV3Pool.min.json +0 -1
- package/artifacts/contracts/IQuoter.sol/IQuoterV2.dbg.json +0 -4
- package/artifacts/contracts/IQuoter.sol/IQuoterV2.json +0 -211
- package/artifacts/contracts/IUniswapV3.sol/INonfungiblePositionManager.dbg.json +0 -4
- package/artifacts/contracts/IUniswapV3.sol/INonfungiblePositionManager.json +0 -102
- package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.dbg.json +0 -4
- package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.json +0 -93
- package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.dbg.json +0 -4
- package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.json +0 -931
- package/dist/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.json +0 -1099
- package/dist/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.json +0 -2627
- package/dist/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.json +0 -32
- package/dist/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.json +0 -82
- package/dist/test-sdk/deploySuperGoodDollar.d.ts +0 -6
- package/dist/test-sdk/deploySuperGoodDollar.js +0 -46
- package/dist/test-sdk/index.d.ts +0 -1
- package/dist/test-sdk/index.js +0 -13
- package/types/@uniswap/v2-periphery/contracts/index.ts +0 -5
- package/types/@uniswap/v2-periphery/contracts/interfaces/IWETH.ts +0 -159
- package/types/@uniswap/v2-periphery/contracts/interfaces/index.ts +0 -4
- package/types/@uniswap/v2-periphery/index.ts +0 -5
- package/types/contracts/IQuoter.sol/IQuoterV2.ts +0 -297
- package/types/contracts/IQuoter.sol/index.ts +0 -4
- package/types/contracts/IUniswapV3.sol/INonfungiblePositionManager.ts +0 -151
- package/types/contracts/IUniswapV3.sol/IUniswapV3Factory.ts +0 -155
- package/types/contracts/IUniswapV3.sol/IUniswapV3Pool.ts +0 -179
- package/types/contracts/IUniswapV3.sol/index.ts +0 -5
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor.ts +0 -648
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable.ts +0 -843
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +0 -4
- package/types/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +0 -4
- package/types/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +0 -4
- package/types/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677.ts +0 -108
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.ts +0 -161
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +0 -5
- package/types/contracts/utils/ReserveRestore.sol/ReserveRestore.ts +0 -112
- package/types/contracts/utils/ReserveRestore.sol/index.ts +0 -5
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +0 -146
- package/types/factories/@uniswap/v2-periphery/contracts/index.ts +0 -4
- package/types/factories/@uniswap/v2-periphery/contracts/interfaces/index.ts +0 -4
- package/types/factories/@uniswap/v2-periphery/index.ts +0 -4
- package/types/factories/contracts/IQuoter.sol/IQuoterV2__factory.ts +0 -226
- package/types/factories/contracts/IQuoter.sol/index.ts +0 -4
- package/types/factories/contracts/IUniswapV3.sol/INonfungiblePositionManager__factory.ts +0 -121
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Factory__factory.ts +0 -84
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Pool__factory.ts +0 -108
- package/types/factories/contracts/IUniswapV3.sol/index.ts +0 -5
- package/types/factories/contracts/Interfaces.sol/AToken__factory.ts +0 -36
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable__factory.ts +0 -572
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor__factory.ts +0 -482
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +0 -4
- package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper__factory.ts +0 -929
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper__factory.ts +0 -935
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +0 -4
- package/types/factories/contracts/reserve/GenericDistributionHelper__factory.ts +0 -987
- package/types/factories/contracts/reserve/GoodReserveADai__factory.ts +0 -1502
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2__factory.ts +0 -1240
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +0 -4
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677__factory.ts +0 -86
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange__factory.ts +0 -39
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +0 -152
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +0 -5
- package/types/factories/contracts/utils/ReserveRestore.sol/ReserveRestore__factory.ts +0 -95
- package/types/factories/contracts/utils/ReserveRestore.sol/index.ts +0 -5
|
@@ -0,0 +1,927 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
6
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
LendingPoolMock,
|
|
9
|
+
LendingPoolMockInterface,
|
|
10
|
+
} from "../LendingPoolMock";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "address",
|
|
17
|
+
name: "_asset",
|
|
18
|
+
type: "address",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
stateMutability: "nonpayable",
|
|
22
|
+
type: "constructor",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
anonymous: false,
|
|
26
|
+
inputs: [
|
|
27
|
+
{
|
|
28
|
+
indexed: true,
|
|
29
|
+
internalType: "address",
|
|
30
|
+
name: "owner",
|
|
31
|
+
type: "address",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
indexed: true,
|
|
35
|
+
internalType: "address",
|
|
36
|
+
name: "spender",
|
|
37
|
+
type: "address",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
indexed: false,
|
|
41
|
+
internalType: "uint256",
|
|
42
|
+
name: "value",
|
|
43
|
+
type: "uint256",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
name: "Approval",
|
|
47
|
+
type: "event",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
anonymous: false,
|
|
51
|
+
inputs: [
|
|
52
|
+
{
|
|
53
|
+
indexed: false,
|
|
54
|
+
internalType: "uint8",
|
|
55
|
+
name: "version",
|
|
56
|
+
type: "uint8",
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
name: "Initialized",
|
|
60
|
+
type: "event",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
anonymous: false,
|
|
64
|
+
inputs: [
|
|
65
|
+
{
|
|
66
|
+
indexed: false,
|
|
67
|
+
internalType: "address",
|
|
68
|
+
name: "account",
|
|
69
|
+
type: "address",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
name: "Paused",
|
|
73
|
+
type: "event",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
anonymous: false,
|
|
77
|
+
inputs: [
|
|
78
|
+
{
|
|
79
|
+
indexed: true,
|
|
80
|
+
internalType: "bytes32",
|
|
81
|
+
name: "role",
|
|
82
|
+
type: "bytes32",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
indexed: true,
|
|
86
|
+
internalType: "bytes32",
|
|
87
|
+
name: "previousAdminRole",
|
|
88
|
+
type: "bytes32",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
indexed: true,
|
|
92
|
+
internalType: "bytes32",
|
|
93
|
+
name: "newAdminRole",
|
|
94
|
+
type: "bytes32",
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
name: "RoleAdminChanged",
|
|
98
|
+
type: "event",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
anonymous: false,
|
|
102
|
+
inputs: [
|
|
103
|
+
{
|
|
104
|
+
indexed: true,
|
|
105
|
+
internalType: "bytes32",
|
|
106
|
+
name: "role",
|
|
107
|
+
type: "bytes32",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
indexed: true,
|
|
111
|
+
internalType: "address",
|
|
112
|
+
name: "account",
|
|
113
|
+
type: "address",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
indexed: true,
|
|
117
|
+
internalType: "address",
|
|
118
|
+
name: "sender",
|
|
119
|
+
type: "address",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
name: "RoleGranted",
|
|
123
|
+
type: "event",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
anonymous: false,
|
|
127
|
+
inputs: [
|
|
128
|
+
{
|
|
129
|
+
indexed: true,
|
|
130
|
+
internalType: "bytes32",
|
|
131
|
+
name: "role",
|
|
132
|
+
type: "bytes32",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
indexed: true,
|
|
136
|
+
internalType: "address",
|
|
137
|
+
name: "account",
|
|
138
|
+
type: "address",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
indexed: true,
|
|
142
|
+
internalType: "address",
|
|
143
|
+
name: "sender",
|
|
144
|
+
type: "address",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
name: "RoleRevoked",
|
|
148
|
+
type: "event",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
anonymous: false,
|
|
152
|
+
inputs: [
|
|
153
|
+
{
|
|
154
|
+
indexed: true,
|
|
155
|
+
internalType: "address",
|
|
156
|
+
name: "from",
|
|
157
|
+
type: "address",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
indexed: true,
|
|
161
|
+
internalType: "address",
|
|
162
|
+
name: "to",
|
|
163
|
+
type: "address",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
indexed: false,
|
|
167
|
+
internalType: "uint256",
|
|
168
|
+
name: "value",
|
|
169
|
+
type: "uint256",
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
name: "Transfer",
|
|
173
|
+
type: "event",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
anonymous: false,
|
|
177
|
+
inputs: [
|
|
178
|
+
{
|
|
179
|
+
indexed: false,
|
|
180
|
+
internalType: "address",
|
|
181
|
+
name: "account",
|
|
182
|
+
type: "address",
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
name: "Unpaused",
|
|
186
|
+
type: "event",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
inputs: [],
|
|
190
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
191
|
+
outputs: [
|
|
192
|
+
{
|
|
193
|
+
internalType: "bytes32",
|
|
194
|
+
name: "",
|
|
195
|
+
type: "bytes32",
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
stateMutability: "view",
|
|
199
|
+
type: "function",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
inputs: [],
|
|
203
|
+
name: "MINTER_ROLE",
|
|
204
|
+
outputs: [
|
|
205
|
+
{
|
|
206
|
+
internalType: "bytes32",
|
|
207
|
+
name: "",
|
|
208
|
+
type: "bytes32",
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
stateMutability: "view",
|
|
212
|
+
type: "function",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
inputs: [],
|
|
216
|
+
name: "PAUSER_ROLE",
|
|
217
|
+
outputs: [
|
|
218
|
+
{
|
|
219
|
+
internalType: "bytes32",
|
|
220
|
+
name: "",
|
|
221
|
+
type: "bytes32",
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
stateMutability: "view",
|
|
225
|
+
type: "function",
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
inputs: [
|
|
229
|
+
{
|
|
230
|
+
internalType: "address",
|
|
231
|
+
name: "owner",
|
|
232
|
+
type: "address",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
internalType: "address",
|
|
236
|
+
name: "spender",
|
|
237
|
+
type: "address",
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
name: "allowance",
|
|
241
|
+
outputs: [
|
|
242
|
+
{
|
|
243
|
+
internalType: "uint256",
|
|
244
|
+
name: "",
|
|
245
|
+
type: "uint256",
|
|
246
|
+
},
|
|
247
|
+
],
|
|
248
|
+
stateMutability: "view",
|
|
249
|
+
type: "function",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
inputs: [
|
|
253
|
+
{
|
|
254
|
+
internalType: "address",
|
|
255
|
+
name: "spender",
|
|
256
|
+
type: "address",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
internalType: "uint256",
|
|
260
|
+
name: "amount",
|
|
261
|
+
type: "uint256",
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
name: "approve",
|
|
265
|
+
outputs: [
|
|
266
|
+
{
|
|
267
|
+
internalType: "bool",
|
|
268
|
+
name: "",
|
|
269
|
+
type: "bool",
|
|
270
|
+
},
|
|
271
|
+
],
|
|
272
|
+
stateMutability: "nonpayable",
|
|
273
|
+
type: "function",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
inputs: [
|
|
277
|
+
{
|
|
278
|
+
internalType: "address",
|
|
279
|
+
name: "account",
|
|
280
|
+
type: "address",
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
name: "balanceOf",
|
|
284
|
+
outputs: [
|
|
285
|
+
{
|
|
286
|
+
internalType: "uint256",
|
|
287
|
+
name: "",
|
|
288
|
+
type: "uint256",
|
|
289
|
+
},
|
|
290
|
+
],
|
|
291
|
+
stateMutability: "view",
|
|
292
|
+
type: "function",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
inputs: [
|
|
296
|
+
{
|
|
297
|
+
internalType: "uint256",
|
|
298
|
+
name: "amount",
|
|
299
|
+
type: "uint256",
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
name: "burn",
|
|
303
|
+
outputs: [],
|
|
304
|
+
stateMutability: "nonpayable",
|
|
305
|
+
type: "function",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
inputs: [
|
|
309
|
+
{
|
|
310
|
+
internalType: "address",
|
|
311
|
+
name: "account",
|
|
312
|
+
type: "address",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
internalType: "uint256",
|
|
316
|
+
name: "amount",
|
|
317
|
+
type: "uint256",
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
name: "burnFrom",
|
|
321
|
+
outputs: [],
|
|
322
|
+
stateMutability: "nonpayable",
|
|
323
|
+
type: "function",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
inputs: [],
|
|
327
|
+
name: "decimals",
|
|
328
|
+
outputs: [
|
|
329
|
+
{
|
|
330
|
+
internalType: "uint8",
|
|
331
|
+
name: "",
|
|
332
|
+
type: "uint8",
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
stateMutability: "pure",
|
|
336
|
+
type: "function",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
inputs: [
|
|
340
|
+
{
|
|
341
|
+
internalType: "address",
|
|
342
|
+
name: "spender",
|
|
343
|
+
type: "address",
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
internalType: "uint256",
|
|
347
|
+
name: "subtractedValue",
|
|
348
|
+
type: "uint256",
|
|
349
|
+
},
|
|
350
|
+
],
|
|
351
|
+
name: "decreaseAllowance",
|
|
352
|
+
outputs: [
|
|
353
|
+
{
|
|
354
|
+
internalType: "bool",
|
|
355
|
+
name: "",
|
|
356
|
+
type: "bool",
|
|
357
|
+
},
|
|
358
|
+
],
|
|
359
|
+
stateMutability: "nonpayable",
|
|
360
|
+
type: "function",
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
inputs: [
|
|
364
|
+
{
|
|
365
|
+
internalType: "address",
|
|
366
|
+
name: "asset",
|
|
367
|
+
type: "address",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
internalType: "uint256",
|
|
371
|
+
name: "amount",
|
|
372
|
+
type: "uint256",
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
internalType: "address",
|
|
376
|
+
name: "onBehalfOf",
|
|
377
|
+
type: "address",
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
internalType: "uint16",
|
|
381
|
+
name: "referralCode",
|
|
382
|
+
type: "uint16",
|
|
383
|
+
},
|
|
384
|
+
],
|
|
385
|
+
name: "deposit",
|
|
386
|
+
outputs: [],
|
|
387
|
+
stateMutability: "nonpayable",
|
|
388
|
+
type: "function",
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
inputs: [
|
|
392
|
+
{
|
|
393
|
+
internalType: "address",
|
|
394
|
+
name: "asset",
|
|
395
|
+
type: "address",
|
|
396
|
+
},
|
|
397
|
+
],
|
|
398
|
+
name: "getReserveData",
|
|
399
|
+
outputs: [
|
|
400
|
+
{
|
|
401
|
+
components: [
|
|
402
|
+
{
|
|
403
|
+
components: [
|
|
404
|
+
{
|
|
405
|
+
internalType: "uint256",
|
|
406
|
+
name: "data",
|
|
407
|
+
type: "uint256",
|
|
408
|
+
},
|
|
409
|
+
],
|
|
410
|
+
internalType: "struct DataTypes.ReserveConfigurationMap",
|
|
411
|
+
name: "configuration",
|
|
412
|
+
type: "tuple",
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
internalType: "uint128",
|
|
416
|
+
name: "liquidityIndex",
|
|
417
|
+
type: "uint128",
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
internalType: "uint128",
|
|
421
|
+
name: "variableBorrowIndex",
|
|
422
|
+
type: "uint128",
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
internalType: "uint128",
|
|
426
|
+
name: "currentLiquidityRate",
|
|
427
|
+
type: "uint128",
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
internalType: "uint128",
|
|
431
|
+
name: "currentVariableBorrowRate",
|
|
432
|
+
type: "uint128",
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
internalType: "uint128",
|
|
436
|
+
name: "currentStableBorrowRate",
|
|
437
|
+
type: "uint128",
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
internalType: "uint40",
|
|
441
|
+
name: "lastUpdateTimestamp",
|
|
442
|
+
type: "uint40",
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
internalType: "address",
|
|
446
|
+
name: "aTokenAddress",
|
|
447
|
+
type: "address",
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
internalType: "address",
|
|
451
|
+
name: "stableDebtTokenAddress",
|
|
452
|
+
type: "address",
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
internalType: "address",
|
|
456
|
+
name: "variableDebtTokenAddress",
|
|
457
|
+
type: "address",
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
internalType: "address",
|
|
461
|
+
name: "interestRateStrategyAddress",
|
|
462
|
+
type: "address",
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
internalType: "uint8",
|
|
466
|
+
name: "id",
|
|
467
|
+
type: "uint8",
|
|
468
|
+
},
|
|
469
|
+
],
|
|
470
|
+
internalType: "struct DataTypes.ReserveData",
|
|
471
|
+
name: "",
|
|
472
|
+
type: "tuple",
|
|
473
|
+
},
|
|
474
|
+
],
|
|
475
|
+
stateMutability: "view",
|
|
476
|
+
type: "function",
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
inputs: [
|
|
480
|
+
{
|
|
481
|
+
internalType: "bytes32",
|
|
482
|
+
name: "role",
|
|
483
|
+
type: "bytes32",
|
|
484
|
+
},
|
|
485
|
+
],
|
|
486
|
+
name: "getRoleAdmin",
|
|
487
|
+
outputs: [
|
|
488
|
+
{
|
|
489
|
+
internalType: "bytes32",
|
|
490
|
+
name: "",
|
|
491
|
+
type: "bytes32",
|
|
492
|
+
},
|
|
493
|
+
],
|
|
494
|
+
stateMutability: "view",
|
|
495
|
+
type: "function",
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
inputs: [
|
|
499
|
+
{
|
|
500
|
+
internalType: "bytes32",
|
|
501
|
+
name: "role",
|
|
502
|
+
type: "bytes32",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
internalType: "uint256",
|
|
506
|
+
name: "index",
|
|
507
|
+
type: "uint256",
|
|
508
|
+
},
|
|
509
|
+
],
|
|
510
|
+
name: "getRoleMember",
|
|
511
|
+
outputs: [
|
|
512
|
+
{
|
|
513
|
+
internalType: "address",
|
|
514
|
+
name: "",
|
|
515
|
+
type: "address",
|
|
516
|
+
},
|
|
517
|
+
],
|
|
518
|
+
stateMutability: "view",
|
|
519
|
+
type: "function",
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
inputs: [
|
|
523
|
+
{
|
|
524
|
+
internalType: "bytes32",
|
|
525
|
+
name: "role",
|
|
526
|
+
type: "bytes32",
|
|
527
|
+
},
|
|
528
|
+
],
|
|
529
|
+
name: "getRoleMemberCount",
|
|
530
|
+
outputs: [
|
|
531
|
+
{
|
|
532
|
+
internalType: "uint256",
|
|
533
|
+
name: "",
|
|
534
|
+
type: "uint256",
|
|
535
|
+
},
|
|
536
|
+
],
|
|
537
|
+
stateMutability: "view",
|
|
538
|
+
type: "function",
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
inputs: [
|
|
542
|
+
{
|
|
543
|
+
internalType: "uint256",
|
|
544
|
+
name: "_amount",
|
|
545
|
+
type: "uint256",
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
internalType: "address",
|
|
549
|
+
name: "_recipient",
|
|
550
|
+
type: "address",
|
|
551
|
+
},
|
|
552
|
+
],
|
|
553
|
+
name: "giveInterestToUser",
|
|
554
|
+
outputs: [],
|
|
555
|
+
stateMutability: "nonpayable",
|
|
556
|
+
type: "function",
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
inputs: [
|
|
560
|
+
{
|
|
561
|
+
internalType: "bytes32",
|
|
562
|
+
name: "role",
|
|
563
|
+
type: "bytes32",
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
internalType: "address",
|
|
567
|
+
name: "account",
|
|
568
|
+
type: "address",
|
|
569
|
+
},
|
|
570
|
+
],
|
|
571
|
+
name: "grantRole",
|
|
572
|
+
outputs: [],
|
|
573
|
+
stateMutability: "nonpayable",
|
|
574
|
+
type: "function",
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
inputs: [
|
|
578
|
+
{
|
|
579
|
+
internalType: "bytes32",
|
|
580
|
+
name: "role",
|
|
581
|
+
type: "bytes32",
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
internalType: "address",
|
|
585
|
+
name: "account",
|
|
586
|
+
type: "address",
|
|
587
|
+
},
|
|
588
|
+
],
|
|
589
|
+
name: "hasRole",
|
|
590
|
+
outputs: [
|
|
591
|
+
{
|
|
592
|
+
internalType: "bool",
|
|
593
|
+
name: "",
|
|
594
|
+
type: "bool",
|
|
595
|
+
},
|
|
596
|
+
],
|
|
597
|
+
stateMutability: "view",
|
|
598
|
+
type: "function",
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
inputs: [
|
|
602
|
+
{
|
|
603
|
+
internalType: "address",
|
|
604
|
+
name: "spender",
|
|
605
|
+
type: "address",
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
internalType: "uint256",
|
|
609
|
+
name: "addedValue",
|
|
610
|
+
type: "uint256",
|
|
611
|
+
},
|
|
612
|
+
],
|
|
613
|
+
name: "increaseAllowance",
|
|
614
|
+
outputs: [
|
|
615
|
+
{
|
|
616
|
+
internalType: "bool",
|
|
617
|
+
name: "",
|
|
618
|
+
type: "bool",
|
|
619
|
+
},
|
|
620
|
+
],
|
|
621
|
+
stateMutability: "nonpayable",
|
|
622
|
+
type: "function",
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
inputs: [
|
|
626
|
+
{
|
|
627
|
+
internalType: "string",
|
|
628
|
+
name: "name",
|
|
629
|
+
type: "string",
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
internalType: "string",
|
|
633
|
+
name: "symbol",
|
|
634
|
+
type: "string",
|
|
635
|
+
},
|
|
636
|
+
],
|
|
637
|
+
name: "initialize",
|
|
638
|
+
outputs: [],
|
|
639
|
+
stateMutability: "nonpayable",
|
|
640
|
+
type: "function",
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
inputs: [
|
|
644
|
+
{
|
|
645
|
+
internalType: "address",
|
|
646
|
+
name: "to",
|
|
647
|
+
type: "address",
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
internalType: "uint256",
|
|
651
|
+
name: "amount",
|
|
652
|
+
type: "uint256",
|
|
653
|
+
},
|
|
654
|
+
],
|
|
655
|
+
name: "mint",
|
|
656
|
+
outputs: [],
|
|
657
|
+
stateMutability: "nonpayable",
|
|
658
|
+
type: "function",
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
inputs: [],
|
|
662
|
+
name: "name",
|
|
663
|
+
outputs: [
|
|
664
|
+
{
|
|
665
|
+
internalType: "string",
|
|
666
|
+
name: "",
|
|
667
|
+
type: "string",
|
|
668
|
+
},
|
|
669
|
+
],
|
|
670
|
+
stateMutability: "view",
|
|
671
|
+
type: "function",
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
inputs: [],
|
|
675
|
+
name: "pause",
|
|
676
|
+
outputs: [],
|
|
677
|
+
stateMutability: "nonpayable",
|
|
678
|
+
type: "function",
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
inputs: [],
|
|
682
|
+
name: "paused",
|
|
683
|
+
outputs: [
|
|
684
|
+
{
|
|
685
|
+
internalType: "bool",
|
|
686
|
+
name: "",
|
|
687
|
+
type: "bool",
|
|
688
|
+
},
|
|
689
|
+
],
|
|
690
|
+
stateMutability: "view",
|
|
691
|
+
type: "function",
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
inputs: [
|
|
695
|
+
{
|
|
696
|
+
internalType: "bytes32",
|
|
697
|
+
name: "role",
|
|
698
|
+
type: "bytes32",
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
internalType: "address",
|
|
702
|
+
name: "account",
|
|
703
|
+
type: "address",
|
|
704
|
+
},
|
|
705
|
+
],
|
|
706
|
+
name: "renounceRole",
|
|
707
|
+
outputs: [],
|
|
708
|
+
stateMutability: "nonpayable",
|
|
709
|
+
type: "function",
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
inputs: [
|
|
713
|
+
{
|
|
714
|
+
internalType: "bytes32",
|
|
715
|
+
name: "role",
|
|
716
|
+
type: "bytes32",
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
internalType: "address",
|
|
720
|
+
name: "account",
|
|
721
|
+
type: "address",
|
|
722
|
+
},
|
|
723
|
+
],
|
|
724
|
+
name: "revokeRole",
|
|
725
|
+
outputs: [],
|
|
726
|
+
stateMutability: "nonpayable",
|
|
727
|
+
type: "function",
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
inputs: [
|
|
731
|
+
{
|
|
732
|
+
internalType: "bytes4",
|
|
733
|
+
name: "interfaceId",
|
|
734
|
+
type: "bytes4",
|
|
735
|
+
},
|
|
736
|
+
],
|
|
737
|
+
name: "supportsInterface",
|
|
738
|
+
outputs: [
|
|
739
|
+
{
|
|
740
|
+
internalType: "bool",
|
|
741
|
+
name: "",
|
|
742
|
+
type: "bool",
|
|
743
|
+
},
|
|
744
|
+
],
|
|
745
|
+
stateMutability: "view",
|
|
746
|
+
type: "function",
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
inputs: [],
|
|
750
|
+
name: "symbol",
|
|
751
|
+
outputs: [
|
|
752
|
+
{
|
|
753
|
+
internalType: "string",
|
|
754
|
+
name: "",
|
|
755
|
+
type: "string",
|
|
756
|
+
},
|
|
757
|
+
],
|
|
758
|
+
stateMutability: "view",
|
|
759
|
+
type: "function",
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
inputs: [],
|
|
763
|
+
name: "totalSupply",
|
|
764
|
+
outputs: [
|
|
765
|
+
{
|
|
766
|
+
internalType: "uint256",
|
|
767
|
+
name: "",
|
|
768
|
+
type: "uint256",
|
|
769
|
+
},
|
|
770
|
+
],
|
|
771
|
+
stateMutability: "view",
|
|
772
|
+
type: "function",
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
inputs: [
|
|
776
|
+
{
|
|
777
|
+
internalType: "address",
|
|
778
|
+
name: "to",
|
|
779
|
+
type: "address",
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
internalType: "uint256",
|
|
783
|
+
name: "amount",
|
|
784
|
+
type: "uint256",
|
|
785
|
+
},
|
|
786
|
+
],
|
|
787
|
+
name: "transfer",
|
|
788
|
+
outputs: [
|
|
789
|
+
{
|
|
790
|
+
internalType: "bool",
|
|
791
|
+
name: "",
|
|
792
|
+
type: "bool",
|
|
793
|
+
},
|
|
794
|
+
],
|
|
795
|
+
stateMutability: "nonpayable",
|
|
796
|
+
type: "function",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
inputs: [
|
|
800
|
+
{
|
|
801
|
+
internalType: "address",
|
|
802
|
+
name: "from",
|
|
803
|
+
type: "address",
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
internalType: "address",
|
|
807
|
+
name: "to",
|
|
808
|
+
type: "address",
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
internalType: "uint256",
|
|
812
|
+
name: "amount",
|
|
813
|
+
type: "uint256",
|
|
814
|
+
},
|
|
815
|
+
],
|
|
816
|
+
name: "transferFrom",
|
|
817
|
+
outputs: [
|
|
818
|
+
{
|
|
819
|
+
internalType: "bool",
|
|
820
|
+
name: "",
|
|
821
|
+
type: "bool",
|
|
822
|
+
},
|
|
823
|
+
],
|
|
824
|
+
stateMutability: "nonpayable",
|
|
825
|
+
type: "function",
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
inputs: [],
|
|
829
|
+
name: "underlyingAsset",
|
|
830
|
+
outputs: [
|
|
831
|
+
{
|
|
832
|
+
internalType: "address",
|
|
833
|
+
name: "",
|
|
834
|
+
type: "address",
|
|
835
|
+
},
|
|
836
|
+
],
|
|
837
|
+
stateMutability: "view",
|
|
838
|
+
type: "function",
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
inputs: [],
|
|
842
|
+
name: "unpause",
|
|
843
|
+
outputs: [],
|
|
844
|
+
stateMutability: "nonpayable",
|
|
845
|
+
type: "function",
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
inputs: [
|
|
849
|
+
{
|
|
850
|
+
internalType: "address",
|
|
851
|
+
name: "asset",
|
|
852
|
+
type: "address",
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
internalType: "uint256",
|
|
856
|
+
name: "amount",
|
|
857
|
+
type: "uint256",
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
internalType: "address",
|
|
861
|
+
name: "to",
|
|
862
|
+
type: "address",
|
|
863
|
+
},
|
|
864
|
+
],
|
|
865
|
+
name: "withdraw",
|
|
866
|
+
outputs: [
|
|
867
|
+
{
|
|
868
|
+
internalType: "uint256",
|
|
869
|
+
name: "",
|
|
870
|
+
type: "uint256",
|
|
871
|
+
},
|
|
872
|
+
],
|
|
873
|
+
stateMutability: "nonpayable",
|
|
874
|
+
type: "function",
|
|
875
|
+
},
|
|
876
|
+
];
|
|
877
|
+
|
|
878
|
+
const _bytecode =
|
|
879
|
+
"0x60806040523480156200001157600080fd5b50604051620027f2380380620027f2833981016040819052620000349162000487565b600054610100900460ff1615808015620000555750600054600160ff909116105b806200008557506200007230620001b660201b62000bbb1760201c565b15801562000085575060005460ff166001145b620000ee5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000112576000805461ff0019166101001790555b6101c380546001600160a01b0319166001600160a01b038416179055604080518082018252600580825264615553444360d81b60208084018290528451808601909552918452908301526200016791620001c5565b8015620001ae576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505062000674565b6001600160a01b03163b151590565b600054610100900460ff16620001ef5760405162461bcd60e51b8152600401620000e590620004b9565b620001fb828262000215565b6200020562000261565b62000211828262000298565b5050565b600054610100900460ff166200023f5760405162461bcd60e51b8152600401620000e590620004b9565b60cc6200024d8382620005a8565b5060cd6200025c8282620005a8565b505050565b600054610100900460ff166200028b5760405162461bcd60e51b8152600401620000e590620004b9565b61012d805460ff19169055565b600054610100900460ff16620002c25760405162461bcd60e51b8152600401620000e590620004b9565b620002d56000336200032d565b6200032d565b620003017f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200032d565b620002117f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620002cf565b6200021182826200034a82826200037160201b62000bca1760201c565b60008281526097602090815260409091206200025c91839062000c5062000415821b17901c565b60008281526065602090815260408083206001600160a01b038516845290915290205460ff16620002115760008281526065602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003d13390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006200042c836001600160a01b03841662000435565b90505b92915050565b60008181526001830160205260408120546200047e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200042f565b5060006200042f565b6000602082840312156200049a57600080fd5b81516001600160a01b0381168114620004b257600080fd5b9392505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200052f57607f821691505b6020821081036200055057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025c57600081815260208120601f850160051c810160208610156200057f5750805b601f850160051c820191505b81811015620005a0578281556001016200058b565b505050505050565b81516001600160401b03811115620005c457620005c462000504565b620005dc81620005d584546200051a565b8462000556565b602080601f831160018114620006145760008415620005fb5750858301515b600019600386901b1c1916600185901b178555620005a0565b600085815260208120601f198616915b82811015620006455788860151825594840194600190910190840162000624565b5085821015620006645787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61216e80620006846000396000f3fe608060405234801561001057600080fd5b50600436106101965760003560e01c806301ffc9a71461019b57806306fdde03146101c3578063095ea7b3146101d857806318160ddd146101eb57806323b872dd146101fd578063248a9ca3146102105780632f2ff15d14610223578063313ce5671461023857806335ea6a751461024757806336568abe14610267578063395093511461027a5780633f4ba83a1461028d57806340c10f191461029557806342966c68146102a85780634cd88b76146102bb5780635c975abb146102ce57806369328dec146102da57806370a08231146102ed5780637158da7c1461030057806379cc6790146103215780638456cb59146103345780639010d07c1461033c57806391d148541461034f57806395d89b4114610362578063a217fddf1461036a578063a457c2d714610372578063a9059cbb14610385578063c759d44e14610398578063ca15c873146103ab578063d5391393146103be578063d547741f146103d3578063dd62ed3e146103e6578063e63ab1e9146103f9578063e8eda9df1461040e575b600080fd5b6101ae6101a936600461192d565b610421565b60405190151581526020015b60405180910390f35b6101cb61044c565b6040516101ba919061197b565b6101ae6101e63660046119ca565b6104de565b60cb545b6040519081526020016101ba565b6101ae61020b3660046119f4565b6104f6565b6101ef61021e366004611a30565b61051a565b610236610231366004611a49565b61052f565b005b604051600681526020016101ba565b61025a610255366004611a75565b610550565b6040516101ba9190611aaa565b610236610275366004611a49565b61056c565b6101ae6102883660046119ca565b6105ef565b610236610611565b6102366102a33660046119ca565b61068f565b6102366102b6366004611a30565b61070a565b6102366102c9366004611c32565b610717565b61012d5460ff166101ae565b6101ef6102e8366004611c95565b610832565b6101ef6102fb366004611a75565b6108e9565b6101c354610314906001600160a01b031681565b6040516101ba9190611cd1565b61023661032f3660046119ca565b610904565b610236610919565b61031461034a366004611ce5565b610993565b6101ae61035d366004611a49565b6109b2565b6101cb6109dd565b6101ef600081565b6101ae6103803660046119ca565b6109ec565b6101ae6103933660046119ca565b610a67565b6102366103a6366004611a49565b610a75565b6101ef6103b9366004611a30565b610aa7565b6101ef6000805160206120f983398151915281565b6102366103e1366004611a49565b610abe565b6101ef6103f4366004611d07565b610ada565b6101ef6000805160206120d983398151915281565b61023661041c366004611d31565b610b05565b60006001600160e01b03198216635a05180f60e01b1480610446575061044682610c65565b92915050565b606060cc805461045b90611d87565b80601f016020809104026020016040519081016040528092919081815260200182805461048790611d87565b80156104d45780601f106104a9576101008083540402835291602001916104d4565b820191906000526020600020905b8154815290600101906020018083116104b757829003601f168201915b5050505050905090565b6000336104ec818585610c9a565b5060019392505050565b600033610504858285610dbe565b61050f858585610e32565b506001949350505050565b60009081526065602052604090206001015490565b6105388261051a565b61054181610fd6565b61054b8383610fe0565b505050565b6105586118c2565b6105606118c2565b3060e082015292915050565b6001600160a01b03811633146105e15760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105eb8282611002565b5050565b6000336104ec8185856106028383610ada565b61060c9190611dd7565b610c9a565b6106296000805160206120d9833981519152336109b2565b6106855760405162461bcd60e51b815260206004820152603960248201526000805160206120b983398151915260448201527876652070617573657220726f6c6520746f20756e706175736560381b60648201526084016105d8565b61068d611024565b565b6106a76000805160206120f9833981519152336109b2565b6107005760405162461bcd60e51b815260206004820152603660248201526000805160206120b98339815191526044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b60648201526084016105d8565b6105eb8282611071565b610714338261112c565b50565b600054610100900460ff16158080156107375750600054600160ff909116105b80610758575061074630610bbb565b158015610758575060005460ff166001145b6107bb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016105d8565b6000805460ff1916600117905580156107de576000805461ff0019166101001790555b6107e8838361125a565b801561054b576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b6101c3546000906001600160a01b038581169116146108635760405162461bcd60e51b81526004016105d890611dea565b61086d338461112c565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820185905285169063a9059cbb906044016020604051808303816000875af11580156108bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e09190611e38565b50919392505050565b6001600160a01b0316600090815260c9602052604090205490565b61090f823383610dbe565b6105eb828261112c565b6109316000805160206120d9833981519152336109b2565b61098b5760405162461bcd60e51b815260206004820152603760248201526000805160206120b983398151915260448201527676652070617573657220726f6c6520746f20706175736560481b60648201526084016105d8565b61068d61129d565b60008281526097602052604081206109ab90836112db565b9392505050565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060cd805461045b90611d87565b600033816109fa8286610ada565b905083811015610a5a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105d8565b61050f8286868403610c9a565b6000336104ec818585610e32565b6105eb816064610a858582611dd7565b610a8e856108e9565b610a989190611e5a565b610aa29190611e79565b611071565b6000818152609760205260408120610446906112e7565b610ac78261051a565b610ad081610fd6565b61054b8383611002565b6001600160a01b03918216600090815260ca6020908152604080832093909416825291909152205490565b6101c3546001600160a01b03858116911614610b335760405162461bcd60e51b81526004016105d890611dea565b6040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b038516906323b872dd906064016020604051808303816000875af1158015610b86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610baa9190611e38565b50610bb58284611071565b50505050565b6001600160a01b03163b151590565b610bd482826109b2565b6105eb5760008281526065602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610c0c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006109ab836001600160a01b0384166112f1565b60006001600160e01b03198216637965db0b60e01b148061044657506301ffc9a760e01b6001600160e01b0319831614610446565b6001600160a01b038316610cfc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105d8565b6001600160a01b038216610d5d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105d8565b6001600160a01b03838116600081815260ca602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610dca8484610ada565b90506000198114610bb55781811015610e255760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105d8565b610bb58484848403610c9a565b6001600160a01b038316610e965760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105d8565b6001600160a01b038216610ef85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105d8565b610f03838383611340565b6001600160a01b038316600090815260c9602052604090205481811015610f7b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105d8565b6001600160a01b03808516600081815260c96020526040808220868603905592861680825290839020805486019055915160008051602061211983398151915290610fc99086815260200190565b60405180910390a3610bb5565b610714813361134b565b610fea8282610bca565b600082815260976020526040902061054b9082610c50565b61100c82826113a4565b600082815260976020526040902061054b908261140b565b61102c611420565b61012d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516110679190611cd1565b60405180910390a1565b6001600160a01b0382166110c75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105d8565b6110d360008383611340565b8060cb60008282546110e59190611dd7565b90915550506001600160a01b038216600081815260c96020908152604080832080548601905551848152600080516020612119833981519152910160405180910390a35050565b6001600160a01b03821661118c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105d8565b61119882600083611340565b6001600160a01b038216600090815260c960205260409020548181101561120c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105d8565b6001600160a01b038316600081815260c960209081526040808320868603905560cb8054879003905551858152919291600080516020612119833981519152910160405180910390a3505050565b600054610100900460ff166112815760405162461bcd60e51b81526004016105d890611e9b565b61128b828261146a565b6112936114aa565b6105eb82826114de565b6112a5611540565b61012d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861105a3390565b60006109ab8383611587565b6000610446825490565b600081815260018301602052604081205461133857508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610446565b506000610446565b61054b8383836115b1565b61135582826109b2565b6105eb5761136281611618565b61136d83602061162a565b60405160200161137e929190611ee6565b60408051601f198184030181529082905262461bcd60e51b82526105d89160040161197b565b6113ae82826109b2565b156105eb5760008281526065602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006109ab836001600160a01b0384166117c5565b61012d5460ff1661068d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105d8565b600054610100900460ff166114915760405162461bcd60e51b81526004016105d890611e9b565b60cc61149d8382611fa3565b5060cd61054b8282611fa3565b600054610100900460ff166114d15760405162461bcd60e51b81526004016105d890611e9b565b61012d805460ff19169055565b600054610100900460ff166115055760405162461bcd60e51b81526004016105d890611e9b565b6115106000336118b8565b6115286000805160206120f9833981519152336118b8565b6105eb6000805160206120d9833981519152336118b8565b61012d5460ff161561068d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105d8565b600082600001828154811061159e5761159e612062565b9060005260206000200154905092915050565b61012d5460ff161561054b5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016105d8565b60606104466001600160a01b03831660145b60606000611639836002611e5a565b611644906002611dd7565b6001600160401b0381111561165b5761165b611b90565b6040519080825280601f01601f191660200182016040528015611685576020820181803683370190505b509050600360fc1b816000815181106116a0576116a0612062565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106116cf576116cf612062565b60200101906001600160f81b031916908160001a90535060006116f3846002611e5a565b6116fe906001611dd7565b90505b6001811115611776576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061173257611732612062565b1a60f81b82828151811061174857611748612062565b60200101906001600160f81b031916908160001a90535060049490941c9361176f81612078565b9050611701565b5083156109ab5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105d8565b600081815260018301602052604081205480156118ae5760006117e960018361208f565b85549091506000906117fd9060019061208f565b905081811461186257600086600001828154811061181d5761181d612062565b906000526020600020015490508087600001848154811061184057611840612062565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611873576118736120a2565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610446565b6000915050610446565b6105eb8282610fe0565b604080516101a08101825260006101808201818152825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081018290526101208101829052610140810182905261016081019190915290565b60006020828403121561193f57600080fd5b81356001600160e01b0319811681146109ab57600080fd5b60005b8381101561197257818101518382015260200161195a565b50506000910152565b602081526000825180602084015261199a816040850160208701611957565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146119c557600080fd5b919050565b600080604083850312156119dd57600080fd5b6119e6836119ae565b946020939093013593505050565b600080600060608486031215611a0957600080fd5b611a12846119ae565b9250611a20602085016119ae565b9150604084013590509250925092565b600060208284031215611a4257600080fd5b5035919050565b60008060408385031215611a5c57600080fd5b82359150611a6c602084016119ae565b90509250929050565b600060208284031215611a8757600080fd5b6109ab826119ae565b6001600160801b03169052565b6001600160a01b03169052565b815151815261018081016020830151611ac66020840182611a90565b506040830151611ad96040840182611a90565b506060830151611aec6060840182611a90565b506080830151611aff6080840182611a90565b5060a0830151611b1260a0840182611a90565b5060c0830151611b2b60c084018264ffffffffff169052565b5060e0830151611b3e60e0840182611a9d565b5061010080840151611b5282850182611a9d565b505061012080840151611b6782850182611a9d565b505061014080840151611b7c82850182611a9d565b50506101609283015160ff16919092015290565b634e487b7160e01b600052604160045260246000fd5b600082601f830112611bb757600080fd5b81356001600160401b0380821115611bd157611bd1611b90565b604051601f8301601f19908116603f01168101908282118183101715611bf957611bf9611b90565b81604052838152866020858801011115611c1257600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060408385031215611c4557600080fd5b82356001600160401b0380821115611c5c57600080fd5b611c6886838701611ba6565b93506020850135915080821115611c7e57600080fd5b50611c8b85828601611ba6565b9150509250929050565b600080600060608486031215611caa57600080fd5b611cb3846119ae565b925060208401359150611cc8604085016119ae565b90509250925092565b6001600160a01b0391909116815260200190565b60008060408385031215611cf857600080fd5b50508035926020909101359150565b60008060408385031215611d1a57600080fd5b611d23836119ae565b9150611a6c602084016119ae565b60008060008060808587031215611d4757600080fd5b611d50856119ae565b935060208501359250611d65604086016119ae565b9150606085013561ffff81168114611d7c57600080fd5b939692955090935050565b600181811c90821680611d9b57607f821691505b602082108103611dbb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561044657610446611dc1565b6020808252602e908201527f61737365742073686f756c642062652073616d6520776974682073657420756e60408201526d19195c9b1e5a5b99c8185cdcd95d60921b606082015260800190565b600060208284031215611e4a57600080fd5b815180151581146109ab57600080fd5b6000816000190483118215151615611e7457611e74611dc1565b500290565b600082611e9657634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351611f18816017850160208801611957565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611f49816028840160208801611957565b01602801949350505050565b601f82111561054b57600081815260208120601f850160051c81016020861015611f7c5750805b601f850160051c820191505b81811015611f9b57828155600101611f88565b505050505050565b81516001600160401b03811115611fbc57611fbc611b90565b611fd081611fca8454611d87565b84611f55565b602080601f8311600181146120055760008415611fed5750858301515b600019600386901b1c1916600185901b178555611f9b565b600085815260208120601f198616915b8281101561203457888601518255948401946001909101908401612015565b50858210156120525787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60008161208757612087611dc1565b506000190190565b8181038181111561044657610446611dc1565b634e487b7160e01b600052603160045260246000fdfe45524332305072657365744d696e7465725061757365723a206d75737420686165d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212207fc4d6558524a7f3ea27b12990e8d2714fe6df4e1407793fdcdba8e44f3663ad64736f6c63430008100033";
|
|
880
|
+
|
|
881
|
+
type LendingPoolMockConstructorParams =
|
|
882
|
+
| [signer?: Signer]
|
|
883
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
884
|
+
|
|
885
|
+
const isSuperArgs = (
|
|
886
|
+
xs: LendingPoolMockConstructorParams
|
|
887
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
888
|
+
|
|
889
|
+
export class LendingPoolMock__factory extends ContractFactory {
|
|
890
|
+
constructor(...args: LendingPoolMockConstructorParams) {
|
|
891
|
+
if (isSuperArgs(args)) {
|
|
892
|
+
super(...args);
|
|
893
|
+
} else {
|
|
894
|
+
super(_abi, _bytecode, args[0]);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
deploy(
|
|
899
|
+
_asset: string,
|
|
900
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
901
|
+
): Promise<LendingPoolMock> {
|
|
902
|
+
return super.deploy(_asset, overrides || {}) as Promise<LendingPoolMock>;
|
|
903
|
+
}
|
|
904
|
+
getDeployTransaction(
|
|
905
|
+
_asset: string,
|
|
906
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
907
|
+
): TransactionRequest {
|
|
908
|
+
return super.getDeployTransaction(_asset, overrides || {});
|
|
909
|
+
}
|
|
910
|
+
attach(address: string): LendingPoolMock {
|
|
911
|
+
return super.attach(address) as LendingPoolMock;
|
|
912
|
+
}
|
|
913
|
+
connect(signer: Signer): LendingPoolMock__factory {
|
|
914
|
+
return super.connect(signer) as LendingPoolMock__factory;
|
|
915
|
+
}
|
|
916
|
+
static readonly bytecode = _bytecode;
|
|
917
|
+
static readonly abi = _abi;
|
|
918
|
+
static createInterface(): LendingPoolMockInterface {
|
|
919
|
+
return new utils.Interface(_abi) as LendingPoolMockInterface;
|
|
920
|
+
}
|
|
921
|
+
static connect(
|
|
922
|
+
address: string,
|
|
923
|
+
signerOrProvider: Signer | Provider
|
|
924
|
+
): LendingPoolMock {
|
|
925
|
+
return new Contract(address, _abi, signerOrProvider) as LendingPoolMock;
|
|
926
|
+
}
|
|
927
|
+
}
|