@gearbox-protocol/sdk 0.0.61 → 0.0.64

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 (333) hide show
  1. package/lib/core/contracts.js +5 -5
  2. package/lib/index.d.ts +1 -0
  3. package/lib/index.js +3 -1
  4. package/lib/pathfinder/path.js +9 -8
  5. package/lib/pathfinder/priority.d.ts +1 -1
  6. package/lib/pathfinder/priority.js +11 -11
  7. package/lib/tokens/convex.d.ts +2 -1
  8. package/lib/tokens/convex.js +11 -11
  9. package/lib/tokens/curveLP.d.ts +2 -1
  10. package/lib/tokens/curveLP.js +7 -7
  11. package/lib/tokens/gear.d.ts +2 -1
  12. package/lib/tokens/gear.js +6 -6
  13. package/lib/tokens/normal.d.ts +2 -1
  14. package/lib/tokens/normal.js +29 -29
  15. package/lib/tokens/token.d.ts +0 -12
  16. package/lib/tokens/token.js +7 -20
  17. package/lib/tokens/tokenType.d.ts +12 -0
  18. package/lib/tokens/tokenType.js +16 -0
  19. package/lib/tokens/yearn.d.ts +2 -1
  20. package/lib/tokens/yearn.js +7 -7
  21. package/package.json +1 -1
  22. package/src/core/contracts.ts +6 -6
  23. package/src/index.ts +1 -0
  24. package/src/pathfinder/path.ts +3 -2
  25. package/src/pathfinder/priority.ts +1 -1
  26. package/src/tokens/convex.ts +2 -1
  27. package/src/tokens/curveLP.ts +2 -1
  28. package/src/tokens/gear.ts +2 -1
  29. package/src/tokens/normal.ts +2 -1
  30. package/src/tokens/token.ts +6 -19
  31. package/src/tokens/tokenType.ts +12 -0
  32. package/src/tokens/yearn.ts +2 -1
  33. package/lib/core/pathfinder.d.ts +0 -54
  34. package/lib/core/pathfinder.js +0 -612
  35. package/lib/core/token.d.ts +0 -104
  36. package/lib/core/token.js +0 -1359
  37. package/lib/core/tokenData.d.ts +0 -24
  38. package/lib/core/tokenData.js +0 -57
  39. package/lib/pathfinder/connector.d.ts +0 -7
  40. package/lib/pathfinder/connector.js +0 -78
  41. package/lib/pathfinder/connectorPathAsset.d.ts +0 -7
  42. package/lib/pathfinder/connectorPathAsset.js +0 -144
  43. package/lib/pathfinder/convexLPTokenPathAsset.d.ts +0 -5
  44. package/lib/pathfinder/convexLPTokenPathAsset.js +0 -77
  45. package/lib/pathfinder/curveLPPathAsset.d.ts +0 -5
  46. package/lib/pathfinder/curveLPPathAsset.js +0 -72
  47. package/lib/pathfinder/curveMetaLP.d.ts +0 -5
  48. package/lib/pathfinder/curveMetaLP.js +0 -72
  49. package/lib/pathfinder/metaCurveLPPathAsset.d.ts +0 -5
  50. package/lib/pathfinder/metaCurveLPPathAsset.js +0 -72
  51. package/lib/pathfinder/normalToken.d.ts +0 -7
  52. package/lib/pathfinder/normalToken.js +0 -78
  53. package/lib/pathfinder/normalTokenPathAsset.d.ts +0 -5
  54. package/lib/pathfinder/normalTokenPathAsset.js +0 -136
  55. package/lib/pathfinder/notes.d.ts +0 -4
  56. package/lib/pathfinder/notes.js +0 -58
  57. package/lib/pathfinder/pathfinder.d.ts +0 -24
  58. package/lib/pathfinder/pathfinder.js +0 -132
  59. package/lib/pathfinder/yearnVaultOfCurveLPPathAsset.d.ts +0 -5
  60. package/lib/pathfinder/yearnVaultOfCurveLPPathAsset.js +0 -87
  61. package/lib/pathfinder/yearnVaultOfMetaCurveLPPathAsset.d.ts +0 -5
  62. package/lib/pathfinder/yearnVaultOfMetaCurveLPPathAsset.js +0 -87
  63. package/lib/pathfinder/yearnVaultPathAsset.d.ts +0 -5
  64. package/lib/pathfinder/yearnVaultPathAsset.js +0 -87
  65. package/lib/types/ACL.d.ts +0 -491
  66. package/lib/types/ACLTrait.d.ts +0 -148
  67. package/lib/types/ACLTraitTest.d.ts +0 -209
  68. package/lib/types/AccountFactory.d.ts +0 -716
  69. package/lib/types/AccountMining.d.ts +0 -222
  70. package/lib/types/AddressProvider.d.ts +0 -912
  71. package/lib/types/AggregatorV3Interface.d.ts +0 -234
  72. package/lib/types/ChainlinkPriceFeedMock.d.ts +0 -215
  73. package/lib/types/ContractsRegister.d.ts +0 -398
  74. package/lib/types/CreditAccount.d.ts +0 -443
  75. package/lib/types/CreditFilter.d.ts +0 -1609
  76. package/lib/types/CreditFilterMock.d.ts +0 -1687
  77. package/lib/types/CreditManager.d.ts +0 -1285
  78. package/lib/types/CreditManagerMockForFilter.d.ts +0 -605
  79. package/lib/types/CreditManagerMockForPoolTest.d.ts +0 -204
  80. package/lib/types/CurveMock.d.ts +0 -298
  81. package/lib/types/CurveV1Adapter.d.ts +0 -349
  82. package/lib/types/DataCompressor.d.ts +0 -1331
  83. package/lib/types/DieselToken.d.ts +0 -567
  84. package/lib/types/ERC165.d.ts +0 -116
  85. package/lib/types/ERC20.d.ts +0 -411
  86. package/lib/types/ERC20BlockingMock.d.ts +0 -568
  87. package/lib/types/ERC721.d.ts +0 -625
  88. package/lib/types/Errors.d.ts +0 -1854
  89. package/lib/types/ExecutorMock.d.ts +0 -140
  90. package/lib/types/FlashLoanAttacker.d.ts +0 -170
  91. package/lib/types/FuzzHarness.d.ts +0 -124
  92. package/lib/types/GearBeta.d.ts +0 -745
  93. package/lib/types/GearToken.d.ts +0 -888
  94. package/lib/types/IAccountFactory.d.ts +0 -317
  95. package/lib/types/IAccountMiner.d.ts +0 -124
  96. package/lib/types/IAppAddressProvider.d.ts +0 -198
  97. package/lib/types/IAppCreditManager.d.ts +0 -408
  98. package/lib/types/IAppERC20.d.ts +0 -309
  99. package/lib/types/IAppPoolService.d.ts +0 -166
  100. package/lib/types/ICreditAccount.d.ts +0 -430
  101. package/lib/types/ICreditFilter.d.ts +0 -1162
  102. package/lib/types/ICreditManager.d.ts +0 -971
  103. package/lib/types/ICurvePool.d.ts +0 -298
  104. package/lib/types/IDataCompressor.d.ts +0 -1231
  105. package/lib/types/IERC165.d.ts +0 -116
  106. package/lib/types/IERC20.d.ts +0 -294
  107. package/lib/types/IERC721.d.ts +0 -472
  108. package/lib/types/IERC721Enumerable.d.ts +0 -564
  109. package/lib/types/IERC721Metadata.d.ts +0 -523
  110. package/lib/types/IERC721Receiver.d.ts +0 -132
  111. package/lib/types/IGearToken.d.ts +0 -527
  112. package/lib/types/IInterestRateModel.d.ts +0 -121
  113. package/lib/types/IMerkleDistributor.d.ts +0 -190
  114. package/lib/types/IPoolService.d.ts +0 -772
  115. package/lib/types/IPriceOracle.d.ts +0 -211
  116. package/lib/types/IQuoter.d.ts +0 -269
  117. package/lib/types/ISwapRouter.d.ts +0 -404
  118. package/lib/types/IUniswapV2Migrator.d.ts +0 -134
  119. package/lib/types/IUniswapV2Router01.d.ts +0 -1119
  120. package/lib/types/IUniswapV2Router02.d.ts +0 -1432
  121. package/lib/types/IUniswapV3SwapCallback.d.ts +0 -127
  122. package/lib/types/IWETH.d.ts +0 -169
  123. package/lib/types/IWETHGateway.d.ts +0 -335
  124. package/lib/types/IYVault.d.ts +0 -558
  125. package/lib/types/LeveragedActions.d.ts +0 -772
  126. package/lib/types/LinearInterestRateModel.d.ts +0 -279
  127. package/lib/types/MockPoolService.d.ts +0 -1271
  128. package/lib/types/Multicall2.d.ts +0 -449
  129. package/lib/types/Ownable.d.ts +0 -169
  130. package/lib/types/PathFinder.d.ts +0 -379
  131. package/lib/types/Pausable.d.ts +0 -105
  132. package/lib/types/PercentageMathTest.d.ts +0 -154
  133. package/lib/types/PoolService.d.ts +0 -1174
  134. package/lib/types/PriceOracle.d.ts +0 -387
  135. package/lib/types/StepVesting.d.ts +0 -411
  136. package/lib/types/TestPoolService.d.ts +0 -1294
  137. package/lib/types/TokenDistributor.d.ts +0 -640
  138. package/lib/types/TokenFeeMock.d.ts +0 -544
  139. package/lib/types/TokenMock.d.ts +0 -531
  140. package/lib/types/TreasuryMock.d.ts +0 -86
  141. package/lib/types/UniswapRouterMock.d.ts +0 -1520
  142. package/lib/types/UniswapV2Adapter.d.ts +0 -1463
  143. package/lib/types/UniswapV3Adapter.d.ts +0 -455
  144. package/lib/types/WETHGateway.d.ts +0 -376
  145. package/lib/types/WETHMock.d.ts +0 -433
  146. package/lib/types/WadRayMathTest.d.ts +0 -316
  147. package/lib/types/YearnAdapter.d.ts +0 -609
  148. package/lib/types/YearnMock.d.ts +0 -795
  149. package/lib/types/YearnPriceFeed.d.ts +0 -399
  150. package/lib/types/commons.d.ts +0 -16
  151. package/lib/types/commons.js +0 -5
  152. package/lib/types/contracts/support/PathFinder.d.ts +0 -154
  153. package/lib/types/contracts/support/PathFinder.js +0 -2
  154. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter.d.ts +0 -52
  155. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter.js +0 -2
  156. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.d.ts +0 -1
  157. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.js +0 -2
  158. package/lib/types/factories/ACLTraitTest__factory.d.ts +0 -52
  159. package/lib/types/factories/ACLTraitTest__factory.js +0 -138
  160. package/lib/types/factories/ACLTrait__factory.d.ts +0 -31
  161. package/lib/types/factories/ACLTrait__factory.js +0 -75
  162. package/lib/types/factories/ACL__factory.d.ts +0 -45
  163. package/lib/types/factories/ACL__factory.js +0 -317
  164. package/lib/types/factories/AccountFactory__factory.d.ts +0 -72
  165. package/lib/types/factories/AccountFactory__factory.js +0 -508
  166. package/lib/types/factories/AccountMining__factory.d.ts +0 -56
  167. package/lib/types/factories/AccountMining__factory.js +0 -192
  168. package/lib/types/factories/AddressProvider__factory.d.ts +0 -52
  169. package/lib/types/factories/AddressProvider__factory.js +0 -582
  170. package/lib/types/factories/AggregatorV3Interface__factory.d.ts +0 -22
  171. package/lib/types/factories/AggregatorV3Interface__factory.js +0 -133
  172. package/lib/types/factories/ChainlinkPriceFeedMock__factory.d.ts +0 -42
  173. package/lib/types/factories/ChainlinkPriceFeedMock__factory.js +0 -193
  174. package/lib/types/factories/ContractsRegister__factory.d.ts +0 -56
  175. package/lib/types/factories/ContractsRegister__factory.js +0 -310
  176. package/lib/types/factories/CreditAccount__factory.d.ts +0 -32
  177. package/lib/types/factories/CreditAccount__factory.js +0 -262
  178. package/lib/types/factories/CreditFilterMock__factory.d.ts +0 -56
  179. package/lib/types/factories/CreditFilterMock__factory.js +0 -1083
  180. package/lib/types/factories/CreditFilter__factory.d.ts +0 -56
  181. package/lib/types/factories/CreditFilter__factory.js +0 -1047
  182. package/lib/types/factories/CreditManagerMockForFilter__factory.d.ts +0 -38
  183. package/lib/types/factories/CreditManagerMockForFilter__factory.js +0 -324
  184. package/lib/types/factories/CreditManagerMockForPoolTest__factory.d.ts +0 -48
  185. package/lib/types/factories/CreditManagerMockForPoolTest__factory.js +0 -131
  186. package/lib/types/factories/CreditManager__factory.d.ts +0 -77
  187. package/lib/types/factories/CreditManager__factory.js +0 -1030
  188. package/lib/types/factories/CurveMock__factory.d.ts +0 -42
  189. package/lib/types/factories/CurveMock__factory.js +0 -210
  190. package/lib/types/factories/CurveV1Adapter__factory.d.ts +0 -42
  191. package/lib/types/factories/CurveV1Adapter__factory.js +0 -254
  192. package/lib/types/factories/DataCompressor__factory.d.ts +0 -71
  193. package/lib/types/factories/DataCompressor__factory.js +0 -944
  194. package/lib/types/factories/DieselToken__factory.d.ts +0 -56
  195. package/lib/types/factories/DieselToken__factory.js +0 -432
  196. package/lib/types/factories/ERC165__factory.d.ts +0 -22
  197. package/lib/types/factories/ERC165__factory.js +0 -41
  198. package/lib/types/factories/ERC20BlockingMock__factory.d.ts +0 -56
  199. package/lib/types/factories/ERC20BlockingMock__factory.js +0 -429
  200. package/lib/types/factories/ERC20__factory.d.ts +0 -56
  201. package/lib/types/factories/ERC20__factory.js +0 -339
  202. package/lib/types/factories/ERC721__factory.d.ts +0 -56
  203. package/lib/types/factories/ERC721__factory.js +0 -468
  204. package/lib/types/factories/Errors__factory.d.ts +0 -28
  205. package/lib/types/factories/Errors__factory.js +0 -1015
  206. package/lib/types/factories/ExecutorMock__factory.d.ts +0 -38
  207. package/lib/types/factories/ExecutorMock__factory.js +0 -103
  208. package/lib/types/factories/FlashLoanAttacker__factory.d.ts +0 -48
  209. package/lib/types/factories/FlashLoanAttacker__factory.js +0 -117
  210. package/lib/types/factories/FuzzHarness__factory.d.ts +0 -38
  211. package/lib/types/factories/FuzzHarness__factory.js +0 -92
  212. package/lib/types/factories/GearBeta__factory.d.ts +0 -52
  213. package/lib/types/factories/GearBeta__factory.js +0 -527
  214. package/lib/types/factories/GearToken__factory.d.ts +0 -56
  215. package/lib/types/factories/GearToken__factory.js +0 -708
  216. package/lib/types/factories/IAccountFactory__factory.d.ts +0 -35
  217. package/lib/types/factories/IAccountFactory__factory.js +0 -226
  218. package/lib/types/factories/IAccountMiner__factory.d.ts +0 -28
  219. package/lib/types/factories/IAccountMiner__factory.js +0 -48
  220. package/lib/types/factories/IAppAddressProvider__factory.d.ts +0 -18
  221. package/lib/types/factories/IAppAddressProvider__factory.js +0 -100
  222. package/lib/types/factories/IAppCreditManager__factory.d.ts +0 -42
  223. package/lib/types/factories/IAppCreditManager__factory.js +0 -204
  224. package/lib/types/factories/IAppERC20__factory.d.ts +0 -22
  225. package/lib/types/factories/IAppERC20__factory.js +0 -194
  226. package/lib/types/factories/IAppPoolService__factory.d.ts +0 -22
  227. package/lib/types/factories/IAppPoolService__factory.js +0 -69
  228. package/lib/types/factories/ICreditAccount__factory.d.ts +0 -22
  229. package/lib/types/factories/ICreditAccount__factory.js +0 -218
  230. package/lib/types/factories/ICreditFilter__factory.d.ts +0 -35
  231. package/lib/types/factories/ICreditFilter__factory.js +0 -700
  232. package/lib/types/factories/ICreditManager__factory.d.ts +0 -56
  233. package/lib/types/factories/ICreditManager__factory.js +0 -720
  234. package/lib/types/factories/ICurvePool__factory.d.ts +0 -22
  235. package/lib/types/factories/ICurvePool__factory.js +0 -168
  236. package/lib/types/factories/IDataCompressor__factory.d.ts +0 -51
  237. package/lib/types/factories/IDataCompressor__factory.js +0 -826
  238. package/lib/types/factories/IERC165__factory.d.ts +0 -22
  239. package/lib/types/factories/IERC165__factory.js +0 -41
  240. package/lib/types/factories/IERC20__factory.d.ts +0 -35
  241. package/lib/types/factories/IERC20__factory.js +0 -205
  242. package/lib/types/factories/IERC721Enumerable__factory.d.ts +0 -35
  243. package/lib/types/factories/IERC721Enumerable__factory.js +0 -363
  244. package/lib/types/factories/IERC721Metadata__factory.d.ts +0 -35
  245. package/lib/types/factories/IERC721Metadata__factory.js +0 -352
  246. package/lib/types/factories/IERC721Receiver__factory.d.ts +0 -22
  247. package/lib/types/factories/IERC721Receiver__factory.js +0 -56
  248. package/lib/types/factories/IERC721__factory.d.ts +0 -35
  249. package/lib/types/factories/IERC721__factory.js +0 -307
  250. package/lib/types/factories/IGearToken__factory.d.ts +0 -35
  251. package/lib/types/factories/IGearToken__factory.js +0 -342
  252. package/lib/types/factories/IInterestRateModel__factory.d.ts +0 -22
  253. package/lib/types/factories/IInterestRateModel__factory.js +0 -46
  254. package/lib/types/factories/IMerkleDistributor__factory.d.ts +0 -35
  255. package/lib/types/factories/IMerkleDistributor__factory.js +0 -109
  256. package/lib/types/factories/IPoolService__factory.d.ts +0 -35
  257. package/lib/types/factories/IPoolService__factory.js +0 -580
  258. package/lib/types/factories/IPriceOracle__factory.d.ts +0 -35
  259. package/lib/types/factories/IPriceOracle__factory.js +0 -112
  260. package/lib/types/factories/IQuoter__factory.d.ts +0 -22
  261. package/lib/types/factories/IQuoter__factory.js +0 -148
  262. package/lib/types/factories/ISwapRouter__factory.d.ts +0 -27
  263. package/lib/types/factories/ISwapRouter__factory.js +0 -236
  264. package/lib/types/factories/IUniswapV2Migrator__factory.d.ts +0 -18
  265. package/lib/types/factories/IUniswapV2Migrator__factory.js +0 -55
  266. package/lib/types/factories/IUniswapV2Router01__factory.d.ts +0 -22
  267. package/lib/types/factories/IUniswapV2Router01__factory.js +0 -771
  268. package/lib/types/factories/IUniswapV2Router02__factory.d.ts +0 -22
  269. package/lib/types/factories/IUniswapV2Router02__factory.js +0 -973
  270. package/lib/types/factories/IUniswapV3SwapCallback__factory.d.ts +0 -18
  271. package/lib/types/factories/IUniswapV3SwapCallback__factory.js +0 -45
  272. package/lib/types/factories/IWETHGateway__factory.d.ts +0 -18
  273. package/lib/types/factories/IWETHGateway__factory.js +0 -150
  274. package/lib/types/factories/IWETH__factory.d.ts +0 -22
  275. package/lib/types/factories/IWETH__factory.js +0 -66
  276. package/lib/types/factories/IYVault__factory.d.ts +0 -35
  277. package/lib/types/factories/IYVault__factory.js +0 -411
  278. package/lib/types/factories/LeveragedActions__factory.d.ts +0 -84
  279. package/lib/types/factories/LeveragedActions__factory.js +0 -569
  280. package/lib/types/factories/LinearInterestRateModel__factory.d.ts +0 -42
  281. package/lib/types/factories/LinearInterestRateModel__factory.js +0 -209
  282. package/lib/types/factories/MockPoolService__factory.d.ts +0 -56
  283. package/lib/types/factories/MockPoolService__factory.js +0 -889
  284. package/lib/types/factories/Multicall2__factory.d.ts +0 -52
  285. package/lib/types/factories/Multicall2__factory.js +0 -364
  286. package/lib/types/factories/Ownable__factory.d.ts +0 -42
  287. package/lib/types/factories/Ownable__factory.js +0 -74
  288. package/lib/types/factories/PathFinder__factory.d.ts +0 -61
  289. package/lib/types/factories/PathFinder__factory.js +0 -302
  290. package/lib/types/factories/Pausable__factory.d.ts +0 -31
  291. package/lib/types/factories/Pausable__factory.js +0 -61
  292. package/lib/types/factories/PercentageMathTest__factory.d.ts +0 -32
  293. package/lib/types/factories/PercentageMathTest__factory.js +0 -101
  294. package/lib/types/factories/PoolService__factory.d.ts +0 -56
  295. package/lib/types/factories/PoolService__factory.js +0 -873
  296. package/lib/types/factories/PriceOracle__factory.d.ts +0 -56
  297. package/lib/types/factories/PriceOracle__factory.js +0 -290
  298. package/lib/types/factories/StepVesting__factory.d.ts +0 -52
  299. package/lib/types/factories/StepVesting__factory.js +0 -296
  300. package/lib/types/factories/TestPoolService__factory.d.ts +0 -56
  301. package/lib/types/factories/TestPoolService__factory.js +0 -932
  302. package/lib/types/factories/TokenDistributor__factory.d.ts +0 -82
  303. package/lib/types/factories/TokenDistributor__factory.js +0 -481
  304. package/lib/types/factories/TokenFeeMock__factory.d.ts +0 -56
  305. package/lib/types/factories/TokenFeeMock__factory.js +0 -427
  306. package/lib/types/factories/TokenMock__factory.d.ts +0 -56
  307. package/lib/types/factories/TokenMock__factory.js +0 -409
  308. package/lib/types/factories/TreasuryMock__factory.d.ts +0 -35
  309. package/lib/types/factories/TreasuryMock__factory.js +0 -70
  310. package/lib/types/factories/UniswapRouterMock__factory.d.ts +0 -32
  311. package/lib/types/factories/UniswapRouterMock__factory.js +0 -1046
  312. package/lib/types/factories/UniswapV2Adapter__factory.d.ts +0 -42
  313. package/lib/types/factories/UniswapV2Adapter__factory.js +0 -1059
  314. package/lib/types/factories/UniswapV3Adapter__factory.d.ts +0 -47
  315. package/lib/types/factories/UniswapV3Adapter__factory.js +0 -322
  316. package/lib/types/factories/WETHGateway__factory.d.ts +0 -70
  317. package/lib/types/factories/WETHGateway__factory.js +0 -241
  318. package/lib/types/factories/WETHMock__factory.d.ts +0 -52
  319. package/lib/types/factories/WETHMock__factory.js +0 -355
  320. package/lib/types/factories/WadRayMathTest__factory.d.ts +0 -32
  321. package/lib/types/factories/WadRayMathTest__factory.js +0 -239
  322. package/lib/types/factories/YearnAdapter__factory.d.ts +0 -56
  323. package/lib/types/factories/YearnAdapter__factory.js +0 -497
  324. package/lib/types/factories/YearnMock__factory.d.ts +0 -56
  325. package/lib/types/factories/YearnMock__factory.js +0 -598
  326. package/lib/types/factories/YearnPriceFeed__factory.d.ts +0 -56
  327. package/lib/types/factories/YearnPriceFeed__factory.js +0 -350
  328. package/lib/types/factories/contracts/support/PathFinder__factory.d.ts +0 -63
  329. package/lib/types/factories/contracts/support/PathFinder__factory.js +0 -319
  330. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter__factory.d.ts +0 -34
  331. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter__factory.js +0 -124
  332. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.d.ts +0 -1
  333. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.js +0 -8
@@ -1,889 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- var __extends = (this && this.__extends) || (function () {
6
- var extendStatics = function (d, b) {
7
- extendStatics = Object.setPrototypeOf ||
8
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
10
- return extendStatics(d, b);
11
- };
12
- return function (d, b) {
13
- if (typeof b !== "function" && b !== null)
14
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
15
- extendStatics(d, b);
16
- function __() { this.constructor = d; }
17
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
- };
19
- })();
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.MockPoolService__factory = void 0;
22
- var ethers_1 = require("ethers");
23
- var _abi = [
24
- {
25
- inputs: [
26
- {
27
- internalType: "address",
28
- name: "_underlyingToken",
29
- type: "address",
30
- },
31
- ],
32
- stateMutability: "nonpayable",
33
- type: "constructor",
34
- },
35
- {
36
- anonymous: false,
37
- inputs: [
38
- {
39
- indexed: true,
40
- internalType: "address",
41
- name: "sender",
42
- type: "address",
43
- },
44
- {
45
- indexed: true,
46
- internalType: "address",
47
- name: "onBehalfOf",
48
- type: "address",
49
- },
50
- {
51
- indexed: false,
52
- internalType: "uint256",
53
- name: "amount",
54
- type: "uint256",
55
- },
56
- {
57
- indexed: false,
58
- internalType: "uint256",
59
- name: "referralCode",
60
- type: "uint256",
61
- },
62
- ],
63
- name: "AddLiquidity",
64
- type: "event",
65
- },
66
- {
67
- anonymous: false,
68
- inputs: [
69
- {
70
- indexed: true,
71
- internalType: "address",
72
- name: "creditManager",
73
- type: "address",
74
- },
75
- {
76
- indexed: true,
77
- internalType: "address",
78
- name: "creditAccount",
79
- type: "address",
80
- },
81
- {
82
- indexed: false,
83
- internalType: "uint256",
84
- name: "amount",
85
- type: "uint256",
86
- },
87
- ],
88
- name: "Borrow",
89
- type: "event",
90
- },
91
- {
92
- anonymous: false,
93
- inputs: [
94
- {
95
- indexed: true,
96
- internalType: "address",
97
- name: "creditManager",
98
- type: "address",
99
- },
100
- ],
101
- name: "BorrowForbidden",
102
- type: "event",
103
- },
104
- {
105
- anonymous: false,
106
- inputs: [
107
- {
108
- indexed: true,
109
- internalType: "address",
110
- name: "creditManager",
111
- type: "address",
112
- },
113
- ],
114
- name: "NewCreditManagerConnected",
115
- type: "event",
116
- },
117
- {
118
- anonymous: false,
119
- inputs: [
120
- {
121
- indexed: false,
122
- internalType: "uint256",
123
- name: "newLimit",
124
- type: "uint256",
125
- },
126
- ],
127
- name: "NewExpectedLiquidityLimit",
128
- type: "event",
129
- },
130
- {
131
- anonymous: false,
132
- inputs: [
133
- {
134
- indexed: true,
135
- internalType: "address",
136
- name: "newInterestRateModel",
137
- type: "address",
138
- },
139
- ],
140
- name: "NewInterestRateModel",
141
- type: "event",
142
- },
143
- {
144
- anonymous: false,
145
- inputs: [
146
- {
147
- indexed: false,
148
- internalType: "uint256",
149
- name: "fee",
150
- type: "uint256",
151
- },
152
- ],
153
- name: "NewWithdrawFee",
154
- type: "event",
155
- },
156
- {
157
- anonymous: false,
158
- inputs: [
159
- {
160
- indexed: true,
161
- internalType: "address",
162
- name: "sender",
163
- type: "address",
164
- },
165
- {
166
- indexed: true,
167
- internalType: "address",
168
- name: "to",
169
- type: "address",
170
- },
171
- {
172
- indexed: false,
173
- internalType: "uint256",
174
- name: "amount",
175
- type: "uint256",
176
- },
177
- ],
178
- name: "RemoveLiquidity",
179
- type: "event",
180
- },
181
- {
182
- anonymous: false,
183
- inputs: [
184
- {
185
- indexed: true,
186
- internalType: "address",
187
- name: "creditManager",
188
- type: "address",
189
- },
190
- {
191
- indexed: false,
192
- internalType: "uint256",
193
- name: "borrowedAmount",
194
- type: "uint256",
195
- },
196
- {
197
- indexed: false,
198
- internalType: "uint256",
199
- name: "profit",
200
- type: "uint256",
201
- },
202
- {
203
- indexed: false,
204
- internalType: "uint256",
205
- name: "loss",
206
- type: "uint256",
207
- },
208
- ],
209
- name: "Repay",
210
- type: "event",
211
- },
212
- {
213
- anonymous: false,
214
- inputs: [
215
- {
216
- indexed: true,
217
- internalType: "address",
218
- name: "creditManager",
219
- type: "address",
220
- },
221
- {
222
- indexed: false,
223
- internalType: "uint256",
224
- name: "loss",
225
- type: "uint256",
226
- },
227
- ],
228
- name: "UncoveredLoss",
229
- type: "event",
230
- },
231
- {
232
- inputs: [],
233
- name: "_cumulativeIndex_RAY",
234
- outputs: [
235
- {
236
- internalType: "uint256",
237
- name: "",
238
- type: "uint256",
239
- },
240
- ],
241
- stateMutability: "view",
242
- type: "function",
243
- },
244
- {
245
- inputs: [],
246
- name: "_expectedLiquidityLU",
247
- outputs: [
248
- {
249
- internalType: "uint256",
250
- name: "",
251
- type: "uint256",
252
- },
253
- ],
254
- stateMutability: "view",
255
- type: "function",
256
- },
257
- {
258
- inputs: [],
259
- name: "_timestampLU",
260
- outputs: [
261
- {
262
- internalType: "uint256",
263
- name: "",
264
- type: "uint256",
265
- },
266
- ],
267
- stateMutability: "view",
268
- type: "function",
269
- },
270
- {
271
- inputs: [
272
- {
273
- internalType: "uint256",
274
- name: "amount",
275
- type: "uint256",
276
- },
277
- {
278
- internalType: "address",
279
- name: "onBehalfOf",
280
- type: "address",
281
- },
282
- {
283
- internalType: "uint256",
284
- name: "referralCode",
285
- type: "uint256",
286
- },
287
- ],
288
- name: "addLiquidity",
289
- outputs: [],
290
- stateMutability: "nonpayable",
291
- type: "function",
292
- },
293
- {
294
- inputs: [],
295
- name: "addressProvider",
296
- outputs: [
297
- {
298
- internalType: "address",
299
- name: "",
300
- type: "address",
301
- },
302
- ],
303
- stateMutability: "view",
304
- type: "function",
305
- },
306
- {
307
- inputs: [],
308
- name: "availableLiquidity",
309
- outputs: [
310
- {
311
- internalType: "uint256",
312
- name: "",
313
- type: "uint256",
314
- },
315
- ],
316
- stateMutability: "view",
317
- type: "function",
318
- },
319
- {
320
- inputs: [],
321
- name: "borrowAPY_RAY",
322
- outputs: [
323
- {
324
- internalType: "uint256",
325
- name: "",
326
- type: "uint256",
327
- },
328
- ],
329
- stateMutability: "view",
330
- type: "function",
331
- },
332
- {
333
- inputs: [
334
- {
335
- internalType: "uint256",
336
- name: "amount",
337
- type: "uint256",
338
- },
339
- {
340
- internalType: "uint256",
341
- name: "dAmount",
342
- type: "uint256",
343
- },
344
- {
345
- internalType: "uint256",
346
- name: "cumulativeIndexAtOpen",
347
- type: "uint256",
348
- },
349
- ],
350
- name: "calcCumulativeIndexAtBorrowMore",
351
- outputs: [
352
- {
353
- internalType: "uint256",
354
- name: "",
355
- type: "uint256",
356
- },
357
- ],
358
- stateMutability: "view",
359
- type: "function",
360
- },
361
- {
362
- inputs: [],
363
- name: "calcLinearCumulative_RAY",
364
- outputs: [
365
- {
366
- internalType: "uint256",
367
- name: "",
368
- type: "uint256",
369
- },
370
- ],
371
- stateMutability: "view",
372
- type: "function",
373
- },
374
- {
375
- inputs: [],
376
- name: "calcLinearIndex_RAY",
377
- outputs: [
378
- {
379
- internalType: "uint256",
380
- name: "",
381
- type: "uint256",
382
- },
383
- ],
384
- stateMutability: "view",
385
- type: "function",
386
- },
387
- {
388
- inputs: [
389
- {
390
- internalType: "address",
391
- name: "_creditManager",
392
- type: "address",
393
- },
394
- ],
395
- name: "connectCreditManager",
396
- outputs: [],
397
- stateMutability: "nonpayable",
398
- type: "function",
399
- },
400
- {
401
- inputs: [
402
- {
403
- internalType: "uint256",
404
- name: "",
405
- type: "uint256",
406
- },
407
- ],
408
- name: "creditManagers",
409
- outputs: [
410
- {
411
- internalType: "address",
412
- name: "",
413
- type: "address",
414
- },
415
- ],
416
- stateMutability: "view",
417
- type: "function",
418
- },
419
- {
420
- inputs: [
421
- {
422
- internalType: "address",
423
- name: "",
424
- type: "address",
425
- },
426
- ],
427
- name: "creditManagersCanBorrow",
428
- outputs: [
429
- {
430
- internalType: "bool",
431
- name: "",
432
- type: "bool",
433
- },
434
- ],
435
- stateMutability: "view",
436
- type: "function",
437
- },
438
- {
439
- inputs: [
440
- {
441
- internalType: "address",
442
- name: "",
443
- type: "address",
444
- },
445
- ],
446
- name: "creditManagersCanRepay",
447
- outputs: [
448
- {
449
- internalType: "bool",
450
- name: "",
451
- type: "bool",
452
- },
453
- ],
454
- stateMutability: "view",
455
- type: "function",
456
- },
457
- {
458
- inputs: [],
459
- name: "creditManagersCount",
460
- outputs: [
461
- {
462
- internalType: "uint256",
463
- name: "",
464
- type: "uint256",
465
- },
466
- ],
467
- stateMutability: "pure",
468
- type: "function",
469
- },
470
- {
471
- inputs: [],
472
- name: "dieselToken",
473
- outputs: [
474
- {
475
- internalType: "address",
476
- name: "",
477
- type: "address",
478
- },
479
- ],
480
- stateMutability: "view",
481
- type: "function",
482
- },
483
- {
484
- inputs: [],
485
- name: "expectedLiquidity",
486
- outputs: [
487
- {
488
- internalType: "uint256",
489
- name: "",
490
- type: "uint256",
491
- },
492
- ],
493
- stateMutability: "pure",
494
- type: "function",
495
- },
496
- {
497
- inputs: [],
498
- name: "expectedLiquidityLimit",
499
- outputs: [
500
- {
501
- internalType: "uint256",
502
- name: "",
503
- type: "uint256",
504
- },
505
- ],
506
- stateMutability: "view",
507
- type: "function",
508
- },
509
- {
510
- inputs: [
511
- {
512
- internalType: "address",
513
- name: "_creditManager",
514
- type: "address",
515
- },
516
- ],
517
- name: "forbidCreditManagerToBorrow",
518
- outputs: [],
519
- stateMutability: "nonpayable",
520
- type: "function",
521
- },
522
- {
523
- inputs: [
524
- {
525
- internalType: "uint256",
526
- name: "amount",
527
- type: "uint256",
528
- },
529
- ],
530
- name: "fromDiesel",
531
- outputs: [
532
- {
533
- internalType: "uint256",
534
- name: "",
535
- type: "uint256",
536
- },
537
- ],
538
- stateMutability: "pure",
539
- type: "function",
540
- },
541
- {
542
- inputs: [],
543
- name: "getDieselRate_RAY",
544
- outputs: [
545
- {
546
- internalType: "uint256",
547
- name: "",
548
- type: "uint256",
549
- },
550
- ],
551
- stateMutability: "pure",
552
- type: "function",
553
- },
554
- {
555
- inputs: [],
556
- name: "interestRateModel",
557
- outputs: [
558
- {
559
- internalType: "address",
560
- name: "",
561
- type: "address",
562
- },
563
- ],
564
- stateMutability: "view",
565
- type: "function",
566
- },
567
- {
568
- inputs: [],
569
- name: "lendAccount",
570
- outputs: [
571
- {
572
- internalType: "address",
573
- name: "",
574
- type: "address",
575
- },
576
- ],
577
- stateMutability: "view",
578
- type: "function",
579
- },
580
- {
581
- inputs: [],
582
- name: "lendAmount",
583
- outputs: [
584
- {
585
- internalType: "uint256",
586
- name: "",
587
- type: "uint256",
588
- },
589
- ],
590
- stateMutability: "view",
591
- type: "function",
592
- },
593
- {
594
- inputs: [
595
- {
596
- internalType: "uint256",
597
- name: "borrowedAmount",
598
- type: "uint256",
599
- },
600
- {
601
- internalType: "address",
602
- name: "creditAccount",
603
- type: "address",
604
- },
605
- ],
606
- name: "lendCreditAccount",
607
- outputs: [],
608
- stateMutability: "nonpayable",
609
- type: "function",
610
- },
611
- {
612
- inputs: [
613
- {
614
- internalType: "address",
615
- name: "_interestRateModel",
616
- type: "address",
617
- },
618
- ],
619
- name: "newInterestRateModel",
620
- outputs: [],
621
- stateMutability: "nonpayable",
622
- type: "function",
623
- },
624
- {
625
- inputs: [],
626
- name: "pause",
627
- outputs: [],
628
- stateMutability: "nonpayable",
629
- type: "function",
630
- },
631
- {
632
- inputs: [],
633
- name: "paused",
634
- outputs: [
635
- {
636
- internalType: "bool",
637
- name: "",
638
- type: "bool",
639
- },
640
- ],
641
- stateMutability: "pure",
642
- type: "function",
643
- },
644
- {
645
- inputs: [
646
- {
647
- internalType: "uint256",
648
- name: "amount",
649
- type: "uint256",
650
- },
651
- {
652
- internalType: "address",
653
- name: "to",
654
- type: "address",
655
- },
656
- ],
657
- name: "removeLiquidity",
658
- outputs: [
659
- {
660
- internalType: "uint256",
661
- name: "",
662
- type: "uint256",
663
- },
664
- ],
665
- stateMutability: "nonpayable",
666
- type: "function",
667
- },
668
- {
669
- inputs: [],
670
- name: "repayAmount",
671
- outputs: [
672
- {
673
- internalType: "uint256",
674
- name: "",
675
- type: "uint256",
676
- },
677
- ],
678
- stateMutability: "view",
679
- type: "function",
680
- },
681
- {
682
- inputs: [
683
- {
684
- internalType: "uint256",
685
- name: "borrowedAmount",
686
- type: "uint256",
687
- },
688
- {
689
- internalType: "uint256",
690
- name: "profit",
691
- type: "uint256",
692
- },
693
- {
694
- internalType: "uint256",
695
- name: "loss",
696
- type: "uint256",
697
- },
698
- ],
699
- name: "repayCreditAccount",
700
- outputs: [],
701
- stateMutability: "nonpayable",
702
- type: "function",
703
- },
704
- {
705
- inputs: [],
706
- name: "repayLoss",
707
- outputs: [
708
- {
709
- internalType: "uint256",
710
- name: "",
711
- type: "uint256",
712
- },
713
- ],
714
- stateMutability: "view",
715
- type: "function",
716
- },
717
- {
718
- inputs: [],
719
- name: "repayProfit",
720
- outputs: [
721
- {
722
- internalType: "uint256",
723
- name: "",
724
- type: "uint256",
725
- },
726
- ],
727
- stateMutability: "view",
728
- type: "function",
729
- },
730
- {
731
- inputs: [
732
- {
733
- internalType: "uint256",
734
- name: "cumulativeIndex_RAY",
735
- type: "uint256",
736
- },
737
- ],
738
- name: "setCumulative_RAY",
739
- outputs: [],
740
- stateMutability: "nonpayable",
741
- type: "function",
742
- },
743
- {
744
- inputs: [
745
- {
746
- internalType: "uint256",
747
- name: "num",
748
- type: "uint256",
749
- },
750
- ],
751
- name: "setExpectedLiquidityLimit",
752
- outputs: [],
753
- stateMutability: "nonpayable",
754
- type: "function",
755
- },
756
- {
757
- inputs: [
758
- {
759
- internalType: "uint256",
760
- name: "num",
761
- type: "uint256",
762
- },
763
- ],
764
- name: "setWithdrawFee",
765
- outputs: [],
766
- stateMutability: "nonpayable",
767
- type: "function",
768
- },
769
- {
770
- inputs: [
771
- {
772
- internalType: "uint256",
773
- name: "amount",
774
- type: "uint256",
775
- },
776
- ],
777
- name: "toDiesel",
778
- outputs: [
779
- {
780
- internalType: "uint256",
781
- name: "",
782
- type: "uint256",
783
- },
784
- ],
785
- stateMutability: "pure",
786
- type: "function",
787
- },
788
- {
789
- inputs: [],
790
- name: "totalBorrowed",
791
- outputs: [
792
- {
793
- internalType: "uint256",
794
- name: "",
795
- type: "uint256",
796
- },
797
- ],
798
- stateMutability: "view",
799
- type: "function",
800
- },
801
- {
802
- inputs: [],
803
- name: "treasuryAddress",
804
- outputs: [
805
- {
806
- internalType: "address",
807
- name: "",
808
- type: "address",
809
- },
810
- ],
811
- stateMutability: "view",
812
- type: "function",
813
- },
814
- {
815
- inputs: [],
816
- name: "underlyingToken",
817
- outputs: [
818
- {
819
- internalType: "address",
820
- name: "",
821
- type: "address",
822
- },
823
- ],
824
- stateMutability: "view",
825
- type: "function",
826
- },
827
- {
828
- inputs: [],
829
- name: "unpause",
830
- outputs: [],
831
- stateMutability: "nonpayable",
832
- type: "function",
833
- },
834
- {
835
- inputs: [],
836
- name: "withdrawFee",
837
- outputs: [
838
- {
839
- internalType: "uint256",
840
- name: "",
841
- type: "uint256",
842
- },
843
- ],
844
- stateMutability: "view",
845
- type: "function",
846
- },
847
- {
848
- inputs: [],
849
- name: "withdrawMultiplier",
850
- outputs: [
851
- {
852
- internalType: "uint256",
853
- name: "",
854
- type: "uint256",
855
- },
856
- ],
857
- stateMutability: "view",
858
- type: "function",
859
- },
860
- ];
861
- var _bytecode = "0x608060405234801561001057600080fd5b50604051611a58380380611a588339818101604052602081101561003357600080fd5b810190808051906020019092919050505080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506100a9600a6b033b2e3c9fd0803ce80000006100c860201b610ee41790919060201c565b6006819055506b033b2e3c9fd0803ce800000060158190555050610151565b600080821161013f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161014857fe5b04905092915050565b6118f8806101606000396000f3fe608060405234801561001057600080fd5b50600436106102695760003560e01c80637437535911610151578063c5f956af116100c3578063dbcb313b11610087578063dbcb313b1461098c578063e941fa78146109aa578063ef8d9603146109c8578063f11a6487146109e6578063f3fdb15a14610a2a578063fe14112d14610a5e57610269565b8063c5f956af14610896578063ca9505e4146108ca578063cb3905e11461090c578063cf33d9551461092a578063d0efe7531461096e57610269565b8063a4e8273e11610115578063a4e8273e1461075a578063b3554a0a14610778578063b6ac642a14610796578063bb04b193146107c4578063bf28068b146107f2578063c00495a11461084057610269565b8063743753591461068e578063788c6bfe146106ac5780638456cb59146106ca57806396df5dc0146106d45780639aa5d4621461070257610269565b806336dda7d5116101ea5780634d778ad1116101ae5780634d778ad114610590578063532fe502146105d25780635427c938146105f05780635c975abb14610632578063609ae3171461065257806367c99d581461067057610269565b806336dda7d5146104bc5780633e163df0146104f05780633f4ba83a1461054a57806345d31f9d146105545780634c19386c1461057257610269565b80632495a599116102315780632495a599146103a85780632954018c146103dc57806329f3d3b6146104105780632a3354c91461042e5780632e97ca211461046257610269565b8063030dbb041461026e57806305fe138b1461028c578063078c4781146102ee5780630fce70fb146103325780631e16e4fc14610350575b600080fd5b610276610a7c565b6040518082815260200191505060405180910390f35b6102d8600480360360408110156102a257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a82565b6040518082815260200191505060405180910390f35b6103306004803603602081101561030457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a8a565b005b61033a610a8d565b6040518082815260200191505060405180910390f35b61037c6004803603602081101561036657600080fd5b8101908080359060200190929190505050610a97565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103b0610ad6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103e4610afc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610418610b22565b6040518082815260200191505060405180910390f35b610436610b28565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104a46004803603602081101561047857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b4e565b60405180821515815260200191505060405180910390f35b6104c4610b6e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105326004803603602081101561050657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b94565b60405180821515815260200191505060405180910390f35b610552610bb4565b005b61055c610bb6565b6040518082815260200191505060405180910390f35b61057a610bbc565b6040518082815260200191505060405180910390f35b6105bc600480360360208110156105a657600080fd5b8101908080359060200190929190505050610bc2565b6040518082815260200191505060405180910390f35b6105da610be5565b6040518082815260200191505060405180910390f35b61061c6004803603602081101561060657600080fd5b8101908080359060200190929190505050610beb565b6040518082815260200191505060405180910390f35b61063a610c0e565b60405180821515815260200191505060405180910390f35b61065a610c13565b6040518082815260200191505060405180910390f35b610678610c19565b6040518082815260200191505060405180910390f35b610696610c1f565b6040518082815260200191505060405180910390f35b6106b4610cea565b6040518082815260200191505060405180910390f35b6106d2610cfe565b005b610700600480360360208110156106ea57600080fd5b8101908080359060200190929190505050610d00565b005b6107586004803603606081101561071857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d0a565b005b610762610d0f565b6040518082815260200191505060405180910390f35b610780610d18565b6040518082815260200191505060405180910390f35b6107c2600480360360208110156107ac57600080fd5b8101908080359060200190929190505050610d1e565b005b6107f0600480360360208110156107da57600080fd5b8101908080359060200190929190505050610d21565b005b61083e6004803603604081101561080857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d24565b005b6108806004803603606081101561085657600080fd5b81019080803590602001909291908035906020019092919080359060200190929190505050610dbd565b6040518082815260200191505060405180910390f35b61089e610e55565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61090a600480360360608110156108e057600080fd5b81019080803590602001909291908035906020019092919080359060200190929190505050610e7b565b005b610914610e95565b6040518082815260200191505060405180910390f35b61096c6004803603602081101561094057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e9b565b005b610976610e9e565b6040518082815260200191505060405180910390f35b610994610ea4565b6040518082815260200191505060405180910390f35b6109b2610eaa565b6040518082815260200191505060405180910390f35b6109d0610eb0565b6040518082815260200191505060405180910390f35b610a28600480360360208110156109fc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610eb6565b005b610a32610eb9565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a66610edf565b6040518082815260200191505060405180910390f35b600f5481565b600092915050565b50565b6000601554905090565b60038181548110610aa757600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60056020528060005260406000206000915054906101000a900460ff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60146020528060005260406000206000915054906101000a900460ff1681565b565b60065481565b60005481565b6000610bde610bcf610cea565b83610f6d90919063ffffffff16565b9050919050565b60105481565b6000610c07610bf8610cea565b8361119a90919063ffffffff16565b9050919050565b600090565b60075481565b600c5481565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610caa57600080fd5b505afa158015610cbe573d6000803e3d6000fd5b505050506040513d6020811015610cd457600080fd5b8101908080519060200190929190505050905090565b60006b033b2e3c9fd0803ce8000000905090565b565b8060158190555050565b505050565b60006001905090565b600d5481565b50565b50565b8160088190555080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610db98183600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166113139092919063ffffffff16565b5050565b6000610e4c610e00610dd884866113b590919063ffffffff16565b610df287610de4610a8d565b6113b590919063ffffffff16565b61143b90919063ffffffff16565b610e3e610e16868861143b90919063ffffffff16565b610e3086610e22610a8d565b6113b590919063ffffffff16565b6113b590919063ffffffff16565b610ee490919063ffffffff16565b90509392505050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b82600a8190555081600b8190555080600c81905550505050565b600b5481565b50565b600a5481565b60155481565b600e5481565b60015481565b50565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600090565b6000808211610f5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381610f6457fe5b04905092915050565b6000808214156040518060400160405280600281526020017f4d330000000000000000000000000000000000000000000000000000000000008152509061104f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611014578082015181840152602081019050610ff9565b50505050905090810190601f1680156110415780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060006002838161105c57fe5b0490506b033b2e3c9fd0803ce8000000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038161109657fe5b048411156040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525090611176576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561113b578082015181840152602081019050611120565b50505050905090810190601f1680156111685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082816b033b2e3c9fd0803ce80000008602018161119057fe5b0491505092915050565b6000808314806111aa5750600082145b156111b8576000905061130d565b8160026b033b2e3c9fd0803ce8000000816111cf57fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03816111f957fe5b048311156040518060400160405280600281526020017f4d31000000000000000000000000000000000000000000000000000000000000815250906112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561129e578082015181840152602081019050611283565b50505050905090810190601f1680156112cb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506b033b2e3c9fd0803ce800000060026b033b2e3c9fd0803ce8000000816112fd57fe5b04838502018161130957fe5b0490505b92915050565b6113b08363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506114c3565b505050565b6000808314156113c85760009050611435565b60008284029050828482816113d957fe5b0414611430576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806118786021913960400191505060405180910390fd5b809150505b92915050565b6000808284019050838110156114b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000611525826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166115b29092919063ffffffff16565b90506000815111156115ad5780806020019051602081101561154657600080fd5b81019080805190602001909291905050506115ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611899602a913960400191505060405180910390fd5b5b505050565b60606115c184846000856115ca565b90509392505050565b606082471015611625576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806118526026913960400191505060405180910390fd5b61162e85611772565b6116a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106116ef57805182526020820191506020810190506020830392506116cc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611751576040519150601f19603f3d011682016040523d82523d6000602084013e611756565b606091505b5091509150611766828286611785565b92505050949350505050565b600080823b905060008111915050919050565b606083156117955782905061184a565b6000835111156117a85782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561180f5780820151818401526020810190506117f4565b50505050905090810190601f16801561183c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220eb3e9fdcce1b9f52d102dbcd13fb17e38cac5e2a3f23bae632d086017b49a7bc64736f6c63430007060033";
862
- var MockPoolService__factory = /** @class */ (function (_super) {
863
- __extends(MockPoolService__factory, _super);
864
- function MockPoolService__factory(signer) {
865
- return _super.call(this, _abi, _bytecode, signer) || this;
866
- }
867
- MockPoolService__factory.prototype.deploy = function (_underlyingToken, overrides) {
868
- return _super.prototype.deploy.call(this, _underlyingToken, overrides || {});
869
- };
870
- MockPoolService__factory.prototype.getDeployTransaction = function (_underlyingToken, overrides) {
871
- return _super.prototype.getDeployTransaction.call(this, _underlyingToken, overrides || {});
872
- };
873
- MockPoolService__factory.prototype.attach = function (address) {
874
- return _super.prototype.attach.call(this, address);
875
- };
876
- MockPoolService__factory.prototype.connect = function (signer) {
877
- return _super.prototype.connect.call(this, signer);
878
- };
879
- MockPoolService__factory.createInterface = function () {
880
- return new ethers_1.utils.Interface(_abi);
881
- };
882
- MockPoolService__factory.connect = function (address, signerOrProvider) {
883
- return new ethers_1.Contract(address, _abi, signerOrProvider);
884
- };
885
- MockPoolService__factory.bytecode = _bytecode;
886
- MockPoolService__factory.abi = _abi;
887
- return MockPoolService__factory;
888
- }(ethers_1.ContractFactory));
889
- exports.MockPoolService__factory = MockPoolService__factory;