@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
@@ -0,0 +1,491 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IBroker",
4
+ "sourceName": "contracts/MentoInterfaces.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": false,
11
+ "internalType": "address",
12
+ "name": "exchangeProvider",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "bytes32",
18
+ "name": "exchangeId",
19
+ "type": "bytes32"
20
+ },
21
+ {
22
+ "indexed": true,
23
+ "internalType": "address",
24
+ "name": "trader",
25
+ "type": "address"
26
+ },
27
+ {
28
+ "indexed": true,
29
+ "internalType": "address",
30
+ "name": "tokenIn",
31
+ "type": "address"
32
+ },
33
+ {
34
+ "indexed": false,
35
+ "internalType": "address",
36
+ "name": "tokenOut",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "indexed": false,
41
+ "internalType": "uint256",
42
+ "name": "amountIn",
43
+ "type": "uint256"
44
+ },
45
+ {
46
+ "indexed": false,
47
+ "internalType": "uint256",
48
+ "name": "amountOut",
49
+ "type": "uint256"
50
+ }
51
+ ],
52
+ "name": "Swap",
53
+ "type": "event"
54
+ },
55
+ {
56
+ "anonymous": false,
57
+ "inputs": [
58
+ {
59
+ "indexed": false,
60
+ "internalType": "bytes32",
61
+ "name": "exchangeId",
62
+ "type": "bytes32"
63
+ },
64
+ {
65
+ "indexed": false,
66
+ "internalType": "address",
67
+ "name": "token",
68
+ "type": "address"
69
+ },
70
+ {
71
+ "components": [
72
+ {
73
+ "internalType": "uint32",
74
+ "name": "timestep0",
75
+ "type": "uint32"
76
+ },
77
+ {
78
+ "internalType": "uint32",
79
+ "name": "timestep1",
80
+ "type": "uint32"
81
+ },
82
+ {
83
+ "internalType": "int48",
84
+ "name": "limit0",
85
+ "type": "int48"
86
+ },
87
+ {
88
+ "internalType": "int48",
89
+ "name": "limit1",
90
+ "type": "int48"
91
+ },
92
+ {
93
+ "internalType": "int48",
94
+ "name": "limitGlobal",
95
+ "type": "int48"
96
+ },
97
+ {
98
+ "internalType": "uint8",
99
+ "name": "flags",
100
+ "type": "uint8"
101
+ }
102
+ ],
103
+ "indexed": false,
104
+ "internalType": "struct ITradingLimits.Config",
105
+ "name": "config",
106
+ "type": "tuple"
107
+ }
108
+ ],
109
+ "name": "TradingLimitConfigured",
110
+ "type": "event"
111
+ },
112
+ {
113
+ "inputs": [
114
+ {
115
+ "internalType": "address",
116
+ "name": "exchangeProvider",
117
+ "type": "address"
118
+ },
119
+ {
120
+ "internalType": "address",
121
+ "name": "reserve",
122
+ "type": "address"
123
+ }
124
+ ],
125
+ "name": "addExchangeProvider",
126
+ "outputs": [
127
+ {
128
+ "internalType": "uint256",
129
+ "name": "index",
130
+ "type": "uint256"
131
+ }
132
+ ],
133
+ "stateMutability": "nonpayable",
134
+ "type": "function"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "address",
140
+ "name": "token",
141
+ "type": "address"
142
+ },
143
+ {
144
+ "internalType": "uint256",
145
+ "name": "amount",
146
+ "type": "uint256"
147
+ }
148
+ ],
149
+ "name": "burnStableTokens",
150
+ "outputs": [
151
+ {
152
+ "internalType": "bool",
153
+ "name": "",
154
+ "type": "bool"
155
+ }
156
+ ],
157
+ "stateMutability": "nonpayable",
158
+ "type": "function"
159
+ },
160
+ {
161
+ "inputs": [
162
+ {
163
+ "internalType": "bytes32",
164
+ "name": "exchangeId",
165
+ "type": "bytes32"
166
+ },
167
+ {
168
+ "internalType": "address",
169
+ "name": "token",
170
+ "type": "address"
171
+ },
172
+ {
173
+ "components": [
174
+ {
175
+ "internalType": "uint32",
176
+ "name": "timestep0",
177
+ "type": "uint32"
178
+ },
179
+ {
180
+ "internalType": "uint32",
181
+ "name": "timestep1",
182
+ "type": "uint32"
183
+ },
184
+ {
185
+ "internalType": "int48",
186
+ "name": "limit0",
187
+ "type": "int48"
188
+ },
189
+ {
190
+ "internalType": "int48",
191
+ "name": "limit1",
192
+ "type": "int48"
193
+ },
194
+ {
195
+ "internalType": "int48",
196
+ "name": "limitGlobal",
197
+ "type": "int48"
198
+ },
199
+ {
200
+ "internalType": "uint8",
201
+ "name": "flags",
202
+ "type": "uint8"
203
+ }
204
+ ],
205
+ "internalType": "struct ITradingLimits.Config",
206
+ "name": "config",
207
+ "type": "tuple"
208
+ }
209
+ ],
210
+ "name": "configureTradingLimit",
211
+ "outputs": [],
212
+ "stateMutability": "nonpayable",
213
+ "type": "function"
214
+ },
215
+ {
216
+ "inputs": [
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "index",
220
+ "type": "uint256"
221
+ }
222
+ ],
223
+ "name": "exchangeProviders",
224
+ "outputs": [
225
+ {
226
+ "internalType": "address",
227
+ "name": "exchangeProvider",
228
+ "type": "address"
229
+ }
230
+ ],
231
+ "stateMutability": "view",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "address",
238
+ "name": "exchangeProvider",
239
+ "type": "address"
240
+ },
241
+ {
242
+ "internalType": "bytes32",
243
+ "name": "exchangeId",
244
+ "type": "bytes32"
245
+ },
246
+ {
247
+ "internalType": "address",
248
+ "name": "tokenIn",
249
+ "type": "address"
250
+ },
251
+ {
252
+ "internalType": "address",
253
+ "name": "tokenOut",
254
+ "type": "address"
255
+ },
256
+ {
257
+ "internalType": "uint256",
258
+ "name": "amountOut",
259
+ "type": "uint256"
260
+ }
261
+ ],
262
+ "name": "getAmountIn",
263
+ "outputs": [
264
+ {
265
+ "internalType": "uint256",
266
+ "name": "amountIn",
267
+ "type": "uint256"
268
+ }
269
+ ],
270
+ "stateMutability": "view",
271
+ "type": "function"
272
+ },
273
+ {
274
+ "inputs": [
275
+ {
276
+ "internalType": "address",
277
+ "name": "exchangeProvider",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "internalType": "bytes32",
282
+ "name": "exchangeId",
283
+ "type": "bytes32"
284
+ },
285
+ {
286
+ "internalType": "address",
287
+ "name": "tokenIn",
288
+ "type": "address"
289
+ },
290
+ {
291
+ "internalType": "address",
292
+ "name": "tokenOut",
293
+ "type": "address"
294
+ },
295
+ {
296
+ "internalType": "uint256",
297
+ "name": "amountIn",
298
+ "type": "uint256"
299
+ }
300
+ ],
301
+ "name": "getAmountOut",
302
+ "outputs": [
303
+ {
304
+ "internalType": "uint256",
305
+ "name": "amountOut",
306
+ "type": "uint256"
307
+ }
308
+ ],
309
+ "stateMutability": "view",
310
+ "type": "function"
311
+ },
312
+ {
313
+ "inputs": [],
314
+ "name": "getExchangeProviders",
315
+ "outputs": [
316
+ {
317
+ "internalType": "address[]",
318
+ "name": "",
319
+ "type": "address[]"
320
+ }
321
+ ],
322
+ "stateMutability": "view",
323
+ "type": "function"
324
+ },
325
+ {
326
+ "inputs": [
327
+ {
328
+ "internalType": "address[]",
329
+ "name": "_exchangeProviders",
330
+ "type": "address[]"
331
+ },
332
+ {
333
+ "internalType": "address[]",
334
+ "name": "_reserves",
335
+ "type": "address[]"
336
+ }
337
+ ],
338
+ "name": "initialize",
339
+ "outputs": [],
340
+ "stateMutability": "nonpayable",
341
+ "type": "function"
342
+ },
343
+ {
344
+ "inputs": [
345
+ {
346
+ "internalType": "address",
347
+ "name": "exchangeProvider",
348
+ "type": "address"
349
+ }
350
+ ],
351
+ "name": "isExchangeProvider",
352
+ "outputs": [
353
+ {
354
+ "internalType": "bool",
355
+ "name": "",
356
+ "type": "bool"
357
+ }
358
+ ],
359
+ "stateMutability": "view",
360
+ "type": "function"
361
+ },
362
+ {
363
+ "inputs": [
364
+ {
365
+ "internalType": "address",
366
+ "name": "exchangeProvider",
367
+ "type": "address"
368
+ },
369
+ {
370
+ "internalType": "uint256",
371
+ "name": "index",
372
+ "type": "uint256"
373
+ }
374
+ ],
375
+ "name": "removeExchangeProvider",
376
+ "outputs": [],
377
+ "stateMutability": "nonpayable",
378
+ "type": "function"
379
+ },
380
+ {
381
+ "inputs": [
382
+ {
383
+ "internalType": "address[]",
384
+ "name": "_exchangeProviders",
385
+ "type": "address[]"
386
+ },
387
+ {
388
+ "internalType": "address[]",
389
+ "name": "_reserves",
390
+ "type": "address[]"
391
+ }
392
+ ],
393
+ "name": "setReserves",
394
+ "outputs": [],
395
+ "stateMutability": "nonpayable",
396
+ "type": "function"
397
+ },
398
+ {
399
+ "inputs": [
400
+ {
401
+ "internalType": "address",
402
+ "name": "exchangeProvider",
403
+ "type": "address"
404
+ },
405
+ {
406
+ "internalType": "bytes32",
407
+ "name": "exchangeId",
408
+ "type": "bytes32"
409
+ },
410
+ {
411
+ "internalType": "address",
412
+ "name": "tokenIn",
413
+ "type": "address"
414
+ },
415
+ {
416
+ "internalType": "address",
417
+ "name": "tokenOut",
418
+ "type": "address"
419
+ },
420
+ {
421
+ "internalType": "uint256",
422
+ "name": "amountIn",
423
+ "type": "uint256"
424
+ },
425
+ {
426
+ "internalType": "uint256",
427
+ "name": "amountOutMin",
428
+ "type": "uint256"
429
+ }
430
+ ],
431
+ "name": "swapIn",
432
+ "outputs": [
433
+ {
434
+ "internalType": "uint256",
435
+ "name": "amountOut",
436
+ "type": "uint256"
437
+ }
438
+ ],
439
+ "stateMutability": "nonpayable",
440
+ "type": "function"
441
+ },
442
+ {
443
+ "inputs": [
444
+ {
445
+ "internalType": "address",
446
+ "name": "exchangeProvider",
447
+ "type": "address"
448
+ },
449
+ {
450
+ "internalType": "bytes32",
451
+ "name": "exchangeId",
452
+ "type": "bytes32"
453
+ },
454
+ {
455
+ "internalType": "address",
456
+ "name": "tokenIn",
457
+ "type": "address"
458
+ },
459
+ {
460
+ "internalType": "address",
461
+ "name": "tokenOut",
462
+ "type": "address"
463
+ },
464
+ {
465
+ "internalType": "uint256",
466
+ "name": "amountOut",
467
+ "type": "uint256"
468
+ },
469
+ {
470
+ "internalType": "uint256",
471
+ "name": "amountInMax",
472
+ "type": "uint256"
473
+ }
474
+ ],
475
+ "name": "swapOut",
476
+ "outputs": [
477
+ {
478
+ "internalType": "uint256",
479
+ "name": "amountIn",
480
+ "type": "uint256"
481
+ }
482
+ ],
483
+ "stateMutability": "nonpayable",
484
+ "type": "function"
485
+ }
486
+ ],
487
+ "bytecode": "0x",
488
+ "deployedBytecode": "0x",
489
+ "linkReferences": {},
490
+ "deployedLinkReferences": {}
491
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../build-info/2e6863520a39a73cd85ee982bcf04d12.json"
4
+ }
@@ -0,0 +1,164 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IGoodDollarExchangeProvider",
4
+ "sourceName": "contracts/MentoInterfaces.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "address",
12
+ "name": "AVATAR",
13
+ "type": "address"
14
+ }
15
+ ],
16
+ "name": "AvatarUpdated",
17
+ "type": "event"
18
+ },
19
+ {
20
+ "anonymous": false,
21
+ "inputs": [
22
+ {
23
+ "indexed": true,
24
+ "internalType": "address",
25
+ "name": "expansionController",
26
+ "type": "address"
27
+ }
28
+ ],
29
+ "name": "ExpansionControllerUpdated",
30
+ "type": "event"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [
35
+ {
36
+ "indexed": true,
37
+ "internalType": "bytes32",
38
+ "name": "exchangeId",
39
+ "type": "bytes32"
40
+ },
41
+ {
42
+ "indexed": false,
43
+ "internalType": "uint32",
44
+ "name": "reserveRatio",
45
+ "type": "uint32"
46
+ }
47
+ ],
48
+ "name": "ReserveRatioUpdated",
49
+ "type": "event"
50
+ },
51
+ {
52
+ "inputs": [
53
+ {
54
+ "internalType": "address",
55
+ "name": "_broker",
56
+ "type": "address"
57
+ },
58
+ {
59
+ "internalType": "address",
60
+ "name": "_reserve",
61
+ "type": "address"
62
+ },
63
+ {
64
+ "internalType": "address",
65
+ "name": "_expansionController",
66
+ "type": "address"
67
+ },
68
+ {
69
+ "internalType": "address",
70
+ "name": "_avatar",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "initialize",
75
+ "outputs": [],
76
+ "stateMutability": "nonpayable",
77
+ "type": "function"
78
+ },
79
+ {
80
+ "inputs": [
81
+ {
82
+ "internalType": "bytes32",
83
+ "name": "exchangeId",
84
+ "type": "bytes32"
85
+ },
86
+ {
87
+ "internalType": "uint256",
88
+ "name": "expansionScaler",
89
+ "type": "uint256"
90
+ }
91
+ ],
92
+ "name": "mintFromExpansion",
93
+ "outputs": [
94
+ {
95
+ "internalType": "uint256",
96
+ "name": "amountToMint",
97
+ "type": "uint256"
98
+ }
99
+ ],
100
+ "stateMutability": "nonpayable",
101
+ "type": "function"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "bytes32",
107
+ "name": "exchangeId",
108
+ "type": "bytes32"
109
+ },
110
+ {
111
+ "internalType": "uint256",
112
+ "name": "reserveInterest",
113
+ "type": "uint256"
114
+ }
115
+ ],
116
+ "name": "mintFromInterest",
117
+ "outputs": [
118
+ {
119
+ "internalType": "uint256",
120
+ "name": "",
121
+ "type": "uint256"
122
+ }
123
+ ],
124
+ "stateMutability": "nonpayable",
125
+ "type": "function"
126
+ },
127
+ {
128
+ "inputs": [],
129
+ "name": "pause",
130
+ "outputs": [],
131
+ "stateMutability": "nonpayable",
132
+ "type": "function"
133
+ },
134
+ {
135
+ "inputs": [],
136
+ "name": "unpause",
137
+ "outputs": [],
138
+ "stateMutability": "nonpayable",
139
+ "type": "function"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "bytes32",
145
+ "name": "exchangeId",
146
+ "type": "bytes32"
147
+ },
148
+ {
149
+ "internalType": "uint256",
150
+ "name": "reward",
151
+ "type": "uint256"
152
+ }
153
+ ],
154
+ "name": "updateRatioForReward",
155
+ "outputs": [],
156
+ "stateMutability": "nonpayable",
157
+ "type": "function"
158
+ }
159
+ ],
160
+ "bytecode": "0x",
161
+ "deployedBytecode": "0x",
162
+ "linkReferences": {},
163
+ "deployedLinkReferences": {}
164
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../build-info/2e6863520a39a73cd85ee982bcf04d12.json"
4
+ }