@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,1059 +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.UniswapV2Adapter__factory = void 0;
22
- var ethers_1 = require("ethers");
23
- var _abi = [
24
- {
25
- inputs: [
26
- {
27
- internalType: "address",
28
- name: "_creditManager",
29
- type: "address",
30
- },
31
- {
32
- internalType: "address",
33
- name: "_router",
34
- type: "address",
35
- },
36
- ],
37
- stateMutability: "nonpayable",
38
- type: "constructor",
39
- },
40
- {
41
- inputs: [],
42
- name: "WETH",
43
- outputs: [
44
- {
45
- internalType: "address",
46
- name: "",
47
- type: "address",
48
- },
49
- ],
50
- stateMutability: "view",
51
- type: "function",
52
- },
53
- {
54
- inputs: [
55
- {
56
- internalType: "address",
57
- name: "",
58
- type: "address",
59
- },
60
- {
61
- internalType: "address",
62
- name: "",
63
- type: "address",
64
- },
65
- {
66
- internalType: "uint256",
67
- name: "",
68
- type: "uint256",
69
- },
70
- {
71
- internalType: "uint256",
72
- name: "",
73
- type: "uint256",
74
- },
75
- {
76
- internalType: "uint256",
77
- name: "",
78
- type: "uint256",
79
- },
80
- {
81
- internalType: "uint256",
82
- name: "",
83
- type: "uint256",
84
- },
85
- {
86
- internalType: "address",
87
- name: "",
88
- type: "address",
89
- },
90
- {
91
- internalType: "uint256",
92
- name: "",
93
- type: "uint256",
94
- },
95
- ],
96
- name: "addLiquidity",
97
- outputs: [
98
- {
99
- internalType: "uint256",
100
- name: "",
101
- type: "uint256",
102
- },
103
- {
104
- internalType: "uint256",
105
- name: "",
106
- type: "uint256",
107
- },
108
- {
109
- internalType: "uint256",
110
- name: "",
111
- type: "uint256",
112
- },
113
- ],
114
- stateMutability: "pure",
115
- type: "function",
116
- },
117
- {
118
- inputs: [
119
- {
120
- internalType: "address",
121
- name: "",
122
- type: "address",
123
- },
124
- {
125
- internalType: "uint256",
126
- name: "",
127
- type: "uint256",
128
- },
129
- {
130
- internalType: "uint256",
131
- name: "",
132
- type: "uint256",
133
- },
134
- {
135
- internalType: "uint256",
136
- name: "",
137
- type: "uint256",
138
- },
139
- {
140
- internalType: "address",
141
- name: "",
142
- type: "address",
143
- },
144
- {
145
- internalType: "uint256",
146
- name: "",
147
- type: "uint256",
148
- },
149
- ],
150
- name: "addLiquidityETH",
151
- outputs: [
152
- {
153
- internalType: "uint256",
154
- name: "",
155
- type: "uint256",
156
- },
157
- {
158
- internalType: "uint256",
159
- name: "",
160
- type: "uint256",
161
- },
162
- {
163
- internalType: "uint256",
164
- name: "",
165
- type: "uint256",
166
- },
167
- ],
168
- stateMutability: "payable",
169
- type: "function",
170
- },
171
- {
172
- inputs: [],
173
- name: "creditFilter",
174
- outputs: [
175
- {
176
- internalType: "contract ICreditFilter",
177
- name: "",
178
- type: "address",
179
- },
180
- ],
181
- stateMutability: "view",
182
- type: "function",
183
- },
184
- {
185
- inputs: [],
186
- name: "creditManager",
187
- outputs: [
188
- {
189
- internalType: "contract ICreditManager",
190
- name: "",
191
- type: "address",
192
- },
193
- ],
194
- stateMutability: "view",
195
- type: "function",
196
- },
197
- {
198
- inputs: [],
199
- name: "factory",
200
- outputs: [
201
- {
202
- internalType: "address",
203
- name: "",
204
- type: "address",
205
- },
206
- ],
207
- stateMutability: "view",
208
- type: "function",
209
- },
210
- {
211
- inputs: [
212
- {
213
- internalType: "uint256",
214
- name: "amountOut",
215
- type: "uint256",
216
- },
217
- {
218
- internalType: "uint256",
219
- name: "reserveIn",
220
- type: "uint256",
221
- },
222
- {
223
- internalType: "uint256",
224
- name: "reserveOut",
225
- type: "uint256",
226
- },
227
- ],
228
- name: "getAmountIn",
229
- outputs: [
230
- {
231
- internalType: "uint256",
232
- name: "amountIn",
233
- type: "uint256",
234
- },
235
- ],
236
- stateMutability: "view",
237
- type: "function",
238
- },
239
- {
240
- inputs: [
241
- {
242
- internalType: "uint256",
243
- name: "amountIn",
244
- type: "uint256",
245
- },
246
- {
247
- internalType: "uint256",
248
- name: "reserveIn",
249
- type: "uint256",
250
- },
251
- {
252
- internalType: "uint256",
253
- name: "reserveOut",
254
- type: "uint256",
255
- },
256
- ],
257
- name: "getAmountOut",
258
- outputs: [
259
- {
260
- internalType: "uint256",
261
- name: "amountOut",
262
- type: "uint256",
263
- },
264
- ],
265
- stateMutability: "view",
266
- type: "function",
267
- },
268
- {
269
- inputs: [
270
- {
271
- internalType: "uint256",
272
- name: "amountOut",
273
- type: "uint256",
274
- },
275
- {
276
- internalType: "address[]",
277
- name: "path",
278
- type: "address[]",
279
- },
280
- ],
281
- name: "getAmountsIn",
282
- outputs: [
283
- {
284
- internalType: "uint256[]",
285
- name: "amounts",
286
- type: "uint256[]",
287
- },
288
- ],
289
- stateMutability: "view",
290
- type: "function",
291
- },
292
- {
293
- inputs: [
294
- {
295
- internalType: "uint256",
296
- name: "amountIn",
297
- type: "uint256",
298
- },
299
- {
300
- internalType: "address[]",
301
- name: "path",
302
- type: "address[]",
303
- },
304
- ],
305
- name: "getAmountsOut",
306
- outputs: [
307
- {
308
- internalType: "uint256[]",
309
- name: "amounts",
310
- type: "uint256[]",
311
- },
312
- ],
313
- stateMutability: "view",
314
- type: "function",
315
- },
316
- {
317
- inputs: [
318
- {
319
- internalType: "uint256",
320
- name: "amountA",
321
- type: "uint256",
322
- },
323
- {
324
- internalType: "uint256",
325
- name: "reserveA",
326
- type: "uint256",
327
- },
328
- {
329
- internalType: "uint256",
330
- name: "reserveB",
331
- type: "uint256",
332
- },
333
- ],
334
- name: "quote",
335
- outputs: [
336
- {
337
- internalType: "uint256",
338
- name: "amountB",
339
- type: "uint256",
340
- },
341
- ],
342
- stateMutability: "view",
343
- type: "function",
344
- },
345
- {
346
- inputs: [
347
- {
348
- internalType: "address",
349
- name: "",
350
- type: "address",
351
- },
352
- {
353
- internalType: "address",
354
- name: "",
355
- type: "address",
356
- },
357
- {
358
- internalType: "uint256",
359
- name: "",
360
- type: "uint256",
361
- },
362
- {
363
- internalType: "uint256",
364
- name: "",
365
- type: "uint256",
366
- },
367
- {
368
- internalType: "uint256",
369
- name: "",
370
- type: "uint256",
371
- },
372
- {
373
- internalType: "address",
374
- name: "",
375
- type: "address",
376
- },
377
- {
378
- internalType: "uint256",
379
- name: "",
380
- type: "uint256",
381
- },
382
- ],
383
- name: "removeLiquidity",
384
- outputs: [
385
- {
386
- internalType: "uint256",
387
- name: "",
388
- type: "uint256",
389
- },
390
- {
391
- internalType: "uint256",
392
- name: "",
393
- type: "uint256",
394
- },
395
- ],
396
- stateMutability: "pure",
397
- type: "function",
398
- },
399
- {
400
- inputs: [
401
- {
402
- internalType: "address",
403
- name: "",
404
- type: "address",
405
- },
406
- {
407
- internalType: "uint256",
408
- name: "",
409
- type: "uint256",
410
- },
411
- {
412
- internalType: "uint256",
413
- name: "",
414
- type: "uint256",
415
- },
416
- {
417
- internalType: "uint256",
418
- name: "",
419
- type: "uint256",
420
- },
421
- {
422
- internalType: "address",
423
- name: "",
424
- type: "address",
425
- },
426
- {
427
- internalType: "uint256",
428
- name: "",
429
- type: "uint256",
430
- },
431
- ],
432
- name: "removeLiquidityETH",
433
- outputs: [
434
- {
435
- internalType: "uint256",
436
- name: "",
437
- type: "uint256",
438
- },
439
- {
440
- internalType: "uint256",
441
- name: "",
442
- type: "uint256",
443
- },
444
- ],
445
- stateMutability: "pure",
446
- type: "function",
447
- },
448
- {
449
- inputs: [
450
- {
451
- internalType: "address",
452
- name: "",
453
- type: "address",
454
- },
455
- {
456
- internalType: "uint256",
457
- name: "",
458
- type: "uint256",
459
- },
460
- {
461
- internalType: "uint256",
462
- name: "",
463
- type: "uint256",
464
- },
465
- {
466
- internalType: "uint256",
467
- name: "",
468
- type: "uint256",
469
- },
470
- {
471
- internalType: "address",
472
- name: "",
473
- type: "address",
474
- },
475
- {
476
- internalType: "uint256",
477
- name: "",
478
- type: "uint256",
479
- },
480
- ],
481
- name: "removeLiquidityETHSupportingFeeOnTransferTokens",
482
- outputs: [
483
- {
484
- internalType: "uint256",
485
- name: "",
486
- type: "uint256",
487
- },
488
- ],
489
- stateMutability: "pure",
490
- type: "function",
491
- },
492
- {
493
- inputs: [
494
- {
495
- internalType: "address",
496
- name: "",
497
- type: "address",
498
- },
499
- {
500
- internalType: "uint256",
501
- name: "",
502
- type: "uint256",
503
- },
504
- {
505
- internalType: "uint256",
506
- name: "",
507
- type: "uint256",
508
- },
509
- {
510
- internalType: "uint256",
511
- name: "",
512
- type: "uint256",
513
- },
514
- {
515
- internalType: "address",
516
- name: "",
517
- type: "address",
518
- },
519
- {
520
- internalType: "uint256",
521
- name: "",
522
- type: "uint256",
523
- },
524
- {
525
- internalType: "bool",
526
- name: "",
527
- type: "bool",
528
- },
529
- {
530
- internalType: "uint8",
531
- name: "",
532
- type: "uint8",
533
- },
534
- {
535
- internalType: "bytes32",
536
- name: "",
537
- type: "bytes32",
538
- },
539
- {
540
- internalType: "bytes32",
541
- name: "",
542
- type: "bytes32",
543
- },
544
- ],
545
- name: "removeLiquidityETHWithPermit",
546
- outputs: [
547
- {
548
- internalType: "uint256",
549
- name: "",
550
- type: "uint256",
551
- },
552
- {
553
- internalType: "uint256",
554
- name: "",
555
- type: "uint256",
556
- },
557
- ],
558
- stateMutability: "pure",
559
- type: "function",
560
- },
561
- {
562
- inputs: [
563
- {
564
- internalType: "address",
565
- name: "",
566
- type: "address",
567
- },
568
- {
569
- internalType: "uint256",
570
- name: "",
571
- type: "uint256",
572
- },
573
- {
574
- internalType: "uint256",
575
- name: "",
576
- type: "uint256",
577
- },
578
- {
579
- internalType: "uint256",
580
- name: "",
581
- type: "uint256",
582
- },
583
- {
584
- internalType: "address",
585
- name: "",
586
- type: "address",
587
- },
588
- {
589
- internalType: "uint256",
590
- name: "",
591
- type: "uint256",
592
- },
593
- {
594
- internalType: "bool",
595
- name: "",
596
- type: "bool",
597
- },
598
- {
599
- internalType: "uint8",
600
- name: "",
601
- type: "uint8",
602
- },
603
- {
604
- internalType: "bytes32",
605
- name: "",
606
- type: "bytes32",
607
- },
608
- {
609
- internalType: "bytes32",
610
- name: "",
611
- type: "bytes32",
612
- },
613
- ],
614
- name: "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens",
615
- outputs: [
616
- {
617
- internalType: "uint256",
618
- name: "",
619
- type: "uint256",
620
- },
621
- ],
622
- stateMutability: "pure",
623
- type: "function",
624
- },
625
- {
626
- inputs: [
627
- {
628
- internalType: "address",
629
- name: "",
630
- type: "address",
631
- },
632
- {
633
- internalType: "address",
634
- name: "",
635
- type: "address",
636
- },
637
- {
638
- internalType: "uint256",
639
- name: "",
640
- type: "uint256",
641
- },
642
- {
643
- internalType: "uint256",
644
- name: "",
645
- type: "uint256",
646
- },
647
- {
648
- internalType: "uint256",
649
- name: "",
650
- type: "uint256",
651
- },
652
- {
653
- internalType: "address",
654
- name: "",
655
- type: "address",
656
- },
657
- {
658
- internalType: "uint256",
659
- name: "",
660
- type: "uint256",
661
- },
662
- {
663
- internalType: "bool",
664
- name: "",
665
- type: "bool",
666
- },
667
- {
668
- internalType: "uint8",
669
- name: "",
670
- type: "uint8",
671
- },
672
- {
673
- internalType: "bytes32",
674
- name: "",
675
- type: "bytes32",
676
- },
677
- {
678
- internalType: "bytes32",
679
- name: "",
680
- type: "bytes32",
681
- },
682
- ],
683
- name: "removeLiquidityWithPermit",
684
- outputs: [
685
- {
686
- internalType: "uint256",
687
- name: "",
688
- type: "uint256",
689
- },
690
- {
691
- internalType: "uint256",
692
- name: "",
693
- type: "uint256",
694
- },
695
- ],
696
- stateMutability: "pure",
697
- type: "function",
698
- },
699
- {
700
- inputs: [],
701
- name: "router",
702
- outputs: [
703
- {
704
- internalType: "address",
705
- name: "",
706
- type: "address",
707
- },
708
- ],
709
- stateMutability: "view",
710
- type: "function",
711
- },
712
- {
713
- inputs: [
714
- {
715
- internalType: "uint256",
716
- name: "",
717
- type: "uint256",
718
- },
719
- {
720
- internalType: "address[]",
721
- name: "",
722
- type: "address[]",
723
- },
724
- {
725
- internalType: "address",
726
- name: "",
727
- type: "address",
728
- },
729
- {
730
- internalType: "uint256",
731
- name: "",
732
- type: "uint256",
733
- },
734
- ],
735
- name: "swapETHForExactTokens",
736
- outputs: [
737
- {
738
- internalType: "uint256[]",
739
- name: "",
740
- type: "uint256[]",
741
- },
742
- ],
743
- stateMutability: "payable",
744
- type: "function",
745
- },
746
- {
747
- inputs: [
748
- {
749
- internalType: "uint256",
750
- name: "",
751
- type: "uint256",
752
- },
753
- {
754
- internalType: "address[]",
755
- name: "",
756
- type: "address[]",
757
- },
758
- {
759
- internalType: "address",
760
- name: "",
761
- type: "address",
762
- },
763
- {
764
- internalType: "uint256",
765
- name: "",
766
- type: "uint256",
767
- },
768
- ],
769
- name: "swapExactETHForTokens",
770
- outputs: [
771
- {
772
- internalType: "uint256[]",
773
- name: "",
774
- type: "uint256[]",
775
- },
776
- ],
777
- stateMutability: "payable",
778
- type: "function",
779
- },
780
- {
781
- inputs: [
782
- {
783
- internalType: "uint256",
784
- name: "",
785
- type: "uint256",
786
- },
787
- {
788
- internalType: "address[]",
789
- name: "",
790
- type: "address[]",
791
- },
792
- {
793
- internalType: "address",
794
- name: "",
795
- type: "address",
796
- },
797
- {
798
- internalType: "uint256",
799
- name: "",
800
- type: "uint256",
801
- },
802
- ],
803
- name: "swapExactETHForTokensSupportingFeeOnTransferTokens",
804
- outputs: [],
805
- stateMutability: "payable",
806
- type: "function",
807
- },
808
- {
809
- inputs: [
810
- {
811
- internalType: "uint256",
812
- name: "",
813
- type: "uint256",
814
- },
815
- {
816
- internalType: "uint256",
817
- name: "",
818
- type: "uint256",
819
- },
820
- {
821
- internalType: "address[]",
822
- name: "",
823
- type: "address[]",
824
- },
825
- {
826
- internalType: "address",
827
- name: "",
828
- type: "address",
829
- },
830
- {
831
- internalType: "uint256",
832
- name: "",
833
- type: "uint256",
834
- },
835
- ],
836
- name: "swapExactTokensForETH",
837
- outputs: [
838
- {
839
- internalType: "uint256[]",
840
- name: "",
841
- type: "uint256[]",
842
- },
843
- ],
844
- stateMutability: "pure",
845
- type: "function",
846
- },
847
- {
848
- inputs: [
849
- {
850
- internalType: "uint256",
851
- name: "",
852
- type: "uint256",
853
- },
854
- {
855
- internalType: "uint256",
856
- name: "",
857
- type: "uint256",
858
- },
859
- {
860
- internalType: "address[]",
861
- name: "",
862
- type: "address[]",
863
- },
864
- {
865
- internalType: "address",
866
- name: "",
867
- type: "address",
868
- },
869
- {
870
- internalType: "uint256",
871
- name: "",
872
- type: "uint256",
873
- },
874
- ],
875
- name: "swapExactTokensForETHSupportingFeeOnTransferTokens",
876
- outputs: [],
877
- stateMutability: "pure",
878
- type: "function",
879
- },
880
- {
881
- inputs: [
882
- {
883
- internalType: "uint256",
884
- name: "amountIn",
885
- type: "uint256",
886
- },
887
- {
888
- internalType: "uint256",
889
- name: "amountOutMin",
890
- type: "uint256",
891
- },
892
- {
893
- internalType: "address[]",
894
- name: "path",
895
- type: "address[]",
896
- },
897
- {
898
- internalType: "address",
899
- name: "",
900
- type: "address",
901
- },
902
- {
903
- internalType: "uint256",
904
- name: "deadline",
905
- type: "uint256",
906
- },
907
- ],
908
- name: "swapExactTokensForTokens",
909
- outputs: [
910
- {
911
- internalType: "uint256[]",
912
- name: "amounts",
913
- type: "uint256[]",
914
- },
915
- ],
916
- stateMutability: "nonpayable",
917
- type: "function",
918
- },
919
- {
920
- inputs: [
921
- {
922
- internalType: "uint256",
923
- name: "",
924
- type: "uint256",
925
- },
926
- {
927
- internalType: "uint256",
928
- name: "",
929
- type: "uint256",
930
- },
931
- {
932
- internalType: "address[]",
933
- name: "",
934
- type: "address[]",
935
- },
936
- {
937
- internalType: "address",
938
- name: "",
939
- type: "address",
940
- },
941
- {
942
- internalType: "uint256",
943
- name: "",
944
- type: "uint256",
945
- },
946
- ],
947
- name: "swapExactTokensForTokensSupportingFeeOnTransferTokens",
948
- outputs: [],
949
- stateMutability: "pure",
950
- type: "function",
951
- },
952
- {
953
- inputs: [
954
- {
955
- internalType: "uint256",
956
- name: "",
957
- type: "uint256",
958
- },
959
- {
960
- internalType: "uint256",
961
- name: "",
962
- type: "uint256",
963
- },
964
- {
965
- internalType: "address[]",
966
- name: "",
967
- type: "address[]",
968
- },
969
- {
970
- internalType: "address",
971
- name: "",
972
- type: "address",
973
- },
974
- {
975
- internalType: "uint256",
976
- name: "",
977
- type: "uint256",
978
- },
979
- ],
980
- name: "swapTokensForExactETH",
981
- outputs: [
982
- {
983
- internalType: "uint256[]",
984
- name: "",
985
- type: "uint256[]",
986
- },
987
- ],
988
- stateMutability: "pure",
989
- type: "function",
990
- },
991
- {
992
- inputs: [
993
- {
994
- internalType: "uint256",
995
- name: "amountOut",
996
- type: "uint256",
997
- },
998
- {
999
- internalType: "uint256",
1000
- name: "amountInMax",
1001
- type: "uint256",
1002
- },
1003
- {
1004
- internalType: "address[]",
1005
- name: "path",
1006
- type: "address[]",
1007
- },
1008
- {
1009
- internalType: "address",
1010
- name: "",
1011
- type: "address",
1012
- },
1013
- {
1014
- internalType: "uint256",
1015
- name: "deadline",
1016
- type: "uint256",
1017
- },
1018
- ],
1019
- name: "swapTokensForExactTokens",
1020
- outputs: [
1021
- {
1022
- internalType: "uint256[]",
1023
- name: "amounts",
1024
- type: "uint256[]",
1025
- },
1026
- ],
1027
- stateMutability: "nonpayable",
1028
- type: "function",
1029
- },
1030
- ];
1031
- var _bytecode = "0x60806040523480156200001157600080fd5b506040516200410d3803806200410d833981810160405260408110156200003757600080fd5b8101908080519060200190929190805190602001909291905050506001600081905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015620000c55750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b6040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525090620001a5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620001695780820151818401526020810190506200014c565b50505050905090810190601f168015620001975780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f93f515b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200025057600080fd5b505afa15801562000265573d6000803e3d6000fd5b505050506040513d60208110156200027c57600080fd5b8101908080519060200190929190505050600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050613ded80620003206000396000f3fe60806040526004361061019c5760003560e01c8063ad5c4648116100ec578063d06ca61f1161008a578063f305d71911610064578063f305d719146112cc578063f887ea401461137a578063f93f515b146113bb578063fb3bdb41146113fc5761019c565b8063d06ca61f1461101f578063ded9382a14611104578063e8e33700146111e65761019c565b8063b6f9de95116100c6578063b6f9de9514610e1c578063baa2abde14610ec9578063c12c21c014610f9d578063c45a015514610fde5761019c565b8063ad5c464814610ccb578063ad615dec14610d0c578063af2979eb14610d6f5761019c565b80634a25d94a11610159578063791ac94711610133578063791ac947146109895780637ff36ab514610a4d57806385f8c25914610b4f5780638803dbee14610bb25761019c565b80634a25d94a146106d15780635b0d5984146107ea5780635c11d795146108c55761019c565b806302751cec146101a1578063054d50d41461025557806318cbafe5146102b85780631f00ca74146103d15780632195995c146104b657806338ed1739146105b8575b600080fd5b3480156101ad57600080fd5b50610238600480360360c08110156101c457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506114fe565b604051808381526020018281526020019250505060405180910390f35b34801561026157600080fd5b506102a26004803603606081101561027857600080fd5b810190808035906020019092919080359060200190929190803590602001909291905050506115d8565b6040518082815260200191505060405180910390f35b3480156102c457600080fd5b5061037a600480360360a08110156102db57600080fd5b8101908080359060200190929190803590602001909291908035906020019064010000000081111561030c57600080fd5b82018360208201111561031e57600080fd5b8035906020019184602083028401116401000000008311171561034057600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506116a1565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156103bd5780820151818401526020810190506103a2565b505050509050019250505060405180910390f35b3480156103dd57600080fd5b5061045f600480360360408110156103f457600080fd5b81019080803590602001909291908035906020019064010000000081111561041b57600080fd5b82018360208201111561042d57600080fd5b8035906020019184602083028401116401000000008311171561044f57600080fd5b909192939192939050505061177a565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156104a2578082015181840152602081019050610487565b505050509050019250505060405180910390f35b3480156104c257600080fd5b5061059b60048036036101608110156104da57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803515159060200190929190803560ff1690602001909291908035906020019092919080359060200190929190505050611904565b604051808381526020018281526020019250505060405180910390f35b3480156105c457600080fd5b5061067a600480360360a08110156105db57600080fd5b8101908080359060200190929190803590602001909291908035906020019064010000000081111561060c57600080fd5b82018360208201111561061e57600080fd5b8035906020019184602083028401116401000000008311171561064057600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506119de565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156106bd5780820151818401526020810190506106a2565b505050509050019250505060405180910390f35b3480156106dd57600080fd5b50610793600480360360a08110156106f457600080fd5b8101908080359060200190929190803590602001909291908035906020019064010000000081111561072557600080fd5b82018360208201111561073757600080fd5b8035906020019184602083028401116401000000008311171561075957600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612401565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156107d65780820151818401526020810190506107bb565b505050509050019250505060405180910390f35b3480156107f657600080fd5b506108af600480360361014081101561080e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803515159060200190929190803560ff16906020019092919080359060200190929190803590602001909291905050506124da565b6040518082815260200191505060405180910390f35b3480156108d157600080fd5b50610987600480360360a08110156108e857600080fd5b8101908080359060200190929190803590602001909291908035906020019064010000000081111561091957600080fd5b82018360208201111561092b57600080fd5b8035906020019184602083028401116401000000008311171561094d57600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506125b3565b005b34801561099557600080fd5b50610a4b600480360360a08110156109ac57600080fd5b810190808035906020019092919080359060200190929190803590602001906401000000008111156109dd57600080fd5b8201836020820111156109ef57600080fd5b80359060200191846020830284011164010000000083111715610a1157600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061268a565b005b610af860048036036080811015610a6357600080fd5b810190808035906020019092919080359060200190640100000000811115610a8a57600080fd5b820183602082011115610a9c57600080fd5b80359060200191846020830284011164010000000083111715610abe57600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612761565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610b3b578082015181840152602081019050610b20565b505050509050019250505060405180910390f35b348015610b5b57600080fd5b50610b9c60048036036060811015610b7257600080fd5b8101908080359060200190929190803590602001909291908035906020019092919050505061283a565b6040518082815260200191505060405180910390f35b348015610bbe57600080fd5b50610c74600480360360a0811015610bd557600080fd5b81019080803590602001909291908035906020019092919080359060200190640100000000811115610c0657600080fd5b820183602082011115610c1857600080fd5b80359060200191846020830284011164010000000083111715610c3a57600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612903565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610cb7578082015181840152602081019050610c9c565b505050509050019250505060405180910390f35b348015610cd757600080fd5b50610ce0613326565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610d1857600080fd5b50610d5960048036036060811015610d2f57600080fd5b810190808035906020019092919080359060200190929190803590602001909291905050506133d0565b6040518082815260200191505060405180910390f35b348015610d7b57600080fd5b50610e06600480360360c0811015610d9257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613499565b6040518082815260200191505060405180910390f35b610ec760048036036080811015610e3257600080fd5b810190808035906020019092919080359060200190640100000000811115610e5957600080fd5b820183602082011115610e6b57600080fd5b80359060200191846020830284011164010000000083111715610e8d57600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613572565b005b348015610ed557600080fd5b50610f80600480360360e0811015610eec57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613649565b604051808381526020018281526020019250505060405180910390f35b348015610fa957600080fd5b50610fb2613723565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610fea57600080fd5b50610ff3613749565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561102b57600080fd5b506110ad6004803603604081101561104257600080fd5b81019080803590602001909291908035906020019064010000000081111561106957600080fd5b82018360208201111561107b57600080fd5b8035906020019184602083028401116401000000008311171561109d57600080fd5b90919293919293905050506137f3565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156110f05780820151818401526020810190506110d5565b505050509050019250505060405180910390f35b34801561111057600080fd5b506111c9600480360361014081101561112857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803515159060200190929190803560ff169060200190929190803590602001909291908035906020019092919050505061397d565b604051808381526020018281526020019250505060405180910390f35b3480156111f257600080fd5b506112a8600480360361010081101561120a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613a57565b60405180848152602001838152602001828152602001935050505060405180910390f35b611356600480360360c08110156112e257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613b33565b60405180848152602001838152602001828152602001935050505060405180910390f35b34801561138657600080fd5b5061138f613c0f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156113c757600080fd5b506113d0613c35565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6114a76004803603608081101561141257600080fd5b81019080803590602001909291908035906020019064010000000081111561143957600080fd5b82018360208201111561144b57600080fd5b8035906020019184602083028401116401000000008311171561146d57600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613c5b565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156114ea5780820151818401526020810190506114cf565b505050509050019250505060405180910390f35b6000806040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561159d578082015181840152602081019050611582565b50505050905090810190601f1680156115ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663054d50d48585856040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b15801561165d57600080fd5b505afa158015611671573d6000803e3d6000fd5b505050506040513d602081101561168757600080fd5b810190808051906020019092919050505090509392505050565b60606040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561173f578082015181840152602081019050611724565b50505050905090810190601f16801561176c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6060600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631f00ca748585856040518463ffffffff1660e01b815260040180848152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f82011690508083019250505094505050505060006040518083038186803b15801561182657600080fd5b505afa15801561183a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561186457600080fd5b810190808051604051939291908464010000000082111561188457600080fd5b8382019150602082018581111561189a57600080fd5b82518660208202830111640100000000821117156118b757600080fd5b8083526020830192505050908051906020019060200280838360005b838110156118ee5780820151818401526020810190506118d3565b5050505090500160405250505090509392505050565b6000806040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119a3578082015181840152602081019050611988565b50505050905090810190601f1680156119d05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b606060026000541415611a59576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e958b704336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611aec57600080fd5b505afa158015611b00573d6000803e3d6000fd5b505050506040513d6020811015611b1657600080fd5b81019080805190602001909291905050509050600086866000818110611b3857fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1690506000878760018a8a905003818110611b6b57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff169050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663579122ab84600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019350505050600060405180830381600087803b158015611c7357600080fd5b505af1158015611c87573d6000803e3d6000fd5b5050505060008273ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611cf457600080fd5b505afa158015611d08573d6000803e3d6000fd5b505050506040513d6020811015611d1e57600080fd5b8101908080519060200190929190505050905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611d9a57600080fd5b505afa158015611dae573d6000803e3d6000fd5b505050506040513d6020811015611dc457600080fd5b8101908080519060200190929190505050905060006338ed173960e01b8d8d8d8d8a8d60405160240180878152602001868152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636ce4074a33600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611fa0578082015181840152602081019050611f85565b50505050905090810190601f168015611fcd5780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b158015611fee57600080fd5b505af1158015612002573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561202c57600080fd5b810190808051604051939291908464010000000082111561204c57600080fd5b8382019150602082018581111561206257600080fd5b825186600182028301116401000000008211171561207f57600080fd5b8083526020830192505050908051906020019080838360005b838110156120b3578082015181840152602081019050612098565b50505050905090810190601f1680156120e05780820380516001836020036101000a031916815260200191505b5060405250505080602001905160208110156120fb57600080fd5b810190808051604051939291908464010000000082111561211b57600080fd5b8382019150602082018581111561213157600080fd5b825186602082028301116401000000008211171561214e57600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561218557808201518184015260208101905061216a565b505050509050016040525050509650600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e1c8ef0d8787876122898a73ffffffffffffffffffffffffffffffffffffffff166370a082318d6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561223f57600080fd5b505afa158015612253573d6000803e3d6000fd5b505050506040513d602081101561226957600080fd5b810190808051906020019092919050505089613d3490919063ffffffff16565b61233d888b73ffffffffffffffffffffffffffffffffffffffff166370a082318f6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156122f457600080fd5b505afa158015612308573d6000803e3d6000fd5b505050506040513d602081101561231e57600080fd5b8101908080519060200190929190505050613d3490919063ffffffff16565b6040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200195505050505050600060405180830381600087803b1580156123d157600080fd5b505af11580156123e5573d6000803e3d6000fd5b5050505050505050505060016000819055509695505050505050565b60606040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561249f578082015181840152602081019050612484565b50505050905090810190601f1680156124cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60006040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561257857808201518184015260208101905061255d565b50505050905090810190601f1680156125a55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561264f578082015181840152602081019050612634565b50505050905090810190601f16801561267c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561272657808201518184015260208101905061270b565b50505050905090810190601f1680156127535780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60606040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156127ff5780820151818401526020810190506127e4565b50505050905090810190601f16801561282c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166385f8c2598585856040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b1580156128bf57600080fd5b505afa1580156128d3573d6000803e3d6000fd5b505050506040513d60208110156128e957600080fd5b810190808051906020019092919050505090509392505050565b60606002600054141561297e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e958b704336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612a1157600080fd5b505afa158015612a25573d6000803e3d6000fd5b505050506040513d6020811015612a3b57600080fd5b81019080805190602001909291905050509050600086866000818110612a5d57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1690506000878760018a8a905003818110612a9057fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff169050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663579122ab84600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019350505050600060405180830381600087803b158015612b9857600080fd5b505af1158015612bac573d6000803e3d6000fd5b5050505060008273ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612c1957600080fd5b505afa158015612c2d573d6000803e3d6000fd5b505050506040513d6020811015612c4357600080fd5b8101908080519060200190929190505050905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612cbf57600080fd5b505afa158015612cd3573d6000803e3d6000fd5b505050506040513d6020811015612ce957600080fd5b810190808051906020019092919050505090506000638803dbee60e01b8d8d8d8d8a8d60405160240180878152602001868152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636ce4074a33600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612ec5578082015181840152602081019050612eaa565b50505050905090810190601f168015612ef25780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b158015612f1357600080fd5b505af1158015612f27573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052506020811015612f5157600080fd5b8101908080516040519392919084640100000000821115612f7157600080fd5b83820191506020820185811115612f8757600080fd5b8251866001820283011164010000000082111715612fa457600080fd5b8083526020830192505050908051906020019080838360005b83811015612fd8578082015181840152602081019050612fbd565b50505050905090810190601f1680156130055780820380516001836020036101000a031916815260200191505b50604052505050806020019051602081101561302057600080fd5b810190808051604051939291908464010000000082111561304057600080fd5b8382019150602082018581111561305657600080fd5b825186602082028301116401000000008211171561307357600080fd5b8083526020830192505050908051906020019060200280838360005b838110156130aa57808201518184015260208101905061308f565b505050509050016040525050509650600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e1c8ef0d8787876131ae8a73ffffffffffffffffffffffffffffffffffffffff166370a082318d6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561316457600080fd5b505afa158015613178573d6000803e3d6000fd5b505050506040513d602081101561318e57600080fd5b810190808051906020019092919050505089613d3490919063ffffffff16565b613262888b73ffffffffffffffffffffffffffffffffffffffff166370a082318f6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561321957600080fd5b505afa15801561322d573d6000803e3d6000fd5b505050506040513d602081101561324357600080fd5b8101908080519060200190929190505050613d3490919063ffffffff16565b6040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200195505050505050600060405180830381600087803b1580156132f657600080fd5b505af115801561330a573d6000803e3d6000fd5b5050505050505050505060016000819055509695505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561339057600080fd5b505afa1580156133a4573d6000803e3d6000fd5b505050506040513d60208110156133ba57600080fd5b8101908080519060200190929190505050905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad615dec8585856040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b15801561345557600080fd5b505afa158015613469573d6000803e3d6000fd5b505050506040513d602081101561347f57600080fd5b810190808051906020019092919050505090509392505050565b60006040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561353757808201518184015260208101905061351c565b50505050905090810190601f1680156135645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561360e5780820151818401526020810190506135f3565b50505050905090810190601f16801561363b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000806040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156136e85780820151818401526020810190506136cd565b50505050905090810190601f1680156137155780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156137b357600080fd5b505afa1580156137c7573d6000803e3d6000fd5b505050506040513d60208110156137dd57600080fd5b8101908080519060200190929190505050905090565b6060600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d06ca61f8585856040518463ffffffff1660e01b815260040180848152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f82011690508083019250505094505050505060006040518083038186803b15801561389f57600080fd5b505afa1580156138b3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525060208110156138dd57600080fd5b81019080805160405193929190846401000000008211156138fd57600080fd5b8382019150602082018581111561391357600080fd5b825186602082028301116401000000008211171561393057600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561396757808201518184015260208101905061394c565b5050505090500160405250505090509392505050565b6000806040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613a1c578082015181840152602081019050613a01565b50505050905090810190601f168015613a495780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60008060006040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613af8578082015181840152602081019050613add565b50505050905090810190601f168015613b255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60008060006040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613bd4578082015181840152602081019050613bb9565b50505050905090810190601f168015613c015780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606040518060400160405280600281526020017f4e490000000000000000000000000000000000000000000000000000000000008152506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613cf9578082015181840152602081019050613cde565b50505050905090810190601f168015613d265780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b600082821115613dac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b81830390509291505056fea26469706673582212206004403619fbbee02a8622ba69a1dd26b2d4492fbac5eaf0e42d5f49d73609d364736f6c63430007060033";
1032
- var UniswapV2Adapter__factory = /** @class */ (function (_super) {
1033
- __extends(UniswapV2Adapter__factory, _super);
1034
- function UniswapV2Adapter__factory(signer) {
1035
- return _super.call(this, _abi, _bytecode, signer) || this;
1036
- }
1037
- UniswapV2Adapter__factory.prototype.deploy = function (_creditManager, _router, overrides) {
1038
- return _super.prototype.deploy.call(this, _creditManager, _router, overrides || {});
1039
- };
1040
- UniswapV2Adapter__factory.prototype.getDeployTransaction = function (_creditManager, _router, overrides) {
1041
- return _super.prototype.getDeployTransaction.call(this, _creditManager, _router, overrides || {});
1042
- };
1043
- UniswapV2Adapter__factory.prototype.attach = function (address) {
1044
- return _super.prototype.attach.call(this, address);
1045
- };
1046
- UniswapV2Adapter__factory.prototype.connect = function (signer) {
1047
- return _super.prototype.connect.call(this, signer);
1048
- };
1049
- UniswapV2Adapter__factory.createInterface = function () {
1050
- return new ethers_1.utils.Interface(_abi);
1051
- };
1052
- UniswapV2Adapter__factory.connect = function (address, signerOrProvider) {
1053
- return new ethers_1.Contract(address, _abi, signerOrProvider);
1054
- };
1055
- UniswapV2Adapter__factory.bytecode = _bytecode;
1056
- UniswapV2Adapter__factory.abi = _abi;
1057
- return UniswapV2Adapter__factory;
1058
- }(ethers_1.ContractFactory));
1059
- exports.UniswapV2Adapter__factory = UniswapV2Adapter__factory;