@gooddollar/goodprotocol 2.0.34-beta.2 → 2.0.34-beta.4

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.
Files changed (310) hide show
  1. package/artifacts/abis/GenericDistributionHelper.min.json +1 -0
  2. package/artifacts/abis/INonfungiblePositionManager.min.json +1 -0
  3. package/artifacts/abis/IUniswapV3Pool.min.json +1 -0
  4. package/artifacts/abis/UBISchemeV2.min.json +1 -1
  5. package/artifacts/contracts/DAOStackInterfaces.sol/Avatar.dbg.json +1 -1
  6. package/artifacts/contracts/DAOStackInterfaces.sol/Controller.dbg.json +1 -1
  7. package/artifacts/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface.dbg.json +1 -1
  8. package/artifacts/contracts/DAOStackInterfaces.sol/IntVoteInterface.dbg.json +1 -1
  9. package/artifacts/contracts/DAOStackInterfaces.sol/ReputationInterface.dbg.json +1 -1
  10. package/artifacts/contracts/DAOStackInterfaces.sol/SchemeRegistrar.dbg.json +1 -1
  11. package/artifacts/contracts/IQuoter.sol/IQuoterV2.dbg.json +4 -0
  12. package/artifacts/contracts/IQuoter.sol/IQuoterV2.json +211 -0
  13. package/artifacts/contracts/IUniswapV3.sol/INonfungiblePositionManager.dbg.json +4 -0
  14. package/artifacts/contracts/IUniswapV3.sol/INonfungiblePositionManager.json +102 -0
  15. package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.dbg.json +4 -0
  16. package/artifacts/contracts/IUniswapV3.sol/IUniswapV3Pool.json +93 -0
  17. package/artifacts/contracts/Interfaces.sol/AggregatorV3Interface.dbg.json +1 -1
  18. package/artifacts/contracts/Interfaces.sol/ERC20.dbg.json +1 -1
  19. package/artifacts/contracts/Interfaces.sol/IAaveIncentivesController.dbg.json +1 -1
  20. package/artifacts/contracts/Interfaces.sol/IAdminWallet.dbg.json +1 -1
  21. package/artifacts/contracts/Interfaces.sol/IDonationStaking.dbg.json +1 -1
  22. package/artifacts/contracts/Interfaces.sol/IERC2917.dbg.json +1 -1
  23. package/artifacts/contracts/Interfaces.sol/IFirstClaimPool.dbg.json +1 -1
  24. package/artifacts/contracts/Interfaces.sol/IGoodDollar.dbg.json +1 -1
  25. package/artifacts/contracts/Interfaces.sol/IGoodStaking.dbg.json +1 -1
  26. package/artifacts/contracts/Interfaces.sol/IHasRouter.dbg.json +1 -1
  27. package/artifacts/contracts/Interfaces.sol/IIdentity.dbg.json +1 -1
  28. package/artifacts/contracts/Interfaces.sol/IIdentityV2.dbg.json +1 -1
  29. package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
  30. package/artifacts/contracts/Interfaces.sol/IMultichainRouter.dbg.json +1 -1
  31. package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
  32. package/artifacts/contracts/Interfaces.sol/IQuoterV2.dbg.json +1 -1
  33. package/artifacts/contracts/Interfaces.sol/ISwapRouter.dbg.json +1 -1
  34. package/artifacts/contracts/Interfaces.sol/IUBIScheme.dbg.json +1 -1
  35. package/artifacts/contracts/Interfaces.sol/ProxyAdmin.dbg.json +1 -1
  36. package/artifacts/contracts/Interfaces.sol/Reserve.dbg.json +1 -1
  37. package/artifacts/contracts/Interfaces.sol/Staking.dbg.json +1 -1
  38. package/artifacts/contracts/Interfaces.sol/Uniswap.dbg.json +1 -1
  39. package/artifacts/contracts/Interfaces.sol/UniswapFactory.dbg.json +1 -1
  40. package/artifacts/contracts/Interfaces.sol/UniswapPair.dbg.json +1 -1
  41. package/artifacts/contracts/Interfaces.sol/cERC20.dbg.json +1 -1
  42. package/artifacts/contracts/MentoInterfaces.sol/IBancorExchangeProvider.dbg.json +1 -1
  43. package/artifacts/contracts/MentoInterfaces.sol/IBroker.dbg.json +1 -1
  44. package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider.dbg.json +1 -1
  45. package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExpansionController.dbg.json +1 -1
  46. package/artifacts/contracts/MentoInterfaces.sol/IMentoReserve.dbg.json +1 -1
  47. package/artifacts/contracts/MentoInterfaces.sol/ITradingLimits.dbg.json +1 -1
  48. package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.dbg.json +1 -1
  49. package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
  50. package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.dbg.json +1 -1
  51. package/artifacts/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.dbg.json +1 -1
  52. package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
  53. package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
  54. package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
  55. package/artifacts/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking.dbg.json +1 -1
  56. package/artifacts/contracts/governance/GoodDollarStaking.sol/IGovernanceStaking.dbg.json +1 -1
  57. package/artifacts/contracts/governance/GoodDollarStaking.sol/IStakingUpgrade.dbg.json +1 -1
  58. package/artifacts/contracts/governance/GoodDollarStaking.sol/RewardsMinter.dbg.json +1 -1
  59. package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.dbg.json +1 -1
  60. package/artifacts/contracts/governance/MultiBaseGovernanceShareField.sol/MultiBaseGovernanceShareField.dbg.json +1 -1
  61. package/artifacts/contracts/governance/Reputation.sol/Reputation.dbg.json +1 -1
  62. package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
  63. package/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.dbg.json +1 -1
  64. package/artifacts/contracts/identity/IdentityV3.sol/IdentityV3.dbg.json +1 -1
  65. package/artifacts/contracts/invite/InvitesFuseV2.sol/InvitesFuseV2.dbg.json +1 -1
  66. package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.dbg.json +1 -1
  67. package/artifacts/contracts/invite/InvitesV2.sol/InvitesV2.dbg.json +1 -1
  68. package/artifacts/contracts/invite/OneTimeReward.sol/OneTimeReward.dbg.json +1 -1
  69. package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
  70. package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.dbg.json +1 -1
  71. package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.dbg.json +1 -1
  72. package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest.dbg.json +1 -1
  73. package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper.dbg.json +1 -1
  74. package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.dbg.json +1 -1
  75. package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
  76. package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.dbg.json +1 -1
  77. package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
  78. package/artifacts/contracts/mocks/DistributionBridgeMock.sol/DistributionBridgeMock.dbg.json +1 -1
  79. package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.dbg.json +1 -1
  80. package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.dbg.json +1 -1
  81. package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.dbg.json +1 -1
  82. package/artifacts/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.dbg.json +1 -1
  83. package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.dbg.json +1 -1
  84. package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
  85. package/artifacts/contracts/mocks/GoodDollarStakingMock.sol/GoodDollarStakingMock.dbg.json +1 -1
  86. package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
  87. package/artifacts/contracts/mocks/IdentityMock.sol/IdentityMock.dbg.json +1 -1
  88. package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
  89. package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
  90. package/artifacts/contracts/mocks/MultichainRouterMock.sol/IWrapper.dbg.json +1 -1
  91. package/artifacts/contracts/mocks/MultichainRouterMock.sol/MultichainRouterMock.dbg.json +1 -1
  92. package/artifacts/contracts/mocks/OverMintTester.sol/IGoodDollarStakingTest.dbg.json +1 -1
  93. package/artifacts/contracts/mocks/OverMintTester.sol/OverMintTester.dbg.json +1 -1
  94. package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
  95. package/artifacts/contracts/mocks/PayableMock.sol/PayableMock.dbg.json +1 -1
  96. package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
  97. package/artifacts/contracts/mocks/StakingMockFixedAPY.sol/StakingMockFixedAPY.dbg.json +1 -1
  98. package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
  99. package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
  100. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
  101. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
  102. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
  103. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
  104. package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
  105. package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
  106. package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
  107. package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
  108. package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
  109. package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
  110. package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
  111. package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
  112. package/artifacts/contracts/reserve/CeloDistributionHelper.sol/CeloDistributionHelper.dbg.json +1 -1
  113. package/artifacts/contracts/reserve/DistributionHelper.sol/DistributionHelper.dbg.json +1 -1
  114. package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
  115. package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.dbg.json +4 -0
  116. package/artifacts/contracts/reserve/GenericDistributionHelper.sol/GenericDistributionHelper.json +931 -0
  117. package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
  118. package/artifacts/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.dbg.json +1 -1
  119. package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.dbg.json +1 -1
  120. package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
  121. package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
  122. package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
  123. package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.dbg.json +1 -1
  124. package/artifacts/contracts/staking/FuseStakingV3.sol/IConsensus.dbg.json +1 -1
  125. package/artifacts/contracts/staking/FuseStakingV3.sol/PegSwap.dbg.json +1 -1
  126. package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.dbg.json +1 -1
  127. package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
  128. package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
  129. package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
  130. package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
  131. package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
  132. package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
  133. package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
  134. package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
  135. package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
  136. package/artifacts/contracts/staking/utils/Math64X64.sol/Math64x64.dbg.json +1 -1
  137. package/artifacts/contracts/staking/utils/StakingRewardsFixedAPY.sol/StakingRewardsFixedAPY.dbg.json +1 -1
  138. package/artifacts/contracts/token/ERC20PresetMinterPauserUpgradeable.sol/ERC20PresetMinterPauserUpgradeable.dbg.json +1 -1
  139. package/artifacts/contracts/token/ERC677.sol/ERC677.dbg.json +1 -1
  140. package/artifacts/contracts/token/ERC677.sol/ERC677Receiver.dbg.json +1 -1
  141. package/artifacts/contracts/token/GoodDollar.sol/GoodDollar.dbg.json +1 -1
  142. package/artifacts/contracts/token/GoodDollar2.sol/GoodDollar2.dbg.json +1 -1
  143. package/artifacts/contracts/token/IFeesFormula.sol/IFeesFormula.dbg.json +1 -1
  144. package/artifacts/contracts/token/MultichainFeeFormula.sol/MultichainFeeFormula.dbg.json +1 -1
  145. package/artifacts/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit.dbg.json +1 -1
  146. package/artifacts/contracts/token/superfluid/ERC20Permit.sol/SelfApprove.dbg.json +1 -1
  147. package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.dbg.json +1 -1
  148. package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.dbg.json +1 -1
  149. package/artifacts/contracts/token/superfluid/ISuperToken.sol/ISuperToken.dbg.json +1 -1
  150. package/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.dbg.json +1 -1
  151. package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.dbg.json +1 -1
  152. package/artifacts/contracts/token/superfluid/SuperfluidToken.sol/SuperfluidToken.dbg.json +1 -1
  153. package/artifacts/contracts/token/superfluid/UUPSProxiable.sol/UUPSProxiable.dbg.json +1 -1
  154. package/artifacts/contracts/token/superfluid/UUPSProxy.sol/Proxy.dbg.json +1 -1
  155. package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.dbg.json +1 -1
  156. package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSUtils.dbg.json +1 -1
  157. package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
  158. package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.dbg.json +1 -1
  159. package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.json +7 -2
  160. package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.dbg.json +1 -1
  161. package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.dbg.json +1 -1
  162. package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
  163. package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
  164. package/artifacts/contracts/utils/BulkWhitelist.sol/BulkWhitelist.dbg.json +1 -1
  165. package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.dbg.json +1 -1
  166. package/artifacts/contracts/utils/BuyFromReserveHelper.sol/BuyFromReserveHelper.dbg.json +1 -1
  167. package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDClone.dbg.json +1 -1
  168. package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory.dbg.json +1 -1
  169. package/artifacts/contracts/utils/BuyGDClone.sol/DonateGDClone.dbg.json +1 -1
  170. package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
  171. package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
  172. package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
  173. package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
  174. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/EternalStorage.dbg.json +1 -1
  175. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/FuseOldBridgeKill.dbg.json +1 -1
  176. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/IUpgradeabilityOwnerStorage.dbg.json +1 -1
  177. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Initializable.dbg.json +1 -1
  178. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Ownable.dbg.json +1 -1
  179. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Upgradeable.dbg.json +1 -1
  180. package/artifacts/contracts/utils/GDFaucet.sol/GDFaucet.dbg.json +1 -1
  181. package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.dbg.json +1 -1
  182. package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/IRouter.dbg.json +1 -1
  183. package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/PausableControl.dbg.json +1 -1
  184. package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/TokenOperation.dbg.json +1 -1
  185. package/artifacts/contracts/utils/IdentityFix.sol/IdentityFix.dbg.json +1 -1
  186. package/artifacts/contracts/utils/LastauthReduction.sol/LastauthReduction.dbg.json +1 -1
  187. package/artifacts/contracts/utils/MultiCall.sol/Multicall.dbg.json +1 -1
  188. package/artifacts/contracts/utils/MultichainBridgeHelper.sol/MultichainBridgeHelper.dbg.json +1 -1
  189. package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
  190. package/artifacts/contracts/utils/OneTimePayments.sol/OneTimePayments.dbg.json +1 -1
  191. package/artifacts/contracts/utils/OneTimePaymentsV2.sol/OneTimePaymentsV2.dbg.json +1 -1
  192. package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/MentoExchange.dbg.json +1 -1
  193. package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.dbg.json +1 -1
  194. package/artifacts/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
  195. package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
  196. package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
  197. package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
  198. package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
  199. package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.dbg.json +1 -1
  200. package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
  201. package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
  202. package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.dbg.json +1 -1
  203. package/contracts/IQuoter.sol +108 -0
  204. package/contracts/IUniswapV3.sol +51 -0
  205. package/contracts/reserve/GenericDistributionHelper.sol +319 -0
  206. package/contracts/ubi/UBISchemeV2.sol +8 -4
  207. package/dist/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.json +2 -2
  208. package/dist/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.json +179 -186
  209. package/dist/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.json +2 -2
  210. package/dist/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.json +2 -2
  211. package/dist/test-sdk/deploySuperGoodDollar.d.ts +1 -1
  212. package/dist/test-sdk/deploySuperGoodDollar.js +4 -8
  213. package/dist/test-sdk/index.js +1 -5
  214. package/hardhat.config.ts +14 -6
  215. package/package.json +1 -1
  216. package/releases/deploy-settings.json +15 -2
  217. package/releases/deployment.json +66 -45
  218. package/releases/olddao.json +1 -1
  219. package/scripts/fv.ts +19 -1
  220. package/scripts/multichain-deploy/0_proxyFactory-deploy.ts +4 -3
  221. package/scripts/multichain-deploy/1_basicdao-deploy.ts +18 -9
  222. package/scripts/multichain-deploy/4_ubi-deploy.ts +1 -1
  223. package/scripts/multichain-deploy/8_disthelper-deploy.ts +152 -0
  224. package/scripts/multichain-deploy/createUniswapTestPools.ts +163 -0
  225. package/scripts/multichain-deploy/fulldeploy.sh +17 -17
  226. package/scripts/multichain-deploy/helpers.ts +76 -6
  227. package/scripts/multichain-deploy/verify.ts +41 -0
  228. package/scripts/proposals/gip-25-xdc-upgrade.ts +438 -0
  229. package/test/helpers.ts +1 -1
  230. package/test/ubi/UBISchemeV2.test.ts +35 -108
  231. package/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +108 -0
  232. package/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +1 -0
  233. package/types/@uniswap/index.ts +2 -0
  234. package/types/@uniswap/v2-periphery/contracts/index.ts +5 -0
  235. package/types/@uniswap/v2-periphery/contracts/interfaces/IWETH.ts +159 -0
  236. package/types/@uniswap/v2-periphery/contracts/interfaces/index.ts +4 -0
  237. package/types/@uniswap/v2-periphery/index.ts +5 -0
  238. package/types/contracts/IQuoter.sol/IQuoterV2.ts +297 -0
  239. package/types/contracts/IQuoter.sol/index.ts +4 -0
  240. package/types/contracts/IUniswapV3.sol/INonfungiblePositionManager.ts +151 -0
  241. package/types/contracts/IUniswapV3.sol/IUniswapV3Factory.ts +155 -0
  242. package/types/contracts/IUniswapV3.sol/IUniswapV3Pool.ts +179 -0
  243. package/types/contracts/IUniswapV3.sol/index.ts +5 -0
  244. package/types/contracts/Interfaces.sol/AToken.ts +81 -0
  245. package/types/contracts/Interfaces.sol/IAaveIncentivesControllerV3.ts +156 -0
  246. package/types/contracts/Interfaces.sol/ILendingPoolV3.ts +254 -0
  247. package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor.ts +648 -0
  248. package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable.ts +843 -0
  249. package/types/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +4 -0
  250. package/types/contracts/index.ts +4 -0
  251. package/types/contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper.ts +1252 -0
  252. package/types/contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper.ts +1247 -0
  253. package/types/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +4 -0
  254. package/types/contracts/reserve/GenericDistributionHelper.ts +1304 -0
  255. package/types/contracts/reserve/GoodReserveADai.ts +2212 -0
  256. package/types/contracts/reserve/index.ts +1 -0
  257. package/types/contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2.ts +1808 -0
  258. package/types/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +4 -0
  259. package/types/contracts/token/GoodDollar18.ts +1871 -0
  260. package/types/contracts/ubi/UBISchemeV2.ts +14 -3
  261. package/types/contracts/utils/BuyGDClone.sol/IQuoterV2.ts +184 -0
  262. package/types/contracts/utils/BuyGDClone.sol/ISwapRouter.ts +306 -0
  263. package/types/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677.ts +108 -0
  264. package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange.ts +81 -0
  265. package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.ts +161 -0
  266. package/types/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +5 -0
  267. package/types/contracts/utils/ReserveRestore.sol/MentoExchange.ts +81 -0
  268. package/types/contracts/utils/ReserveRestore.sol/ReserveRestore.ts +112 -0
  269. package/types/contracts/utils/ReserveRestore.sol/index.ts +5 -0
  270. package/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +146 -0
  271. package/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +1 -0
  272. package/types/factories/@uniswap/index.ts +1 -0
  273. package/types/factories/@uniswap/v2-periphery/contracts/index.ts +4 -0
  274. package/types/factories/@uniswap/v2-periphery/contracts/interfaces/IWETH__factory.ts +67 -0
  275. package/types/factories/@uniswap/v2-periphery/contracts/interfaces/index.ts +4 -0
  276. package/types/factories/@uniswap/v2-periphery/index.ts +4 -0
  277. package/types/factories/contracts/IQuoter.sol/IQuoterV2__factory.ts +226 -0
  278. package/types/factories/contracts/IQuoter.sol/index.ts +4 -0
  279. package/types/factories/contracts/IUniswapV3.sol/INonfungiblePositionManager__factory.ts +121 -0
  280. package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Factory__factory.ts +84 -0
  281. package/types/factories/contracts/IUniswapV3.sol/IUniswapV3Pool__factory.ts +108 -0
  282. package/types/factories/contracts/IUniswapV3.sol/index.ts +5 -0
  283. package/types/factories/contracts/Interfaces.sol/AToken__factory.ts +36 -0
  284. package/types/factories/contracts/Interfaces.sol/IAaveIncentivesControllerV3__factory.ts +88 -0
  285. package/types/factories/contracts/Interfaces.sol/ILendingPoolV3__factory.ts +186 -0
  286. package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable__factory.ts +572 -0
  287. package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributor__factory.ts +482 -0
  288. package/types/factories/contracts/fuseFaucet/SuperfluidBaseFacuet.sol/index.ts +4 -0
  289. package/types/factories/contracts/index.ts +2 -0
  290. package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper__factory.ts +929 -0
  291. package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/GenericDistributionHelper__factory.ts +935 -0
  292. package/types/factories/contracts/reserve/GenericDistributionHelper copy.sol/index.ts +4 -0
  293. package/types/factories/contracts/reserve/GenericDistributionHelper__factory.ts +987 -0
  294. package/types/factories/contracts/reserve/GoodReserveADai__factory.ts +1502 -0
  295. package/types/factories/contracts/reserve/index.ts +1 -0
  296. package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/GoodAaveStakingV2__factory.ts +1240 -0
  297. package/types/factories/contracts/staking/aave/GoodAave3StakingV2.sol/index.ts +4 -0
  298. package/types/factories/contracts/token/GoodDollar18__factory.ts +1257 -0
  299. package/types/factories/contracts/ubi/UBISchemeV2__factory.ts +6 -1
  300. package/types/factories/contracts/utils/BuyGDClone.sol/IQuoterV2__factory.ts +126 -0
  301. package/types/factories/contracts/utils/BuyGDClone.sol/ISwapRouter__factory.ts +220 -0
  302. package/types/factories/contracts/utils/FuseOldBridgeKill.sol/BasicAMBErc677ToErc677__factory.ts +86 -0
  303. package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/MentoExchange__factory.ts +39 -0
  304. package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +152 -0
  305. package/types/factories/contracts/utils/ProtocolUpgradeV4Mento.sol/index.ts +5 -0
  306. package/types/factories/contracts/utils/ReserveRestore.sol/MentoExchange__factory.ts +39 -0
  307. package/types/factories/contracts/utils/ReserveRestore.sol/ReserveRestore__factory.ts +95 -0
  308. package/types/factories/contracts/utils/ReserveRestore.sol/index.ts +5 -0
  309. package/types/hardhat.d.ts +54 -0
  310. package/types/index.ts +10 -2
@@ -0,0 +1,572 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import type { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ EthDistributorUpgradeable,
8
+ EthDistributorUpgradeableInterface,
9
+ } from "../../../../contracts/fuseFaucet/SuperfluidBaseFacuet.sol/EthDistributorUpgradeable";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [],
14
+ stateMutability: "nonpayable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ anonymous: false,
19
+ inputs: [
20
+ {
21
+ indexed: false,
22
+ internalType: "address",
23
+ name: "previousAdmin",
24
+ type: "address",
25
+ },
26
+ {
27
+ indexed: false,
28
+ internalType: "address",
29
+ name: "newAdmin",
30
+ type: "address",
31
+ },
32
+ ],
33
+ name: "AdminChanged",
34
+ type: "event",
35
+ },
36
+ {
37
+ anonymous: false,
38
+ inputs: [
39
+ {
40
+ indexed: true,
41
+ internalType: "address",
42
+ name: "beacon",
43
+ type: "address",
44
+ },
45
+ ],
46
+ name: "BeaconUpgraded",
47
+ type: "event",
48
+ },
49
+ {
50
+ anonymous: false,
51
+ inputs: [
52
+ {
53
+ indexed: false,
54
+ internalType: "address",
55
+ name: "recipient",
56
+ type: "address",
57
+ },
58
+ {
59
+ indexed: false,
60
+ internalType: "uint256",
61
+ name: "amount",
62
+ type: "uint256",
63
+ },
64
+ ],
65
+ name: "EthSent",
66
+ type: "event",
67
+ },
68
+ {
69
+ anonymous: false,
70
+ inputs: [
71
+ {
72
+ indexed: false,
73
+ internalType: "uint8",
74
+ name: "version",
75
+ type: "uint8",
76
+ },
77
+ ],
78
+ name: "Initialized",
79
+ type: "event",
80
+ },
81
+ {
82
+ anonymous: false,
83
+ inputs: [
84
+ {
85
+ indexed: true,
86
+ internalType: "bytes32",
87
+ name: "role",
88
+ type: "bytes32",
89
+ },
90
+ {
91
+ indexed: true,
92
+ internalType: "bytes32",
93
+ name: "previousAdminRole",
94
+ type: "bytes32",
95
+ },
96
+ {
97
+ indexed: true,
98
+ internalType: "bytes32",
99
+ name: "newAdminRole",
100
+ type: "bytes32",
101
+ },
102
+ ],
103
+ name: "RoleAdminChanged",
104
+ type: "event",
105
+ },
106
+ {
107
+ anonymous: false,
108
+ inputs: [
109
+ {
110
+ indexed: true,
111
+ internalType: "bytes32",
112
+ name: "role",
113
+ type: "bytes32",
114
+ },
115
+ {
116
+ indexed: true,
117
+ internalType: "address",
118
+ name: "account",
119
+ type: "address",
120
+ },
121
+ {
122
+ indexed: true,
123
+ internalType: "address",
124
+ name: "sender",
125
+ type: "address",
126
+ },
127
+ ],
128
+ name: "RoleGranted",
129
+ type: "event",
130
+ },
131
+ {
132
+ anonymous: false,
133
+ inputs: [
134
+ {
135
+ indexed: true,
136
+ internalType: "bytes32",
137
+ name: "role",
138
+ type: "bytes32",
139
+ },
140
+ {
141
+ indexed: true,
142
+ internalType: "address",
143
+ name: "account",
144
+ type: "address",
145
+ },
146
+ {
147
+ indexed: true,
148
+ internalType: "address",
149
+ name: "sender",
150
+ type: "address",
151
+ },
152
+ ],
153
+ name: "RoleRevoked",
154
+ type: "event",
155
+ },
156
+ {
157
+ anonymous: false,
158
+ inputs: [
159
+ {
160
+ indexed: false,
161
+ internalType: "uint256",
162
+ name: "toppingAmount",
163
+ type: "uint256",
164
+ },
165
+ {
166
+ indexed: false,
167
+ internalType: "uint256",
168
+ name: "maxTimesPerMonth",
169
+ type: "uint256",
170
+ },
171
+ {
172
+ indexed: false,
173
+ internalType: "uint256",
174
+ name: "maxAmountPerMonth",
175
+ type: "uint256",
176
+ },
177
+ ],
178
+ name: "SettingsUpdated",
179
+ type: "event",
180
+ },
181
+ {
182
+ anonymous: false,
183
+ inputs: [
184
+ {
185
+ indexed: true,
186
+ internalType: "address",
187
+ name: "implementation",
188
+ type: "address",
189
+ },
190
+ ],
191
+ name: "Upgraded",
192
+ type: "event",
193
+ },
194
+ {
195
+ inputs: [],
196
+ name: "ADMIN_ROLE",
197
+ outputs: [
198
+ {
199
+ internalType: "bytes32",
200
+ name: "",
201
+ type: "bytes32",
202
+ },
203
+ ],
204
+ stateMutability: "view",
205
+ type: "function",
206
+ },
207
+ {
208
+ inputs: [],
209
+ name: "DEFAULT_ADMIN_ROLE",
210
+ outputs: [
211
+ {
212
+ internalType: "bytes32",
213
+ name: "",
214
+ type: "bytes32",
215
+ },
216
+ ],
217
+ stateMutability: "view",
218
+ type: "function",
219
+ },
220
+ {
221
+ inputs: [
222
+ {
223
+ internalType: "bytes32",
224
+ name: "role",
225
+ type: "bytes32",
226
+ },
227
+ ],
228
+ name: "getRoleAdmin",
229
+ outputs: [
230
+ {
231
+ internalType: "bytes32",
232
+ name: "",
233
+ type: "bytes32",
234
+ },
235
+ ],
236
+ stateMutability: "view",
237
+ type: "function",
238
+ },
239
+ {
240
+ inputs: [
241
+ {
242
+ internalType: "bytes32",
243
+ name: "role",
244
+ type: "bytes32",
245
+ },
246
+ {
247
+ internalType: "address",
248
+ name: "account",
249
+ type: "address",
250
+ },
251
+ ],
252
+ name: "grantRole",
253
+ outputs: [],
254
+ stateMutability: "nonpayable",
255
+ type: "function",
256
+ },
257
+ {
258
+ inputs: [
259
+ {
260
+ internalType: "bytes32",
261
+ name: "role",
262
+ type: "bytes32",
263
+ },
264
+ {
265
+ internalType: "address",
266
+ name: "account",
267
+ type: "address",
268
+ },
269
+ ],
270
+ name: "hasRole",
271
+ outputs: [
272
+ {
273
+ internalType: "bool",
274
+ name: "",
275
+ type: "bool",
276
+ },
277
+ ],
278
+ stateMutability: "view",
279
+ type: "function",
280
+ },
281
+ {
282
+ inputs: [
283
+ {
284
+ internalType: "uint256",
285
+ name: "_toppingAmount",
286
+ type: "uint256",
287
+ },
288
+ {
289
+ internalType: "uint256",
290
+ name: "_maxTimesPerMonth",
291
+ type: "uint256",
292
+ },
293
+ {
294
+ internalType: "uint256",
295
+ name: "_maxAmountPerMonth",
296
+ type: "uint256",
297
+ },
298
+ ],
299
+ name: "initialize",
300
+ outputs: [],
301
+ stateMutability: "nonpayable",
302
+ type: "function",
303
+ },
304
+ {
305
+ inputs: [],
306
+ name: "maxAmountPerMonth",
307
+ outputs: [
308
+ {
309
+ internalType: "uint256",
310
+ name: "",
311
+ type: "uint256",
312
+ },
313
+ ],
314
+ stateMutability: "view",
315
+ type: "function",
316
+ },
317
+ {
318
+ inputs: [],
319
+ name: "maxTimesPerMonth",
320
+ outputs: [
321
+ {
322
+ internalType: "uint256",
323
+ name: "",
324
+ type: "uint256",
325
+ },
326
+ ],
327
+ stateMutability: "view",
328
+ type: "function",
329
+ },
330
+ {
331
+ inputs: [],
332
+ name: "proxiableUUID",
333
+ outputs: [
334
+ {
335
+ internalType: "bytes32",
336
+ name: "",
337
+ type: "bytes32",
338
+ },
339
+ ],
340
+ stateMutability: "view",
341
+ type: "function",
342
+ },
343
+ {
344
+ inputs: [
345
+ {
346
+ internalType: "address",
347
+ name: "",
348
+ type: "address",
349
+ },
350
+ ],
351
+ name: "recipientInfo",
352
+ outputs: [
353
+ {
354
+ internalType: "uint256",
355
+ name: "lastWithdrawalMonth",
356
+ type: "uint256",
357
+ },
358
+ {
359
+ internalType: "uint256",
360
+ name: "withdrawalsThisMonth",
361
+ type: "uint256",
362
+ },
363
+ {
364
+ internalType: "uint256",
365
+ name: "totalWithdrawnThisMonth",
366
+ type: "uint256",
367
+ },
368
+ ],
369
+ stateMutability: "view",
370
+ type: "function",
371
+ },
372
+ {
373
+ inputs: [
374
+ {
375
+ internalType: "bytes32",
376
+ name: "role",
377
+ type: "bytes32",
378
+ },
379
+ {
380
+ internalType: "address",
381
+ name: "account",
382
+ type: "address",
383
+ },
384
+ ],
385
+ name: "renounceRole",
386
+ outputs: [],
387
+ stateMutability: "nonpayable",
388
+ type: "function",
389
+ },
390
+ {
391
+ inputs: [
392
+ {
393
+ internalType: "bytes32",
394
+ name: "role",
395
+ type: "bytes32",
396
+ },
397
+ {
398
+ internalType: "address",
399
+ name: "account",
400
+ type: "address",
401
+ },
402
+ ],
403
+ name: "revokeRole",
404
+ outputs: [],
405
+ stateMutability: "nonpayable",
406
+ type: "function",
407
+ },
408
+ {
409
+ inputs: [
410
+ {
411
+ internalType: "bytes4",
412
+ name: "interfaceId",
413
+ type: "bytes4",
414
+ },
415
+ ],
416
+ name: "supportsInterface",
417
+ outputs: [
418
+ {
419
+ internalType: "bool",
420
+ name: "",
421
+ type: "bool",
422
+ },
423
+ ],
424
+ stateMutability: "view",
425
+ type: "function",
426
+ },
427
+ {
428
+ inputs: [
429
+ {
430
+ internalType: "address payable",
431
+ name: "recipient",
432
+ type: "address",
433
+ },
434
+ ],
435
+ name: "topWallet",
436
+ outputs: [],
437
+ stateMutability: "nonpayable",
438
+ type: "function",
439
+ },
440
+ {
441
+ inputs: [],
442
+ name: "toppingAmount",
443
+ outputs: [
444
+ {
445
+ internalType: "uint256",
446
+ name: "",
447
+ type: "uint256",
448
+ },
449
+ ],
450
+ stateMutability: "view",
451
+ type: "function",
452
+ },
453
+ {
454
+ inputs: [
455
+ {
456
+ internalType: "uint256",
457
+ name: "_toppingAmount",
458
+ type: "uint256",
459
+ },
460
+ {
461
+ internalType: "uint256",
462
+ name: "_maxTimesPerMonth",
463
+ type: "uint256",
464
+ },
465
+ {
466
+ internalType: "uint256",
467
+ name: "_maxAmountPerMonth",
468
+ type: "uint256",
469
+ },
470
+ ],
471
+ name: "updateSettings",
472
+ outputs: [],
473
+ stateMutability: "nonpayable",
474
+ type: "function",
475
+ },
476
+ {
477
+ inputs: [
478
+ {
479
+ internalType: "address",
480
+ name: "newImplementation",
481
+ type: "address",
482
+ },
483
+ ],
484
+ name: "upgradeTo",
485
+ outputs: [],
486
+ stateMutability: "nonpayable",
487
+ type: "function",
488
+ },
489
+ {
490
+ inputs: [
491
+ {
492
+ internalType: "address",
493
+ name: "newImplementation",
494
+ type: "address",
495
+ },
496
+ {
497
+ internalType: "bytes",
498
+ name: "data",
499
+ type: "bytes",
500
+ },
501
+ ],
502
+ name: "upgradeToAndCall",
503
+ outputs: [],
504
+ stateMutability: "payable",
505
+ type: "function",
506
+ },
507
+ {
508
+ inputs: [],
509
+ name: "withdraw",
510
+ outputs: [],
511
+ stateMutability: "nonpayable",
512
+ type: "function",
513
+ },
514
+ {
515
+ stateMutability: "payable",
516
+ type: "receive",
517
+ },
518
+ ] as const;
519
+
520
+ const _bytecode =
521
+ "0x60a06040523060805234801561001457600080fd5b5061001d610022565b6100e2565b600054610100900460ff161561008e5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811610156100e0576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051611878610119600039600081816104bd015281816104fd01528181610996015281816109d60152610a4e01526118786000f3fe6080604052600436106100e85760003560e01c806301ffc9a7146100f45780630465c56314610129578063248a9ca31461014b5780632f2ff15d1461017957806336568abe146101995780633659cfe6146101b95780633771dcf8146101d95780633ccfd60b146101f95780634f1ef2861461020e57806352d1902d1461022157806375b238fc1461023657806380d85911146102585780639061e16f1461027857806391d148541461028e578063a217fddf146102ae578063b58d6674146102c3578063bbdcccd01461030e578063d547741f14610324578063e6ea39391461034457600080fd5b366100ef57005b600080fd5b34801561010057600080fd5b5061011461010f3660046113ea565b61035a565b60405190151581526020015b60405180910390f35b34801561013557600080fd5b50610149610144366004611414565b610391565b005b34801561015757600080fd5b5061016b610166366004611440565b6103fa565b604051908152602001610120565b34801561018557600080fd5b5061014961019436600461146e565b61040f565b3480156101a557600080fd5b506101496101b436600461146e565b610430565b3480156101c557600080fd5b506101496101d436600461149e565b6104b3565b3480156101e557600080fd5b506101496101f436600461149e565b61057b565b34801561020557600080fd5b50610149610952565b61014961021c3660046114d1565b61098c565b34801561022d57600080fd5b5061016b610a41565b34801561024257600080fd5b5061016b60008051602061182383398151915281565b34801561026457600080fd5b50610149610273366004611414565b610aef565b34801561028457600080fd5b5061016b60fc5481565b34801561029a57600080fd5b506101146102a936600461146e565b610c40565b3480156102ba57600080fd5b5061016b600081565b3480156102cf57600080fd5b506102ff6102de36600461149e565b60fe6020526000908152604090208054600182015460029092015490919083565b60405161012093929190611594565b34801561031a57600080fd5b5061016b60fd5481565b34801561033057600080fd5b5061014961033f36600461146e565b610c6b565b34801561035057600080fd5b5061016b60fb5481565b60006001600160e01b03198216637965db0b60e01b148061038b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000805160206118238339815191526103a981610c87565b60fb84905560fc83905560fd8290556040517f788bfd43e8661870f1e32e2c9085399b4707617039d7f781115ce1412913a2ea906103ec90869086908690611594565b60405180910390a150505050565b600090815260c9602052604090206001015490565b610418826103fa565b61042181610c87565b61042b8383610c91565b505050565b6001600160a01b03811633146104a55760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6104af8282610d17565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104fb5760405162461bcd60e51b815260040161049c906115aa565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661052d610d7e565b6001600160a01b0316146105535760405162461bcd60e51b815260040161049c906115e4565b61055c81610d9a565b6040805160008082526020820190925261057891839190610da5565b50565b60008051602061182383398151915261059381610c87565b6001600160a01b0382166105e55760405162461bcd60e51b8152602060048201526019602482015278496e76616c696420726563697069656e74206164647265737360381b604482015260640161049c565b60fb544710156106375760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420636f6e74726163742062616c616e6365000000604482015260640161049c565b600260fb546106469190611634565b826001600160a01b031631106106be5760405162461bcd60e51b815260206004820152603760248201527f526563697069656e742062616c616e636520697320616c7265616479206174206044820152761bdc8818589bdd99481d1bdc1c1a5b99c8185b5bdd5b9d604a1b606482015260840161049c565b60006106cd62278d0042611634565b6001600160a01b038416600090815260fe602052604090208054919250908211156107045760006001820181905560028201558181555b60fc548160010154106107655760405162461bcd60e51b815260206004820152602360248201527f4578636565646564206d6178207769746864726177616c732074686973206d6f6044820152620dce8d60eb1b606482015260840161049c565b60fd5460fb54600283015461077991610f10565b11156107c75760405162461bcd60e51b815260206004820152601e60248201527f4578636565646564206d617820616d6f756e742074686973206d6f6e74680000604482015260640161049c565b60fb546000906107e1906001600160a01b03871631610f23565b9050804710156108485760405162461bcd60e51b815260206004820152602c60248201527f496e73756666696369656e7420636f6e74726163742062616c616e636520666f60448201526b07220746f7070696e672075760a41b606482015260840161049c565b60018281015461085791610f10565b6001830155600282015461086b9082610f10565b60028301556040516000906001600160a01b0387169083908381818185875af1925050503d80600081146108bb576040519150601f19603f3d011682016040523d82523d6000602084013e6108c0565b606091505b50509050806109085760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015260640161049c565b604080516001600160a01b0388168152602081018490527f78f5cdad99320ec2ba57132d7dffb1d125775c823239e60ff5e9300fd4ac898c910160405180910390a1505050505050565b600061095d81610c87565b6040514790339082156108fc029083906000818181858888f1935050505015801561042b573d6000803e3d6000fd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036109d45760405162461bcd60e51b815260040161049c906115aa565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610a06610d7e565b6001600160a01b031614610a2c5760405162461bcd60e51b815260040161049c906115e4565b610a3582610d9a565b6104af82826001610da5565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610adc5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161049c565b506000805160206117dc83398151915290565b600054610100900460ff1615808015610b0f5750600054600160ff909116105b80610b305750610b1e30610f2f565b158015610b30575060005460ff166001145b610b935760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161049c565b6000805460ff191660011790558015610bb6576000805461ff0019166101001790555b610bbe610f3e565b610bc6610f3e565b610bd1600033610fab565b610be960008051602061182383398151915233610fab565b60fb84905560fc83905560fd8290558015610c3a576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906020016103ec565b50505050565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610c74826103fa565b610c7d81610c87565b61042b8383610d17565b6105788133610fb5565b610c9b8282610c40565b6104af57600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610cd33390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610d218282610c40565b156104af57600082815260c9602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000805160206117dc833981519152546001600160a01b031690565b60006104af81610c87565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610dd85761042b8361100e565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e32575060408051601f3d908101601f19168201909252610e2f91810190611656565b60015b610e955760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161049c565b6000805160206117dc8339815191528114610f045760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161049c565b5061042b8383836110a8565b6000610f1c828461166f565b9392505050565b6000610f1c8284611682565b6001600160a01b03163b151590565b600054610100900460ff16610fa95760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161049c565b565b6104af8282610c91565b610fbf8282610c40565b6104af57610fcc816110cd565b610fd78360206110df565b604051602001610fe89291906116b9565b60408051601f198184030181529082905262461bcd60e51b825261049c91600401611728565b61101781610f2f565b6110795760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161049c565b6000805160206117dc83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6110b18361127a565b6000825111806110be5750805b1561042b57610c3a83836112ba565b606061038b6001600160a01b03831660145b606060006110ee83600261175b565b6110f990600261166f565b6001600160401b03811115611110576111106114bb565b6040519080825280601f01601f19166020018201604052801561113a576020820181803683370190505b509050600360fc1b8160008151811061115557611155611772565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061118457611184611772565b60200101906001600160f81b031916908160001a90535060006111a884600261175b565b6111b390600161166f565b90505b600181111561122b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106111e7576111e7611772565b1a60f81b8282815181106111fd576111fd611772565b60200101906001600160f81b031916908160001a90535060049490941c9361122481611788565b90506111b6565b508315610f1c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161049c565b6112838161100e565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606112c583610f2f565b6113205760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161049c565b600080846001600160a01b03168460405161133b919061179f565b600060405180830381855af49150503d8060008114611376576040519150601f19603f3d011682016040523d82523d6000602084013e61137b565b606091505b50915091506113a382826040518060600160405280602781526020016117fc602791396113ac565b95945050505050565b606083156113bb575081610f1c565b610f1c83838151156113d05781518083602001fd5b8060405162461bcd60e51b815260040161049c9190611728565b6000602082840312156113fc57600080fd5b81356001600160e01b031981168114610f1c57600080fd5b60008060006060848603121561142957600080fd5b505081359360208301359350604090920135919050565b60006020828403121561145257600080fd5b5035919050565b6001600160a01b038116811461057857600080fd5b6000806040838503121561148157600080fd5b82359150602083013561149381611459565b809150509250929050565b6000602082840312156114b057600080fd5b8135610f1c81611459565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156114e457600080fd5b82356114ef81611459565b915060208301356001600160401b038082111561150b57600080fd5b818501915085601f83011261151f57600080fd5b813581811115611531576115316114bb565b604051601f8201601f19908116603f01168101908382118183101715611559576115596114bb565b8160405282815288602084870101111561157257600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b9283526020830191909152604082015260600190565b6020808252602c908201526000805160206117bc83398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206117bc83398151915260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008261165157634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561166857600080fd5b5051919050565b8082018082111561038b5761038b61161e565b8181038181111561038b5761038b61161e565b60005b838110156116b0578181015183820152602001611698565b50506000910152565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516116eb816017850160208801611695565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161171c816028840160208801611695565b01602801949350505050565b6020815260008251806020840152611747816040850160208701611695565b601f01601f19169190910160400192915050565b808202811582820484141761038b5761038b61161e565b634e487b7160e01b600052603260045260246000fd5b6000816117975761179761161e565b506000190190565b600082516117b1818460208701611695565b919091019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a2646970667358221220e0239e2a96fee80db8f5f110014c739febe4429892ef1144bbd0930cbb8ddbe164736f6c63430008130033";
522
+
523
+ type EthDistributorUpgradeableConstructorParams =
524
+ | [signer?: Signer]
525
+ | ConstructorParameters<typeof ContractFactory>;
526
+
527
+ const isSuperArgs = (
528
+ xs: EthDistributorUpgradeableConstructorParams
529
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
530
+
531
+ export class EthDistributorUpgradeable__factory extends ContractFactory {
532
+ constructor(...args: EthDistributorUpgradeableConstructorParams) {
533
+ if (isSuperArgs(args)) {
534
+ super(...args);
535
+ } else {
536
+ super(_abi, _bytecode, args[0]);
537
+ }
538
+ }
539
+
540
+ override deploy(
541
+ overrides?: Overrides & { from?: string }
542
+ ): Promise<EthDistributorUpgradeable> {
543
+ return super.deploy(overrides || {}) as Promise<EthDistributorUpgradeable>;
544
+ }
545
+ override getDeployTransaction(
546
+ overrides?: Overrides & { from?: string }
547
+ ): TransactionRequest {
548
+ return super.getDeployTransaction(overrides || {});
549
+ }
550
+ override attach(address: string): EthDistributorUpgradeable {
551
+ return super.attach(address) as EthDistributorUpgradeable;
552
+ }
553
+ override connect(signer: Signer): EthDistributorUpgradeable__factory {
554
+ return super.connect(signer) as EthDistributorUpgradeable__factory;
555
+ }
556
+
557
+ static readonly bytecode = _bytecode;
558
+ static readonly abi = _abi;
559
+ static createInterface(): EthDistributorUpgradeableInterface {
560
+ return new utils.Interface(_abi) as EthDistributorUpgradeableInterface;
561
+ }
562
+ static connect(
563
+ address: string,
564
+ signerOrProvider: Signer | Provider
565
+ ): EthDistributorUpgradeable {
566
+ return new Contract(
567
+ address,
568
+ _abi,
569
+ signerOrProvider
570
+ ) as EthDistributorUpgradeable;
571
+ }
572
+ }