@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,1470 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
Signer,
|
|
7
|
-
utils,
|
|
8
|
-
BigNumberish,
|
|
9
|
-
Contract,
|
|
10
|
-
ContractFactory,
|
|
11
|
-
Overrides,
|
|
12
|
-
} from "ethers";
|
|
13
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
14
|
-
import type {
|
|
15
|
-
GoodCompoundStakingTest,
|
|
16
|
-
GoodCompoundStakingTestInterface,
|
|
17
|
-
} from "../GoodCompoundStakingTest";
|
|
18
|
-
|
|
19
|
-
const _abi = [
|
|
20
|
-
{
|
|
21
|
-
inputs: [
|
|
22
|
-
{
|
|
23
|
-
internalType: "address",
|
|
24
|
-
name: "_token",
|
|
25
|
-
type: "address",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
internalType: "address",
|
|
29
|
-
name: "_iToken",
|
|
30
|
-
type: "address",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
internalType: "contract INameService",
|
|
34
|
-
name: "_ns",
|
|
35
|
-
type: "address",
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
internalType: "string",
|
|
39
|
-
name: "_tokenName",
|
|
40
|
-
type: "string",
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
internalType: "string",
|
|
44
|
-
name: "_tokenSymbol",
|
|
45
|
-
type: "string",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
internalType: "uint64",
|
|
49
|
-
name: "_maxRewardThreshold",
|
|
50
|
-
type: "uint64",
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
internalType: "address",
|
|
54
|
-
name: "_tokenUsdOracle",
|
|
55
|
-
type: "address",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
internalType: "address",
|
|
59
|
-
name: "_compUsdOracle",
|
|
60
|
-
type: "address",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
internalType: "address[]",
|
|
64
|
-
name: "_swapPath",
|
|
65
|
-
type: "address[]",
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
stateMutability: "nonpayable",
|
|
69
|
-
type: "constructor",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
anonymous: false,
|
|
73
|
-
inputs: [
|
|
74
|
-
{
|
|
75
|
-
indexed: true,
|
|
76
|
-
internalType: "address",
|
|
77
|
-
name: "owner",
|
|
78
|
-
type: "address",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
indexed: true,
|
|
82
|
-
internalType: "address",
|
|
83
|
-
name: "spender",
|
|
84
|
-
type: "address",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
indexed: false,
|
|
88
|
-
internalType: "uint256",
|
|
89
|
-
name: "value",
|
|
90
|
-
type: "uint256",
|
|
91
|
-
},
|
|
92
|
-
],
|
|
93
|
-
name: "Approval",
|
|
94
|
-
type: "event",
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
anonymous: false,
|
|
98
|
-
inputs: [
|
|
99
|
-
{
|
|
100
|
-
indexed: false,
|
|
101
|
-
internalType: "uint8",
|
|
102
|
-
name: "version",
|
|
103
|
-
type: "uint8",
|
|
104
|
-
},
|
|
105
|
-
],
|
|
106
|
-
name: "Initialized",
|
|
107
|
-
type: "event",
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
anonymous: false,
|
|
111
|
-
inputs: [
|
|
112
|
-
{
|
|
113
|
-
indexed: false,
|
|
114
|
-
internalType: "address",
|
|
115
|
-
name: "recipient",
|
|
116
|
-
type: "address",
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
indexed: false,
|
|
120
|
-
internalType: "uint256",
|
|
121
|
-
name: "iTokenGains",
|
|
122
|
-
type: "uint256",
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
indexed: false,
|
|
126
|
-
internalType: "uint256",
|
|
127
|
-
name: "tokenGains",
|
|
128
|
-
type: "uint256",
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
indexed: false,
|
|
132
|
-
internalType: "uint256",
|
|
133
|
-
name: "actualTokenRedeemed",
|
|
134
|
-
type: "uint256",
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
indexed: false,
|
|
138
|
-
internalType: "uint256",
|
|
139
|
-
name: "actualRewardTokenEarned",
|
|
140
|
-
type: "uint256",
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
indexed: false,
|
|
144
|
-
internalType: "uint256",
|
|
145
|
-
name: "interestCollectedInDAI",
|
|
146
|
-
type: "uint256",
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
name: "InterestCollected",
|
|
150
|
-
type: "event",
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
anonymous: false,
|
|
154
|
-
inputs: [
|
|
155
|
-
{
|
|
156
|
-
indexed: true,
|
|
157
|
-
internalType: "address",
|
|
158
|
-
name: "staker",
|
|
159
|
-
type: "address",
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
indexed: false,
|
|
163
|
-
internalType: "address",
|
|
164
|
-
name: "token",
|
|
165
|
-
type: "address",
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
indexed: false,
|
|
169
|
-
internalType: "uint256",
|
|
170
|
-
name: "value",
|
|
171
|
-
type: "uint256",
|
|
172
|
-
},
|
|
173
|
-
],
|
|
174
|
-
name: "StakeWithdraw",
|
|
175
|
-
type: "event",
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
anonymous: false,
|
|
179
|
-
inputs: [
|
|
180
|
-
{
|
|
181
|
-
indexed: true,
|
|
182
|
-
internalType: "address",
|
|
183
|
-
name: "staker",
|
|
184
|
-
type: "address",
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
indexed: false,
|
|
188
|
-
internalType: "address",
|
|
189
|
-
name: "token",
|
|
190
|
-
type: "address",
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
indexed: false,
|
|
194
|
-
internalType: "uint256",
|
|
195
|
-
name: "value",
|
|
196
|
-
type: "uint256",
|
|
197
|
-
},
|
|
198
|
-
],
|
|
199
|
-
name: "Staked",
|
|
200
|
-
type: "event",
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
anonymous: false,
|
|
204
|
-
inputs: [
|
|
205
|
-
{
|
|
206
|
-
indexed: true,
|
|
207
|
-
internalType: "address",
|
|
208
|
-
name: "from",
|
|
209
|
-
type: "address",
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
indexed: true,
|
|
213
|
-
internalType: "address",
|
|
214
|
-
name: "to",
|
|
215
|
-
type: "address",
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
indexed: false,
|
|
219
|
-
internalType: "uint256",
|
|
220
|
-
name: "value",
|
|
221
|
-
type: "uint256",
|
|
222
|
-
},
|
|
223
|
-
],
|
|
224
|
-
name: "Transfer",
|
|
225
|
-
type: "event",
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
inputs: [],
|
|
229
|
-
name: "accAmountPerShare",
|
|
230
|
-
outputs: [
|
|
231
|
-
{
|
|
232
|
-
internalType: "uint256",
|
|
233
|
-
name: "",
|
|
234
|
-
type: "uint256",
|
|
235
|
-
},
|
|
236
|
-
],
|
|
237
|
-
stateMutability: "view",
|
|
238
|
-
type: "function",
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
inputs: [],
|
|
242
|
-
name: "accumulatedRewards",
|
|
243
|
-
outputs: [
|
|
244
|
-
{
|
|
245
|
-
internalType: "uint256",
|
|
246
|
-
name: "",
|
|
247
|
-
type: "uint256",
|
|
248
|
-
},
|
|
249
|
-
],
|
|
250
|
-
stateMutability: "view",
|
|
251
|
-
type: "function",
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
inputs: [
|
|
255
|
-
{
|
|
256
|
-
internalType: "address",
|
|
257
|
-
name: "owner",
|
|
258
|
-
type: "address",
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
internalType: "address",
|
|
262
|
-
name: "spender",
|
|
263
|
-
type: "address",
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
name: "allowance",
|
|
267
|
-
outputs: [
|
|
268
|
-
{
|
|
269
|
-
internalType: "uint256",
|
|
270
|
-
name: "",
|
|
271
|
-
type: "uint256",
|
|
272
|
-
},
|
|
273
|
-
],
|
|
274
|
-
stateMutability: "view",
|
|
275
|
-
type: "function",
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
inputs: [
|
|
279
|
-
{
|
|
280
|
-
internalType: "address",
|
|
281
|
-
name: "spender",
|
|
282
|
-
type: "address",
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
internalType: "uint256",
|
|
286
|
-
name: "amount",
|
|
287
|
-
type: "uint256",
|
|
288
|
-
},
|
|
289
|
-
],
|
|
290
|
-
name: "approve",
|
|
291
|
-
outputs: [
|
|
292
|
-
{
|
|
293
|
-
internalType: "bool",
|
|
294
|
-
name: "",
|
|
295
|
-
type: "bool",
|
|
296
|
-
},
|
|
297
|
-
],
|
|
298
|
-
stateMutability: "nonpayable",
|
|
299
|
-
type: "function",
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
inputs: [],
|
|
303
|
-
name: "avatar",
|
|
304
|
-
outputs: [
|
|
305
|
-
{
|
|
306
|
-
internalType: "address",
|
|
307
|
-
name: "",
|
|
308
|
-
type: "address",
|
|
309
|
-
},
|
|
310
|
-
],
|
|
311
|
-
stateMutability: "view",
|
|
312
|
-
type: "function",
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
inputs: [
|
|
316
|
-
{
|
|
317
|
-
internalType: "address",
|
|
318
|
-
name: "account",
|
|
319
|
-
type: "address",
|
|
320
|
-
},
|
|
321
|
-
],
|
|
322
|
-
name: "balanceOf",
|
|
323
|
-
outputs: [
|
|
324
|
-
{
|
|
325
|
-
internalType: "uint256",
|
|
326
|
-
name: "",
|
|
327
|
-
type: "uint256",
|
|
328
|
-
},
|
|
329
|
-
],
|
|
330
|
-
stateMutability: "view",
|
|
331
|
-
type: "function",
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
inputs: [],
|
|
335
|
-
name: "claimReputation",
|
|
336
|
-
outputs: [],
|
|
337
|
-
stateMutability: "nonpayable",
|
|
338
|
-
type: "function",
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
inputs: [],
|
|
342
|
-
name: "collectInterestGasCost",
|
|
343
|
-
outputs: [
|
|
344
|
-
{
|
|
345
|
-
internalType: "uint32",
|
|
346
|
-
name: "",
|
|
347
|
-
type: "uint32",
|
|
348
|
-
},
|
|
349
|
-
],
|
|
350
|
-
stateMutability: "view",
|
|
351
|
-
type: "function",
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
inputs: [
|
|
355
|
-
{
|
|
356
|
-
internalType: "address",
|
|
357
|
-
name: "_recipient",
|
|
358
|
-
type: "address",
|
|
359
|
-
},
|
|
360
|
-
],
|
|
361
|
-
name: "collectUBIInterest",
|
|
362
|
-
outputs: [
|
|
363
|
-
{
|
|
364
|
-
internalType: "uint256",
|
|
365
|
-
name: "actualTokenRedeemed",
|
|
366
|
-
type: "uint256",
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
internalType: "uint256",
|
|
370
|
-
name: "actualRewardTokenRedeemed",
|
|
371
|
-
type: "uint256",
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
internalType: "uint256",
|
|
375
|
-
name: "actualDai",
|
|
376
|
-
type: "uint256",
|
|
377
|
-
},
|
|
378
|
-
],
|
|
379
|
-
stateMutability: "nonpayable",
|
|
380
|
-
type: "function",
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
inputs: [],
|
|
384
|
-
name: "comp",
|
|
385
|
-
outputs: [
|
|
386
|
-
{
|
|
387
|
-
internalType: "contract ERC20",
|
|
388
|
-
name: "",
|
|
389
|
-
type: "address",
|
|
390
|
-
},
|
|
391
|
-
],
|
|
392
|
-
stateMutability: "view",
|
|
393
|
-
type: "function",
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
inputs: [],
|
|
397
|
-
name: "compCollectGasCost",
|
|
398
|
-
outputs: [
|
|
399
|
-
{
|
|
400
|
-
internalType: "uint32",
|
|
401
|
-
name: "",
|
|
402
|
-
type: "uint32",
|
|
403
|
-
},
|
|
404
|
-
],
|
|
405
|
-
stateMutability: "view",
|
|
406
|
-
type: "function",
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
inputs: [],
|
|
410
|
-
name: "compUsdOracle",
|
|
411
|
-
outputs: [
|
|
412
|
-
{
|
|
413
|
-
internalType: "address",
|
|
414
|
-
name: "",
|
|
415
|
-
type: "address",
|
|
416
|
-
},
|
|
417
|
-
],
|
|
418
|
-
stateMutability: "view",
|
|
419
|
-
type: "function",
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
inputs: [
|
|
423
|
-
{
|
|
424
|
-
internalType: "bool",
|
|
425
|
-
name: "_returnTokenBalanceInUSD",
|
|
426
|
-
type: "bool",
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
internalType: "bool",
|
|
430
|
-
name: "_returnTokenGainsInUSD",
|
|
431
|
-
type: "bool",
|
|
432
|
-
},
|
|
433
|
-
],
|
|
434
|
-
name: "currentGains",
|
|
435
|
-
outputs: [
|
|
436
|
-
{
|
|
437
|
-
internalType: "uint256",
|
|
438
|
-
name: "iTokenGains",
|
|
439
|
-
type: "uint256",
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
internalType: "uint256",
|
|
443
|
-
name: "tokenGains",
|
|
444
|
-
type: "uint256",
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
internalType: "uint256",
|
|
448
|
-
name: "tokenBalance",
|
|
449
|
-
type: "uint256",
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
internalType: "uint256",
|
|
453
|
-
name: "balanceInUSD",
|
|
454
|
-
type: "uint256",
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
internalType: "uint256",
|
|
458
|
-
name: "tokenGainsInUSD",
|
|
459
|
-
type: "uint256",
|
|
460
|
-
},
|
|
461
|
-
],
|
|
462
|
-
stateMutability: "view",
|
|
463
|
-
type: "function",
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
inputs: [],
|
|
467
|
-
name: "dao",
|
|
468
|
-
outputs: [
|
|
469
|
-
{
|
|
470
|
-
internalType: "contract Controller",
|
|
471
|
-
name: "",
|
|
472
|
-
type: "address",
|
|
473
|
-
},
|
|
474
|
-
],
|
|
475
|
-
stateMutability: "view",
|
|
476
|
-
type: "function",
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
inputs: [],
|
|
480
|
-
name: "decimals",
|
|
481
|
-
outputs: [
|
|
482
|
-
{
|
|
483
|
-
internalType: "uint8",
|
|
484
|
-
name: "",
|
|
485
|
-
type: "uint8",
|
|
486
|
-
},
|
|
487
|
-
],
|
|
488
|
-
stateMutability: "view",
|
|
489
|
-
type: "function",
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
inputs: [
|
|
493
|
-
{
|
|
494
|
-
internalType: "address",
|
|
495
|
-
name: "spender",
|
|
496
|
-
type: "address",
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
internalType: "uint256",
|
|
500
|
-
name: "subtractedValue",
|
|
501
|
-
type: "uint256",
|
|
502
|
-
},
|
|
503
|
-
],
|
|
504
|
-
name: "decreaseAllowance",
|
|
505
|
-
outputs: [
|
|
506
|
-
{
|
|
507
|
-
internalType: "bool",
|
|
508
|
-
name: "",
|
|
509
|
-
type: "bool",
|
|
510
|
-
},
|
|
511
|
-
],
|
|
512
|
-
stateMutability: "nonpayable",
|
|
513
|
-
type: "function",
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
inputs: [
|
|
517
|
-
{
|
|
518
|
-
internalType: "address",
|
|
519
|
-
name: "user",
|
|
520
|
-
type: "address",
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
internalType: "uint256",
|
|
524
|
-
name: "value",
|
|
525
|
-
type: "uint256",
|
|
526
|
-
},
|
|
527
|
-
],
|
|
528
|
-
name: "decreaseProductivityTest",
|
|
529
|
-
outputs: [],
|
|
530
|
-
stateMutability: "nonpayable",
|
|
531
|
-
type: "function",
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
inputs: [],
|
|
535
|
-
name: "getGasCostForInterestTransfer",
|
|
536
|
-
outputs: [
|
|
537
|
-
{
|
|
538
|
-
internalType: "uint32",
|
|
539
|
-
name: "",
|
|
540
|
-
type: "uint32",
|
|
541
|
-
},
|
|
542
|
-
],
|
|
543
|
-
stateMutability: "view",
|
|
544
|
-
type: "function",
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
inputs: [
|
|
548
|
-
{
|
|
549
|
-
internalType: "address",
|
|
550
|
-
name: "user",
|
|
551
|
-
type: "address",
|
|
552
|
-
},
|
|
553
|
-
],
|
|
554
|
-
name: "getProductivity",
|
|
555
|
-
outputs: [
|
|
556
|
-
{
|
|
557
|
-
internalType: "uint256",
|
|
558
|
-
name: "",
|
|
559
|
-
type: "uint256",
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
internalType: "uint256",
|
|
563
|
-
name: "",
|
|
564
|
-
type: "uint256",
|
|
565
|
-
},
|
|
566
|
-
],
|
|
567
|
-
stateMutability: "view",
|
|
568
|
-
type: "function",
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
inputs: [],
|
|
572
|
-
name: "getRouter",
|
|
573
|
-
outputs: [
|
|
574
|
-
{
|
|
575
|
-
internalType: "contract Uniswap",
|
|
576
|
-
name: "",
|
|
577
|
-
type: "address",
|
|
578
|
-
},
|
|
579
|
-
],
|
|
580
|
-
stateMutability: "view",
|
|
581
|
-
type: "function",
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
inputs: [
|
|
585
|
-
{
|
|
586
|
-
internalType: "address",
|
|
587
|
-
name: "_oracle",
|
|
588
|
-
type: "address",
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
internalType: "uint256",
|
|
592
|
-
name: "_amount",
|
|
593
|
-
type: "uint256",
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
internalType: "uint256",
|
|
597
|
-
name: "_decimals",
|
|
598
|
-
type: "uint256",
|
|
599
|
-
},
|
|
600
|
-
],
|
|
601
|
-
name: "getTokenValueInUSD",
|
|
602
|
-
outputs: [
|
|
603
|
-
{
|
|
604
|
-
internalType: "uint256",
|
|
605
|
-
name: "",
|
|
606
|
-
type: "uint256",
|
|
607
|
-
},
|
|
608
|
-
],
|
|
609
|
-
stateMutability: "view",
|
|
610
|
-
type: "function",
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
inputs: [
|
|
614
|
-
{
|
|
615
|
-
internalType: "address",
|
|
616
|
-
name: "_staker",
|
|
617
|
-
type: "address",
|
|
618
|
-
},
|
|
619
|
-
],
|
|
620
|
-
name: "getUserMintedAndPending",
|
|
621
|
-
outputs: [
|
|
622
|
-
{
|
|
623
|
-
internalType: "uint256",
|
|
624
|
-
name: "",
|
|
625
|
-
type: "uint256",
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
internalType: "uint256",
|
|
629
|
-
name: "",
|
|
630
|
-
type: "uint256",
|
|
631
|
-
},
|
|
632
|
-
],
|
|
633
|
-
stateMutability: "view",
|
|
634
|
-
type: "function",
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
inputs: [
|
|
638
|
-
{
|
|
639
|
-
internalType: "address",
|
|
640
|
-
name: "user",
|
|
641
|
-
type: "address",
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
internalType: "uint256",
|
|
645
|
-
name: "rewardsPerBlock",
|
|
646
|
-
type: "uint256",
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
internalType: "uint256",
|
|
650
|
-
name: "blockStart",
|
|
651
|
-
type: "uint256",
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
internalType: "uint256",
|
|
655
|
-
name: "blockEnd",
|
|
656
|
-
type: "uint256",
|
|
657
|
-
},
|
|
658
|
-
],
|
|
659
|
-
name: "getUserPendingReward",
|
|
660
|
-
outputs: [
|
|
661
|
-
{
|
|
662
|
-
internalType: "uint256",
|
|
663
|
-
name: "",
|
|
664
|
-
type: "uint256",
|
|
665
|
-
},
|
|
666
|
-
],
|
|
667
|
-
stateMutability: "view",
|
|
668
|
-
type: "function",
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
inputs: [],
|
|
672
|
-
name: "iToken",
|
|
673
|
-
outputs: [
|
|
674
|
-
{
|
|
675
|
-
internalType: "contract ERC20",
|
|
676
|
-
name: "",
|
|
677
|
-
type: "address",
|
|
678
|
-
},
|
|
679
|
-
],
|
|
680
|
-
stateMutability: "view",
|
|
681
|
-
type: "function",
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
inputs: [
|
|
685
|
-
{
|
|
686
|
-
internalType: "uint256",
|
|
687
|
-
name: "_amount",
|
|
688
|
-
type: "uint256",
|
|
689
|
-
},
|
|
690
|
-
],
|
|
691
|
-
name: "iTokenWorthInToken",
|
|
692
|
-
outputs: [
|
|
693
|
-
{
|
|
694
|
-
internalType: "uint256",
|
|
695
|
-
name: "",
|
|
696
|
-
type: "uint256",
|
|
697
|
-
},
|
|
698
|
-
],
|
|
699
|
-
stateMutability: "view",
|
|
700
|
-
type: "function",
|
|
701
|
-
},
|
|
702
|
-
{
|
|
703
|
-
inputs: [
|
|
704
|
-
{
|
|
705
|
-
internalType: "address",
|
|
706
|
-
name: "spender",
|
|
707
|
-
type: "address",
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
internalType: "uint256",
|
|
711
|
-
name: "addedValue",
|
|
712
|
-
type: "uint256",
|
|
713
|
-
},
|
|
714
|
-
],
|
|
715
|
-
name: "increaseAllowance",
|
|
716
|
-
outputs: [
|
|
717
|
-
{
|
|
718
|
-
internalType: "bool",
|
|
719
|
-
name: "",
|
|
720
|
-
type: "bool",
|
|
721
|
-
},
|
|
722
|
-
],
|
|
723
|
-
stateMutability: "nonpayable",
|
|
724
|
-
type: "function",
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
inputs: [
|
|
728
|
-
{
|
|
729
|
-
internalType: "address",
|
|
730
|
-
name: "_token",
|
|
731
|
-
type: "address",
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
internalType: "address",
|
|
735
|
-
name: "_iToken",
|
|
736
|
-
type: "address",
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
internalType: "contract INameService",
|
|
740
|
-
name: "_ns",
|
|
741
|
-
type: "address",
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
internalType: "string",
|
|
745
|
-
name: "_tokenName",
|
|
746
|
-
type: "string",
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
internalType: "string",
|
|
750
|
-
name: "_tokenSymbol",
|
|
751
|
-
type: "string",
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
internalType: "uint64",
|
|
755
|
-
name: "_maxRewardThreshold",
|
|
756
|
-
type: "uint64",
|
|
757
|
-
},
|
|
758
|
-
{
|
|
759
|
-
internalType: "address",
|
|
760
|
-
name: "_tokenUsdOracle",
|
|
761
|
-
type: "address",
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
internalType: "address",
|
|
765
|
-
name: "_compUsdOracle",
|
|
766
|
-
type: "address",
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
internalType: "address[]",
|
|
770
|
-
name: "_tokenToDaiSwapPath",
|
|
771
|
-
type: "address[]",
|
|
772
|
-
},
|
|
773
|
-
],
|
|
774
|
-
name: "init",
|
|
775
|
-
outputs: [],
|
|
776
|
-
stateMutability: "nonpayable",
|
|
777
|
-
type: "function",
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
inputs: [
|
|
781
|
-
{
|
|
782
|
-
internalType: "address",
|
|
783
|
-
name: "_token",
|
|
784
|
-
type: "address",
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
internalType: "address",
|
|
788
|
-
name: "_iToken",
|
|
789
|
-
type: "address",
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
internalType: "contract INameService",
|
|
793
|
-
name: "_ns",
|
|
794
|
-
type: "address",
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
internalType: "string",
|
|
798
|
-
name: "_tokenName",
|
|
799
|
-
type: "string",
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
internalType: "string",
|
|
803
|
-
name: "_tokenSymbol",
|
|
804
|
-
type: "string",
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
internalType: "uint64",
|
|
808
|
-
name: "_maxRewardThreshold",
|
|
809
|
-
type: "uint64",
|
|
810
|
-
},
|
|
811
|
-
],
|
|
812
|
-
name: "initialize",
|
|
813
|
-
outputs: [],
|
|
814
|
-
stateMutability: "nonpayable",
|
|
815
|
-
type: "function",
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
inputs: [],
|
|
819
|
-
name: "isPaused",
|
|
820
|
-
outputs: [
|
|
821
|
-
{
|
|
822
|
-
internalType: "bool",
|
|
823
|
-
name: "",
|
|
824
|
-
type: "bool",
|
|
825
|
-
},
|
|
826
|
-
],
|
|
827
|
-
stateMutability: "view",
|
|
828
|
-
type: "function",
|
|
829
|
-
},
|
|
830
|
-
{
|
|
831
|
-
inputs: [],
|
|
832
|
-
name: "lastRewardBlock",
|
|
833
|
-
outputs: [
|
|
834
|
-
{
|
|
835
|
-
internalType: "uint256",
|
|
836
|
-
name: "",
|
|
837
|
-
type: "uint256",
|
|
838
|
-
},
|
|
839
|
-
],
|
|
840
|
-
stateMutability: "view",
|
|
841
|
-
type: "function",
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
inputs: [],
|
|
845
|
-
name: "maxLiquidityPercentageSwap",
|
|
846
|
-
outputs: [
|
|
847
|
-
{
|
|
848
|
-
internalType: "uint24",
|
|
849
|
-
name: "",
|
|
850
|
-
type: "uint24",
|
|
851
|
-
},
|
|
852
|
-
],
|
|
853
|
-
stateMutability: "view",
|
|
854
|
-
type: "function",
|
|
855
|
-
},
|
|
856
|
-
{
|
|
857
|
-
inputs: [],
|
|
858
|
-
name: "maxMultiplierThreshold",
|
|
859
|
-
outputs: [
|
|
860
|
-
{
|
|
861
|
-
internalType: "uint64",
|
|
862
|
-
name: "",
|
|
863
|
-
type: "uint64",
|
|
864
|
-
},
|
|
865
|
-
],
|
|
866
|
-
stateMutability: "view",
|
|
867
|
-
type: "function",
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
inputs: [
|
|
871
|
-
{
|
|
872
|
-
internalType: "address",
|
|
873
|
-
name: "user",
|
|
874
|
-
type: "address",
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
internalType: "uint256",
|
|
878
|
-
name: "value",
|
|
879
|
-
type: "uint256",
|
|
880
|
-
},
|
|
881
|
-
],
|
|
882
|
-
name: "mintToken",
|
|
883
|
-
outputs: [],
|
|
884
|
-
stateMutability: "nonpayable",
|
|
885
|
-
type: "function",
|
|
886
|
-
},
|
|
887
|
-
{
|
|
888
|
-
inputs: [],
|
|
889
|
-
name: "mintedRewards",
|
|
890
|
-
outputs: [
|
|
891
|
-
{
|
|
892
|
-
internalType: "uint256",
|
|
893
|
-
name: "",
|
|
894
|
-
type: "uint256",
|
|
895
|
-
},
|
|
896
|
-
],
|
|
897
|
-
stateMutability: "view",
|
|
898
|
-
type: "function",
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
inputs: [],
|
|
902
|
-
name: "name",
|
|
903
|
-
outputs: [
|
|
904
|
-
{
|
|
905
|
-
internalType: "string",
|
|
906
|
-
name: "",
|
|
907
|
-
type: "string",
|
|
908
|
-
},
|
|
909
|
-
],
|
|
910
|
-
stateMutability: "view",
|
|
911
|
-
type: "function",
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
inputs: [],
|
|
915
|
-
name: "nameService",
|
|
916
|
-
outputs: [
|
|
917
|
-
{
|
|
918
|
-
internalType: "contract INameService",
|
|
919
|
-
name: "",
|
|
920
|
-
type: "address",
|
|
921
|
-
},
|
|
922
|
-
],
|
|
923
|
-
stateMutability: "view",
|
|
924
|
-
type: "function",
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
inputs: [],
|
|
928
|
-
name: "nativeToken",
|
|
929
|
-
outputs: [
|
|
930
|
-
{
|
|
931
|
-
internalType: "contract IGoodDollar",
|
|
932
|
-
name: "",
|
|
933
|
-
type: "address",
|
|
934
|
-
},
|
|
935
|
-
],
|
|
936
|
-
stateMutability: "view",
|
|
937
|
-
type: "function",
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
inputs: [
|
|
941
|
-
{
|
|
942
|
-
internalType: "bool",
|
|
943
|
-
name: "_isPaused",
|
|
944
|
-
type: "bool",
|
|
945
|
-
},
|
|
946
|
-
],
|
|
947
|
-
name: "pause",
|
|
948
|
-
outputs: [],
|
|
949
|
-
stateMutability: "nonpayable",
|
|
950
|
-
type: "function",
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
inputs: [
|
|
954
|
-
{
|
|
955
|
-
internalType: "contract ERC20",
|
|
956
|
-
name: "_token",
|
|
957
|
-
type: "address",
|
|
958
|
-
},
|
|
959
|
-
],
|
|
960
|
-
name: "recover",
|
|
961
|
-
outputs: [],
|
|
962
|
-
stateMutability: "nonpayable",
|
|
963
|
-
type: "function",
|
|
964
|
-
},
|
|
965
|
-
{
|
|
966
|
-
inputs: [
|
|
967
|
-
{
|
|
968
|
-
internalType: "uint256",
|
|
969
|
-
name: "_amount",
|
|
970
|
-
type: "uint256",
|
|
971
|
-
},
|
|
972
|
-
],
|
|
973
|
-
name: "redeemUnderlyingToDAITest",
|
|
974
|
-
outputs: [],
|
|
975
|
-
stateMutability: "nonpayable",
|
|
976
|
-
type: "function",
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
inputs: [
|
|
980
|
-
{
|
|
981
|
-
internalType: "address",
|
|
982
|
-
name: "user",
|
|
983
|
-
type: "address",
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
internalType: "uint256",
|
|
987
|
-
name: "rewardsPerBlock",
|
|
988
|
-
type: "uint256",
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
internalType: "uint256",
|
|
992
|
-
name: "blockStart",
|
|
993
|
-
type: "uint256",
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
internalType: "uint256",
|
|
997
|
-
name: "blockEnd",
|
|
998
|
-
type: "uint256",
|
|
999
|
-
},
|
|
1000
|
-
],
|
|
1001
|
-
name: "rewardsMinted",
|
|
1002
|
-
outputs: [
|
|
1003
|
-
{
|
|
1004
|
-
internalType: "uint256",
|
|
1005
|
-
name: "",
|
|
1006
|
-
type: "uint256",
|
|
1007
|
-
},
|
|
1008
|
-
],
|
|
1009
|
-
stateMutability: "nonpayable",
|
|
1010
|
-
type: "function",
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
inputs: [
|
|
1014
|
-
{
|
|
1015
|
-
internalType: "uint24",
|
|
1016
|
-
name: "_maxPercentage",
|
|
1017
|
-
type: "uint24",
|
|
1018
|
-
},
|
|
1019
|
-
],
|
|
1020
|
-
name: "setMaxLiquidityPercentageSwap",
|
|
1021
|
-
outputs: [],
|
|
1022
|
-
stateMutability: "nonpayable",
|
|
1023
|
-
type: "function",
|
|
1024
|
-
},
|
|
1025
|
-
{
|
|
1026
|
-
inputs: [
|
|
1027
|
-
{
|
|
1028
|
-
internalType: "uint32",
|
|
1029
|
-
name: "_collectInterestGasCost",
|
|
1030
|
-
type: "uint32",
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
internalType: "uint32",
|
|
1034
|
-
name: "_rewardTokenCollectCost",
|
|
1035
|
-
type: "uint32",
|
|
1036
|
-
},
|
|
1037
|
-
],
|
|
1038
|
-
name: "setcollectInterestGasCostParams",
|
|
1039
|
-
outputs: [],
|
|
1040
|
-
stateMutability: "nonpayable",
|
|
1041
|
-
type: "function",
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
inputs: [
|
|
1045
|
-
{
|
|
1046
|
-
internalType: "uint256",
|
|
1047
|
-
name: "_amount",
|
|
1048
|
-
type: "uint256",
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
internalType: "uint256",
|
|
1052
|
-
name: "_donationPer",
|
|
1053
|
-
type: "uint256",
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
internalType: "bool",
|
|
1057
|
-
name: "_inInterestToken",
|
|
1058
|
-
type: "bool",
|
|
1059
|
-
},
|
|
1060
|
-
],
|
|
1061
|
-
name: "stake",
|
|
1062
|
-
outputs: [],
|
|
1063
|
-
stateMutability: "nonpayable",
|
|
1064
|
-
type: "function",
|
|
1065
|
-
},
|
|
1066
|
-
{
|
|
1067
|
-
inputs: [],
|
|
1068
|
-
name: "symbol",
|
|
1069
|
-
outputs: [
|
|
1070
|
-
{
|
|
1071
|
-
internalType: "string",
|
|
1072
|
-
name: "",
|
|
1073
|
-
type: "string",
|
|
1074
|
-
},
|
|
1075
|
-
],
|
|
1076
|
-
stateMutability: "view",
|
|
1077
|
-
type: "function",
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
inputs: [],
|
|
1081
|
-
name: "token",
|
|
1082
|
-
outputs: [
|
|
1083
|
-
{
|
|
1084
|
-
internalType: "contract ERC20",
|
|
1085
|
-
name: "",
|
|
1086
|
-
type: "address",
|
|
1087
|
-
},
|
|
1088
|
-
],
|
|
1089
|
-
stateMutability: "view",
|
|
1090
|
-
type: "function",
|
|
1091
|
-
},
|
|
1092
|
-
{
|
|
1093
|
-
inputs: [],
|
|
1094
|
-
name: "tokenDecimalDifference",
|
|
1095
|
-
outputs: [
|
|
1096
|
-
{
|
|
1097
|
-
internalType: "uint8",
|
|
1098
|
-
name: "",
|
|
1099
|
-
type: "uint8",
|
|
1100
|
-
},
|
|
1101
|
-
],
|
|
1102
|
-
stateMutability: "view",
|
|
1103
|
-
type: "function",
|
|
1104
|
-
},
|
|
1105
|
-
{
|
|
1106
|
-
inputs: [
|
|
1107
|
-
{
|
|
1108
|
-
internalType: "uint256",
|
|
1109
|
-
name: "",
|
|
1110
|
-
type: "uint256",
|
|
1111
|
-
},
|
|
1112
|
-
],
|
|
1113
|
-
name: "tokenToDaiSwapPath",
|
|
1114
|
-
outputs: [
|
|
1115
|
-
{
|
|
1116
|
-
internalType: "address",
|
|
1117
|
-
name: "",
|
|
1118
|
-
type: "address",
|
|
1119
|
-
},
|
|
1120
|
-
],
|
|
1121
|
-
stateMutability: "view",
|
|
1122
|
-
type: "function",
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
inputs: [],
|
|
1126
|
-
name: "tokenUsdOracle",
|
|
1127
|
-
outputs: [
|
|
1128
|
-
{
|
|
1129
|
-
internalType: "address",
|
|
1130
|
-
name: "",
|
|
1131
|
-
type: "address",
|
|
1132
|
-
},
|
|
1133
|
-
],
|
|
1134
|
-
stateMutability: "view",
|
|
1135
|
-
type: "function",
|
|
1136
|
-
},
|
|
1137
|
-
{
|
|
1138
|
-
inputs: [
|
|
1139
|
-
{
|
|
1140
|
-
internalType: "uint256",
|
|
1141
|
-
name: "_amount",
|
|
1142
|
-
type: "uint256",
|
|
1143
|
-
},
|
|
1144
|
-
],
|
|
1145
|
-
name: "tokenWorthIniToken",
|
|
1146
|
-
outputs: [
|
|
1147
|
-
{
|
|
1148
|
-
internalType: "uint256",
|
|
1149
|
-
name: "tokenWorth",
|
|
1150
|
-
type: "uint256",
|
|
1151
|
-
},
|
|
1152
|
-
],
|
|
1153
|
-
stateMutability: "view",
|
|
1154
|
-
type: "function",
|
|
1155
|
-
},
|
|
1156
|
-
{
|
|
1157
|
-
inputs: [],
|
|
1158
|
-
name: "totalEffectiveStakes",
|
|
1159
|
-
outputs: [
|
|
1160
|
-
{
|
|
1161
|
-
internalType: "uint256",
|
|
1162
|
-
name: "",
|
|
1163
|
-
type: "uint256",
|
|
1164
|
-
},
|
|
1165
|
-
],
|
|
1166
|
-
stateMutability: "view",
|
|
1167
|
-
type: "function",
|
|
1168
|
-
},
|
|
1169
|
-
{
|
|
1170
|
-
inputs: [],
|
|
1171
|
-
name: "totalProductivity",
|
|
1172
|
-
outputs: [
|
|
1173
|
-
{
|
|
1174
|
-
internalType: "uint256",
|
|
1175
|
-
name: "",
|
|
1176
|
-
type: "uint256",
|
|
1177
|
-
},
|
|
1178
|
-
],
|
|
1179
|
-
stateMutability: "view",
|
|
1180
|
-
type: "function",
|
|
1181
|
-
},
|
|
1182
|
-
{
|
|
1183
|
-
inputs: [],
|
|
1184
|
-
name: "totalSupply",
|
|
1185
|
-
outputs: [
|
|
1186
|
-
{
|
|
1187
|
-
internalType: "uint256",
|
|
1188
|
-
name: "",
|
|
1189
|
-
type: "uint256",
|
|
1190
|
-
},
|
|
1191
|
-
],
|
|
1192
|
-
stateMutability: "view",
|
|
1193
|
-
type: "function",
|
|
1194
|
-
},
|
|
1195
|
-
{
|
|
1196
|
-
inputs: [
|
|
1197
|
-
{
|
|
1198
|
-
internalType: "address",
|
|
1199
|
-
name: "to",
|
|
1200
|
-
type: "address",
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
internalType: "uint256",
|
|
1204
|
-
name: "amount",
|
|
1205
|
-
type: "uint256",
|
|
1206
|
-
},
|
|
1207
|
-
],
|
|
1208
|
-
name: "transfer",
|
|
1209
|
-
outputs: [
|
|
1210
|
-
{
|
|
1211
|
-
internalType: "bool",
|
|
1212
|
-
name: "",
|
|
1213
|
-
type: "bool",
|
|
1214
|
-
},
|
|
1215
|
-
],
|
|
1216
|
-
stateMutability: "nonpayable",
|
|
1217
|
-
type: "function",
|
|
1218
|
-
},
|
|
1219
|
-
{
|
|
1220
|
-
inputs: [
|
|
1221
|
-
{
|
|
1222
|
-
internalType: "address",
|
|
1223
|
-
name: "from",
|
|
1224
|
-
type: "address",
|
|
1225
|
-
},
|
|
1226
|
-
{
|
|
1227
|
-
internalType: "address",
|
|
1228
|
-
name: "to",
|
|
1229
|
-
type: "address",
|
|
1230
|
-
},
|
|
1231
|
-
{
|
|
1232
|
-
internalType: "uint256",
|
|
1233
|
-
name: "amount",
|
|
1234
|
-
type: "uint256",
|
|
1235
|
-
},
|
|
1236
|
-
],
|
|
1237
|
-
name: "transferFrom",
|
|
1238
|
-
outputs: [
|
|
1239
|
-
{
|
|
1240
|
-
internalType: "bool",
|
|
1241
|
-
name: "",
|
|
1242
|
-
type: "bool",
|
|
1243
|
-
},
|
|
1244
|
-
],
|
|
1245
|
-
stateMutability: "nonpayable",
|
|
1246
|
-
type: "function",
|
|
1247
|
-
},
|
|
1248
|
-
{
|
|
1249
|
-
inputs: [],
|
|
1250
|
-
name: "uniswapContract",
|
|
1251
|
-
outputs: [
|
|
1252
|
-
{
|
|
1253
|
-
internalType: "contract Uniswap",
|
|
1254
|
-
name: "",
|
|
1255
|
-
type: "address",
|
|
1256
|
-
},
|
|
1257
|
-
],
|
|
1258
|
-
stateMutability: "view",
|
|
1259
|
-
type: "function",
|
|
1260
|
-
},
|
|
1261
|
-
{
|
|
1262
|
-
inputs: [],
|
|
1263
|
-
name: "updateAvatar",
|
|
1264
|
-
outputs: [],
|
|
1265
|
-
stateMutability: "nonpayable",
|
|
1266
|
-
type: "function",
|
|
1267
|
-
},
|
|
1268
|
-
{
|
|
1269
|
-
inputs: [
|
|
1270
|
-
{
|
|
1271
|
-
internalType: "address",
|
|
1272
|
-
name: "",
|
|
1273
|
-
type: "address",
|
|
1274
|
-
},
|
|
1275
|
-
],
|
|
1276
|
-
name: "users",
|
|
1277
|
-
outputs: [
|
|
1278
|
-
{
|
|
1279
|
-
internalType: "uint256",
|
|
1280
|
-
name: "amount",
|
|
1281
|
-
type: "uint256",
|
|
1282
|
-
},
|
|
1283
|
-
{
|
|
1284
|
-
internalType: "uint256",
|
|
1285
|
-
name: "effectiveStakes",
|
|
1286
|
-
type: "uint256",
|
|
1287
|
-
},
|
|
1288
|
-
{
|
|
1289
|
-
internalType: "uint256",
|
|
1290
|
-
name: "rewardDebt",
|
|
1291
|
-
type: "uint256",
|
|
1292
|
-
},
|
|
1293
|
-
{
|
|
1294
|
-
internalType: "uint256",
|
|
1295
|
-
name: "rewardEarn",
|
|
1296
|
-
type: "uint256",
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
internalType: "uint256",
|
|
1300
|
-
name: "rewardMinted",
|
|
1301
|
-
type: "uint256",
|
|
1302
|
-
},
|
|
1303
|
-
{
|
|
1304
|
-
internalType: "uint64",
|
|
1305
|
-
name: "lastRewardTime",
|
|
1306
|
-
type: "uint64",
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
internalType: "uint64",
|
|
1310
|
-
name: "multiplierResetTime",
|
|
1311
|
-
type: "uint64",
|
|
1312
|
-
},
|
|
1313
|
-
],
|
|
1314
|
-
stateMutability: "view",
|
|
1315
|
-
type: "function",
|
|
1316
|
-
},
|
|
1317
|
-
{
|
|
1318
|
-
inputs: [],
|
|
1319
|
-
name: "withdrawRewards",
|
|
1320
|
-
outputs: [],
|
|
1321
|
-
stateMutability: "nonpayable",
|
|
1322
|
-
type: "function",
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
inputs: [
|
|
1326
|
-
{
|
|
1327
|
-
internalType: "uint256",
|
|
1328
|
-
name: "_amount",
|
|
1329
|
-
type: "uint256",
|
|
1330
|
-
},
|
|
1331
|
-
{
|
|
1332
|
-
internalType: "bool",
|
|
1333
|
-
name: "_inInterestToken",
|
|
1334
|
-
type: "bool",
|
|
1335
|
-
},
|
|
1336
|
-
],
|
|
1337
|
-
name: "withdrawStake",
|
|
1338
|
-
outputs: [],
|
|
1339
|
-
stateMutability: "nonpayable",
|
|
1340
|
-
type: "function",
|
|
1341
|
-
},
|
|
1342
|
-
];
|
|
1343
|
-
|
|
1344
|
-
const _bytecode =
|
|
1345
|
-
"0x60806040523480156200001157600080fd5b5060405162006b5a38038062006b5a833981016040819052620000349162000c37565b6200004789898989898989898962000056565b50505050505050505062000fcc565b620000668989898989896200038b565b60675460405163bf40fac160e01b815260206004820152600360248201526244414960e81b60448201526000916001600160a01b03169063bf40fac190606401602060405180830381865afa158015620000c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000ea919062000d3a565b9050806001600160a01b03168a6001600160a01b03161480620001835750896001600160a01b03168260008151811062000128576200012862000d61565b60200260200101516001600160a01b0316148015620001835750806001600160a01b031682600184516200015d919062000d8d565b8151811062000170576200017062000d61565b60200260200101516001600160a01b0316145b620001c45760405162461bcd60e51b815260206004820152600c60248201526b0d2dcecc2d8d2c840e0c2e8d60a31b60448201526064015b60405180910390fd5b60d880546001600160a01b038086166001600160a01b03199283161790925560d78054928716929091169190911790558151620002099060d990602085019062000a0d565b5060675460405163bf40fac160e01b81526001600160a01b039091169063bf40fac19062000252906004016020808252600490820152630434f4d560e41b604082015260600190565b602060405180830381865afa15801562000270573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000296919062000d3a565b60da80546001600160a01b0319166001600160a01b0392831617905560675460405163bf40fac160e01b815260206004820152600e60248201526d2aa724a9aba0a82fa927aaaa22a960911b604482015291169063bf40fac190606401602060405180830381865afa15801562000311573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000337919062000d3a565b60db80546001600160a01b0319166001600160a01b039290921691909117905560d88054600160a01b600160e01b03191665249f00003d0960a41b1790556200037f620006a2565b50505050505050505050565b600054610100900460ff1615808015620003ac5750600054600160ff909116105b80620003dc5750620003c9306200082760201b62002f561760201c565b158015620003dc575060005460ff166001145b620004415760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401620001bb565b6000805460ff19166001179055801562000465576000805461ff0019166101001790555b620004708562000836565b60d580546001600160a01b03808a166001600160a01b03199283161790925560d6805492891692909116919091179055620004ac84846200085e565b60d5546040805163313ce56760e01b815290516012926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015620004f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200051d919062000da9565b60ff161115620005875760405162461bcd60e51b815260206004820152602e60248201527f546f6b656e20646563696d616c732073686f756c64206265206c65737320746860448201526d616e20313820646563696d616c7360901b6064820152608401620001bb565b60d560009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620005db573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000601919062000da9565b6200060e90601262000dce565b60a1805460ff191660ff92909216919091179055609f80546001600160401b0319166001600160401b03841617905560d6805462ffffff60a81b1916604b60aa1b179055801562000699576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b60db5460da5460405163095ea7b360e01b81526001600160a01b03928316929091169063095ea7b390620006df9084906000199060040162000dea565b6020604051808303816000875af1158015620006ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000725919062000e03565b5060d55460405163095ea7b360e01b81526001600160a01b039091169063095ea7b3906200075c9084906000199060040162000dea565b6020604051808303816000875af11580156200077c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007a2919062000e03565b5060d55460d65460405163095ea7b360e01b81526001600160a01b039283169263095ea7b392620007dd929116906000199060040162000dea565b6020604051808303816000875af1158015620007fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000823919062000e03565b5050565b6001600160a01b03163b151590565b606780546001600160a01b0319166001600160a01b0383161790556200085b62000894565b50565b600054610100900460ff16620008885760405162461bcd60e51b8152600401620001bb9062000e27565b620008238282620009c1565b60675460405163bf40fac160e01b815260206004820152600a60248201526921a7a72a2927a62622a960b11b60448201526001600160a01b039091169063bf40fac190606401602060405180830381865afa158015620008f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200091e919062000d3a565b606580546001600160a01b0319166001600160a01b0392909216918217905560408051632d77bef360e11b81529051635aef7de6916004808201926020929091908290030181865afa15801562000979573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200099f919062000d3a565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff16620009eb5760405162461bcd60e51b8152600401620001bb9062000e27565b6036620009f9838262000f00565b50603762000a08828262000f00565b505050565b82805482825590600052602060002090810192821562000a65579160200282015b8281111562000a6557825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000a2e565b5062000a7392915062000a77565b5090565b5b8082111562000a73576000815560010162000a78565b6001600160a01b03811681146200085b57600080fd5b805162000ab18162000a8e565b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000af75762000af762000ab6565b604052919050565b600082601f83011262000b1157600080fd5b81516001600160401b0381111562000b2d5762000b2d62000ab6565b602062000b43601f8301601f1916820162000acc565b828152858284870101111562000b5857600080fd5b60005b8381101562000b7857858101830151828201840152820162000b5b565b506000928101909101919091529392505050565b80516001600160401b038116811462000ab157600080fd5b600082601f83011262000bb657600080fd5b815160206001600160401b0382111562000bd45762000bd462000ab6565b8160051b62000be582820162000acc565b928352848101820192828101908785111562000c0057600080fd5b83870192505b8483101562000c2c57825162000c1c8162000a8e565b8252918301919083019062000c06565b979650505050505050565b60008060008060008060008060006101208a8c03121562000c5757600080fd5b62000c628a62000aa4565b985062000c7260208b0162000aa4565b975062000c8260408b0162000aa4565b60608b01519097506001600160401b038082111562000ca057600080fd5b62000cae8d838e0162000aff565b975060808c015191508082111562000cc557600080fd5b62000cd38d838e0162000aff565b965062000ce360a08d0162000b8c565b955062000cf360c08d0162000aa4565b945062000d0360e08d0162000aa4565b93506101008c015191508082111562000d1b57600080fd5b5062000d2a8c828d0162000ba4565b9150509295985092959850929598565b60006020828403121562000d4d57600080fd5b815162000d5a8162000a8e565b9392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8181038181111562000da35762000da362000d77565b92915050565b60006020828403121562000dbc57600080fd5b815160ff8116811462000d5a57600080fd5b60ff828116828216039081111562000da35762000da362000d77565b6001600160a01b03929092168252602082015260400190565b60006020828403121562000e1657600080fd5b8151801515811462000d5a57600080fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600181811c9082168062000e8757607f821691505b60208210810362000ea857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a0857600081815260208120601f850160051c8101602086101562000ed75750805b601f850160051c820191505b8181101562000ef85782815560010162000ee3565b505050505050565b81516001600160401b0381111562000f1c5762000f1c62000ab6565b62000f348162000f2d845462000e72565b8462000eae565b602080601f83116001811462000f6c576000841562000f535750858301515b600019600386901b1c1916600185901b17855562000ef8565b600085815260208120601f198616915b8281101562000f9d5788860151825594840194600190910190840162000f7c565b508582101562000fbc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b615b7e8062000fdc6000396000f3fe608060405234801561001057600080fd5b50600436106102b45760003560e01c806302329a29146102b957806306fdde03146102ce578063095ea7b3146102ec57806309b04fb41461030f5780630cd865ec1461034a578063109d0af81461035d57806316965b9a1461037d57806317a6a40c1461039057806318160ddd146103b15780631b3c90a8146103b95780631ce720f3146103c157806323b872dd146103e057806328e964e9146103f35780632bbbdc8914610435578063313ce567146104485780633745599014610450578063395093511461047e5780633a608032146104915780633e6326fc1461049a578063408cfe24146104ad5780634162169f146104c057806343d93ca0146104d357806346b30ff5146104e65780634a291b01146104ee578063552bada2146104f757806355b8bb251461050a578063561b24631461051d578063574c5c93146105305780635836af9b146105435780635a6d735c146105565780635abea7dc146105695780635aef7de61461057c57806370a082311461058f57806379c65068146105b85780638955e46f146105cb578063899e1b6c146105f757806389eb64261461062257806395d89b41146106355780639c81ff6b1461063d578063a457c2d714610646578063a82415ae14610659578063a87430ba1461066c578063a9059cbb14610704578063a9f8d18114610717578063ad1e5d7514610720578063b0ce7abb14610733578063b0f479a114610746578063b187bd261461074e578063b76e230e14610762578063bea2811514610779578063c7b8981c14610782578063dd62ed3e1461078a578063e1758bd81461079d578063e319828c146107a5578063e32f1726146107ae578063e660b53f146107c1578063ead8dbd4146107c9578063edb5b863146107dc578063f412a6af146107ef578063fc0c546a14610819575b600080fd5b6102cc6102c7366004614e10565b61082c565b005b6102d6610852565b6040516102e39190614e2d565b60405180910390f35b6102ff6102fa366004614ea0565b6108e4565b60405190151581526020016102e3565b61032261031d366004614ecc565b6108fe565b604080519586526020860194909452928401919091526060830152608082015260a0016102e3565b6102cc610358366004614f05565b610b4f565b60da54610370906001600160a01b031681565b6040516102e39190614f22565b6102cc61038b3660046150a2565b610d2b565b6103a361039e36600461518e565b611013565b6040519081526020016102e3565b6035546103a3565b6102cc61114a565b60a1546103ce9060ff1681565b60405160ff90911681526020016102e3565b6102ff6103ee3660046151a7565b611271565b610420610401366004614f05565b6001600160a01b0316600090815260a26020526040902054609a549091565b604080519283526020830191909152016102e3565b6102cc6104433660046151fa565b611295565b6103ce6112dc565b61046361045e366004614f05565b61134f565b604080519384526020840192909252908201526060016102e3565b6102ff61048c366004614ea0565b611454565b6103a3609c5481565b606754610370906001600160a01b031681565b60d654610370906001600160a01b031681565b606554610370906001600160a01b031681565b6102cc6104e1366004615228565b611476565b6102cc6114a2565b6103a3609b5481565b6102cc610505366004614ea0565b6115cd565b6102cc61051836600461518e565b6116e6565b6102cc61052b36600461524d565b6116f6565b6103a361053e366004615286565b611ccb565b60d854610370906001600160a01b031681565b6103a361056436600461518e565b611d59565b60db54610370906001600160a01b031681565b606654610370906001600160a01b031681565b6103a361059d366004614f05565b6001600160a01b031660009081526033602052604090205490565b6102cc6105c6366004614ea0565b611e8c565b60d8546105e290600160c01b900463ffffffff1681565b60405163ffffffff90911681526020016102e3565b609f5461060a906001600160401b031681565b6040516001600160401b0390911681526020016102e3565b60d754610370906001600160a01b031681565b6102d6611e96565b6103a3609e5481565b6102ff610654366004614ea0565b611ea5565b6103a3610667366004615286565b611f20565b6106c361067a366004614f05565b60a26020526000908152604090208054600182015460028301546003840154600485015460059095015493949293919290916001600160401b0380821691600160401b90041687565b60408051978852602088019690965294860193909352606085019190915260808401526001600160401b0390811660a08401521660c082015260e0016102e3565b6102ff610712366004614ea0565b612149565b6103a360a05481565b6103a361072e3660046152c1565b612157565b61037061074136600461518e565b6121d8565b610370612202565b60d6546102ff90600160a01b900460ff1681565b60d8546105e290600160a01b900463ffffffff1681565b6103a3609a5481565b6102cc612272565b6103a36107983660046152f6565b6123c4565b6103706123ef565b6103a3609d5481565b6102cc6107bc366004615324565b61243b565b6105e261272f565b6102cc6107d73660046153d2565b6127e5565b6104206107ea366004614f05565b612df6565b60d65461080590600160a81b900462ffffff1681565b60405162ffffff90911681526020016102e3565b60d554610370906001600160a01b031681565b610834612f65565b60d68054911515600160a01b0260ff60a01b19909216919091179055565b606060368054610861906153f7565b80601f016020809104026020016040519081016040528092919081815260200182805461088d906153f7565b80156108da5780601f106108af576101008083540402835291602001916108da565b820191906000526020600020905b8154815290600101906020018083116108bd57829003601f168201915b5050505050905090565b6000336108f2818585613028565b60019150505b92915050565b60d6546040516370a0823160e01b8152600091829182918291829161097e916001600160a01b03909116906370a082319061093d903090600401614f22565b602060405180830381865afa15801561095a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105649190615431565b92508661098c576000610a0e565b60d75460d5546040805163313ce56760e01b81529051610a0e936001600160a01b0390811693889391169163313ce567916004808201926020929091908290030181865afa1580156109e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a06919061544a565b60ff16612157565b9150600086610a1e576000610a9f565b60d85460da546040516370a0823160e01b8152610a9f926001600160a01b039081169216906370a0823190610a57903090600401614f22565b602060405180830381865afa158015610a74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a989190615431565b6012612157565b9050609a548411610ab857600095508594509050610b45565b609a54610ac59085615483565b945086610ad3576000610b36565b60d75460d5546040805163313ce56760e01b815290518493610b2c936001600160a01b03918216938b93919092169163313ce5679160048083019260209291908290030181865afa1580156109e2573d6000803e3d6000fd5b610b369190615496565b9150610b4185611013565b9550505b9295509295909350565b610b57612f65565b6040516370a0823160e01b81526000906001600160a01b038316906370a0823190610b86903090600401614f22565b602060405180830381865afa158015610ba3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc79190615431565b60d6549091506001600160a01b0390811690831603610c6a57609a54158015610bf9575060d654600160a01b900460ff165b610c6a5760405162461bcd60e51b815260206004820152603760248201527f63616e207265636f7665722069546f6b656e206f6e6c79207768656e2073746160448201527635b2b9903430bb32903132b2b7103bb4ba34323930bbb760491b60648201526084015b60405180910390fd5b60665460405163a9059cbb60e01b81526001600160a01b038481169263a9059cbb92610c9e929091169085906004016154a9565b6020604051808303816000875af1158015610cbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce191906154c2565b610d275760405162461bcd60e51b81526020600482015260176024820152761c9958dbdd995c881d1c985b9cd9995c8819985a5b1959604a1b6044820152606401610c61565b5050565b610d3989898989898961243b565b60675460405163bf40fac160e01b81526000916001600160a01b03169063bf40fac190610d68906004016154df565b602060405180830381865afa158015610d85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da991906154fc565b9050806001600160a01b03168a6001600160a01b03161480610e385750896001600160a01b031682600081518110610de357610de3615519565b60200260200101516001600160a01b0316148015610e385750806001600160a01b03168260018451610e159190615483565b81518110610e2557610e25615519565b60200260200101516001600160a01b0316145b610e735760405162461bcd60e51b815260206004820152600c60248201526b0d2dcecc2d8d2c840e0c2e8d60a31b6044820152606401610c61565b60d880546001600160a01b038086166001600160a01b03199283161790925560d78054928716929091169190911790558151610eb69060d9906020850190614d88565b5060675460405163bf40fac160e01b81526001600160a01b039091169063bf40fac190610efe906004016020808252600490820152630434f4d560e41b604082015260600190565b602060405180830381865afa158015610f1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3f91906154fc565b60da80546001600160a01b0319166001600160a01b0392831617905560675460405163bf40fac160e01b815291169063bf40fac190610f809060040161552f565b602060405180830381865afa158015610f9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc191906154fc565b60db80546001600160a01b0319166001600160a01b039290921691909117905560d88054600160a01b600160e01b03191665249f00003d0960a41b17905561100761314c565b50505050505050505050565b60008060d660009054906101000a90046001600160a01b03166001600160a01b031663182df0f56040518163ffffffff1660e01b8152600401602060405180830381865afa158015611069573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108d9190615431565b905060008061109a6132be565b9150915060006110a8613307565b6110b0613381565b6110bb906012615496565b6110c59190615483565b905060018215151461110b57836110dd82600a61563b565b6110e885600a61563b565b6110f29089615647565b6110fc9190615647565b6111069190615666565b611140565b8361111782600a61563b565b61112285600a61563b565b61112c9089615666565b6111369190615647565b6111409190615666565b9695505050505050565b60675460405163bf40fac160e01b815260206004820152600a60248201526921a7a72a2927a62622a960b11b60448201526001600160a01b039091169063bf40fac190606401602060405180830381865afa1580156111ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d191906154fc565b606580546001600160a01b0319166001600160a01b0392909216918217905560408051632d77bef360e11b81529051635aef7de6916004808201926020929091908290030181865afa15801561122b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124f91906154fc565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b60003361127f8582856133ce565b61128a858585613442565b506001949350505050565b61129d612f65565b60d88054600160a01b600160e01b031916600160a01b63ffffffff9485160263ffffffff60c01b191617600160c01b9290931691909102919091179055565b60d5546040805163313ce56760e01b815290516000926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015611326573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134a919061544a565b905090565b600080600061135c6136cf565b306001600160a01b038516036113c55760405162461bcd60e51b815260206004820152602860248201527f526563697069656e742063616e6e6f7420626520746865207374616b696e672060448201526718dbdb9d1c9858dd60c21b6064820152608401610c61565b6000806113d36000806108fe565b505050915091506113e482876137ac565b604080516001600160a01b038b16815260208101879052908101859052606081018490526080810183905260a0810182905292975090955093507f38c2c21f82a20481909d7aef48247b0743f69728fbb599c274039e2eecf8bb179060c00160405180910390a150509193909250565b6000336108f281858561146783836123c4565b6114719190615496565b613028565b61147e612f65565b60d6805462ffffff909216600160a81b0262ffffff60a81b19909216919091179055565b60675460405163bf40fac160e01b81526000916001600160a01b03169063bf40fac1906114d190600401615688565b602060405180830381865afa1580156114ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151291906154fc565b90506001600160a01b038116156115ca5760408051600180825281830190925260009160208083019080368337019050509050308160008151811061155957611559615519565b6001600160a01b03928316602091820292909201015260405163455518ef60e11b815290831690638aaa31de9061159690339085906004016156f2565b600060405180830381600087803b1580156115b057600080fd5b505af11580156115c4573d6000803e3d6000fd5b50505050505b50565b60675460405163bf40fac160e01b81526000916001600160a01b03169063bf40fac1906115fc9060040161571e565b602060405180830381865afa158015611619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163d91906154fc565b90506000806000836001600160a01b031663d0250144306040518263ffffffff1660e01b81526004016116709190614f22565b608060405180830381865afa15801561168d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b19190615744565b509250925092506116dd86868563ffffffff16856001600160401b0316856001600160401b0316613e8f565b50505050505050565b6116f081306137ac565b50505050565b6116fe613eea565b60d654600160a01b900460ff161561174c5760405162461bcd60e51b815260206004820152601160248201527014dd185ada5b99c81a5cc81c185d5cd959607a1b6044820152606401610c61565b8115806117595750816064145b6117b45760405162461bcd60e51b815260206004820152602660248201527f446f6e6174696f6e2070657263656e746167652073686f756c6420626520302060448201526506f72203130360d41b6064820152608401610c61565b600083116118165760405162461bcd60e51b815260206004820152602960248201527f596f75206e65656420746f207374616b65206120706f73697469766520746f6b604482015268195b88185b5bdd5b9d60ba1b6064820152608401610c61565b8061182c5760d5546001600160a01b0316611839565b60d6546001600160a01b03165b6001600160a01b03166323b872dd336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604481018690526064016020604051808303816000875af115801561189b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118bf91906154c2565b61192e5760405162461bcd60e51b815260206004820152603a60248201527f7472616e7366657246726f6d206661696c65642c206d616b652073757265207960448201527937ba9030b8383937bb32b2103a37b5b2b7103a3930b739b332b960311b6064820152608401610c61565b806119395782611942565b61194283611d59565b92508015156000036119575761195783613f43565b611961338461400d565b60675460405163bf40fac160e01b8152600091829182916001600160a01b03169063bf40fac1906119949060040161571e565b602060405180830381865afa1580156119b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d591906154fc565b6001600160a01b031663d0250144306040518263ffffffff1660e01b8152600401611a009190614f22565b608060405180830381865afa158015611a1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a419190615744565b50925092509250611a74611a523390565b878563ffffffff16856001600160401b0316856001600160401b03168a6140bc565b5060675460405163bf40fac160e01b81526000916001600160a01b03169063bf40fac190611aa490600401615688565b602060405180830381865afa158015611ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae591906154fc565b90506001600160a01b03811615611c715760d5546040805163313ce56760e01b815290516000926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015611b40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b64919061544a565b60ff16601214611c0a5760d560009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be5919061544a565b611bf09060126157a3565b611bfb90600a6157bc565b611c059089615647565b611c0c565b875b60405163a39b215360e01b81529091506001600160a01b0383169063a39b215390611c3d90339085906004016154a9565b600060405180830381600087803b158015611c5757600080fd5b505af1158015611c6b573d6000803e3d6000fd5b50505050505b60d55460405133917f5dac0c1b1112564a045ba943c9d50270893e8e826c49be8e7073adc713ab7bd791611cb0916001600160a01b0316908b906154a9565b60405180910390a250505050611cc6600160a355565b505050565b6001600160a01b038416600090815260a260205260408120611ceb6136cf565b611cf6858585614117565b611d06868260000154600161421c565b60038101805460009182905560048301805491928392611d27908490615496565b9091555050609d54611d3a908290615496565b609d55611d4e662386f26fc1000082615666565b979650505050505050565b60d6546040805163182df0f560e01b815290516000926001600160a01b0316918391839163182df0f59160048083019260209291908290030181865afa158015611da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcb9190615431565b9050600080611dd86132be565b915091506000611de6613307565b611dee613381565b611df9906012615496565b611e039190615483565b90506000600183151514611e4b57611e1c82600a61563b565b85611e2886600a61563b565b611e32908b615666565b611e3c9190615647565b611e469190615666565b611e80565b611e5682600a61563b565b85611e6286600a61563b565b611e6c908b615647565b611e769190615647565b611e809190615666565b98975050505050505050565b610d27828261400d565b606060378054610861906153f7565b60003381611eb382866123c4565b905083811015611f135760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c61565b61128a8286868403613028565b6001600160a01b038416600090815260a260209081526040808320815160e081018352815481526001820154938101939093526002810154918301919091526003810154606083015260048101546080830152600501546001600160401b0380821660a0840152600160401b9091041660c0820152609c54609b54839015801590611fab5750854310155b8015611fb75750438510155b1561213957600060a05443611fcc9190615483565b90506000611fe189662386f26fc10000615647565b611feb9083615647565b90506000806000611ffb88614546565b60a15492955090935091506120149060ff16600a6157bc565b609b546120219190615647565b61203685676765c793fa10079d601b1b615647565b6120409190615666565b61204a9088615496565b965087831561213257604081015160a154676765c793fa10079d601b1b908a906120789060ff16600a6157bc565b84602001516120879190615647565b6120919190615647565b61209b9190615666565b6120a59190615483565b965060006120bb85670de0b6b3a7640000615647565b6120d089676765c793fa10079d601b1b615647565b6120da9190615666565b905064174876e800816120ee856064615647565b600a6120fb886064615647565b612106906005615647565b6121109190615666565b61211a9190615496565b6121249190615647565b61212e9190615666565b9750505b5050505050505b808360600151611e809190615496565b6000336108f2818585613442565b6000808490506000816001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561219d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c19190615431565b90506121ce84600a61563b565b6111368683615647565b60d981815481106121e857600080fd5b6000918252602090912001546001600160a01b0316905081565b60675460405163bf40fac160e01b81526000916001600160a01b03169063bf40fac1906122319060040161552f565b602060405180830381865afa15801561224e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134a91906154fc565b61227a613eea565b60675460405163bf40fac160e01b81526001600160a01b039091169063bf40fac1906122a89060040161571e565b602060405180830381865afa1580156122c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e991906154fc565b60675460405163bf40fac160e01b81526001600160a01b039283169263f03b289092169063bf40fac19061231f906004016157cb565b602060405180830381865afa15801561233c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236091906154fc565b336040518363ffffffff1660e01b815260040161237e9291906157e9565b600060405180830381600087803b15801561239857600080fd5b505af11580156123ac573d6000803e3d6000fd5b505050506123b86114a2565b6123c2600160a355565b565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b60675460405163bf40fac160e01b815260206004820152600a60248201526923a7a7a22227a62620a960b11b60448201526000916001600160a01b03169063bf40fac190606401612231565b600054610100900460ff161580801561245b5750600054600160ff909116105b8061247c575061246a30612f56565b15801561247c575060005460ff166001145b6124df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610c61565b6000805460ff191660011790558015612502576000805461ff0019166101001790555b61250b856145f5565b60d580546001600160a01b03808a166001600160a01b03199283161790925560d68054928916929091169190911790556125458484614618565b60d5546040805163313ce56760e01b815290516012926001600160a01b03169163313ce5679160048083019260209291908290030181865afa15801561258f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b3919061544a565b60ff16111561261b5760405162461bcd60e51b815260206004820152602e60248201527f546f6b656e20646563696d616c732073686f756c64206265206c65737320746860448201526d616e20313820646563696d616c7360901b6064820152608401610c61565b60d560009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561266e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612692919061544a565b61269d9060126157a3565b60a1805460ff191660ff92909216919091179055609f80546001600160401b0319166001600160401b03841617905560d6805462ffffff60a81b1916604b60aa1b17905580156116dd576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050505050565b60da546040516370a0823160e01b815260009182916001600160a01b03909116906370a0823190612764903090600401614f22565b602060405180830381865afa158015612781573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a59190615431565b905080156127d05760d8546127ca90600160a01b900463ffffffff1662030d40615803565b91505090565b505060d854600160a01b900463ffffffff1690565b6127ed613eea565b6000811561289c57600061280084611d59565b60d65460405163a9059cbb60e01b81529192506001600160a01b03169063a9059cbb9061283390339088906004016154a9565b6020604051808303816000875af1158015612852573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061287691906154c2565b6128925760405162461bcd60e51b8152600401610c6190615827565b92508290506129b8565b50816128a781614649565b60d5546040516370a0823160e01b81526000916001600160a01b0316906370a08231906128d8903090600401614f22565b602060405180830381865afa1580156128f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129199190615431565b905081811015612927578091505b60d5546001600160a01b031663a9059cbb33846040518363ffffffff1660e01b81526004016129579291906154a9565b6020604051808303816000875af1158015612976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299a91906154c2565b6129b65760405162461bcd60e51b8152600401610c6190615827565b505b60675460405163bf40fac160e01b81526000916001600160a01b03169063bf40fac1906129e79060040161571e565b602060405180830381865afa158015612a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a2891906154fc565b9050612a3433856146d5565b6000806000836001600160a01b031663d0250144306040518263ffffffff1660e01b8152600401612a659190614f22565b608060405180830381865afa158015612a82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aa69190615744565b50925092509250612ad8612ab73390565b888563ffffffff16856001600160401b0316856001600160401b0316613e8f565b5060675460405163bf40fac160e01b81526001600160a01b038087169263f03b28909291169063bf40fac190612b10906004016157cb565b602060405180830381865afa158015612b2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b5191906154fc565b336040518363ffffffff1660e01b8152600401612b6f9291906157e9565b600060405180830381600087803b158015612b8957600080fd5b505af1158015612b9d573d6000803e3d6000fd5b505060675460405163bf40fac160e01b8152600093506001600160a01b03909116915063bf40fac190612bd290600401615688565b602060405180830381865afa158015612bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1391906154fc565b90506001600160a01b03811615612d9f5760d5546040805163313ce56760e01b815290516000926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015612c6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c92919061544a565b60ff16601214612d385760d560009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d13919061544a565b612d1e9060126157a3565b612d2990600a6157bc565b612d33908a615647565b612d3a565b885b604051631f22c54760e11b81529091506001600160a01b03831690633e458a8e90612d6b90339085906004016154a9565b600060405180830381600087803b158015612d8557600080fd5b505af1158015612d99573d6000803e3d6000fd5b50505050505b60d55460405133917f89b2bca2609b9ce42215fdd646f9162cdfb9c1620c93db1cc6302479489d3f3291612dde916001600160a01b0316908a906154a9565b60405180910390a2505050505050610d27600160a355565b60675460405163bf40fac160e01b815260009182918291829182916001600160a01b03169063bf40fac190612e2d9060040161571e565b602060405180830381865afa158015612e4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e6e91906154fc565b6001600160a01b031663d0250144306040518263ffffffff1660e01b8152600401612e999190614f22565b608060405180830381865afa158015612eb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eda9190615744565b509250925092506000612f07878563ffffffff16856001600160401b0316856001600160401b0316611f20565b6001600160a01b038816600090815260a26020526040902060040154909150612f3890662386f26fc1000090615666565b612f49662386f26fc1000083615666565b9550955050505050915091565b6001600160a01b03163b151590565b60655460408051632d77bef360e11b8152905133926001600160a01b031691635aef7de69160048083019260209291908290030181865afa158015612fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd291906154fc565b6001600160a01b0316146123c25760405162461bcd60e51b815260206004820181905260248201527f6f6e6c79206176617461722063616e2063616c6c2074686973206d6574686f646044820152606401610c61565b6001600160a01b03831661308a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c61565b6001600160a01b0382166130eb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c61565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60db5460da5460405163095ea7b360e01b81526001600160a01b03928316929091169063095ea7b390613187908490600019906004016154a9565b6020604051808303816000875af11580156131a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131ca91906154c2565b5060d55460405163095ea7b360e01b81526001600160a01b039091169063095ea7b3906131ff908490600019906004016154a9565b6020604051808303816000875af115801561321e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061324291906154c2565b5060d55460d65460405163095ea7b360e01b81526001600160a01b039283169263095ea7b39261327b92911690600019906004016154a9565b6020604051808303816000875af115801561329a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2791906154c2565b60008060006132cb613381565b905060006132d7613307565b905060008183116132f1576132ec8383615483565b6132fb565b6132fb8284615483565b95919092119350915050565b60d6546040805163313ce56760e01b815290516000926001600160a01b031691829163313ce567916004808201926020929091908290030181865afa158015613354573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613378919061544a565b60ff1691505090565b60d5546040805163313ce56760e01b815290516000926001600160a01b031691829163313ce567916004808201926020929091908290030181865afa158015613354573d6000803e3d6000fd5b60006133da84846123c4565b905060001981146116f057818110156134355760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c61565b6116f08484848403613028565b61344d8383836147f7565b60675460405163bf40fac160e01b81526000916001600160a01b03169063bf40fac19061347c90600401615688565b602060405180830381865afa158015613499573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134bd91906154fc565b60675460405163bf40fac160e01b8152919250600091829182916001600160a01b039091169063bf40fac1906134f59060040161571e565b602060405180830381865afa158015613512573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061353691906154fc565b6001600160a01b031663d0250144306040518263ffffffff1660e01b81526004016135619190614f22565b608060405180830381865afa15801561357e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135a29190615744565b509250925092506135ce87868563ffffffff16856001600160401b0316856001600160401b0316613e8f565b506135f686868563ffffffff16856001600160401b0316856001600160401b031660006140bc565b506001600160a01b038416156116dd57604051631f22c54760e11b81526001600160a01b03851690633e458a8e90613634908a9089906004016154a9565b600060405180830381600087803b15801561364e57600080fd5b505af1158015613662573d6000803e3d6000fd5b505060405163a39b215360e01b81526001600160a01b038716925063a39b2153915061369490899089906004016154a9565b600060405180830381600087803b1580156136ae57600080fd5b505af11580156136c2573d6000803e3d6000fd5b5050505050505050505050565b60675460405163bf40fac160e01b81526001600160a01b039091169063bf40fac1906136fd9060040161571e565b602060405180830381865afa15801561371a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061373e91906154fc565b6001600160a01b0316336001600160a01b0316146123c25760405162461bcd60e51b815260206004820152602560248201527f4f6e6c792046756e644d616e616765722063616e2063616c6c2074686973206d604482015264195d1a1bd960da1b6064820152608401610c61565b60da546040516370a0823160e01b81526000918291829182916001600160a01b03909116906370a08231906137e5903090600401614f22565b602060405180830381865afa158015613802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138269190615431565b905060008115613ab9576040805160038082526080820190925260009160208201606080368337505060da5482519293506001600160a01b03169183915060009061387357613873615519565b6001600160a01b0392831660209182029290920181019190915260db54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156138cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138f091906154fc565b8160018151811061390357613903615519565b6001600160a01b03928316602091820292909201015260675460405163bf40fac160e01b815291169063bf40fac19061393e906004016154df565b602060405180830381865afa15801561395b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061397f91906154fc565b8160028151811061399257613992615519565b6001600160a01b0392831660209182029290920181019190915260da5460db54604080516315ab88c960e31b8152905173__$a7857c79f7039505337147dc025cce365e$__9563f10a60ab9530958216949091169263ad5c464892600480830193928290030181865afa158015613a0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a3191906154fc565b8760d660159054906101000a900462ffffff166040518663ffffffff1660e01b8152600401613a64959493929190615859565b602060405180830381865af4158015613a81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613aa59190615431565b9450613ab530828760008b614990565b9150505b613ac287611d59565b60675460405163bf40fac160e01b81529196506001600160a01b03169063bf40fac190613af1906004016157cb565b602060405180830381865afa158015613b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b3291906154fc565b60d6546001600160a01b03918216911603613c1b5760d65460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb90613b799089908b906004016154a9565b6020604051808303816000875af1158015613b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bbc91906154c2565b613c025760405162461bcd60e51b815260206004820152601760248201527618dbdb1b1958dd081d1c985b9cd9995c8819985a5b1959604a1b6044820152606401610c61565b8484613c0e8383615496565b9450945094505050613e88565b60d55460d9805460009273__$a7857c79f7039505337147dc025cce365e$__9263f10a60ab9230926001600160a01b031691906001908110613c5f57613c5f615519565b60009182526020909120015460d65460405160e086901b6001600160e01b0319168152613caa9493926001600160a01b0316918d91600160a81b90910462ffffff1690600401615859565b602060405180830381865af4158015613cc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ceb9190615431565b905080861115613d0457809550613d0186611013565b97505b60d65460405163db006a7560e01b8152600481018a90526001600160a01b039091169063db006a75906024016020604051808303816000875af1158015613d4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d739190615431565b15613d905760405162461bcd60e51b8152600401610c6190615891565b60d5546040516370a0823160e01b81526001600160a01b03909116906370a0823190613dc0903090600401614f22565b602060405180830381865afa158015613ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e019190615431565b95508515613e8357613e7660d9805480602002602001604051908101604052809291908181526020018280548015613e6257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311613e44575b50309493508b9250600091508c9050614990565b613e809083615496565b91505b509150505b9250925092565b6000613e9c848484614117565b6001600160a01b038616600090815260a26020526040902054613ecd908790613ec6908890615483565b600161421c565b84609a54613edb9190615483565b609a5550600195945050505050565b600260a35403613f3c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c61565b600260a355565b60d65460405163140e25ad60e31b8152600481018390526001600160a01b039091169063a0712d68906024016020604051808303816000875af1158015613f8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fb29190615431565b156115ca5760405162461bcd60e51b815260206004820152602560248201527f4d696e74696e672063546f6b656e206661696c65642c2066756e6473207265746044820152641d5c9b995960da1b6064820152608401610c61565b6001600160a01b0382166140635760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610c61565b80603560008282546140759190615496565b90915550506001600160a01b038216600081815260336020908152604080832080548601905551848152600080516020615b29833981519152910160405180910390a35050565b60006140c9858585614117565b6001600160a01b038716600090815260a260205260409020546140f99088906140f3908990615496565b8461421c565b85609a546141079190615496565b609a555060019695505050505050565b609b5460000361412a5750504360a05550565b81431015801561413b57508160a054105b156141465760a08290555b60008260a0541080156141595750824310155b6141655760a054614167565b825b90506000824311614178574361417a565b825b90508381108061418a5750828210155b15614196575050505050565b60006141a28383615483565b905060006141b787662386f26fc10000615647565b6141c19083615647565b60a1549091506141d59060ff16600a6157bc565b609b546141e29190615647565b6141f782676765c793fa10079d601b1b615647565b6142019190615666565b609c5461420e9190615496565b609c55505060a05550505050565b6001600160a01b038316600090815260a2602052604090208054600182015480156143c8576040805160e0810182528454815260018501546020820152600285015491810191909152600384015460608201526004840154608082015260058401546001600160401b0380821660a0840152600160401b9091041660c0820152600090819081906142ac90614546565b925092509250826000146143c0576002860154609c5460a15460009291676765c793fa10079d601b1b916142e49060ff16600a6157bc565b6142ee9089615647565b6142f89190615647565b6143029190615666565b61430c9190615483565b9050600061432285670de0b6b3a7640000615647565b61433783676765c793fa10079d601b1b615647565b6143419190615666565b905064174876e80081614355856064615647565b600a614362886064615647565b61436d906005615647565b6143779190615666565b6143819190615496565b61438b9190615647565b6143959190615666565b91508188600301546143a79190615496565b6003890155609e546143ba908390615496565b609e5550505b5050506143ef565b600583018054600160401b600160801b031916600160401b436001600160401b0316021790555b81851161448557600583018054600160401b600160801b031916600160401b436001600160401b031602179055811561448057600082846001015487856144369190615483565b6144409190615647565b61444a9190615666565b9050808460010160008282546144609190615483565b9250508190555080609b60008282546144799190615483565b9091555050505b6144d1565b836000036144d1576144978286615483565b8360010160008282546144aa9190615496565b909155506144ba90508286615483565b609b60008282546144cb9190615496565b90915550505b6005830180546001600160401b031916436001600160401b0316179055848355609c5460a154676765c793fa10079d601b1b91906145139060ff16600a6157bc565b85600101546145229190615647565b61452c9190615647565b6145369190615666565b8360020181905550505050505050565b6000806000808460c001518560a0015161456091906158c2565b609f5460c08701516001600160401b03928316935060009261458f9281169161458a911643615483565b614d30565b905060008660a001516001600160401b0316436145ac9190615483565b609f549091506000906001600160401b03168410156145d4576145cf8484615483565b6145d7565b60005b905060006145e58284615483565b9299919850919650945050505050565b606780546001600160a01b0319166001600160a01b0383161790556115ca61114a565b600054610100900460ff1661463f5760405162461bcd60e51b8152600401610c61906158e2565b610d278282614d48565b60d65460405163852a12e360e01b8152600481018390526001600160a01b039091169063852a12e3906024016020604051808303816000875af1158015614694573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146b89190615431565b156115ca5760405162461bcd60e51b8152600401610c6190615891565b6001600160a01b0382166147355760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c61565b6001600160a01b038216600090815260336020526040902054818110156147a95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c61565b6001600160a01b0383166000818152603360209081526040808320868603905560358054879003905551858152919291600080516020615b29833981519152910160405180910390a3505050565b6001600160a01b03831661485b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c61565b6001600160a01b0382166148bd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c61565b6001600160a01b038316600090815260336020526040902054818110156149355760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c61565b6001600160a01b038085166000818152603360205260408082208686039055928616808252908390208054860190559151600080516020615b29833981519152906149839086815260200190565b60405180910390a36116f0565b600080866001600160a01b031663b0f479a16040518163ffffffff1660e01b8152600401602060405180830381865afa1580156149d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149f591906154fc565b9050606060006001600160a01b031687600081518110614a1757614a17615519565b60200260200101516001600160a01b031603614b3357816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614a6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a8f91906154fc565b87600081518110614aa257614aa2615519565b6001600160a01b039283166020918202929092010152604051637ff36ab560e01b815290831690637ff36ab5908890614ae59089908c908a90429060040161592d565b60006040518083038185885af1158015614b03573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052614b2c9190810190615962565b9050614cfc565b60006001600160a01b03168760018951614b4d9190615483565b81518110614b5d57614b5d615519565b60200260200101516001600160a01b031603614c7e57816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015614bb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614bd591906154fc565b8760018951614be49190615483565b81518110614bf457614bf4615519565b6001600160a01b0392831660209182029290920101526040516318cbafe560e01b8152908316906318cbafe590614c3790899089908c908a9042906004016159e7565b6000604051808303816000875af1158015614c56573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614b2c9190810190615962565b6040516338ed173960e01b81526001600160a01b038316906338ed173990614cb290899089908c908a9042906004016159e7565b6000604051808303816000875af1158015614cd1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614cf99190810190615962565b90505b8060018251614d0b9190615483565b81518110614d1b57614d1b615519565b60200260200101519250505095945050505050565b6000818310614d3f5781614d41565b825b9392505050565b600054610100900460ff16614d6f5760405162461bcd60e51b8152600401610c61906158e2565b6036614d7b8382615a69565b506037611cc68282615a69565b828054828255906000526020600020908101928215614ddd579160200282015b82811115614ddd57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190614da8565b50614de9929150614ded565b5090565b5b80821115614de95760008155600101614dee565b80151581146115ca57600080fd5b600060208284031215614e2257600080fd5b8135614d4181614e02565b600060208083528351808285015260005b81811015614e5a57858101830151858201604001528201614e3e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146115ca57600080fd5b8035614e9b81614e7b565b919050565b60008060408385031215614eb357600080fd5b8235614ebe81614e7b565b946020939093013593505050565b60008060408385031215614edf57600080fd5b8235614eea81614e02565b91506020830135614efa81614e02565b809150509250929050565b600060208284031215614f1757600080fd5b8135614d4181614e7b565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715614f7457614f74614f36565b604052919050565b600082601f830112614f8d57600080fd5b81356001600160401b03811115614fa657614fa6614f36565b614fb9601f8201601f1916602001614f4c565b818152846020838601011115614fce57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160401b03811681146115ca57600080fd5b8035614e9b81614feb565b60006001600160401b0382111561502457615024614f36565b5060051b60200190565b600082601f83011261503f57600080fd5b8135602061505461504f8361500b565b614f4c565b82815260059290921b8401810191818101908684111561507357600080fd5b8286015b8481101561509757803561508a81614e7b565b8352918301918301615077565b509695505050505050565b60008060008060008060008060006101208a8c0312156150c157600080fd5b6150ca8a614e90565b98506150d860208b01614e90565b97506150e660408b01614e90565b965060608a01356001600160401b038082111561510257600080fd5b61510e8d838e01614f7c565b975060808c013591508082111561512457600080fd5b6151308d838e01614f7c565b965061513e60a08d01615000565b955061514c60c08d01614e90565b945061515a60e08d01614e90565b93506101008c013591508082111561517157600080fd5b5061517e8c828d0161502e565b9150509295985092959850929598565b6000602082840312156151a057600080fd5b5035919050565b6000806000606084860312156151bc57600080fd5b83356151c781614e7b565b925060208401356151d781614e7b565b929592945050506040919091013590565b63ffffffff811681146115ca57600080fd5b6000806040838503121561520d57600080fd5b8235615218816151e8565b91506020830135614efa816151e8565b60006020828403121561523a57600080fd5b813562ffffff81168114614d4157600080fd5b60008060006060848603121561526257600080fd5b8335925060208401359150604084013561527b81614e02565b809150509250925092565b6000806000806080858703121561529c57600080fd5b84356152a781614e7b565b966020860135965060408601359560600135945092505050565b6000806000606084860312156152d657600080fd5b83356152e181614e7b565b95602085013595506040909401359392505050565b6000806040838503121561530957600080fd5b823561531481614e7b565b91506020830135614efa81614e7b565b60008060008060008060c0878903121561533d57600080fd5b863561534881614e7b565b9550602087013561535881614e7b565b9450604087013561536881614e7b565b935060608701356001600160401b038082111561538457600080fd5b6153908a838b01614f7c565b945060808901359150808211156153a657600080fd5b506153b389828a01614f7c565b92505060a08701356153c481614feb565b809150509295509295509295565b600080604083850312156153e557600080fd5b823591506020830135614efa81614e02565b600181811c9082168061540b57607f821691505b60208210810361542b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561544357600080fd5b5051919050565b60006020828403121561545c57600080fd5b815160ff81168114614d4157600080fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156108f8576108f861546d565b808201808211156108f8576108f861546d565b6001600160a01b03929092168252602082015260400190565b6000602082840312156154d457600080fd5b8151614d4181614e02565b60208082526003908201526244414960e81b604082015260600190565b60006020828403121561550e57600080fd5b8151614d4181614e7b565b634e487b7160e01b600052603260045260246000fd5b6020808252600e908201526d2aa724a9aba0a82fa927aaaa22a960911b604082015260600190565b600181815b808511156155925781600019048211156155785761557861546d565b8085161561558557918102915b93841c939080029061555c565b509250929050565b6000826155a9575060016108f8565b816155b6575060006108f8565b81600181146155cc57600281146155d6576155f2565b60019150506108f8565b60ff8411156155e7576155e761546d565b50506001821b6108f8565b5060208310610133831016604e8410600b8410161715615615575081810a6108f8565b61561f8383615557565b80600019048211156156335761563361546d565b029392505050565b6000614d41838361559a565b60008160001904831182151516156156615761566161546d565b500290565b60008261568357634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600c908201526b4744414f5f5354414b45525360a01b604082015260600190565b600081518084526020808501945080840160005b838110156156e75781516001600160a01b0316875295820195908201906001016156c2565b509495945050505050565b6001600160a01b0383168152604060208201819052600090615716908301846156ae565b949350505050565b6020808252600c908201526b232aa7222fa6a0a720a3a2a960a11b604082015260600190565b6000806000806080858703121561575a57600080fd5b8451615765816151e8565b602086015190945061577681614feb565b604086015190935061578781614feb565b606086015190925061579881614e02565b939692955090935050565b60ff82811682821603908111156108f8576108f861546d565b6000614d4160ff84168361559a565b6020808252600490820152634344414960e01b604082015260600190565b6001600160a01b0392831681529116602082015260400190565b63ffffffff8181168382160190808211156158205761582061546d565b5092915050565b6020808252601890820152771dda5d1a191c985dc81d1c985b9cd9995c8819985a5b195960421b604082015260600190565b6001600160a01b0395861681529385166020850152919093166040830152606082019290925262ffffff909116608082015260a00190565b6020808252601790820152762330b4b632b2103a37903932b232b2b69031aa37b5b2b760491b604082015260600190565b6001600160401b038281168282160390808211156158205761582061546d565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b84815260806020820152600061594660808301866156ae565b6001600160a01b03949094166040830152506060015292915050565b6000602080838503121561597557600080fd5b82516001600160401b0381111561598b57600080fd5b8301601f8101851361599c57600080fd5b80516159aa61504f8261500b565b81815260059190911b820183019083810190878311156159c957600080fd5b928401925b82841015611d4e578351825292840192908401906159ce565b85815284602082015260a060408201526000615a0660a08301866156ae565b6001600160a01b0394909416606083015250608001529392505050565b601f821115611cc657600081815260208120601f850160051c81016020861015615a4a5750805b601f850160051c820191505b818110156115c457828155600101615a56565b81516001600160401b03811115615a8257615a82614f36565b615a9681615a9084546153f7565b84615a23565b602080601f831160018114615acb5760008415615ab35750858301515b600019600386901b1c1916600185901b1785556115c4565b600085815260208120601f198616915b82811015615afa57888601518255948401946001909101908401615adb565b5085821015615b185787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220f59dc3d75be89d13f0b8f80e0e6808ad1a30717cbd33b2aa33825d40a0476e2b64736f6c63430008100033";
|
|
1346
|
-
|
|
1347
|
-
type GoodCompoundStakingTestConstructorParams =
|
|
1348
|
-
| [
|
|
1349
|
-
linkLibraryAddresses: GoodCompoundStakingTestLibraryAddresses,
|
|
1350
|
-
signer?: Signer
|
|
1351
|
-
]
|
|
1352
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
1353
|
-
|
|
1354
|
-
const isSuperArgs = (
|
|
1355
|
-
xs: GoodCompoundStakingTestConstructorParams
|
|
1356
|
-
): xs is ConstructorParameters<typeof ContractFactory> => {
|
|
1357
|
-
return (
|
|
1358
|
-
typeof xs[0] === "string" ||
|
|
1359
|
-
(Array.isArray as (arg: any) => arg is readonly any[])(xs[0]) ||
|
|
1360
|
-
"_isInterface" in xs[0]
|
|
1361
|
-
);
|
|
1362
|
-
};
|
|
1363
|
-
|
|
1364
|
-
export class GoodCompoundStakingTest__factory extends ContractFactory {
|
|
1365
|
-
constructor(...args: GoodCompoundStakingTestConstructorParams) {
|
|
1366
|
-
if (isSuperArgs(args)) {
|
|
1367
|
-
super(...args);
|
|
1368
|
-
} else {
|
|
1369
|
-
const [linkLibraryAddresses, signer] = args;
|
|
1370
|
-
super(
|
|
1371
|
-
_abi,
|
|
1372
|
-
GoodCompoundStakingTest__factory.linkBytecode(linkLibraryAddresses),
|
|
1373
|
-
signer
|
|
1374
|
-
);
|
|
1375
|
-
}
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
static linkBytecode(
|
|
1379
|
-
linkLibraryAddresses: GoodCompoundStakingTestLibraryAddresses
|
|
1380
|
-
): string {
|
|
1381
|
-
let linkedBytecode = _bytecode;
|
|
1382
|
-
|
|
1383
|
-
linkedBytecode = linkedBytecode.replace(
|
|
1384
|
-
new RegExp("__\\$a7857c79f7039505337147dc025cce365e\\$__", "g"),
|
|
1385
|
-
linkLibraryAddresses[
|
|
1386
|
-
"contracts/staking/UniswapV2SwapHelper.sol:UniswapV2SwapHelper"
|
|
1387
|
-
]
|
|
1388
|
-
.replace(/^0x/, "")
|
|
1389
|
-
.toLowerCase()
|
|
1390
|
-
);
|
|
1391
|
-
|
|
1392
|
-
return linkedBytecode;
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
deploy(
|
|
1396
|
-
_token: string,
|
|
1397
|
-
_iToken: string,
|
|
1398
|
-
_ns: string,
|
|
1399
|
-
_tokenName: string,
|
|
1400
|
-
_tokenSymbol: string,
|
|
1401
|
-
_maxRewardThreshold: BigNumberish,
|
|
1402
|
-
_tokenUsdOracle: string,
|
|
1403
|
-
_compUsdOracle: string,
|
|
1404
|
-
_swapPath: string[],
|
|
1405
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1406
|
-
): Promise<GoodCompoundStakingTest> {
|
|
1407
|
-
return super.deploy(
|
|
1408
|
-
_token,
|
|
1409
|
-
_iToken,
|
|
1410
|
-
_ns,
|
|
1411
|
-
_tokenName,
|
|
1412
|
-
_tokenSymbol,
|
|
1413
|
-
_maxRewardThreshold,
|
|
1414
|
-
_tokenUsdOracle,
|
|
1415
|
-
_compUsdOracle,
|
|
1416
|
-
_swapPath,
|
|
1417
|
-
overrides || {}
|
|
1418
|
-
) as Promise<GoodCompoundStakingTest>;
|
|
1419
|
-
}
|
|
1420
|
-
getDeployTransaction(
|
|
1421
|
-
_token: string,
|
|
1422
|
-
_iToken: string,
|
|
1423
|
-
_ns: string,
|
|
1424
|
-
_tokenName: string,
|
|
1425
|
-
_tokenSymbol: string,
|
|
1426
|
-
_maxRewardThreshold: BigNumberish,
|
|
1427
|
-
_tokenUsdOracle: string,
|
|
1428
|
-
_compUsdOracle: string,
|
|
1429
|
-
_swapPath: string[],
|
|
1430
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1431
|
-
): TransactionRequest {
|
|
1432
|
-
return super.getDeployTransaction(
|
|
1433
|
-
_token,
|
|
1434
|
-
_iToken,
|
|
1435
|
-
_ns,
|
|
1436
|
-
_tokenName,
|
|
1437
|
-
_tokenSymbol,
|
|
1438
|
-
_maxRewardThreshold,
|
|
1439
|
-
_tokenUsdOracle,
|
|
1440
|
-
_compUsdOracle,
|
|
1441
|
-
_swapPath,
|
|
1442
|
-
overrides || {}
|
|
1443
|
-
);
|
|
1444
|
-
}
|
|
1445
|
-
attach(address: string): GoodCompoundStakingTest {
|
|
1446
|
-
return super.attach(address) as GoodCompoundStakingTest;
|
|
1447
|
-
}
|
|
1448
|
-
connect(signer: Signer): GoodCompoundStakingTest__factory {
|
|
1449
|
-
return super.connect(signer) as GoodCompoundStakingTest__factory;
|
|
1450
|
-
}
|
|
1451
|
-
static readonly bytecode = _bytecode;
|
|
1452
|
-
static readonly abi = _abi;
|
|
1453
|
-
static createInterface(): GoodCompoundStakingTestInterface {
|
|
1454
|
-
return new utils.Interface(_abi) as GoodCompoundStakingTestInterface;
|
|
1455
|
-
}
|
|
1456
|
-
static connect(
|
|
1457
|
-
address: string,
|
|
1458
|
-
signerOrProvider: Signer | Provider
|
|
1459
|
-
): GoodCompoundStakingTest {
|
|
1460
|
-
return new Contract(
|
|
1461
|
-
address,
|
|
1462
|
-
_abi,
|
|
1463
|
-
signerOrProvider
|
|
1464
|
-
) as GoodCompoundStakingTest;
|
|
1465
|
-
}
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
export interface GoodCompoundStakingTestLibraryAddresses {
|
|
1469
|
-
["contracts/staking/UniswapV2SwapHelper.sol:UniswapV2SwapHelper"]: string;
|
|
1470
|
-
}
|