@gooddollar/goodprotocol 2.0.34-beta.4 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/artifacts/abis/UBISchemeV2.min.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Avatar.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Controller.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/IntVoteInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/ReputationInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/SchemeRegistrar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/AggregatorV3Interface.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ERC20.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAaveIncentivesController.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAdminWallet.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IDonationStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IERC2917.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IFirstClaimPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IHasRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentity.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentityV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IMultichainRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IQuoterV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ISwapRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IUBIScheme.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ProxyAdmin.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Reserve.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Uniswap.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapFactory.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapPair.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/cERC20.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBancorExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IBroker.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExpansionController.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/IMentoReserve.dbg.json +1 -1
- package/artifacts/contracts/MentoInterfaces.sol/ITradingLimits.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.dbg.json +1 -1
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
- package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IGovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IStakingUpgrade.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/RewardsMinter.dbg.json +1 -1
- package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/MultiBaseGovernanceShareField.sol/MultiBaseGovernanceShareField.dbg.json +1 -1
- package/artifacts/contracts/governance/Reputation.sol/Reputation.dbg.json +1 -1
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.dbg.json +1 -1
- package/artifacts/contracts/identity/IdentityV3.sol/IdentityV3.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesFuseV2.sol/InvitesFuseV2.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV2.sol/InvitesV2.dbg.json +1 -1
- package/artifacts/contracts/invite/OneTimeReward.sol/OneTimeReward.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionBridgeMock.sol/DistributionBridgeMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodDollarStakingMock.sol/GoodDollarStakingMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/IdentityMock.sol/IdentityMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/IWrapper.dbg.json +1 -1
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/MultichainRouterMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/IGoodDollarStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/OverMintTester.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
- package/artifacts/contracts/mocks/PayableMock.sol/PayableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/StakingMockFixedAPY.sol/StakingMockFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
- package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
- package/artifacts/contracts/reserve/CeloDistributionHelper.sol/CeloDistributionHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/DistributionHelper.sol/DistributionHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/IConsensus.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/PegSwap.dbg.json +1 -1
- package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/Math64X64.sol/Math64x64.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/StakingRewardsFixedAPY.sol/StakingRewardsFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/token/ERC20PresetMinterPauserUpgradeable.sol/ERC20PresetMinterPauserUpgradeable.dbg.json +1 -1
- package/artifacts/contracts/token/ERC677.sol/ERC677.dbg.json +1 -1
- package/artifacts/contracts/token/ERC677.sol/ERC677Receiver.dbg.json +1 -1
- package/artifacts/contracts/token/GoodDollar.sol/GoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/GoodDollar2.sol/GoodDollar2.dbg.json +1 -1
- package/artifacts/contracts/token/IFeesFormula.sol/IFeesFormula.dbg.json +1 -1
- package/artifacts/contracts/token/MultichainFeeFormula.sol/MultichainFeeFormula.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/SelfApprove.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperToken.sol/ISuperToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperfluidToken.sol/SuperfluidToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxiable.sol/UUPSProxiable.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/Proxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSUtils.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.json +2 -7
- package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.dbg.json +1 -1
- package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkWhitelist.sol/BulkWhitelist.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyFromReserveHelper.sol/BuyFromReserveHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDClone.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/DonateGDClone.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
- package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/EternalStorage.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/FuseOldBridgeKill.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/IUpgradeabilityOwnerStorage.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Initializable.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Ownable.dbg.json +1 -1
- package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Upgradeable.dbg.json +1 -1
- package/artifacts/contracts/utils/GDFaucet.sol/GDFaucet.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/IRouter.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/PausableControl.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/TokenOperation.dbg.json +1 -1
- package/artifacts/contracts/utils/IdentityFix.sol/IdentityFix.dbg.json +1 -1
- package/artifacts/contracts/utils/LastauthReduction.sol/LastauthReduction.dbg.json +1 -1
- package/artifacts/contracts/utils/MultiCall.sol/Multicall.dbg.json +1 -1
- package/artifacts/contracts/utils/MultichainBridgeHelper.sol/MultichainBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePayments.sol/OneTimePayments.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePaymentsV2.sol/OneTimePaymentsV2.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/MentoExchange.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.dbg.json +1 -1
- package/contracts/IUniswapV3.sol +2 -0
- package/contracts/fuseFaucet/Faucet.sol +6 -0
- package/contracts/fuseFaucet/FuseFaucetV2.sol +10 -0
- package/contracts/mocks/GenericDistributionHelperTest.sol +31 -0
- package/contracts/reserve/GenericDistributionHelper.sol +28 -20
- package/contracts/utils/ProxyFactory1967.sol +1 -0
- package/hardhat.config.ts +29 -21
- package/package.json +3 -2
- package/releases/deployment.json +1 -0
- package/releases/olddao.json +1 -1
- package/scripts/fv.ts +0 -2
- package/scripts/multichain-deploy/fulldeploy.sh +17 -17
- package/scripts/multichain-deploy/helpers.ts +7 -5
- package/scripts/proposals/gip-25-xdc-upgrade-ubi.ts +447 -0
- package/scripts/upgrades/upgradeFaucet.ts +46 -0
- package/test/governance/ClaimersDistribution.test.ts +1 -1
- package/test/reserve/GenericDistributionHelper.test.ts +315 -0
- package/test/ubi/UBISchemeCycle.test.ts +30 -63
- package/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -1
- package/types/@uniswap/index.ts +0 -2
- package/types/AaveMock.ts +1031 -0
- package/types/AaveStakingFactory.ts +290 -0
- package/types/AaveUSDMockOracle.ts +89 -0
- package/types/AccessControl.ts +361 -0
- package/types/AccessControlEnumerableUpgradeable.ts +444 -0
- package/types/AccessControlUpgradeable.ts +371 -0
- package/types/AdminWallet.ts +1234 -0
- package/types/AdminWalletFuse.ts +1340 -0
- package/types/AggregatorV3Interface.ts +192 -0
- package/types/Avatar.ts +121 -0
- package/types/BancorFormula.ts +974 -0
- package/types/BaseShareField.ts +442 -0
- package/types/BaseShareFieldV2.ts +361 -0
- package/types/{contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange.ts → BatUSDMockOracle.ts} +30 -22
- package/types/BuyAndBridgeHelper.ts +279 -0
- package/types/BuyGDClone.ts +383 -0
- package/types/BuyGDCloneFactory.ts +180 -0
- package/types/CBATMock.ts +1203 -0
- package/types/CDAILowWorthMock.ts +1169 -0
- package/types/CDAIMock.ts +1219 -0
- package/types/CDAINonMintableMock.ts +1169 -0
- package/types/CDecimalsMock.ts +1203 -0
- package/types/CERC20.ts +552 -0
- package/types/CSDTMock.ts +1203 -0
- package/types/CUSDCMock.ts +1203 -0
- package/types/ClaimersDistribution.ts +634 -0
- package/types/CompUSDMockOracle.ts +89 -0
- package/types/CompoundStakingFactory.ts +261 -0
- package/types/CompoundVotingMachine.ts +1718 -0
- package/types/ContextUpgradeable.ts +77 -0
- package/types/ContributionCalc.ts +164 -0
- package/types/Controller.ts +547 -0
- package/types/DAIMock.ts +1092 -0
- package/types/DAOContract.ts +162 -0
- package/types/DAOUpgradeableContract.ts +299 -0
- package/types/DaiEthPriceMockOracle.ts +89 -0
- package/types/DecimalsMock.ts +1031 -0
- package/types/DistributionBridgeMock.ts +384 -0
- package/types/{contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper.ts → DistributionHelper.ts} +351 -345
- package/types/{contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper.ts → DistributionHelperTest.ts} +361 -349
- package/types/{contracts/reserve/GenericDistributionHelper.ts → DistributionHelperTestHelper.ts} +417 -401
- package/types/DonationsStaking.ts +805 -0
- package/types/EIP712Upgradeable.ts +77 -0
- package/types/ERC165.ts +104 -0
- package/types/ERC165Upgradeable.ts +115 -0
- package/types/ERC1967Proxy.ts +147 -0
- package/types/{@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts → ERC1967Upgrade.ts} +21 -23
- package/types/ERC1967UpgradeUpgradeable.ts +116 -0
- package/types/ERC20.ts +417 -0
- package/types/ERC20BurnableUpgradeable.ts +488 -0
- package/types/ERC20PausableUpgradeable.ts +458 -0
- package/types/ERC20Permit.ts +186 -0
- package/types/ERC20PermitUpgradeable.ts +531 -0
- package/types/ERC20PresetMinterPauserUpgradeable.ts +1136 -0
- package/types/ERC20Upgradeable.ts +426 -0
- package/types/ERC20WithTokenInfo.ts +339 -0
- package/types/ERC677.ts +131 -0
- package/types/ERC677Receiver.ts +115 -0
- package/types/EthUSDMockOracle.ts +138 -0
- package/types/EventsEmitter.ts +88 -0
- package/types/ExchangeHelper.ts +550 -0
- package/types/Faucet.ts +1167 -0
- package/types/FeesFormulaMock.ts +130 -0
- package/types/FuseFaucet.ts +507 -0
- package/types/FuseFaucetV2.ts +846 -0
- package/types/FuseStakingV3.ts +1212 -0
- package/types/GDFaucet.ts +221 -0
- package/types/GReputation.ts +2119 -0
- package/types/GasPriceMockOracle.ts +118 -0
- package/types/GlobalConstraintInterface.ts +134 -0
- package/types/GoodAaveStaking.ts +1761 -0
- package/types/{contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2.ts → GoodAaveStakingV2.ts} +100 -177
- package/types/GoodCompoundStaking.ts +1847 -0
- package/types/GoodCompoundStakingTest.ts +1957 -0
- package/types/GoodCompoundStakingV2.ts +1645 -0
- package/types/{contracts/token/GoodDollar18.ts → GoodDollar.ts} +140 -278
- package/types/GoodDollarMintBurnWrapper.ts +1792 -0
- package/types/GoodDollarStaking.ts +1947 -0
- package/types/GoodDollarStakingMock.ts +1986 -0
- package/types/GoodFundManager.ts +1126 -0
- package/types/GoodFundManagerTest.ts +1165 -0
- package/types/GoodMarketMaker.ts +1002 -0
- package/types/{contracts/reserve/GoodReserveADai.ts → GoodReserveCDai.ts} +197 -343
- package/types/GovernanceStaking.ts +1295 -0
- package/types/{contracts/Interfaces.sol/IAaveIncentivesControllerV3.ts → IAaveIncentivesController.ts} +47 -48
- package/types/IAccessControl.ts +306 -0
- package/types/IAccessControlEnumerableUpgradeable.ts +380 -0
- package/types/IAccessControlUpgradeable.ts +307 -0
- package/types/IAdminWallet.ts +171 -0
- package/types/{contracts/Interfaces.sol/AToken.ts → IBeacon.ts} +30 -22
- package/types/IBeaconUpgradeable.ts +89 -0
- package/types/IConsensus.ts +225 -0
- package/types/IDonationStaking.ts +98 -0
- package/types/IERC1271Upgradeable.ts +109 -0
- package/types/IERC165.ts +104 -0
- package/types/IERC165Upgradeable.ts +104 -0
- package/types/IERC1820Registry.ts +398 -0
- package/types/IERC1822Proxiable.ts +89 -0
- package/types/IERC1822ProxiableUpgradeable.ts +90 -0
- package/types/IERC20.ts +300 -0
- package/types/IERC20Metadata.ts +339 -0
- package/types/IERC20MetadataUpgradeable.ts +340 -0
- package/types/IERC20Permit.ts +175 -0
- package/types/IERC20PermitUpgradeable.ts +176 -0
- package/types/IERC20Upgradeable.ts +300 -0
- package/types/IERC2917.ts +661 -0
- package/types/IERC777.ts +586 -0
- package/types/IERC777Recipient.ts +130 -0
- package/types/IERC777Sender.ts +130 -0
- package/types/IFeesFormula.ts +111 -0
- package/types/IFirstClaimPool.ts +136 -0
- package/types/IGoodDollar.ts +876 -0
- package/types/IGoodDollarCustom.ts +618 -0
- package/types/IGoodDollarStakingTest.ts +160 -0
- package/types/IGoodStaking.ts +264 -0
- package/types/IGovernanceStaking.ts +98 -0
- package/types/{contracts/utils/ReserveRestore.sol/MentoExchange.ts → IHasRouter.ts} +24 -22
- package/types/IIdentity.ts +508 -0
- package/types/IIdentityV2.ts +591 -0
- package/types/ILayerZeroFeeEstimator.ts +136 -0
- package/types/{contracts/Interfaces.sol/ILendingPoolV3.ts → ILendingPool.ts} +76 -89
- package/types/IMessagePassingBridge.ts +774 -0
- package/types/IMultichainRouter.ts +166 -0
- package/types/INameService.ts +86 -0
- package/types/IRouter.ts +143 -0
- package/types/IStakingUpgrade.ts +110 -0
- package/types/IStaticOracle.ts +677 -0
- package/types/ISuperAgreement.ts +151 -0
- package/types/ISuperApp.ts +410 -0
- package/types/ISuperGoodDollar.ts +3029 -0
- package/types/ISuperToken.ts +2326 -0
- package/types/ISuperTokenFactory.ts +415 -0
- package/types/ISuperfluid.ts +1565 -0
- package/types/ISuperfluidGovernance.ts +455 -0
- package/types/ISuperfluidToken.ts +951 -0
- package/types/ISwapRouter.ts +298 -0
- package/types/IUBIScheme.ts +121 -0
- package/types/IUniswapV3Factory.ts +333 -0
- package/types/IWrapper.ts +143 -0
- package/types/IdentityFix.ts +141 -0
- package/types/IdentityMock.ts +527 -0
- package/types/IdentityV2.ts +1782 -0
- package/types/IncentiveControllerMock.ts +207 -0
- package/types/Initializable.ts +77 -0
- package/types/IntVoteInterface.ts +468 -0
- package/types/InvitesFuseV2.ts +840 -0
- package/types/InvitesV1.ts +806 -0
- package/types/InvitesV2.ts +1016 -0
- package/types/LendingPoolMock.ts +1259 -0
- package/types/MultiBaseGovernanceShareField.ts +411 -0
- package/types/Multicall.ts +298 -0
- package/types/MultichainBridgeHelper.ts +170 -0
- package/types/MultichainFeeFormula.ts +130 -0
- package/types/MultichainRouterMock.ts +141 -0
- package/types/NameService.ts +386 -0
- package/types/OldMarketMaker.ts +113 -0
- package/types/OneTimePayments.ts +396 -0
- package/types/OneTimePaymentsV2.ts +456 -0
- package/types/OverMintTester.ts +176 -0
- package/types/OverMintTesterRegularStake.ts +177 -0
- package/types/OwnableUpgradeable.ts +175 -0
- package/types/Pausable.ts +103 -0
- package/types/PausableControl.ts +125 -0
- package/types/PausableUpgradeable.ts +112 -0
- package/types/PayableMock.ts +92 -0
- package/types/PegSwap.ts +112 -0
- package/types/ProtocolUpgrade.ts +272 -0
- package/types/ProtocolUpgradeFuse.ts +166 -0
- package/types/ProtocolUpgradeFuseRecover.ts +167 -0
- package/types/ProtocolUpgradeRecover.ts +264 -0
- package/types/Proxy.ts +66 -0
- package/types/ProxyAdmin.ts +254 -0
- package/types/ProxyFactory1967.ts +284 -0
- package/types/ReentrancyGuardUpgradeable.ts +78 -0
- package/types/Reputation.ts +964 -0
- package/types/ReputationInterface.ts +261 -0
- package/types/ReputationTestHelper.ts +175 -0
- package/types/Reserve.ts +112 -0
- package/types/RewardsMinter.ts +107 -0
- package/types/SchemeRegistrar.ts +164 -0
- package/types/SelfApprove.ts +115 -0
- package/types/SimpleStaking.ts +1523 -0
- package/types/SimpleStakingV2.ts +1427 -0
- package/types/SixteenDecimalsTokenMock.ts +1032 -0
- package/types/StakersDistribution.ts +949 -0
- package/types/Staking.ts +158 -0
- package/types/StakingMockFixedAPY.ts +995 -0
- package/types/StakingRewardsFixedAPY.ts +428 -0
- package/types/SuperGoodDollar.ts +3662 -0
- package/types/SuperToken.ts +2434 -0
- package/types/SuperfluidToken.ts +951 -0
- package/types/SwapHelperTest.ts +120 -0
- package/types/TokenInfo.ts +109 -0
- package/types/TwentyDecimalsTokenMock.ts +1032 -0
- package/types/UBIScheme.ts +1461 -0
- package/types/UBISchemeV2.ts +1192 -0
- package/types/USDCMock.ts +1031 -0
- package/types/UUPSProxiable.ts +183 -0
- package/types/UUPSProxy.ts +105 -0
- package/types/UUPSUpgradeable.ts +207 -0
- package/types/Uniswap.ts +423 -0
- package/types/UniswapFactory.ts +106 -0
- package/types/UniswapPair.ts +187 -0
- package/types/UniswapV2SwapHelper.ts +124 -0
- package/types/UpgradableMock.ts +349 -0
- package/types/UpgradableMock2.ts +311 -0
- package/types/UpgradableMock3.ts +336 -0
- package/types/UpgradableMock4.ts +336 -0
- package/types/contracts/index.ts +0 -4
- package/types/contracts/reserve/index.ts +0 -1
- package/types/contracts/ubi/UBISchemeV2.ts +3 -14
- package/types/contracts/utils/BuyGDClone.sol/index.ts +2 -0
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -1
- package/types/factories/@uniswap/index.ts +0 -1
- package/types/factories/AaveMock__factory.ts +740 -0
- package/types/factories/AaveStakingFactory__factory.ts +262 -0
- package/types/factories/AaveUSDMockOracle__factory.ts +75 -0
- package/types/factories/AccessControlEnumerableUpgradeable__factory.ts +292 -0
- package/types/factories/AccessControlUpgradeable__factory.ts +247 -0
- package/types/factories/AccessControl__factory.ts +227 -0
- package/types/factories/AdminWalletFuse__factory.ts +933 -0
- package/types/factories/AdminWallet__factory.ts +865 -0
- package/types/factories/AggregatorV3Interface__factory.ts +121 -0
- package/types/factories/Avatar__factory.ts +59 -0
- package/types/factories/BancorFormula__factory.ts +674 -0
- package/types/factories/BaseShareFieldV2__factory.ts +251 -0
- package/types/factories/BaseShareField__factory.ts +307 -0
- package/types/factories/BatUSDMockOracle__factory.ts +75 -0
- package/types/factories/BuyAndBridgeHelper__factory.ts +237 -0
- package/types/factories/BuyGDCloneFactory__factory.ts +196 -0
- package/types/factories/BuyGDClone__factory.ts +343 -0
- package/types/factories/CBATMock__factory.ts +844 -0
- package/types/factories/CDAILowWorthMock__factory.ts +834 -0
- package/types/factories/CDAIMock__factory.ts +857 -0
- package/types/factories/CDAINonMintableMock__factory.ts +834 -0
- package/types/factories/CDecimalsMock__factory.ts +844 -0
- package/types/factories/CERC20__factory.ts +381 -0
- package/types/factories/CSDTMock__factory.ts +844 -0
- package/types/factories/CUSDCMock__factory.ts +844 -0
- package/types/factories/ClaimersDistribution__factory.ts +430 -0
- package/types/factories/CompUSDMockOracle__factory.ts +75 -0
- package/types/factories/CompoundStakingFactory__factory.ts +249 -0
- package/types/factories/CompoundVotingMachine__factory.ts +1208 -0
- package/types/factories/ContextUpgradeable__factory.ts +39 -0
- package/types/factories/ContributionCalc__factory.ts +83 -0
- package/types/factories/Controller__factory.ts +359 -0
- package/types/factories/DAIMock__factory.ts +783 -0
- package/types/factories/DAOContract__factory.ts +118 -0
- package/types/factories/DAOUpgradeableContract__factory.ts +227 -0
- package/types/factories/DaiEthPriceMockOracle__factory.ts +79 -0
- package/types/factories/DecimalsMock__factory.ts +755 -0
- package/types/factories/DistributionBridgeMock__factory.ts +312 -0
- package/types/factories/DistributionHelperTestHelper__factory.ts +1008 -0
- package/types/factories/DistributionHelperTest__factory.ts +975 -0
- package/types/factories/DistributionHelper__factory.ts +971 -0
- package/types/factories/DonationsStaking__factory.ts +580 -0
- package/types/factories/EIP712Upgradeable__factory.ts +39 -0
- package/types/factories/ERC165Upgradeable__factory.ts +58 -0
- package/types/factories/ERC165__factory.ts +39 -0
- package/types/factories/ERC1967Proxy__factory.ts +130 -0
- package/types/factories/ERC1967UpgradeUpgradeable__factory.ts +88 -0
- package/types/factories/ERC1967Upgrade__factory.ts +71 -0
- package/types/factories/ERC20BurnableUpgradeable__factory.ts +344 -0
- package/types/factories/ERC20PausableUpgradeable__factory.ts +352 -0
- package/types/factories/ERC20PermitUpgradeable__factory.ts +388 -0
- package/types/factories/ERC20Permit__factory.ts +111 -0
- package/types/factories/ERC20PresetMinterPauserUpgradeable__factory.ts +827 -0
- package/types/factories/ERC20Upgradeable__factory.ts +345 -0
- package/types/factories/ERC20WithTokenInfo__factory.ts +248 -0
- package/types/factories/ERC20__factory.ts +285 -0
- package/types/factories/ERC677Receiver__factory.ts +55 -0
- package/types/factories/ERC677__factory.ts +75 -0
- package/types/factories/EthUSDMockOracle__factory.ts +108 -0
- package/types/factories/EventsEmitter__factory.ts +84 -0
- package/types/factories/ExchangeHelper__factory.ts +427 -0
- package/types/factories/Faucet__factory.ts +826 -0
- package/types/factories/FeesFormulaMock__factory.ts +132 -0
- package/types/factories/FuseFaucetV2__factory.ts +592 -0
- package/types/factories/FuseFaucet__factory.ts +386 -0
- package/types/factories/FuseStakingV3__factory.ts +806 -0
- package/types/factories/GDFaucet__factory.ts +188 -0
- package/types/factories/GReputation__factory.ts +1490 -0
- package/types/factories/GasPriceMockOracle__factory.ts +88 -0
- package/types/factories/GlobalConstraintInterface__factory.ts +72 -0
- package/types/factories/GoodAaveStakingV2__factory.ts +1240 -0
- package/types/factories/GoodAaveStaking__factory.ts +1276 -0
- package/types/factories/GoodCompoundStakingTest__factory.ts +1470 -0
- package/types/factories/GoodCompoundStakingV2__factory.ts +1182 -0
- package/types/factories/GoodCompoundStaking__factory.ts +1316 -0
- package/types/factories/GoodDollarMintBurnWrapper__factory.ts +1330 -0
- package/types/factories/GoodDollarStakingMock__factory.ts +1497 -0
- package/types/factories/GoodDollarStaking__factory.ts +1469 -0
- package/types/factories/{contracts/token/GoodDollar18__factory.ts → GoodDollar__factory.ts} +23 -26
- package/types/factories/GoodFundManagerTest__factory.ts +801 -0
- package/types/factories/GoodFundManager__factory.ts +759 -0
- package/types/factories/GoodMarketMaker__factory.ts +687 -0
- package/types/factories/GoodReserveCDai__factory.ts +1489 -0
- package/types/factories/GovernanceStaking__factory.ts +948 -0
- package/types/factories/{contracts/Interfaces.sol/IAaveIncentivesControllerV3__factory.ts → IAaveIncentivesController__factory.ts} +22 -27
- package/types/factories/IAccessControlEnumerableUpgradeable__factory.ts +247 -0
- package/types/factories/IAccessControlUpgradeable__factory.ts +202 -0
- package/types/factories/IAccessControl__factory.ts +198 -0
- package/types/factories/IAdminWallet__factory.ts +75 -0
- package/types/factories/{contracts/utils/ReserveRestore.sol/MentoExchange__factory.ts → IBeaconUpgradeable__factory.ts} +11 -11
- package/types/factories/IBeacon__factory.ts +36 -0
- package/types/factories/IConsensus__factory.ts +116 -0
- package/types/factories/IDonationStaking__factory.ts +33 -0
- package/types/factories/IERC1271Upgradeable__factory.ts +50 -0
- package/types/factories/IERC165Upgradeable__factory.ts +45 -0
- package/types/factories/IERC165__factory.ts +42 -0
- package/types/factories/IERC1820Registry__factory.ts +239 -0
- package/types/factories/IERC1822ProxiableUpgradeable__factory.ts +43 -0
- package/types/factories/IERC1822Proxiable__factory.ts +39 -0
- package/types/factories/IERC20MetadataUpgradeable__factory.ts +252 -0
- package/types/factories/IERC20Metadata__factory.ts +248 -0
- package/types/factories/IERC20PermitUpgradeable__factory.ts +105 -0
- package/types/factories/IERC20Permit__factory.ts +98 -0
- package/types/factories/IERC20Upgradeable__factory.ts +209 -0
- package/types/factories/IERC20__factory.ts +203 -0
- package/types/factories/IERC2917__factory.ts +493 -0
- package/types/factories/IERC777Recipient__factory.ts +64 -0
- package/types/factories/IERC777Sender__factory.ts +61 -0
- package/types/factories/IERC777__factory.ts +414 -0
- package/types/factories/IFeesFormula__factory.ts +57 -0
- package/types/factories/IFirstClaimPool__factory.ts +65 -0
- package/types/factories/IGoodDollarCustom__factory.ts +370 -0
- package/types/factories/IGoodDollarStakingTest__factory.ts +68 -0
- package/types/factories/IGoodDollar__factory.ts +595 -0
- package/types/factories/IGoodStaking__factory.ts +175 -0
- package/types/factories/IGovernanceStaking__factory.ts +39 -0
- package/types/factories/IHasRouter__factory.ts +36 -0
- package/types/factories/IIdentityV2__factory.ts +331 -0
- package/types/factories/IIdentity__factory.ts +284 -0
- package/types/factories/ILayerZeroFeeEstimator__factory.ts +79 -0
- package/types/factories/{contracts/Interfaces.sol/ILendingPoolV3__factory.ts → ILendingPool__factory.ts} +14 -32
- package/types/factories/IMessagePassingBridge__factory.ts +446 -0
- package/types/factories/IMultichainRouter__factory.ts +82 -0
- package/types/factories/INameService__factory.ts +42 -0
- package/types/factories/{@uniswap/v2-periphery/contracts/interfaces/IWETH__factory.ts → IRouter__factory.ts} +28 -24
- package/types/factories/IStakingUpgrade__factory.ts +50 -0
- package/types/factories/IStaticOracle__factory.ts +407 -0
- package/types/factories/ISuperAgreement__factory.ts +78 -0
- package/types/factories/ISuperApp__factory.ts +272 -0
- package/types/factories/ISuperGoodDollar__factory.ts +2147 -0
- package/types/factories/ISuperTokenFactory__factory.ts +271 -0
- package/types/factories/ISuperToken__factory.ts +1682 -0
- package/types/factories/ISuperfluidGovernance__factory.ts +264 -0
- package/types/factories/ISuperfluidToken__factory.ts +697 -0
- package/types/factories/ISuperfluid__factory.ts +1143 -0
- package/types/factories/ISwapRouter__factory.ts +217 -0
- package/types/factories/IUBIScheme__factory.ts +68 -0
- package/types/factories/IUniswapV3Factory__factory.ts +222 -0
- package/types/factories/IWrapper__factory.ts +71 -0
- package/types/factories/IdentityFix__factory.ts +110 -0
- package/types/factories/IdentityMock__factory.ts +346 -0
- package/types/factories/IdentityV2__factory.ts +1147 -0
- package/types/factories/IncentiveControllerMock__factory.ts +166 -0
- package/types/factories/Initializable__factory.ts +36 -0
- package/types/factories/IntVoteInterface__factory.ts +349 -0
- package/types/factories/InvitesFuseV2__factory.ts +571 -0
- package/types/factories/InvitesV1__factory.ts +553 -0
- package/types/factories/InvitesV2__factory.ts +688 -0
- package/types/factories/LendingPoolMock__factory.ts +927 -0
- package/types/factories/MultiBaseGovernanceShareField__factory.ts +240 -0
- package/types/factories/Multicall__factory.ts +215 -0
- package/types/factories/MultichainBridgeHelper__factory.ts +134 -0
- package/types/factories/MultichainFeeFormula__factory.ts +113 -0
- package/types/factories/MultichainRouterMock__factory.ts +141 -0
- package/types/factories/NameService__factory.ts +290 -0
- package/types/factories/OldMarketMaker__factory.ts +62 -0
- package/types/factories/OneTimePaymentsV2__factory.ts +369 -0
- package/types/factories/OneTimePayments__factory.ts +323 -0
- package/types/factories/OverMintTesterRegularStake__factory.ts +156 -0
- package/types/factories/OverMintTester__factory.ts +152 -0
- package/types/factories/OwnableUpgradeable__factory.ts +91 -0
- package/types/factories/PausableControl__factory.ts +84 -0
- package/types/factories/PausableUpgradeable__factory.ts +78 -0
- package/types/factories/Pausable__factory.ts +62 -0
- package/types/factories/PayableMock__factory.ts +66 -0
- package/types/factories/PegSwap__factory.ts +46 -0
- package/types/factories/ProtocolUpgradeFuseRecover__factory.ts +146 -0
- package/types/factories/ProtocolUpgradeFuse__factory.ts +142 -0
- package/types/factories/ProtocolUpgradeRecover__factory.ts +184 -0
- package/types/factories/ProtocolUpgrade__factory.ts +207 -0
- package/types/factories/ProxyAdmin__factory.ts +128 -0
- package/types/factories/ProxyFactory1967__factory.ts +223 -0
- package/types/factories/Proxy__factory.ts +28 -0
- package/types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
- package/types/factories/ReputationInterface__factory.ts +168 -0
- package/types/factories/ReputationTestHelper__factory.ts +141 -0
- package/types/factories/Reputation__factory.ts +693 -0
- package/types/factories/Reserve__factory.ts +52 -0
- package/types/factories/RewardsMinter__factory.ts +47 -0
- package/types/factories/SchemeRegistrar__factory.ts +114 -0
- package/types/factories/SelfApprove__factory.ts +46 -0
- package/types/factories/SimpleStakingV2__factory.ts +999 -0
- package/types/factories/SimpleStaking__factory.ts +1058 -0
- package/types/factories/SixteenDecimalsTokenMock__factory.ts +747 -0
- package/types/factories/StakersDistribution__factory.ts +617 -0
- package/types/factories/StakingMockFixedAPY__factory.ts +745 -0
- package/types/factories/StakingRewardsFixedAPY__factory.ts +287 -0
- package/types/factories/Staking__factory.ts +74 -0
- package/types/factories/SuperGoodDollar__factory.ts +2680 -0
- package/types/factories/SuperToken__factory.ts +1809 -0
- package/types/factories/SuperfluidToken__factory.ts +697 -0
- package/types/factories/SwapHelperTest__factory.ts +96 -0
- package/types/factories/TokenInfo__factory.ts +62 -0
- package/types/factories/TwentyDecimalsTokenMock__factory.ts +747 -0
- package/types/factories/UBISchemeV2__factory.ts +837 -0
- package/types/factories/UBIScheme__factory.ts +1034 -0
- package/types/factories/USDCMock__factory.ts +740 -0
- package/types/factories/UUPSProxiable__factory.ts +101 -0
- package/types/factories/UUPSProxy__factory.ts +80 -0
- package/types/factories/UUPSUpgradeable__factory.ts +128 -0
- package/types/factories/UniswapFactory__factory.ts +50 -0
- package/types/factories/UniswapPair__factory.ts +117 -0
- package/types/factories/UniswapV2SwapHelper__factory.ts +101 -0
- package/types/factories/Uniswap__factory.ts +272 -0
- package/types/factories/UpgradableMock2__factory.ts +236 -0
- package/types/factories/UpgradableMock3__factory.ts +249 -0
- package/types/factories/UpgradableMock4__factory.ts +249 -0
- package/types/factories/UpgradableMock__factory.ts +262 -0
- package/types/factories/contracts/index.ts +0 -2
- package/types/factories/contracts/reserve/index.ts +0 -1
- package/types/factories/contracts/ubi/UBISchemeV2__factory.ts +1 -6
- package/types/factories/contracts/utils/BuyGDClone.sol/index.ts +2 -0
- package/types/hardhat.d.ts +18 -54
- package/types/index.ts +2 -10
- package/artifacts/abis/GenericDistributionHelper.min.json +0 -1
- package/artifacts/abis/INonfungiblePositionManager.min.json +0 -1
- package/artifacts/abis/IUniswapV3Pool.min.json +0 -1
- package/artifacts/contracts/IQuoter.sol/IQuoterV2.dbg.json +0 -4
- package/artifacts/contracts/IQuoter.sol/IQuoterV2.json +0 -211
- package/artifacts/contracts/IUniswapV3.sol/INonfungiblePositionManager.dbg.json +0 -4
- package/artifacts/contracts/IUniswapV3.sol/INonfungiblePositionManager.json +0 -102
- package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.dbg.json +0 -4
- package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.json +0 -93
- package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.dbg.json +0 -4
- package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.json +0 -931
- package/contracts/IQuoter.sol +0 -108
- package/dist/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.json +0 -1099
- package/dist/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.json +0 -2627
- package/dist/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.json +0 -32
- package/dist/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.json +0 -82
- package/dist/test-sdk/deploySuperGoodDollar.d.ts +0 -6
- package/dist/test-sdk/deploySuperGoodDollar.js +0 -46
- package/dist/test-sdk/index.d.ts +0 -1
- package/dist/test-sdk/index.js +0 -13
- package/scripts/multichain-deploy/verify.ts +0 -41
- package/scripts/proposals/gip-25-xdc-upgrade.ts +0 -438
- package/types/@uniswap/v2-periphery/contracts/index.ts +0 -5
- package/types/@uniswap/v2-periphery/contracts/interfaces/IWETH.ts +0 -159
- package/types/@uniswap/v2-periphery/contracts/interfaces/index.ts +0 -4
- package/types/@uniswap/v2-periphery/index.ts +0 -5
- package/types/contracts/IQuoter.sol/IQuoterV2.ts +0 -297
- package/types/contracts/IQuoter.sol/index.ts +0 -4
- package/types/contracts/IUniswapV3.sol/INonfungiblePositionManager.ts +0 -151
- package/types/contracts/IUniswapV3.sol/IUniswapV3Factory.ts +0 -155
- package/types/contracts/IUniswapV3.sol/IUniswapV3Pool.ts +0 -179
- package/types/contracts/IUniswapV3.sol/index.ts +0 -5
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor.ts +0 -648
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable.ts +0 -843
- package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +0 -4
- package/types/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +0 -4
- package/types/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +0 -4
- package/types/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677.ts +0 -108
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.ts +0 -161
- package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +0 -5
- package/types/contracts/utils/ReserveRestore.sol/ReserveRestore.ts +0 -112
- package/types/contracts/utils/ReserveRestore.sol/index.ts +0 -5
- package/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +0 -146
- package/types/factories/@uniswap/v2-periphery/contracts/index.ts +0 -4
- package/types/factories/@uniswap/v2-periphery/contracts/interfaces/index.ts +0 -4
- package/types/factories/@uniswap/v2-periphery/index.ts +0 -4
- package/types/factories/contracts/IQuoter.sol/IQuoterV2__factory.ts +0 -226
- package/types/factories/contracts/IQuoter.sol/index.ts +0 -4
- package/types/factories/contracts/IUniswapV3.sol/INonfungiblePositionManager__factory.ts +0 -121
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Factory__factory.ts +0 -84
- package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Pool__factory.ts +0 -108
- package/types/factories/contracts/IUniswapV3.sol/index.ts +0 -5
- package/types/factories/contracts/Interfaces.sol/AToken__factory.ts +0 -36
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable__factory.ts +0 -572
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor__factory.ts +0 -482
- package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +0 -4
- package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper__factory.ts +0 -929
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper__factory.ts +0 -935
- package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +0 -4
- package/types/factories/contracts/reserve/GenericDistributionHelper__factory.ts +0 -987
- package/types/factories/contracts/reserve/GoodReserveADai__factory.ts +0 -1502
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2__factory.ts +0 -1240
- package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +0 -4
- package/types/factories/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677__factory.ts +0 -86
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange__factory.ts +0 -39
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +0 -152
- package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +0 -5
- package/types/factories/contracts/utils/ReserveRestore.sol/ReserveRestore__factory.ts +0 -95
- package/types/factories/contracts/utils/ReserveRestore.sol/index.ts +0 -5
|
@@ -0,0 +1,2147 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
ISuperGoodDollar,
|
|
9
|
+
ISuperGoodDollarInterface,
|
|
10
|
+
} from "../ISuperGoodDollar";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [],
|
|
15
|
+
name: "SF_TOKEN_AGREEMENT_ALREADY_EXISTS",
|
|
16
|
+
type: "error",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
inputs: [],
|
|
20
|
+
name: "SF_TOKEN_AGREEMENT_DOES_NOT_EXIST",
|
|
21
|
+
type: "error",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [],
|
|
25
|
+
name: "SF_TOKEN_BURN_INSUFFICIENT_BALANCE",
|
|
26
|
+
type: "error",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
inputs: [],
|
|
30
|
+
name: "SF_TOKEN_MOVE_INSUFFICIENT_BALANCE",
|
|
31
|
+
type: "error",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
inputs: [],
|
|
35
|
+
name: "SF_TOKEN_ONLY_HOST",
|
|
36
|
+
type: "error",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
inputs: [],
|
|
40
|
+
name: "SF_TOKEN_ONLY_LISTED_AGREEMENT",
|
|
41
|
+
type: "error",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
inputs: [],
|
|
45
|
+
name: "SUPER_TOKEN_APPROVE_FROM_ZERO_ADDRESS",
|
|
46
|
+
type: "error",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
inputs: [],
|
|
50
|
+
name: "SUPER_TOKEN_APPROVE_TO_ZERO_ADDRESS",
|
|
51
|
+
type: "error",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
inputs: [],
|
|
55
|
+
name: "SUPER_TOKEN_BURN_FROM_ZERO_ADDRESS",
|
|
56
|
+
type: "error",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
inputs: [],
|
|
60
|
+
name: "SUPER_TOKEN_CALLER_IS_NOT_OPERATOR_FOR_HOLDER",
|
|
61
|
+
type: "error",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
inputs: [],
|
|
65
|
+
name: "SUPER_TOKEN_INFLATIONARY_DEFLATIONARY_NOT_SUPPORTED",
|
|
66
|
+
type: "error",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
inputs: [],
|
|
70
|
+
name: "SUPER_TOKEN_MINT_TO_ZERO_ADDRESS",
|
|
71
|
+
type: "error",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
inputs: [],
|
|
75
|
+
name: "SUPER_TOKEN_NOT_ERC777_TOKENS_RECIPIENT",
|
|
76
|
+
type: "error",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [],
|
|
80
|
+
name: "SUPER_TOKEN_NO_UNDERLYING_TOKEN",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
inputs: [],
|
|
85
|
+
name: "SUPER_TOKEN_ONLY_HOST",
|
|
86
|
+
type: "error",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
inputs: [],
|
|
90
|
+
name: "SUPER_TOKEN_ONLY_SELF",
|
|
91
|
+
type: "error",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
inputs: [],
|
|
95
|
+
name: "SUPER_TOKEN_TRANSFER_FROM_ZERO_ADDRESS",
|
|
96
|
+
type: "error",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
inputs: [],
|
|
100
|
+
name: "SUPER_TOKEN_TRANSFER_TO_ZERO_ADDRESS",
|
|
101
|
+
type: "error",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
anonymous: false,
|
|
105
|
+
inputs: [
|
|
106
|
+
{
|
|
107
|
+
indexed: true,
|
|
108
|
+
internalType: "address",
|
|
109
|
+
name: "agreementClass",
|
|
110
|
+
type: "address",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
indexed: false,
|
|
114
|
+
internalType: "bytes32",
|
|
115
|
+
name: "id",
|
|
116
|
+
type: "bytes32",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
indexed: false,
|
|
120
|
+
internalType: "bytes32[]",
|
|
121
|
+
name: "data",
|
|
122
|
+
type: "bytes32[]",
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
name: "AgreementCreated",
|
|
126
|
+
type: "event",
|
|
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: true,
|
|
145
|
+
internalType: "address",
|
|
146
|
+
name: "penaltyAccount",
|
|
147
|
+
type: "address",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
indexed: true,
|
|
151
|
+
internalType: "address",
|
|
152
|
+
name: "rewardAccount",
|
|
153
|
+
type: "address",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
indexed: false,
|
|
157
|
+
internalType: "uint256",
|
|
158
|
+
name: "rewardAmount",
|
|
159
|
+
type: "uint256",
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
name: "AgreementLiquidated",
|
|
163
|
+
type: "event",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
anonymous: false,
|
|
167
|
+
inputs: [
|
|
168
|
+
{
|
|
169
|
+
indexed: false,
|
|
170
|
+
internalType: "address",
|
|
171
|
+
name: "liquidatorAccount",
|
|
172
|
+
type: "address",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
indexed: true,
|
|
176
|
+
internalType: "address",
|
|
177
|
+
name: "agreementClass",
|
|
178
|
+
type: "address",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
indexed: false,
|
|
182
|
+
internalType: "bytes32",
|
|
183
|
+
name: "id",
|
|
184
|
+
type: "bytes32",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
indexed: true,
|
|
188
|
+
internalType: "address",
|
|
189
|
+
name: "penaltyAccount",
|
|
190
|
+
type: "address",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
indexed: true,
|
|
194
|
+
internalType: "address",
|
|
195
|
+
name: "bondAccount",
|
|
196
|
+
type: "address",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
indexed: false,
|
|
200
|
+
internalType: "uint256",
|
|
201
|
+
name: "rewardAmount",
|
|
202
|
+
type: "uint256",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
indexed: false,
|
|
206
|
+
internalType: "uint256",
|
|
207
|
+
name: "bailoutAmount",
|
|
208
|
+
type: "uint256",
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
name: "AgreementLiquidatedBy",
|
|
212
|
+
type: "event",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
anonymous: false,
|
|
216
|
+
inputs: [
|
|
217
|
+
{
|
|
218
|
+
indexed: true,
|
|
219
|
+
internalType: "address",
|
|
220
|
+
name: "agreementClass",
|
|
221
|
+
type: "address",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
indexed: false,
|
|
225
|
+
internalType: "bytes32",
|
|
226
|
+
name: "id",
|
|
227
|
+
type: "bytes32",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
indexed: true,
|
|
231
|
+
internalType: "address",
|
|
232
|
+
name: "liquidatorAccount",
|
|
233
|
+
type: "address",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
indexed: true,
|
|
237
|
+
internalType: "address",
|
|
238
|
+
name: "targetAccount",
|
|
239
|
+
type: "address",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
indexed: false,
|
|
243
|
+
internalType: "address",
|
|
244
|
+
name: "rewardAmountReceiver",
|
|
245
|
+
type: "address",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
indexed: false,
|
|
249
|
+
internalType: "uint256",
|
|
250
|
+
name: "rewardAmount",
|
|
251
|
+
type: "uint256",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
indexed: false,
|
|
255
|
+
internalType: "int256",
|
|
256
|
+
name: "targetAccountBalanceDelta",
|
|
257
|
+
type: "int256",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
indexed: false,
|
|
261
|
+
internalType: "bytes",
|
|
262
|
+
name: "liquidationTypeData",
|
|
263
|
+
type: "bytes",
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
name: "AgreementLiquidatedV2",
|
|
267
|
+
type: "event",
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
anonymous: false,
|
|
271
|
+
inputs: [
|
|
272
|
+
{
|
|
273
|
+
indexed: true,
|
|
274
|
+
internalType: "address",
|
|
275
|
+
name: "agreementClass",
|
|
276
|
+
type: "address",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
indexed: true,
|
|
280
|
+
internalType: "address",
|
|
281
|
+
name: "account",
|
|
282
|
+
type: "address",
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
indexed: false,
|
|
286
|
+
internalType: "uint256",
|
|
287
|
+
name: "slotId",
|
|
288
|
+
type: "uint256",
|
|
289
|
+
},
|
|
290
|
+
],
|
|
291
|
+
name: "AgreementStateUpdated",
|
|
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: false,
|
|
305
|
+
internalType: "bytes32",
|
|
306
|
+
name: "id",
|
|
307
|
+
type: "bytes32",
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
name: "AgreementTerminated",
|
|
311
|
+
type: "event",
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
anonymous: false,
|
|
315
|
+
inputs: [
|
|
316
|
+
{
|
|
317
|
+
indexed: true,
|
|
318
|
+
internalType: "address",
|
|
319
|
+
name: "agreementClass",
|
|
320
|
+
type: "address",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
indexed: false,
|
|
324
|
+
internalType: "bytes32",
|
|
325
|
+
name: "id",
|
|
326
|
+
type: "bytes32",
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
indexed: false,
|
|
330
|
+
internalType: "bytes32[]",
|
|
331
|
+
name: "data",
|
|
332
|
+
type: "bytes32[]",
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
name: "AgreementUpdated",
|
|
336
|
+
type: "event",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
anonymous: false,
|
|
340
|
+
inputs: [
|
|
341
|
+
{
|
|
342
|
+
indexed: true,
|
|
343
|
+
internalType: "address",
|
|
344
|
+
name: "owner",
|
|
345
|
+
type: "address",
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
indexed: true,
|
|
349
|
+
internalType: "address",
|
|
350
|
+
name: "spender",
|
|
351
|
+
type: "address",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
indexed: false,
|
|
355
|
+
internalType: "uint256",
|
|
356
|
+
name: "value",
|
|
357
|
+
type: "uint256",
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
name: "Approval",
|
|
361
|
+
type: "event",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
anonymous: false,
|
|
365
|
+
inputs: [
|
|
366
|
+
{
|
|
367
|
+
indexed: true,
|
|
368
|
+
internalType: "address",
|
|
369
|
+
name: "operator",
|
|
370
|
+
type: "address",
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
indexed: true,
|
|
374
|
+
internalType: "address",
|
|
375
|
+
name: "tokenHolder",
|
|
376
|
+
type: "address",
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
name: "AuthorizedOperator",
|
|
380
|
+
type: "event",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
anonymous: false,
|
|
384
|
+
inputs: [
|
|
385
|
+
{
|
|
386
|
+
indexed: true,
|
|
387
|
+
internalType: "address",
|
|
388
|
+
name: "bailoutAccount",
|
|
389
|
+
type: "address",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
indexed: false,
|
|
393
|
+
internalType: "uint256",
|
|
394
|
+
name: "bailoutAmount",
|
|
395
|
+
type: "uint256",
|
|
396
|
+
},
|
|
397
|
+
],
|
|
398
|
+
name: "Bailout",
|
|
399
|
+
type: "event",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
anonymous: false,
|
|
403
|
+
inputs: [
|
|
404
|
+
{
|
|
405
|
+
indexed: true,
|
|
406
|
+
internalType: "address",
|
|
407
|
+
name: "operator",
|
|
408
|
+
type: "address",
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
indexed: true,
|
|
412
|
+
internalType: "address",
|
|
413
|
+
name: "from",
|
|
414
|
+
type: "address",
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
indexed: false,
|
|
418
|
+
internalType: "uint256",
|
|
419
|
+
name: "amount",
|
|
420
|
+
type: "uint256",
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
indexed: false,
|
|
424
|
+
internalType: "bytes",
|
|
425
|
+
name: "data",
|
|
426
|
+
type: "bytes",
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
indexed: false,
|
|
430
|
+
internalType: "bytes",
|
|
431
|
+
name: "operatorData",
|
|
432
|
+
type: "bytes",
|
|
433
|
+
},
|
|
434
|
+
],
|
|
435
|
+
name: "Burned",
|
|
436
|
+
type: "event",
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
anonymous: false,
|
|
440
|
+
inputs: [
|
|
441
|
+
{
|
|
442
|
+
indexed: true,
|
|
443
|
+
internalType: "address",
|
|
444
|
+
name: "operator",
|
|
445
|
+
type: "address",
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
indexed: true,
|
|
449
|
+
internalType: "address",
|
|
450
|
+
name: "to",
|
|
451
|
+
type: "address",
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
indexed: false,
|
|
455
|
+
internalType: "uint256",
|
|
456
|
+
name: "amount",
|
|
457
|
+
type: "uint256",
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
indexed: false,
|
|
461
|
+
internalType: "bytes",
|
|
462
|
+
name: "data",
|
|
463
|
+
type: "bytes",
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
indexed: false,
|
|
467
|
+
internalType: "bytes",
|
|
468
|
+
name: "operatorData",
|
|
469
|
+
type: "bytes",
|
|
470
|
+
},
|
|
471
|
+
],
|
|
472
|
+
name: "Minted",
|
|
473
|
+
type: "event",
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
anonymous: false,
|
|
477
|
+
inputs: [
|
|
478
|
+
{
|
|
479
|
+
indexed: true,
|
|
480
|
+
internalType: "address",
|
|
481
|
+
name: "operator",
|
|
482
|
+
type: "address",
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
indexed: true,
|
|
486
|
+
internalType: "address",
|
|
487
|
+
name: "tokenHolder",
|
|
488
|
+
type: "address",
|
|
489
|
+
},
|
|
490
|
+
],
|
|
491
|
+
name: "RevokedOperator",
|
|
492
|
+
type: "event",
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
anonymous: false,
|
|
496
|
+
inputs: [
|
|
497
|
+
{
|
|
498
|
+
indexed: true,
|
|
499
|
+
internalType: "address",
|
|
500
|
+
name: "operator",
|
|
501
|
+
type: "address",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
indexed: true,
|
|
505
|
+
internalType: "address",
|
|
506
|
+
name: "from",
|
|
507
|
+
type: "address",
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
indexed: true,
|
|
511
|
+
internalType: "address",
|
|
512
|
+
name: "to",
|
|
513
|
+
type: "address",
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
indexed: false,
|
|
517
|
+
internalType: "uint256",
|
|
518
|
+
name: "amount",
|
|
519
|
+
type: "uint256",
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
indexed: false,
|
|
523
|
+
internalType: "bytes",
|
|
524
|
+
name: "data",
|
|
525
|
+
type: "bytes",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
indexed: false,
|
|
529
|
+
internalType: "bytes",
|
|
530
|
+
name: "operatorData",
|
|
531
|
+
type: "bytes",
|
|
532
|
+
},
|
|
533
|
+
],
|
|
534
|
+
name: "Sent",
|
|
535
|
+
type: "event",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
anonymous: false,
|
|
539
|
+
inputs: [
|
|
540
|
+
{
|
|
541
|
+
indexed: true,
|
|
542
|
+
internalType: "address",
|
|
543
|
+
name: "account",
|
|
544
|
+
type: "address",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
indexed: false,
|
|
548
|
+
internalType: "uint256",
|
|
549
|
+
name: "amount",
|
|
550
|
+
type: "uint256",
|
|
551
|
+
},
|
|
552
|
+
],
|
|
553
|
+
name: "TokenDowngraded",
|
|
554
|
+
type: "event",
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
anonymous: false,
|
|
558
|
+
inputs: [
|
|
559
|
+
{
|
|
560
|
+
indexed: true,
|
|
561
|
+
internalType: "address",
|
|
562
|
+
name: "account",
|
|
563
|
+
type: "address",
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
indexed: false,
|
|
567
|
+
internalType: "uint256",
|
|
568
|
+
name: "amount",
|
|
569
|
+
type: "uint256",
|
|
570
|
+
},
|
|
571
|
+
],
|
|
572
|
+
name: "TokenUpgraded",
|
|
573
|
+
type: "event",
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
anonymous: false,
|
|
577
|
+
inputs: [
|
|
578
|
+
{
|
|
579
|
+
indexed: true,
|
|
580
|
+
internalType: "address",
|
|
581
|
+
name: "from",
|
|
582
|
+
type: "address",
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
indexed: true,
|
|
586
|
+
internalType: "address",
|
|
587
|
+
name: "to",
|
|
588
|
+
type: "address",
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
indexed: false,
|
|
592
|
+
internalType: "uint256",
|
|
593
|
+
name: "value",
|
|
594
|
+
type: "uint256",
|
|
595
|
+
},
|
|
596
|
+
],
|
|
597
|
+
name: "Transfer",
|
|
598
|
+
type: "event",
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
inputs: [],
|
|
602
|
+
name: "DOMAIN_SEPARATOR",
|
|
603
|
+
outputs: [
|
|
604
|
+
{
|
|
605
|
+
internalType: "bytes32",
|
|
606
|
+
name: "",
|
|
607
|
+
type: "bytes32",
|
|
608
|
+
},
|
|
609
|
+
],
|
|
610
|
+
stateMutability: "view",
|
|
611
|
+
type: "function",
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
inputs: [
|
|
615
|
+
{
|
|
616
|
+
internalType: "address",
|
|
617
|
+
name: "_minter",
|
|
618
|
+
type: "address",
|
|
619
|
+
},
|
|
620
|
+
],
|
|
621
|
+
name: "addMinter",
|
|
622
|
+
outputs: [],
|
|
623
|
+
stateMutability: "nonpayable",
|
|
624
|
+
type: "function",
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
inputs: [
|
|
628
|
+
{
|
|
629
|
+
internalType: "address",
|
|
630
|
+
name: "_pauser",
|
|
631
|
+
type: "address",
|
|
632
|
+
},
|
|
633
|
+
],
|
|
634
|
+
name: "addPauser",
|
|
635
|
+
outputs: [],
|
|
636
|
+
stateMutability: "nonpayable",
|
|
637
|
+
type: "function",
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
inputs: [
|
|
641
|
+
{
|
|
642
|
+
internalType: "address",
|
|
643
|
+
name: "owner",
|
|
644
|
+
type: "address",
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
internalType: "address",
|
|
648
|
+
name: "spender",
|
|
649
|
+
type: "address",
|
|
650
|
+
},
|
|
651
|
+
],
|
|
652
|
+
name: "allowance",
|
|
653
|
+
outputs: [
|
|
654
|
+
{
|
|
655
|
+
internalType: "uint256",
|
|
656
|
+
name: "",
|
|
657
|
+
type: "uint256",
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
stateMutability: "view",
|
|
661
|
+
type: "function",
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
inputs: [
|
|
665
|
+
{
|
|
666
|
+
internalType: "address",
|
|
667
|
+
name: "spender",
|
|
668
|
+
type: "address",
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
internalType: "uint256",
|
|
672
|
+
name: "amount",
|
|
673
|
+
type: "uint256",
|
|
674
|
+
},
|
|
675
|
+
],
|
|
676
|
+
name: "approve",
|
|
677
|
+
outputs: [
|
|
678
|
+
{
|
|
679
|
+
internalType: "bool",
|
|
680
|
+
name: "",
|
|
681
|
+
type: "bool",
|
|
682
|
+
},
|
|
683
|
+
],
|
|
684
|
+
stateMutability: "nonpayable",
|
|
685
|
+
type: "function",
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
inputs: [
|
|
689
|
+
{
|
|
690
|
+
internalType: "address",
|
|
691
|
+
name: "operator",
|
|
692
|
+
type: "address",
|
|
693
|
+
},
|
|
694
|
+
],
|
|
695
|
+
name: "authorizeOperator",
|
|
696
|
+
outputs: [],
|
|
697
|
+
stateMutability: "nonpayable",
|
|
698
|
+
type: "function",
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
inputs: [
|
|
702
|
+
{
|
|
703
|
+
internalType: "address",
|
|
704
|
+
name: "account",
|
|
705
|
+
type: "address",
|
|
706
|
+
},
|
|
707
|
+
],
|
|
708
|
+
name: "balanceOf",
|
|
709
|
+
outputs: [
|
|
710
|
+
{
|
|
711
|
+
internalType: "uint256",
|
|
712
|
+
name: "balance",
|
|
713
|
+
type: "uint256",
|
|
714
|
+
},
|
|
715
|
+
],
|
|
716
|
+
stateMutability: "view",
|
|
717
|
+
type: "function",
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
inputs: [
|
|
721
|
+
{
|
|
722
|
+
internalType: "uint256",
|
|
723
|
+
name: "amount",
|
|
724
|
+
type: "uint256",
|
|
725
|
+
},
|
|
726
|
+
],
|
|
727
|
+
name: "burn",
|
|
728
|
+
outputs: [],
|
|
729
|
+
stateMutability: "nonpayable",
|
|
730
|
+
type: "function",
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
inputs: [
|
|
734
|
+
{
|
|
735
|
+
internalType: "uint256",
|
|
736
|
+
name: "amount",
|
|
737
|
+
type: "uint256",
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
internalType: "bytes",
|
|
741
|
+
name: "data",
|
|
742
|
+
type: "bytes",
|
|
743
|
+
},
|
|
744
|
+
],
|
|
745
|
+
name: "burn",
|
|
746
|
+
outputs: [],
|
|
747
|
+
stateMutability: "nonpayable",
|
|
748
|
+
type: "function",
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
inputs: [
|
|
752
|
+
{
|
|
753
|
+
internalType: "address",
|
|
754
|
+
name: "account",
|
|
755
|
+
type: "address",
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
internalType: "uint256",
|
|
759
|
+
name: "amount",
|
|
760
|
+
type: "uint256",
|
|
761
|
+
},
|
|
762
|
+
],
|
|
763
|
+
name: "burnFrom",
|
|
764
|
+
outputs: [],
|
|
765
|
+
stateMutability: "nonpayable",
|
|
766
|
+
type: "function",
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
inputs: [],
|
|
770
|
+
name: "cap",
|
|
771
|
+
outputs: [
|
|
772
|
+
{
|
|
773
|
+
internalType: "uint256",
|
|
774
|
+
name: "",
|
|
775
|
+
type: "uint256",
|
|
776
|
+
},
|
|
777
|
+
],
|
|
778
|
+
stateMutability: "view",
|
|
779
|
+
type: "function",
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
inputs: [
|
|
783
|
+
{
|
|
784
|
+
internalType: "bytes32",
|
|
785
|
+
name: "id",
|
|
786
|
+
type: "bytes32",
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
internalType: "bytes32[]",
|
|
790
|
+
name: "data",
|
|
791
|
+
type: "bytes32[]",
|
|
792
|
+
},
|
|
793
|
+
],
|
|
794
|
+
name: "createAgreement",
|
|
795
|
+
outputs: [],
|
|
796
|
+
stateMutability: "nonpayable",
|
|
797
|
+
type: "function",
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
inputs: [],
|
|
801
|
+
name: "decimals",
|
|
802
|
+
outputs: [
|
|
803
|
+
{
|
|
804
|
+
internalType: "uint8",
|
|
805
|
+
name: "",
|
|
806
|
+
type: "uint8",
|
|
807
|
+
},
|
|
808
|
+
],
|
|
809
|
+
stateMutability: "view",
|
|
810
|
+
type: "function",
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
inputs: [
|
|
814
|
+
{
|
|
815
|
+
internalType: "address",
|
|
816
|
+
name: "spender",
|
|
817
|
+
type: "address",
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
internalType: "uint256",
|
|
821
|
+
name: "subtractedValue",
|
|
822
|
+
type: "uint256",
|
|
823
|
+
},
|
|
824
|
+
],
|
|
825
|
+
name: "decreaseAllowance",
|
|
826
|
+
outputs: [
|
|
827
|
+
{
|
|
828
|
+
internalType: "bool",
|
|
829
|
+
name: "",
|
|
830
|
+
type: "bool",
|
|
831
|
+
},
|
|
832
|
+
],
|
|
833
|
+
stateMutability: "nonpayable",
|
|
834
|
+
type: "function",
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
inputs: [],
|
|
838
|
+
name: "defaultOperators",
|
|
839
|
+
outputs: [
|
|
840
|
+
{
|
|
841
|
+
internalType: "address[]",
|
|
842
|
+
name: "",
|
|
843
|
+
type: "address[]",
|
|
844
|
+
},
|
|
845
|
+
],
|
|
846
|
+
stateMutability: "view",
|
|
847
|
+
type: "function",
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
inputs: [
|
|
851
|
+
{
|
|
852
|
+
internalType: "uint256",
|
|
853
|
+
name: "amount",
|
|
854
|
+
type: "uint256",
|
|
855
|
+
},
|
|
856
|
+
],
|
|
857
|
+
name: "downgrade",
|
|
858
|
+
outputs: [],
|
|
859
|
+
stateMutability: "nonpayable",
|
|
860
|
+
type: "function",
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
inputs: [],
|
|
864
|
+
name: "feeRecipient",
|
|
865
|
+
outputs: [
|
|
866
|
+
{
|
|
867
|
+
internalType: "address",
|
|
868
|
+
name: "",
|
|
869
|
+
type: "address",
|
|
870
|
+
},
|
|
871
|
+
],
|
|
872
|
+
stateMutability: "view",
|
|
873
|
+
type: "function",
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
inputs: [],
|
|
877
|
+
name: "formula",
|
|
878
|
+
outputs: [
|
|
879
|
+
{
|
|
880
|
+
internalType: "contract IFeesFormula",
|
|
881
|
+
name: "",
|
|
882
|
+
type: "address",
|
|
883
|
+
},
|
|
884
|
+
],
|
|
885
|
+
stateMutability: "view",
|
|
886
|
+
type: "function",
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
inputs: [
|
|
890
|
+
{
|
|
891
|
+
internalType: "address",
|
|
892
|
+
name: "account",
|
|
893
|
+
type: "address",
|
|
894
|
+
},
|
|
895
|
+
],
|
|
896
|
+
name: "getAccountActiveAgreements",
|
|
897
|
+
outputs: [
|
|
898
|
+
{
|
|
899
|
+
internalType: "contract ISuperAgreement[]",
|
|
900
|
+
name: "activeAgreements",
|
|
901
|
+
type: "address[]",
|
|
902
|
+
},
|
|
903
|
+
],
|
|
904
|
+
stateMutability: "view",
|
|
905
|
+
type: "function",
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
inputs: [
|
|
909
|
+
{
|
|
910
|
+
internalType: "address",
|
|
911
|
+
name: "agreementClass",
|
|
912
|
+
type: "address",
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
internalType: "bytes32",
|
|
916
|
+
name: "id",
|
|
917
|
+
type: "bytes32",
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
internalType: "uint256",
|
|
921
|
+
name: "dataLength",
|
|
922
|
+
type: "uint256",
|
|
923
|
+
},
|
|
924
|
+
],
|
|
925
|
+
name: "getAgreementData",
|
|
926
|
+
outputs: [
|
|
927
|
+
{
|
|
928
|
+
internalType: "bytes32[]",
|
|
929
|
+
name: "data",
|
|
930
|
+
type: "bytes32[]",
|
|
931
|
+
},
|
|
932
|
+
],
|
|
933
|
+
stateMutability: "view",
|
|
934
|
+
type: "function",
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
inputs: [
|
|
938
|
+
{
|
|
939
|
+
internalType: "address",
|
|
940
|
+
name: "agreementClass",
|
|
941
|
+
type: "address",
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
internalType: "address",
|
|
945
|
+
name: "account",
|
|
946
|
+
type: "address",
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
internalType: "uint256",
|
|
950
|
+
name: "slotId",
|
|
951
|
+
type: "uint256",
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
internalType: "uint256",
|
|
955
|
+
name: "dataLength",
|
|
956
|
+
type: "uint256",
|
|
957
|
+
},
|
|
958
|
+
],
|
|
959
|
+
name: "getAgreementStateSlot",
|
|
960
|
+
outputs: [
|
|
961
|
+
{
|
|
962
|
+
internalType: "bytes32[]",
|
|
963
|
+
name: "slotData",
|
|
964
|
+
type: "bytes32[]",
|
|
965
|
+
},
|
|
966
|
+
],
|
|
967
|
+
stateMutability: "view",
|
|
968
|
+
type: "function",
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
inputs: [
|
|
972
|
+
{
|
|
973
|
+
internalType: "uint256",
|
|
974
|
+
name: "value",
|
|
975
|
+
type: "uint256",
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
internalType: "address",
|
|
979
|
+
name: "sender",
|
|
980
|
+
type: "address",
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
internalType: "address",
|
|
984
|
+
name: "recipient",
|
|
985
|
+
type: "address",
|
|
986
|
+
},
|
|
987
|
+
],
|
|
988
|
+
name: "getFees",
|
|
989
|
+
outputs: [
|
|
990
|
+
{
|
|
991
|
+
internalType: "uint256",
|
|
992
|
+
name: "fee",
|
|
993
|
+
type: "uint256",
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
internalType: "bool",
|
|
997
|
+
name: "senderPays",
|
|
998
|
+
type: "bool",
|
|
999
|
+
},
|
|
1000
|
+
],
|
|
1001
|
+
stateMutability: "view",
|
|
1002
|
+
type: "function",
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
inputs: [
|
|
1006
|
+
{
|
|
1007
|
+
internalType: "uint256",
|
|
1008
|
+
name: "value",
|
|
1009
|
+
type: "uint256",
|
|
1010
|
+
},
|
|
1011
|
+
],
|
|
1012
|
+
name: "getFees",
|
|
1013
|
+
outputs: [
|
|
1014
|
+
{
|
|
1015
|
+
internalType: "uint256",
|
|
1016
|
+
name: "fee",
|
|
1017
|
+
type: "uint256",
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
internalType: "bool",
|
|
1021
|
+
name: "senderPays",
|
|
1022
|
+
type: "bool",
|
|
1023
|
+
},
|
|
1024
|
+
],
|
|
1025
|
+
stateMutability: "view",
|
|
1026
|
+
type: "function",
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
inputs: [],
|
|
1030
|
+
name: "getHost",
|
|
1031
|
+
outputs: [
|
|
1032
|
+
{
|
|
1033
|
+
internalType: "address",
|
|
1034
|
+
name: "host",
|
|
1035
|
+
type: "address",
|
|
1036
|
+
},
|
|
1037
|
+
],
|
|
1038
|
+
stateMutability: "view",
|
|
1039
|
+
type: "function",
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
inputs: [],
|
|
1043
|
+
name: "getUnderlyingToken",
|
|
1044
|
+
outputs: [
|
|
1045
|
+
{
|
|
1046
|
+
internalType: "address",
|
|
1047
|
+
name: "tokenAddr",
|
|
1048
|
+
type: "address",
|
|
1049
|
+
},
|
|
1050
|
+
],
|
|
1051
|
+
stateMutability: "view",
|
|
1052
|
+
type: "function",
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
inputs: [],
|
|
1056
|
+
name: "granularity",
|
|
1057
|
+
outputs: [
|
|
1058
|
+
{
|
|
1059
|
+
internalType: "uint256",
|
|
1060
|
+
name: "",
|
|
1061
|
+
type: "uint256",
|
|
1062
|
+
},
|
|
1063
|
+
],
|
|
1064
|
+
stateMutability: "view",
|
|
1065
|
+
type: "function",
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
inputs: [],
|
|
1069
|
+
name: "identity",
|
|
1070
|
+
outputs: [
|
|
1071
|
+
{
|
|
1072
|
+
internalType: "contract IIdentity",
|
|
1073
|
+
name: "",
|
|
1074
|
+
type: "address",
|
|
1075
|
+
},
|
|
1076
|
+
],
|
|
1077
|
+
stateMutability: "view",
|
|
1078
|
+
type: "function",
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
inputs: [
|
|
1082
|
+
{
|
|
1083
|
+
internalType: "address",
|
|
1084
|
+
name: "spender",
|
|
1085
|
+
type: "address",
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
internalType: "uint256",
|
|
1089
|
+
name: "addedValue",
|
|
1090
|
+
type: "uint256",
|
|
1091
|
+
},
|
|
1092
|
+
],
|
|
1093
|
+
name: "increaseAllowance",
|
|
1094
|
+
outputs: [
|
|
1095
|
+
{
|
|
1096
|
+
internalType: "bool",
|
|
1097
|
+
name: "",
|
|
1098
|
+
type: "bool",
|
|
1099
|
+
},
|
|
1100
|
+
],
|
|
1101
|
+
stateMutability: "nonpayable",
|
|
1102
|
+
type: "function",
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
inputs: [
|
|
1106
|
+
{
|
|
1107
|
+
internalType: "contract IERC20",
|
|
1108
|
+
name: "underlyingToken",
|
|
1109
|
+
type: "address",
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
internalType: "uint8",
|
|
1113
|
+
name: "underlyingDecimals",
|
|
1114
|
+
type: "uint8",
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
internalType: "string",
|
|
1118
|
+
name: "n",
|
|
1119
|
+
type: "string",
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
internalType: "string",
|
|
1123
|
+
name: "s",
|
|
1124
|
+
type: "string",
|
|
1125
|
+
},
|
|
1126
|
+
],
|
|
1127
|
+
name: "initialize",
|
|
1128
|
+
outputs: [],
|
|
1129
|
+
stateMutability: "nonpayable",
|
|
1130
|
+
type: "function",
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
inputs: [
|
|
1134
|
+
{
|
|
1135
|
+
internalType: "string",
|
|
1136
|
+
name: "name",
|
|
1137
|
+
type: "string",
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
internalType: "string",
|
|
1141
|
+
name: "symbol",
|
|
1142
|
+
type: "string",
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
internalType: "uint256",
|
|
1146
|
+
name: "_cap",
|
|
1147
|
+
type: "uint256",
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
internalType: "contract IFeesFormula",
|
|
1151
|
+
name: "_formula",
|
|
1152
|
+
type: "address",
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
internalType: "contract IIdentity",
|
|
1156
|
+
name: "_identity",
|
|
1157
|
+
type: "address",
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
internalType: "address",
|
|
1161
|
+
name: "_feeRecipient",
|
|
1162
|
+
type: "address",
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
internalType: "address",
|
|
1166
|
+
name: "_owner",
|
|
1167
|
+
type: "address",
|
|
1168
|
+
},
|
|
1169
|
+
],
|
|
1170
|
+
name: "initialize",
|
|
1171
|
+
outputs: [],
|
|
1172
|
+
stateMutability: "nonpayable",
|
|
1173
|
+
type: "function",
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
inputs: [
|
|
1177
|
+
{
|
|
1178
|
+
internalType: "address",
|
|
1179
|
+
name: "account",
|
|
1180
|
+
type: "address",
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
internalType: "uint256",
|
|
1184
|
+
name: "timestamp",
|
|
1185
|
+
type: "uint256",
|
|
1186
|
+
},
|
|
1187
|
+
],
|
|
1188
|
+
name: "isAccountCritical",
|
|
1189
|
+
outputs: [
|
|
1190
|
+
{
|
|
1191
|
+
internalType: "bool",
|
|
1192
|
+
name: "isCritical",
|
|
1193
|
+
type: "bool",
|
|
1194
|
+
},
|
|
1195
|
+
],
|
|
1196
|
+
stateMutability: "view",
|
|
1197
|
+
type: "function",
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
inputs: [
|
|
1201
|
+
{
|
|
1202
|
+
internalType: "address",
|
|
1203
|
+
name: "account",
|
|
1204
|
+
type: "address",
|
|
1205
|
+
},
|
|
1206
|
+
],
|
|
1207
|
+
name: "isAccountCriticalNow",
|
|
1208
|
+
outputs: [
|
|
1209
|
+
{
|
|
1210
|
+
internalType: "bool",
|
|
1211
|
+
name: "isCritical",
|
|
1212
|
+
type: "bool",
|
|
1213
|
+
},
|
|
1214
|
+
],
|
|
1215
|
+
stateMutability: "view",
|
|
1216
|
+
type: "function",
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
inputs: [
|
|
1220
|
+
{
|
|
1221
|
+
internalType: "address",
|
|
1222
|
+
name: "account",
|
|
1223
|
+
type: "address",
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
internalType: "uint256",
|
|
1227
|
+
name: "timestamp",
|
|
1228
|
+
type: "uint256",
|
|
1229
|
+
},
|
|
1230
|
+
],
|
|
1231
|
+
name: "isAccountSolvent",
|
|
1232
|
+
outputs: [
|
|
1233
|
+
{
|
|
1234
|
+
internalType: "bool",
|
|
1235
|
+
name: "isSolvent",
|
|
1236
|
+
type: "bool",
|
|
1237
|
+
},
|
|
1238
|
+
],
|
|
1239
|
+
stateMutability: "view",
|
|
1240
|
+
type: "function",
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
inputs: [
|
|
1244
|
+
{
|
|
1245
|
+
internalType: "address",
|
|
1246
|
+
name: "account",
|
|
1247
|
+
type: "address",
|
|
1248
|
+
},
|
|
1249
|
+
],
|
|
1250
|
+
name: "isAccountSolventNow",
|
|
1251
|
+
outputs: [
|
|
1252
|
+
{
|
|
1253
|
+
internalType: "bool",
|
|
1254
|
+
name: "isSolvent",
|
|
1255
|
+
type: "bool",
|
|
1256
|
+
},
|
|
1257
|
+
],
|
|
1258
|
+
stateMutability: "view",
|
|
1259
|
+
type: "function",
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
inputs: [
|
|
1263
|
+
{
|
|
1264
|
+
internalType: "address",
|
|
1265
|
+
name: "_minter",
|
|
1266
|
+
type: "address",
|
|
1267
|
+
},
|
|
1268
|
+
],
|
|
1269
|
+
name: "isMinter",
|
|
1270
|
+
outputs: [
|
|
1271
|
+
{
|
|
1272
|
+
internalType: "bool",
|
|
1273
|
+
name: "",
|
|
1274
|
+
type: "bool",
|
|
1275
|
+
},
|
|
1276
|
+
],
|
|
1277
|
+
stateMutability: "view",
|
|
1278
|
+
type: "function",
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
inputs: [
|
|
1282
|
+
{
|
|
1283
|
+
internalType: "address",
|
|
1284
|
+
name: "operator",
|
|
1285
|
+
type: "address",
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
internalType: "address",
|
|
1289
|
+
name: "tokenHolder",
|
|
1290
|
+
type: "address",
|
|
1291
|
+
},
|
|
1292
|
+
],
|
|
1293
|
+
name: "isOperatorFor",
|
|
1294
|
+
outputs: [
|
|
1295
|
+
{
|
|
1296
|
+
internalType: "bool",
|
|
1297
|
+
name: "",
|
|
1298
|
+
type: "bool",
|
|
1299
|
+
},
|
|
1300
|
+
],
|
|
1301
|
+
stateMutability: "view",
|
|
1302
|
+
type: "function",
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
inputs: [
|
|
1306
|
+
{
|
|
1307
|
+
internalType: "address",
|
|
1308
|
+
name: "_pauser",
|
|
1309
|
+
type: "address",
|
|
1310
|
+
},
|
|
1311
|
+
],
|
|
1312
|
+
name: "isPauser",
|
|
1313
|
+
outputs: [
|
|
1314
|
+
{
|
|
1315
|
+
internalType: "bool",
|
|
1316
|
+
name: "",
|
|
1317
|
+
type: "bool",
|
|
1318
|
+
},
|
|
1319
|
+
],
|
|
1320
|
+
stateMutability: "view",
|
|
1321
|
+
type: "function",
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
inputs: [
|
|
1325
|
+
{
|
|
1326
|
+
internalType: "bytes32",
|
|
1327
|
+
name: "id",
|
|
1328
|
+
type: "bytes32",
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
internalType: "bytes",
|
|
1332
|
+
name: "liquidationTypeData",
|
|
1333
|
+
type: "bytes",
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
internalType: "address",
|
|
1337
|
+
name: "liquidatorAccount",
|
|
1338
|
+
type: "address",
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
internalType: "bool",
|
|
1342
|
+
name: "useDefaultRewardAccount",
|
|
1343
|
+
type: "bool",
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
internalType: "address",
|
|
1347
|
+
name: "targetAccount",
|
|
1348
|
+
type: "address",
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
internalType: "uint256",
|
|
1352
|
+
name: "rewardAmount",
|
|
1353
|
+
type: "uint256",
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
internalType: "int256",
|
|
1357
|
+
name: "targetAccountBalanceDelta",
|
|
1358
|
+
type: "int256",
|
|
1359
|
+
},
|
|
1360
|
+
],
|
|
1361
|
+
name: "makeLiquidationPayoutsV2",
|
|
1362
|
+
outputs: [],
|
|
1363
|
+
stateMutability: "nonpayable",
|
|
1364
|
+
type: "function",
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
inputs: [
|
|
1368
|
+
{
|
|
1369
|
+
internalType: "address",
|
|
1370
|
+
name: "to",
|
|
1371
|
+
type: "address",
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
internalType: "uint256",
|
|
1375
|
+
name: "amount",
|
|
1376
|
+
type: "uint256",
|
|
1377
|
+
},
|
|
1378
|
+
],
|
|
1379
|
+
name: "mint",
|
|
1380
|
+
outputs: [
|
|
1381
|
+
{
|
|
1382
|
+
internalType: "bool",
|
|
1383
|
+
name: "",
|
|
1384
|
+
type: "bool",
|
|
1385
|
+
},
|
|
1386
|
+
],
|
|
1387
|
+
stateMutability: "nonpayable",
|
|
1388
|
+
type: "function",
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
inputs: [],
|
|
1392
|
+
name: "name",
|
|
1393
|
+
outputs: [
|
|
1394
|
+
{
|
|
1395
|
+
internalType: "string",
|
|
1396
|
+
name: "",
|
|
1397
|
+
type: "string",
|
|
1398
|
+
},
|
|
1399
|
+
],
|
|
1400
|
+
stateMutability: "view",
|
|
1401
|
+
type: "function",
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
inputs: [
|
|
1405
|
+
{
|
|
1406
|
+
internalType: "address",
|
|
1407
|
+
name: "owner",
|
|
1408
|
+
type: "address",
|
|
1409
|
+
},
|
|
1410
|
+
],
|
|
1411
|
+
name: "nonces",
|
|
1412
|
+
outputs: [
|
|
1413
|
+
{
|
|
1414
|
+
internalType: "uint256",
|
|
1415
|
+
name: "",
|
|
1416
|
+
type: "uint256",
|
|
1417
|
+
},
|
|
1418
|
+
],
|
|
1419
|
+
stateMutability: "view",
|
|
1420
|
+
type: "function",
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
inputs: [
|
|
1424
|
+
{
|
|
1425
|
+
internalType: "address",
|
|
1426
|
+
name: "account",
|
|
1427
|
+
type: "address",
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
internalType: "address",
|
|
1431
|
+
name: "spender",
|
|
1432
|
+
type: "address",
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
internalType: "uint256",
|
|
1436
|
+
name: "amount",
|
|
1437
|
+
type: "uint256",
|
|
1438
|
+
},
|
|
1439
|
+
],
|
|
1440
|
+
name: "operationApprove",
|
|
1441
|
+
outputs: [],
|
|
1442
|
+
stateMutability: "nonpayable",
|
|
1443
|
+
type: "function",
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
inputs: [
|
|
1447
|
+
{
|
|
1448
|
+
internalType: "address",
|
|
1449
|
+
name: "account",
|
|
1450
|
+
type: "address",
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
internalType: "uint256",
|
|
1454
|
+
name: "amount",
|
|
1455
|
+
type: "uint256",
|
|
1456
|
+
},
|
|
1457
|
+
],
|
|
1458
|
+
name: "operationDowngrade",
|
|
1459
|
+
outputs: [],
|
|
1460
|
+
stateMutability: "nonpayable",
|
|
1461
|
+
type: "function",
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
inputs: [
|
|
1465
|
+
{
|
|
1466
|
+
internalType: "address",
|
|
1467
|
+
name: "account",
|
|
1468
|
+
type: "address",
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
internalType: "address",
|
|
1472
|
+
name: "spender",
|
|
1473
|
+
type: "address",
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
internalType: "address",
|
|
1477
|
+
name: "recipient",
|
|
1478
|
+
type: "address",
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
internalType: "uint256",
|
|
1482
|
+
name: "amount",
|
|
1483
|
+
type: "uint256",
|
|
1484
|
+
},
|
|
1485
|
+
],
|
|
1486
|
+
name: "operationTransferFrom",
|
|
1487
|
+
outputs: [],
|
|
1488
|
+
stateMutability: "nonpayable",
|
|
1489
|
+
type: "function",
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
inputs: [
|
|
1493
|
+
{
|
|
1494
|
+
internalType: "address",
|
|
1495
|
+
name: "account",
|
|
1496
|
+
type: "address",
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
internalType: "uint256",
|
|
1500
|
+
name: "amount",
|
|
1501
|
+
type: "uint256",
|
|
1502
|
+
},
|
|
1503
|
+
],
|
|
1504
|
+
name: "operationUpgrade",
|
|
1505
|
+
outputs: [],
|
|
1506
|
+
stateMutability: "nonpayable",
|
|
1507
|
+
type: "function",
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
inputs: [
|
|
1511
|
+
{
|
|
1512
|
+
internalType: "address",
|
|
1513
|
+
name: "account",
|
|
1514
|
+
type: "address",
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
internalType: "uint256",
|
|
1518
|
+
name: "amount",
|
|
1519
|
+
type: "uint256",
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
internalType: "bytes",
|
|
1523
|
+
name: "data",
|
|
1524
|
+
type: "bytes",
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
internalType: "bytes",
|
|
1528
|
+
name: "operatorData",
|
|
1529
|
+
type: "bytes",
|
|
1530
|
+
},
|
|
1531
|
+
],
|
|
1532
|
+
name: "operatorBurn",
|
|
1533
|
+
outputs: [],
|
|
1534
|
+
stateMutability: "nonpayable",
|
|
1535
|
+
type: "function",
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
inputs: [
|
|
1539
|
+
{
|
|
1540
|
+
internalType: "address",
|
|
1541
|
+
name: "sender",
|
|
1542
|
+
type: "address",
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
internalType: "address",
|
|
1546
|
+
name: "recipient",
|
|
1547
|
+
type: "address",
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
internalType: "uint256",
|
|
1551
|
+
name: "amount",
|
|
1552
|
+
type: "uint256",
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
internalType: "bytes",
|
|
1556
|
+
name: "data",
|
|
1557
|
+
type: "bytes",
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
internalType: "bytes",
|
|
1561
|
+
name: "operatorData",
|
|
1562
|
+
type: "bytes",
|
|
1563
|
+
},
|
|
1564
|
+
],
|
|
1565
|
+
name: "operatorSend",
|
|
1566
|
+
outputs: [],
|
|
1567
|
+
stateMutability: "nonpayable",
|
|
1568
|
+
type: "function",
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
inputs: [],
|
|
1572
|
+
name: "owner",
|
|
1573
|
+
outputs: [
|
|
1574
|
+
{
|
|
1575
|
+
internalType: "address",
|
|
1576
|
+
name: "",
|
|
1577
|
+
type: "address",
|
|
1578
|
+
},
|
|
1579
|
+
],
|
|
1580
|
+
stateMutability: "view",
|
|
1581
|
+
type: "function",
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
inputs: [],
|
|
1585
|
+
name: "pause",
|
|
1586
|
+
outputs: [],
|
|
1587
|
+
stateMutability: "nonpayable",
|
|
1588
|
+
type: "function",
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
inputs: [
|
|
1592
|
+
{
|
|
1593
|
+
internalType: "address",
|
|
1594
|
+
name: "owner",
|
|
1595
|
+
type: "address",
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
internalType: "address",
|
|
1599
|
+
name: "spender",
|
|
1600
|
+
type: "address",
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
internalType: "uint256",
|
|
1604
|
+
name: "value",
|
|
1605
|
+
type: "uint256",
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
internalType: "uint256",
|
|
1609
|
+
name: "deadline",
|
|
1610
|
+
type: "uint256",
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
internalType: "uint8",
|
|
1614
|
+
name: "v",
|
|
1615
|
+
type: "uint8",
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
internalType: "bytes32",
|
|
1619
|
+
name: "r",
|
|
1620
|
+
type: "bytes32",
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
internalType: "bytes32",
|
|
1624
|
+
name: "s",
|
|
1625
|
+
type: "bytes32",
|
|
1626
|
+
},
|
|
1627
|
+
],
|
|
1628
|
+
name: "permit",
|
|
1629
|
+
outputs: [],
|
|
1630
|
+
stateMutability: "nonpayable",
|
|
1631
|
+
type: "function",
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
inputs: [
|
|
1635
|
+
{
|
|
1636
|
+
internalType: "address",
|
|
1637
|
+
name: "account",
|
|
1638
|
+
type: "address",
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
internalType: "uint256",
|
|
1642
|
+
name: "timestamp",
|
|
1643
|
+
type: "uint256",
|
|
1644
|
+
},
|
|
1645
|
+
],
|
|
1646
|
+
name: "realtimeBalanceOf",
|
|
1647
|
+
outputs: [
|
|
1648
|
+
{
|
|
1649
|
+
internalType: "int256",
|
|
1650
|
+
name: "availableBalance",
|
|
1651
|
+
type: "int256",
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
internalType: "uint256",
|
|
1655
|
+
name: "deposit",
|
|
1656
|
+
type: "uint256",
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
internalType: "uint256",
|
|
1660
|
+
name: "owedDeposit",
|
|
1661
|
+
type: "uint256",
|
|
1662
|
+
},
|
|
1663
|
+
],
|
|
1664
|
+
stateMutability: "view",
|
|
1665
|
+
type: "function",
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
inputs: [
|
|
1669
|
+
{
|
|
1670
|
+
internalType: "address",
|
|
1671
|
+
name: "account",
|
|
1672
|
+
type: "address",
|
|
1673
|
+
},
|
|
1674
|
+
],
|
|
1675
|
+
name: "realtimeBalanceOfNow",
|
|
1676
|
+
outputs: [
|
|
1677
|
+
{
|
|
1678
|
+
internalType: "int256",
|
|
1679
|
+
name: "availableBalance",
|
|
1680
|
+
type: "int256",
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
internalType: "uint256",
|
|
1684
|
+
name: "deposit",
|
|
1685
|
+
type: "uint256",
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
internalType: "uint256",
|
|
1689
|
+
name: "owedDeposit",
|
|
1690
|
+
type: "uint256",
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
internalType: "uint256",
|
|
1694
|
+
name: "timestamp",
|
|
1695
|
+
type: "uint256",
|
|
1696
|
+
},
|
|
1697
|
+
],
|
|
1698
|
+
stateMutability: "view",
|
|
1699
|
+
type: "function",
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
inputs: [],
|
|
1703
|
+
name: "renounceMinter",
|
|
1704
|
+
outputs: [],
|
|
1705
|
+
stateMutability: "nonpayable",
|
|
1706
|
+
type: "function",
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
inputs: [
|
|
1710
|
+
{
|
|
1711
|
+
internalType: "address",
|
|
1712
|
+
name: "operator",
|
|
1713
|
+
type: "address",
|
|
1714
|
+
},
|
|
1715
|
+
],
|
|
1716
|
+
name: "revokeOperator",
|
|
1717
|
+
outputs: [],
|
|
1718
|
+
stateMutability: "nonpayable",
|
|
1719
|
+
type: "function",
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
inputs: [
|
|
1723
|
+
{
|
|
1724
|
+
internalType: "address",
|
|
1725
|
+
name: "account",
|
|
1726
|
+
type: "address",
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
internalType: "address",
|
|
1730
|
+
name: "spender",
|
|
1731
|
+
type: "address",
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
internalType: "uint256",
|
|
1735
|
+
name: "amount",
|
|
1736
|
+
type: "uint256",
|
|
1737
|
+
},
|
|
1738
|
+
],
|
|
1739
|
+
name: "selfApproveFor",
|
|
1740
|
+
outputs: [],
|
|
1741
|
+
stateMutability: "nonpayable",
|
|
1742
|
+
type: "function",
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
inputs: [
|
|
1746
|
+
{
|
|
1747
|
+
internalType: "address",
|
|
1748
|
+
name: "account",
|
|
1749
|
+
type: "address",
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
internalType: "uint256",
|
|
1753
|
+
name: "amount",
|
|
1754
|
+
type: "uint256",
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
internalType: "bytes",
|
|
1758
|
+
name: "userData",
|
|
1759
|
+
type: "bytes",
|
|
1760
|
+
},
|
|
1761
|
+
],
|
|
1762
|
+
name: "selfBurn",
|
|
1763
|
+
outputs: [],
|
|
1764
|
+
stateMutability: "nonpayable",
|
|
1765
|
+
type: "function",
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
inputs: [
|
|
1769
|
+
{
|
|
1770
|
+
internalType: "address",
|
|
1771
|
+
name: "account",
|
|
1772
|
+
type: "address",
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
internalType: "uint256",
|
|
1776
|
+
name: "amount",
|
|
1777
|
+
type: "uint256",
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
internalType: "bytes",
|
|
1781
|
+
name: "userData",
|
|
1782
|
+
type: "bytes",
|
|
1783
|
+
},
|
|
1784
|
+
],
|
|
1785
|
+
name: "selfMint",
|
|
1786
|
+
outputs: [],
|
|
1787
|
+
stateMutability: "nonpayable",
|
|
1788
|
+
type: "function",
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
inputs: [
|
|
1792
|
+
{
|
|
1793
|
+
internalType: "address",
|
|
1794
|
+
name: "sender",
|
|
1795
|
+
type: "address",
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
internalType: "address",
|
|
1799
|
+
name: "spender",
|
|
1800
|
+
type: "address",
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
internalType: "address",
|
|
1804
|
+
name: "recipient",
|
|
1805
|
+
type: "address",
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
internalType: "uint256",
|
|
1809
|
+
name: "amount",
|
|
1810
|
+
type: "uint256",
|
|
1811
|
+
},
|
|
1812
|
+
],
|
|
1813
|
+
name: "selfTransferFrom",
|
|
1814
|
+
outputs: [],
|
|
1815
|
+
stateMutability: "nonpayable",
|
|
1816
|
+
type: "function",
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
inputs: [
|
|
1820
|
+
{
|
|
1821
|
+
internalType: "address",
|
|
1822
|
+
name: "recipient",
|
|
1823
|
+
type: "address",
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
internalType: "uint256",
|
|
1827
|
+
name: "amount",
|
|
1828
|
+
type: "uint256",
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
internalType: "bytes",
|
|
1832
|
+
name: "data",
|
|
1833
|
+
type: "bytes",
|
|
1834
|
+
},
|
|
1835
|
+
],
|
|
1836
|
+
name: "send",
|
|
1837
|
+
outputs: [],
|
|
1838
|
+
stateMutability: "nonpayable",
|
|
1839
|
+
type: "function",
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
inputs: [
|
|
1843
|
+
{
|
|
1844
|
+
internalType: "address",
|
|
1845
|
+
name: "_feeRecipient",
|
|
1846
|
+
type: "address",
|
|
1847
|
+
},
|
|
1848
|
+
],
|
|
1849
|
+
name: "setFeeRecipient",
|
|
1850
|
+
outputs: [],
|
|
1851
|
+
stateMutability: "nonpayable",
|
|
1852
|
+
type: "function",
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
inputs: [
|
|
1856
|
+
{
|
|
1857
|
+
internalType: "contract IFeesFormula",
|
|
1858
|
+
name: "_formula",
|
|
1859
|
+
type: "address",
|
|
1860
|
+
},
|
|
1861
|
+
],
|
|
1862
|
+
name: "setFormula",
|
|
1863
|
+
outputs: [],
|
|
1864
|
+
stateMutability: "nonpayable",
|
|
1865
|
+
type: "function",
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
inputs: [
|
|
1869
|
+
{
|
|
1870
|
+
internalType: "contract IIdentityV2",
|
|
1871
|
+
name: "_identity",
|
|
1872
|
+
type: "address",
|
|
1873
|
+
},
|
|
1874
|
+
],
|
|
1875
|
+
name: "setIdentity",
|
|
1876
|
+
outputs: [],
|
|
1877
|
+
stateMutability: "nonpayable",
|
|
1878
|
+
type: "function",
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
inputs: [
|
|
1882
|
+
{
|
|
1883
|
+
internalType: "address",
|
|
1884
|
+
name: "account",
|
|
1885
|
+
type: "address",
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
internalType: "int256",
|
|
1889
|
+
name: "delta",
|
|
1890
|
+
type: "int256",
|
|
1891
|
+
},
|
|
1892
|
+
],
|
|
1893
|
+
name: "settleBalance",
|
|
1894
|
+
outputs: [],
|
|
1895
|
+
stateMutability: "nonpayable",
|
|
1896
|
+
type: "function",
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
inputs: [],
|
|
1900
|
+
name: "symbol",
|
|
1901
|
+
outputs: [
|
|
1902
|
+
{
|
|
1903
|
+
internalType: "string",
|
|
1904
|
+
name: "",
|
|
1905
|
+
type: "string",
|
|
1906
|
+
},
|
|
1907
|
+
],
|
|
1908
|
+
stateMutability: "view",
|
|
1909
|
+
type: "function",
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
inputs: [
|
|
1913
|
+
{
|
|
1914
|
+
internalType: "bytes32",
|
|
1915
|
+
name: "id",
|
|
1916
|
+
type: "bytes32",
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
internalType: "uint256",
|
|
1920
|
+
name: "dataLength",
|
|
1921
|
+
type: "uint256",
|
|
1922
|
+
},
|
|
1923
|
+
],
|
|
1924
|
+
name: "terminateAgreement",
|
|
1925
|
+
outputs: [],
|
|
1926
|
+
stateMutability: "nonpayable",
|
|
1927
|
+
type: "function",
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
inputs: [],
|
|
1931
|
+
name: "totalSupply",
|
|
1932
|
+
outputs: [
|
|
1933
|
+
{
|
|
1934
|
+
internalType: "uint256",
|
|
1935
|
+
name: "",
|
|
1936
|
+
type: "uint256",
|
|
1937
|
+
},
|
|
1938
|
+
],
|
|
1939
|
+
stateMutability: "view",
|
|
1940
|
+
type: "function",
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
inputs: [
|
|
1944
|
+
{
|
|
1945
|
+
internalType: "address",
|
|
1946
|
+
name: "recipient",
|
|
1947
|
+
type: "address",
|
|
1948
|
+
},
|
|
1949
|
+
{
|
|
1950
|
+
internalType: "uint256",
|
|
1951
|
+
name: "amount",
|
|
1952
|
+
type: "uint256",
|
|
1953
|
+
},
|
|
1954
|
+
],
|
|
1955
|
+
name: "transfer",
|
|
1956
|
+
outputs: [
|
|
1957
|
+
{
|
|
1958
|
+
internalType: "bool",
|
|
1959
|
+
name: "",
|
|
1960
|
+
type: "bool",
|
|
1961
|
+
},
|
|
1962
|
+
],
|
|
1963
|
+
stateMutability: "nonpayable",
|
|
1964
|
+
type: "function",
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
inputs: [
|
|
1968
|
+
{
|
|
1969
|
+
internalType: "address",
|
|
1970
|
+
name: "recipient",
|
|
1971
|
+
type: "address",
|
|
1972
|
+
},
|
|
1973
|
+
],
|
|
1974
|
+
name: "transferAll",
|
|
1975
|
+
outputs: [],
|
|
1976
|
+
stateMutability: "nonpayable",
|
|
1977
|
+
type: "function",
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
inputs: [
|
|
1981
|
+
{
|
|
1982
|
+
internalType: "address",
|
|
1983
|
+
name: "to",
|
|
1984
|
+
type: "address",
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
internalType: "uint256",
|
|
1988
|
+
name: "value",
|
|
1989
|
+
type: "uint256",
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
internalType: "bytes",
|
|
1993
|
+
name: "data",
|
|
1994
|
+
type: "bytes",
|
|
1995
|
+
},
|
|
1996
|
+
],
|
|
1997
|
+
name: "transferAndCall",
|
|
1998
|
+
outputs: [
|
|
1999
|
+
{
|
|
2000
|
+
internalType: "bool",
|
|
2001
|
+
name: "",
|
|
2002
|
+
type: "bool",
|
|
2003
|
+
},
|
|
2004
|
+
],
|
|
2005
|
+
stateMutability: "nonpayable",
|
|
2006
|
+
type: "function",
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
inputs: [
|
|
2010
|
+
{
|
|
2011
|
+
internalType: "address",
|
|
2012
|
+
name: "sender",
|
|
2013
|
+
type: "address",
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
internalType: "address",
|
|
2017
|
+
name: "recipient",
|
|
2018
|
+
type: "address",
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
internalType: "uint256",
|
|
2022
|
+
name: "amount",
|
|
2023
|
+
type: "uint256",
|
|
2024
|
+
},
|
|
2025
|
+
],
|
|
2026
|
+
name: "transferFrom",
|
|
2027
|
+
outputs: [
|
|
2028
|
+
{
|
|
2029
|
+
internalType: "bool",
|
|
2030
|
+
name: "",
|
|
2031
|
+
type: "bool",
|
|
2032
|
+
},
|
|
2033
|
+
],
|
|
2034
|
+
stateMutability: "nonpayable",
|
|
2035
|
+
type: "function",
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
inputs: [
|
|
2039
|
+
{
|
|
2040
|
+
internalType: "address",
|
|
2041
|
+
name: "_owner",
|
|
2042
|
+
type: "address",
|
|
2043
|
+
},
|
|
2044
|
+
],
|
|
2045
|
+
name: "transferOwnership",
|
|
2046
|
+
outputs: [],
|
|
2047
|
+
stateMutability: "nonpayable",
|
|
2048
|
+
type: "function",
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
inputs: [],
|
|
2052
|
+
name: "unpause",
|
|
2053
|
+
outputs: [],
|
|
2054
|
+
stateMutability: "nonpayable",
|
|
2055
|
+
type: "function",
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
inputs: [
|
|
2059
|
+
{
|
|
2060
|
+
internalType: "bytes32",
|
|
2061
|
+
name: "id",
|
|
2062
|
+
type: "bytes32",
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
internalType: "bytes32[]",
|
|
2066
|
+
name: "data",
|
|
2067
|
+
type: "bytes32[]",
|
|
2068
|
+
},
|
|
2069
|
+
],
|
|
2070
|
+
name: "updateAgreementData",
|
|
2071
|
+
outputs: [],
|
|
2072
|
+
stateMutability: "nonpayable",
|
|
2073
|
+
type: "function",
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
inputs: [
|
|
2077
|
+
{
|
|
2078
|
+
internalType: "address",
|
|
2079
|
+
name: "account",
|
|
2080
|
+
type: "address",
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
internalType: "uint256",
|
|
2084
|
+
name: "slotId",
|
|
2085
|
+
type: "uint256",
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
internalType: "bytes32[]",
|
|
2089
|
+
name: "slotData",
|
|
2090
|
+
type: "bytes32[]",
|
|
2091
|
+
},
|
|
2092
|
+
],
|
|
2093
|
+
name: "updateAgreementStateSlot",
|
|
2094
|
+
outputs: [],
|
|
2095
|
+
stateMutability: "nonpayable",
|
|
2096
|
+
type: "function",
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
inputs: [
|
|
2100
|
+
{
|
|
2101
|
+
internalType: "uint256",
|
|
2102
|
+
name: "amount",
|
|
2103
|
+
type: "uint256",
|
|
2104
|
+
},
|
|
2105
|
+
],
|
|
2106
|
+
name: "upgrade",
|
|
2107
|
+
outputs: [],
|
|
2108
|
+
stateMutability: "nonpayable",
|
|
2109
|
+
type: "function",
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
inputs: [
|
|
2113
|
+
{
|
|
2114
|
+
internalType: "address",
|
|
2115
|
+
name: "to",
|
|
2116
|
+
type: "address",
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
internalType: "uint256",
|
|
2120
|
+
name: "amount",
|
|
2121
|
+
type: "uint256",
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
internalType: "bytes",
|
|
2125
|
+
name: "data",
|
|
2126
|
+
type: "bytes",
|
|
2127
|
+
},
|
|
2128
|
+
],
|
|
2129
|
+
name: "upgradeTo",
|
|
2130
|
+
outputs: [],
|
|
2131
|
+
stateMutability: "nonpayable",
|
|
2132
|
+
type: "function",
|
|
2133
|
+
},
|
|
2134
|
+
];
|
|
2135
|
+
|
|
2136
|
+
export class ISuperGoodDollar__factory {
|
|
2137
|
+
static readonly abi = _abi;
|
|
2138
|
+
static createInterface(): ISuperGoodDollarInterface {
|
|
2139
|
+
return new utils.Interface(_abi) as ISuperGoodDollarInterface;
|
|
2140
|
+
}
|
|
2141
|
+
static connect(
|
|
2142
|
+
address: string,
|
|
2143
|
+
signerOrProvider: Signer | Provider
|
|
2144
|
+
): ISuperGoodDollar {
|
|
2145
|
+
return new Contract(address, _abi, signerOrProvider) as ISuperGoodDollar;
|
|
2146
|
+
}
|
|
2147
|
+
}
|