@gooddollar/goodprotocol 2.0.32-beta.0 → 2.0.33-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/artifacts/abis/BuyFromReserveHelper.min.json +1 -0
  2. package/artifacts/abis/CeloDistributionHelper.min.json +1 -0
  3. package/artifacts/abis/CeloDistributionHelperTest.min.json +1 -0
  4. package/artifacts/abis/CeloDistributionHelperTestHelper.min.json +1 -0
  5. package/artifacts/abis/IBancorExchangeProvider.min.json +1 -0
  6. package/artifacts/abis/IBroker.min.json +1 -0
  7. package/artifacts/abis/IGoodDollarExchangeProvider.min.json +1 -0
  8. package/artifacts/abis/IGoodDollarExpansionController.min.json +1 -0
  9. package/artifacts/abis/IMentoReserve.min.json +1 -0
  10. package/artifacts/abis/ITradingLimits.min.json +1 -0
  11. package/artifacts/abis/MentoExchange.min.json +1 -0
  12. package/artifacts/abis/ProtocolUpgradeV4Mento.min.json +1 -0
  13. package/artifacts/abis/SuperfluidFaucet.min.json +1 -1
  14. package/artifacts/contracts/DAOStackInterfaces.sol/Avatar.dbg.json +1 -1
  15. package/artifacts/contracts/DAOStackInterfaces.sol/Controller.dbg.json +1 -1
  16. package/artifacts/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface.dbg.json +1 -1
  17. package/artifacts/contracts/DAOStackInterfaces.sol/IntVoteInterface.dbg.json +1 -1
  18. package/artifacts/contracts/DAOStackInterfaces.sol/ReputationInterface.dbg.json +1 -1
  19. package/artifacts/contracts/DAOStackInterfaces.sol/SchemeRegistrar.dbg.json +1 -1
  20. package/artifacts/contracts/Interfaces.sol/AggregatorV3Interface.dbg.json +1 -1
  21. package/artifacts/contracts/Interfaces.sol/ERC20.dbg.json +1 -1
  22. package/artifacts/contracts/Interfaces.sol/IAaveIncentivesController.dbg.json +1 -1
  23. package/artifacts/contracts/Interfaces.sol/IAdminWallet.dbg.json +1 -1
  24. package/artifacts/contracts/Interfaces.sol/IDonationStaking.dbg.json +1 -1
  25. package/artifacts/contracts/Interfaces.sol/IERC2917.dbg.json +1 -1
  26. package/artifacts/contracts/Interfaces.sol/IFirstClaimPool.dbg.json +1 -1
  27. package/artifacts/contracts/Interfaces.sol/IGoodDollar.dbg.json +1 -1
  28. package/artifacts/contracts/Interfaces.sol/IGoodStaking.dbg.json +1 -1
  29. package/artifacts/contracts/Interfaces.sol/IHasRouter.dbg.json +1 -1
  30. package/artifacts/contracts/Interfaces.sol/IIdentity.dbg.json +1 -1
  31. package/artifacts/contracts/Interfaces.sol/IIdentityV2.dbg.json +1 -1
  32. package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
  33. package/artifacts/contracts/Interfaces.sol/IMultichainRouter.dbg.json +1 -1
  34. package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
  35. package/artifacts/contracts/Interfaces.sol/IQuoterV2.dbg.json +1 -1
  36. package/artifacts/contracts/Interfaces.sol/ISwapRouter.dbg.json +1 -1
  37. package/artifacts/contracts/Interfaces.sol/IUBIScheme.dbg.json +1 -1
  38. package/artifacts/contracts/Interfaces.sol/ProxyAdmin.dbg.json +1 -1
  39. package/artifacts/contracts/Interfaces.sol/Reserve.dbg.json +1 -1
  40. package/artifacts/contracts/Interfaces.sol/Staking.dbg.json +1 -1
  41. package/artifacts/contracts/Interfaces.sol/Uniswap.dbg.json +1 -1
  42. package/artifacts/contracts/Interfaces.sol/UniswapFactory.dbg.json +1 -1
  43. package/artifacts/contracts/Interfaces.sol/UniswapPair.dbg.json +1 -1
  44. package/artifacts/contracts/Interfaces.sol/cERC20.dbg.json +1 -1
  45. package/artifacts/contracts/MentoInterfaces.sol/IBancorExchangeProvider.dbg.json +4 -0
  46. package/artifacts/contracts/MentoInterfaces.sol/IBancorExchangeProvider.json +282 -0
  47. package/artifacts/contracts/MentoInterfaces.sol/IBroker.dbg.json +4 -0
  48. package/artifacts/contracts/MentoInterfaces.sol/IBroker.json +491 -0
  49. package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider.dbg.json +4 -0
  50. package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider.json +164 -0
  51. package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExpansionController.dbg.json +4 -0
  52. package/artifacts/contracts/MentoInterfaces.sol/IGoodDollarExpansionController.json +333 -0
  53. package/artifacts/contracts/MentoInterfaces.sol/IMentoReserve.dbg.json +4 -0
  54. package/artifacts/contracts/MentoInterfaces.sol/IMentoReserve.json +927 -0
  55. package/artifacts/contracts/MentoInterfaces.sol/ITradingLimits.dbg.json +4 -0
  56. package/artifacts/contracts/MentoInterfaces.sol/ITradingLimits.json +10 -0
  57. package/artifacts/contracts/fuseFaucet/Faucet.sol/Faucet.dbg.json +1 -1
  58. package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
  59. package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.dbg.json +1 -1
  60. package/artifacts/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.dbg.json +1 -1
  61. package/artifacts/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.json +46 -28
  62. package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
  63. package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
  64. package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
  65. package/artifacts/contracts/governance/GoodDollarStaking.sol/GoodDollarStaking.dbg.json +1 -1
  66. package/artifacts/contracts/governance/GoodDollarStaking.sol/IGovernanceStaking.dbg.json +1 -1
  67. package/artifacts/contracts/governance/GoodDollarStaking.sol/IStakingUpgrade.dbg.json +1 -1
  68. package/artifacts/contracts/governance/GoodDollarStaking.sol/RewardsMinter.dbg.json +1 -1
  69. package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.dbg.json +1 -1
  70. package/artifacts/contracts/governance/MultiBaseGovernanceShareField.sol/MultiBaseGovernanceShareField.dbg.json +1 -1
  71. package/artifacts/contracts/governance/Reputation.sol/Reputation.dbg.json +1 -1
  72. package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
  73. package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.json +2 -2
  74. package/artifacts/contracts/identity/IdentityV2.sol/IdentityV2.dbg.json +1 -1
  75. package/artifacts/contracts/invite/InvitesFuseV2.sol/InvitesFuseV2.dbg.json +1 -1
  76. package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.dbg.json +1 -1
  77. package/artifacts/contracts/invite/InvitesV2.sol/InvitesV2.dbg.json +1 -1
  78. package/artifacts/contracts/invite/OneTimeReward.sol/OneTimeReward.dbg.json +1 -1
  79. package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
  80. package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.dbg.json +1 -1
  81. package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.dbg.json +1 -1
  82. package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest.dbg.json +4 -0
  83. package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest.json +864 -0
  84. package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper.dbg.json +4 -0
  85. package/artifacts/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper.json +890 -0
  86. package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.dbg.json +1 -1
  87. package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
  88. package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.dbg.json +1 -1
  89. package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
  90. package/artifacts/contracts/mocks/DistributionBridgeMock.sol/DistributionBridgeMock.dbg.json +1 -1
  91. package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.dbg.json +1 -1
  92. package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.json +2 -2
  93. package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.dbg.json +1 -1
  94. package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.json +2 -2
  95. package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.dbg.json +1 -1
  96. package/artifacts/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.dbg.json +1 -1
  97. package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.dbg.json +1 -1
  98. package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
  99. package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.json +2 -2
  100. package/artifacts/contracts/mocks/GoodDollarStakingMock.sol/GoodDollarStakingMock.dbg.json +1 -1
  101. package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
  102. package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.json +2 -2
  103. package/artifacts/contracts/mocks/IdentityMock.sol/IdentityMock.dbg.json +1 -1
  104. package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
  105. package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
  106. package/artifacts/contracts/mocks/MultichainRouterMock.sol/IWrapper.dbg.json +1 -1
  107. package/artifacts/contracts/mocks/MultichainRouterMock.sol/MultichainRouterMock.dbg.json +1 -1
  108. package/artifacts/contracts/mocks/OverMintTester.sol/IGoodDollarStakingTest.dbg.json +1 -1
  109. package/artifacts/contracts/mocks/OverMintTester.sol/OverMintTester.dbg.json +1 -1
  110. package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
  111. package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.json +2 -2
  112. package/artifacts/contracts/mocks/PayableMock.sol/PayableMock.dbg.json +1 -1
  113. package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
  114. package/artifacts/contracts/mocks/StakingMockFixedAPY.sol/StakingMockFixedAPY.dbg.json +1 -1
  115. package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
  116. package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
  117. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
  118. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
  119. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
  120. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
  121. package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
  122. package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
  123. package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
  124. package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
  125. package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
  126. package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
  127. package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
  128. package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
  129. package/artifacts/contracts/reserve/CeloDistributionHelper.sol/CeloDistributionHelper.dbg.json +4 -0
  130. package/artifacts/contracts/reserve/CeloDistributionHelper.sol/CeloDistributionHelper.json +864 -0
  131. package/artifacts/contracts/reserve/DistributionHelper.sol/DistributionHelper.dbg.json +1 -1
  132. package/artifacts/contracts/reserve/DistributionHelper.sol/DistributionHelper.json +2 -2
  133. package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
  134. package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.json +2 -2
  135. package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
  136. package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.json +2 -2
  137. package/artifacts/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.dbg.json +1 -1
  138. package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.dbg.json +1 -1
  139. package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.json +2 -2
  140. package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
  141. package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
  142. package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
  143. package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.json +2 -2
  144. package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.dbg.json +1 -1
  145. package/artifacts/contracts/staking/FuseStakingV3.sol/IConsensus.dbg.json +1 -1
  146. package/artifacts/contracts/staking/FuseStakingV3.sol/PegSwap.dbg.json +1 -1
  147. package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.dbg.json +1 -1
  148. package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.json +2 -2
  149. package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
  150. package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
  151. package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
  152. package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
  153. package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.json +2 -2
  154. package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
  155. package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.json +2 -2
  156. package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
  157. package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.json +2 -2
  158. package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
  159. package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.json +2 -2
  160. package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
  161. package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.json +2 -2
  162. package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
  163. package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.json +2 -2
  164. package/artifacts/contracts/staking/utils/Math64X64.sol/Math64x64.dbg.json +1 -1
  165. package/artifacts/contracts/staking/utils/StakingRewardsFixedAPY.sol/StakingRewardsFixedAPY.dbg.json +1 -1
  166. package/artifacts/contracts/token/ERC20PresetMinterPauserUpgradeable.sol/ERC20PresetMinterPauserUpgradeable.dbg.json +1 -1
  167. package/artifacts/contracts/token/ERC677.sol/ERC677.dbg.json +1 -1
  168. package/artifacts/contracts/token/ERC677.sol/ERC677Receiver.dbg.json +1 -1
  169. package/artifacts/contracts/token/GoodDollar.sol/GoodDollar.dbg.json +1 -1
  170. package/artifacts/contracts/token/IFeesFormula.sol/IFeesFormula.dbg.json +1 -1
  171. package/artifacts/contracts/token/MultichainFeeFormula.sol/MultichainFeeFormula.dbg.json +1 -1
  172. package/artifacts/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit.dbg.json +1 -1
  173. package/artifacts/contracts/token/superfluid/ERC20Permit.sol/SelfApprove.dbg.json +1 -1
  174. package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.dbg.json +1 -1
  175. package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.dbg.json +1 -1
  176. package/artifacts/contracts/token/superfluid/ISuperToken.sol/ISuperToken.dbg.json +1 -1
  177. package/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.dbg.json +1 -1
  178. package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.dbg.json +1 -1
  179. package/artifacts/contracts/token/superfluid/SuperfluidToken.sol/SuperfluidToken.dbg.json +1 -1
  180. package/artifacts/contracts/token/superfluid/UUPSProxiable.sol/UUPSProxiable.dbg.json +1 -1
  181. package/artifacts/contracts/token/superfluid/UUPSProxy.sol/Proxy.dbg.json +1 -1
  182. package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.dbg.json +1 -1
  183. package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSUtils.dbg.json +1 -1
  184. package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
  185. package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.dbg.json +1 -1
  186. package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.dbg.json +1 -1
  187. package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.dbg.json +1 -1
  188. package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
  189. package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
  190. package/artifacts/contracts/utils/BulkProof.sol/BulkProof.json +2 -2
  191. package/artifacts/contracts/utils/BulkWhitelist.sol/BulkWhitelist.dbg.json +1 -1
  192. package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.dbg.json +1 -1
  193. package/artifacts/contracts/utils/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.json +2 -2
  194. package/artifacts/contracts/utils/BuyFromReserveHelper.sol/BuyFromReserveHelper.dbg.json +4 -0
  195. package/artifacts/contracts/utils/BuyFromReserveHelper.sol/BuyFromReserveHelper.json +476 -0
  196. package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDClone.dbg.json +1 -1
  197. package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory.dbg.json +1 -1
  198. package/artifacts/contracts/utils/BuyGDClone.sol/DonateGDClone.dbg.json +1 -1
  199. package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
  200. package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
  201. package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
  202. package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
  203. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/EternalStorage.dbg.json +1 -1
  204. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/FuseOldBridgeKill.dbg.json +1 -1
  205. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/IUpgradeabilityOwnerStorage.dbg.json +1 -1
  206. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Initializable.dbg.json +1 -1
  207. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Ownable.dbg.json +1 -1
  208. package/artifacts/contracts/utils/FuseOldBridgeKill.sol/Upgradeable.dbg.json +1 -1
  209. package/artifacts/contracts/utils/GDFaucet.sol/GDFaucet.dbg.json +1 -1
  210. package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.dbg.json +1 -1
  211. package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/IRouter.dbg.json +1 -1
  212. package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/PausableControl.dbg.json +1 -1
  213. package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/TokenOperation.dbg.json +1 -1
  214. package/artifacts/contracts/utils/IdentityFix.sol/IdentityFix.dbg.json +1 -1
  215. package/artifacts/contracts/utils/LastauthReduction.sol/LastauthReduction.dbg.json +1 -1
  216. package/artifacts/contracts/utils/LastauthReduction.sol/LastauthReduction.json +2 -2
  217. package/artifacts/contracts/utils/MultiCall.sol/Multicall.dbg.json +1 -1
  218. package/artifacts/contracts/utils/MultichainBridgeHelper.sol/MultichainBridgeHelper.dbg.json +1 -1
  219. package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
  220. package/artifacts/contracts/utils/OneTimePayments.sol/OneTimePayments.dbg.json +1 -1
  221. package/artifacts/contracts/utils/OneTimePaymentsV2.sol/OneTimePaymentsV2.dbg.json +1 -1
  222. package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/MentoExchange.dbg.json +4 -0
  223. package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/MentoExchange.json +24 -0
  224. package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.dbg.json +4 -0
  225. package/artifacts/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.json +92 -0
  226. package/artifacts/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
  227. package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
  228. package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
  229. package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
  230. package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
  231. package/artifacts/contracts/utils/ProxyFactory1967.sol/ERC1967Proxy.dbg.json +1 -1
  232. package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
  233. package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
  234. package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.dbg.json +1 -1
  235. package/artifacts/contracts/utils/ReserveRestore.sol/ReserveRestore.json +2 -2
  236. package/contracts/MentoInterfaces.sol +746 -0
  237. package/contracts/fuseFaucet/SuperfluidFacuet.sol +29 -8
  238. package/contracts/mocks/CeloDistributionHelperTest.sol +25 -0
  239. package/contracts/reserve/CeloDistributionHelper.sol +286 -0
  240. package/contracts/reserve/GoodMarketMaker.sol +11 -1
  241. package/contracts/staking/GoodFundManager.sol +5 -2
  242. package/contracts/utils/BuyFromReserveHelper.sol +129 -0
  243. package/contracts/utils/ProtoclUpgradeV4Mento.sol +99 -0
  244. package/contracts/utils/ReserveRestore.sol +171 -147
  245. package/hardhat.config.ts +4 -4
  246. package/package.json +5 -2
  247. package/releases/deployment.json +8 -5
  248. package/scripts/multichain-deploy/helpers.ts +45 -24
  249. package/scripts/proposals/reserveRestore.ts +130 -85
  250. package/scripts/proposals/v4Upgrade.ts +845 -0
  251. package/test/reserve/CeloDistributionHelper.test.ts +377 -0
  252. package/test/reserve/GoodMarketMaker.test.ts +98 -35
  253. package/test/zzz - e2e/CeloDistributionHelper.e2e.test.ts +0 -0
  254. package/types/contracts/MentoInterfaces.sol/IBancorExchangeProvider.ts +422 -0
  255. package/types/contracts/MentoInterfaces.sol/IBroker.ts +727 -0
  256. package/types/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider.ts +341 -0
  257. package/types/contracts/MentoInterfaces.sol/IGoodDollarExpansionController.ts +617 -0
  258. package/types/contracts/MentoInterfaces.sol/IMentoReserve.ts +1700 -0
  259. package/types/contracts/MentoInterfaces.sol/index.ts +8 -0
  260. package/types/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet.ts +79 -41
  261. package/types/contracts/index.ts +2 -0
  262. package/types/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest.ts +1226 -0
  263. package/types/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper.ts +1279 -0
  264. package/types/contracts/mocks/CeloDistributionHelperTest.sol/index.ts +5 -0
  265. package/types/contracts/mocks/index.ts +2 -0
  266. package/types/contracts/reserve/CeloDistributionHelper.ts +1226 -0
  267. package/types/contracts/reserve/index.ts +1 -0
  268. package/types/contracts/utils/BuyFromReserveHelper.ts +699 -0
  269. package/types/contracts/utils/ProtoclUpgradeV4Mento.sol/MentoExchange.ts +81 -0
  270. package/types/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento.ts +161 -0
  271. package/types/contracts/utils/ProtoclUpgradeV4Mento.sol/index.ts +5 -0
  272. package/types/contracts/utils/index.ts +3 -0
  273. package/types/factories/contracts/MentoInterfaces.sol/IBancorExchangeProvider__factory.ts +301 -0
  274. package/types/factories/contracts/MentoInterfaces.sol/IBroker__factory.ts +506 -0
  275. package/types/factories/contracts/MentoInterfaces.sol/IGoodDollarExchangeProvider__factory.ts +183 -0
  276. package/types/factories/contracts/MentoInterfaces.sol/IGoodDollarExpansionController__factory.ts +352 -0
  277. package/types/factories/contracts/MentoInterfaces.sol/IMentoReserve__factory.ts +942 -0
  278. package/types/factories/contracts/MentoInterfaces.sol/index.ts +8 -0
  279. package/types/factories/contracts/fuseFaucet/SuperfluidFacuet.sol/SuperfluidFaucet__factory.ts +45 -27
  280. package/types/factories/contracts/governance/StakersDistribution__factory.ts +1 -1
  281. package/types/factories/contracts/index.ts +1 -0
  282. package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTestHelper__factory.ts +949 -0
  283. package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/CeloDistributionHelperTest__factory.ts +919 -0
  284. package/types/factories/contracts/mocks/CeloDistributionHelperTest.sol/index.ts +5 -0
  285. package/types/factories/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper__factory.ts +1 -1
  286. package/types/factories/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest__factory.ts +1 -1
  287. package/types/factories/contracts/mocks/GoodCompoundStakingTest__factory.ts +1 -1
  288. package/types/factories/contracts/mocks/GoodFundManagerTest__factory.ts +1 -1
  289. package/types/factories/contracts/mocks/OverMintTesterRegularStake__factory.ts +1 -1
  290. package/types/factories/contracts/mocks/index.ts +1 -0
  291. package/types/factories/contracts/reserve/CeloDistributionHelper__factory.ts +919 -0
  292. package/types/factories/contracts/reserve/DistributionHelper__factory.ts +1 -1
  293. package/types/factories/contracts/reserve/ExchangeHelper__factory.ts +1 -1
  294. package/types/factories/contracts/reserve/GoodMarketMaker__factory.ts +1 -1
  295. package/types/factories/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai__factory.ts +1 -1
  296. package/types/factories/contracts/reserve/index.ts +1 -0
  297. package/types/factories/contracts/staking/DonationsStaking__factory.ts +1 -1
  298. package/types/factories/contracts/staking/GoodFundManager__factory.ts +1 -1
  299. package/types/factories/contracts/staking/aave/AaveStakingFactory__factory.ts +1 -1
  300. package/types/factories/contracts/staking/aave/GoodAaveStakingV2__factory.ts +1 -1
  301. package/types/factories/contracts/staking/aave/GoodAaveStaking__factory.ts +1 -1
  302. package/types/factories/contracts/staking/compound/CompoundStakingFactory__factory.ts +1 -1
  303. package/types/factories/contracts/staking/compound/GoodCompoundStakingV2__factory.ts +1 -1
  304. package/types/factories/contracts/staking/compound/GoodCompoundStaking__factory.ts +1 -1
  305. package/types/factories/contracts/utils/BuyAndBridgeHelper__factory.ts +1 -1
  306. package/types/factories/contracts/utils/BuyFromReserveHelper__factory.ts +566 -0
  307. package/types/factories/contracts/utils/LastauthReduction__factory.ts +1 -1
  308. package/types/factories/contracts/utils/ProtoclUpgradeV4Mento.sol/MentoExchange__factory.ts +39 -0
  309. package/types/factories/contracts/utils/ProtoclUpgradeV4Mento.sol/ProtocolUpgradeV4Mento__factory.ts +152 -0
  310. package/types/factories/contracts/utils/ProtoclUpgradeV4Mento.sol/index.ts +5 -0
  311. package/types/factories/contracts/utils/ReserveRestore__factory.ts +1 -1
  312. package/types/factories/contracts/utils/index.ts +2 -0
  313. package/types/hardhat.d.ts +99 -0
  314. package/types/index.ts +22 -0
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../build-info/3266d10edec7fc9970c70a167a51a0fe.json"
3
+ "buildInfo": "../../build-info/2e6863520a39a73cd85ee982bcf04d12.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../build-info/3266d10edec7fc9970c70a167a51a0fe.json"
3
+ "buildInfo": "../../build-info/2e6863520a39a73cd85ee982bcf04d12.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../build-info/3266d10edec7fc9970c70a167a51a0fe.json"
3
+ "buildInfo": "../../build-info/2e6863520a39a73cd85ee982bcf04d12.json"
4
4
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../build-info/2e6863520a39a73cd85ee982bcf04d12.json"
4
+ }
@@ -0,0 +1,282 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IBancorExchangeProvider",
4
+ "sourceName": "contracts/MentoInterfaces.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "address",
12
+ "name": "newBroker",
13
+ "type": "address"
14
+ }
15
+ ],
16
+ "name": "BrokerUpdated",
17
+ "type": "event"
18
+ },
19
+ {
20
+ "anonymous": false,
21
+ "inputs": [
22
+ {
23
+ "indexed": true,
24
+ "internalType": "bytes32",
25
+ "name": "exchangeId",
26
+ "type": "bytes32"
27
+ },
28
+ {
29
+ "indexed": true,
30
+ "internalType": "address",
31
+ "name": "reserveAsset",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "indexed": true,
36
+ "internalType": "address",
37
+ "name": "tokenAddress",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "ExchangeCreated",
42
+ "type": "event"
43
+ },
44
+ {
45
+ "anonymous": false,
46
+ "inputs": [
47
+ {
48
+ "indexed": true,
49
+ "internalType": "bytes32",
50
+ "name": "exchangeId",
51
+ "type": "bytes32"
52
+ },
53
+ {
54
+ "indexed": true,
55
+ "internalType": "address",
56
+ "name": "reserveAsset",
57
+ "type": "address"
58
+ },
59
+ {
60
+ "indexed": true,
61
+ "internalType": "address",
62
+ "name": "tokenAddress",
63
+ "type": "address"
64
+ }
65
+ ],
66
+ "name": "ExchangeDestroyed",
67
+ "type": "event"
68
+ },
69
+ {
70
+ "anonymous": false,
71
+ "inputs": [
72
+ {
73
+ "indexed": true,
74
+ "internalType": "bytes32",
75
+ "name": "exchangeId",
76
+ "type": "bytes32"
77
+ },
78
+ {
79
+ "indexed": false,
80
+ "internalType": "uint256",
81
+ "name": "exitContribution",
82
+ "type": "uint256"
83
+ }
84
+ ],
85
+ "name": "ExitContributionSet",
86
+ "type": "event"
87
+ },
88
+ {
89
+ "anonymous": false,
90
+ "inputs": [
91
+ {
92
+ "indexed": true,
93
+ "internalType": "address",
94
+ "name": "newReserve",
95
+ "type": "address"
96
+ }
97
+ ],
98
+ "name": "ReserveUpdated",
99
+ "type": "event"
100
+ },
101
+ {
102
+ "inputs": [
103
+ {
104
+ "components": [
105
+ {
106
+ "internalType": "address",
107
+ "name": "reserveAsset",
108
+ "type": "address"
109
+ },
110
+ {
111
+ "internalType": "address",
112
+ "name": "tokenAddress",
113
+ "type": "address"
114
+ },
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "tokenSupply",
118
+ "type": "uint256"
119
+ },
120
+ {
121
+ "internalType": "uint256",
122
+ "name": "reserveBalance",
123
+ "type": "uint256"
124
+ },
125
+ {
126
+ "internalType": "uint32",
127
+ "name": "reserveRatio",
128
+ "type": "uint32"
129
+ },
130
+ {
131
+ "internalType": "uint32",
132
+ "name": "exitContribution",
133
+ "type": "uint32"
134
+ }
135
+ ],
136
+ "internalType": "struct IBancorExchangeProvider.PoolExchange",
137
+ "name": "exchange",
138
+ "type": "tuple"
139
+ }
140
+ ],
141
+ "name": "createExchange",
142
+ "outputs": [
143
+ {
144
+ "internalType": "bytes32",
145
+ "name": "exchangeId",
146
+ "type": "bytes32"
147
+ }
148
+ ],
149
+ "stateMutability": "nonpayable",
150
+ "type": "function"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "bytes32",
156
+ "name": "exchangeId",
157
+ "type": "bytes32"
158
+ }
159
+ ],
160
+ "name": "currentPrice",
161
+ "outputs": [
162
+ {
163
+ "internalType": "uint256",
164
+ "name": "price",
165
+ "type": "uint256"
166
+ }
167
+ ],
168
+ "stateMutability": "view",
169
+ "type": "function"
170
+ },
171
+ {
172
+ "inputs": [
173
+ {
174
+ "internalType": "bytes32",
175
+ "name": "exchangeId",
176
+ "type": "bytes32"
177
+ },
178
+ {
179
+ "internalType": "uint256",
180
+ "name": "exchangeIdIndex",
181
+ "type": "uint256"
182
+ }
183
+ ],
184
+ "name": "destroyExchange",
185
+ "outputs": [
186
+ {
187
+ "internalType": "bool",
188
+ "name": "destroyed",
189
+ "type": "bool"
190
+ }
191
+ ],
192
+ "stateMutability": "nonpayable",
193
+ "type": "function"
194
+ },
195
+ {
196
+ "inputs": [],
197
+ "name": "getExchangeIds",
198
+ "outputs": [
199
+ {
200
+ "internalType": "bytes32[]",
201
+ "name": "exchangeIds",
202
+ "type": "bytes32[]"
203
+ }
204
+ ],
205
+ "stateMutability": "view",
206
+ "type": "function"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "bytes32",
212
+ "name": "exchangeId",
213
+ "type": "bytes32"
214
+ }
215
+ ],
216
+ "name": "getPoolExchange",
217
+ "outputs": [
218
+ {
219
+ "components": [
220
+ {
221
+ "internalType": "address",
222
+ "name": "reserveAsset",
223
+ "type": "address"
224
+ },
225
+ {
226
+ "internalType": "address",
227
+ "name": "tokenAddress",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "internalType": "uint256",
232
+ "name": "tokenSupply",
233
+ "type": "uint256"
234
+ },
235
+ {
236
+ "internalType": "uint256",
237
+ "name": "reserveBalance",
238
+ "type": "uint256"
239
+ },
240
+ {
241
+ "internalType": "uint32",
242
+ "name": "reserveRatio",
243
+ "type": "uint32"
244
+ },
245
+ {
246
+ "internalType": "uint32",
247
+ "name": "exitContribution",
248
+ "type": "uint32"
249
+ }
250
+ ],
251
+ "internalType": "struct IBancorExchangeProvider.PoolExchange",
252
+ "name": "exchange",
253
+ "type": "tuple"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [
261
+ {
262
+ "internalType": "bytes32",
263
+ "name": "exchangeId",
264
+ "type": "bytes32"
265
+ },
266
+ {
267
+ "internalType": "uint32",
268
+ "name": "exitContribution",
269
+ "type": "uint32"
270
+ }
271
+ ],
272
+ "name": "setExitContribution",
273
+ "outputs": [],
274
+ "stateMutability": "nonpayable",
275
+ "type": "function"
276
+ }
277
+ ],
278
+ "bytecode": "0x",
279
+ "deployedBytecode": "0x",
280
+ "linkReferences": {},
281
+ "deployedLinkReferences": {}
282
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../build-info/2e6863520a39a73cd85ee982bcf04d12.json"
4
+ }