@gooddollar/goodprotocol 2.1.4 → 2.2.0
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/CreateReserveExchange.min.json +1 -0
- package/artifacts/abis/IBancorExchangeProvider.min.json +1 -1
- package/artifacts/abis/IBroker.min.json +1 -1
- package/artifacts/abis/IdentityV3.min.json +1 -1
- package/artifacts/abis/IdentityV4.min.json +1 -0
- package/artifacts/abis/UpdateReserveRatio.min.json +1 -0
- package/artifacts/abis/Voters.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 +1 -1
- package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/AggregatorV3Interface.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ERC20.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAaveIncentivesController.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAdminWallet.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IDonationStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IERC2917.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IFirstClaimPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IHasRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentity.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentityV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IMultichainRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IQuoterV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ISwapRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IUBIScheme.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ProxyAdmin.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Reserve.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Uniswap.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapFactory.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapPair.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/cERC20.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBancorExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBancorExchangeProvider.json +69 -0
- package/artifacts/contracts/MentoInterfaces.sol/IBroker.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBroker.json +131 -4
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExpansionController.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IMentoReserve.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/ITradingLimits.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.json +2 -2
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Voters.dbg.json +4 -0
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Voters.json +42 -0
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.dbg.json +1 -1
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
- package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IGovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IStakingUpgrade.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/RewardsMinter.dbg.json +1 -1
- package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/MultiBaseGovernanceShareField.sol/MultiBaseGovernanceShareField.dbg.json +1 -1
- package/artifacts/contracts/governance/Reputation.sol/Reputation.dbg.json +1 -1
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV3.sol/IdentityV3.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV3.sol/IdentityV3.json +40 -2
- package/artifacts/contracts/identity/IdentityV4.sol/IdentityV4.dbg.json +4 -0
- package/artifacts/contracts/identity/IdentityV4.sol/IdentityV4.json +1175 -0
- 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 +1 -1
- package/artifacts/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTest.json +2 -2
- package/artifacts/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTestHelper.json +2 -2
- 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 +1 -1
- package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.json +2 -2
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/IConsensus.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/PegSwap.dbg.json +1 -1
- package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/Math64X64.sol/Math64x64.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/StakingRewardsFixedAPY.sol/StakingRewardsFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/token/ERC20PresetMinterPauserUpgradeable.sol/ERC20PresetMinterPauserUpgradeable.dbg.json +1 -1
- package/artifacts/contracts/token/ERC677.sol/ERC677.dbg.json +1 -1
- package/artifacts/contracts/token/ERC677.sol/ERC677Receiver.dbg.json +1 -1
- package/artifacts/contracts/token/GoodDollar.sol/GoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/GoodDollar2.sol/GoodDollar2.dbg.json +1 -1
- package/artifacts/contracts/token/IFeesFormula.sol/IFeesFormula.dbg.json +1 -1
- package/artifacts/contracts/token/MultichainFeeFormula.sol/MultichainFeeFormula.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/SelfApprove.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperToken.sol/ISuperToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperfluidToken.sol/SuperfluidToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxiable.sol/UUPSProxiable.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/Proxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSUtils.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.json +2 -2
- package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.dbg.json +1 -1
- package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkWhitelist.sol/BulkWhitelist.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyFromReserveHelper.sol/BuyFromReserveHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/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/ProxyFactory1967.dbg.json +1 -1
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.dbg.json +1 -1
- package/artifacts/contracts/utils/UpdateReserveRatio.sol/CreateReserveExchange.dbg.json +4 -0
- package/artifacts/contracts/utils/UpdateReserveRatio.sol/CreateReserveExchange.json +77 -0
- package/artifacts/contracts/utils/UpdateReserveRatio.sol/MentoExchange.dbg.json +4 -0
- package/artifacts/contracts/utils/UpdateReserveRatio.sol/MentoExchange.json +24 -0
- package/artifacts/contracts/utils/UpdateReserveRatio.sol/UpdateReserveRatio.dbg.json +4 -0
- package/artifacts/contracts/utils/UpdateReserveRatio.sol/UpdateReserveRatio.json +60 -0
- package/contracts/MentoInterfaces.sol +247 -203
- package/contracts/fuseFaucet/Faucet.sol +15 -2
- package/contracts/identity/IdentityV3.sol +5 -3
- package/contracts/identity/IdentityV4.sol +600 -0
- package/contracts/invite/InvitesV2.sol +30 -10
- package/contracts/reserve/GenericDistributionHelper.sol +35 -7
- package/contracts/ubi/UBISchemeV2.sol +8 -1
- package/contracts/utils/UpdateReserveRatio.sol +121 -0
- package/hardhat.config.ts +2 -3
- package/package.json +6 -4
- package/releases/deploy-settings.json +3 -0
- package/releases/deployment.json +703 -1
- package/test/governance/ClaimersDistribution.test.ts +1 -1
- package/test/governance/CompoundVotingMachine.castvote.test.ts +30 -30
- package/test/helpers.ts +80 -196
- package/test/identity/IdentityV3.test.ts +53 -129
- package/test/identity/IdentityV4.test.ts +464 -0
- package/test/invite/InvitesV2.test.ts +50 -5
- package/test/reserve/GenericDistributionHelper.e2e.test.ts +445 -0
- package/test/utils/AdminWallet.test.ts +14 -15
- package/types/contracts/MentoInterfaces.sol/IBancorExchangeProvider.ts +54 -0
- package/types/contracts/MentoInterfaces.sol/IBroker.ts +99 -7
- package/types/contracts/fuseFaucet/{Faucet.ts → Faucet.sol/Faucet.ts} +1 -1
- package/types/{@openzeppelin/contracts/utils/introspection/ERC165.ts → contracts/fuseFaucet/Faucet.sol/Voters.ts} +30 -29
- package/types/contracts/fuseFaucet/{SuperfluidBaseFacuet.sol → Faucet.sol}/index.ts +2 -1
- package/types/contracts/fuseFaucet/index.ts +2 -1
- package/types/contracts/identity/IdentityV3.ts +46 -0
- package/types/contracts/identity/{IdentityV2.ts → IdentityV4.ts} +166 -55
- package/types/contracts/identity/index.ts +1 -0
- package/types/contracts/invite/{InvitesFuseV2.ts → InvitesV2 copy.sol/InvitesV2.ts } +358 -53
- package/types/contracts/{IQuoter.sol/index.ts → invite/InvitesV2 copy.sol/index.ts } +1 -1
- package/types/contracts/utils/{ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.ts → UpdateReserveRatio.sol/CreateReserveExchange.ts} +10 -32
- package/types/contracts/utils/{UpdateReserveRatioAfterXDC.sol/UpdateReserveRatioAfterXDC.ts → UpdateReserveRatio.sol/UpdateReserveRatio.ts} +22 -5
- package/types/contracts/utils/{ProtocolUpgradeV4Mento.sol → UpdateReserveRatio.sol}/index.ts +2 -1
- package/types/contracts/utils/index.ts +2 -0
- package/types/factories/contracts/MentoInterfaces.sol/IBancorExchangeProvider__factory.ts +69 -0
- package/types/factories/contracts/MentoInterfaces.sol/IBroker__factory.ts +131 -4
- package/types/factories/contracts/fuseFaucet/Faucet.sol/Faucet__factory.ts +914 -0
- package/types/factories/contracts/fuseFaucet/Faucet.sol/Voters__factory.ts +54 -0
- package/types/factories/contracts/fuseFaucet/Faucet.sol/index.ts +5 -0
- package/types/factories/contracts/fuseFaucet/index.ts +1 -1
- package/types/factories/contracts/identity/IdentityV3__factory.ts +39 -1
- package/types/factories/contracts/identity/IdentityV4__factory.ts +1226 -0
- package/types/factories/contracts/identity/index.ts +1 -0
- package/types/factories/contracts/invite/InvitesV2 copy.sol/InvitesV2__factory.ts +748 -0
- package/types/{contracts/fuseFaucet/Faucet copy.sol → factories/contracts/invite/InvitesV2 copy.sol}/index.ts +1 -1
- package/types/factories/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTestHelper__factory.ts +1 -1
- package/types/factories/contracts/mocks/GenericDistributionHelperTest.sol/GenericDistributionHelperTest__factory.ts +1 -1
- package/types/factories/contracts/reserve/GenericDistributionHelper__factory.ts +1 -1
- package/types/factories/contracts/ubi/UBISchemeV2__factory.ts +1 -1
- package/types/factories/contracts/utils/BuyFromReserveHelper__factory.ts +1 -1
- package/types/factories/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +1 -1
- package/types/factories/contracts/utils/UpdateReserveRatio.sol/CreateReserveExchange__factory.ts +137 -0
- package/types/factories/contracts/utils/{ReserveRestore.sol → UpdateReserveRatio.sol}/MentoExchange__factory.ts +1 -1
- package/types/factories/contracts/utils/UpdateReserveRatio.sol/UpdateReserveRatio__factory.ts +113 -0
- package/types/factories/contracts/utils/UpdateReserveRatio.sol/index.ts +6 -0
- package/types/factories/contracts/utils/index.ts +1 -0
- package/types/hardhat.d.ts +45 -0
- package/types/index.ts +10 -2
- package/scripts/ProxyFactory.json +0 -4425
- package/scripts/analytics/activeGDStakers.ts +0 -188
- package/scripts/analytics/activeStakers.ts +0 -25
- package/scripts/analytics/activeUsersCount.ts +0 -156
- package/scripts/analytics/activeWalletsStats.ts +0 -301
- package/scripts/analytics/checkActiveWallets.ts +0 -60
- package/scripts/analytics/checkBridgeBalances.ts +0 -442
- package/scripts/analytics/claimIncidentStats.ts +0 -98
- package/scripts/analytics/faucetStats.ts +0 -130
- package/scripts/analytics/gdinflow.ts +0 -57
- package/scripts/analytics/goodHolders.ts +0 -46
- package/scripts/analytics/goodgiveback.ts +0 -64
- package/scripts/analytics/p2pTxs.ts +0 -564
- package/scripts/analytics/stuckgd.ts +0 -70
- package/scripts/analytics/tokenInOutStats.ts +0 -48
- package/scripts/analytics/whitelistsyncIssue.ts +0 -87
- package/scripts/bulkProof.ts +0 -202
- package/scripts/bulkWhitelist.ts +0 -31
- package/scripts/deployGnosisSafe.ts +0 -111
- package/scripts/fetchOrDeployProxyFactory.ts +0 -46
- package/scripts/fv.ts +0 -263
- package/scripts/gdx/gdxAirdropCalculation.ts +0 -479
- package/scripts/getFounders.ts +0 -32
- package/scripts/governance/README.md +0 -70
- package/scripts/governance/airdropCalculation.ts +0 -1119
- package/scripts/governance/airdropCalculationRecover.ts +0 -416
- package/scripts/governance/airdropCalculationSorted.ts +0 -438
- package/scripts/governance/goodCheckpointSorted.ts +0 -300
- package/scripts/keeper/fishInactive.ts +0 -47
- package/scripts/minimize.sh +0 -17
- package/scripts/multichain-deploy/0_proxyFactory-deploy.ts +0 -131
- package/scripts/multichain-deploy/1_basicdao-deploy.ts +0 -294
- package/scripts/multichain-deploy/2_helpers-deploy.ts +0 -152
- package/scripts/multichain-deploy/2b_otp-deploy.ts +0 -73
- package/scripts/multichain-deploy/3_gdSavings-deploy.ts +0 -190
- package/scripts/multichain-deploy/4_ubi-deploy.ts +0 -129
- package/scripts/multichain-deploy/5_gov-deploy.ts +0 -179
- package/scripts/multichain-deploy/6_testnetFaucet.ts +0 -85
- package/scripts/multichain-deploy/7_superfluidfaucet-deploy.ts +0 -123
- package/scripts/multichain-deploy/8_disthelper-deploy.ts +0 -152
- package/scripts/multichain-deploy/createUniswapTestPools.ts +0 -163
- package/scripts/multichain-deploy/flattened/Avatar.sol +0 -913
- package/scripts/multichain-deploy/flattened/Controller.sol +0 -1891
- package/scripts/multichain-deploy/flattened/FeeFormula.sol +0 -1290
- package/scripts/multichain-deploy/fulldeploy.sh +0 -26
- package/scripts/multichain-deploy/helpers.ts +0 -647
- package/scripts/multichain-deploy/multichainWrapper-deploy.ts +0 -59
- package/scripts/multichain-deploy/verifyEtherscan.ts +0 -177
- package/scripts/proposals/gip-14_1.ts +0 -251
- package/scripts/proposals/gip-15.ts +0 -427
- package/scripts/proposals/gip-25-xdc-upgrade-ubi.ts +0 -746
- package/scripts/proposals/gips-14_1.md +0 -29
- package/scripts/proposals/hack-ubi-recovery.ts +0 -414
- package/scripts/proposals/identityAuthPeriod.ts +0 -229
- package/scripts/proposals/reserveRestore.ts +0 -474
- package/scripts/proposals/updateDistHelper.ts +0 -180
- package/scripts/proposals/v4Upgrade.ts +0 -845
- package/scripts/releaser.js +0 -24
- package/scripts/staking/stakersGdRewardsCalculation.ts +0 -64
- package/scripts/upgradeScheme.ts +0 -97
- package/scripts/upgradeToV2/upgradeToV2.ts +0 -853
- package/scripts/upgradeToV2/upgradeToV2Recover.ts +0 -939
- package/scripts/upgradeToV3/v3-fix.ts +0 -120
- package/scripts/upgradeToV3/v3-fuse-multichain.ts +0 -117
- package/scripts/upgradeToV3/v3-upgrade.ts +0 -219
- package/scripts/upgrades/celo-defi-ubi-deploy.ts +0 -184
- package/scripts/upgrades/identity-upgrade.ts +0 -126
- package/scripts/upgrades/multichain-formula-upgrade.ts +0 -143
- package/scripts/upgrades/multichain-temp-fix.ts +0 -129
- package/scripts/upgrades/restoreFunds.ts +0 -91
- package/scripts/upgrades/superfluid-nft-celo-gas-token.ts +0 -159
- package/scripts/upgrades/transferDaoToGuardians.ts +0 -80
- package/scripts/upgrades/upgradeAdminWallet.ts +0 -29
- package/scripts/upgrades/upgradeFaucet.ts +0 -46
- package/scripts/utils.ts +0 -50
- package/scripts/verify.ts +0 -67
- package/scripts/voltageswaps.ts +0 -46
- package/types/@gooddollar/bridge-contracts/contracts/messagePassingBridge/IMessagePassingBridge.sol/ILayerZeroFeeEstimator.ts +0 -134
- package/types/@gooddollar/bridge-contracts/contracts/messagePassingBridge/IMessagePassingBridge.sol/IMessagePassingBridge.ts +0 -798
- package/types/@mean-finance/uniswap-v3-oracle/solidity/interfaces/IStaticOracle.ts +0 -694
- package/types/@openzeppelin/contracts/access/AccessControl.ts +0 -388
- package/types/@openzeppelin/contracts/access/IAccessControl.ts +0 -331
- package/types/@openzeppelin/contracts/access/Ownable.ts +0 -175
- package/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts +0 -87
- package/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +0 -108
- package/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.ts +0 -108
- package/types/@openzeppelin/contracts/proxy/Proxy.ts +0 -55
- package/types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +0 -87
- package/types/@openzeppelin/contracts/proxy/utils/Initializable.ts +0 -69
- package/types/@openzeppelin/contracts/security/Pausable.ts +0 -111
- package/types/@openzeppelin/contracts/token/ERC20/ERC20.ts +0 -444
- package/types/@openzeppelin/contracts/token/ERC20/IERC20.ts +0 -322
- package/types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +0 -364
- package/types/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.ts +0 -177
- package/types/@openzeppelin/contracts/token/ERC721/IERC721.ts +0 -527
- package/types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.ts +0 -581
- package/types/@openzeppelin/contracts/token/ERC777/IERC777.ts +0 -616
- package/types/@openzeppelin/contracts/token/ERC777/IERC777Recipient.ts +0 -130
- package/types/@openzeppelin/contracts/token/ERC777/IERC777Sender.ts +0 -130
- package/types/@openzeppelin/contracts/utils/introspection/IERC165.ts +0 -102
- package/types/@openzeppelin/contracts/utils/introspection/IERC1820Registry.ts +0 -420
- package/types/@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.ts +0 -477
- package/types/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.ts +0 -400
- package/types/@openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.ts +0 -408
- package/types/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.ts +0 -331
- package/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +0 -187
- package/types/@openzeppelin/contracts-upgradeable/interfaces/IERC1271Upgradeable.ts +0 -107
- package/types/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol/IERC1822ProxiableUpgradeable.ts +0 -87
- package/types/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.ts +0 -120
- package/types/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.ts +0 -87
- package/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +0 -69
- package/types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.ts +0 -228
- package/types/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.ts +0 -123
- package/types/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.ts +0 -69
- package/types/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.ts +0 -456
- package/types/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.ts +0 -322
- package/types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.ts +0 -519
- package/types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20PausableUpgradeable.ts +0 -494
- package/types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.ts +0 -364
- package/types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol/ERC20PermitUpgradeable.ts +0 -563
- package/types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.ts +0 -177
- package/types/@openzeppelin/contracts-upgradeable/token/ERC20/presets/ERC20PresetMinterPauserUpgradeable.ts +0 -1097
- package/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +0 -69
- package/types/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable.ts +0 -69
- package/types/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.ts +0 -120
- package/types/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.ts +0 -102
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IConstantFlowAgreementV1.ts +0 -1427
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IInstantDistributionAgreementV1.ts +0 -1219
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantInflowNFT.ts +0 -828
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantOutflowNFT.ts +0 -891
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IFlowNFTBase.ts +0 -765
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperAgreement.ts +0 -152
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperApp.ts +0 -417
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken.ts +0 -2698
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperTokenFactory.ts +0 -449
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluid.ts +0 -1643
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidGovernance.ts +0 -523
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidToken.ts +0 -996
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/ERC20WithTokenInfo.ts +0 -364
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/ISETH.sol/ISETH.ts +0 -2791
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/ISETH.sol/ISETHCustom.ts +0 -163
- package/types/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/TokenInfo.ts +0 -109
- package/types/@superfluid-finance/ethereum-contracts/contracts/libs/EventsEmitter.ts +0 -82
- package/types/@superfluid-finance/ethereum-contracts/contracts/superfluid/ConstantInflowNFT.ts +0 -1039
- package/types/@superfluid-finance/ethereum-contracts/contracts/superfluid/ConstantOutflowNFT.ts +0 -1102
- package/types/@superfluid-finance/ethereum-contracts/contracts/superfluid/FlowNFTBase.ts +0 -954
- package/types/@superfluid-finance/ethereum-contracts/contracts/upgradability/UUPSProxiable.ts +0 -197
- package/types/@uniswap/v2-periphery/contracts/interfaces/IWETH.ts +0 -159
- package/types/@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.ts +0 -354
- package/types/contracts/DAOStackInterfaces.sol/Avatar.ts +0 -121
- package/types/contracts/DAOStackInterfaces.sol/Controller.ts +0 -572
- package/types/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface.ts +0 -128
- package/types/contracts/DAOStackInterfaces.sol/IntVoteInterface.ts +0 -494
- package/types/contracts/DAOStackInterfaces.sol/ReputationInterface.ts +0 -270
- package/types/contracts/DAOStackInterfaces.sol/SchemeRegistrar.ts +0 -168
- package/types/contracts/IQuoter.sol/IQuoterV2.ts +0 -297
- package/types/contracts/IUniswapV3.sol/INonfungiblePositionManager.ts +0 -151
- package/types/contracts/IUniswapV3.sol/IUniswapV3Factory.ts +0 -155
- package/types/contracts/IUniswapV3.sol/IUniswapV3Pool.ts +0 -192
- package/types/contracts/Interfaces.sol/AToken.ts +0 -81
- package/types/contracts/Interfaces.sol/AggregatorV3Interface.ts +0 -198
- package/types/contracts/Interfaces.sol/CERC20.ts +0 -602
- package/types/contracts/Interfaces.sol/ERC20.ts +0 -424
- package/types/contracts/Interfaces.sol/IAaveIncentivesController.ts +0 -156
- package/types/contracts/Interfaces.sol/IAaveIncentivesControllerV3.ts +0 -156
- package/types/contracts/Interfaces.sol/IAdminWallet.ts +0 -176
- package/types/contracts/Interfaces.sol/IDonationStaking.ts +0 -97
- package/types/contracts/Interfaces.sol/IERC2917.ts +0 -722
- package/types/contracts/Interfaces.sol/IFirstClaimPool.ts +0 -133
- package/types/contracts/Interfaces.sol/IGoodDollar.ts +0 -938
- package/types/contracts/Interfaces.sol/IGoodStaking.ts +0 -272
- package/types/contracts/Interfaces.sol/IHasRouter.ts +0 -81
- package/types/contracts/Interfaces.sol/IIdentity.ts +0 -534
- package/types/contracts/Interfaces.sol/IIdentityV2.ts +0 -620
- package/types/contracts/Interfaces.sol/ILendingPool.ts +0 -245
- package/types/contracts/Interfaces.sol/ILendingPoolV3.ts +0 -254
- package/types/contracts/Interfaces.sol/IMultichainRouter.ts +0 -168
- package/types/contracts/Interfaces.sol/INameService.ts +0 -84
- package/types/contracts/Interfaces.sol/IQuoterV2.ts +0 -184
- package/types/contracts/Interfaces.sol/ISwapRouter.ts +0 -306
- package/types/contracts/Interfaces.sol/IUBIScheme.ts +0 -121
- package/types/contracts/Interfaces.sol/ProxyAdmin.ts +0 -261
- package/types/contracts/Interfaces.sol/Reserve.ts +0 -112
- package/types/contracts/Interfaces.sol/Staking.ts +0 -165
- package/types/contracts/Interfaces.sol/Uniswap.ts +0 -434
- package/types/contracts/Interfaces.sol/UniswapFactory.ts +0 -104
- package/types/contracts/Interfaces.sol/UniswapPair.ts +0 -193
- package/types/contracts/fuseFaucet/Faucet copy.sol/DebugFaucet.ts +0 -1439
- package/types/contracts/fuseFaucet/FuseFaucet.ts +0 -537
- package/types/contracts/fuseFaucet/FuseFaucetV2.ts +0 -929
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor.ts +0 -648
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable.ts +0 -843
- package/types/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.ts +0 -1032
- package/types/contracts/governance/ClaimersDistribution.ts +0 -676
- package/types/contracts/governance/CompoundVotingMachine.ts +0 -1790
- package/types/contracts/governance/GReputation.ts +0 -2258
- package/types/contracts/governance/GovernanceStaking.ts +0 -1401
- package/types/contracts/governance/MultiBaseGovernanceShareField.ts +0 -422
- package/types/contracts/governance/Reputation.ts +0 -1029
- package/types/contracts/governance/StakersDistribution.ts +0 -1000
- package/types/contracts/invite/InvitesV1.ts +0 -839
- package/types/contracts/invite/OneTimeReward.ts +0 -521
- package/types/contracts/mocks/AaveMock.ts +0 -1096
- package/types/contracts/mocks/AaveUSDMockOracle.ts +0 -87
- package/types/contracts/mocks/BatUSDMockOracle.ts +0 -87
- package/types/contracts/mocks/CBATMock.ts +0 -1286
- package/types/contracts/mocks/CDAILowWorthMock.ts +0 -1251
- package/types/contracts/mocks/CDAIMock.ts +0 -1303
- package/types/contracts/mocks/CDAINonMintableMock.ts +0 -1251
- package/types/contracts/mocks/CDecimalsMock.ts +0 -1286
- package/types/contracts/mocks/CSDTMock.ts +0 -1286
- package/types/contracts/mocks/CUSDCMock.ts +0 -1286
- package/types/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest.ts +0 -1226
- package/types/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper.ts +0 -1279
- package/types/contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper.ts +0 -1252
- package/types/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.ts +0 -87
- package/types/contracts/mocks/DAIMock.ts +0 -1171
- package/types/contracts/mocks/DaiEthPriceMockOracle.ts +0 -87
- package/types/contracts/mocks/DecimalsMock.ts +0 -1096
- package/types/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.ts +0 -1393
- package/types/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.ts +0 -1456
- package/types/contracts/mocks/EthUSDMockOracle.ts +0 -138
- package/types/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.ts +0 -131
- package/types/contracts/mocks/GasPriceMockOracle.ts +0 -120
- package/types/contracts/mocks/GenericDistributionHelperTest.sol/CeloDistributionHelperTestHelper.ts +0 -1357
- package/types/contracts/mocks/GoodCompoundStakingTest.ts +0 -2044
- package/types/contracts/mocks/GoodFundManagerTest.ts +0 -1268
- package/types/contracts/mocks/IdentityMock.ts +0 -554
- package/types/contracts/mocks/IncentiveControllerMock.ts +0 -212
- package/types/contracts/mocks/LendingPoolMock.ts +0 -1331
- package/types/contracts/mocks/OverMintTester.sol/IGoodDollarStakingTest.ts +0 -176
- package/types/contracts/mocks/OverMintTester.sol/OverMintTester.ts +0 -178
- package/types/contracts/mocks/OverMintTesterRegularStake.ts +0 -178
- package/types/contracts/mocks/PayableMock.ts +0 -89
- package/types/contracts/mocks/SixteenDecimalsTokenMock.ts +0 -1096
- package/types/contracts/mocks/SwapHelperTest.ts +0 -118
- package/types/contracts/mocks/TwentyDecimalsTokenMock.ts +0 -1096
- package/types/contracts/mocks/UpgradableMocks.sol/UpgradableMock.ts +0 -379
- package/types/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.ts +0 -339
- package/types/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.ts +0 -365
- package/types/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.ts +0 -365
- package/types/contracts/mocks/UsdcMock.sol/USDCMock.ts +0 -1096
- package/types/contracts/reserve/CeloDistributionHelper.ts +0 -1226
- package/types/contracts/reserve/DistributionHelper.ts +0 -1393
- package/types/contracts/reserve/ExchangeHelper.ts +0 -584
- package/types/contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper.ts +0 -1247
- package/types/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +0 -4
- package/types/contracts/reserve/GoodMarketMaker.ts +0 -1054
- package/types/contracts/reserve/GoodReserveADai.ts +0 -2212
- package/types/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.ts +0 -166
- package/types/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.ts +0 -2190
- package/types/contracts/staking/BaseShareField.ts +0 -456
- package/types/contracts/staking/BaseShareFieldV2.ts +0 -368
- package/types/contracts/staking/DonationsStaking.ts +0 -851
- package/types/contracts/staking/FuseStakingV3.sol/FuseStakingV3.ts +0 -1280
- package/types/contracts/staking/FuseStakingV3.sol/IConsensus.ts +0 -232
- package/types/contracts/staking/FuseStakingV3.sol/PegSwap.ts +0 -112
- package/types/contracts/staking/GoodFundManager.ts +0 -1228
- package/types/contracts/staking/SimpleStaking.ts +0 -1598
- package/types/contracts/staking/SimpleStakingV2.ts +0 -1495
- package/types/contracts/staking/UniswapV2SwapHelper.ts +0 -123
- package/types/contracts/staking/aave/AaveStakingFactory.ts +0 -323
- package/types/contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2.ts +0 -1808
- package/types/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +0 -4
- package/types/contracts/staking/aave/GoodAaveStaking.ts +0 -1843
- package/types/contracts/staking/aave/GoodAaveStakingV2.ts +0 -1808
- package/types/contracts/staking/compound/CompoundStakingFactory.ts +0 -284
- package/types/contracts/staking/compound/GoodCompoundStaking.ts +0 -1932
- package/types/contracts/staking/compound/GoodCompoundStakingV2.ts +0 -1717
- package/types/contracts/token/ERC20PresetMinterPauserUpgradeable.ts +0 -1204
- package/types/contracts/token/ERC677.sol/ERC677.ts +0 -141
- package/types/contracts/token/ERC677.sol/ERC677Receiver.ts +0 -115
- package/types/contracts/token/GoodDollar.ts +0 -1871
- package/types/contracts/token/GoodDollar18.ts +0 -1871
- package/types/contracts/token/GoodDollar2.ts +0 -1871
- package/types/contracts/token/IFeesFormula.ts +0 -110
- package/types/contracts/token/MultichainFeeFormula.ts +0 -131
- package/types/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit.ts +0 -195
- package/types/contracts/token/superfluid/ERC20Permit.sol/SelfApprove.ts +0 -115
- package/types/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.ts +0 -650
- package/types/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.ts +0 -3462
- package/types/contracts/token/superfluid/ISuperToken.ts +0 -2203
- package/types/contracts/token/superfluid/SuperGoodDollar.ts +0 -3866
- package/types/contracts/token/superfluid/SuperToken.ts +0 -2441
- package/types/contracts/token/superfluid/SuperfluidToken.ts +0 -996
- package/types/contracts/token/superfluid/UUPSProxiable.ts +0 -197
- package/types/contracts/token/superfluid/UUPSProxy.sol/Proxy.ts +0 -55
- package/types/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.ts +0 -104
- package/types/contracts/ubi/UBIScheme.ts +0 -1606
- package/types/contracts/utils/AdminWallet.ts +0 -1359
- package/types/contracts/utils/AdminWalletFuse.ts +0 -1507
- package/types/contracts/utils/BancorFormula.ts +0 -990
- package/types/contracts/utils/BulkWhitelist.ts +0 -153
- package/types/contracts/utils/BuyAndBridgeHelper.ts +0 -293
- package/types/contracts/utils/BuyGDClone.sol/BuyGDClone.ts +0 -430
- package/types/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory.ts +0 -716
- package/types/contracts/utils/BuyGDClone.sol/BuyGDCloneV2.ts +0 -464
- package/types/contracts/utils/BuyGDClone.sol/DonateGDClone.ts +0 -582
- package/types/contracts/utils/BuyGDClone.sol/IQuoterV2.ts +0 -184
- package/types/contracts/utils/BuyGDClone.sol/ISwapRouter.ts +0 -306
- package/types/contracts/utils/DAOContract.ts +0 -166
- package/types/contracts/utils/DAOUpgradeableContract.ts +0 -325
- package/types/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677.ts +0 -108
- package/types/contracts/utils/FuseOldBridgeKill.sol/FuseOldBridgeKill.ts +0 -108
- package/types/contracts/utils/FuseOldBridgeKill.sol/IUpgradeabilityOwnerStorage.ts +0 -89
- package/types/contracts/utils/FuseOldBridgeKill.sol/Initializable.ts +0 -87
- package/types/contracts/utils/FuseOldBridgeKill.sol/Ownable.ts +0 -148
- package/types/contracts/utils/GDFaucet.ts +0 -224
- package/types/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.ts +0 -1899
- package/types/contracts/utils/GoodDollarMintBurnWrapper.sol/IRouter.ts +0 -143
- package/types/contracts/utils/GoodDollarMintBurnWrapper.sol/PausableControl.ts +0 -135
- package/types/contracts/utils/IdentityFix.ts +0 -139
- package/types/contracts/utils/MultiCall.sol/Multicall.ts +0 -310
- package/types/contracts/utils/MultichainBridgeHelper.ts +0 -175
- package/types/contracts/utils/NameService.ts +0 -420
- package/types/contracts/utils/OneTimePayments.ts +0 -426
- package/types/contracts/utils/OneTimePaymentsV2.ts +0 -484
- package/types/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.ts +0 -114
- package/types/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.ts +0 -278
- package/types/contracts/utils/ProtocolUpgradeFuse.ts +0 -167
- package/types/contracts/utils/ProtocolUpgradeFuseRecover.ts +0 -167
- package/types/contracts/utils/ProtocolUpgradeRecover.ts +0 -270
- package/types/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.ts +0 -163
- package/types/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.ts +0 -313
- package/types/contracts/utils/ReputationTestHelper.ts +0 -177
- package/types/contracts/utils/ReserveRestore.sol/MentoExchange.ts +0 -81
- package/types/contracts/utils/ReserveRestore.sol/ReserveRestore.ts +0 -112
- package/types/contracts/utils/ReserveRestore.sol/index.ts +0 -5
- package/types/contracts/utils/UpdateReserveRatioAfterXDC.sol/MentoExchange.ts +0 -81
- package/types/contracts/utils/UpdateReserveRatioAfterXDC.sol/index.ts +0 -5
- package/types/contracts/utils/UpdateReserveSettingsForXdc.sol/MentoExchange.ts +0 -81
- package/types/contracts/utils/UpdateReserveSettingsForXdc.sol/UpdateReserveRatioAfterXDC.ts +0 -122
- package/types/contracts/utils/UpdateReserveSettingsForXdc.sol/index.ts +0 -5
- package/types/factories/@gooddollar/bridge-contracts/contracts/messagePassingBridge/IMessagePassingBridge.sol/ILayerZeroFeeEstimator__factory.ts +0 -79
- package/types/factories/@gooddollar/bridge-contracts/contracts/messagePassingBridge/IMessagePassingBridge.sol/IMessagePassingBridge__factory.ts +0 -446
- package/types/factories/@mean-finance/uniswap-v3-oracle/solidity/interfaces/IStaticOracle__factory.ts +0 -410
- package/types/factories/@openzeppelin/contracts/access/AccessControl__factory.ts +0 -230
- package/types/factories/@openzeppelin/contracts/access/IAccessControl__factory.ts +0 -198
- package/types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +0 -78
- package/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +0 -39
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +0 -146
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.ts +0 -71
- package/types/factories/@openzeppelin/contracts/proxy/Proxy__factory.ts +0 -31
- package/types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +0 -39
- package/types/factories/@openzeppelin/contracts/proxy/utils/Initializable__factory.ts +0 -39
- package/types/factories/@openzeppelin/contracts/security/Pausable__factory.ts +0 -65
- package/types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.ts +0 -349
- package/types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +0 -206
- package/types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +0 -248
- package/types/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.ts +0 -101
- package/types/factories/@openzeppelin/contracts/token/ERC721/IERC721__factory.ts +0 -311
- package/types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata__factory.ts +0 -356
- package/types/factories/@openzeppelin/contracts/token/ERC777/IERC777Recipient__factory.ts +0 -64
- package/types/factories/@openzeppelin/contracts/token/ERC777/IERC777Sender__factory.ts +0 -64
- package/types/factories/@openzeppelin/contracts/token/ERC777/IERC777__factory.ts +0 -417
- package/types/factories/@openzeppelin/contracts/utils/introspection/ERC165__factory.ts +0 -42
- package/types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.ts +0 -45
- package/types/factories/@openzeppelin/contracts/utils/introspection/IERC1820Registry__factory.ts +0 -239
- package/types/factories/@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable__factory.ts +0 -292
- package/types/factories/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable__factory.ts +0 -247
- package/types/factories/@openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable__factory.ts +0 -247
- package/types/factories/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable__factory.ts +0 -202
- package/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +0 -91
- package/types/factories/@openzeppelin/contracts-upgradeable/interfaces/IERC1271Upgradeable__factory.ts +0 -50
- package/types/factories/@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol/IERC1822ProxiableUpgradeable__factory.ts +0 -43
- package/types/factories/@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable__factory.ts +0 -88
- package/types/factories/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable__factory.ts +0 -39
- package/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts +0 -39
- package/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.ts +0 -128
- package/types/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.ts +0 -78
- package/types/factories/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable__factory.ts +0 -43
- package/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable__factory.ts +0 -345
- package/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable__factory.ts +0 -209
- package/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable__factory.ts +0 -344
- package/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20PausableUpgradeable__factory.ts +0 -352
- package/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable__factory.ts +0 -252
- package/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol/ERC20PermitUpgradeable__factory.ts +0 -388
- package/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable__factory.ts +0 -105
- package/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/presets/ERC20PresetMinterPauserUpgradeable__factory.ts +0 -748
- package/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts +0 -39
- package/types/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable__factory.ts +0 -39
- package/types/factories/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable__factory.ts +0 -58
- package/types/factories/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable__factory.ts +0 -45
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IConstantFlowAgreementV1__factory.ts +0 -1064
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IInstantDistributionAgreementV1__factory.ts +0 -1015
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantInflowNFT__factory.ts +0 -551
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantOutflowNFT__factory.ts +0 -614
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IFlowNFTBase__factory.ts +0 -515
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperAgreement__factory.ts +0 -78
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperApp__factory.ts +0 -275
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperTokenFactory__factory.ts +0 -276
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken__factory.ts +0 -1839
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidGovernance__factory.ts +0 -282
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidToken__factory.ts +0 -697
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluid__factory.ts +0 -1156
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/ERC20WithTokenInfo__factory.ts +0 -248
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/ISETH.sol/ISETHCustom__factory.ts +0 -59
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/ISETH.sol/ISETH__factory.ts +0 -1869
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/TokenInfo__factory.ts +0 -65
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/libs/EventsEmitter__factory.ts +0 -87
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/superfluid/ConstantInflowNFT__factory.ts +0 -758
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/superfluid/ConstantOutflowNFT__factory.ts +0 -817
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/superfluid/FlowNFTBase__factory.ts +0 -645
- package/types/factories/@superfluid-finance/ethereum-contracts/contracts/upgradability/UUPSProxiable__factory.ts +0 -104
- package/types/factories/@uniswap/v2-periphery/contracts/interfaces/IWETH__factory.ts +0 -67
- package/types/factories/@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory__factory.ts +0 -222
- package/types/factories/contracts/DAOStackInterfaces.sol/Avatar__factory.ts +0 -62
- package/types/factories/contracts/DAOStackInterfaces.sol/Controller__factory.ts +0 -362
- package/types/factories/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface__factory.ts +0 -72
- package/types/factories/contracts/DAOStackInterfaces.sol/IntVoteInterface__factory.ts +0 -349
- package/types/factories/contracts/DAOStackInterfaces.sol/ReputationInterface__factory.ts +0 -168
- package/types/factories/contracts/DAOStackInterfaces.sol/SchemeRegistrar__factory.ts +0 -114
- package/types/factories/contracts/IQuoter.sol/IQuoterV2__factory.ts +0 -226
- package/types/factories/contracts/IQuoter.sol/index.ts +0 -4
- package/types/factories/contracts/IUniswapV3.sol/INonfungiblePositionManager__factory.ts +0 -121
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Factory__factory.ts +0 -84
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Pool__factory.ts +0 -121
- package/types/factories/contracts/Interfaces.sol/AToken__factory.ts +0 -36
- package/types/factories/contracts/Interfaces.sol/AggregatorV3Interface__factory.ts +0 -121
- package/types/factories/contracts/Interfaces.sol/CERC20__factory.ts +0 -384
- package/types/factories/contracts/Interfaces.sol/ERC20__factory.ts +0 -288
- package/types/factories/contracts/Interfaces.sol/IAaveIncentivesControllerV3__factory.ts +0 -88
- package/types/factories/contracts/Interfaces.sol/IAaveIncentivesController__factory.ts +0 -83
- package/types/factories/contracts/Interfaces.sol/IAdminWallet__factory.ts +0 -78
- package/types/factories/contracts/Interfaces.sol/IDonationStaking__factory.ts +0 -33
- package/types/factories/contracts/Interfaces.sol/IERC2917__factory.ts +0 -496
- package/types/factories/contracts/Interfaces.sol/IFirstClaimPool__factory.ts +0 -65
- package/types/factories/contracts/Interfaces.sol/IGoodDollar__factory.ts +0 -598
- package/types/factories/contracts/Interfaces.sol/IGoodStaking__factory.ts +0 -178
- package/types/factories/contracts/Interfaces.sol/IHasRouter__factory.ts +0 -39
- package/types/factories/contracts/Interfaces.sol/IIdentityV2__factory.ts +0 -334
- package/types/factories/contracts/Interfaces.sol/IIdentity__factory.ts +0 -287
- package/types/factories/contracts/Interfaces.sol/ILendingPoolV3__factory.ts +0 -186
- package/types/factories/contracts/Interfaces.sol/ILendingPool__factory.ts +0 -171
- package/types/factories/contracts/Interfaces.sol/IMultichainRouter__factory.ts +0 -82
- package/types/factories/contracts/Interfaces.sol/INameService__factory.ts +0 -45
- package/types/factories/contracts/Interfaces.sol/IQuoterV2__factory.ts +0 -126
- package/types/factories/contracts/Interfaces.sol/ISwapRouter__factory.ts +0 -220
- package/types/factories/contracts/Interfaces.sol/IUBIScheme__factory.ts +0 -71
- package/types/factories/contracts/Interfaces.sol/ProxyAdmin__factory.ts +0 -131
- package/types/factories/contracts/Interfaces.sol/Reserve__factory.ts +0 -55
- package/types/factories/contracts/Interfaces.sol/Staking__factory.ts +0 -77
- package/types/factories/contracts/Interfaces.sol/UniswapFactory__factory.ts +0 -50
- package/types/factories/contracts/Interfaces.sol/UniswapPair__factory.ts +0 -120
- package/types/factories/contracts/Interfaces.sol/Uniswap__factory.ts +0 -275
- package/types/factories/contracts/fuseFaucet/Faucet copy.sol/DebugFaucet__factory.ts +0 -945
- package/types/factories/contracts/fuseFaucet/Faucet copy.sol/index.ts +0 -4
- package/types/factories/contracts/fuseFaucet/Faucet__factory.ts +0 -914
- package/types/factories/contracts/fuseFaucet/FuseFaucetV2__factory.ts +0 -627
- package/types/factories/contracts/fuseFaucet/FuseFaucet__factory.ts +0 -389
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable__factory.ts +0 -572
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor__factory.ts +0 -482
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +0 -4
- package/types/factories/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet__factory.ts +0 -663
- package/types/factories/contracts/governance/ClaimersDistribution__factory.ts +0 -430
- package/types/factories/contracts/governance/CompoundVotingMachine__factory.ts +0 -1226
- package/types/factories/contracts/governance/GReputation__factory.ts +0 -1493
- package/types/factories/contracts/governance/GovernanceStaking__factory.ts +0 -948
- package/types/factories/contracts/governance/MultiBaseGovernanceShareField__factory.ts +0 -240
- package/types/factories/contracts/governance/Reputation__factory.ts +0 -696
- package/types/factories/contracts/governance/StakersDistribution__factory.ts +0 -617
- package/types/factories/contracts/identity/IdentityV2__factory.ts +0 -1150
- package/types/factories/contracts/invite/InvitesFuseV2__factory.ts +0 -574
- package/types/factories/contracts/invite/InvitesV1__factory.ts +0 -556
- package/types/factories/contracts/invite/OneTimeReward__factory.ts +0 -361
- package/types/factories/contracts/mocks/AaveMock__factory.ts +0 -743
- package/types/factories/contracts/mocks/AaveUSDMockOracle__factory.ts +0 -75
- package/types/factories/contracts/mocks/BatUSDMockOracle__factory.ts +0 -75
- package/types/factories/contracts/mocks/CBATMock__factory.ts +0 -847
- package/types/factories/contracts/mocks/CDAILowWorthMock__factory.ts +0 -834
- package/types/factories/contracts/mocks/CDAIMock__factory.ts +0 -860
- package/types/factories/contracts/mocks/CDAINonMintableMock__factory.ts +0 -834
- package/types/factories/contracts/mocks/CDecimalsMock__factory.ts +0 -847
- package/types/factories/contracts/mocks/CSDTMock__factory.ts +0 -847
- package/types/factories/contracts/mocks/CUSDCMock__factory.ts +0 -847
- package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper__factory.ts +0 -949
- package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest__factory.ts +0 -919
- package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper__factory.ts +0 -929
- package/types/factories/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle__factory.ts +0 -75
- package/types/factories/contracts/mocks/DAIMock__factory.ts +0 -784
- package/types/factories/contracts/mocks/DaiEthPriceMockOracle__factory.ts +0 -79
- package/types/factories/contracts/mocks/DecimalsMock__factory.ts +0 -758
- package/types/factories/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper__factory.ts +0 -1040
- package/types/factories/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest__factory.ts +0 -1007
- package/types/factories/contracts/mocks/EthUSDMockOracle__factory.ts +0 -108
- package/types/factories/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock__factory.ts +0 -132
- package/types/factories/contracts/mocks/GasPriceMockOracle__factory.ts +0 -88
- package/types/factories/contracts/mocks/GenericDistributionHelperTest.sol/CeloDistributionHelperTestHelper__factory.ts +0 -1017
- package/types/factories/contracts/mocks/GoodCompoundStakingTest__factory.ts +0 -1470
- package/types/factories/contracts/mocks/GoodFundManagerTest__factory.ts +0 -820
- package/types/factories/contracts/mocks/IdentityMock__factory.ts +0 -349
- package/types/factories/contracts/mocks/IncentiveControllerMock__factory.ts +0 -166
- package/types/factories/contracts/mocks/LendingPoolMock__factory.ts +0 -927
- package/types/factories/contracts/mocks/OverMintTester.sol/IGoodDollarStakingTest__factory.ts +0 -68
- package/types/factories/contracts/mocks/OverMintTester.sol/OverMintTester__factory.ts +0 -152
- package/types/factories/contracts/mocks/OverMintTesterRegularStake__factory.ts +0 -156
- package/types/factories/contracts/mocks/PayableMock__factory.ts +0 -69
- package/types/factories/contracts/mocks/SixteenDecimalsTokenMock__factory.ts +0 -747
- package/types/factories/contracts/mocks/SwapHelperTest__factory.ts +0 -96
- package/types/factories/contracts/mocks/TwentyDecimalsTokenMock__factory.ts +0 -747
- package/types/factories/contracts/mocks/UpgradableMocks.sol/UpgradableMock2__factory.ts +0 -236
- package/types/factories/contracts/mocks/UpgradableMocks.sol/UpgradableMock3__factory.ts +0 -249
- package/types/factories/contracts/mocks/UpgradableMocks.sol/UpgradableMock4__factory.ts +0 -249
- package/types/factories/contracts/mocks/UpgradableMocks.sol/UpgradableMock__factory.ts +0 -262
- package/types/factories/contracts/mocks/UsdcMock.sol/USDCMock__factory.ts +0 -743
- package/types/factories/contracts/reserve/CeloDistributionHelper__factory.ts +0 -919
- package/types/factories/contracts/reserve/DistributionHelper__factory.ts +0 -1003
- package/types/factories/contracts/reserve/ExchangeHelper__factory.ts +0 -427
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper__factory.ts +0 -935
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +0 -4
- package/types/factories/contracts/reserve/GoodMarketMaker__factory.ts +0 -687
- package/types/factories/contracts/reserve/GoodReserveADai__factory.ts +0 -1502
- package/types/factories/contracts/reserve/GoodReserveCDai.sol/ContributionCalc__factory.ts +0 -83
- package/types/factories/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai__factory.ts +0 -1489
- package/types/factories/contracts/staking/BaseShareFieldV2__factory.ts +0 -251
- package/types/factories/contracts/staking/BaseShareField__factory.ts +0 -307
- package/types/factories/contracts/staking/DonationsStaking__factory.ts +0 -580
- package/types/factories/contracts/staking/FuseStakingV3.sol/FuseStakingV3__factory.ts +0 -814
- package/types/factories/contracts/staking/FuseStakingV3.sol/IConsensus__factory.ts +0 -119
- package/types/factories/contracts/staking/FuseStakingV3.sol/PegSwap__factory.ts +0 -49
- package/types/factories/contracts/staking/GoodFundManager__factory.ts +0 -778
- package/types/factories/contracts/staking/SimpleStakingV2__factory.ts +0 -999
- package/types/factories/contracts/staking/SimpleStaking__factory.ts +0 -1061
- package/types/factories/contracts/staking/UniswapV2SwapHelper__factory.ts +0 -101
- package/types/factories/contracts/staking/aave/AaveStakingFactory__factory.ts +0 -262
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2__factory.ts +0 -1240
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +0 -4
- package/types/factories/contracts/staking/aave/GoodAaveStakingV2__factory.ts +0 -1240
- package/types/factories/contracts/staking/aave/GoodAaveStaking__factory.ts +0 -1276
- package/types/factories/contracts/staking/compound/CompoundStakingFactory__factory.ts +0 -249
- package/types/factories/contracts/staking/compound/GoodCompoundStakingV2__factory.ts +0 -1182
- package/types/factories/contracts/staking/compound/GoodCompoundStaking__factory.ts +0 -1316
- package/types/factories/contracts/token/ERC20PresetMinterPauserUpgradeable__factory.ts +0 -829
- package/types/factories/contracts/token/ERC677.sol/ERC677Receiver__factory.ts +0 -55
- package/types/factories/contracts/token/ERC677.sol/ERC677__factory.ts +0 -78
- package/types/factories/contracts/token/GoodDollar18__factory.ts +0 -1257
- package/types/factories/contracts/token/GoodDollar2__factory.ts +0 -1257
- package/types/factories/contracts/token/GoodDollar__factory.ts +0 -1257
- package/types/factories/contracts/token/IFeesFormula__factory.ts +0 -60
- package/types/factories/contracts/token/MultichainFeeFormula__factory.ts +0 -113
- package/types/factories/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit__factory.ts +0 -114
- package/types/factories/contracts/token/superfluid/ERC20Permit.sol/SelfApprove__factory.ts +0 -49
- package/types/factories/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom__factory.ts +0 -370
- package/types/factories/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar__factory.ts +0 -2301
- package/types/factories/contracts/token/superfluid/ISuperToken__factory.ts +0 -1577
- package/types/factories/contracts/token/superfluid/SuperGoodDollar__factory.ts +0 -2687
- package/types/factories/contracts/token/superfluid/SuperToken__factory.ts +0 -1770
- package/types/factories/contracts/token/superfluid/SuperfluidToken__factory.ts +0 -697
- package/types/factories/contracts/token/superfluid/UUPSProxiable__factory.ts +0 -104
- package/types/factories/contracts/token/superfluid/UUPSProxy.sol/Proxy__factory.ts +0 -31
- package/types/factories/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy__factory.ts +0 -83
- package/types/factories/contracts/ubi/UBIScheme__factory.ts +0 -1055
- package/types/factories/contracts/utils/AdminWalletFuse__factory.ts +0 -967
- package/types/factories/contracts/utils/AdminWallet__factory.ts +0 -882
- package/types/factories/contracts/utils/BancorFormula__factory.ts +0 -677
- package/types/factories/contracts/utils/BulkWhitelist__factory.ts +0 -123
- package/types/factories/contracts/utils/BuyAndBridgeHelper__factory.ts +0 -237
- package/types/factories/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory__factory.ts +0 -602
- package/types/factories/contracts/utils/BuyGDClone.sol/BuyGDCloneV2__factory.ts +0 -415
- package/types/factories/contracts/utils/BuyGDClone.sol/BuyGDClone__factory.ts +0 -389
- package/types/factories/contracts/utils/BuyGDClone.sol/DonateGDClone__factory.ts +0 -503
- package/types/factories/contracts/utils/BuyGDClone.sol/IQuoterV2__factory.ts +0 -126
- package/types/factories/contracts/utils/BuyGDClone.sol/ISwapRouter__factory.ts +0 -220
- package/types/factories/contracts/utils/DAOContract__factory.ts +0 -121
- package/types/factories/contracts/utils/DAOUpgradeableContract__factory.ts +0 -227
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677__factory.ts +0 -86
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/FuseOldBridgeKill__factory.ts +0 -82
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/IUpgradeabilityOwnerStorage__factory.ts +0 -43
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/Initializable__factory.ts +0 -75
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/Ownable__factory.ts +0 -105
- package/types/factories/contracts/utils/GDFaucet__factory.ts +0 -191
- package/types/factories/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper__factory.ts +0 -1330
- package/types/factories/contracts/utils/GoodDollarMintBurnWrapper.sol/IRouter__factory.ts +0 -74
- package/types/factories/contracts/utils/GoodDollarMintBurnWrapper.sol/PausableControl__factory.ts +0 -84
- package/types/factories/contracts/utils/IdentityFix__factory.ts +0 -113
- package/types/factories/contracts/utils/MultiCall.sol/Multicall__factory.ts +0 -218
- package/types/factories/contracts/utils/MultichainBridgeHelper__factory.ts +0 -134
- package/types/factories/contracts/utils/NameService__factory.ts +0 -293
- package/types/factories/contracts/utils/OneTimePaymentsV2__factory.ts +0 -369
- package/types/factories/contracts/utils/OneTimePayments__factory.ts +0 -323
- package/types/factories/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker__factory.ts +0 -62
- package/types/factories/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade__factory.ts +0 -207
- package/types/factories/contracts/utils/ProtocolUpgradeFuseRecover__factory.ts +0 -146
- package/types/factories/contracts/utils/ProtocolUpgradeFuse__factory.ts +0 -142
- package/types/factories/contracts/utils/ProtocolUpgradeRecover__factory.ts +0 -184
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange__factory.ts +0 -39
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +0 -152
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +0 -5
- package/types/factories/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy__factory.ts +0 -133
- package/types/factories/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967__factory.ts +0 -223
- package/types/factories/contracts/utils/ReputationTestHelper__factory.ts +0 -141
- package/types/factories/contracts/utils/ReserveRestore.sol/ReserveRestore__factory.ts +0 -95
- package/types/factories/contracts/utils/ReserveRestore.sol/index.ts +0 -5
- package/types/factories/contracts/utils/UpdateReserveRatioAfterXDC.sol/MentoExchange__factory.ts +0 -39
- package/types/factories/contracts/utils/UpdateReserveRatioAfterXDC.sol/UpdateReserveRatioAfterXDC__factory.ts +0 -110
- package/types/factories/contracts/utils/UpdateReserveRatioAfterXDC.sol/index.ts +0 -5
- package/types/factories/contracts/utils/UpdateReserveSettingsForXdc.sol/MentoExchange__factory.ts +0 -39
- package/types/factories/contracts/utils/UpdateReserveSettingsForXdc.sol/UpdateReserveRatioAfterXDC__factory.ts +0 -115
- package/types/factories/contracts/utils/UpdateReserveSettingsForXdc.sol/index.ts +0 -5
- /package/types/contracts/utils/{ProtocolUpgradeV4Mento.sol → UpdateReserveRatio.sol}/MentoExchange.ts +0 -0
|
@@ -1,1770 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type {
|
|
7
|
-
SuperToken,
|
|
8
|
-
SuperTokenInterface,
|
|
9
|
-
} from "../../../../contracts/token/superfluid/SuperToken";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "contract ISuperfluid",
|
|
16
|
-
name: "host",
|
|
17
|
-
type: "address",
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
stateMutability: "nonpayable",
|
|
21
|
-
type: "constructor",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
inputs: [],
|
|
25
|
-
name: "SF_TOKEN_AGREEMENT_ALREADY_EXISTS",
|
|
26
|
-
type: "error",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
inputs: [],
|
|
30
|
-
name: "SF_TOKEN_AGREEMENT_DOES_NOT_EXIST",
|
|
31
|
-
type: "error",
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
inputs: [],
|
|
35
|
-
name: "SF_TOKEN_BURN_INSUFFICIENT_BALANCE",
|
|
36
|
-
type: "error",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
inputs: [],
|
|
40
|
-
name: "SF_TOKEN_MOVE_INSUFFICIENT_BALANCE",
|
|
41
|
-
type: "error",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
inputs: [],
|
|
45
|
-
name: "SF_TOKEN_ONLY_HOST",
|
|
46
|
-
type: "error",
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
inputs: [],
|
|
50
|
-
name: "SF_TOKEN_ONLY_LISTED_AGREEMENT",
|
|
51
|
-
type: "error",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
inputs: [],
|
|
55
|
-
name: "SUPER_TOKEN_APPROVE_FROM_ZERO_ADDRESS",
|
|
56
|
-
type: "error",
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
inputs: [],
|
|
60
|
-
name: "SUPER_TOKEN_APPROVE_TO_ZERO_ADDRESS",
|
|
61
|
-
type: "error",
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
inputs: [],
|
|
65
|
-
name: "SUPER_TOKEN_BURN_FROM_ZERO_ADDRESS",
|
|
66
|
-
type: "error",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
inputs: [],
|
|
70
|
-
name: "SUPER_TOKEN_CALLER_IS_NOT_OPERATOR_FOR_HOLDER",
|
|
71
|
-
type: "error",
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
inputs: [],
|
|
75
|
-
name: "SUPER_TOKEN_INFLATIONARY_DEFLATIONARY_NOT_SUPPORTED",
|
|
76
|
-
type: "error",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
inputs: [],
|
|
80
|
-
name: "SUPER_TOKEN_MINT_TO_ZERO_ADDRESS",
|
|
81
|
-
type: "error",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
inputs: [],
|
|
85
|
-
name: "SUPER_TOKEN_NFT_PROXY_ALREADY_SET",
|
|
86
|
-
type: "error",
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
inputs: [],
|
|
90
|
-
name: "SUPER_TOKEN_NOT_ERC777_TOKENS_RECIPIENT",
|
|
91
|
-
type: "error",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
inputs: [],
|
|
95
|
-
name: "SUPER_TOKEN_NO_UNDERLYING_TOKEN",
|
|
96
|
-
type: "error",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
inputs: [],
|
|
100
|
-
name: "SUPER_TOKEN_ONLY_GOV_OWNER",
|
|
101
|
-
type: "error",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
inputs: [],
|
|
105
|
-
name: "SUPER_TOKEN_ONLY_HOST",
|
|
106
|
-
type: "error",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
inputs: [],
|
|
110
|
-
name: "SUPER_TOKEN_ONLY_SELF",
|
|
111
|
-
type: "error",
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
inputs: [],
|
|
115
|
-
name: "SUPER_TOKEN_TRANSFER_FROM_ZERO_ADDRESS",
|
|
116
|
-
type: "error",
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
inputs: [],
|
|
120
|
-
name: "SUPER_TOKEN_TRANSFER_TO_TOKEN_ADDRESS",
|
|
121
|
-
type: "error",
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
inputs: [],
|
|
125
|
-
name: "SUPER_TOKEN_TRANSFER_TO_ZERO_ADDRESS",
|
|
126
|
-
type: "error",
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
anonymous: false,
|
|
130
|
-
inputs: [
|
|
131
|
-
{
|
|
132
|
-
indexed: true,
|
|
133
|
-
internalType: "address",
|
|
134
|
-
name: "agreementClass",
|
|
135
|
-
type: "address",
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
indexed: false,
|
|
139
|
-
internalType: "bytes32",
|
|
140
|
-
name: "id",
|
|
141
|
-
type: "bytes32",
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
indexed: false,
|
|
145
|
-
internalType: "bytes32[]",
|
|
146
|
-
name: "data",
|
|
147
|
-
type: "bytes32[]",
|
|
148
|
-
},
|
|
149
|
-
],
|
|
150
|
-
name: "AgreementCreated",
|
|
151
|
-
type: "event",
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
anonymous: false,
|
|
155
|
-
inputs: [
|
|
156
|
-
{
|
|
157
|
-
indexed: true,
|
|
158
|
-
internalType: "address",
|
|
159
|
-
name: "agreementClass",
|
|
160
|
-
type: "address",
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
indexed: false,
|
|
164
|
-
internalType: "bytes32",
|
|
165
|
-
name: "id",
|
|
166
|
-
type: "bytes32",
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
indexed: true,
|
|
170
|
-
internalType: "address",
|
|
171
|
-
name: "penaltyAccount",
|
|
172
|
-
type: "address",
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
indexed: true,
|
|
176
|
-
internalType: "address",
|
|
177
|
-
name: "rewardAccount",
|
|
178
|
-
type: "address",
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
indexed: false,
|
|
182
|
-
internalType: "uint256",
|
|
183
|
-
name: "rewardAmount",
|
|
184
|
-
type: "uint256",
|
|
185
|
-
},
|
|
186
|
-
],
|
|
187
|
-
name: "AgreementLiquidated",
|
|
188
|
-
type: "event",
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
anonymous: false,
|
|
192
|
-
inputs: [
|
|
193
|
-
{
|
|
194
|
-
indexed: false,
|
|
195
|
-
internalType: "address",
|
|
196
|
-
name: "liquidatorAccount",
|
|
197
|
-
type: "address",
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
indexed: true,
|
|
201
|
-
internalType: "address",
|
|
202
|
-
name: "agreementClass",
|
|
203
|
-
type: "address",
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
indexed: false,
|
|
207
|
-
internalType: "bytes32",
|
|
208
|
-
name: "id",
|
|
209
|
-
type: "bytes32",
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
indexed: true,
|
|
213
|
-
internalType: "address",
|
|
214
|
-
name: "penaltyAccount",
|
|
215
|
-
type: "address",
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
indexed: true,
|
|
219
|
-
internalType: "address",
|
|
220
|
-
name: "bondAccount",
|
|
221
|
-
type: "address",
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
indexed: false,
|
|
225
|
-
internalType: "uint256",
|
|
226
|
-
name: "rewardAmount",
|
|
227
|
-
type: "uint256",
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
indexed: false,
|
|
231
|
-
internalType: "uint256",
|
|
232
|
-
name: "bailoutAmount",
|
|
233
|
-
type: "uint256",
|
|
234
|
-
},
|
|
235
|
-
],
|
|
236
|
-
name: "AgreementLiquidatedBy",
|
|
237
|
-
type: "event",
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
anonymous: false,
|
|
241
|
-
inputs: [
|
|
242
|
-
{
|
|
243
|
-
indexed: true,
|
|
244
|
-
internalType: "address",
|
|
245
|
-
name: "agreementClass",
|
|
246
|
-
type: "address",
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
indexed: false,
|
|
250
|
-
internalType: "bytes32",
|
|
251
|
-
name: "id",
|
|
252
|
-
type: "bytes32",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
indexed: true,
|
|
256
|
-
internalType: "address",
|
|
257
|
-
name: "liquidatorAccount",
|
|
258
|
-
type: "address",
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
indexed: true,
|
|
262
|
-
internalType: "address",
|
|
263
|
-
name: "targetAccount",
|
|
264
|
-
type: "address",
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
indexed: false,
|
|
268
|
-
internalType: "address",
|
|
269
|
-
name: "rewardAmountReceiver",
|
|
270
|
-
type: "address",
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
indexed: false,
|
|
274
|
-
internalType: "uint256",
|
|
275
|
-
name: "rewardAmount",
|
|
276
|
-
type: "uint256",
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
indexed: false,
|
|
280
|
-
internalType: "int256",
|
|
281
|
-
name: "targetAccountBalanceDelta",
|
|
282
|
-
type: "int256",
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
indexed: false,
|
|
286
|
-
internalType: "bytes",
|
|
287
|
-
name: "liquidationTypeData",
|
|
288
|
-
type: "bytes",
|
|
289
|
-
},
|
|
290
|
-
],
|
|
291
|
-
name: "AgreementLiquidatedV2",
|
|
292
|
-
type: "event",
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
anonymous: false,
|
|
296
|
-
inputs: [
|
|
297
|
-
{
|
|
298
|
-
indexed: true,
|
|
299
|
-
internalType: "address",
|
|
300
|
-
name: "agreementClass",
|
|
301
|
-
type: "address",
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
indexed: true,
|
|
305
|
-
internalType: "address",
|
|
306
|
-
name: "account",
|
|
307
|
-
type: "address",
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
indexed: false,
|
|
311
|
-
internalType: "uint256",
|
|
312
|
-
name: "slotId",
|
|
313
|
-
type: "uint256",
|
|
314
|
-
},
|
|
315
|
-
],
|
|
316
|
-
name: "AgreementStateUpdated",
|
|
317
|
-
type: "event",
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
anonymous: false,
|
|
321
|
-
inputs: [
|
|
322
|
-
{
|
|
323
|
-
indexed: true,
|
|
324
|
-
internalType: "address",
|
|
325
|
-
name: "agreementClass",
|
|
326
|
-
type: "address",
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
indexed: false,
|
|
330
|
-
internalType: "bytes32",
|
|
331
|
-
name: "id",
|
|
332
|
-
type: "bytes32",
|
|
333
|
-
},
|
|
334
|
-
],
|
|
335
|
-
name: "AgreementTerminated",
|
|
336
|
-
type: "event",
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
anonymous: false,
|
|
340
|
-
inputs: [
|
|
341
|
-
{
|
|
342
|
-
indexed: true,
|
|
343
|
-
internalType: "address",
|
|
344
|
-
name: "agreementClass",
|
|
345
|
-
type: "address",
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
indexed: false,
|
|
349
|
-
internalType: "bytes32",
|
|
350
|
-
name: "id",
|
|
351
|
-
type: "bytes32",
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
indexed: false,
|
|
355
|
-
internalType: "bytes32[]",
|
|
356
|
-
name: "data",
|
|
357
|
-
type: "bytes32[]",
|
|
358
|
-
},
|
|
359
|
-
],
|
|
360
|
-
name: "AgreementUpdated",
|
|
361
|
-
type: "event",
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
anonymous: false,
|
|
365
|
-
inputs: [
|
|
366
|
-
{
|
|
367
|
-
indexed: true,
|
|
368
|
-
internalType: "address",
|
|
369
|
-
name: "owner",
|
|
370
|
-
type: "address",
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
indexed: true,
|
|
374
|
-
internalType: "address",
|
|
375
|
-
name: "spender",
|
|
376
|
-
type: "address",
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
indexed: false,
|
|
380
|
-
internalType: "uint256",
|
|
381
|
-
name: "value",
|
|
382
|
-
type: "uint256",
|
|
383
|
-
},
|
|
384
|
-
],
|
|
385
|
-
name: "Approval",
|
|
386
|
-
type: "event",
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
anonymous: false,
|
|
390
|
-
inputs: [
|
|
391
|
-
{
|
|
392
|
-
indexed: true,
|
|
393
|
-
internalType: "address",
|
|
394
|
-
name: "operator",
|
|
395
|
-
type: "address",
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
indexed: true,
|
|
399
|
-
internalType: "address",
|
|
400
|
-
name: "tokenHolder",
|
|
401
|
-
type: "address",
|
|
402
|
-
},
|
|
403
|
-
],
|
|
404
|
-
name: "AuthorizedOperator",
|
|
405
|
-
type: "event",
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
anonymous: false,
|
|
409
|
-
inputs: [
|
|
410
|
-
{
|
|
411
|
-
indexed: true,
|
|
412
|
-
internalType: "address",
|
|
413
|
-
name: "bailoutAccount",
|
|
414
|
-
type: "address",
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
indexed: false,
|
|
418
|
-
internalType: "uint256",
|
|
419
|
-
name: "bailoutAmount",
|
|
420
|
-
type: "uint256",
|
|
421
|
-
},
|
|
422
|
-
],
|
|
423
|
-
name: "Bailout",
|
|
424
|
-
type: "event",
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
anonymous: false,
|
|
428
|
-
inputs: [
|
|
429
|
-
{
|
|
430
|
-
indexed: true,
|
|
431
|
-
internalType: "address",
|
|
432
|
-
name: "operator",
|
|
433
|
-
type: "address",
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
indexed: true,
|
|
437
|
-
internalType: "address",
|
|
438
|
-
name: "from",
|
|
439
|
-
type: "address",
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
indexed: false,
|
|
443
|
-
internalType: "uint256",
|
|
444
|
-
name: "amount",
|
|
445
|
-
type: "uint256",
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
indexed: false,
|
|
449
|
-
internalType: "bytes",
|
|
450
|
-
name: "data",
|
|
451
|
-
type: "bytes",
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
indexed: false,
|
|
455
|
-
internalType: "bytes",
|
|
456
|
-
name: "operatorData",
|
|
457
|
-
type: "bytes",
|
|
458
|
-
},
|
|
459
|
-
],
|
|
460
|
-
name: "Burned",
|
|
461
|
-
type: "event",
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
anonymous: false,
|
|
465
|
-
inputs: [
|
|
466
|
-
{
|
|
467
|
-
indexed: false,
|
|
468
|
-
internalType: "bytes32",
|
|
469
|
-
name: "uuid",
|
|
470
|
-
type: "bytes32",
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
indexed: false,
|
|
474
|
-
internalType: "address",
|
|
475
|
-
name: "codeAddress",
|
|
476
|
-
type: "address",
|
|
477
|
-
},
|
|
478
|
-
],
|
|
479
|
-
name: "CodeUpdated",
|
|
480
|
-
type: "event",
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
anonymous: false,
|
|
484
|
-
inputs: [
|
|
485
|
-
{
|
|
486
|
-
indexed: false,
|
|
487
|
-
internalType: "uint8",
|
|
488
|
-
name: "version",
|
|
489
|
-
type: "uint8",
|
|
490
|
-
},
|
|
491
|
-
],
|
|
492
|
-
name: "Initialized",
|
|
493
|
-
type: "event",
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
anonymous: false,
|
|
497
|
-
inputs: [
|
|
498
|
-
{
|
|
499
|
-
indexed: true,
|
|
500
|
-
internalType: "address",
|
|
501
|
-
name: "operator",
|
|
502
|
-
type: "address",
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
indexed: true,
|
|
506
|
-
internalType: "address",
|
|
507
|
-
name: "to",
|
|
508
|
-
type: "address",
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
indexed: false,
|
|
512
|
-
internalType: "uint256",
|
|
513
|
-
name: "amount",
|
|
514
|
-
type: "uint256",
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
indexed: false,
|
|
518
|
-
internalType: "bytes",
|
|
519
|
-
name: "data",
|
|
520
|
-
type: "bytes",
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
indexed: false,
|
|
524
|
-
internalType: "bytes",
|
|
525
|
-
name: "operatorData",
|
|
526
|
-
type: "bytes",
|
|
527
|
-
},
|
|
528
|
-
],
|
|
529
|
-
name: "Minted",
|
|
530
|
-
type: "event",
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
anonymous: false,
|
|
534
|
-
inputs: [
|
|
535
|
-
{
|
|
536
|
-
indexed: true,
|
|
537
|
-
internalType: "address",
|
|
538
|
-
name: "operator",
|
|
539
|
-
type: "address",
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
indexed: true,
|
|
543
|
-
internalType: "address",
|
|
544
|
-
name: "tokenHolder",
|
|
545
|
-
type: "address",
|
|
546
|
-
},
|
|
547
|
-
],
|
|
548
|
-
name: "RevokedOperator",
|
|
549
|
-
type: "event",
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
anonymous: false,
|
|
553
|
-
inputs: [
|
|
554
|
-
{
|
|
555
|
-
indexed: true,
|
|
556
|
-
internalType: "address",
|
|
557
|
-
name: "operator",
|
|
558
|
-
type: "address",
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
indexed: true,
|
|
562
|
-
internalType: "address",
|
|
563
|
-
name: "from",
|
|
564
|
-
type: "address",
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
indexed: true,
|
|
568
|
-
internalType: "address",
|
|
569
|
-
name: "to",
|
|
570
|
-
type: "address",
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
indexed: false,
|
|
574
|
-
internalType: "uint256",
|
|
575
|
-
name: "amount",
|
|
576
|
-
type: "uint256",
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
indexed: false,
|
|
580
|
-
internalType: "bytes",
|
|
581
|
-
name: "data",
|
|
582
|
-
type: "bytes",
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
indexed: false,
|
|
586
|
-
internalType: "bytes",
|
|
587
|
-
name: "operatorData",
|
|
588
|
-
type: "bytes",
|
|
589
|
-
},
|
|
590
|
-
],
|
|
591
|
-
name: "Sent",
|
|
592
|
-
type: "event",
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
anonymous: false,
|
|
596
|
-
inputs: [
|
|
597
|
-
{
|
|
598
|
-
indexed: true,
|
|
599
|
-
internalType: "address",
|
|
600
|
-
name: "from",
|
|
601
|
-
type: "address",
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
indexed: true,
|
|
605
|
-
internalType: "address",
|
|
606
|
-
name: "to",
|
|
607
|
-
type: "address",
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
indexed: false,
|
|
611
|
-
internalType: "uint256",
|
|
612
|
-
name: "value",
|
|
613
|
-
type: "uint256",
|
|
614
|
-
},
|
|
615
|
-
],
|
|
616
|
-
name: "Transfer",
|
|
617
|
-
type: "event",
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
inputs: [
|
|
621
|
-
{
|
|
622
|
-
internalType: "address",
|
|
623
|
-
name: "account",
|
|
624
|
-
type: "address",
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
internalType: "address",
|
|
628
|
-
name: "spender",
|
|
629
|
-
type: "address",
|
|
630
|
-
},
|
|
631
|
-
],
|
|
632
|
-
name: "allowance",
|
|
633
|
-
outputs: [
|
|
634
|
-
{
|
|
635
|
-
internalType: "uint256",
|
|
636
|
-
name: "",
|
|
637
|
-
type: "uint256",
|
|
638
|
-
},
|
|
639
|
-
],
|
|
640
|
-
stateMutability: "view",
|
|
641
|
-
type: "function",
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
inputs: [
|
|
645
|
-
{
|
|
646
|
-
internalType: "address",
|
|
647
|
-
name: "spender",
|
|
648
|
-
type: "address",
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
internalType: "uint256",
|
|
652
|
-
name: "amount",
|
|
653
|
-
type: "uint256",
|
|
654
|
-
},
|
|
655
|
-
],
|
|
656
|
-
name: "approve",
|
|
657
|
-
outputs: [
|
|
658
|
-
{
|
|
659
|
-
internalType: "bool",
|
|
660
|
-
name: "",
|
|
661
|
-
type: "bool",
|
|
662
|
-
},
|
|
663
|
-
],
|
|
664
|
-
stateMutability: "nonpayable",
|
|
665
|
-
type: "function",
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
inputs: [
|
|
669
|
-
{
|
|
670
|
-
internalType: "address",
|
|
671
|
-
name: "operator",
|
|
672
|
-
type: "address",
|
|
673
|
-
},
|
|
674
|
-
],
|
|
675
|
-
name: "authorizeOperator",
|
|
676
|
-
outputs: [],
|
|
677
|
-
stateMutability: "nonpayable",
|
|
678
|
-
type: "function",
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
inputs: [
|
|
682
|
-
{
|
|
683
|
-
internalType: "address",
|
|
684
|
-
name: "account",
|
|
685
|
-
type: "address",
|
|
686
|
-
},
|
|
687
|
-
],
|
|
688
|
-
name: "balanceOf",
|
|
689
|
-
outputs: [
|
|
690
|
-
{
|
|
691
|
-
internalType: "uint256",
|
|
692
|
-
name: "balance",
|
|
693
|
-
type: "uint256",
|
|
694
|
-
},
|
|
695
|
-
],
|
|
696
|
-
stateMutability: "view",
|
|
697
|
-
type: "function",
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
inputs: [
|
|
701
|
-
{
|
|
702
|
-
internalType: "uint256",
|
|
703
|
-
name: "amount",
|
|
704
|
-
type: "uint256",
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
internalType: "bytes",
|
|
708
|
-
name: "data",
|
|
709
|
-
type: "bytes",
|
|
710
|
-
},
|
|
711
|
-
],
|
|
712
|
-
name: "burn",
|
|
713
|
-
outputs: [],
|
|
714
|
-
stateMutability: "nonpayable",
|
|
715
|
-
type: "function",
|
|
716
|
-
},
|
|
717
|
-
{
|
|
718
|
-
inputs: [],
|
|
719
|
-
name: "castrate",
|
|
720
|
-
outputs: [],
|
|
721
|
-
stateMutability: "nonpayable",
|
|
722
|
-
type: "function",
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
inputs: [
|
|
726
|
-
{
|
|
727
|
-
internalType: "bytes32",
|
|
728
|
-
name: "id",
|
|
729
|
-
type: "bytes32",
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
internalType: "bytes32[]",
|
|
733
|
-
name: "data",
|
|
734
|
-
type: "bytes32[]",
|
|
735
|
-
},
|
|
736
|
-
],
|
|
737
|
-
name: "createAgreement",
|
|
738
|
-
outputs: [],
|
|
739
|
-
stateMutability: "nonpayable",
|
|
740
|
-
type: "function",
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
inputs: [
|
|
744
|
-
{
|
|
745
|
-
internalType: "address",
|
|
746
|
-
name: "from",
|
|
747
|
-
type: "address",
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
internalType: "address",
|
|
751
|
-
name: "feeRecipient",
|
|
752
|
-
type: "address",
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
internalType: "address",
|
|
756
|
-
name: "gatewayFeeRecipient",
|
|
757
|
-
type: "address",
|
|
758
|
-
},
|
|
759
|
-
{
|
|
760
|
-
internalType: "address",
|
|
761
|
-
name: "baseFeeRecipient",
|
|
762
|
-
type: "address",
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
internalType: "uint256",
|
|
766
|
-
name: "refund",
|
|
767
|
-
type: "uint256",
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
internalType: "uint256",
|
|
771
|
-
name: "tipTxFee",
|
|
772
|
-
type: "uint256",
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
internalType: "uint256",
|
|
776
|
-
name: "gatewayFee",
|
|
777
|
-
type: "uint256",
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
internalType: "uint256",
|
|
781
|
-
name: "baseTxFee",
|
|
782
|
-
type: "uint256",
|
|
783
|
-
},
|
|
784
|
-
],
|
|
785
|
-
name: "creditGasFees",
|
|
786
|
-
outputs: [],
|
|
787
|
-
stateMutability: "nonpayable",
|
|
788
|
-
type: "function",
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
inputs: [
|
|
792
|
-
{
|
|
793
|
-
internalType: "address",
|
|
794
|
-
name: "from",
|
|
795
|
-
type: "address",
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
internalType: "uint256",
|
|
799
|
-
name: "value",
|
|
800
|
-
type: "uint256",
|
|
801
|
-
},
|
|
802
|
-
],
|
|
803
|
-
name: "debitGasFees",
|
|
804
|
-
outputs: [],
|
|
805
|
-
stateMutability: "nonpayable",
|
|
806
|
-
type: "function",
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
inputs: [],
|
|
810
|
-
name: "decimals",
|
|
811
|
-
outputs: [
|
|
812
|
-
{
|
|
813
|
-
internalType: "uint8",
|
|
814
|
-
name: "",
|
|
815
|
-
type: "uint8",
|
|
816
|
-
},
|
|
817
|
-
],
|
|
818
|
-
stateMutability: "pure",
|
|
819
|
-
type: "function",
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
inputs: [
|
|
823
|
-
{
|
|
824
|
-
internalType: "address",
|
|
825
|
-
name: "spender",
|
|
826
|
-
type: "address",
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
internalType: "uint256",
|
|
830
|
-
name: "subtractedValue",
|
|
831
|
-
type: "uint256",
|
|
832
|
-
},
|
|
833
|
-
],
|
|
834
|
-
name: "decreaseAllowance",
|
|
835
|
-
outputs: [
|
|
836
|
-
{
|
|
837
|
-
internalType: "bool",
|
|
838
|
-
name: "",
|
|
839
|
-
type: "bool",
|
|
840
|
-
},
|
|
841
|
-
],
|
|
842
|
-
stateMutability: "nonpayable",
|
|
843
|
-
type: "function",
|
|
844
|
-
},
|
|
845
|
-
{
|
|
846
|
-
inputs: [],
|
|
847
|
-
name: "defaultOperators",
|
|
848
|
-
outputs: [
|
|
849
|
-
{
|
|
850
|
-
internalType: "address[]",
|
|
851
|
-
name: "",
|
|
852
|
-
type: "address[]",
|
|
853
|
-
},
|
|
854
|
-
],
|
|
855
|
-
stateMutability: "view",
|
|
856
|
-
type: "function",
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
inputs: [
|
|
860
|
-
{
|
|
861
|
-
internalType: "address",
|
|
862
|
-
name: "account",
|
|
863
|
-
type: "address",
|
|
864
|
-
},
|
|
865
|
-
],
|
|
866
|
-
name: "getAccountActiveAgreements",
|
|
867
|
-
outputs: [
|
|
868
|
-
{
|
|
869
|
-
internalType: "contract ISuperAgreement[]",
|
|
870
|
-
name: "",
|
|
871
|
-
type: "address[]",
|
|
872
|
-
},
|
|
873
|
-
],
|
|
874
|
-
stateMutability: "view",
|
|
875
|
-
type: "function",
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
inputs: [
|
|
879
|
-
{
|
|
880
|
-
internalType: "address",
|
|
881
|
-
name: "agreementClass",
|
|
882
|
-
type: "address",
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
internalType: "bytes32",
|
|
886
|
-
name: "id",
|
|
887
|
-
type: "bytes32",
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
internalType: "uint256",
|
|
891
|
-
name: "dataLength",
|
|
892
|
-
type: "uint256",
|
|
893
|
-
},
|
|
894
|
-
],
|
|
895
|
-
name: "getAgreementData",
|
|
896
|
-
outputs: [
|
|
897
|
-
{
|
|
898
|
-
internalType: "bytes32[]",
|
|
899
|
-
name: "data",
|
|
900
|
-
type: "bytes32[]",
|
|
901
|
-
},
|
|
902
|
-
],
|
|
903
|
-
stateMutability: "view",
|
|
904
|
-
type: "function",
|
|
905
|
-
},
|
|
906
|
-
{
|
|
907
|
-
inputs: [
|
|
908
|
-
{
|
|
909
|
-
internalType: "address",
|
|
910
|
-
name: "agreementClass",
|
|
911
|
-
type: "address",
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
internalType: "address",
|
|
915
|
-
name: "account",
|
|
916
|
-
type: "address",
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
internalType: "uint256",
|
|
920
|
-
name: "slotId",
|
|
921
|
-
type: "uint256",
|
|
922
|
-
},
|
|
923
|
-
{
|
|
924
|
-
internalType: "uint256",
|
|
925
|
-
name: "dataLength",
|
|
926
|
-
type: "uint256",
|
|
927
|
-
},
|
|
928
|
-
],
|
|
929
|
-
name: "getAgreementStateSlot",
|
|
930
|
-
outputs: [
|
|
931
|
-
{
|
|
932
|
-
internalType: "bytes32[]",
|
|
933
|
-
name: "slotData",
|
|
934
|
-
type: "bytes32[]",
|
|
935
|
-
},
|
|
936
|
-
],
|
|
937
|
-
stateMutability: "view",
|
|
938
|
-
type: "function",
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
inputs: [],
|
|
942
|
-
name: "getCodeAddress",
|
|
943
|
-
outputs: [
|
|
944
|
-
{
|
|
945
|
-
internalType: "address",
|
|
946
|
-
name: "codeAddress",
|
|
947
|
-
type: "address",
|
|
948
|
-
},
|
|
949
|
-
],
|
|
950
|
-
stateMutability: "view",
|
|
951
|
-
type: "function",
|
|
952
|
-
},
|
|
953
|
-
{
|
|
954
|
-
inputs: [],
|
|
955
|
-
name: "getHost",
|
|
956
|
-
outputs: [
|
|
957
|
-
{
|
|
958
|
-
internalType: "address",
|
|
959
|
-
name: "host",
|
|
960
|
-
type: "address",
|
|
961
|
-
},
|
|
962
|
-
],
|
|
963
|
-
stateMutability: "view",
|
|
964
|
-
type: "function",
|
|
965
|
-
},
|
|
966
|
-
{
|
|
967
|
-
inputs: [],
|
|
968
|
-
name: "granularity",
|
|
969
|
-
outputs: [
|
|
970
|
-
{
|
|
971
|
-
internalType: "uint256",
|
|
972
|
-
name: "",
|
|
973
|
-
type: "uint256",
|
|
974
|
-
},
|
|
975
|
-
],
|
|
976
|
-
stateMutability: "pure",
|
|
977
|
-
type: "function",
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
inputs: [
|
|
981
|
-
{
|
|
982
|
-
internalType: "address",
|
|
983
|
-
name: "spender",
|
|
984
|
-
type: "address",
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
internalType: "uint256",
|
|
988
|
-
name: "addedValue",
|
|
989
|
-
type: "uint256",
|
|
990
|
-
},
|
|
991
|
-
],
|
|
992
|
-
name: "increaseAllowance",
|
|
993
|
-
outputs: [
|
|
994
|
-
{
|
|
995
|
-
internalType: "bool",
|
|
996
|
-
name: "",
|
|
997
|
-
type: "bool",
|
|
998
|
-
},
|
|
999
|
-
],
|
|
1000
|
-
stateMutability: "nonpayable",
|
|
1001
|
-
type: "function",
|
|
1002
|
-
},
|
|
1003
|
-
{
|
|
1004
|
-
inputs: [
|
|
1005
|
-
{
|
|
1006
|
-
internalType: "contract IERC20",
|
|
1007
|
-
name: "underlyingToken",
|
|
1008
|
-
type: "address",
|
|
1009
|
-
},
|
|
1010
|
-
{
|
|
1011
|
-
internalType: "uint8",
|
|
1012
|
-
name: "underlyingDecimals",
|
|
1013
|
-
type: "uint8",
|
|
1014
|
-
},
|
|
1015
|
-
{
|
|
1016
|
-
internalType: "string",
|
|
1017
|
-
name: "n",
|
|
1018
|
-
type: "string",
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
internalType: "string",
|
|
1022
|
-
name: "s",
|
|
1023
|
-
type: "string",
|
|
1024
|
-
},
|
|
1025
|
-
],
|
|
1026
|
-
name: "initialize",
|
|
1027
|
-
outputs: [],
|
|
1028
|
-
stateMutability: "nonpayable",
|
|
1029
|
-
type: "function",
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
inputs: [
|
|
1033
|
-
{
|
|
1034
|
-
internalType: "address",
|
|
1035
|
-
name: "account",
|
|
1036
|
-
type: "address",
|
|
1037
|
-
},
|
|
1038
|
-
{
|
|
1039
|
-
internalType: "uint256",
|
|
1040
|
-
name: "timestamp",
|
|
1041
|
-
type: "uint256",
|
|
1042
|
-
},
|
|
1043
|
-
],
|
|
1044
|
-
name: "isAccountCritical",
|
|
1045
|
-
outputs: [
|
|
1046
|
-
{
|
|
1047
|
-
internalType: "bool",
|
|
1048
|
-
name: "isCritical",
|
|
1049
|
-
type: "bool",
|
|
1050
|
-
},
|
|
1051
|
-
],
|
|
1052
|
-
stateMutability: "view",
|
|
1053
|
-
type: "function",
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
inputs: [
|
|
1057
|
-
{
|
|
1058
|
-
internalType: "address",
|
|
1059
|
-
name: "account",
|
|
1060
|
-
type: "address",
|
|
1061
|
-
},
|
|
1062
|
-
],
|
|
1063
|
-
name: "isAccountCriticalNow",
|
|
1064
|
-
outputs: [
|
|
1065
|
-
{
|
|
1066
|
-
internalType: "bool",
|
|
1067
|
-
name: "isCritical",
|
|
1068
|
-
type: "bool",
|
|
1069
|
-
},
|
|
1070
|
-
],
|
|
1071
|
-
stateMutability: "view",
|
|
1072
|
-
type: "function",
|
|
1073
|
-
},
|
|
1074
|
-
{
|
|
1075
|
-
inputs: [
|
|
1076
|
-
{
|
|
1077
|
-
internalType: "address",
|
|
1078
|
-
name: "account",
|
|
1079
|
-
type: "address",
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
internalType: "uint256",
|
|
1083
|
-
name: "timestamp",
|
|
1084
|
-
type: "uint256",
|
|
1085
|
-
},
|
|
1086
|
-
],
|
|
1087
|
-
name: "isAccountSolvent",
|
|
1088
|
-
outputs: [
|
|
1089
|
-
{
|
|
1090
|
-
internalType: "bool",
|
|
1091
|
-
name: "isSolvent",
|
|
1092
|
-
type: "bool",
|
|
1093
|
-
},
|
|
1094
|
-
],
|
|
1095
|
-
stateMutability: "view",
|
|
1096
|
-
type: "function",
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
inputs: [
|
|
1100
|
-
{
|
|
1101
|
-
internalType: "address",
|
|
1102
|
-
name: "account",
|
|
1103
|
-
type: "address",
|
|
1104
|
-
},
|
|
1105
|
-
],
|
|
1106
|
-
name: "isAccountSolventNow",
|
|
1107
|
-
outputs: [
|
|
1108
|
-
{
|
|
1109
|
-
internalType: "bool",
|
|
1110
|
-
name: "isSolvent",
|
|
1111
|
-
type: "bool",
|
|
1112
|
-
},
|
|
1113
|
-
],
|
|
1114
|
-
stateMutability: "view",
|
|
1115
|
-
type: "function",
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
inputs: [
|
|
1119
|
-
{
|
|
1120
|
-
internalType: "address",
|
|
1121
|
-
name: "operator",
|
|
1122
|
-
type: "address",
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
internalType: "address",
|
|
1126
|
-
name: "tokenHolder",
|
|
1127
|
-
type: "address",
|
|
1128
|
-
},
|
|
1129
|
-
],
|
|
1130
|
-
name: "isOperatorFor",
|
|
1131
|
-
outputs: [
|
|
1132
|
-
{
|
|
1133
|
-
internalType: "bool",
|
|
1134
|
-
name: "",
|
|
1135
|
-
type: "bool",
|
|
1136
|
-
},
|
|
1137
|
-
],
|
|
1138
|
-
stateMutability: "view",
|
|
1139
|
-
type: "function",
|
|
1140
|
-
},
|
|
1141
|
-
{
|
|
1142
|
-
inputs: [
|
|
1143
|
-
{
|
|
1144
|
-
internalType: "bytes32",
|
|
1145
|
-
name: "id",
|
|
1146
|
-
type: "bytes32",
|
|
1147
|
-
},
|
|
1148
|
-
{
|
|
1149
|
-
internalType: "bytes",
|
|
1150
|
-
name: "liquidationTypeData",
|
|
1151
|
-
type: "bytes",
|
|
1152
|
-
},
|
|
1153
|
-
{
|
|
1154
|
-
internalType: "address",
|
|
1155
|
-
name: "liquidatorAccount",
|
|
1156
|
-
type: "address",
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
internalType: "bool",
|
|
1160
|
-
name: "useDefaultRewardAccount",
|
|
1161
|
-
type: "bool",
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
internalType: "address",
|
|
1165
|
-
name: "targetAccount",
|
|
1166
|
-
type: "address",
|
|
1167
|
-
},
|
|
1168
|
-
{
|
|
1169
|
-
internalType: "uint256",
|
|
1170
|
-
name: "rewardAmount",
|
|
1171
|
-
type: "uint256",
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
internalType: "int256",
|
|
1175
|
-
name: "targetAccountBalanceDelta",
|
|
1176
|
-
type: "int256",
|
|
1177
|
-
},
|
|
1178
|
-
],
|
|
1179
|
-
name: "makeLiquidationPayoutsV2",
|
|
1180
|
-
outputs: [],
|
|
1181
|
-
stateMutability: "nonpayable",
|
|
1182
|
-
type: "function",
|
|
1183
|
-
},
|
|
1184
|
-
{
|
|
1185
|
-
inputs: [],
|
|
1186
|
-
name: "name",
|
|
1187
|
-
outputs: [
|
|
1188
|
-
{
|
|
1189
|
-
internalType: "string",
|
|
1190
|
-
name: "",
|
|
1191
|
-
type: "string",
|
|
1192
|
-
},
|
|
1193
|
-
],
|
|
1194
|
-
stateMutability: "view",
|
|
1195
|
-
type: "function",
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
inputs: [
|
|
1199
|
-
{
|
|
1200
|
-
internalType: "address",
|
|
1201
|
-
name: "account",
|
|
1202
|
-
type: "address",
|
|
1203
|
-
},
|
|
1204
|
-
{
|
|
1205
|
-
internalType: "address",
|
|
1206
|
-
name: "spender",
|
|
1207
|
-
type: "address",
|
|
1208
|
-
},
|
|
1209
|
-
{
|
|
1210
|
-
internalType: "uint256",
|
|
1211
|
-
name: "amount",
|
|
1212
|
-
type: "uint256",
|
|
1213
|
-
},
|
|
1214
|
-
],
|
|
1215
|
-
name: "operationApprove",
|
|
1216
|
-
outputs: [],
|
|
1217
|
-
stateMutability: "nonpayable",
|
|
1218
|
-
type: "function",
|
|
1219
|
-
},
|
|
1220
|
-
{
|
|
1221
|
-
inputs: [
|
|
1222
|
-
{
|
|
1223
|
-
internalType: "address",
|
|
1224
|
-
name: "account",
|
|
1225
|
-
type: "address",
|
|
1226
|
-
},
|
|
1227
|
-
{
|
|
1228
|
-
internalType: "address",
|
|
1229
|
-
name: "spender",
|
|
1230
|
-
type: "address",
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
internalType: "uint256",
|
|
1234
|
-
name: "subtractedValue",
|
|
1235
|
-
type: "uint256",
|
|
1236
|
-
},
|
|
1237
|
-
],
|
|
1238
|
-
name: "operationDecreaseAllowance",
|
|
1239
|
-
outputs: [],
|
|
1240
|
-
stateMutability: "nonpayable",
|
|
1241
|
-
type: "function",
|
|
1242
|
-
},
|
|
1243
|
-
{
|
|
1244
|
-
inputs: [
|
|
1245
|
-
{
|
|
1246
|
-
internalType: "address",
|
|
1247
|
-
name: "account",
|
|
1248
|
-
type: "address",
|
|
1249
|
-
},
|
|
1250
|
-
{
|
|
1251
|
-
internalType: "address",
|
|
1252
|
-
name: "spender",
|
|
1253
|
-
type: "address",
|
|
1254
|
-
},
|
|
1255
|
-
{
|
|
1256
|
-
internalType: "uint256",
|
|
1257
|
-
name: "addedValue",
|
|
1258
|
-
type: "uint256",
|
|
1259
|
-
},
|
|
1260
|
-
],
|
|
1261
|
-
name: "operationIncreaseAllowance",
|
|
1262
|
-
outputs: [],
|
|
1263
|
-
stateMutability: "nonpayable",
|
|
1264
|
-
type: "function",
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
inputs: [
|
|
1268
|
-
{
|
|
1269
|
-
internalType: "address",
|
|
1270
|
-
name: "spender",
|
|
1271
|
-
type: "address",
|
|
1272
|
-
},
|
|
1273
|
-
{
|
|
1274
|
-
internalType: "address",
|
|
1275
|
-
name: "recipient",
|
|
1276
|
-
type: "address",
|
|
1277
|
-
},
|
|
1278
|
-
{
|
|
1279
|
-
internalType: "uint256",
|
|
1280
|
-
name: "amount",
|
|
1281
|
-
type: "uint256",
|
|
1282
|
-
},
|
|
1283
|
-
{
|
|
1284
|
-
internalType: "bytes",
|
|
1285
|
-
name: "userData",
|
|
1286
|
-
type: "bytes",
|
|
1287
|
-
},
|
|
1288
|
-
],
|
|
1289
|
-
name: "operationSend",
|
|
1290
|
-
outputs: [],
|
|
1291
|
-
stateMutability: "nonpayable",
|
|
1292
|
-
type: "function",
|
|
1293
|
-
},
|
|
1294
|
-
{
|
|
1295
|
-
inputs: [
|
|
1296
|
-
{
|
|
1297
|
-
internalType: "address",
|
|
1298
|
-
name: "account",
|
|
1299
|
-
type: "address",
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
internalType: "address",
|
|
1303
|
-
name: "spender",
|
|
1304
|
-
type: "address",
|
|
1305
|
-
},
|
|
1306
|
-
{
|
|
1307
|
-
internalType: "address",
|
|
1308
|
-
name: "recipient",
|
|
1309
|
-
type: "address",
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
internalType: "uint256",
|
|
1313
|
-
name: "amount",
|
|
1314
|
-
type: "uint256",
|
|
1315
|
-
},
|
|
1316
|
-
],
|
|
1317
|
-
name: "operationTransferFrom",
|
|
1318
|
-
outputs: [],
|
|
1319
|
-
stateMutability: "nonpayable",
|
|
1320
|
-
type: "function",
|
|
1321
|
-
},
|
|
1322
|
-
{
|
|
1323
|
-
inputs: [
|
|
1324
|
-
{
|
|
1325
|
-
internalType: "address",
|
|
1326
|
-
name: "account",
|
|
1327
|
-
type: "address",
|
|
1328
|
-
},
|
|
1329
|
-
{
|
|
1330
|
-
internalType: "uint256",
|
|
1331
|
-
name: "amount",
|
|
1332
|
-
type: "uint256",
|
|
1333
|
-
},
|
|
1334
|
-
{
|
|
1335
|
-
internalType: "bytes",
|
|
1336
|
-
name: "data",
|
|
1337
|
-
type: "bytes",
|
|
1338
|
-
},
|
|
1339
|
-
{
|
|
1340
|
-
internalType: "bytes",
|
|
1341
|
-
name: "operatorData",
|
|
1342
|
-
type: "bytes",
|
|
1343
|
-
},
|
|
1344
|
-
],
|
|
1345
|
-
name: "operatorBurn",
|
|
1346
|
-
outputs: [],
|
|
1347
|
-
stateMutability: "nonpayable",
|
|
1348
|
-
type: "function",
|
|
1349
|
-
},
|
|
1350
|
-
{
|
|
1351
|
-
inputs: [
|
|
1352
|
-
{
|
|
1353
|
-
internalType: "address",
|
|
1354
|
-
name: "sender",
|
|
1355
|
-
type: "address",
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
internalType: "address",
|
|
1359
|
-
name: "recipient",
|
|
1360
|
-
type: "address",
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
internalType: "uint256",
|
|
1364
|
-
name: "amount",
|
|
1365
|
-
type: "uint256",
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
internalType: "bytes",
|
|
1369
|
-
name: "data",
|
|
1370
|
-
type: "bytes",
|
|
1371
|
-
},
|
|
1372
|
-
{
|
|
1373
|
-
internalType: "bytes",
|
|
1374
|
-
name: "operatorData",
|
|
1375
|
-
type: "bytes",
|
|
1376
|
-
},
|
|
1377
|
-
],
|
|
1378
|
-
name: "operatorSend",
|
|
1379
|
-
outputs: [],
|
|
1380
|
-
stateMutability: "nonpayable",
|
|
1381
|
-
type: "function",
|
|
1382
|
-
},
|
|
1383
|
-
{
|
|
1384
|
-
inputs: [],
|
|
1385
|
-
name: "poolAdminNFT",
|
|
1386
|
-
outputs: [
|
|
1387
|
-
{
|
|
1388
|
-
internalType: "contract IPoolAdminNFT",
|
|
1389
|
-
name: "",
|
|
1390
|
-
type: "address",
|
|
1391
|
-
},
|
|
1392
|
-
],
|
|
1393
|
-
stateMutability: "view",
|
|
1394
|
-
type: "function",
|
|
1395
|
-
},
|
|
1396
|
-
{
|
|
1397
|
-
inputs: [],
|
|
1398
|
-
name: "poolMemberNFT",
|
|
1399
|
-
outputs: [
|
|
1400
|
-
{
|
|
1401
|
-
internalType: "contract IPoolMemberNFT",
|
|
1402
|
-
name: "",
|
|
1403
|
-
type: "address",
|
|
1404
|
-
},
|
|
1405
|
-
],
|
|
1406
|
-
stateMutability: "view",
|
|
1407
|
-
type: "function",
|
|
1408
|
-
},
|
|
1409
|
-
{
|
|
1410
|
-
inputs: [],
|
|
1411
|
-
name: "proxiableUUID",
|
|
1412
|
-
outputs: [
|
|
1413
|
-
{
|
|
1414
|
-
internalType: "bytes32",
|
|
1415
|
-
name: "",
|
|
1416
|
-
type: "bytes32",
|
|
1417
|
-
},
|
|
1418
|
-
],
|
|
1419
|
-
stateMutability: "pure",
|
|
1420
|
-
type: "function",
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
inputs: [
|
|
1424
|
-
{
|
|
1425
|
-
internalType: "address",
|
|
1426
|
-
name: "account",
|
|
1427
|
-
type: "address",
|
|
1428
|
-
},
|
|
1429
|
-
{
|
|
1430
|
-
internalType: "uint256",
|
|
1431
|
-
name: "timestamp",
|
|
1432
|
-
type: "uint256",
|
|
1433
|
-
},
|
|
1434
|
-
],
|
|
1435
|
-
name: "realtimeBalanceOf",
|
|
1436
|
-
outputs: [
|
|
1437
|
-
{
|
|
1438
|
-
internalType: "int256",
|
|
1439
|
-
name: "availableBalance",
|
|
1440
|
-
type: "int256",
|
|
1441
|
-
},
|
|
1442
|
-
{
|
|
1443
|
-
internalType: "uint256",
|
|
1444
|
-
name: "deposit",
|
|
1445
|
-
type: "uint256",
|
|
1446
|
-
},
|
|
1447
|
-
{
|
|
1448
|
-
internalType: "uint256",
|
|
1449
|
-
name: "owedDeposit",
|
|
1450
|
-
type: "uint256",
|
|
1451
|
-
},
|
|
1452
|
-
],
|
|
1453
|
-
stateMutability: "view",
|
|
1454
|
-
type: "function",
|
|
1455
|
-
},
|
|
1456
|
-
{
|
|
1457
|
-
inputs: [
|
|
1458
|
-
{
|
|
1459
|
-
internalType: "address",
|
|
1460
|
-
name: "account",
|
|
1461
|
-
type: "address",
|
|
1462
|
-
},
|
|
1463
|
-
],
|
|
1464
|
-
name: "realtimeBalanceOfNow",
|
|
1465
|
-
outputs: [
|
|
1466
|
-
{
|
|
1467
|
-
internalType: "int256",
|
|
1468
|
-
name: "availableBalance",
|
|
1469
|
-
type: "int256",
|
|
1470
|
-
},
|
|
1471
|
-
{
|
|
1472
|
-
internalType: "uint256",
|
|
1473
|
-
name: "deposit",
|
|
1474
|
-
type: "uint256",
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
internalType: "uint256",
|
|
1478
|
-
name: "owedDeposit",
|
|
1479
|
-
type: "uint256",
|
|
1480
|
-
},
|
|
1481
|
-
{
|
|
1482
|
-
internalType: "uint256",
|
|
1483
|
-
name: "timestamp",
|
|
1484
|
-
type: "uint256",
|
|
1485
|
-
},
|
|
1486
|
-
],
|
|
1487
|
-
stateMutability: "view",
|
|
1488
|
-
type: "function",
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
inputs: [
|
|
1492
|
-
{
|
|
1493
|
-
internalType: "address",
|
|
1494
|
-
name: "operator",
|
|
1495
|
-
type: "address",
|
|
1496
|
-
},
|
|
1497
|
-
],
|
|
1498
|
-
name: "revokeOperator",
|
|
1499
|
-
outputs: [],
|
|
1500
|
-
stateMutability: "nonpayable",
|
|
1501
|
-
type: "function",
|
|
1502
|
-
},
|
|
1503
|
-
{
|
|
1504
|
-
inputs: [
|
|
1505
|
-
{
|
|
1506
|
-
internalType: "address",
|
|
1507
|
-
name: "account",
|
|
1508
|
-
type: "address",
|
|
1509
|
-
},
|
|
1510
|
-
{
|
|
1511
|
-
internalType: "address",
|
|
1512
|
-
name: "spender",
|
|
1513
|
-
type: "address",
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
internalType: "uint256",
|
|
1517
|
-
name: "amount",
|
|
1518
|
-
type: "uint256",
|
|
1519
|
-
},
|
|
1520
|
-
],
|
|
1521
|
-
name: "selfApproveFor",
|
|
1522
|
-
outputs: [],
|
|
1523
|
-
stateMutability: "nonpayable",
|
|
1524
|
-
type: "function",
|
|
1525
|
-
},
|
|
1526
|
-
{
|
|
1527
|
-
inputs: [
|
|
1528
|
-
{
|
|
1529
|
-
internalType: "address",
|
|
1530
|
-
name: "recipient",
|
|
1531
|
-
type: "address",
|
|
1532
|
-
},
|
|
1533
|
-
{
|
|
1534
|
-
internalType: "uint256",
|
|
1535
|
-
name: "amount",
|
|
1536
|
-
type: "uint256",
|
|
1537
|
-
},
|
|
1538
|
-
{
|
|
1539
|
-
internalType: "bytes",
|
|
1540
|
-
name: "data",
|
|
1541
|
-
type: "bytes",
|
|
1542
|
-
},
|
|
1543
|
-
],
|
|
1544
|
-
name: "send",
|
|
1545
|
-
outputs: [],
|
|
1546
|
-
stateMutability: "nonpayable",
|
|
1547
|
-
type: "function",
|
|
1548
|
-
},
|
|
1549
|
-
{
|
|
1550
|
-
inputs: [
|
|
1551
|
-
{
|
|
1552
|
-
internalType: "address",
|
|
1553
|
-
name: "account",
|
|
1554
|
-
type: "address",
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
internalType: "int256",
|
|
1558
|
-
name: "delta",
|
|
1559
|
-
type: "int256",
|
|
1560
|
-
},
|
|
1561
|
-
],
|
|
1562
|
-
name: "settleBalance",
|
|
1563
|
-
outputs: [],
|
|
1564
|
-
stateMutability: "nonpayable",
|
|
1565
|
-
type: "function",
|
|
1566
|
-
},
|
|
1567
|
-
{
|
|
1568
|
-
inputs: [],
|
|
1569
|
-
name: "symbol",
|
|
1570
|
-
outputs: [
|
|
1571
|
-
{
|
|
1572
|
-
internalType: "string",
|
|
1573
|
-
name: "",
|
|
1574
|
-
type: "string",
|
|
1575
|
-
},
|
|
1576
|
-
],
|
|
1577
|
-
stateMutability: "view",
|
|
1578
|
-
type: "function",
|
|
1579
|
-
},
|
|
1580
|
-
{
|
|
1581
|
-
inputs: [
|
|
1582
|
-
{
|
|
1583
|
-
internalType: "bytes32",
|
|
1584
|
-
name: "id",
|
|
1585
|
-
type: "bytes32",
|
|
1586
|
-
},
|
|
1587
|
-
{
|
|
1588
|
-
internalType: "uint256",
|
|
1589
|
-
name: "dataLength",
|
|
1590
|
-
type: "uint256",
|
|
1591
|
-
},
|
|
1592
|
-
],
|
|
1593
|
-
name: "terminateAgreement",
|
|
1594
|
-
outputs: [],
|
|
1595
|
-
stateMutability: "nonpayable",
|
|
1596
|
-
type: "function",
|
|
1597
|
-
},
|
|
1598
|
-
{
|
|
1599
|
-
inputs: [],
|
|
1600
|
-
name: "totalSupply",
|
|
1601
|
-
outputs: [
|
|
1602
|
-
{
|
|
1603
|
-
internalType: "uint256",
|
|
1604
|
-
name: "",
|
|
1605
|
-
type: "uint256",
|
|
1606
|
-
},
|
|
1607
|
-
],
|
|
1608
|
-
stateMutability: "view",
|
|
1609
|
-
type: "function",
|
|
1610
|
-
},
|
|
1611
|
-
{
|
|
1612
|
-
inputs: [
|
|
1613
|
-
{
|
|
1614
|
-
internalType: "address",
|
|
1615
|
-
name: "recipient",
|
|
1616
|
-
type: "address",
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
internalType: "uint256",
|
|
1620
|
-
name: "amount",
|
|
1621
|
-
type: "uint256",
|
|
1622
|
-
},
|
|
1623
|
-
],
|
|
1624
|
-
name: "transfer",
|
|
1625
|
-
outputs: [
|
|
1626
|
-
{
|
|
1627
|
-
internalType: "bool",
|
|
1628
|
-
name: "",
|
|
1629
|
-
type: "bool",
|
|
1630
|
-
},
|
|
1631
|
-
],
|
|
1632
|
-
stateMutability: "nonpayable",
|
|
1633
|
-
type: "function",
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
inputs: [
|
|
1637
|
-
{
|
|
1638
|
-
internalType: "address",
|
|
1639
|
-
name: "holder",
|
|
1640
|
-
type: "address",
|
|
1641
|
-
},
|
|
1642
|
-
{
|
|
1643
|
-
internalType: "address",
|
|
1644
|
-
name: "recipient",
|
|
1645
|
-
type: "address",
|
|
1646
|
-
},
|
|
1647
|
-
{
|
|
1648
|
-
internalType: "uint256",
|
|
1649
|
-
name: "amount",
|
|
1650
|
-
type: "uint256",
|
|
1651
|
-
},
|
|
1652
|
-
],
|
|
1653
|
-
name: "transferFrom",
|
|
1654
|
-
outputs: [
|
|
1655
|
-
{
|
|
1656
|
-
internalType: "bool",
|
|
1657
|
-
name: "",
|
|
1658
|
-
type: "bool",
|
|
1659
|
-
},
|
|
1660
|
-
],
|
|
1661
|
-
stateMutability: "nonpayable",
|
|
1662
|
-
type: "function",
|
|
1663
|
-
},
|
|
1664
|
-
{
|
|
1665
|
-
inputs: [
|
|
1666
|
-
{
|
|
1667
|
-
internalType: "bytes32",
|
|
1668
|
-
name: "id",
|
|
1669
|
-
type: "bytes32",
|
|
1670
|
-
},
|
|
1671
|
-
{
|
|
1672
|
-
internalType: "bytes32[]",
|
|
1673
|
-
name: "data",
|
|
1674
|
-
type: "bytes32[]",
|
|
1675
|
-
},
|
|
1676
|
-
],
|
|
1677
|
-
name: "updateAgreementData",
|
|
1678
|
-
outputs: [],
|
|
1679
|
-
stateMutability: "nonpayable",
|
|
1680
|
-
type: "function",
|
|
1681
|
-
},
|
|
1682
|
-
{
|
|
1683
|
-
inputs: [
|
|
1684
|
-
{
|
|
1685
|
-
internalType: "address",
|
|
1686
|
-
name: "account",
|
|
1687
|
-
type: "address",
|
|
1688
|
-
},
|
|
1689
|
-
{
|
|
1690
|
-
internalType: "uint256",
|
|
1691
|
-
name: "slotId",
|
|
1692
|
-
type: "uint256",
|
|
1693
|
-
},
|
|
1694
|
-
{
|
|
1695
|
-
internalType: "bytes32[]",
|
|
1696
|
-
name: "slotData",
|
|
1697
|
-
type: "bytes32[]",
|
|
1698
|
-
},
|
|
1699
|
-
],
|
|
1700
|
-
name: "updateAgreementStateSlot",
|
|
1701
|
-
outputs: [],
|
|
1702
|
-
stateMutability: "nonpayable",
|
|
1703
|
-
type: "function",
|
|
1704
|
-
},
|
|
1705
|
-
{
|
|
1706
|
-
inputs: [
|
|
1707
|
-
{
|
|
1708
|
-
internalType: "address",
|
|
1709
|
-
name: "newAddress",
|
|
1710
|
-
type: "address",
|
|
1711
|
-
},
|
|
1712
|
-
],
|
|
1713
|
-
name: "updateCode",
|
|
1714
|
-
outputs: [],
|
|
1715
|
-
stateMutability: "nonpayable",
|
|
1716
|
-
type: "function",
|
|
1717
|
-
},
|
|
1718
|
-
] as const;
|
|
1719
|
-
|
|
1720
|
-
const _bytecode =
|
|
1721
|
-
"0x60a06040523480156200001157600080fd5b5060405162003e5838038062003e58833981016040819052620000349162000046565b6001600160a01b031660805262000078565b6000602082840312156200005957600080fd5b81516001600160a01b03811681146200007157600080fd5b9392505050565b608051613d2a6200012e6000396000818161030e015281816108de0152818161095a01528181610ca101528181610cd501528181610d5d01528181610d9101528181610e2401528181610e950152818161103901528181611085015281816111b60152818161139d015281816113d10152818161177b015281816117af01528181611831015281816118d40152818161195c01528181611fd70152818161207e015281816125650152612de80152613d2a6000f3fe608060405234801561001057600080fd5b50600436106102515760003560e01c806306e485381461025657806306fdde0314610274578063090c415e14610289578063095ea7b31461029e57806312a6a3f8146102c157806316d055d6146102d457806318160ddd146102e75780631863e809146102f957806320bc44251461030c57806323b872dd1461033b578063270483971461034e5780632ec8eec714610361578063313ce56714610394578063386fa221146103a357806339509351146103b657806342fe0980146103c957806346951954146103dc5780634b2763b3146103ef5780634b61cc331461040257806350d75d251461042257806352d1902d1461042a578063556f0dc71461043257806358cf96721461043957806362aa52871461044c57806362ad1b831461045f57806366a12fb6146104725780636a30b253146104855780636c2d9f2f1461049857806370a08231146104ab57806379359f6f146104be578063959b8c3f146104d157806395d89b41146104e45780639903ad38146104ec5780639bd9bbc6146104f4578063a1b2bf8b14610507578063a457c2d71461051a578063a9059cbb1461052d578063b84cdd4a14610540578063bb0d196e14610553578063c4b1584c14610566578063c76058fc14610579578063c780fd821461058c578063ca0c1e7f1461059f578063cf97256d146105b2578063d95b6371146105c5578063d9d078d6146105d8578063dd62ed3e146105eb578063eb3537cc14610624578063fad8b32a14610652578063fc673c4f14610665578063fe9d930314610678575b600080fd5b61025e61068b565b60405161026b9190612eb5565b60405180910390f35b61027c61069c565b60405161026b9190612f48565b61029c610297366004612fbb565b61072e565b005b6102b16102ac366004613016565b6107e2565b604051901515815260200161026b565b61029c6102cf366004613042565b6107f9565b61029c6102e236600461308d565b6108dc565b6003545b60405190815260200161026b565b61029c6103073660046131a1565b610943565b7f00000000000000000000000000000000000000000000000000000000000000005b60405161026b9190613233565b6102b1610349366004613247565b610be8565b61029c61035c366004613288565b610bfe565b61037461036f3660046132aa565b610c9a565b60408051948552602085019390935291830152606082015260800161026b565b6040516012815260200161026b565b61025e6103b13660046132aa565b610e20565b6102b16103c4366004613016565b610f06565b61029c6103d7366004613308565b610f42565b61029c6103ea3660046132aa565b61102e565b61029c6103fd366004613247565b611083565b6104156104103660046133a2565b611115565b60405161026b91906133e8565b61032e61115a565b6102eb611164565b60016102eb565b61029c610447366004613016565b611188565b61029c61045a366004613247565b6111b4565b61029c61046d366004613420565b611213565b61029c610480366004613247565b6112c1565b61029c6104933660046134be565b6112e1565b6104156104a636600461353e565b61132a565b6102eb6104b93660046132aa565b61136c565b6102b16104cc3660046132aa565b611395565b61029c6104df3660046132aa565b611451565b61027c6114a2565b61029c6114b1565b61029c610502366004613573565b6115c1565b61029c610515366004613042565b61161b565b6102b1610528366004613016565b6116c5565b6102b161053b366004613016565b611714565b6102b161054e366004613016565b611722565b6102b16105613660046132aa565b611773565b60195461032e906001600160a01b031681565b60185461032e906001600160a01b031681565b61029c61059a366004613247565b61182f565b61029c6105ad3660046135c2565b6118d2565b61029c6105c0366004613016565b611945565b6102b16105d336600461362d565b611a33565b6102b16105e6366004613016565b611a41565b6102eb6105f936600461362d565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b610637610632366004613016565b611a5b565b6040805193845260208401929092529082015260600161026b565b61029c6106603660046132aa565b611b8a565b61029c610673366004613666565b611bdb565b61029c6106863660046136ad565b611c84565b60606106976012611cf6565b905090565b6060600f80546106ab906136eb565b80601f01602080910402602001604051908101604052809291908181526020018280546106d7906136eb565b80156107245780601f106106f957610100808354040283529160200191610724565b820191906000526020600020905b81548152906001019060200180831161070757829003601f168201915b5050505050905090565b600033858560405160200161074593929190613725565b60405160208183030381529060405280519060200120905061079a81848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611d5c92505050565b6040518481526001600160a01b0386169033907f30f416fa68fca014a0f334464c64b000ba53e99b6d2afdea9d5ca756372d5985906020015b60405180910390a35050505050565b60006107ef338484611d9d565b5060015b92915050565b6040513390600090610811908390879060200161376e565b60408051601f19818403018152919052805160209091012090506108358184611e4d565b156108535760405163782a90fb60e11b815260040160405180910390fd5b61089081858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611d5c92505050565b816001600160a01b03167f770ea40a13a4644573ed785e5c7116890709947918747febc5add46feb531e2d8686866040516108cd939291906137ab565b60405180910390a25050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633141580610912575060005b156109305760405163c51efddd60e01b815260040160405180910390fd5b61093c84848484611e89565b5050505050565b604051632329212160e21b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690638ca484849061098f903390600401613233565b602060405180830381865afa1580156109ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d091906137ec565b6109ed5760405163327fd99160e21b815260040160405180910390fd5b60006109f7611fd2565b90506001600160a01b038116610a0a5750845b600085610a175786610a19565b815b905060008313610ab657610a2c8361381f565b610a3585612111565b14610a4257610a4261383b565b610a4b84612111565b6001600160a01b03821660009081526002602052604081208054909190610a73908490613851565b90915550506001600160a01b03851660009081526002602052604081208054859290610aa0908490613851565b90915550610ab1905085828661217f565b610b80565b8515610ac457610ac461383b565b82610ace85612111565b610ad89190613851565b6001600160a01b03831660009081526002602052604081208054909190610b00908490613879565b90915550610b0f905084612111565b6001600160a01b03881660009081526002602052604081208054909190610b37908490613851565b90915550506001600160a01b03851660009081526002602052604081208054859290610b64908490613851565b90915550610b75905082888661217f565b610b8082868561217f565b846001600160a01b0316876001600160a01b0316336001600160a01b03167fb8381a3ce157650e06186e3e8f4dd4dc29236f2688b6eed1893d0a60d7c6386f8c8589898f604051610bd5959493929190613899565b60405180910390a4505050505050505050565b6000610bf633858585611e89565b949350505050565b6040513390600090610c16908390869060200161376e565b604051602081830303815290604052805190602001209050610c388184611e4d565b610c555760405163dae1880960e01b815260040160405180910390fd5b610c5f81846121b2565b60405184815233907f71a63dc095de07aa5512ad57a7596a39516317e316981a1cd71000057be1537b9060200160405180910390a250505050565b60008080807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610cd35742610d55565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bbe4fd506040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5591906138d7565b9050610e11857f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610d8f5742611a5b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bbe4fd506040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ded573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063291906138d7565b91979096509094509092509050565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610e64576040805160008152602081019091526107f3565b6001600160a01b038281166000908152600160205260409081902054905163c56a069d60e01b8152901960048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c56a069d90602401600060405180830381865afa158015610ede573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f391908101906138f0565b3360008181526011602090815260408083206001600160a01b038716845290915281205490916107ef918590610f3d9086906139a1565b611d9d565b600054610100900460ff16610fb25760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084015b60405180910390fd5b600e805460ff8716600160a01b026001600160a81b03199091166001600160a01b03891617179055600f610fe7848683613a02565b506010610ff5828483613a02565b50610fff306121d3565b6040516000808252908190600080516020613ca8833981519152906020015b60405180910390a3505050505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146110775760405163263dcdc160e21b815260040160405180910390fd5b611080816122e9565b50565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316331415806110b9575060005b156110d75760405163c51efddd60e01b815260040160405180910390fd5b6001600160a01b038084166000908152601160209081526040808320938616835292905220546111109084908490610f3d9085906139a1565b505050565b6060600085858560405160200161112e93929190613725565b60405160208183030381529060405280519060200120905061115081846124bb565b9695505050505050565b600061069761254a565b7f6bfbb132610e56cb96575dba244667b9d6dbfeffe22b68a79fa16f2d18eb001990565b33156111a65760405162461bcd60e51b8152600401610fa990613ac1565b6111b0828261255d565b5050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316331415806111ea575060005b156112085760405163c51efddd60e01b815260040160405180910390fd5b611110838383611d9d565b336112206012828a61261f565b61123d5760405163f7f0222760e01b815260040160405180910390fd5b6112b78189898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a9081908401838280828437600092019190915250600192506126c8915050565b5050505050505050565b33301461120857604051630fff4cc960e31b815260040160405180910390fd5b33156112ff5760405162461bcd60e51b8152600401610fa990613ac1565b611309888561276a565b6113148888856127c4565b61131f8886836127c4565b6112b78887846127c4565b60606000848460405160200161134192919061376e565b60405160208183030381529060405280519060200120905061136381846124bb565b95945050505050565b60008061137883610c9a565b50505090506000811261138b578061138e565b60005b9392505050565b60006107f3827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166113cf5742611a41565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bbe4fd506040518163ffffffff1660e01b8152600401602060405180830381865afa15801561142d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e691906138d7565b3361145e601282846127e1565b806001600160a01b0316826001600160a01b03167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a35050565b6060601080546106ab906136eb565b600054610100900460ff16158080156114d15750600054600160ff909116105b806114f257506114e0306128e5565b1580156114f2575060005460ff166001145b6115555760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610fa9565b6000805460ff191660011790558015611578576000805461ff0019166101001790555b8015611080576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906020015b60405180910390a150565b6116153333868686868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525060408051602081019091529081529250600191506126c89050565b50505050565b6040513390600090611633908390879060200161376e565b60405160208183030381529060405280519060200120905061168881858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611d5c92505050565b336001600160a01b03167f0c4c547b3a4fcaa5be8353b3111472b124155bccc86de811d4a481c9e6e9faca8686866040516108cd939291906137ab565b60006107ef3384610f3d856040518060600160405280602a8152602001613c7e602a91393360009081526011602090815260408083206001600160a01b038d16845290915290205491906128f4565b600061138e33338585611e89565b6000806000806117328686611a5b565b925092509250600061175a82841161174b576000612111565b6117558385613aeb565b612111565b6117649085613851565b60001315979650505050505050565b60006107f3827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166117ad5742611722565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bbe4fd506040518163ffffffff1660e01b8152600401602060405180830381865afa15801561180b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e91906138d7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633141580611865575060005b156118835760405163c51efddd60e01b815260040160405180910390fd5b6111108383610f3d846040518060600160405280602a8152602001613c7e602a91396001600160a01b03808a166000908152601160209081526040808320938c168352929052205491906128f4565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633141580611908575060005b156119265760405163c51efddd60e01b815260040160405180910390fd5b61161533858585856040518060200160405280600081525060016126c8565b604051632329212160e21b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690638ca4848490611991903390600401613233565b602060405180830381865afa1580156119ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d291906137ec565b6119ef5760405163327fd99160e21b815260040160405180910390fd5b6001600160a01b038216600090815260026020526040902054611a13908290613851565b6001600160a01b0390921660009081526002602052604090209190915550565b600061138e6012848461261f565b600080611a4e8484611a5b565b5050600013949350505050565b6001600160a01b038216600090815260026020526040812054908080611a8086610e20565b905060005b8151811015611b81576000806000848481518110611aa557611aa5613afe565b60200260200101516001600160a01b0316639b2e48bc308c8c6040518463ffffffff1660e01b8152600401611adc93929190613b14565b606060405180830381865afa158015611af9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b1d9190613b38565b91945092509050611b2e82886139a1565b9650611b3a81876139a1565b9550611b57818311611b4d576000612111565b6117558284613aeb565b611b61848a613851565b611b6b9190613879565b975050505080611b7a90613b66565b9050611a85565b50509250925092565b33611b9760128284612920565b806001600160a01b0316826001600160a01b03167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a35050565b33611be86012828961261f565b611c055760405163f7f0222760e01b815260040160405180910390fd5b611c7b81888888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a9150899081908401838280828437600092019190915250612a1892505050565b50505050505050565b61111033338585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509250611cc6915050565b6040519080825280601f01601f191660200182016040528015611cf0576020820181803683370190505b50612a18565b606081600001805480602002602001604051908101604052809291908181526020018280548015611d5057602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611d32575b50505050509050919050565b60005b8151811015611110576000828281518110611d7c57611d7c613afe565b6020026020010151905080828501555080611d9690613b66565b9050611d5f565b6001600160a01b038316611dc457604051638163862760e01b815260040160405180910390fd5b6001600160a01b038216611deb576040516337c1c09d60e21b815260040160405180910390fd5b6001600160a01b0383811660008181526011602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000805b82811015611e7f57838101548015611e6e576001925050506107f3565b50611e7881613b66565b9050611e51565b5060009392505050565b60006001600160a01b038416611eb25760405163eecd6c9b60e01b815260040160405180910390fd5b6001600160a01b038316611ed95760405163e219bd3960e01b815260040160405180910390fd5b306001600160a01b03841603611f02576040516376b3022760e01b815260040160405180910390fd5b6000339050611f33818686866040518060200160405280600081525060405180602001604052806000815250612ad3565b846001600160a01b0316866001600160a01b031614611fc657611fc68587610f3d866040518060600160405280602d8152602001613cc8602d9139601160008c6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b03168152602001908152602001600020546128f49092919063ffffffff16565b50600195945050505050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663289b3c0d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612033573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120579190613b7f565b604051638369a0f160e01b81529091506001600160a01b03821690638369a0f1906120ca907f00000000000000000000000000000000000000000000000000000000000000009030907f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d0990600401613b14565b602060405180830381865afa1580156120e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061210b9190613b7f565b91505090565b60006001600160ff1b0382111561217b5760405162461bcd60e51b815260206004820152602860248201527f53616665436173743a2076616c756520646f65736e27742066697420696e2061604482015267371034b73a191a9b60c11b6064820152608401610fa9565b5090565b816001600160a01b0316836001600160a01b0316600080516020613ca883398151915283604051611e4091815260200190565b60005b81811015611110576000838201556121cc81613b66565b90506121b5565b6040516329965a1d60e01b8152731820a4b7618bde71dce8cdc73aab6c95905fad24906329965a1d9061222e9084907fac7fbab5f54a3ca8194167523c6753bfeb96a445279294b6125b68cce2177054903090600401613b9c565b600060405180830381600087803b15801561224857600080fd5b505af115801561225c573d6000803e3d6000fd5b50506040516329965a1d60e01b8152731820a4b7618bde71dce8cdc73aab6c95905fad2492506329965a1d91506122bb9084907faea199e31a596269b42cdafd93407f14436db6e4cad65417994c2eb37381e05a903090600401613b9c565b600060405180830381600087803b1580156122d557600080fd5b505af115801561093c573d6000803e3d6000fd5b60006122f361254a565b6001600160a01b0316036123495760405162461bcd60e51b815260206004820152601d60248201527f5555505350726f786961626c653a206e6f742075706772616461626c650000006044820152606401610fa9565b806001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ab91906138d7565b6123b3611164565b1461240c5760405162461bcd60e51b815260206004820152602360248201527f5555505350726f786961626c653a206e6f7420636f6d70617469626c65206c6f60448201526267696360e81b6064820152608401610fa9565b6001600160a01b03811630036124605760405162461bcd60e51b815260206004820152601960248201527805555505350726f786961626c653a2070726f7879206c6f6f7603c1b6044820152606401610fa9565b61247681600080516020613c5e83398151915255565b7fe011bc04c286c344a8fcbb8de77f953da762c3e25d8cdea984147fc4168a5dcc61249f611164565b604080519182526001600160a01b0384166020830152016115b6565b6060816001600160401b038111156124d5576124d56130de565b6040519080825280602002602001820160405280156124fe578160200160208202803683370190505b50905060005b828110156125435760008185015490508083838151811061252757612527613afe565b60209081029190910101525061253c81613b66565b9050612504565b5092915050565b600080516020613c5e8339815191525490565b6000612597837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610d8f5742611a5b565b505090506125a482612111565b8112156125c45760405163043b37d160e21b815260040160405180910390fd5b6125cd82612111565b6001600160a01b0384166000908152600260205260409020546125f09190613879565b6001600160a01b038416600090815260026020526040902055600354612617908390613aeb565b600355505050565b6000816001600160a01b0316836001600160a01b0316148061268e57506001600160a01b038316600090815260018501602052604090205460ff16801561268e57506001600160a01b03808316600090815260038601602090815260408083209387168352929052205460ff16155b80610bf657506001600160a01b03808316600090815260028601602090815260408083209387168352929052205460ff1690509392505050565b6001600160a01b0386166126ef5760405163eecd6c9b60e01b815260040160405180910390fd5b6001600160a01b0385166127165760405163e219bd3960e01b815260040160405180910390fd5b306001600160a01b0386160361273f576040516376b3022760e01b815260040160405180910390fd5b61274d878787878787612b72565b61275b878787878787612ad3565b611c7b87878787878787612c91565b61277381612111565b6001600160a01b0383166000908152600260205260409020546127969190613851565b6001600160a01b0383166000908152600260205260409020556003546127bd9082906139a1565b6003555050565b6001600160a01b0382166127d757505050565b61217f828261276a565b806001600160a01b0316826001600160a01b0316036128585760405162461bcd60e51b815260206004820152602d60248201527f4552433737374f70657261746f72733a20617574686f72697a696e672073656c60448201526c331030b99037b832b930ba37b960991b6064820152608401610fa9565b6001600160a01b038116600090815260018401602052604090205460ff16156128ae576001600160a01b03918216600090815260039390930160209081526040808520929093168452529020805460ff19169055565b6001600160a01b0380831660009081526002850160209081526040808320938516835292905220805460ff19166001179055505050565b6001600160a01b03163b151590565b600081848411156129185760405162461bcd60e51b8152600401610fa99190612f48565b505050900390565b336001600160a01b0382160361298b5760405162461bcd60e51b815260206004820152602a60248201527f4552433737374f70657261746f72733a207265766f6b696e672073656c662061604482015269399037b832b930ba37b960b11b6064820152608401610fa9565b6001600160a01b038116600090815260018401602052604090205460ff16156129e5576001600160a01b0380831660009081526003850160209081526040808320938516835292905220805460ff19166001179055505050565b6001600160a01b03918216600090815260029390930160209081526040808520929093168452529020805460ff19169055565b6001600160a01b038416612a3f57604051632e8aac6160e21b815260040160405180910390fd5b612a4e85856000868686612b72565b612a58848461255d565b836001600160a01b0316856001600160a01b03167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098858585604051612a9f93929190613bbf565b60405180910390a36040518381526000906001600160a01b03861690600080516020613ca8833981519152906020016107d3565b612ae68585612ae186612111565b612de0565b836001600160a01b0316856001600160a01b0316876001600160a01b03167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987868686604051612b3793929190613bbf565b60405180910390a4836001600160a01b0316856001600160a01b0316600080516020613ca88339815191528560405161101e91815260200190565b60405163555ddc6560e11b8152600090731820a4b7618bde71dce8cdc73aab6c95905fad249063aabbb8ca90612bce9089907f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe89590600401613bea565b602060405180830381865afa158015612beb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c0f9190613b7f565b90506001600160a01b03811615611c7b57604051633ad5cbc160e11b81526001600160a01b038216906375ab978290612c56908a908a908a908a908a908a90600401613c03565b600060405180830381600087803b158015612c7057600080fd5b505af1158015612c84573d6000803e3d6000fd5b5050505050505050505050565b60405163555ddc6560e11b8152600090731820a4b7618bde71dce8cdc73aab6c95905fad249063aabbb8ca90612ced9089907fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b90600401613bea565b602060405180830381865afa158015612d0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d2e9190613b7f565b90506001600160a01b03811615612daa576040516223de2960e01b81526001600160a01b038216906223de2990612d73908b908b908b908b908b908b90600401613c03565b600060405180830381600087803b158015612d8d57600080fd5b505af1158015612da1573d6000803e3d6000fd5b505050506112b7565b81156112b757612dc2866001600160a01b03166128e5565b156112b75760405163fe737d0560e01b815260040160405180910390fd5b6000612e1a847f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610d8f5742611a5b565b5050905081811215612e3f57604051632f4cb94160e01b815260040160405180910390fd5b6001600160a01b038416600090815260026020526040902054612e63908390613879565b6001600160a01b038086166000908152600260205260408082209390935590851681522054612e93908390613851565b6001600160a01b03909316600090815260026020526040902092909255505050565b6020808252825182820181905260009190848201906040850190845b81811015612ef65783516001600160a01b031683529284019291840191600101612ed1565b50909695505050505050565b6000815180845260005b81811015612f2857602081850181015186830182015201612f0c565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061138e6020830184612f02565b6001600160a01b038116811461108057600080fd5b60008083601f840112612f8257600080fd5b5081356001600160401b03811115612f9957600080fd5b6020830191508360208260051b8501011115612fb457600080fd5b9250929050565b60008060008060608587031215612fd157600080fd5b8435612fdc81612f5b565b93506020850135925060408501356001600160401b03811115612ffe57600080fd5b61300a87828801612f70565b95989497509550505050565b6000806040838503121561302957600080fd5b823561303481612f5b565b946020939093013593505050565b60008060006040848603121561305757600080fd5b8335925060208401356001600160401b0381111561307457600080fd5b61308086828701612f70565b9497909650939450505050565b600080600080608085870312156130a357600080fd5b84356130ae81612f5b565b935060208501356130be81612f5b565b925060408501356130ce81612f5b565b9396929550929360600135925050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561311c5761311c6130de565b604052919050565b600082601f83011261313557600080fd5b81356001600160401b0381111561314e5761314e6130de565b613161601f8201601f19166020016130f4565b81815284602083860101111561317657600080fd5b816020850160208301376000918101602001919091529392505050565b801515811461108057600080fd5b600080600080600080600060e0888a0312156131bc57600080fd5b8735965060208801356001600160401b038111156131d957600080fd5b6131e58a828b01613124565b96505060408801356131f681612f5b565b9450606088013561320681613193565b9350608088013561321681612f5b565b9699959850939692959460a0840135945060c09093013592915050565b6001600160a01b0391909116815260200190565b60008060006060848603121561325c57600080fd5b833561326781612f5b565b9250602084013561327781612f5b565b929592945050506040919091013590565b6000806040838503121561329b57600080fd5b50508035926020909101359150565b6000602082840312156132bc57600080fd5b813561138e81612f5b565b60008083601f8401126132d957600080fd5b5081356001600160401b038111156132f057600080fd5b602083019150836020828501011115612fb457600080fd5b6000806000806000806080878903121561332157600080fd5b863561332c81612f5b565b9550602087013560ff8116811461334257600080fd5b945060408701356001600160401b038082111561335e57600080fd5b61336a8a838b016132c7565b9096509450606089013591508082111561338357600080fd5b5061339089828a016132c7565b979a9699509497509295939492505050565b600080600080608085870312156133b857600080fd5b84356133c381612f5b565b935060208501356133d381612f5b565b93969395505050506040820135916060013590565b6020808252825182820181905260009190848201906040850190845b81811015612ef657835183529284019291840191600101613404565b600080600080600080600060a0888a03121561343b57600080fd5b873561344681612f5b565b9650602088013561345681612f5b565b95506040880135945060608801356001600160401b038082111561347957600080fd5b6134858b838c016132c7565b909650945060808a013591508082111561349e57600080fd5b506134ab8a828b016132c7565b989b979a50959850939692959293505050565b600080600080600080600080610100898b0312156134db57600080fd5b88356134e681612f5b565b975060208901356134f681612f5b565b9650604089013561350681612f5b565b9550606089013561351681612f5b565b979a969950949760808101359660a0820135965060c0820135955060e0909101359350915050565b60008060006060848603121561355357600080fd5b833561355e81612f5b565b95602085013595506040909401359392505050565b6000806000806060858703121561358957600080fd5b843561359481612f5b565b93506020850135925060408501356001600160401b038111156135b657600080fd5b61300a878288016132c7565b600080600080608085870312156135d857600080fd5b84356135e381612f5b565b935060208501356135f381612f5b565b92506040850135915060608501356001600160401b0381111561361557600080fd5b61362187828801613124565b91505092959194509250565b6000806040838503121561364057600080fd5b823561364b81612f5b565b9150602083013561365b81612f5b565b809150509250929050565b6000806000806000806080878903121561367f57600080fd5b863561368a81612f5b565b95506020870135945060408701356001600160401b038082111561335e57600080fd5b6000806000604084860312156136c257600080fd5b8335925060208401356001600160401b038111156136df57600080fd5b613080868287016132c7565b600181811c908216806136ff57607f821691505b60208210810361371f57634e487b7160e01b600052602260045260246000fd5b50919050565b6080808252600e908201526d41677265656d656e74537461746560901b60a08201526001600160a01b039384166020820152919092166040820152606081019190915260c00190565b6060808252600d908201526c41677265656d656e744461746160981b60808201526001600160a01b03929092166020830152604082015260a00190565b838152604060208201819052810182905260006001600160fb1b038311156137d257600080fd5b8260051b8085606085013791909101606001949350505050565b6000602082840312156137fe57600080fd5b815161138e81613193565b634e487b7160e01b600052601160045260246000fd5b6000600160ff1b820161383457613834613809565b5060000390565b634e487b7160e01b600052600160045260246000fd5b808201828112600083128015821682158216171561387157613871613809565b505092915050565b818103600083128015838313168383128216171561254357612543613809565b85815260018060a01b038516602082015283604082015282606082015260a0608082015260006138cc60a0830184612f02565b979650505050505050565b6000602082840312156138e957600080fd5b5051919050565b6000602080838503121561390357600080fd5b82516001600160401b038082111561391a57600080fd5b818501915085601f83011261392e57600080fd5b815181811115613940576139406130de565b8060051b91506139518483016130f4565b818152918301840191848101908884111561396b57600080fd5b938501935b83851015613995578451925061398583612f5b565b8282529385019390850190613970565b98975050505050505050565b808201808211156107f3576107f3613809565b601f82111561111057600081815260208120601f850160051c810160208610156139db5750805b601f850160051c820191505b818110156139fa578281556001016139e7565b505050505050565b6001600160401b03831115613a1957613a196130de565b613a2d83613a2783546136eb565b836139b4565b6000601f841160018114613a615760008515613a495750838201355b600019600387901b1c1916600186901b17835561093c565b600083815260209020601f19861690835b82811015613a925786850135825560209485019460019092019101613a72565b5086821015613aaf5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60208082526010908201526f13db9b1e4815934818d85b8818d85b1b60821b604082015260600190565b818103818111156107f3576107f3613809565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b039384168152919092166020820152604081019190915260600190565b600080600060608486031215613b4d57600080fd5b8351925060208401519150604084015190509250925092565b600060018201613b7857613b78613809565b5060010190565b600060208284031215613b9157600080fd5b815161138e81612f5b565b6001600160a01b0393841681526020810192909252909116604082015260600190565b838152606060208201526000613bd86060830185612f02565b82810360408401526111508185612f02565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0387811682528681166020830152851660408201526060810184905260c060808201819052600090613c3e90830185612f02565b82810360a0840152613c508185612f02565b999850505050505050505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5375706572546f6b656e3a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5375706572546f6b656e3a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212204fa524209a2f0a1509f7a16410956150a785acb32363392245b3e97c8e89300d64736f6c63430008130033";
|
|
1722
|
-
|
|
1723
|
-
type SuperTokenConstructorParams =
|
|
1724
|
-
| [signer?: Signer]
|
|
1725
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
1726
|
-
|
|
1727
|
-
const isSuperArgs = (
|
|
1728
|
-
xs: SuperTokenConstructorParams
|
|
1729
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1730
|
-
|
|
1731
|
-
export class SuperToken__factory extends ContractFactory {
|
|
1732
|
-
constructor(...args: SuperTokenConstructorParams) {
|
|
1733
|
-
if (isSuperArgs(args)) {
|
|
1734
|
-
super(...args);
|
|
1735
|
-
} else {
|
|
1736
|
-
super(_abi, _bytecode, args[0]);
|
|
1737
|
-
}
|
|
1738
|
-
}
|
|
1739
|
-
|
|
1740
|
-
override deploy(
|
|
1741
|
-
host: string,
|
|
1742
|
-
overrides?: Overrides & { from?: string }
|
|
1743
|
-
): Promise<SuperToken> {
|
|
1744
|
-
return super.deploy(host, overrides || {}) as Promise<SuperToken>;
|
|
1745
|
-
}
|
|
1746
|
-
override getDeployTransaction(
|
|
1747
|
-
host: string,
|
|
1748
|
-
overrides?: Overrides & { from?: string }
|
|
1749
|
-
): TransactionRequest {
|
|
1750
|
-
return super.getDeployTransaction(host, overrides || {});
|
|
1751
|
-
}
|
|
1752
|
-
override attach(address: string): SuperToken {
|
|
1753
|
-
return super.attach(address) as SuperToken;
|
|
1754
|
-
}
|
|
1755
|
-
override connect(signer: Signer): SuperToken__factory {
|
|
1756
|
-
return super.connect(signer) as SuperToken__factory;
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
|
-
static readonly bytecode = _bytecode;
|
|
1760
|
-
static readonly abi = _abi;
|
|
1761
|
-
static createInterface(): SuperTokenInterface {
|
|
1762
|
-
return new utils.Interface(_abi) as SuperTokenInterface;
|
|
1763
|
-
}
|
|
1764
|
-
static connect(
|
|
1765
|
-
address: string,
|
|
1766
|
-
signerOrProvider: Signer | Provider
|
|
1767
|
-
): SuperToken {
|
|
1768
|
-
return new Contract(address, _abi, signerOrProvider) as SuperToken;
|
|
1769
|
-
}
|
|
1770
|
-
}
|