@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,929 @@
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
+ DistributionHelperTestHelper,
8
+ DistributionHelperTestHelperInterface,
9
+ } from "../../../../contracts/mocks/CeloDistributionHelperTest.sol/DistributionHelperTestHelper";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "uint256",
16
+ name: "fee",
17
+ type: "uint256",
18
+ },
19
+ ],
20
+ name: "FEE_LIMIT",
21
+ type: "error",
22
+ },
23
+ {
24
+ anonymous: false,
25
+ inputs: [
26
+ {
27
+ indexed: false,
28
+ internalType: "address",
29
+ name: "previousAdmin",
30
+ type: "address",
31
+ },
32
+ {
33
+ indexed: false,
34
+ internalType: "address",
35
+ name: "newAdmin",
36
+ type: "address",
37
+ },
38
+ ],
39
+ name: "AdminChanged",
40
+ type: "event",
41
+ },
42
+ {
43
+ anonymous: false,
44
+ inputs: [
45
+ {
46
+ indexed: true,
47
+ internalType: "address",
48
+ name: "beacon",
49
+ type: "address",
50
+ },
51
+ ],
52
+ name: "BeaconUpgraded",
53
+ type: "event",
54
+ },
55
+ {
56
+ anonymous: false,
57
+ inputs: [
58
+ {
59
+ indexed: false,
60
+ internalType: "uint256",
61
+ name: "distributed",
62
+ type: "uint256",
63
+ },
64
+ {
65
+ indexed: false,
66
+ internalType: "uint256",
67
+ name: "startingBalance",
68
+ type: "uint256",
69
+ },
70
+ {
71
+ indexed: false,
72
+ internalType: "uint256",
73
+ name: "incomingAmount",
74
+ type: "uint256",
75
+ },
76
+ {
77
+ components: [
78
+ {
79
+ internalType: "uint32",
80
+ name: "bps",
81
+ type: "uint32",
82
+ },
83
+ {
84
+ internalType: "uint32",
85
+ name: "chainId",
86
+ type: "uint32",
87
+ },
88
+ {
89
+ internalType: "address",
90
+ name: "addr",
91
+ type: "address",
92
+ },
93
+ {
94
+ internalType: "enum CeloDistributionHelper.TransferType",
95
+ name: "transferType",
96
+ type: "uint8",
97
+ },
98
+ ],
99
+ indexed: false,
100
+ internalType: "struct CeloDistributionHelper.DistributionRecipient[]",
101
+ name: "distributionRecipients",
102
+ type: "tuple[]",
103
+ },
104
+ {
105
+ indexed: false,
106
+ internalType: "uint256",
107
+ name: "gdSoldForGas",
108
+ type: "uint256",
109
+ },
110
+ {
111
+ indexed: false,
112
+ internalType: "uint256",
113
+ name: "nativeBoughtForGas",
114
+ type: "uint256",
115
+ },
116
+ ],
117
+ name: "Distribution",
118
+ type: "event",
119
+ },
120
+ {
121
+ anonymous: false,
122
+ inputs: [
123
+ {
124
+ indexed: false,
125
+ internalType: "uint8",
126
+ name: "version",
127
+ type: "uint8",
128
+ },
129
+ ],
130
+ name: "Initialized",
131
+ type: "event",
132
+ },
133
+ {
134
+ anonymous: false,
135
+ inputs: [
136
+ {
137
+ components: [
138
+ {
139
+ internalType: "uint32",
140
+ name: "bps",
141
+ type: "uint32",
142
+ },
143
+ {
144
+ internalType: "uint32",
145
+ name: "chainId",
146
+ type: "uint32",
147
+ },
148
+ {
149
+ internalType: "address",
150
+ name: "addr",
151
+ type: "address",
152
+ },
153
+ {
154
+ internalType: "enum CeloDistributionHelper.TransferType",
155
+ name: "transferType",
156
+ type: "uint8",
157
+ },
158
+ ],
159
+ indexed: false,
160
+ internalType: "struct CeloDistributionHelper.DistributionRecipient",
161
+ name: "recipient",
162
+ type: "tuple",
163
+ },
164
+ {
165
+ indexed: false,
166
+ internalType: "uint256",
167
+ name: "index",
168
+ type: "uint256",
169
+ },
170
+ ],
171
+ name: "RecipientAdded",
172
+ type: "event",
173
+ },
174
+ {
175
+ anonymous: false,
176
+ inputs: [
177
+ {
178
+ components: [
179
+ {
180
+ internalType: "uint32",
181
+ name: "bps",
182
+ type: "uint32",
183
+ },
184
+ {
185
+ internalType: "uint32",
186
+ name: "chainId",
187
+ type: "uint32",
188
+ },
189
+ {
190
+ internalType: "address",
191
+ name: "addr",
192
+ type: "address",
193
+ },
194
+ {
195
+ internalType: "enum CeloDistributionHelper.TransferType",
196
+ name: "transferType",
197
+ type: "uint8",
198
+ },
199
+ ],
200
+ indexed: false,
201
+ internalType: "struct CeloDistributionHelper.DistributionRecipient",
202
+ name: "recipient",
203
+ type: "tuple",
204
+ },
205
+ {
206
+ indexed: false,
207
+ internalType: "uint256",
208
+ name: "index",
209
+ type: "uint256",
210
+ },
211
+ ],
212
+ name: "RecipientUpdated",
213
+ type: "event",
214
+ },
215
+ {
216
+ anonymous: false,
217
+ inputs: [
218
+ {
219
+ indexed: true,
220
+ internalType: "bytes32",
221
+ name: "role",
222
+ type: "bytes32",
223
+ },
224
+ {
225
+ indexed: true,
226
+ internalType: "bytes32",
227
+ name: "previousAdminRole",
228
+ type: "bytes32",
229
+ },
230
+ {
231
+ indexed: true,
232
+ internalType: "bytes32",
233
+ name: "newAdminRole",
234
+ type: "bytes32",
235
+ },
236
+ ],
237
+ name: "RoleAdminChanged",
238
+ type: "event",
239
+ },
240
+ {
241
+ anonymous: false,
242
+ inputs: [
243
+ {
244
+ indexed: true,
245
+ internalType: "bytes32",
246
+ name: "role",
247
+ type: "bytes32",
248
+ },
249
+ {
250
+ indexed: true,
251
+ internalType: "address",
252
+ name: "account",
253
+ type: "address",
254
+ },
255
+ {
256
+ indexed: true,
257
+ internalType: "address",
258
+ name: "sender",
259
+ type: "address",
260
+ },
261
+ ],
262
+ name: "RoleGranted",
263
+ type: "event",
264
+ },
265
+ {
266
+ anonymous: false,
267
+ inputs: [
268
+ {
269
+ indexed: true,
270
+ internalType: "bytes32",
271
+ name: "role",
272
+ type: "bytes32",
273
+ },
274
+ {
275
+ indexed: true,
276
+ internalType: "address",
277
+ name: "account",
278
+ type: "address",
279
+ },
280
+ {
281
+ indexed: true,
282
+ internalType: "address",
283
+ name: "sender",
284
+ type: "address",
285
+ },
286
+ ],
287
+ name: "RoleRevoked",
288
+ type: "event",
289
+ },
290
+ {
291
+ anonymous: false,
292
+ inputs: [
293
+ {
294
+ indexed: true,
295
+ internalType: "address",
296
+ name: "implementation",
297
+ type: "address",
298
+ },
299
+ ],
300
+ name: "Upgraded",
301
+ type: "event",
302
+ },
303
+ {
304
+ inputs: [],
305
+ name: "CELO",
306
+ outputs: [
307
+ {
308
+ internalType: "address",
309
+ name: "",
310
+ type: "address",
311
+ },
312
+ ],
313
+ stateMutability: "view",
314
+ type: "function",
315
+ },
316
+ {
317
+ inputs: [],
318
+ name: "CUSD",
319
+ outputs: [
320
+ {
321
+ internalType: "address",
322
+ name: "",
323
+ type: "address",
324
+ },
325
+ ],
326
+ stateMutability: "view",
327
+ type: "function",
328
+ },
329
+ {
330
+ inputs: [],
331
+ name: "DEFAULT_ADMIN_ROLE",
332
+ outputs: [
333
+ {
334
+ internalType: "bytes32",
335
+ name: "",
336
+ type: "bytes32",
337
+ },
338
+ ],
339
+ stateMutability: "view",
340
+ type: "function",
341
+ },
342
+ {
343
+ inputs: [],
344
+ name: "GUARDIAN_ROLE",
345
+ outputs: [
346
+ {
347
+ internalType: "bytes32",
348
+ name: "",
349
+ type: "bytes32",
350
+ },
351
+ ],
352
+ stateMutability: "view",
353
+ type: "function",
354
+ },
355
+ {
356
+ inputs: [],
357
+ name: "ROUTER",
358
+ outputs: [
359
+ {
360
+ internalType: "contract ISwapRouter",
361
+ name: "",
362
+ type: "address",
363
+ },
364
+ ],
365
+ stateMutability: "view",
366
+ type: "function",
367
+ },
368
+ {
369
+ inputs: [],
370
+ name: "STATIC_ORACLE",
371
+ outputs: [
372
+ {
373
+ internalType: "contract IStaticOracle",
374
+ name: "",
375
+ type: "address",
376
+ },
377
+ ],
378
+ stateMutability: "view",
379
+ type: "function",
380
+ },
381
+ {
382
+ inputs: [
383
+ {
384
+ components: [
385
+ {
386
+ internalType: "uint32",
387
+ name: "bps",
388
+ type: "uint32",
389
+ },
390
+ {
391
+ internalType: "uint32",
392
+ name: "chainId",
393
+ type: "uint32",
394
+ },
395
+ {
396
+ internalType: "address",
397
+ name: "addr",
398
+ type: "address",
399
+ },
400
+ {
401
+ internalType: "enum CeloDistributionHelper.TransferType",
402
+ name: "transferType",
403
+ type: "uint8",
404
+ },
405
+ ],
406
+ internalType: "struct CeloDistributionHelper.DistributionRecipient",
407
+ name: "_recipient",
408
+ type: "tuple",
409
+ },
410
+ ],
411
+ name: "addOrUpdateRecipient",
412
+ outputs: [],
413
+ stateMutability: "nonpayable",
414
+ type: "function",
415
+ },
416
+ {
417
+ inputs: [],
418
+ name: "avatar",
419
+ outputs: [
420
+ {
421
+ internalType: "address",
422
+ name: "",
423
+ type: "address",
424
+ },
425
+ ],
426
+ stateMutability: "view",
427
+ type: "function",
428
+ },
429
+ {
430
+ inputs: [
431
+ {
432
+ internalType: "uint256",
433
+ name: "maxAmountToSell",
434
+ type: "uint256",
435
+ },
436
+ ],
437
+ name: "calcGDToSell",
438
+ outputs: [
439
+ {
440
+ internalType: "uint256",
441
+ name: "gdToSell",
442
+ type: "uint256",
443
+ },
444
+ ],
445
+ stateMutability: "view",
446
+ type: "function",
447
+ },
448
+ {
449
+ inputs: [],
450
+ name: "dao",
451
+ outputs: [
452
+ {
453
+ internalType: "contract Controller",
454
+ name: "",
455
+ type: "address",
456
+ },
457
+ ],
458
+ stateMutability: "view",
459
+ type: "function",
460
+ },
461
+ {
462
+ inputs: [
463
+ {
464
+ internalType: "uint256",
465
+ name: "",
466
+ type: "uint256",
467
+ },
468
+ ],
469
+ name: "distributionRecipients",
470
+ outputs: [
471
+ {
472
+ internalType: "uint32",
473
+ name: "bps",
474
+ type: "uint32",
475
+ },
476
+ {
477
+ internalType: "uint32",
478
+ name: "chainId",
479
+ type: "uint32",
480
+ },
481
+ {
482
+ internalType: "address",
483
+ name: "addr",
484
+ type: "address",
485
+ },
486
+ {
487
+ internalType: "enum CeloDistributionHelper.TransferType",
488
+ name: "transferType",
489
+ type: "uint8",
490
+ },
491
+ ],
492
+ stateMutability: "view",
493
+ type: "function",
494
+ },
495
+ {
496
+ inputs: [],
497
+ name: "feeSettings",
498
+ outputs: [
499
+ {
500
+ internalType: "uint128",
501
+ name: "bridgeExecuteGas",
502
+ type: "uint128",
503
+ },
504
+ {
505
+ internalType: "uint128",
506
+ name: "targetChainGasPrice",
507
+ type: "uint128",
508
+ },
509
+ {
510
+ internalType: "uint128",
511
+ name: "maxFee",
512
+ type: "uint128",
513
+ },
514
+ {
515
+ internalType: "uint128",
516
+ name: "minBalanceForFees",
517
+ type: "uint128",
518
+ },
519
+ {
520
+ internalType: "uint8",
521
+ name: "percentageToSellForFee",
522
+ type: "uint8",
523
+ },
524
+ ],
525
+ stateMutability: "view",
526
+ type: "function",
527
+ },
528
+ {
529
+ inputs: [
530
+ {
531
+ internalType: "bytes32",
532
+ name: "role",
533
+ type: "bytes32",
534
+ },
535
+ ],
536
+ name: "getRoleAdmin",
537
+ outputs: [
538
+ {
539
+ internalType: "bytes32",
540
+ name: "",
541
+ type: "bytes32",
542
+ },
543
+ ],
544
+ stateMutability: "view",
545
+ type: "function",
546
+ },
547
+ {
548
+ inputs: [
549
+ {
550
+ internalType: "bytes32",
551
+ name: "role",
552
+ type: "bytes32",
553
+ },
554
+ {
555
+ internalType: "uint256",
556
+ name: "index",
557
+ type: "uint256",
558
+ },
559
+ ],
560
+ name: "getRoleMember",
561
+ outputs: [
562
+ {
563
+ internalType: "address",
564
+ name: "",
565
+ type: "address",
566
+ },
567
+ ],
568
+ stateMutability: "view",
569
+ type: "function",
570
+ },
571
+ {
572
+ inputs: [
573
+ {
574
+ internalType: "bytes32",
575
+ name: "role",
576
+ type: "bytes32",
577
+ },
578
+ ],
579
+ name: "getRoleMemberCount",
580
+ outputs: [
581
+ {
582
+ internalType: "uint256",
583
+ name: "",
584
+ type: "uint256",
585
+ },
586
+ ],
587
+ stateMutability: "view",
588
+ type: "function",
589
+ },
590
+ {
591
+ inputs: [
592
+ {
593
+ internalType: "bytes32",
594
+ name: "role",
595
+ type: "bytes32",
596
+ },
597
+ {
598
+ internalType: "address",
599
+ name: "account",
600
+ type: "address",
601
+ },
602
+ ],
603
+ name: "grantRole",
604
+ outputs: [],
605
+ stateMutability: "nonpayable",
606
+ type: "function",
607
+ },
608
+ {
609
+ inputs: [
610
+ {
611
+ internalType: "bytes32",
612
+ name: "role",
613
+ type: "bytes32",
614
+ },
615
+ {
616
+ internalType: "address",
617
+ name: "account",
618
+ type: "address",
619
+ },
620
+ ],
621
+ name: "hasRole",
622
+ outputs: [
623
+ {
624
+ internalType: "bool",
625
+ name: "",
626
+ type: "bool",
627
+ },
628
+ ],
629
+ stateMutability: "view",
630
+ type: "function",
631
+ },
632
+ {
633
+ inputs: [
634
+ {
635
+ internalType: "contract INameService",
636
+ name: "_ns",
637
+ type: "address",
638
+ },
639
+ ],
640
+ name: "initialize",
641
+ outputs: [],
642
+ stateMutability: "nonpayable",
643
+ type: "function",
644
+ },
645
+ {
646
+ inputs: [],
647
+ name: "mpbBridge",
648
+ outputs: [
649
+ {
650
+ internalType: "contract IMessagePassingBridge",
651
+ name: "",
652
+ type: "address",
653
+ },
654
+ ],
655
+ stateMutability: "view",
656
+ type: "function",
657
+ },
658
+ {
659
+ inputs: [],
660
+ name: "nameService",
661
+ outputs: [
662
+ {
663
+ internalType: "contract INameService",
664
+ name: "",
665
+ type: "address",
666
+ },
667
+ ],
668
+ stateMutability: "view",
669
+ type: "function",
670
+ },
671
+ {
672
+ inputs: [],
673
+ name: "nativeToken",
674
+ outputs: [
675
+ {
676
+ internalType: "contract IGoodDollar",
677
+ name: "",
678
+ type: "address",
679
+ },
680
+ ],
681
+ stateMutability: "view",
682
+ type: "function",
683
+ },
684
+ {
685
+ inputs: [
686
+ {
687
+ internalType: "uint256",
688
+ name: "_amount",
689
+ type: "uint256",
690
+ },
691
+ ],
692
+ name: "onDistribution",
693
+ outputs: [],
694
+ stateMutability: "nonpayable",
695
+ type: "function",
696
+ },
697
+ {
698
+ inputs: [],
699
+ name: "proxiableUUID",
700
+ outputs: [
701
+ {
702
+ internalType: "bytes32",
703
+ name: "",
704
+ type: "bytes32",
705
+ },
706
+ ],
707
+ stateMutability: "view",
708
+ type: "function",
709
+ },
710
+ {
711
+ inputs: [
712
+ {
713
+ internalType: "bytes32",
714
+ name: "role",
715
+ type: "bytes32",
716
+ },
717
+ {
718
+ internalType: "address",
719
+ name: "account",
720
+ type: "address",
721
+ },
722
+ ],
723
+ name: "renounceRole",
724
+ outputs: [],
725
+ stateMutability: "nonpayable",
726
+ type: "function",
727
+ },
728
+ {
729
+ inputs: [
730
+ {
731
+ internalType: "bytes32",
732
+ name: "role",
733
+ type: "bytes32",
734
+ },
735
+ {
736
+ internalType: "address",
737
+ name: "account",
738
+ type: "address",
739
+ },
740
+ ],
741
+ name: "revokeRole",
742
+ outputs: [],
743
+ stateMutability: "nonpayable",
744
+ type: "function",
745
+ },
746
+ {
747
+ inputs: [
748
+ {
749
+ internalType: "address",
750
+ name: "_mpbBridge",
751
+ type: "address",
752
+ },
753
+ ],
754
+ name: "setBridges",
755
+ outputs: [],
756
+ stateMutability: "nonpayable",
757
+ type: "function",
758
+ },
759
+ {
760
+ inputs: [
761
+ {
762
+ components: [
763
+ {
764
+ internalType: "uint128",
765
+ name: "bridgeExecuteGas",
766
+ type: "uint128",
767
+ },
768
+ {
769
+ internalType: "uint128",
770
+ name: "targetChainGasPrice",
771
+ type: "uint128",
772
+ },
773
+ {
774
+ internalType: "uint128",
775
+ name: "maxFee",
776
+ type: "uint128",
777
+ },
778
+ {
779
+ internalType: "uint128",
780
+ name: "minBalanceForFees",
781
+ type: "uint128",
782
+ },
783
+ {
784
+ internalType: "uint8",
785
+ name: "percentageToSellForFee",
786
+ type: "uint8",
787
+ },
788
+ ],
789
+ internalType: "struct CeloDistributionHelper.FeeSettings",
790
+ name: "_feeData",
791
+ type: "tuple",
792
+ },
793
+ ],
794
+ name: "setFeeSettings",
795
+ outputs: [],
796
+ stateMutability: "nonpayable",
797
+ type: "function",
798
+ },
799
+ {
800
+ inputs: [
801
+ {
802
+ internalType: "contract IStaticOracle",
803
+ name: "oracle",
804
+ type: "address",
805
+ },
806
+ ],
807
+ name: "setOracle",
808
+ outputs: [],
809
+ stateMutability: "nonpayable",
810
+ type: "function",
811
+ },
812
+ {
813
+ inputs: [
814
+ {
815
+ internalType: "bytes4",
816
+ name: "interfaceId",
817
+ type: "bytes4",
818
+ },
819
+ ],
820
+ name: "supportsInterface",
821
+ outputs: [
822
+ {
823
+ internalType: "bool",
824
+ name: "",
825
+ type: "bool",
826
+ },
827
+ ],
828
+ stateMutability: "view",
829
+ type: "function",
830
+ },
831
+ {
832
+ inputs: [],
833
+ name: "updateAvatar",
834
+ outputs: [],
835
+ stateMutability: "nonpayable",
836
+ type: "function",
837
+ },
838
+ {
839
+ inputs: [
840
+ {
841
+ internalType: "address",
842
+ name: "newImplementation",
843
+ type: "address",
844
+ },
845
+ ],
846
+ name: "upgradeTo",
847
+ outputs: [],
848
+ stateMutability: "nonpayable",
849
+ type: "function",
850
+ },
851
+ {
852
+ inputs: [
853
+ {
854
+ internalType: "address",
855
+ name: "newImplementation",
856
+ type: "address",
857
+ },
858
+ {
859
+ internalType: "bytes",
860
+ name: "data",
861
+ type: "bytes",
862
+ },
863
+ ],
864
+ name: "upgradeToAndCall",
865
+ outputs: [],
866
+ stateMutability: "payable",
867
+ type: "function",
868
+ },
869
+ {
870
+ stateMutability: "payable",
871
+ type: "receive",
872
+ },
873
+ ] as const;
874
+
875
+ const _bytecode =
876
+ "0x60a06040523060805234801561001457600080fd5b50608051612eb661004c600039600081816108aa015281816108ea01528181610b8801528181610bc80152610c400152612eb66000f3fe6080604052600436106101775760003560e01c806301ffc9a71461018357806312adcebf146101b85780631b3c90a8146101e65780631c6603ba146101fd578063248a9ca31461028057806324ea54f4146102ae5780632f2ff15d146102d057806332fe7b26146102f0578063346ef41b1461031857806336568abe146103485780633659cfe6146103685780633d34a267146103885780633e6326fc146103a85780634162169f146103c85780634f1ef286146103e857806352d1902d146103fb5780635aef7de614610410578063758316c9146104305780637adbf9731461045857806386d97a1a146104965780639010d07c146104b6578063902fe0f0146104d657806391d14854146104f65780639d4c9c4014610516578063a217fddf14610537578063a8ba38901461054c578063b2ecd7751461056c578063c4d66de8146105aa578063ca15c873146105ca578063d547741f146105ea578063e1758bd81461060a578063f60e673e1461061f57600080fd5b3661017e57005b600080fd5b34801561018f57600080fd5b506101a361019e366004612488565b610647565b60405190151581526020015b60405180910390f35b3480156101c457600080fd5b50610167546101d9906001600160a01b031681565b6040516101af91906124b2565b3480156101f257600080fd5b506101fb610672565b005b34801561020957600080fd5b50610164546101655461016654610243926001600160801b0380821693600160801b92839004821693818316939091049091169060ff1685565b604080516001600160801b039687168152948616602086015292851692840192909252909216606082015260ff909116608082015260a0016101af565b34801561028c57600080fd5b506102a061029b3660046124c6565b610799565b6040519081526020016101af565b3480156102ba57600080fd5b506102a0600080516020612e6183398151915281565b3480156102dc57600080fd5b506101fb6102eb3660046124f4565b6107ae565b3480156102fc57600080fd5b506101d9735615cdab10dc425a742d643d949a7f474c01abc481565b34801561032457600080fd5b506103386103333660046124c6565b6107cf565b6040516101af949392919061255c565b34801561035457600080fd5b506101fb6103633660046124f4565b61081d565b34801561037457600080fd5b506101fb61038336600461258d565b6108a0565b34801561039457600080fd5b506102a06103a33660046124c6565b610968565b3480156103b457600080fd5b506067546101d9906001600160a01b031681565b3480156103d457600080fd5b506065546101d9906001600160a01b031681565b6101fb6103f63660046125f0565b610b7e565b34801561040757600080fd5b506102a0610c33565b34801561041c57600080fd5b506066546101d9906001600160a01b031681565b34801561043c57600080fd5b506101d973765de816845861e75a25fca122bb6898b8b1282a81565b34801561046457600080fd5b506101fb61047336600461258d565b61016780546001600160a01b0319166001600160a01b0392909216919091179055565b3480156104a257600080fd5b506101fb6104b13660046126b0565b610ce1565b3480156104c257600080fd5b506101d96104d1366004612734565b610f54565b3480156104e257600080fd5b506101fb6104f136600461276d565b610f74565b34801561050257600080fd5b506101a36105113660046124f4565b610fdd565b34801561052257600080fd5b50610163546101d9906001600160a01b031681565b34801561054357600080fd5b506102a0600081565b34801561055857600080fd5b506101fb6105673660046124c6565b611008565b34801561057857600080fd5b506101fb61058736600461258d565b61016380546001600160a01b0319166001600160a01b0392909216919091179055565b3480156105b657600080fd5b506101fb6105c536600461258d565b6111d0565b3480156105d657600080fd5b506102a06105e53660046124c6565b6113fc565b3480156105f657600080fd5b506101fb6106053660046124f4565b611414565b34801561061657600080fd5b506101d9611430565b34801561062b57600080fd5b506101d973471ece3750da237f93b8e339c536989b8978a43881565b60006001600160e01b03198216635a05180f60e01b148061066c575061066c826114bd565b92915050565b60675460405163bf40fac160e01b815260206004820152600a60248201526921a7a72a2927a62622a960b11b60448201526001600160a01b039091169063bf40fac190606401602060405180830381865afa1580156106d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f99190612802565b606580546001600160a01b0319166001600160a01b0392909216918217905560408051632d77bef360e11b81529051635aef7de6916004808201926020929091908290030181865afa158015610753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107779190612802565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b600090815260fe602052604090206001015490565b6107b782610799565b6107c0816114f2565b6107ca83836114fc565b505050565b61016281815481106107e057600080fd5b60009182526020909120015463ffffffff8082169250600160201b82041690600160401b81046001600160a01b031690600160e01b900460ff1684565b6001600160a01b03811633146108925760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61089c828261151f565b5050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036108e85760405162461bcd60e51b81526004016108899061281f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661091a611542565b6001600160a01b0316146109405760405162461bcd60e51b815260040161088990612859565b6109498161155e565b6040805160008082526020820190925261096591839190611566565b50565b604080516001808252818301909252600091829190602080830190803683370190505090506101f4816000815181106109a3576109a3612893565b62ffffff909216602092830291909101909101526101655460009047906109dc906001600160801b03600160801b9091041660036128bf565b6001600160801b03166109ef91906128ea565b61016754604051636c022f6560e11b81529192506000916001600160a01b039091169063d8045eca90610a5790859073471ece3750da237f93b8e339c536989b8978a4389073765de816845861e75a25fca122bb6898b8b1282a908990603c906004016128fd565b600060405180830381865afa158015610a74573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a9c9190810190612983565b50610167549091506000906001600160a01b031663d8045eca670de0b6b3a7640000610ac6611430565b73765de816845861e75a25fca122bb6898b8b1282a88603c6040518663ffffffff1660e01b8152600401610afe9594939291906128fd565b600060405180830381865afa158015610b1b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b439190810190612983565b50905080610b5983670de0b6b3a7640000612a42565b610b639190612a59565b9450858511610b725784610b74565b855b9695505050505050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610bc65760405162461bcd60e51b81526004016108899061281f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610bf8611542565b6001600160a01b031614610c1e5760405162461bcd60e51b815260040161088990612859565b610c278261155e565b61089c82826001611566565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610cce5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610889565b50600080516020612e1a83398151915290565b6000610cec816114f2565b60005b61016254811015610e455782604001516001600160a01b03166101628281548110610d1c57610d1c612893565b600091825260209091200154600160401b90046001600160a01b031603610e3357826101628281548110610d5257610d52612893565b60009182526020918290208351910180549284015160408501516001600160a01b0316600160401b02600160401b600160e01b031963ffffffff928316600160201b026001600160401b031990961692909416919091179390931791821683178155606084015190929091839160ff60e01b1916600160401b600160e81b031990911617600160e01b836002811115610ded57610ded612524565b02179055509050507fd26d9de175cfca2c3e0cad9d09c85f0ce6c7fa5257382d00dc26dc5fb25cd8df8382604051610e26929190612a7b565b60405180910390a1505050565b80610e3d81612acc565b915050610cef565b50610162546040517f2e65f65347b2e76218df0b7b6b594a3862c81e85706795e700237093c47a395791610e7b91859190612a7b565b60405180910390a1610162805460018101825560009190915282517f29af0939a5988989bfee913a9ad10b9335cb63ebc9fd2b69e5f877d0455ac9199091018054602085015160408601516001600160a01b0316600160401b02600160401b600160e01b031963ffffffff928316600160201b026001600160401b031990941692909516919091179190911792831681178255606085015185939091839160ff60e01b19909116600160401b600160e81b031990911617600160e01b836002811115610f4957610f49612524565b021790555050505050565b600082815261013060205260408120610f6d90836116d1565b9392505050565b600080516020612e61833981519152610f8c816114f2565b50805160208201516001600160801b03918216600160801b9183168202176101645560408301516060840151908316921602176101655560800151610166805460ff191660ff909216919091179055565b600091825260fe602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000611012611430565b6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161103d91906124b2565b602060405180830381865afa15801561105a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107e9190612ae5565b90508060000361108c575050565b610165546000908190600160801b90046001600160801b03164710156110ef57610166546064906110c09060ff1685612a42565b6110ca9190612a59565b90506110d581610968565b90506110e181846128ea565b92506110ec816116dd565b91505b6000805b61016254811015611185576000610162828154811061111457611114612893565b6000918252602090912001805490915063ffffffff1615611172578054600090612710906111489063ffffffff1689612a42565b6111529190612a59565b905061115e8185612afe565b9350801561117057611170828261189f565b505b508061117d81612acc565b9150506110f3565b507fdbd53b67dd15f9594eee6de294654de25af4c2a14d79d76e47d08d83c8025f5d81858761016286886040516111c196959493929190612b11565b60405180910390a15050505050565b600054610100900460ff16158080156111f05750600054600160ff909116105b8061121157506111ff30611c54565b158015611211575060005460ff166001145b6112745760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610889565b6000805460ff191660011790558015611297576000805461ff0019166101001790555b61129f611c63565b6112a882611cd0565b6066546112c0906000906001600160a01b0316611cf3565b6066546112e590600080516020612e61833981519152906001600160a01b0316611cf3565b60675460405163bf40fac160e01b81526020600482015260126024820152711354109094925111d157d0d3d395149050d560721b60448201526001600160a01b039091169063bf40fac190606401602060405180830381865afa158015611350573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113749190612802565b61016380546001600160a01b03929092166001600160a01b0319928316179055610167805490911672851a91a3c4e9a4c1b48df827bacc1f884bde28179055801561089c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b60008181526101306020526040812061066c90611cfd565b61141d82610799565b611426816114f2565b6107ca838361151f565b60675460405163bf40fac160e01b815260206004820152600a60248201526923a7a7a22227a62620a960b11b60448201526000916001600160a01b03169063bf40fac190606401602060405180830381865afa158015611494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b89190612802565b905090565b60006001600160e01b03198216637965db0b60e01b148061066c57506301ffc9a760e01b6001600160e01b031983161461066c565b6109658133611d07565b6115068282611d60565b6000828152610130602052604090206107ca9082611de6565b6115298282611dfb565b6000828152610130602052604090206107ca9082611e62565b600080516020612e1a833981519152546001600160a01b031690565b610965611e77565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611599576107ca83611f3a565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156115f3575060408051601f3d908101601f191682019092526115f091810190612ae5565b60015b6116565760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610889565b600080516020612e1a83398151915281146116c55760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610889565b506107ca838383611fd4565b6000610f6d8383611fff565b60006116e7611430565b6001600160a01b031663095ea7b3735615cdab10dc425a742d643d949a7f474c01abc4846040518363ffffffff1660e01b8152600401611728929190612bbc565b6020604051808303816000875af1158015611747573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176b9190612bd5565b5060006040518060800160405280611781611430565b60405160609190911b6001600160601b031916602082015261027160ec1b6034820152733b2ef40b422c30f3ad12fe50915db44c5c58941560611b603782015261017760eb1b604b8201527308e3d9c6ea1b446ff2771c6738a6d313712f148760631b604e8201526062016040516020818303038152906040528152602001306001600160a01b0316815260200184815260200160008152509050735615cdab10dc425a742d643d949a7f474c01abc46001600160a01b031663b858183f826040518263ffffffff1660e01b815260040161185c9190612c47565b6020604051808303816000875af115801561187b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d9190612ae5565b60008254600160e01b900460ff1660028111156118be576118be612524565b03611b36576118cb611430565b6101635460405163095ea7b360e01b81526001600160a01b039283169263095ea7b3926118ff929116908590600401612bbc565b6020604051808303816000875af115801561191e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119429190612bd5565b506101635482546040516305b23a9960e41b8152600160201b90910463ffffffff1660048201526000916001600160a01b0316906305fead15908290635b23a99090602401602060405180830381865afa1580156119a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c89190612c95565b8554604051600160f01b602082015262061a8060228201523091600160401b90046001600160a01b03169087906000906042016040516020818303038152906040526040518763ffffffff1660e01b8152600401611a2b96959493929190612cb9565b6040805180830381865afa158015611a47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a6b9190612d0a565b50610165549091506001600160801b0316811115611a9f57604051634493514b60e11b815260048101829052602401610889565b61016354835460405163c56bbdd960e01b8152600160401b82046001600160a01b039081166004830152600160201b90920463ffffffff16602482015260448101859052608060648201526000608482015291169063c56bbdd990839060a4016000604051808303818588803b158015611b1857600080fd5b505af1158015611b2c573d6000803e3d6000fd5b5050505050505050565b60028254600160e01b900460ff166002811115611b5557611b55612524565b03611bed57611b62611430565b8254604051630200057560e51b81526001600160a01b03600160401b90920482166004820152602481018490526060604482015260006064820152911690634000aea0906084015b6020604051808303816000875af1158015611bc9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ca9190612bd5565b60018254600160e01b900460ff166002811115611c0c57611c0c612524565b0361089c57611c19611430565b825460405163a9059cbb60e01b81526001600160a01b039283169263a9059cbb92611baa92600160401b909104909116908590600401612bbc565b6001600160a01b03163b151590565b600054610100900460ff16611cce5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610889565b565b606780546001600160a01b0319166001600160a01b038316179055610965610672565b61089c82826114fc565b600061066c825490565b611d118282610fdd565b61089c57611d1e81612029565b611d2983602061203b565b604051602001611d3a929190612d2e565b60408051601f198184030181529082905262461bcd60e51b825261088991600401612d9d565b611d6a8282610fdd565b61089c57600082815260fe602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611da23390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610f6d836001600160a01b0384166121d6565b611e058282610fdd565b1561089c57600082815260fe602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610f6d836001600160a01b038416612225565b60655460408051632d77bef360e11b8152905133926001600160a01b031691635aef7de69160048083019260209291908290030181865afa158015611ec0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee49190612802565b6001600160a01b031614611cce5760405162461bcd60e51b815260206004820181905260248201527f6f6e6c79206176617461722063616e2063616c6c2074686973206d6574686f646044820152606401610889565b611f4381611c54565b611fa55760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610889565b600080516020612e1a83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611fdd83612318565b600082511180611fea5750805b156107ca57611ff98383612358565b50505050565b600082600001828154811061201657612016612893565b9060005260206000200154905092915050565b606061066c6001600160a01b03831660145b6060600061204a836002612a42565b612055906002612afe565b6001600160401b0381111561206c5761206c6125aa565b6040519080825280601f01601f191660200182016040528015612096576020820181803683370190505b509050600360fc1b816000815181106120b1576120b1612893565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106120e0576120e0612893565b60200101906001600160f81b031916908160001a9053506000612104846002612a42565b61210f906001612afe565b90505b6001811115612187576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061214357612143612893565b1a60f81b82828151811061215957612159612893565b60200101906001600160f81b031916908160001a90535060049490941c9361218081612db0565b9050612112565b508315610f6d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610889565b600081815260018301602052604081205461221d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561066c565b50600061066c565b6000818152600183016020526040812054801561230e5760006122496001836128ea565b855490915060009061225d906001906128ea565b90508181146122c257600086600001828154811061227d5761227d612893565b90600052602060002001549050808760000184815481106122a0576122a0612893565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806122d3576122d3612dc7565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061066c565b600091505061066c565b61232181611f3a565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061236383611c54565b6123be5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610889565b600080846001600160a01b0316846040516123d99190612ddd565b600060405180830381855af49150503d8060008114612414576040519150601f19603f3d011682016040523d82523d6000602084013e612419565b606091505b50915091506124418282604051806060016040528060278152602001612e3a6027913961244a565b95945050505050565b60608315612459575081610f6d565b610f6d838381511561246e5781518083602001fd5b8060405162461bcd60e51b81526004016108899190612d9d565b60006020828403121561249a57600080fd5b81356001600160e01b031981168114610f6d57600080fd5b6001600160a01b0391909116815260200190565b6000602082840312156124d857600080fd5b5035919050565b6001600160a01b038116811461096557600080fd5b6000806040838503121561250757600080fd5b823591506020830135612519816124df565b809150509250929050565b634e487b7160e01b600052602160045260246000fd5b6003811061255857634e487b7160e01b600052602160045260246000fd5b9052565b63ffffffff8581168252841660208201526001600160a01b038316604082015260808101612441606083018461253a565b60006020828403121561259f57600080fd5b8135610f6d816124df565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156125e8576125e86125aa565b604052919050565b6000806040838503121561260357600080fd5b823561260e816124df565b91506020838101356001600160401b038082111561262b57600080fd5b818601915086601f83011261263f57600080fd5b813581811115612651576126516125aa565b612663601f8201601f191685016125c0565b9150808252878482850101111561267957600080fd5b80848401858401376000848284010152508093505050509250929050565b803563ffffffff811681146126ab57600080fd5b919050565b6000608082840312156126c257600080fd5b604051608081016001600160401b03811182821017156126e4576126e46125aa565b6040526126f083612697565b81526126fe60208401612697565b60208201526040830135612711816124df565b604082015260608301356003811061272857600080fd5b60608201529392505050565b6000806040838503121561274757600080fd5b50508035926020909101359150565b80356001600160801b03811681146126ab57600080fd5b600060a0828403121561277f57600080fd5b60405160a081016001600160401b03811182821017156127a1576127a16125aa565b6040526127ad83612756565b81526127bb60208401612756565b60208201526127cc60408401612756565b60408201526127dd60608401612756565b6060820152608083013560ff811681146127f657600080fd5b60808201529392505050565b60006020828403121561281457600080fd5b8151610f6d816124df565b6020808252602c90820152600080516020612dfa83398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c90820152600080516020612dfa83398151915260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6001600160801b038181168382160280821691908281146128e2576128e26128a9565b505092915050565b8181038181111561066c5761066c6128a9565b6001600160801b03861681526001600160a01b03858116602080840191909152908516604083015260a06060830181905284519083018190526000918581019160c0850190845b8181101561296557845162ffffff1683529383019391830191600101612944565b505080935050505063ffffffff831660808301529695505050505050565b6000806040838503121561299657600080fd5b8251602080850151919350906001600160401b03808211156129b757600080fd5b818601915086601f8301126129cb57600080fd5b8151818111156129dd576129dd6125aa565b8060051b91506129ee8483016125c0565b8181529183018401918481019089841115612a0857600080fd5b938501935b83851015612a325784519250612a22836124df565b8282529385019390850190612a0d565b8096505050505050509250929050565b808202811582820484141761066c5761066c6128a9565b600082612a7657634e487b7160e01b600052601260045260246000fd5b500490565b825163ffffffff9081168252602080850151909116908201526040808401516001600160a01b03169082015260608084015160a0830191612abe9084018261253a565b508260808301529392505050565b600060018201612ade57612ade6128a9565b5060010190565b600060208284031215612af757600080fd5b5051919050565b8082018082111561066c5761066c6128a9565b600060c082018883526020888185015260408881860152606060c08187015283895480865260e0955085880191508a6000528460002060005b82811015612b9b57815463ffffffff808216865281891c168886015280871c6001600160a01b031687860152612b87868601828b1c60ff1661253a565b506080939093019260019182019101612b4a565b50505060808701989098525050505060a09091019190915250949350505050565b6001600160a01b03929092168252602082015260400190565b600060208284031215612be757600080fd5b81518015158114610f6d57600080fd5b60005b83811015612c12578181015183820152602001612bfa565b50506000910152565b60008151808452612c33816020860160208601612bf7565b601f01601f19169290920160200192915050565b602081526000825160806020840152612c6360a0840182612c1b565b905060018060a01b03602085015116604084015260408401516060840152606084015160808401528091505092915050565b600060208284031215612ca757600080fd5b815161ffff81168114610f6d57600080fd5b61ffff871681526001600160a01b0386811660208301528516604082015260608101849052821515608082015260c060a08201819052600090612cfe90830184612c1b565b98975050505050505050565b60008060408385031215612d1d57600080fd5b505080516020909101519092909150565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351612d60816017850160208801612bf7565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612d91816028840160208801612bf7565b01602801949350505050565b602081526000610f6d6020830184612c1b565b600081612dbf57612dbf6128a9565b506000190190565b634e487b7160e01b600052603160045260246000fd5b60008251612def818460208701612bf7565b919091019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656455435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041a2646970667358221220f7d385fd16764f422e38baf5f8e54e2118a073ba25f9dfdcc4c232c3ec8e7a3564736f6c63430008130033";
877
+
878
+ type DistributionHelperTestHelperConstructorParams =
879
+ | [signer?: Signer]
880
+ | ConstructorParameters<typeof ContractFactory>;
881
+
882
+ const isSuperArgs = (
883
+ xs: DistributionHelperTestHelperConstructorParams
884
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
885
+
886
+ export class DistributionHelperTestHelper__factory extends ContractFactory {
887
+ constructor(...args: DistributionHelperTestHelperConstructorParams) {
888
+ if (isSuperArgs(args)) {
889
+ super(...args);
890
+ } else {
891
+ super(_abi, _bytecode, args[0]);
892
+ }
893
+ }
894
+
895
+ override deploy(
896
+ overrides?: Overrides & { from?: string }
897
+ ): Promise<DistributionHelperTestHelper> {
898
+ return super.deploy(
899
+ overrides || {}
900
+ ) as Promise<DistributionHelperTestHelper>;
901
+ }
902
+ override getDeployTransaction(
903
+ overrides?: Overrides & { from?: string }
904
+ ): TransactionRequest {
905
+ return super.getDeployTransaction(overrides || {});
906
+ }
907
+ override attach(address: string): DistributionHelperTestHelper {
908
+ return super.attach(address) as DistributionHelperTestHelper;
909
+ }
910
+ override connect(signer: Signer): DistributionHelperTestHelper__factory {
911
+ return super.connect(signer) as DistributionHelperTestHelper__factory;
912
+ }
913
+
914
+ static readonly bytecode = _bytecode;
915
+ static readonly abi = _abi;
916
+ static createInterface(): DistributionHelperTestHelperInterface {
917
+ return new utils.Interface(_abi) as DistributionHelperTestHelperInterface;
918
+ }
919
+ static connect(
920
+ address: string,
921
+ signerOrProvider: Signer | Provider
922
+ ): DistributionHelperTestHelper {
923
+ return new Contract(
924
+ address,
925
+ _abi,
926
+ signerOrProvider
927
+ ) as DistributionHelperTestHelper;
928
+ }
929
+ }