@gooddollar/goodprotocol 1.0.19 → 1.0.21

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 (330) hide show
  1. package/artifacts/abis/UBIScheme.min.json +1 -1
  2. package/artifacts/contracts/DAOStackInterfaces.sol/Avatar.dbg.json +1 -1
  3. package/artifacts/contracts/DAOStackInterfaces.sol/Controller.dbg.json +1 -1
  4. package/artifacts/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface.dbg.json +1 -1
  5. package/artifacts/contracts/DAOStackInterfaces.sol/IntVoteInterface.dbg.json +1 -1
  6. package/artifacts/contracts/DAOStackInterfaces.sol/ReputationInterface.dbg.json +1 -1
  7. package/artifacts/contracts/DAOStackInterfaces.sol/SchemeRegistrar.dbg.json +1 -1
  8. package/artifacts/contracts/Interfaces.sol/AggregatorV3Interface.dbg.json +1 -1
  9. package/artifacts/contracts/Interfaces.sol/ERC20.dbg.json +1 -1
  10. package/artifacts/contracts/Interfaces.sol/IAaveIncentivesController.dbg.json +1 -1
  11. package/artifacts/contracts/Interfaces.sol/IAdminWallet.dbg.json +1 -1
  12. package/artifacts/contracts/Interfaces.sol/IDonationStaking.dbg.json +1 -1
  13. package/artifacts/contracts/Interfaces.sol/IERC2917.dbg.json +1 -1
  14. package/artifacts/contracts/Interfaces.sol/IFirstClaimPool.dbg.json +1 -1
  15. package/artifacts/contracts/Interfaces.sol/IGoodDollar.dbg.json +1 -1
  16. package/artifacts/contracts/Interfaces.sol/IGoodStaking.dbg.json +1 -1
  17. package/artifacts/contracts/Interfaces.sol/IHasRouter.dbg.json +1 -1
  18. package/artifacts/contracts/Interfaces.sol/IIdentity.dbg.json +1 -1
  19. package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
  20. package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
  21. package/artifacts/contracts/Interfaces.sol/IUBIScheme.dbg.json +1 -1
  22. package/artifacts/contracts/Interfaces.sol/ProxyAdmin.dbg.json +1 -1
  23. package/artifacts/contracts/Interfaces.sol/Reserve.dbg.json +1 -1
  24. package/artifacts/contracts/Interfaces.sol/Staking.dbg.json +1 -1
  25. package/artifacts/contracts/Interfaces.sol/Uniswap.dbg.json +1 -1
  26. package/artifacts/contracts/Interfaces.sol/UniswapFactory.dbg.json +1 -1
  27. package/artifacts/contracts/Interfaces.sol/UniswapPair.dbg.json +1 -1
  28. package/artifacts/contracts/Interfaces.sol/cERC20.dbg.json +1 -1
  29. package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
  30. package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
  31. package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
  32. package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.dbg.json +1 -1
  33. package/artifacts/contracts/governance/MultiBaseGovernanceShareField.sol/MultiBaseGovernanceShareField.dbg.json +1 -1
  34. package/artifacts/contracts/governance/Reputation.sol/Reputation.dbg.json +1 -1
  35. package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
  36. package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
  37. package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
  38. package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
  39. package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
  40. package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
  41. package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
  42. package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
  43. package/artifacts/contracts/mocks/OverMintTester.sol/OverMintTester.dbg.json +1 -1
  44. package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
  45. package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
  46. package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
  47. package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
  48. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
  49. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
  50. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
  51. package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
  52. package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
  53. package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
  54. package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
  55. package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
  56. package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
  57. package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
  58. package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
  59. package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
  60. package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
  61. package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
  62. package/artifacts/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.dbg.json +1 -1
  63. package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.dbg.json +1 -1
  64. package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
  65. package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
  66. package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
  67. package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.dbg.json +1 -1
  68. package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
  69. package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
  70. package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
  71. package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
  72. package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
  73. package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
  74. package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
  75. package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
  76. package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
  77. package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
  78. package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.json +48 -2
  79. package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
  80. package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
  81. package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
  82. package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
  83. package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
  84. package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
  85. package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
  86. package/artifacts/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
  87. package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
  88. package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
  89. package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
  90. package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
  91. package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
  92. package/contracts/ubi/UBIScheme.sol +34 -4
  93. package/package.json +3 -2
  94. package/releases/deployment.json +3 -1
  95. package/scripts/misc/claimIncidentStats.ts +97 -0
  96. package/types/AaveMock.ts +1022 -0
  97. package/types/AaveStakingFactory.ts +290 -0
  98. package/types/AaveUSDMockOracle.ts +89 -0
  99. package/types/AccessControlEnumerableUpgradeable.ts +435 -0
  100. package/types/AccessControlUpgradeable.ts +362 -0
  101. package/types/AggregatorV3Interface.ts +192 -0
  102. package/types/Avatar.ts +121 -0
  103. package/types/BancorFormula.ts +974 -0
  104. package/types/BaseShareField.ts +442 -0
  105. package/types/BaseShareFieldV2.ts +361 -0
  106. package/types/BatUSDMockOracle.ts +89 -0
  107. package/types/BulkProof.ts +111 -0
  108. package/types/CBATMock.ts +1194 -0
  109. package/types/CDAILowWorthMock.ts +1160 -0
  110. package/types/CDAIMock.ts +1210 -0
  111. package/types/CDAINonMintableMock.ts +1160 -0
  112. package/types/CDecimalsMock.ts +1194 -0
  113. package/types/CERC20.ts +527 -0
  114. package/types/CSDTMock.ts +1194 -0
  115. package/types/CUSDCMock.ts +1194 -0
  116. package/types/ClaimersDistribution.ts +606 -0
  117. package/types/CompUSDMockOracle.ts +89 -0
  118. package/types/CompoundStakingFactory.ts +261 -0
  119. package/types/CompoundVotingMachine.ts +1690 -0
  120. package/types/ContributionCalc.ts +164 -0
  121. package/types/Controller.ts +547 -0
  122. package/types/DAIMock.ts +1083 -0
  123. package/types/DAOContract.ts +162 -0
  124. package/types/DAOUpgradeableContract.ts +271 -0
  125. package/types/DaiEthPriceMockOracle.ts +89 -0
  126. package/types/DecimalsMock.ts +1022 -0
  127. package/types/DonationsStaking.ts +777 -0
  128. package/types/ERC165Upgradeable.ts +104 -0
  129. package/types/ERC1967Proxy.ts +147 -0
  130. package/types/ERC1967Upgrade.ts +106 -0
  131. package/types/ERC1967UpgradeUpgradeable.ts +107 -0
  132. package/types/ERC20.ts +365 -0
  133. package/types/ERC20BurnableUpgradeable.ts +479 -0
  134. package/types/ERC20PausableUpgradeable.ts +449 -0
  135. package/types/ERC20PresetMinterPauserUpgradeable.ts +1023 -0
  136. package/types/ERC20Upgradeable.ts +417 -0
  137. package/types/EthUSDMockOracle.ts +138 -0
  138. package/types/ExchangeHelper.ts +522 -0
  139. package/types/GReputation.ts +2020 -0
  140. package/types/GasPriceMockOracle.ts +89 -0
  141. package/types/GlobalConstraintInterface.ts +134 -0
  142. package/types/GoodAaveStaking.ts +1752 -0
  143. package/types/GoodAaveStakingV2.ts +1722 -0
  144. package/types/GoodCompoundStaking.ts +1838 -0
  145. package/types/GoodCompoundStakingTest.ts +1948 -0
  146. package/types/GoodCompoundStakingV2.ts +1636 -0
  147. package/types/GoodFundManager.ts +1098 -0
  148. package/types/GoodFundManagerTest.ts +1137 -0
  149. package/types/GoodMarketMaker.ts +974 -0
  150. package/types/GoodReserveCDai.ts +1938 -0
  151. package/types/GovernanceStaking.ts +1267 -0
  152. package/types/IAaveIncentivesController.ts +155 -0
  153. package/types/IAccessControlEnumerableUpgradeable.ts +380 -0
  154. package/types/IAccessControlUpgradeable.ts +307 -0
  155. package/types/IAdminWallet.ts +171 -0
  156. package/types/IBeacon.ts +89 -0
  157. package/types/IBeaconUpgradeable.ts +89 -0
  158. package/types/IDonationStaking.ts +98 -0
  159. package/types/IERC165Upgradeable.ts +104 -0
  160. package/types/IERC1822Proxiable.ts +89 -0
  161. package/types/IERC20MetadataUpgradeable.ts +340 -0
  162. package/types/IERC20Upgradeable.ts +300 -0
  163. package/types/IERC2917.ts +636 -0
  164. package/types/IFirstClaimPool.ts +115 -0
  165. package/types/IGoodDollar.ts +579 -0
  166. package/types/IGoodStaking.ts +264 -0
  167. package/types/IHasRouter.ts +83 -0
  168. package/types/IIdentity.ts +281 -0
  169. package/types/ILendingPool.ts +241 -0
  170. package/types/INameService.ts +86 -0
  171. package/types/IUBIScheme.ts +121 -0
  172. package/types/IncentiveControllerMock.ts +207 -0
  173. package/types/IntVoteInterface.ts +468 -0
  174. package/types/LendingPoolMock.ts +1250 -0
  175. package/types/MultiBaseGovernanceShareField.ts +411 -0
  176. package/types/Multicall.ts +298 -0
  177. package/types/NameService.ts +358 -0
  178. package/types/OldMarketMaker.ts +113 -0
  179. package/types/OverMintTester.ts +176 -0
  180. package/types/OverMintTesterRegularStake.ts +177 -0
  181. package/types/PausableUpgradeable.ts +103 -0
  182. package/types/ProtocolUpgrade.ts +272 -0
  183. package/types/ProtocolUpgradeFuse.ts +166 -0
  184. package/types/ProtocolUpgradeFuseRecover.ts +167 -0
  185. package/types/ProtocolUpgradeRecover.ts +264 -0
  186. package/types/Proxy.ts +66 -0
  187. package/types/ProxyAdmin.ts +210 -0
  188. package/types/ProxyFactory1967.ts +284 -0
  189. package/types/Reputation.ts +936 -0
  190. package/types/ReputationInterface.ts +261 -0
  191. package/types/ReputationTestHelper.ts +175 -0
  192. package/types/Reserve.ts +112 -0
  193. package/types/SchemeRegistrar.ts +164 -0
  194. package/types/SimpleStaking.ts +1514 -0
  195. package/types/SimpleStakingV2.ts +1418 -0
  196. package/types/SixteenDecimalsTokenMock.ts +1023 -0
  197. package/types/StakersDistribution.ts +921 -0
  198. package/types/Staking.ts +158 -0
  199. package/types/SwapHelperTest.ts +120 -0
  200. package/types/TwentyDecimalsTokenMock.ts +1023 -0
  201. package/types/UBIScheme.ts +1454 -0
  202. package/types/USDCMock.ts +1022 -0
  203. package/types/UUPSUpgradeable.ts +179 -0
  204. package/types/Uniswap.ts +423 -0
  205. package/types/UniswapFactory.ts +106 -0
  206. package/types/UniswapPair.ts +187 -0
  207. package/types/UniswapV2SwapHelper.ts +124 -0
  208. package/types/UpgradableMock.ts +321 -0
  209. package/types/UpgradableMock2.ts +283 -0
  210. package/types/UpgradableMock3.ts +308 -0
  211. package/types/UpgradableMock4.ts +308 -0
  212. package/types/common.ts +44 -0
  213. package/types/factories/AaveMock__factory.ts +727 -0
  214. package/types/factories/AaveStakingFactory__factory.ts +262 -0
  215. package/types/factories/AaveUSDMockOracle__factory.ts +75 -0
  216. package/types/factories/AccessControlEnumerableUpgradeable__factory.ts +279 -0
  217. package/types/factories/AccessControlUpgradeable__factory.ts +234 -0
  218. package/types/factories/AggregatorV3Interface__factory.ts +121 -0
  219. package/types/factories/Avatar__factory.ts +59 -0
  220. package/types/factories/BancorFormula__factory.ts +674 -0
  221. package/types/factories/BaseShareFieldV2__factory.ts +251 -0
  222. package/types/factories/BaseShareField__factory.ts +307 -0
  223. package/types/factories/BatUSDMockOracle__factory.ts +75 -0
  224. package/types/factories/BulkProof__factory.ts +89 -0
  225. package/types/factories/CBATMock__factory.ts +831 -0
  226. package/types/factories/CDAILowWorthMock__factory.ts +821 -0
  227. package/types/factories/CDAIMock__factory.ts +844 -0
  228. package/types/factories/CDAINonMintableMock__factory.ts +821 -0
  229. package/types/factories/CDecimalsMock__factory.ts +831 -0
  230. package/types/factories/CERC20__factory.ts +368 -0
  231. package/types/factories/CSDTMock__factory.ts +831 -0
  232. package/types/factories/CUSDCMock__factory.ts +831 -0
  233. package/types/factories/ClaimersDistribution__factory.ts +404 -0
  234. package/types/factories/CompUSDMockOracle__factory.ts +75 -0
  235. package/types/factories/CompoundStakingFactory__factory.ts +249 -0
  236. package/types/factories/CompoundVotingMachine__factory.ts +1182 -0
  237. package/types/factories/ContributionCalc__factory.ts +83 -0
  238. package/types/factories/Controller__factory.ts +359 -0
  239. package/types/factories/DAIMock__factory.ts +770 -0
  240. package/types/factories/DAOContract__factory.ts +118 -0
  241. package/types/factories/DAOUpgradeableContract__factory.ts +201 -0
  242. package/types/factories/DaiEthPriceMockOracle__factory.ts +79 -0
  243. package/types/factories/DecimalsMock__factory.ts +742 -0
  244. package/types/factories/DonationsStaking__factory.ts +554 -0
  245. package/types/factories/ERC165Upgradeable__factory.ts +45 -0
  246. package/types/factories/ERC1967Proxy__factory.ts +130 -0
  247. package/types/factories/ERC1967UpgradeUpgradeable__factory.ts +75 -0
  248. package/types/factories/ERC1967Upgrade__factory.ts +71 -0
  249. package/types/factories/ERC20BurnableUpgradeable__factory.ts +331 -0
  250. package/types/factories/ERC20PausableUpgradeable__factory.ts +339 -0
  251. package/types/factories/ERC20PresetMinterPauserUpgradeable__factory.ts +733 -0
  252. package/types/factories/ERC20Upgradeable__factory.ts +332 -0
  253. package/types/factories/ERC20__factory.ts +272 -0
  254. package/types/factories/EthUSDMockOracle__factory.ts +108 -0
  255. package/types/factories/ExchangeHelper__factory.ts +401 -0
  256. package/types/factories/GReputation__factory.ts +1415 -0
  257. package/types/factories/GasPriceMockOracle__factory.ts +75 -0
  258. package/types/factories/GlobalConstraintInterface__factory.ts +72 -0
  259. package/types/factories/GoodAaveStakingV2__factory.ts +1227 -0
  260. package/types/factories/GoodAaveStaking__factory.ts +1263 -0
  261. package/types/factories/GoodCompoundStakingTest__factory.ts +1457 -0
  262. package/types/factories/GoodCompoundStakingV2__factory.ts +1169 -0
  263. package/types/factories/GoodCompoundStaking__factory.ts +1303 -0
  264. package/types/factories/GoodFundManagerTest__factory.ts +775 -0
  265. package/types/factories/GoodFundManager__factory.ts +733 -0
  266. package/types/factories/GoodMarketMaker__factory.ts +661 -0
  267. package/types/factories/GoodReserveCDai__factory.ts +1391 -0
  268. package/types/factories/GovernanceStaking__factory.ts +922 -0
  269. package/types/factories/IAaveIncentivesController__factory.ts +83 -0
  270. package/types/factories/IAccessControlEnumerableUpgradeable__factory.ts +247 -0
  271. package/types/factories/IAccessControlUpgradeable__factory.ts +202 -0
  272. package/types/factories/IAdminWallet__factory.ts +75 -0
  273. package/types/factories/IBeaconUpgradeable__factory.ts +39 -0
  274. package/types/factories/IBeacon__factory.ts +36 -0
  275. package/types/factories/IDonationStaking__factory.ts +33 -0
  276. package/types/factories/IERC165Upgradeable__factory.ts +45 -0
  277. package/types/factories/IERC1822Proxiable__factory.ts +39 -0
  278. package/types/factories/IERC20MetadataUpgradeable__factory.ts +252 -0
  279. package/types/factories/IERC20Upgradeable__factory.ts +209 -0
  280. package/types/factories/IERC2917__factory.ts +480 -0
  281. package/types/factories/IFirstClaimPool__factory.ts +58 -0
  282. package/types/factories/IGoodDollar__factory.ts +411 -0
  283. package/types/factories/IGoodStaking__factory.ts +175 -0
  284. package/types/factories/IHasRouter__factory.ts +36 -0
  285. package/types/factories/IIdentity__factory.ts +150 -0
  286. package/types/factories/ILendingPool__factory.ts +168 -0
  287. package/types/factories/INameService__factory.ts +42 -0
  288. package/types/factories/IUBIScheme__factory.ts +68 -0
  289. package/types/factories/IncentiveControllerMock__factory.ts +166 -0
  290. package/types/factories/IntVoteInterface__factory.ts +349 -0
  291. package/types/factories/LendingPoolMock__factory.ts +914 -0
  292. package/types/factories/MultiBaseGovernanceShareField__factory.ts +240 -0
  293. package/types/factories/Multicall__factory.ts +215 -0
  294. package/types/factories/NameService__factory.ts +264 -0
  295. package/types/factories/OldMarketMaker__factory.ts +62 -0
  296. package/types/factories/OverMintTesterRegularStake__factory.ts +156 -0
  297. package/types/factories/OverMintTester__factory.ts +152 -0
  298. package/types/factories/PausableUpgradeable__factory.ts +65 -0
  299. package/types/factories/ProtocolUpgradeFuseRecover__factory.ts +146 -0
  300. package/types/factories/ProtocolUpgradeFuse__factory.ts +142 -0
  301. package/types/factories/ProtocolUpgradeRecover__factory.ts +184 -0
  302. package/types/factories/ProtocolUpgrade__factory.ts +207 -0
  303. package/types/factories/ProxyAdmin__factory.ts +105 -0
  304. package/types/factories/ProxyFactory1967__factory.ts +223 -0
  305. package/types/factories/Proxy__factory.ts +28 -0
  306. package/types/factories/ReputationInterface__factory.ts +168 -0
  307. package/types/factories/ReputationTestHelper__factory.ts +141 -0
  308. package/types/factories/Reputation__factory.ts +667 -0
  309. package/types/factories/Reserve__factory.ts +52 -0
  310. package/types/factories/SchemeRegistrar__factory.ts +114 -0
  311. package/types/factories/SimpleStakingV2__factory.ts +986 -0
  312. package/types/factories/SimpleStaking__factory.ts +1045 -0
  313. package/types/factories/SixteenDecimalsTokenMock__factory.ts +734 -0
  314. package/types/factories/StakersDistribution__factory.ts +591 -0
  315. package/types/factories/Staking__factory.ts +74 -0
  316. package/types/factories/SwapHelperTest__factory.ts +96 -0
  317. package/types/factories/TwentyDecimalsTokenMock__factory.ts +734 -0
  318. package/types/factories/UBIScheme__factory.ts +1015 -0
  319. package/types/factories/USDCMock__factory.ts +727 -0
  320. package/types/factories/UUPSUpgradeable__factory.ts +102 -0
  321. package/types/factories/UniswapFactory__factory.ts +50 -0
  322. package/types/factories/UniswapPair__factory.ts +117 -0
  323. package/types/factories/UniswapV2SwapHelper__factory.ts +101 -0
  324. package/types/factories/Uniswap__factory.ts +272 -0
  325. package/types/factories/UpgradableMock2__factory.ts +210 -0
  326. package/types/factories/UpgradableMock3__factory.ts +223 -0
  327. package/types/factories/UpgradableMock4__factory.ts +223 -0
  328. package/types/factories/UpgradableMock__factory.ts +236 -0
  329. package/types/hardhat.d.ts +1077 -0
  330. package/types/index.ts +236 -0
@@ -0,0 +1,986 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ SimpleStakingV2,
9
+ SimpleStakingV2Interface,
10
+ } from "../SimpleStakingV2";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "owner",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "spender",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: false,
30
+ internalType: "uint256",
31
+ name: "value",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "Approval",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: false,
43
+ internalType: "address",
44
+ name: "recipient",
45
+ type: "address",
46
+ },
47
+ {
48
+ indexed: false,
49
+ internalType: "uint256",
50
+ name: "iTokenGains",
51
+ type: "uint256",
52
+ },
53
+ {
54
+ indexed: false,
55
+ internalType: "uint256",
56
+ name: "tokenGains",
57
+ type: "uint256",
58
+ },
59
+ {
60
+ indexed: false,
61
+ internalType: "uint256",
62
+ name: "actualTokenRedeemed",
63
+ type: "uint256",
64
+ },
65
+ {
66
+ indexed: false,
67
+ internalType: "uint256",
68
+ name: "actualRewardTokenEarned",
69
+ type: "uint256",
70
+ },
71
+ {
72
+ indexed: false,
73
+ internalType: "uint256",
74
+ name: "interestCollectedInDAI",
75
+ type: "uint256",
76
+ },
77
+ ],
78
+ name: "InterestCollected",
79
+ type: "event",
80
+ },
81
+ {
82
+ anonymous: false,
83
+ inputs: [
84
+ {
85
+ indexed: true,
86
+ internalType: "address",
87
+ name: "staker",
88
+ type: "address",
89
+ },
90
+ {
91
+ indexed: false,
92
+ internalType: "address",
93
+ name: "token",
94
+ type: "address",
95
+ },
96
+ {
97
+ indexed: false,
98
+ internalType: "uint256",
99
+ name: "value",
100
+ type: "uint256",
101
+ },
102
+ ],
103
+ name: "StakeWithdraw",
104
+ type: "event",
105
+ },
106
+ {
107
+ anonymous: false,
108
+ inputs: [
109
+ {
110
+ indexed: true,
111
+ internalType: "address",
112
+ name: "staker",
113
+ type: "address",
114
+ },
115
+ {
116
+ indexed: false,
117
+ internalType: "address",
118
+ name: "token",
119
+ type: "address",
120
+ },
121
+ {
122
+ indexed: false,
123
+ internalType: "uint256",
124
+ name: "value",
125
+ type: "uint256",
126
+ },
127
+ ],
128
+ name: "Staked",
129
+ type: "event",
130
+ },
131
+ {
132
+ anonymous: false,
133
+ inputs: [
134
+ {
135
+ indexed: true,
136
+ internalType: "address",
137
+ name: "from",
138
+ type: "address",
139
+ },
140
+ {
141
+ indexed: true,
142
+ internalType: "address",
143
+ name: "to",
144
+ type: "address",
145
+ },
146
+ {
147
+ indexed: false,
148
+ internalType: "uint256",
149
+ name: "value",
150
+ type: "uint256",
151
+ },
152
+ ],
153
+ name: "Transfer",
154
+ type: "event",
155
+ },
156
+ {
157
+ inputs: [
158
+ {
159
+ internalType: "address",
160
+ name: "owner",
161
+ type: "address",
162
+ },
163
+ {
164
+ internalType: "address",
165
+ name: "spender",
166
+ type: "address",
167
+ },
168
+ ],
169
+ name: "allowance",
170
+ outputs: [
171
+ {
172
+ internalType: "uint256",
173
+ name: "",
174
+ type: "uint256",
175
+ },
176
+ ],
177
+ stateMutability: "view",
178
+ type: "function",
179
+ },
180
+ {
181
+ inputs: [
182
+ {
183
+ internalType: "address",
184
+ name: "spender",
185
+ type: "address",
186
+ },
187
+ {
188
+ internalType: "uint256",
189
+ name: "amount",
190
+ type: "uint256",
191
+ },
192
+ ],
193
+ name: "approve",
194
+ outputs: [
195
+ {
196
+ internalType: "bool",
197
+ name: "",
198
+ type: "bool",
199
+ },
200
+ ],
201
+ stateMutability: "nonpayable",
202
+ type: "function",
203
+ },
204
+ {
205
+ inputs: [],
206
+ name: "avatar",
207
+ outputs: [
208
+ {
209
+ internalType: "address",
210
+ name: "",
211
+ type: "address",
212
+ },
213
+ ],
214
+ stateMutability: "view",
215
+ type: "function",
216
+ },
217
+ {
218
+ inputs: [
219
+ {
220
+ internalType: "address",
221
+ name: "account",
222
+ type: "address",
223
+ },
224
+ ],
225
+ name: "balanceOf",
226
+ outputs: [
227
+ {
228
+ internalType: "uint256",
229
+ name: "",
230
+ type: "uint256",
231
+ },
232
+ ],
233
+ stateMutability: "view",
234
+ type: "function",
235
+ },
236
+ {
237
+ inputs: [],
238
+ name: "claimReputation",
239
+ outputs: [],
240
+ stateMutability: "nonpayable",
241
+ type: "function",
242
+ },
243
+ {
244
+ inputs: [
245
+ {
246
+ internalType: "address",
247
+ name: "_recipient",
248
+ type: "address",
249
+ },
250
+ ],
251
+ name: "collectUBIInterest",
252
+ outputs: [
253
+ {
254
+ internalType: "uint256",
255
+ name: "actualTokenRedeemed",
256
+ type: "uint256",
257
+ },
258
+ {
259
+ internalType: "uint256",
260
+ name: "actualRewardTokenRedeemed",
261
+ type: "uint256",
262
+ },
263
+ {
264
+ internalType: "uint256",
265
+ name: "actualDai",
266
+ type: "uint256",
267
+ },
268
+ ],
269
+ stateMutability: "nonpayable",
270
+ type: "function",
271
+ },
272
+ {
273
+ inputs: [
274
+ {
275
+ internalType: "bool",
276
+ name: "_returnTokenBalanceInUSD",
277
+ type: "bool",
278
+ },
279
+ {
280
+ internalType: "bool",
281
+ name: "_returnTokenGainsInUSD",
282
+ type: "bool",
283
+ },
284
+ ],
285
+ name: "currentGains",
286
+ outputs: [
287
+ {
288
+ internalType: "uint256",
289
+ name: "",
290
+ type: "uint256",
291
+ },
292
+ {
293
+ internalType: "uint256",
294
+ name: "",
295
+ type: "uint256",
296
+ },
297
+ {
298
+ internalType: "uint256",
299
+ name: "",
300
+ type: "uint256",
301
+ },
302
+ {
303
+ internalType: "uint256",
304
+ name: "",
305
+ type: "uint256",
306
+ },
307
+ {
308
+ internalType: "uint256",
309
+ name: "",
310
+ type: "uint256",
311
+ },
312
+ ],
313
+ stateMutability: "view",
314
+ type: "function",
315
+ },
316
+ {
317
+ inputs: [],
318
+ name: "dao",
319
+ outputs: [
320
+ {
321
+ internalType: "contract Controller",
322
+ name: "",
323
+ type: "address",
324
+ },
325
+ ],
326
+ stateMutability: "view",
327
+ type: "function",
328
+ },
329
+ {
330
+ inputs: [],
331
+ name: "decimals",
332
+ outputs: [
333
+ {
334
+ internalType: "uint8",
335
+ name: "",
336
+ type: "uint8",
337
+ },
338
+ ],
339
+ stateMutability: "view",
340
+ type: "function",
341
+ },
342
+ {
343
+ inputs: [
344
+ {
345
+ internalType: "address",
346
+ name: "spender",
347
+ type: "address",
348
+ },
349
+ {
350
+ internalType: "uint256",
351
+ name: "subtractedValue",
352
+ type: "uint256",
353
+ },
354
+ ],
355
+ name: "decreaseAllowance",
356
+ outputs: [
357
+ {
358
+ internalType: "bool",
359
+ name: "",
360
+ type: "bool",
361
+ },
362
+ ],
363
+ stateMutability: "nonpayable",
364
+ type: "function",
365
+ },
366
+ {
367
+ inputs: [],
368
+ name: "getGasCostForInterestTransfer",
369
+ outputs: [
370
+ {
371
+ internalType: "uint32",
372
+ name: "",
373
+ type: "uint32",
374
+ },
375
+ ],
376
+ stateMutability: "view",
377
+ type: "function",
378
+ },
379
+ {
380
+ inputs: [
381
+ {
382
+ internalType: "address",
383
+ name: "user",
384
+ type: "address",
385
+ },
386
+ ],
387
+ name: "getProductivity",
388
+ outputs: [
389
+ {
390
+ internalType: "uint256",
391
+ name: "",
392
+ type: "uint256",
393
+ },
394
+ {
395
+ internalType: "uint256",
396
+ name: "",
397
+ type: "uint256",
398
+ },
399
+ ],
400
+ stateMutability: "view",
401
+ type: "function",
402
+ },
403
+ {
404
+ inputs: [],
405
+ name: "getRouter",
406
+ outputs: [
407
+ {
408
+ internalType: "contract Uniswap",
409
+ name: "",
410
+ type: "address",
411
+ },
412
+ ],
413
+ stateMutability: "view",
414
+ type: "function",
415
+ },
416
+ {
417
+ inputs: [],
418
+ name: "getStats",
419
+ outputs: [
420
+ {
421
+ internalType: "uint256",
422
+ name: "_accAmountPerShare",
423
+ type: "uint256",
424
+ },
425
+ {
426
+ internalType: "uint128",
427
+ name: "_mintedRewards",
428
+ type: "uint128",
429
+ },
430
+ {
431
+ internalType: "uint128",
432
+ name: "_totalProductivity",
433
+ type: "uint128",
434
+ },
435
+ {
436
+ internalType: "uint128",
437
+ name: "_totalEffectiveStakes",
438
+ type: "uint128",
439
+ },
440
+ {
441
+ internalType: "uint128",
442
+ name: "_accumulatedRewards",
443
+ type: "uint128",
444
+ },
445
+ {
446
+ internalType: "uint128",
447
+ name: "_lastRewardBlock",
448
+ type: "uint128",
449
+ },
450
+ {
451
+ internalType: "uint64",
452
+ name: "_maxMultiplierThreshold",
453
+ type: "uint64",
454
+ },
455
+ {
456
+ internalType: "uint8",
457
+ name: "_tokenDecimalDifference",
458
+ type: "uint8",
459
+ },
460
+ ],
461
+ stateMutability: "view",
462
+ type: "function",
463
+ },
464
+ {
465
+ inputs: [
466
+ {
467
+ internalType: "address",
468
+ name: "_oracle",
469
+ type: "address",
470
+ },
471
+ {
472
+ internalType: "uint256",
473
+ name: "_amount",
474
+ type: "uint256",
475
+ },
476
+ {
477
+ internalType: "uint256",
478
+ name: "_decimals",
479
+ type: "uint256",
480
+ },
481
+ ],
482
+ name: "getTokenValueInUSD",
483
+ outputs: [
484
+ {
485
+ internalType: "uint256",
486
+ name: "",
487
+ type: "uint256",
488
+ },
489
+ ],
490
+ stateMutability: "view",
491
+ type: "function",
492
+ },
493
+ {
494
+ inputs: [
495
+ {
496
+ internalType: "address",
497
+ name: "_staker",
498
+ type: "address",
499
+ },
500
+ ],
501
+ name: "getUserMintedAndPending",
502
+ outputs: [
503
+ {
504
+ internalType: "uint256",
505
+ name: "",
506
+ type: "uint256",
507
+ },
508
+ {
509
+ internalType: "uint256",
510
+ name: "",
511
+ type: "uint256",
512
+ },
513
+ ],
514
+ stateMutability: "view",
515
+ type: "function",
516
+ },
517
+ {
518
+ inputs: [
519
+ {
520
+ internalType: "address",
521
+ name: "user",
522
+ type: "address",
523
+ },
524
+ {
525
+ internalType: "uint256",
526
+ name: "rewardsPerBlock",
527
+ type: "uint256",
528
+ },
529
+ {
530
+ internalType: "uint256",
531
+ name: "blockStart",
532
+ type: "uint256",
533
+ },
534
+ {
535
+ internalType: "uint256",
536
+ name: "blockEnd",
537
+ type: "uint256",
538
+ },
539
+ ],
540
+ name: "getUserPendingReward",
541
+ outputs: [
542
+ {
543
+ internalType: "uint256",
544
+ name: "",
545
+ type: "uint256",
546
+ },
547
+ ],
548
+ stateMutability: "view",
549
+ type: "function",
550
+ },
551
+ {
552
+ inputs: [],
553
+ name: "iToken",
554
+ outputs: [
555
+ {
556
+ internalType: "contract ERC20",
557
+ name: "",
558
+ type: "address",
559
+ },
560
+ ],
561
+ stateMutability: "view",
562
+ type: "function",
563
+ },
564
+ {
565
+ inputs: [
566
+ {
567
+ internalType: "address",
568
+ name: "spender",
569
+ type: "address",
570
+ },
571
+ {
572
+ internalType: "uint256",
573
+ name: "addedValue",
574
+ type: "uint256",
575
+ },
576
+ ],
577
+ name: "increaseAllowance",
578
+ outputs: [
579
+ {
580
+ internalType: "bool",
581
+ name: "",
582
+ type: "bool",
583
+ },
584
+ ],
585
+ stateMutability: "nonpayable",
586
+ type: "function",
587
+ },
588
+ {
589
+ inputs: [
590
+ {
591
+ internalType: "address",
592
+ name: "_token",
593
+ type: "address",
594
+ },
595
+ {
596
+ internalType: "address",
597
+ name: "_iToken",
598
+ type: "address",
599
+ },
600
+ {
601
+ internalType: "contract INameService",
602
+ name: "_ns",
603
+ type: "address",
604
+ },
605
+ {
606
+ internalType: "string",
607
+ name: "_tokenName",
608
+ type: "string",
609
+ },
610
+ {
611
+ internalType: "string",
612
+ name: "_tokenSymbol",
613
+ type: "string",
614
+ },
615
+ {
616
+ internalType: "uint64",
617
+ name: "_maxRewardThreshold",
618
+ type: "uint64",
619
+ },
620
+ ],
621
+ name: "initialize",
622
+ outputs: [],
623
+ stateMutability: "nonpayable",
624
+ type: "function",
625
+ },
626
+ {
627
+ inputs: [],
628
+ name: "isPaused",
629
+ outputs: [
630
+ {
631
+ internalType: "bool",
632
+ name: "",
633
+ type: "bool",
634
+ },
635
+ ],
636
+ stateMutability: "view",
637
+ type: "function",
638
+ },
639
+ {
640
+ inputs: [],
641
+ name: "lockedUSDValue",
642
+ outputs: [
643
+ {
644
+ internalType: "uint256",
645
+ name: "",
646
+ type: "uint256",
647
+ },
648
+ ],
649
+ stateMutability: "view",
650
+ type: "function",
651
+ },
652
+ {
653
+ inputs: [],
654
+ name: "maxLiquidityPercentageSwap",
655
+ outputs: [
656
+ {
657
+ internalType: "uint24",
658
+ name: "",
659
+ type: "uint24",
660
+ },
661
+ ],
662
+ stateMutability: "view",
663
+ type: "function",
664
+ },
665
+ {
666
+ inputs: [],
667
+ name: "name",
668
+ outputs: [
669
+ {
670
+ internalType: "string",
671
+ name: "",
672
+ type: "string",
673
+ },
674
+ ],
675
+ stateMutability: "view",
676
+ type: "function",
677
+ },
678
+ {
679
+ inputs: [],
680
+ name: "nameService",
681
+ outputs: [
682
+ {
683
+ internalType: "contract INameService",
684
+ name: "",
685
+ type: "address",
686
+ },
687
+ ],
688
+ stateMutability: "view",
689
+ type: "function",
690
+ },
691
+ {
692
+ inputs: [],
693
+ name: "nativeToken",
694
+ outputs: [
695
+ {
696
+ internalType: "contract IGoodDollar",
697
+ name: "",
698
+ type: "address",
699
+ },
700
+ ],
701
+ stateMutability: "view",
702
+ type: "function",
703
+ },
704
+ {
705
+ inputs: [
706
+ {
707
+ internalType: "bool",
708
+ name: "_isPaused",
709
+ type: "bool",
710
+ },
711
+ ],
712
+ name: "pause",
713
+ outputs: [],
714
+ stateMutability: "nonpayable",
715
+ type: "function",
716
+ },
717
+ {
718
+ inputs: [
719
+ {
720
+ internalType: "contract ERC20",
721
+ name: "_token",
722
+ type: "address",
723
+ },
724
+ ],
725
+ name: "recover",
726
+ outputs: [],
727
+ stateMutability: "nonpayable",
728
+ type: "function",
729
+ },
730
+ {
731
+ inputs: [
732
+ {
733
+ internalType: "address",
734
+ name: "user",
735
+ type: "address",
736
+ },
737
+ {
738
+ internalType: "uint256",
739
+ name: "rewardsPerBlock",
740
+ type: "uint256",
741
+ },
742
+ {
743
+ internalType: "uint256",
744
+ name: "blockStart",
745
+ type: "uint256",
746
+ },
747
+ {
748
+ internalType: "uint256",
749
+ name: "blockEnd",
750
+ type: "uint256",
751
+ },
752
+ ],
753
+ name: "rewardsMinted",
754
+ outputs: [
755
+ {
756
+ internalType: "uint256",
757
+ name: "",
758
+ type: "uint256",
759
+ },
760
+ ],
761
+ stateMutability: "nonpayable",
762
+ type: "function",
763
+ },
764
+ {
765
+ inputs: [
766
+ {
767
+ internalType: "uint24",
768
+ name: "_maxPercentage",
769
+ type: "uint24",
770
+ },
771
+ ],
772
+ name: "setMaxLiquidityPercentageSwap",
773
+ outputs: [],
774
+ stateMutability: "nonpayable",
775
+ type: "function",
776
+ },
777
+ {
778
+ inputs: [
779
+ {
780
+ internalType: "uint256",
781
+ name: "_amount",
782
+ type: "uint256",
783
+ },
784
+ {
785
+ internalType: "uint256",
786
+ name: "_donationPer",
787
+ type: "uint256",
788
+ },
789
+ {
790
+ internalType: "bool",
791
+ name: "_inInterestToken",
792
+ type: "bool",
793
+ },
794
+ ],
795
+ name: "stake",
796
+ outputs: [],
797
+ stateMutability: "nonpayable",
798
+ type: "function",
799
+ },
800
+ {
801
+ inputs: [],
802
+ name: "symbol",
803
+ outputs: [
804
+ {
805
+ internalType: "string",
806
+ name: "",
807
+ type: "string",
808
+ },
809
+ ],
810
+ stateMutability: "view",
811
+ type: "function",
812
+ },
813
+ {
814
+ inputs: [],
815
+ name: "token",
816
+ outputs: [
817
+ {
818
+ internalType: "contract ERC20",
819
+ name: "",
820
+ type: "address",
821
+ },
822
+ ],
823
+ stateMutability: "view",
824
+ type: "function",
825
+ },
826
+ {
827
+ inputs: [],
828
+ name: "totalSupply",
829
+ outputs: [
830
+ {
831
+ internalType: "uint256",
832
+ name: "",
833
+ type: "uint256",
834
+ },
835
+ ],
836
+ stateMutability: "view",
837
+ type: "function",
838
+ },
839
+ {
840
+ inputs: [
841
+ {
842
+ internalType: "address",
843
+ name: "recipient",
844
+ type: "address",
845
+ },
846
+ {
847
+ internalType: "uint256",
848
+ name: "amount",
849
+ type: "uint256",
850
+ },
851
+ ],
852
+ name: "transfer",
853
+ outputs: [
854
+ {
855
+ internalType: "bool",
856
+ name: "",
857
+ type: "bool",
858
+ },
859
+ ],
860
+ stateMutability: "nonpayable",
861
+ type: "function",
862
+ },
863
+ {
864
+ inputs: [
865
+ {
866
+ internalType: "address",
867
+ name: "sender",
868
+ type: "address",
869
+ },
870
+ {
871
+ internalType: "address",
872
+ name: "recipient",
873
+ type: "address",
874
+ },
875
+ {
876
+ internalType: "uint256",
877
+ name: "amount",
878
+ type: "uint256",
879
+ },
880
+ ],
881
+ name: "transferFrom",
882
+ outputs: [
883
+ {
884
+ internalType: "bool",
885
+ name: "",
886
+ type: "bool",
887
+ },
888
+ ],
889
+ stateMutability: "nonpayable",
890
+ type: "function",
891
+ },
892
+ {
893
+ inputs: [],
894
+ name: "updateAvatar",
895
+ outputs: [],
896
+ stateMutability: "nonpayable",
897
+ type: "function",
898
+ },
899
+ {
900
+ inputs: [
901
+ {
902
+ internalType: "address",
903
+ name: "",
904
+ type: "address",
905
+ },
906
+ ],
907
+ name: "users",
908
+ outputs: [
909
+ {
910
+ internalType: "uint128",
911
+ name: "amount",
912
+ type: "uint128",
913
+ },
914
+ {
915
+ internalType: "uint128",
916
+ name: "effectiveStakes",
917
+ type: "uint128",
918
+ },
919
+ {
920
+ internalType: "uint128",
921
+ name: "rewardDebt",
922
+ type: "uint128",
923
+ },
924
+ {
925
+ internalType: "uint128",
926
+ name: "rewardEarn",
927
+ type: "uint128",
928
+ },
929
+ {
930
+ internalType: "uint128",
931
+ name: "rewardMinted",
932
+ type: "uint128",
933
+ },
934
+ {
935
+ internalType: "uint64",
936
+ name: "lastRewardTime",
937
+ type: "uint64",
938
+ },
939
+ {
940
+ internalType: "uint64",
941
+ name: "multiplierResetTime",
942
+ type: "uint64",
943
+ },
944
+ ],
945
+ stateMutability: "view",
946
+ type: "function",
947
+ },
948
+ {
949
+ inputs: [],
950
+ name: "withdrawRewards",
951
+ outputs: [],
952
+ stateMutability: "nonpayable",
953
+ type: "function",
954
+ },
955
+ {
956
+ inputs: [
957
+ {
958
+ internalType: "uint256",
959
+ name: "_amount",
960
+ type: "uint256",
961
+ },
962
+ {
963
+ internalType: "bool",
964
+ name: "_inInterestToken",
965
+ type: "bool",
966
+ },
967
+ ],
968
+ name: "withdrawStake",
969
+ outputs: [],
970
+ stateMutability: "nonpayable",
971
+ type: "function",
972
+ },
973
+ ];
974
+
975
+ export class SimpleStakingV2__factory {
976
+ static readonly abi = _abi;
977
+ static createInterface(): SimpleStakingV2Interface {
978
+ return new utils.Interface(_abi) as SimpleStakingV2Interface;
979
+ }
980
+ static connect(
981
+ address: string,
982
+ signerOrProvider: Signer | Provider
983
+ ): SimpleStakingV2 {
984
+ return new Contract(address, _abi, signerOrProvider) as SimpleStakingV2;
985
+ }
986
+ }