@gooddollar/goodprotocol 1.0.31-beta.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/artifacts/abis/AaveMock.min.json +1 -1
- package/artifacts/abis/AaveStakingFactory.min.json +1 -1
- package/artifacts/abis/AdminWallet.min.json +1 -1
- package/artifacts/abis/AdminWalletFuse.min.json +1 -0
- package/artifacts/abis/BuyAndBridgeHelper.min.json +1 -0
- package/artifacts/abis/ClaimersDistribution.min.json +1 -1
- package/artifacts/abis/CompoundStakingFactory.min.json +1 -1
- package/artifacts/abis/CompoundVotingMachine.min.json +1 -1
- package/artifacts/abis/DAIMock.min.json +1 -1
- package/artifacts/abis/DAOUpgradeableContract.min.json +1 -1
- package/artifacts/abis/DecimalsMock.min.json +1 -1
- package/artifacts/abis/DistributionHelper.min.json +1 -1
- package/artifacts/abis/DistributionHelperTest.min.json +1 -1
- package/artifacts/abis/DistributionHelperTestHelper.min.json +1 -1
- package/artifacts/abis/DonationsStaking.min.json +1 -1
- package/artifacts/abis/ERC20Permit.min.json +1 -0
- package/artifacts/abis/ERC20PresetMinterPauserUpgradeable.min.json +1 -0
- package/artifacts/abis/ERC677.min.json +1 -0
- package/artifacts/abis/ERC677Receiver.min.json +1 -0
- package/artifacts/abis/ExchangeHelper.min.json +1 -1
- package/artifacts/abis/Faucet.min.json +1 -0
- package/artifacts/abis/FeesFormulaMock.min.json +1 -0
- package/artifacts/abis/FuseFaucet.min.json +1 -1
- package/artifacts/abis/FuseFaucetV2.min.json +1 -0
- package/artifacts/abis/FuseStakingV3.min.json +1 -1
- package/artifacts/abis/GReputation.min.json +1 -1
- package/artifacts/abis/GoodAaveStaking.min.json +1 -1
- package/artifacts/abis/GoodAaveStakingV2.min.json +1 -1
- package/artifacts/abis/GoodCompoundStaking.min.json +1 -1
- package/artifacts/abis/GoodCompoundStakingTest.min.json +1 -1
- package/artifacts/abis/GoodCompoundStakingV2.min.json +1 -1
- package/artifacts/abis/GoodDollar.min.json +1 -0
- package/artifacts/abis/GoodDollarMintBurnWrapper.min.json +1 -1
- package/artifacts/abis/GoodDollarStaking.min.json +1 -1
- package/artifacts/abis/GoodDollarStakingMock.min.json +1 -1
- package/artifacts/abis/GoodFundManager.min.json +1 -1
- package/artifacts/abis/GoodFundManagerTest.min.json +1 -1
- package/artifacts/abis/GoodMarketMaker.min.json +1 -1
- package/artifacts/abis/GoodReserveCDai.min.json +1 -1
- package/artifacts/abis/GovernanceStaking.min.json +1 -1
- package/artifacts/abis/IFeesFormula.min.json +1 -0
- package/artifacts/abis/IGoodDollar.min.json +1 -1
- package/artifacts/abis/IGoodDollarCustom.min.json +1 -0
- package/artifacts/abis/IGovernanceStaking.min.json +1 -0
- package/artifacts/abis/IIdentity.min.json +1 -1
- package/artifacts/abis/IIdentityV2.min.json +1 -0
- package/artifacts/abis/IStakingUpgrade.min.json +1 -0
- package/artifacts/abis/ISuperGoodDollar.min.json +1 -0
- package/artifacts/abis/IdentityMock.min.json +1 -0
- package/artifacts/abis/IdentityV2.min.json +1 -0
- package/artifacts/abis/InvitesFuseV2.min.json +1 -0
- package/artifacts/abis/InvitesV1.min.json +1 -1
- package/artifacts/abis/InvitesV2.min.json +1 -0
- package/artifacts/abis/LendingPoolMock.min.json +1 -1
- package/artifacts/abis/NameService.min.json +1 -1
- package/artifacts/abis/PayableMock.min.json +1 -0
- package/artifacts/abis/Proxy.min.json +1 -0
- package/artifacts/abis/Reputation.min.json +1 -1
- package/artifacts/abis/SelfApprove.min.json +1 -0
- package/artifacts/abis/SimpleStaking.min.json +1 -1
- package/artifacts/abis/SimpleStakingV2.min.json +1 -1
- package/artifacts/abis/SixteenDecimalsTokenMock.min.json +1 -1
- package/artifacts/abis/StakersDistribution.min.json +1 -1
- package/artifacts/abis/SuperGoodDollar.min.json +1 -0
- package/artifacts/abis/SuperToken.min.json +1 -0
- package/artifacts/abis/SuperfluidToken.min.json +1 -0
- package/artifacts/abis/TwentyDecimalsTokenMock.min.json +1 -1
- package/artifacts/abis/UBIScheme.min.json +1 -1
- package/artifacts/abis/USDCMock.min.json +1 -1
- package/artifacts/abis/UUPSProxiable.min.json +1 -0
- package/artifacts/abis/UUPSProxy.min.json +1 -0
- package/artifacts/abis/UUPSUtils.min.json +1 -0
- package/artifacts/abis/UpgradableMock.min.json +1 -1
- package/artifacts/abis/UpgradableMock2.min.json +1 -1
- package/artifacts/abis/UpgradableMock3.min.json +1 -1
- package/artifacts/abis/UpgradableMock4.min.json +1 -1
- package/artifacts/abis/cBATMock.min.json +1 -1
- package/artifacts/abis/cDAILowWorthMock.min.json +1 -1
- package/artifacts/abis/cDAIMock.min.json +1 -1
- package/artifacts/abis/cDAINonMintableMock.min.json +1 -1
- package/artifacts/abis/cDecimalsMock.min.json +1 -1
- package/artifacts/abis/cSDTMock.min.json +1 -1
- package/artifacts/abis/cUSDCMock.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/IGoodDollar.json +184 -0
- 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/IIdentity.json +70 -0
- package/artifacts/contracts/Interfaces.sol/IIdentityV2.dbg.json +4 -0
- package/artifacts/contracts/Interfaces.sol/IIdentityV2.json +300 -0
- 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/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/fuseFaucet/Faucet.sol/Faucet.dbg.json +4 -0
- package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.json +736 -0
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.json +15 -2
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.dbg.json +4 -0
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.json +480 -0
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.json +28 -2
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.json +28 -2
- package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
- package/artifacts/contracts/governance/GReputation.sol/GReputation.json +78 -3
- package/artifacts/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking.json +71 -2
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IGovernanceStaking.dbg.json +4 -0
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IGovernanceStaking.json +24 -0
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IStakingUpgrade.dbg.json +4 -0
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IStakingUpgrade.json +35 -0
- 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/GovernanceStaking.sol/GovernanceStaking.json +31 -5
- 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/Reputation.sol/Reputation.json +28 -2
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.json +28 -2
- package/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.dbg.json +4 -0
- package/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.json +1081 -0
- package/artifacts/contracts/invite/InvitesFuseV2.sol/InvitesFuseV2.dbg.json +4 -0
- package/artifacts/contracts/invite/InvitesFuseV2.sol/InvitesFuseV2.json +505 -0
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.json +15 -2
- package/artifacts/contracts/invite/InvitesV2.sol/InvitesV2.dbg.json +4 -0
- package/artifacts/contracts/invite/InvitesV2.sol/InvitesV2.json +635 -0
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.json +18 -5
- package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.json +2 -2
- package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.json +2 -2
- package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.json +2 -2
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.json +18 -5
- package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.json +2 -2
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.json +18 -5
- package/artifacts/contracts/mocks/DistributionBridgeMock.sol/DistributionBridgeMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionBridgeMock.sol/DistributionBridgeMock.json +2 -2
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.json +28 -2
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.json +28 -2
- package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.json +2 -2
- package/artifacts/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.dbg.json +4 -0
- package/artifacts/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.json +69 -0
- package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.json +2 -2
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.json +22 -9
- package/artifacts/contracts/mocks/GoodDollarStakingMock.sol/GoodDollarStakingMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodDollarStakingMock.sol/GoodDollarStakingMock.json +95 -2
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.json +28 -2
- package/artifacts/contracts/mocks/IdentityMock.sol/IdentityMock.dbg.json +4 -0
- package/artifacts/contracts/mocks/IdentityMock.sol/IdentityMock.json +277 -0
- package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.json +2 -2
- package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.json +18 -5
- 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/MultichainRouterMock.sol/MultichainRouterMock.json +2 -2
- 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/OverMintTester.sol/OverMintTester.json +2 -2
- package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.json +2 -2
- package/artifacts/contracts/mocks/PayableMock.sol/PayableMock.dbg.json +4 -0
- package/artifacts/contracts/mocks/PayableMock.sol/PayableMock.json +18 -0
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.json +18 -5
- package/artifacts/contracts/mocks/StakingMockFixedAPY.sol/StakingMockFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/mocks/StakingMockFixedAPY.sol/StakingMockFixedAPY.json +2 -2
- package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.json +2 -2
- package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.json +18 -5
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.json +28 -2
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.json +28 -2
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.json +28 -2
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.json +28 -2
- package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.json +18 -5
- package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.json +18 -5
- package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.json +18 -5
- package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.json +18 -5
- package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.json +18 -5
- package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.json +18 -5
- package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.json +18 -5
- package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.json +18 -5
- package/artifacts/contracts/reserve/DistributionHelper.sol/DistributionHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/DistributionHelper.sol/DistributionHelper.json +28 -2
- package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.json +28 -2
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.json +28 -2
- 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/reserve/GoodReserveCDai.sol/GoodReserveCDai.json +31 -5
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.json +2 -2
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.json +2 -2
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.json +32 -6
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.json +15 -2
- 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/GoodFundManager.sol/GoodFundManager.json +28 -2
- package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.json +16 -3
- package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.json +16 -3
- package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
- package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.json +2 -2
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.json +3 -3
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.json +20 -7
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.json +20 -7
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.json +4 -4
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.json +22 -9
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.json +22 -9
- package/artifacts/contracts/staking/utils/Math64X64.sol/Math64x64.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/Math64X64.sol/Math64x64.json +2 -2
- package/artifacts/contracts/staking/utils/StakingRewardsFixedAPY.sol/StakingRewardsFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/token/ERC20PresetMinterPauserUpgradeable.sol/ERC20PresetMinterPauserUpgradeable.dbg.json +4 -0
- package/artifacts/contracts/token/ERC20PresetMinterPauserUpgradeable.sol/ERC20PresetMinterPauserUpgradeable.json +768 -0
- package/artifacts/contracts/token/ERC677.sol/ERC677.dbg.json +4 -0
- package/artifacts/contracts/token/ERC677.sol/ERC677.json +66 -0
- package/artifacts/contracts/token/ERC677.sol/ERC677Receiver.dbg.json +4 -0
- package/artifacts/contracts/token/ERC677.sol/ERC677Receiver.json +40 -0
- package/artifacts/contracts/token/FeesFormula.sol/IFeesFormula.dbg.json +4 -0
- package/artifacts/contracts/token/FeesFormula.sol/IFeesFormula.json +45 -0
- package/artifacts/contracts/token/GoodDollar.sol/GoodDollar.dbg.json +4 -0
- package/artifacts/contracts/token/GoodDollar.sol/GoodDollar.json +1206 -0
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit.dbg.json +4 -0
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit.json +99 -0
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/SelfApprove.dbg.json +4 -0
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/SelfApprove.json +34 -0
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.dbg.json +4 -0
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.json +355 -0
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.dbg.json +4 -0
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.json +2132 -0
- package/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.dbg.json +4 -0
- package/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.json +2627 -0
- package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.dbg.json +4 -0
- package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.json +1759 -0
- package/artifacts/contracts/token/superfluid/SuperfluidToken.sol/SuperfluidToken.dbg.json +4 -0
- package/artifacts/contracts/token/superfluid/SuperfluidToken.sol/SuperfluidToken.json +682 -0
- package/artifacts/contracts/token/superfluid/UUPSProxiable.sol/UUPSProxiable.dbg.json +4 -0
- package/artifacts/contracts/token/superfluid/UUPSProxiable.sol/UUPSProxiable.json +89 -0
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/Proxy.dbg.json +4 -0
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/Proxy.json +19 -0
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.dbg.json +4 -0
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.json +32 -0
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSUtils.dbg.json +4 -0
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSUtils.json +10 -0
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.json +41 -22
- package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.dbg.json +1 -1
- package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.json +94 -48
- package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.dbg.json +4 -0
- package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.json +830 -0
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.json +2 -2
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.json +2 -2
- package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.dbg.json +4 -0
- package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.json +184 -0
- package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOContract.sol/DAOContract.json +2 -2
- package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.json +28 -2
- package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
- package/artifacts/contracts/utils/DSMath.sol/DSMath.json +2 -2
- package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
- package/artifacts/contracts/utils/DataTypes.sol/DataTypes.json +2 -2
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.json +35 -2
- 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/GoodDollarMintBurnWrapper.sol/TokenOperation.json +2 -2
- package/artifacts/contracts/utils/MultiCall.sol/Multicall.dbg.json +1 -1
- package/artifacts/contracts/utils/MultiCall.sol/Multicall.json +2 -2
- package/artifacts/contracts/utils/MultichainBridgeHelper.sol/MultichainBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/MultichainBridgeHelper.sol/MultichainBridgeHelper.json +2 -2
- package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
- package/artifacts/contracts/utils/NameService.sol/NameService.json +28 -2
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.json +2 -2
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.json +2 -2
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.json +2 -2
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.json +2 -2
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.json +2 -2
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.json +2 -2
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.json +2 -2
- package/contracts/Interfaces.sol +57 -3
- package/contracts/fuseFaucet/Faucet.sol +258 -0
- package/contracts/fuseFaucet/FuseFaucet.sol +1 -2
- package/contracts/fuseFaucet/FuseFaucetV2.sol +256 -0
- package/contracts/governance/GReputation.sol +104 -16
- package/contracts/governance/GoodDollarStaking.sol +139 -53
- package/contracts/governance/GovernanceStaking.sol +2 -2
- package/contracts/identity/IdentityV2.sol +559 -0
- package/contracts/invite/InvitesFuseV2.sol +337 -0
- package/contracts/invite/InvitesV1.sol +6 -24
- package/contracts/invite/InvitesV2.sol +345 -0
- package/contracts/mocks/AaveMock.sol +1 -1
- package/contracts/mocks/DAIMock.sol +1 -1
- package/contracts/mocks/DecimalsMock.sol +1 -1
- package/contracts/mocks/FeesFormularMock.sol +21 -0
- package/contracts/mocks/GoodDollarStakingMock.sol +16 -0
- package/contracts/mocks/GoodFundManagerTest.sol +1 -1
- package/contracts/mocks/IdentityMock.sol +58 -0
- package/contracts/mocks/LendingPoolMock.sol +1 -1
- package/contracts/mocks/PayableMock.sol +3 -0
- package/contracts/mocks/SixteenDecimalsTokenMock.sol +1 -6
- package/contracts/mocks/TwentyDecimalsTokenMock.sol +1 -6
- package/contracts/mocks/UpgradableMocks.sol +5 -3
- package/contracts/mocks/UsdcMock.sol +1 -6
- package/contracts/mocks/cBATMock.sol +7 -12
- package/contracts/mocks/cDAILowWorthMock.sol +8 -12
- package/contracts/mocks/cDAIMock.sol +1 -1
- package/contracts/mocks/cDAINonMintableMock.sol +7 -12
- package/contracts/mocks/cDecimalsMock.sol +1 -1
- package/contracts/mocks/cSDTMock.sol +3 -3
- package/contracts/mocks/cUSDCMock.sol +5 -5
- package/contracts/reserve/DistributionHelper.sol +1 -1
- package/contracts/reserve/GoodReserveCDai.sol +1 -1
- package/contracts/token/ERC20PresetMinterPauserUpgradeable.sol +140 -0
- package/contracts/token/ERC677.sol +74 -0
- package/contracts/token/FeesFormula.sol +10 -0
- package/contracts/token/GoodDollar.sol +243 -0
- package/contracts/token/superfluid/ERC20Permit.sol +101 -0
- package/contracts/token/superfluid/ISuperGoodDollar.sol +84 -0
- package/contracts/token/superfluid/SuperGoodDollar.sol +401 -0
- package/contracts/token/superfluid/SuperToken.sol +714 -0
- package/contracts/token/superfluid/SuperfluidToken.sol +403 -0
- package/contracts/token/superfluid/UUPSProxiable.sol +55 -0
- package/contracts/token/superfluid/UUPSProxy.sol +153 -0
- package/contracts/ubi/UBIScheme.sol +88 -68
- package/contracts/utils/AdminWallet.sol +42 -11
- package/contracts/utils/AdminWalletFuse.sol +271 -0
- package/contracts/utils/BuyAndBridgeHelper.sol +108 -0
- package/contracts/utils/GoodDollarMintBurnWrapper.sol +19 -1
- package/contracts/utils/ProxyFactory1967.sol +1 -1
- package/hardhat.config.ts +29 -6
- package/package.json +11 -7
- package/releases/deploy-settings.json +58 -4
- package/releases/deployment.json +135 -231
- package/scripts/deployFullDAO.ts +39 -19
- package/scripts/gdx/gdxAirdropCalculation.ts +10 -11
- package/scripts/governance/airdropCalculationRecover.ts +43 -33
- package/scripts/governance/airdropCalculationSorted.ts +438 -0
- package/scripts/governance/goodCheckpointSorted.ts +377 -0
- package/scripts/multichain-deploy/0_proxyFactory-deploy.ts +100 -0
- package/scripts/multichain-deploy/{basicdao-deploy.ts → 1_basicdao-deploy.ts} +123 -93
- package/scripts/multichain-deploy/2_helpers-deploy.ts +151 -0
- package/scripts/multichain-deploy/{gdSavings-deploy.ts → 3_gdSavings-deploy.ts} +106 -76
- package/scripts/multichain-deploy/4_ubi-deploy.ts +147 -0
- package/scripts/multichain-deploy/5_gov-deploy.ts +147 -0
- package/scripts/multichain-deploy/fulldeploy.sh +26 -0
- package/scripts/multichain-deploy/helpers.ts +149 -111
- package/scripts/multichain-deploy/verifyEtherscan.ts +197 -0
- package/scripts/test/localOldDaoDeploy.ts +10 -3
- package/scripts/upgradeToV3/v3-fix.ts +120 -0
- package/scripts/upgradeToV3/v3-upgrade.ts +219 -0
- package/scripts/upgrades/celo-defi-ubi-deploy.ts +165 -0
- package/scripts/upgrades/identity-upgrade.ts +109 -0
- package/scripts/upgrades/transferDaoToGuardians.ts +80 -0
- package/test/faucet/Faucet.test.ts +157 -0
- package/test/{FuseFaucet.test.ts → faucet/FuseFaucet.test.ts} +26 -31
- package/test/governance/ClaimersDistribution.test.ts +58 -6
- package/test/governance/CompoundVotingMachine.castvote.test.ts +3 -3
- package/test/governance/CompoundVotingMachine.crossblockchain.ts +3 -2
- package/test/governance/CompoundVotingMachine.daoscheme.ts +8 -10
- package/test/governance/CompoundVotingMachine.delegate.test.ts +4 -5
- package/test/governance/CompoundVotingMachine.guardian.test.ts +5 -11
- package/test/governance/CompoundVotingMachine.propose.test.ts +3 -2
- package/test/governance/CompoundVotingMachine.state.test.ts +3 -2
- package/test/governance/GReputation.test.ts +78 -32
- package/test/governance/GReputation.v2merkle.test.ts +186 -0
- package/test/governance/GoodDollarStaking.gd.test.ts +83 -1
- package/test/governance/GoodDollarStaking.good.test.ts +2 -1
- package/test/governance/GovernanceStaking.test.ts +4 -4
- package/test/governance/Reputation.test.ts +2 -1
- package/test/governance/StakersDistribution.test.ts +26 -13
- package/test/helpers.ts +145 -52
- package/test/identity/IdentityV2.test.ts +539 -0
- package/test/{InvitesV1.test.ts → invite/InvitesV1.test.ts} +10 -5
- package/test/invite/InvitesV2.test.ts +328 -0
- package/test/reserve/DistributionHelper.test.ts +2 -1
- package/test/reserve/GoodMarketMaker.test.ts +20 -19
- package/test/reserve/GoodReserveCDai.cap.test.ts +8 -1
- package/test/reserve/GoodReserveCDai.distribution.test.ts +2 -1
- package/test/reserve/GoodReserveCDai.gdx.test.ts +2 -2
- package/test/reserve/GoodReserveCDai.pause.test.ts +2 -1
- package/test/reserve/GoodReserveCDai.test.ts +14 -38
- package/test/reserve/GoodReserveCDai.uniswap.test.ts +21 -19
- package/test/staking/CompoundStakingFactory.test.ts +8 -5
- package/test/staking/DifferentStakingTokens.test.ts +3 -2
- package/test/staking/DonationsStaking.test.ts +33 -24
- package/test/staking/FuseStaking.test.ts +9 -9
- package/test/staking/GoodAaveStakingFactory.test.ts +36 -31
- package/test/staking/SimpleDAIStaking.test.ts +13 -19
- package/test/staking/StakingRewards.test.ts +19 -16
- package/test/staking/StakingRewardsFixedAPY.test.ts +2 -1
- package/test/staking/SwapHelper.test.ts +20 -17
- package/test/staking/UsdcAaveStaking.test.ts +36 -33
- package/test/token/GoodDollar.test.ts +445 -0
- package/test/token/SuperGoodDollar.test.ts +422 -0
- package/test/ubi/UBIScheme.e2e.test.ts +6 -5
- package/test/ubi/UBIScheme.test.ts +37 -36
- package/test/ubi/UBISchemeCycle.test.ts +11 -8
- package/test/utils/AdminWallet.test.ts +34 -11
- package/test/utils/BuyAndBridgeHelper.test.ts +249 -0
- package/test/utils/DAOUpgradeableContract.test.ts +3 -2
- package/test/utils/GoodDollarMintBurnWrapper.test.ts +3 -2
- package/test/utils/NameService.test.ts +37 -21
- package/test/utils/ProtocolUpgrade.test.ts +1 -1
- package/test/utils/ProxyFactory.test.ts +12 -10
- package/truffle-config.js +18 -18
- package/types/AaveMock.ts +24 -15
- package/types/AccessControlEnumerableUpgradeable.ts +9 -0
- package/types/AccessControlUpgradeable.ts +9 -0
- package/types/AdminWallet.ts +149 -110
- package/types/AdminWalletFuse.ts +1268 -0
- package/types/BuyAndBridgeHelper.ts +279 -0
- package/types/CBATMock.ts +24 -15
- package/types/CDAILowWorthMock.ts +24 -15
- package/types/CDAIMock.ts +24 -15
- package/types/CDAINonMintableMock.ts +24 -15
- package/types/CDecimalsMock.ts +24 -15
- package/types/CSDTMock.ts +24 -15
- package/types/CUSDCMock.ts +24 -15
- package/types/ClaimersDistribution.ts +28 -0
- package/types/CompoundVotingMachine.ts +28 -0
- package/types/ContextUpgradeable.ts +77 -0
- package/types/DAIMock.ts +24 -15
- package/types/DAOUpgradeableContract.ts +28 -0
- package/types/DecimalsMock.ts +24 -15
- package/types/DistributionHelper.ts +28 -0
- package/types/DistributionHelperTest.ts +28 -0
- package/types/DistributionHelperTestHelper.ts +28 -0
- package/types/DonationsStaking.ts +28 -0
- package/types/EIP712Upgradeable.ts +77 -0
- package/types/ERC165Upgradeable.ts +13 -2
- package/types/ERC1967UpgradeUpgradeable.ts +9 -0
- package/types/ERC20BurnableUpgradeable.ts +24 -15
- package/types/ERC20PausableUpgradeable.ts +24 -15
- package/types/ERC20Permit.ts +186 -0
- package/types/ERC20PermitUpgradeable.ts +531 -0
- package/types/ERC20PresetMinterPauserUpgradeable.ts +129 -16
- package/types/ERC20Upgradeable.ts +24 -15
- package/types/ERC20WithTokenInfo.ts +339 -0
- package/types/ERC677.ts +131 -0
- package/types/ERC677Receiver.ts +115 -0
- package/types/EventsEmitter.ts +88 -0
- package/types/ExchangeHelper.ts +28 -0
- package/types/Faucet.ts +1107 -0
- package/types/FeesFormulaMock.ts +130 -0
- package/types/FuseFaucet.ts +9 -0
- package/types/FuseFaucetV2.ts +729 -0
- package/types/FuseStakingV3.ts +9 -0
- package/types/GReputation.ts +103 -4
- package/types/GoodAaveStaking.ts +24 -15
- package/types/GoodAaveStakingV2.ts +24 -15
- package/types/GoodCompoundStaking.ts +24 -15
- package/types/GoodCompoundStakingTest.ts +24 -15
- package/types/GoodCompoundStakingV2.ts +24 -15
- package/types/GoodDollar.ts +1733 -0
- package/types/GoodDollarMintBurnWrapper.ts +55 -0
- package/types/GoodDollarStaking.ts +92 -0
- package/types/GoodDollarStakingMock.ts +131 -0
- package/types/GoodFundManager.ts +28 -0
- package/types/GoodFundManagerTest.ts +28 -0
- package/types/GoodMarketMaker.ts +28 -0
- package/types/GoodReserveCDai.ts +43 -15
- package/types/GovernanceStaking.ts +43 -15
- package/types/IERC1271Upgradeable.ts +109 -0
- package/types/IERC1820Registry.ts +398 -0
- package/types/IERC1822ProxiableUpgradeable.ts +90 -0
- package/types/IERC20MetadataUpgradeable.ts +15 -15
- package/types/IERC20Permit.ts +175 -0
- package/types/IERC20PermitUpgradeable.ts +176 -0
- package/types/IERC20Upgradeable.ts +15 -15
- 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/IGoodDollar.ts +304 -7
- package/types/IGoodDollarCustom.ts +618 -0
- package/types/IGovernanceStaking.ts +98 -0
- package/types/IIdentity.ts +106 -0
- package/types/IIdentityV2.ts +557 -0
- package/types/IStakingUpgrade.ts +110 -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/IdentityMock.ts +493 -0
- package/types/IdentityV2.ts +1743 -0
- package/types/Initializable.ts +77 -0
- package/types/InvitesFuseV2.ts +806 -0
- package/types/InvitesV1.ts +9 -0
- package/types/InvitesV2.ts +1010 -0
- package/types/LendingPoolMock.ts +24 -15
- package/types/NameService.ts +28 -0
- package/types/OwnableUpgradeable.ts +9 -0
- package/types/PausableUpgradeable.ts +9 -0
- package/types/PayableMock.ts +92 -0
- package/types/ReentrancyGuardUpgradeable.ts +78 -0
- package/types/Reputation.ts +28 -0
- package/types/SelfApprove.ts +115 -0
- package/types/SimpleStaking.ts +24 -15
- package/types/SimpleStakingV2.ts +24 -15
- package/types/SixteenDecimalsTokenMock.ts +24 -15
- package/types/StakersDistribution.ts +28 -0
- package/types/SuperGoodDollar.ts +3662 -0
- package/types/SuperToken.ts +2434 -0
- package/types/SuperfluidToken.ts +951 -0
- package/types/TokenInfo.ts +109 -0
- package/types/TwentyDecimalsTokenMock.ts +24 -15
- package/types/UBIScheme.ts +47 -40
- package/types/USDCMock.ts +24 -15
- package/types/UUPSProxiable.ts +183 -0
- package/types/UUPSProxy.ts +105 -0
- package/types/UUPSUpgradeable.ts +28 -0
- package/types/UpgradableMock.ts +28 -0
- package/types/UpgradableMock2.ts +28 -0
- package/types/UpgradableMock3.ts +28 -0
- package/types/UpgradableMock4.ts +28 -0
- package/types/factories/AaveMock__factory.ts +17 -4
- package/types/factories/AaveStakingFactory__factory.ts +1 -1
- package/types/factories/AaveUSDMockOracle__factory.ts +1 -1
- package/types/factories/AccessControlEnumerableUpgradeable__factory.ts +13 -0
- package/types/factories/AccessControlUpgradeable__factory.ts +13 -0
- package/types/factories/AdminWalletFuse__factory.ts +881 -0
- package/types/factories/AdminWallet__factory.ts +93 -47
- package/types/factories/BancorFormula__factory.ts +1 -1
- package/types/factories/BaseShareFieldV2__factory.ts +1 -1
- package/types/factories/BaseShareField__factory.ts +1 -1
- package/types/factories/BatUSDMockOracle__factory.ts +1 -1
- package/types/factories/BuyAndBridgeHelper__factory.ts +237 -0
- package/types/factories/CBATMock__factory.ts +17 -4
- package/types/factories/CDAILowWorthMock__factory.ts +17 -4
- package/types/factories/CDAIMock__factory.ts +17 -4
- package/types/factories/CDAINonMintableMock__factory.ts +17 -4
- package/types/factories/CDecimalsMock__factory.ts +17 -4
- package/types/factories/CSDTMock__factory.ts +17 -4
- package/types/factories/CUSDCMock__factory.ts +17 -4
- package/types/factories/ClaimersDistribution__factory.ts +27 -1
- package/types/factories/CompUSDMockOracle__factory.ts +1 -1
- package/types/factories/CompoundStakingFactory__factory.ts +1 -1
- package/types/factories/CompoundVotingMachine__factory.ts +27 -1
- package/types/factories/ContextUpgradeable__factory.ts +39 -0
- package/types/factories/DAIMock__factory.ts +17 -4
- package/types/factories/DAOContract__factory.ts +1 -1
- package/types/factories/DAOUpgradeableContract__factory.ts +27 -1
- package/types/factories/DaiEthPriceMockOracle__factory.ts +1 -1
- package/types/factories/DecimalsMock__factory.ts +17 -4
- package/types/factories/DistributionBridgeMock__factory.ts +1 -1
- package/types/factories/DistributionHelperTestHelper__factory.ts +27 -1
- package/types/factories/DistributionHelperTest__factory.ts +27 -1
- package/types/factories/DistributionHelper__factory.ts +27 -1
- package/types/factories/DonationsStaking__factory.ts +27 -1
- package/types/factories/EIP712Upgradeable__factory.ts +39 -0
- package/types/factories/ERC165Upgradeable__factory.ts +13 -0
- package/types/factories/ERC1967Proxy__factory.ts +1 -1
- package/types/factories/ERC1967UpgradeUpgradeable__factory.ts +13 -0
- package/types/factories/ERC20BurnableUpgradeable__factory.ts +16 -3
- package/types/factories/ERC20PausableUpgradeable__factory.ts +16 -3
- package/types/factories/ERC20PermitUpgradeable__factory.ts +388 -0
- package/types/factories/ERC20Permit__factory.ts +111 -0
- package/types/factories/ERC20PresetMinterPauserUpgradeable__factory.ts +99 -5
- package/types/factories/ERC20Upgradeable__factory.ts +17 -4
- package/types/factories/ERC20WithTokenInfo__factory.ts +248 -0
- package/types/factories/ERC677Receiver__factory.ts +55 -0
- package/types/factories/ERC677__factory.ts +75 -0
- package/types/factories/EthUSDMockOracle__factory.ts +1 -1
- package/types/factories/EventsEmitter__factory.ts +84 -0
- package/types/factories/ExchangeHelper__factory.ts +27 -1
- package/types/factories/Faucet__factory.ts +781 -0
- package/types/factories/FeesFormulaMock__factory.ts +132 -0
- package/types/factories/FuseFaucetV2__factory.ts +528 -0
- package/types/factories/FuseFaucet__factory.ts +14 -1
- package/types/factories/FuseStakingV3__factory.ts +14 -1
- package/types/factories/GReputation__factory.ts +77 -2
- package/types/factories/GasPriceMockOracle__factory.ts +1 -1
- package/types/factories/GoodAaveStakingV2__factory.ts +17 -4
- package/types/factories/GoodAaveStaking__factory.ts +17 -4
- package/types/factories/GoodCompoundStakingTest__factory.ts +17 -4
- package/types/factories/GoodCompoundStakingV2__factory.ts +17 -4
- package/types/factories/GoodCompoundStaking__factory.ts +17 -4
- package/types/factories/GoodDollarMintBurnWrapper__factory.ts +34 -1
- package/types/factories/GoodDollarStakingMock__factory.ts +94 -1
- package/types/factories/GoodDollarStaking__factory.ts +70 -1
- package/types/factories/GoodDollar__factory.ts +1254 -0
- package/types/factories/GoodFundManagerTest__factory.ts +27 -1
- package/types/factories/GoodFundManager__factory.ts +27 -1
- package/types/factories/GoodMarketMaker__factory.ts +27 -1
- package/types/factories/GoodReserveCDai__factory.ts +30 -4
- package/types/factories/GovernanceStaking__factory.ts +30 -4
- package/types/factories/IERC1271Upgradeable__factory.ts +50 -0
- package/types/factories/IERC1820Registry__factory.ts +239 -0
- package/types/factories/IERC1822ProxiableUpgradeable__factory.ts +43 -0
- package/types/factories/IERC20MetadataUpgradeable__factory.ts +3 -3
- package/types/factories/IERC20PermitUpgradeable__factory.ts +105 -0
- package/types/factories/IERC20Permit__factory.ts +98 -0
- package/types/factories/IERC20Upgradeable__factory.ts +3 -3
- 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/IGoodDollarCustom__factory.ts +370 -0
- package/types/factories/IGoodDollar__factory.ts +184 -0
- package/types/factories/IGovernanceStaking__factory.ts +39 -0
- package/types/factories/IIdentityV2__factory.ts +312 -0
- package/types/factories/IIdentity__factory.ts +70 -0
- package/types/factories/IStakingUpgrade__factory.ts +50 -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/IdentityMock__factory.ts +327 -0
- package/types/factories/IdentityV2__factory.ts +1129 -0
- package/types/factories/IncentiveControllerMock__factory.ts +1 -1
- package/types/factories/Initializable__factory.ts +36 -0
- package/types/factories/InvitesFuseV2__factory.ts +553 -0
- package/types/factories/InvitesV1__factory.ts +14 -1
- package/types/factories/InvitesV2__factory.ts +683 -0
- package/types/factories/LendingPoolMock__factory.ts +17 -4
- package/types/factories/Multicall__factory.ts +1 -1
- package/types/factories/MultichainBridgeHelper__factory.ts +1 -1
- package/types/factories/MultichainRouterMock__factory.ts +1 -1
- package/types/factories/NameService__factory.ts +27 -1
- package/types/factories/OverMintTesterRegularStake__factory.ts +1 -1
- package/types/factories/OverMintTester__factory.ts +1 -1
- package/types/factories/OwnableUpgradeable__factory.ts +13 -0
- package/types/factories/PausableUpgradeable__factory.ts +13 -0
- package/types/factories/PayableMock__factory.ts +66 -0
- package/types/factories/ProtocolUpgradeFuseRecover__factory.ts +1 -1
- package/types/factories/ProtocolUpgradeFuse__factory.ts +1 -1
- package/types/factories/ProtocolUpgradeRecover__factory.ts +1 -1
- package/types/factories/ProtocolUpgrade__factory.ts +1 -1
- package/types/factories/ProxyFactory1967__factory.ts +1 -1
- package/types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
- package/types/factories/ReputationTestHelper__factory.ts +1 -1
- package/types/factories/Reputation__factory.ts +27 -1
- package/types/factories/SelfApprove__factory.ts +46 -0
- package/types/factories/SimpleStakingV2__factory.ts +16 -3
- package/types/factories/SimpleStaking__factory.ts +16 -3
- package/types/factories/SixteenDecimalsTokenMock__factory.ts +17 -4
- package/types/factories/StakersDistribution__factory.ts +27 -1
- package/types/factories/StakingMockFixedAPY__factory.ts +1 -1
- 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 +1 -1
- package/types/factories/TokenInfo__factory.ts +62 -0
- package/types/factories/TwentyDecimalsTokenMock__factory.ts +17 -4
- package/types/factories/UBIScheme__factory.ts +40 -21
- package/types/factories/USDCMock__factory.ts +17 -4
- package/types/factories/UUPSProxiable__factory.ts +101 -0
- package/types/factories/UUPSProxy__factory.ts +80 -0
- package/types/factories/UUPSUpgradeable__factory.ts +26 -0
- package/types/factories/UniswapV2SwapHelper__factory.ts +1 -1
- package/types/factories/UpgradableMock2__factory.ts +27 -1
- package/types/factories/UpgradableMock3__factory.ts +27 -1
- package/types/factories/UpgradableMock4__factory.ts +27 -1
- package/types/factories/UpgradableMock__factory.ts +27 -1
- package/types/hardhat.d.ts +459 -0
- package/types/index.ts +98 -0
- package/yarn.lock +1251 -306
- package/scripts/multichain-deploy/nonubiDistribution-deploy.ts +0 -170
|
@@ -0,0 +1,1143 @@
|
|
|
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 { ISuperfluid, ISuperfluidInterface } from "../ISuperfluid";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
internalType: "uint256",
|
|
14
|
+
name: "_code",
|
|
15
|
+
type: "uint256",
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
name: "APP_RULE",
|
|
19
|
+
type: "error",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
inputs: [],
|
|
23
|
+
name: "HOST_AGREEMENT_ALREADY_REGISTERED",
|
|
24
|
+
type: "error",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
inputs: [],
|
|
28
|
+
name: "HOST_AGREEMENT_CALLBACK_IS_NOT_ACTION",
|
|
29
|
+
type: "error",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
inputs: [],
|
|
33
|
+
name: "HOST_AGREEMENT_IS_NOT_REGISTERED",
|
|
34
|
+
type: "error",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [],
|
|
38
|
+
name: "HOST_CALL_AGREEMENT_WITH_CTX_FROM_WRONG_ADDRESS",
|
|
39
|
+
type: "error",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
inputs: [],
|
|
43
|
+
name: "HOST_CALL_APP_ACTION_WITH_CTX_FROM_WRONG_ADDRESS",
|
|
44
|
+
type: "error",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
inputs: [],
|
|
48
|
+
name: "HOST_CANNOT_DOWNGRADE_TO_NON_UPGRADEABLE",
|
|
49
|
+
type: "error",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
inputs: [],
|
|
53
|
+
name: "HOST_INVALID_CONFIG_WORD",
|
|
54
|
+
type: "error",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
inputs: [],
|
|
58
|
+
name: "HOST_INVALID_OR_EXPIRED_SUPER_APP_REGISTRATION_KEY",
|
|
59
|
+
type: "error",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
inputs: [],
|
|
63
|
+
name: "HOST_MAX_256_AGREEMENTS",
|
|
64
|
+
type: "error",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
inputs: [],
|
|
68
|
+
name: "HOST_MUST_BE_CONTRACT",
|
|
69
|
+
type: "error",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [],
|
|
73
|
+
name: "HOST_NON_UPGRADEABLE",
|
|
74
|
+
type: "error",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
inputs: [],
|
|
78
|
+
name: "HOST_NON_ZERO_LENGTH_PLACEHOLDER_CTX",
|
|
79
|
+
type: "error",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
inputs: [],
|
|
83
|
+
name: "HOST_NOT_A_SUPER_APP",
|
|
84
|
+
type: "error",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
inputs: [],
|
|
88
|
+
name: "HOST_NO_APP_REGISTRATION_PERMISSIONS",
|
|
89
|
+
type: "error",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
inputs: [],
|
|
93
|
+
name: "HOST_ONLY_GOVERNANCE",
|
|
94
|
+
type: "error",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
inputs: [],
|
|
98
|
+
name: "HOST_ONLY_LISTED_AGREEMENT",
|
|
99
|
+
type: "error",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
inputs: [],
|
|
103
|
+
name: "HOST_RECEIVER_IS_NOT_SUPER_APP",
|
|
104
|
+
type: "error",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
inputs: [],
|
|
108
|
+
name: "HOST_SENDER_IS_NOT_SUPER_APP",
|
|
109
|
+
type: "error",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
inputs: [],
|
|
113
|
+
name: "HOST_SOURCE_APP_NEEDS_HIGHER_APP_LEVEL",
|
|
114
|
+
type: "error",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
inputs: [],
|
|
118
|
+
name: "HOST_SUPER_APP_ALREADY_REGISTERED",
|
|
119
|
+
type: "error",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [],
|
|
123
|
+
name: "HOST_SUPER_APP_IS_JAILED",
|
|
124
|
+
type: "error",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
inputs: [],
|
|
128
|
+
name: "HOST_UNAUTHORIZED_SUPER_APP_FACTORY",
|
|
129
|
+
type: "error",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
inputs: [],
|
|
133
|
+
name: "HOST_UNKNOWN_BATCH_CALL_OPERATION_TYPE",
|
|
134
|
+
type: "error",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
anonymous: false,
|
|
138
|
+
inputs: [
|
|
139
|
+
{
|
|
140
|
+
indexed: false,
|
|
141
|
+
internalType: "bytes32",
|
|
142
|
+
name: "agreementType",
|
|
143
|
+
type: "bytes32",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
indexed: false,
|
|
147
|
+
internalType: "address",
|
|
148
|
+
name: "code",
|
|
149
|
+
type: "address",
|
|
150
|
+
},
|
|
151
|
+
],
|
|
152
|
+
name: "AgreementClassRegistered",
|
|
153
|
+
type: "event",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
anonymous: false,
|
|
157
|
+
inputs: [
|
|
158
|
+
{
|
|
159
|
+
indexed: false,
|
|
160
|
+
internalType: "bytes32",
|
|
161
|
+
name: "agreementType",
|
|
162
|
+
type: "bytes32",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
indexed: false,
|
|
166
|
+
internalType: "address",
|
|
167
|
+
name: "code",
|
|
168
|
+
type: "address",
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
name: "AgreementClassUpdated",
|
|
172
|
+
type: "event",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
anonymous: false,
|
|
176
|
+
inputs: [
|
|
177
|
+
{
|
|
178
|
+
indexed: true,
|
|
179
|
+
internalType: "contract ISuperApp",
|
|
180
|
+
name: "app",
|
|
181
|
+
type: "address",
|
|
182
|
+
},
|
|
183
|
+
],
|
|
184
|
+
name: "AppRegistered",
|
|
185
|
+
type: "event",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
anonymous: false,
|
|
189
|
+
inputs: [
|
|
190
|
+
{
|
|
191
|
+
indexed: false,
|
|
192
|
+
internalType: "contract ISuperfluidGovernance",
|
|
193
|
+
name: "oldGov",
|
|
194
|
+
type: "address",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
indexed: false,
|
|
198
|
+
internalType: "contract ISuperfluidGovernance",
|
|
199
|
+
name: "newGov",
|
|
200
|
+
type: "address",
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
name: "GovernanceReplaced",
|
|
204
|
+
type: "event",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
anonymous: false,
|
|
208
|
+
inputs: [
|
|
209
|
+
{
|
|
210
|
+
indexed: true,
|
|
211
|
+
internalType: "contract ISuperApp",
|
|
212
|
+
name: "app",
|
|
213
|
+
type: "address",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
indexed: false,
|
|
217
|
+
internalType: "uint256",
|
|
218
|
+
name: "reason",
|
|
219
|
+
type: "uint256",
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
name: "Jail",
|
|
223
|
+
type: "event",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
anonymous: false,
|
|
227
|
+
inputs: [
|
|
228
|
+
{
|
|
229
|
+
indexed: false,
|
|
230
|
+
internalType: "contract ISuperTokenFactory",
|
|
231
|
+
name: "newFactory",
|
|
232
|
+
type: "address",
|
|
233
|
+
},
|
|
234
|
+
],
|
|
235
|
+
name: "SuperTokenFactoryUpdated",
|
|
236
|
+
type: "event",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
anonymous: false,
|
|
240
|
+
inputs: [
|
|
241
|
+
{
|
|
242
|
+
indexed: true,
|
|
243
|
+
internalType: "contract ISuperToken",
|
|
244
|
+
name: "token",
|
|
245
|
+
type: "address",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
indexed: false,
|
|
249
|
+
internalType: "address",
|
|
250
|
+
name: "code",
|
|
251
|
+
type: "address",
|
|
252
|
+
},
|
|
253
|
+
],
|
|
254
|
+
name: "SuperTokenLogicUpdated",
|
|
255
|
+
type: "event",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
inputs: [
|
|
259
|
+
{
|
|
260
|
+
internalType: "uint256",
|
|
261
|
+
name: "bitmap",
|
|
262
|
+
type: "uint256",
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
internalType: "bytes32",
|
|
266
|
+
name: "agreementType",
|
|
267
|
+
type: "bytes32",
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
name: "addToAgreementClassesBitmap",
|
|
271
|
+
outputs: [
|
|
272
|
+
{
|
|
273
|
+
internalType: "uint256",
|
|
274
|
+
name: "newBitmap",
|
|
275
|
+
type: "uint256",
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
stateMutability: "view",
|
|
279
|
+
type: "function",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
inputs: [
|
|
283
|
+
{
|
|
284
|
+
internalType: "contract ISuperApp",
|
|
285
|
+
name: "targetApp",
|
|
286
|
+
type: "address",
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
name: "allowCompositeApp",
|
|
290
|
+
outputs: [],
|
|
291
|
+
stateMutability: "nonpayable",
|
|
292
|
+
type: "function",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
inputs: [
|
|
296
|
+
{
|
|
297
|
+
internalType: "bytes",
|
|
298
|
+
name: "ctx",
|
|
299
|
+
type: "bytes",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
internalType: "int256",
|
|
303
|
+
name: "appCreditUsedDelta",
|
|
304
|
+
type: "int256",
|
|
305
|
+
},
|
|
306
|
+
],
|
|
307
|
+
name: "appCallbackPop",
|
|
308
|
+
outputs: [
|
|
309
|
+
{
|
|
310
|
+
internalType: "bytes",
|
|
311
|
+
name: "newCtx",
|
|
312
|
+
type: "bytes",
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
stateMutability: "nonpayable",
|
|
316
|
+
type: "function",
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
inputs: [
|
|
320
|
+
{
|
|
321
|
+
internalType: "bytes",
|
|
322
|
+
name: "ctx",
|
|
323
|
+
type: "bytes",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
internalType: "contract ISuperApp",
|
|
327
|
+
name: "app",
|
|
328
|
+
type: "address",
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
internalType: "uint256",
|
|
332
|
+
name: "appCreditGranted",
|
|
333
|
+
type: "uint256",
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
internalType: "int256",
|
|
337
|
+
name: "appCreditUsed",
|
|
338
|
+
type: "int256",
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
internalType: "contract ISuperfluidToken",
|
|
342
|
+
name: "appCreditToken",
|
|
343
|
+
type: "address",
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
name: "appCallbackPush",
|
|
347
|
+
outputs: [
|
|
348
|
+
{
|
|
349
|
+
internalType: "bytes",
|
|
350
|
+
name: "newCtx",
|
|
351
|
+
type: "bytes",
|
|
352
|
+
},
|
|
353
|
+
],
|
|
354
|
+
stateMutability: "nonpayable",
|
|
355
|
+
type: "function",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
inputs: [
|
|
359
|
+
{
|
|
360
|
+
components: [
|
|
361
|
+
{
|
|
362
|
+
internalType: "uint32",
|
|
363
|
+
name: "operationType",
|
|
364
|
+
type: "uint32",
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
internalType: "address",
|
|
368
|
+
name: "target",
|
|
369
|
+
type: "address",
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
internalType: "bytes",
|
|
373
|
+
name: "data",
|
|
374
|
+
type: "bytes",
|
|
375
|
+
},
|
|
376
|
+
],
|
|
377
|
+
internalType: "struct ISuperfluid.Operation[]",
|
|
378
|
+
name: "operations",
|
|
379
|
+
type: "tuple[]",
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
name: "batchCall",
|
|
383
|
+
outputs: [],
|
|
384
|
+
stateMutability: "nonpayable",
|
|
385
|
+
type: "function",
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
inputs: [
|
|
389
|
+
{
|
|
390
|
+
internalType: "contract ISuperAgreement",
|
|
391
|
+
name: "agreementClass",
|
|
392
|
+
type: "address",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
internalType: "bytes",
|
|
396
|
+
name: "callData",
|
|
397
|
+
type: "bytes",
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
internalType: "bytes",
|
|
401
|
+
name: "userData",
|
|
402
|
+
type: "bytes",
|
|
403
|
+
},
|
|
404
|
+
],
|
|
405
|
+
name: "callAgreement",
|
|
406
|
+
outputs: [
|
|
407
|
+
{
|
|
408
|
+
internalType: "bytes",
|
|
409
|
+
name: "returnedData",
|
|
410
|
+
type: "bytes",
|
|
411
|
+
},
|
|
412
|
+
],
|
|
413
|
+
stateMutability: "nonpayable",
|
|
414
|
+
type: "function",
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
inputs: [
|
|
418
|
+
{
|
|
419
|
+
internalType: "contract ISuperAgreement",
|
|
420
|
+
name: "agreementClass",
|
|
421
|
+
type: "address",
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
internalType: "bytes",
|
|
425
|
+
name: "callData",
|
|
426
|
+
type: "bytes",
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
internalType: "bytes",
|
|
430
|
+
name: "userData",
|
|
431
|
+
type: "bytes",
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
internalType: "bytes",
|
|
435
|
+
name: "ctx",
|
|
436
|
+
type: "bytes",
|
|
437
|
+
},
|
|
438
|
+
],
|
|
439
|
+
name: "callAgreementWithContext",
|
|
440
|
+
outputs: [
|
|
441
|
+
{
|
|
442
|
+
internalType: "bytes",
|
|
443
|
+
name: "newCtx",
|
|
444
|
+
type: "bytes",
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
internalType: "bytes",
|
|
448
|
+
name: "returnedData",
|
|
449
|
+
type: "bytes",
|
|
450
|
+
},
|
|
451
|
+
],
|
|
452
|
+
stateMutability: "nonpayable",
|
|
453
|
+
type: "function",
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
inputs: [
|
|
457
|
+
{
|
|
458
|
+
internalType: "contract ISuperApp",
|
|
459
|
+
name: "app",
|
|
460
|
+
type: "address",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
internalType: "bytes",
|
|
464
|
+
name: "callData",
|
|
465
|
+
type: "bytes",
|
|
466
|
+
},
|
|
467
|
+
],
|
|
468
|
+
name: "callAppAction",
|
|
469
|
+
outputs: [
|
|
470
|
+
{
|
|
471
|
+
internalType: "bytes",
|
|
472
|
+
name: "returnedData",
|
|
473
|
+
type: "bytes",
|
|
474
|
+
},
|
|
475
|
+
],
|
|
476
|
+
stateMutability: "nonpayable",
|
|
477
|
+
type: "function",
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
inputs: [
|
|
481
|
+
{
|
|
482
|
+
internalType: "contract ISuperApp",
|
|
483
|
+
name: "app",
|
|
484
|
+
type: "address",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
internalType: "bytes",
|
|
488
|
+
name: "callData",
|
|
489
|
+
type: "bytes",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
internalType: "bytes",
|
|
493
|
+
name: "ctx",
|
|
494
|
+
type: "bytes",
|
|
495
|
+
},
|
|
496
|
+
],
|
|
497
|
+
name: "callAppActionWithContext",
|
|
498
|
+
outputs: [
|
|
499
|
+
{
|
|
500
|
+
internalType: "bytes",
|
|
501
|
+
name: "newCtx",
|
|
502
|
+
type: "bytes",
|
|
503
|
+
},
|
|
504
|
+
],
|
|
505
|
+
stateMutability: "nonpayable",
|
|
506
|
+
type: "function",
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
inputs: [
|
|
510
|
+
{
|
|
511
|
+
internalType: "contract ISuperApp",
|
|
512
|
+
name: "app",
|
|
513
|
+
type: "address",
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
internalType: "bytes",
|
|
517
|
+
name: "callData",
|
|
518
|
+
type: "bytes",
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
internalType: "bool",
|
|
522
|
+
name: "isTermination",
|
|
523
|
+
type: "bool",
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
internalType: "bytes",
|
|
527
|
+
name: "ctx",
|
|
528
|
+
type: "bytes",
|
|
529
|
+
},
|
|
530
|
+
],
|
|
531
|
+
name: "callAppAfterCallback",
|
|
532
|
+
outputs: [
|
|
533
|
+
{
|
|
534
|
+
internalType: "bytes",
|
|
535
|
+
name: "newCtx",
|
|
536
|
+
type: "bytes",
|
|
537
|
+
},
|
|
538
|
+
],
|
|
539
|
+
stateMutability: "nonpayable",
|
|
540
|
+
type: "function",
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
inputs: [
|
|
544
|
+
{
|
|
545
|
+
internalType: "contract ISuperApp",
|
|
546
|
+
name: "app",
|
|
547
|
+
type: "address",
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
internalType: "bytes",
|
|
551
|
+
name: "callData",
|
|
552
|
+
type: "bytes",
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
internalType: "bool",
|
|
556
|
+
name: "isTermination",
|
|
557
|
+
type: "bool",
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
internalType: "bytes",
|
|
561
|
+
name: "ctx",
|
|
562
|
+
type: "bytes",
|
|
563
|
+
},
|
|
564
|
+
],
|
|
565
|
+
name: "callAppBeforeCallback",
|
|
566
|
+
outputs: [
|
|
567
|
+
{
|
|
568
|
+
internalType: "bytes",
|
|
569
|
+
name: "cbdata",
|
|
570
|
+
type: "bytes",
|
|
571
|
+
},
|
|
572
|
+
],
|
|
573
|
+
stateMutability: "nonpayable",
|
|
574
|
+
type: "function",
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
inputs: [
|
|
578
|
+
{
|
|
579
|
+
internalType: "bytes",
|
|
580
|
+
name: "ctx",
|
|
581
|
+
type: "bytes",
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
internalType: "int256",
|
|
585
|
+
name: "appCreditUsedMore",
|
|
586
|
+
type: "int256",
|
|
587
|
+
},
|
|
588
|
+
],
|
|
589
|
+
name: "ctxUseCredit",
|
|
590
|
+
outputs: [
|
|
591
|
+
{
|
|
592
|
+
internalType: "bytes",
|
|
593
|
+
name: "newCtx",
|
|
594
|
+
type: "bytes",
|
|
595
|
+
},
|
|
596
|
+
],
|
|
597
|
+
stateMutability: "nonpayable",
|
|
598
|
+
type: "function",
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
inputs: [
|
|
602
|
+
{
|
|
603
|
+
internalType: "bytes",
|
|
604
|
+
name: "ctx",
|
|
605
|
+
type: "bytes",
|
|
606
|
+
},
|
|
607
|
+
],
|
|
608
|
+
name: "decodeCtx",
|
|
609
|
+
outputs: [
|
|
610
|
+
{
|
|
611
|
+
components: [
|
|
612
|
+
{
|
|
613
|
+
internalType: "uint8",
|
|
614
|
+
name: "appCallbackLevel",
|
|
615
|
+
type: "uint8",
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
internalType: "uint8",
|
|
619
|
+
name: "callType",
|
|
620
|
+
type: "uint8",
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
internalType: "uint256",
|
|
624
|
+
name: "timestamp",
|
|
625
|
+
type: "uint256",
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
internalType: "address",
|
|
629
|
+
name: "msgSender",
|
|
630
|
+
type: "address",
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
internalType: "bytes4",
|
|
634
|
+
name: "agreementSelector",
|
|
635
|
+
type: "bytes4",
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
internalType: "bytes",
|
|
639
|
+
name: "userData",
|
|
640
|
+
type: "bytes",
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
internalType: "uint256",
|
|
644
|
+
name: "appCreditGranted",
|
|
645
|
+
type: "uint256",
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
internalType: "uint256",
|
|
649
|
+
name: "appCreditWantedDeprecated",
|
|
650
|
+
type: "uint256",
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
internalType: "int256",
|
|
654
|
+
name: "appCreditUsed",
|
|
655
|
+
type: "int256",
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
internalType: "address",
|
|
659
|
+
name: "appAddress",
|
|
660
|
+
type: "address",
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
internalType: "contract ISuperfluidToken",
|
|
664
|
+
name: "appCreditToken",
|
|
665
|
+
type: "address",
|
|
666
|
+
},
|
|
667
|
+
],
|
|
668
|
+
internalType: "struct ISuperfluid.Context",
|
|
669
|
+
name: "context",
|
|
670
|
+
type: "tuple",
|
|
671
|
+
},
|
|
672
|
+
],
|
|
673
|
+
stateMutability: "pure",
|
|
674
|
+
type: "function",
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
inputs: [
|
|
678
|
+
{
|
|
679
|
+
components: [
|
|
680
|
+
{
|
|
681
|
+
internalType: "uint32",
|
|
682
|
+
name: "operationType",
|
|
683
|
+
type: "uint32",
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
internalType: "address",
|
|
687
|
+
name: "target",
|
|
688
|
+
type: "address",
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
internalType: "bytes",
|
|
692
|
+
name: "data",
|
|
693
|
+
type: "bytes",
|
|
694
|
+
},
|
|
695
|
+
],
|
|
696
|
+
internalType: "struct ISuperfluid.Operation[]",
|
|
697
|
+
name: "operations",
|
|
698
|
+
type: "tuple[]",
|
|
699
|
+
},
|
|
700
|
+
],
|
|
701
|
+
name: "forwardBatchCall",
|
|
702
|
+
outputs: [],
|
|
703
|
+
stateMutability: "nonpayable",
|
|
704
|
+
type: "function",
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
inputs: [
|
|
708
|
+
{
|
|
709
|
+
internalType: "bytes32",
|
|
710
|
+
name: "agreementType",
|
|
711
|
+
type: "bytes32",
|
|
712
|
+
},
|
|
713
|
+
],
|
|
714
|
+
name: "getAgreementClass",
|
|
715
|
+
outputs: [
|
|
716
|
+
{
|
|
717
|
+
internalType: "contract ISuperAgreement",
|
|
718
|
+
name: "agreementClass",
|
|
719
|
+
type: "address",
|
|
720
|
+
},
|
|
721
|
+
],
|
|
722
|
+
stateMutability: "view",
|
|
723
|
+
type: "function",
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
inputs: [
|
|
727
|
+
{
|
|
728
|
+
internalType: "contract ISuperApp",
|
|
729
|
+
name: "app",
|
|
730
|
+
type: "address",
|
|
731
|
+
},
|
|
732
|
+
],
|
|
733
|
+
name: "getAppCallbackLevel",
|
|
734
|
+
outputs: [
|
|
735
|
+
{
|
|
736
|
+
internalType: "uint8",
|
|
737
|
+
name: "appCallbackLevel",
|
|
738
|
+
type: "uint8",
|
|
739
|
+
},
|
|
740
|
+
],
|
|
741
|
+
stateMutability: "view",
|
|
742
|
+
type: "function",
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
inputs: [
|
|
746
|
+
{
|
|
747
|
+
internalType: "contract ISuperApp",
|
|
748
|
+
name: "app",
|
|
749
|
+
type: "address",
|
|
750
|
+
},
|
|
751
|
+
],
|
|
752
|
+
name: "getAppManifest",
|
|
753
|
+
outputs: [
|
|
754
|
+
{
|
|
755
|
+
internalType: "bool",
|
|
756
|
+
name: "isSuperApp",
|
|
757
|
+
type: "bool",
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
internalType: "bool",
|
|
761
|
+
name: "isJailed",
|
|
762
|
+
type: "bool",
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
internalType: "uint256",
|
|
766
|
+
name: "noopMask",
|
|
767
|
+
type: "uint256",
|
|
768
|
+
},
|
|
769
|
+
],
|
|
770
|
+
stateMutability: "view",
|
|
771
|
+
type: "function",
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
inputs: [],
|
|
775
|
+
name: "getGovernance",
|
|
776
|
+
outputs: [
|
|
777
|
+
{
|
|
778
|
+
internalType: "contract ISuperfluidGovernance",
|
|
779
|
+
name: "governance",
|
|
780
|
+
type: "address",
|
|
781
|
+
},
|
|
782
|
+
],
|
|
783
|
+
stateMutability: "view",
|
|
784
|
+
type: "function",
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
inputs: [],
|
|
788
|
+
name: "getNow",
|
|
789
|
+
outputs: [
|
|
790
|
+
{
|
|
791
|
+
internalType: "uint256",
|
|
792
|
+
name: "",
|
|
793
|
+
type: "uint256",
|
|
794
|
+
},
|
|
795
|
+
],
|
|
796
|
+
stateMutability: "view",
|
|
797
|
+
type: "function",
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
inputs: [],
|
|
801
|
+
name: "getSuperTokenFactory",
|
|
802
|
+
outputs: [
|
|
803
|
+
{
|
|
804
|
+
internalType: "contract ISuperTokenFactory",
|
|
805
|
+
name: "factory",
|
|
806
|
+
type: "address",
|
|
807
|
+
},
|
|
808
|
+
],
|
|
809
|
+
stateMutability: "view",
|
|
810
|
+
type: "function",
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
inputs: [],
|
|
814
|
+
name: "getSuperTokenFactoryLogic",
|
|
815
|
+
outputs: [
|
|
816
|
+
{
|
|
817
|
+
internalType: "address",
|
|
818
|
+
name: "logic",
|
|
819
|
+
type: "address",
|
|
820
|
+
},
|
|
821
|
+
],
|
|
822
|
+
stateMutability: "view",
|
|
823
|
+
type: "function",
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
inputs: [
|
|
827
|
+
{
|
|
828
|
+
internalType: "contract ISuperAgreement",
|
|
829
|
+
name: "agreementClass",
|
|
830
|
+
type: "address",
|
|
831
|
+
},
|
|
832
|
+
],
|
|
833
|
+
name: "isAgreementClassListed",
|
|
834
|
+
outputs: [
|
|
835
|
+
{
|
|
836
|
+
internalType: "bool",
|
|
837
|
+
name: "yes",
|
|
838
|
+
type: "bool",
|
|
839
|
+
},
|
|
840
|
+
],
|
|
841
|
+
stateMutability: "view",
|
|
842
|
+
type: "function",
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
inputs: [
|
|
846
|
+
{
|
|
847
|
+
internalType: "bytes32",
|
|
848
|
+
name: "agreementType",
|
|
849
|
+
type: "bytes32",
|
|
850
|
+
},
|
|
851
|
+
],
|
|
852
|
+
name: "isAgreementTypeListed",
|
|
853
|
+
outputs: [
|
|
854
|
+
{
|
|
855
|
+
internalType: "bool",
|
|
856
|
+
name: "yes",
|
|
857
|
+
type: "bool",
|
|
858
|
+
},
|
|
859
|
+
],
|
|
860
|
+
stateMutability: "view",
|
|
861
|
+
type: "function",
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
inputs: [
|
|
865
|
+
{
|
|
866
|
+
internalType: "contract ISuperApp",
|
|
867
|
+
name: "app",
|
|
868
|
+
type: "address",
|
|
869
|
+
},
|
|
870
|
+
],
|
|
871
|
+
name: "isApp",
|
|
872
|
+
outputs: [
|
|
873
|
+
{
|
|
874
|
+
internalType: "bool",
|
|
875
|
+
name: "",
|
|
876
|
+
type: "bool",
|
|
877
|
+
},
|
|
878
|
+
],
|
|
879
|
+
stateMutability: "view",
|
|
880
|
+
type: "function",
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
inputs: [
|
|
884
|
+
{
|
|
885
|
+
internalType: "contract ISuperApp",
|
|
886
|
+
name: "app",
|
|
887
|
+
type: "address",
|
|
888
|
+
},
|
|
889
|
+
],
|
|
890
|
+
name: "isAppJailed",
|
|
891
|
+
outputs: [
|
|
892
|
+
{
|
|
893
|
+
internalType: "bool",
|
|
894
|
+
name: "isJail",
|
|
895
|
+
type: "bool",
|
|
896
|
+
},
|
|
897
|
+
],
|
|
898
|
+
stateMutability: "view",
|
|
899
|
+
type: "function",
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
inputs: [
|
|
903
|
+
{
|
|
904
|
+
internalType: "contract ISuperApp",
|
|
905
|
+
name: "app",
|
|
906
|
+
type: "address",
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
internalType: "contract ISuperApp",
|
|
910
|
+
name: "targetApp",
|
|
911
|
+
type: "address",
|
|
912
|
+
},
|
|
913
|
+
],
|
|
914
|
+
name: "isCompositeAppAllowed",
|
|
915
|
+
outputs: [
|
|
916
|
+
{
|
|
917
|
+
internalType: "bool",
|
|
918
|
+
name: "isAppAllowed",
|
|
919
|
+
type: "bool",
|
|
920
|
+
},
|
|
921
|
+
],
|
|
922
|
+
stateMutability: "view",
|
|
923
|
+
type: "function",
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
inputs: [
|
|
927
|
+
{
|
|
928
|
+
internalType: "bytes",
|
|
929
|
+
name: "ctx",
|
|
930
|
+
type: "bytes",
|
|
931
|
+
},
|
|
932
|
+
],
|
|
933
|
+
name: "isCtxValid",
|
|
934
|
+
outputs: [
|
|
935
|
+
{
|
|
936
|
+
internalType: "bool",
|
|
937
|
+
name: "",
|
|
938
|
+
type: "bool",
|
|
939
|
+
},
|
|
940
|
+
],
|
|
941
|
+
stateMutability: "view",
|
|
942
|
+
type: "function",
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
inputs: [
|
|
946
|
+
{
|
|
947
|
+
internalType: "bytes",
|
|
948
|
+
name: "ctx",
|
|
949
|
+
type: "bytes",
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
internalType: "contract ISuperApp",
|
|
953
|
+
name: "app",
|
|
954
|
+
type: "address",
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
internalType: "uint256",
|
|
958
|
+
name: "reason",
|
|
959
|
+
type: "uint256",
|
|
960
|
+
},
|
|
961
|
+
],
|
|
962
|
+
name: "jailApp",
|
|
963
|
+
outputs: [
|
|
964
|
+
{
|
|
965
|
+
internalType: "bytes",
|
|
966
|
+
name: "newCtx",
|
|
967
|
+
type: "bytes",
|
|
968
|
+
},
|
|
969
|
+
],
|
|
970
|
+
stateMutability: "nonpayable",
|
|
971
|
+
type: "function",
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
inputs: [
|
|
975
|
+
{
|
|
976
|
+
internalType: "uint256",
|
|
977
|
+
name: "bitmap",
|
|
978
|
+
type: "uint256",
|
|
979
|
+
},
|
|
980
|
+
],
|
|
981
|
+
name: "mapAgreementClasses",
|
|
982
|
+
outputs: [
|
|
983
|
+
{
|
|
984
|
+
internalType: "contract ISuperAgreement[]",
|
|
985
|
+
name: "agreementClasses",
|
|
986
|
+
type: "address[]",
|
|
987
|
+
},
|
|
988
|
+
],
|
|
989
|
+
stateMutability: "view",
|
|
990
|
+
type: "function",
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
inputs: [
|
|
994
|
+
{
|
|
995
|
+
internalType: "contract ISuperAgreement",
|
|
996
|
+
name: "agreementClassLogic",
|
|
997
|
+
type: "address",
|
|
998
|
+
},
|
|
999
|
+
],
|
|
1000
|
+
name: "registerAgreementClass",
|
|
1001
|
+
outputs: [],
|
|
1002
|
+
stateMutability: "nonpayable",
|
|
1003
|
+
type: "function",
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
inputs: [
|
|
1007
|
+
{
|
|
1008
|
+
internalType: "uint256",
|
|
1009
|
+
name: "configWord",
|
|
1010
|
+
type: "uint256",
|
|
1011
|
+
},
|
|
1012
|
+
],
|
|
1013
|
+
name: "registerApp",
|
|
1014
|
+
outputs: [],
|
|
1015
|
+
stateMutability: "nonpayable",
|
|
1016
|
+
type: "function",
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
inputs: [
|
|
1020
|
+
{
|
|
1021
|
+
internalType: "contract ISuperApp",
|
|
1022
|
+
name: "app",
|
|
1023
|
+
type: "address",
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
internalType: "uint256",
|
|
1027
|
+
name: "configWord",
|
|
1028
|
+
type: "uint256",
|
|
1029
|
+
},
|
|
1030
|
+
],
|
|
1031
|
+
name: "registerAppByFactory",
|
|
1032
|
+
outputs: [],
|
|
1033
|
+
stateMutability: "nonpayable",
|
|
1034
|
+
type: "function",
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
inputs: [
|
|
1038
|
+
{
|
|
1039
|
+
internalType: "uint256",
|
|
1040
|
+
name: "configWord",
|
|
1041
|
+
type: "uint256",
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
internalType: "string",
|
|
1045
|
+
name: "registrationKey",
|
|
1046
|
+
type: "string",
|
|
1047
|
+
},
|
|
1048
|
+
],
|
|
1049
|
+
name: "registerAppWithKey",
|
|
1050
|
+
outputs: [],
|
|
1051
|
+
stateMutability: "nonpayable",
|
|
1052
|
+
type: "function",
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
inputs: [
|
|
1056
|
+
{
|
|
1057
|
+
internalType: "uint256",
|
|
1058
|
+
name: "bitmap",
|
|
1059
|
+
type: "uint256",
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
internalType: "bytes32",
|
|
1063
|
+
name: "agreementType",
|
|
1064
|
+
type: "bytes32",
|
|
1065
|
+
},
|
|
1066
|
+
],
|
|
1067
|
+
name: "removeFromAgreementClassesBitmap",
|
|
1068
|
+
outputs: [
|
|
1069
|
+
{
|
|
1070
|
+
internalType: "uint256",
|
|
1071
|
+
name: "newBitmap",
|
|
1072
|
+
type: "uint256",
|
|
1073
|
+
},
|
|
1074
|
+
],
|
|
1075
|
+
stateMutability: "view",
|
|
1076
|
+
type: "function",
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
inputs: [
|
|
1080
|
+
{
|
|
1081
|
+
internalType: "contract ISuperfluidGovernance",
|
|
1082
|
+
name: "newGov",
|
|
1083
|
+
type: "address",
|
|
1084
|
+
},
|
|
1085
|
+
],
|
|
1086
|
+
name: "replaceGovernance",
|
|
1087
|
+
outputs: [],
|
|
1088
|
+
stateMutability: "nonpayable",
|
|
1089
|
+
type: "function",
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
inputs: [
|
|
1093
|
+
{
|
|
1094
|
+
internalType: "contract ISuperAgreement",
|
|
1095
|
+
name: "agreementClassLogic",
|
|
1096
|
+
type: "address",
|
|
1097
|
+
},
|
|
1098
|
+
],
|
|
1099
|
+
name: "updateAgreementClass",
|
|
1100
|
+
outputs: [],
|
|
1101
|
+
stateMutability: "nonpayable",
|
|
1102
|
+
type: "function",
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
inputs: [
|
|
1106
|
+
{
|
|
1107
|
+
internalType: "contract ISuperTokenFactory",
|
|
1108
|
+
name: "newFactory",
|
|
1109
|
+
type: "address",
|
|
1110
|
+
},
|
|
1111
|
+
],
|
|
1112
|
+
name: "updateSuperTokenFactory",
|
|
1113
|
+
outputs: [],
|
|
1114
|
+
stateMutability: "nonpayable",
|
|
1115
|
+
type: "function",
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
inputs: [
|
|
1119
|
+
{
|
|
1120
|
+
internalType: "contract ISuperToken",
|
|
1121
|
+
name: "token",
|
|
1122
|
+
type: "address",
|
|
1123
|
+
},
|
|
1124
|
+
],
|
|
1125
|
+
name: "updateSuperTokenLogic",
|
|
1126
|
+
outputs: [],
|
|
1127
|
+
stateMutability: "nonpayable",
|
|
1128
|
+
type: "function",
|
|
1129
|
+
},
|
|
1130
|
+
];
|
|
1131
|
+
|
|
1132
|
+
export class ISuperfluid__factory {
|
|
1133
|
+
static readonly abi = _abi;
|
|
1134
|
+
static createInterface(): ISuperfluidInterface {
|
|
1135
|
+
return new utils.Interface(_abi) as ISuperfluidInterface;
|
|
1136
|
+
}
|
|
1137
|
+
static connect(
|
|
1138
|
+
address: string,
|
|
1139
|
+
signerOrProvider: Signer | Provider
|
|
1140
|
+
): ISuperfluid {
|
|
1141
|
+
return new Contract(address, _abi, signerOrProvider) as ISuperfluid;
|
|
1142
|
+
}
|
|
1143
|
+
}
|