@gearbox-protocol/sdk 0.0.60 → 0.0.63

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 +4 -4
  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 +5 -5
  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,302 +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.PathFinder__factory = void 0;
22
- var ethers_1 = require("ethers");
23
- var _abi = [
24
- {
25
- inputs: [
26
- {
27
- internalType: "address",
28
- name: "_addressProvider",
29
- type: "address",
30
- },
31
- ],
32
- stateMutability: "nonpayable",
33
- type: "constructor",
34
- },
35
- {
36
- inputs: [],
37
- name: "addressProvider",
38
- outputs: [
39
- {
40
- internalType: "contract AddressProvider",
41
- name: "",
42
- type: "address",
43
- },
44
- ],
45
- stateMutability: "view",
46
- type: "function",
47
- },
48
- {
49
- inputs: [
50
- {
51
- internalType: "uint256",
52
- name: "swapInterface",
53
- type: "uint256",
54
- },
55
- {
56
- internalType: "address",
57
- name: "router",
58
- type: "address",
59
- },
60
- {
61
- internalType: "uint256",
62
- name: "swapType",
63
- type: "uint256",
64
- },
65
- {
66
- internalType: "address",
67
- name: "from",
68
- type: "address",
69
- },
70
- {
71
- internalType: "address",
72
- name: "to",
73
- type: "address",
74
- },
75
- {
76
- internalType: "uint256",
77
- name: "amount",
78
- type: "uint256",
79
- },
80
- {
81
- internalType: "address[]",
82
- name: "tokens",
83
- type: "address[]",
84
- },
85
- ],
86
- name: "bestUniPath",
87
- outputs: [
88
- {
89
- components: [
90
- {
91
- internalType: "address[]",
92
- name: "path",
93
- type: "address[]",
94
- },
95
- {
96
- internalType: "uint256",
97
- name: "rate",
98
- type: "uint256",
99
- },
100
- {
101
- internalType: "uint256",
102
- name: "expectedAmount",
103
- type: "uint256",
104
- },
105
- ],
106
- internalType: "struct PathFinder.TradePath",
107
- name: "",
108
- type: "tuple",
109
- },
110
- ],
111
- stateMutability: "nonpayable",
112
- type: "function",
113
- },
114
- {
115
- inputs: [],
116
- name: "contractsRegister",
117
- outputs: [
118
- {
119
- internalType: "contract ContractsRegister",
120
- name: "",
121
- type: "address",
122
- },
123
- ],
124
- stateMutability: "view",
125
- type: "function",
126
- },
127
- {
128
- inputs: [
129
- {
130
- internalType: "address[]",
131
- name: "path",
132
- type: "address[]",
133
- },
134
- {
135
- internalType: "uint256",
136
- name: "swapType",
137
- type: "uint256",
138
- },
139
- ],
140
- name: "convertPathToPathV3",
141
- outputs: [
142
- {
143
- internalType: "bytes",
144
- name: "result",
145
- type: "bytes",
146
- },
147
- ],
148
- stateMutability: "pure",
149
- type: "function",
150
- },
151
- {
152
- inputs: [],
153
- name: "ethToUsdPriceFeed",
154
- outputs: [
155
- {
156
- internalType: "address",
157
- name: "",
158
- type: "address",
159
- },
160
- ],
161
- stateMutability: "view",
162
- type: "function",
163
- },
164
- {
165
- inputs: [
166
- {
167
- internalType: "address",
168
- name: "router",
169
- type: "address",
170
- },
171
- {
172
- internalType: "address",
173
- name: "_creditManager",
174
- type: "address",
175
- },
176
- {
177
- internalType: "address",
178
- name: "borrower",
179
- type: "address",
180
- },
181
- {
182
- internalType: "address[]",
183
- name: "connectorTokens",
184
- type: "address[]",
185
- },
186
- ],
187
- name: "getClosurePaths",
188
- outputs: [
189
- {
190
- components: [
191
- {
192
- internalType: "address[]",
193
- name: "path",
194
- type: "address[]",
195
- },
196
- {
197
- internalType: "uint256",
198
- name: "rate",
199
- type: "uint256",
200
- },
201
- {
202
- internalType: "uint256",
203
- name: "expectedAmount",
204
- type: "uint256",
205
- },
206
- ],
207
- internalType: "struct PathFinder.TradePath[]",
208
- name: "result",
209
- type: "tuple[]",
210
- },
211
- ],
212
- stateMutability: "nonpayable",
213
- type: "function",
214
- },
215
- {
216
- inputs: [
217
- {
218
- internalType: "address[]",
219
- name: "tokens",
220
- type: "address[]",
221
- },
222
- ],
223
- name: "getPrices",
224
- outputs: [
225
- {
226
- internalType: "uint256[]",
227
- name: "prices",
228
- type: "uint256[]",
229
- },
230
- ],
231
- stateMutability: "view",
232
- type: "function",
233
- },
234
- {
235
- inputs: [],
236
- name: "priceOracle",
237
- outputs: [
238
- {
239
- internalType: "contract PriceOracle",
240
- name: "",
241
- type: "address",
242
- },
243
- ],
244
- stateMutability: "view",
245
- type: "function",
246
- },
247
- {
248
- inputs: [],
249
- name: "version",
250
- outputs: [
251
- {
252
- internalType: "uint256",
253
- name: "",
254
- type: "uint256",
255
- },
256
- ],
257
- stateMutability: "view",
258
- type: "function",
259
- },
260
- {
261
- inputs: [],
262
- name: "wethToken",
263
- outputs: [
264
- {
265
- internalType: "address",
266
- name: "",
267
- type: "address",
268
- },
269
- ],
270
- stateMutability: "view",
271
- type: "function",
272
- },
273
- ];
274
- var _bytecode = "0x60a06040523480156200001157600080fd5b5060405162002bcd38038062002bcd833981810160405281019062000037919062000331565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c513c9bb6040518163ffffffff1660e01b815260040160206040518083038186803b158015620000de57600080fd5b505afa158015620000f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000119919062000331565b73ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b158015620001b657600080fd5b505afa158015620001cb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f1919062000331565b600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c252f916040518163ffffffff1660e01b815260040160206040518083038186803b1580156200029857600080fd5b505afa158015620002ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d3919062000331565b600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620003ab565b6000815190506200032b8162000391565b92915050565b6000602082840312156200034457600080fd5b600062000354848285016200031a565b91505092915050565b60006200036a8262000371565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6200039c816200035d565b8114620003a857600080fd5b50565b60805160601c6127ff620003ce60003980610737528061075e52506127ff6000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806354fd4d501161006657806354fd4d501461014b5780637a0c7b21146101695780638b7ce872146101875780638fb5a482146101b7578063e2430f93146101e75761009e565b80630c1bc044146100a35780632630c12f146100c15780632954018c146100df578063457b2030146100fd5780634b57b0be1461012d575b600080fd5b6100ab610217565b6040516100b891906121e1565b60405180910390f35b6100c961022f565b6040516100d691906122f1565b60405180910390f35b6100e7610255565b6040516100f491906122bb565b60405180910390f35b61011760048036038101906101129190611c88565b610279565b604051610124919061234e565b60405180910390f35b61013561070a565b60405161014291906121e1565b60405180910390f35b610153610730565b6040516101609190612370565b60405180910390f35b610171610735565b60405161017e91906122d6565b60405180910390f35b6101a1600480360381019061019c9190611a55565b610759565b6040516101ae9190612225565b60405180910390f35b6101d160048036038101906101cc9190611b33565b610cd0565b6040516101de9190612247565b60405180910390f35b61020160048036038101906101fc9190611b78565b610fb9565b60405161020e9190612269565b60405180910390f35b735f4ec3df9cbd43714fe2740f5e3616155c5b841981565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6102816117af565b60008314156102f5576040518060600160405280600367ffffffffffffffff811180156102ad57600080fd5b506040519080825280602002602001820160405280156102dc5781602001602082028036833780820191505090505b50815260200160008152602001600081525090506106ff565b6000600267ffffffffffffffff8111801561030f57600080fd5b5060405190808252806020026020018201604052801561033e5781602001602082028036833780820191505090505b509050858160008151811061034f57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050848160018151811061039757fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000806104128b8b8b868a60018f1461040a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61040d565b60005b61115c565b91509150606060008215610424578491505b60005b875181101561062957600367ffffffffffffffff8111801561044857600080fd5b506040519080825280602002602001820160405280156104775781602001602082028036833780820191505090505b5095508a8660008151811061048857fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505089866002815181106104d057fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508a73ffffffffffffffffffffffffffffffffffffffff1688828151811061052d57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415801561059857508973ffffffffffffffffffffffffffffffffffffffff1688828151811061057757fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1614155b1561061c578781815181106105a957fe5b6020026020010151866001815181106105be57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506106068e8e8e898d8a61115c565b8095508193505050831561061b578194508592505b5b8080600101915050610427565b5060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85141561065957600094505b6000851415801561066b575060008914155b156106db5760018c146106aa576106a58961069787670de0b6b3a764000061119690919063ffffffff16565b61121c90919063ffffffff16565b6106d8565b6106d7856106c98b670de0b6b3a764000061119690919063ffffffff16565b61121c90919063ffffffff16565b5b90505b60405180606001604052808481526020018281526020018681525096505050505050505b979650505050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600181565b7f000000000000000000000000000000000000000000000000000000000000000081565b6060837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636fbc6f6b826040518263ffffffff1660e01b81526004016107b591906121e1565b60206040518083038186803b1580156107cd57600080fd5b505afa1580156107e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108059190611c0d565b6040518060400160405280600281526020017f43500000000000000000000000000000000000000000000000000000000000008152509061087c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610873919061230c565b60405180910390fd5b5060008573ffffffffffffffffffffffffffffffffffffffff1663f93f515b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108c557600080fd5b505afa1580156108d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fd9190611c36565b90508073ffffffffffffffffffffffffffffffffffffffff166320a05ff76040518163ffffffff1660e01b815260040160206040518083038186803b15801561094557600080fd5b505afa158015610959573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097d9190611c5f565b67ffffffffffffffff8111801561099357600080fd5b506040519080825280602002602001820160405280156109cd57816020015b6109ba6117af565b8152602001906001900390816109b25790505b50925060008673ffffffffffffffffffffffffffffffffffffffff1663e958b704876040518263ffffffff1660e01b8152600401610a0b91906121e1565b60206040518083038186803b158015610a2357600080fd5b505afa158015610a37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5b9190611a2c565b905060008273ffffffffffffffffffffffffffffffffffffffff16632495a5996040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa557600080fd5b505afa158015610ab9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610add9190611a2c565b905060005b8373ffffffffffffffffffffffffffffffffffffffff166320a05ff76040518163ffffffff1660e01b815260040160206040518083038186803b158015610b2857600080fd5b505afa158015610b3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b609190611c5f565b811015610cc3576000808573ffffffffffffffffffffffffffffffffffffffff1663af0a650286856040518363ffffffff1660e01b8152600401610ba59291906121fc565b60806040518083038186803b158015610bbd57600080fd5b505afa158015610bd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf59190611ad0565b5050915091506000831415610c8b576040518060600160405280600367ffffffffffffffff81118015610c2757600080fd5b50604051908082528060200260200182016040528015610c565781602001602082028036833780820191505090505b508152602001670de0b6b3a764000081526020018281525088600081518110610c7b57fe5b6020026020010181905250610cb4565b610c9c60018d60018588868f610279565b888481518110610ca857fe5b60200260200101819052505b50508080600101915050610ae2565b5050505050949350505050565b60606000735f4ec3df9cbd43714fe2740f5e3616155c5b841973ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015610d2e57600080fd5b505afa158015610d42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d669190611d3e565b5050509150508383905067ffffffffffffffff81118015610d8657600080fd5b50604051908082528060200260200182016040528015610db55781602001602082028036833780820191505090505b50915060005b84849050811015610fb1576000858583818110610dd457fe5b9050602002016020810190610de99190611a03565b73ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610e2e57600080fd5b505afa158015610e42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e669190611db5565b60ff169050610f8b670de0b6b3a7640000610f7d85600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b66102df86600a0a8c8c8a818110610ec957fe5b9050602002016020810190610ede9190611a03565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518463ffffffff1660e01b8152600401610f1f9392919061238b565b60206040518083038186803b158015610f3757600080fd5b505afa158015610f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6f9190611c5f565b61119690919063ffffffff16565b61121c90919063ffffffff16565b848381518110610f9757fe5b602002602001018181525050508080600101915050610dbb565b505092915050565b60606000610bb8905060018314156110915760005b610fe3600186516112a590919063ffffffff16565b81101561104057611031858281518110610ff957fe5b6020026020010151836040516020016110139291906121b5565b6040516020818303038152906040528461132890919063ffffffff16565b92508080600101915050610fce565b5061108a8460018651038151811061105457fe5b602002602001015160405160200161106c919061219a565b6040516020818303038152906040528361132890919063ffffffff16565b9150611155565b60006110a8600186516112a590919063ffffffff16565b90505b600081111561110b576110fb8582815181106110c357fe5b6020026020010151836040516020016110dd9291906121b5565b6040516020818303038152906040528461132890919063ffffffff16565b92508080600190039150506110ab565b506111528460008151811061111c57fe5b6020026020010151604051602001611134919061219a565b6040516020818303038152906040528361132890919063ffffffff16565b91505b5092915050565b600080600188146111795761117487878787876113b2565b611187565b61118687878787876115a1565b5b91509150965096945050505050565b6000808314156111a95760009050611216565b60008284029050828482816111ba57fe5b0414611211576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127a96021913960400191505060405180910390fd5b809150505b92915050565b6000808211611293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161129c57fe5b04905092915050565b60008282111561131d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6060806040519050835180825260208201818101602087015b8183101561135e5780518352602083019250602081019050611341565b50855192508351830184528091508282019050602086015b818310156113935780518352602083019250602081019050611376565b50601f19601f8851850115830101166040525050508091505092915050565b60008060006001871415611469578773ffffffffffffffffffffffffffffffffffffffff1663cdca17536113e6888a610fb9565b876040518363ffffffff1660e01b815260040161140492919061228b565b602060405180830381600087803b15801561141e57600080fd5b505af192505050801561144f57506040513d601f19601f8201168201806040525081019061144c9190611c5f565b60015b611460578360009250925050611597565b80915050611557565b600287141561151b578773ffffffffffffffffffffffffffffffffffffffff16632f80bb1d611498888a610fb9565b876040518363ffffffff1660e01b81526004016114b692919061228b565b602060405180830381600087803b1580156114d057600080fd5b505af192505050801561150157506040513d601f19601f820116820180604052508101906114fe9190611c5f565b60015b611512578360009250925050611597565b80915050611556565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154d9061232e565b60405180910390fd5b5b60018714801561156657508381115b8061157c575060028714801561157b57508381105b5b1561158e578060019250925050611597565b83600092509250505b9550959350505050565b60008060006001871415611669578773ffffffffffffffffffffffffffffffffffffffff1663d06ca61f86886040518363ffffffff1660e01b81526004016115ea9291906123c2565b60006040518083038186803b15801561160257600080fd5b505afa92505050801561163857506040513d6000823e3d601f19601f820116820180604052508101906116359190611bcc565b60015b6116495783600092509250506117a5565b8060018851038151811061165957fe5b6020026020010151915050611765565b6002871415611729578773ffffffffffffffffffffffffffffffffffffffff16631f00ca7486886040518363ffffffff1660e01b81526004016116ad9291906123c2565b60006040518083038186803b1580156116c557600080fd5b505afa9250505080156116fb57506040513d6000823e3d601f19601f820116820180604052508101906116f89190611bcc565b60015b61170c5783600092509250506117a5565b8060008151811061171957fe5b6020026020010151915050611764565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b9061232e565b60405180910390fd5b5b60018714801561177457508381115b8061178a575060028714801561178957508381105b5b1561179c5780600192509250506117a5565b83600092509250505b9550959350505050565b60405180606001604052806060815260200160008152602001600081525090565b60006117e36117de84612423565b6123f2565b9050808382526020820190508285602086028201111561180257600080fd5b60005b85811015611832578161181888826118a8565b845260208401935060208301925050600181019050611805565b5050509392505050565b600061184f61184a8461244f565b6123f2565b9050808382526020820190508285602086028201111561186e57600080fd5b60005b8581101561189e578161188488826119c4565b845260208401935060208301925050600181019050611871565b5050509392505050565b6000813590506118b781612707565b92915050565b6000815190506118cc81612707565b92915050565b60008083601f8401126118e457600080fd5b8235905067ffffffffffffffff8111156118fd57600080fd5b60208301915083602082028301111561191557600080fd5b9250929050565b600082601f83011261192d57600080fd5b813561193d8482602086016117d0565b91505092915050565b600082601f83011261195757600080fd5b815161196784826020860161183c565b91505092915050565b60008151905061197f8161271e565b92915050565b60008151905061199481612735565b92915050565b6000815190506119a98161274c565b92915050565b6000813590506119be81612763565b92915050565b6000815190506119d381612763565b92915050565b6000815190506119e881612791565b92915050565b6000815190506119fd8161277a565b92915050565b600060208284031215611a1557600080fd5b6000611a23848285016118a8565b91505092915050565b600060208284031215611a3e57600080fd5b6000611a4c848285016118bd565b91505092915050565b60008060008060808587031215611a6b57600080fd5b6000611a79878288016118a8565b9450506020611a8a878288016118a8565b9350506040611a9b878288016118a8565b925050606085013567ffffffffffffffff811115611ab857600080fd5b611ac48782880161191c565b91505092959194509250565b60008060008060808587031215611ae657600080fd5b6000611af4878288016118bd565b9450506020611b05878288016119c4565b9350506040611b16878288016119c4565b9250506060611b27878288016119c4565b91505092959194509250565b60008060208385031215611b4657600080fd5b600083013567ffffffffffffffff811115611b6057600080fd5b611b6c858286016118d2565b92509250509250929050565b60008060408385031215611b8b57600080fd5b600083013567ffffffffffffffff811115611ba557600080fd5b611bb18582860161191c565b9250506020611bc2858286016119af565b9150509250929050565b600060208284031215611bde57600080fd5b600082015167ffffffffffffffff811115611bf857600080fd5b611c0484828501611946565b91505092915050565b600060208284031215611c1f57600080fd5b6000611c2d84828501611970565b91505092915050565b600060208284031215611c4857600080fd5b6000611c5684828501611985565b91505092915050565b600060208284031215611c7157600080fd5b6000611c7f848285016119c4565b91505092915050565b600080600080600080600060e0888a031215611ca357600080fd5b6000611cb18a828b016119af565b9750506020611cc28a828b016118a8565b9650506040611cd38a828b016119af565b9550506060611ce48a828b016118a8565b9450506080611cf58a828b016118a8565b93505060a0611d068a828b016119af565b92505060c088013567ffffffffffffffff811115611d2357600080fd5b611d2f8a828b0161191c565b91505092959891949750929550565b600080600080600060a08688031215611d5657600080fd5b6000611d64888289016119d9565b9550506020611d758882890161199a565b9450506040611d86888289016119c4565b9350506060611d97888289016119c4565b9250506080611da8888289016119d9565b9150509295509295909350565b600060208284031215611dc757600080fd5b6000611dd5848285016119ee565b91505092915050565b6000611dea8383611e22565b60208301905092915050565b6000611e0283836120c5565b905092915050565b6000611e16838361217c565b60208301905092915050565b611e2b8161256f565b82525050565b611e3a8161256f565b82525050565b611e51611e4c8261256f565b6126a4565b82525050565b6000611e62826124ab565b611e6c8185612509565b9350611e778361247b565b8060005b83811015611ea8578151611e8f8882611dde565b9750611e9a836124e2565b925050600181019050611e7b565b5085935050505092915050565b6000611ec0826124ab565b611eca818561251a565b9350611ed58361247b565b8060005b83811015611f06578151611eed8882611dde565b9750611ef8836124e2565b925050600181019050611ed9565b5085935050505092915050565b6000611f1e826124b6565b611f28818561252b565b935083602082028501611f3a8561248b565b8060005b85811015611f765784840389528151611f578582611df6565b9450611f62836124ef565b925060208a01995050600181019050611f3e565b50829750879550505050505092915050565b6000611f93826124c1565b611f9d818561253c565b9350611fa88361249b565b8060005b83811015611fd9578151611fc08882611e0a565b9750611fcb836124fc565b925050600181019050611fac565b5085935050505092915050565b6000611ff1826124cc565b611ffb818561254d565b935061200b818560208601612671565b612014816126dc565b840191505092915050565b61202881612605565b82525050565b61203781612629565b82525050565b6120468161264d565b82525050565b6000612057826124d7565b612061818561255e565b9350612071818560208601612671565b61207a816126dc565b840191505092915050565b600061209260118361255e565b91507f556e6b6e6f776e207377617020747970650000000000000000000000000000006000830152602082019050919050565b600060608301600083015184820360008601526120e28282611e57565b91505060208301516120f7602086018261217c565b50604083015161210a604086018261217c565b508091505092915050565b600060608301600083015184820360008601526121328282611e57565b9150506020830151612147602086018261217c565b50604083015161215a604086018261217c565b508091505092915050565b612176612171826125c9565b6126c8565b82525050565b612185816125d8565b82525050565b612194816125d8565b82525050565b60006121a68284611e40565b60148201915081905092915050565b60006121c18285611e40565b6014820191506121d18284612165565b6003820191508190509392505050565b60006020820190506121f66000830184611e31565b92915050565b60006040820190506122116000830185611e31565b61221e602083018461218b565b9392505050565b6000602082019050818103600083015261223f8184611f13565b905092915050565b600060208201905081810360008301526122618184611f88565b905092915050565b600060208201905081810360008301526122838184611fe6565b905092915050565b600060408201905081810360008301526122a58185611fe6565b90506122b4602083018461218b565b9392505050565b60006020820190506122d0600083018461201f565b92915050565b60006020820190506122eb600083018461202e565b92915050565b6000602082019050612306600083018461203d565b92915050565b60006020820190508181036000830152612326818461204c565b905092915050565b6000602082019050818103600083015261234781612085565b9050919050565b600060208201905081810360008301526123688184612115565b905092915050565b6000602082019050612385600083018461218b565b92915050565b60006060820190506123a0600083018661218b565b6123ad6020830185611e31565b6123ba6040830184611e31565b949350505050565b60006040820190506123d7600083018561218b565b81810360208301526123e98184611eb5565b90509392505050565b6000604051905081810181811067ffffffffffffffff82111715612419576124186126da565b5b8060405250919050565b600067ffffffffffffffff82111561243e5761243d6126da565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561246a576124696126da565b5b602082029050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061257a826125a9565b9050919050565b60008115159050919050565b60006125988261256f565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062ffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600069ffffffffffffffffffff82169050919050565b600061261082612617565b9050919050565b6000612622826125a9565b9050919050565b60006126348261263b565b9050919050565b6000612646826125a9565b9050919050565b60006126588261265f565b9050919050565b600061266a826125a9565b9050919050565b60005b8381101561268f578082015181840152602081019050612674565b8381111561269e576000848401525b50505050565b60006126af826126b6565b9050919050565b60006126c1826126fa565b9050919050565b60006126d3826126ed565b9050919050565bfe5b6000601f19601f8301169050919050565b60008160e81b9050919050565b60008160601b9050919050565b6127108161256f565b811461271b57600080fd5b50565b61272781612581565b811461273257600080fd5b50565b61273e8161258d565b811461274957600080fd5b50565b6127558161259f565b811461276057600080fd5b50565b61276c816125d8565b811461277757600080fd5b50565b612783816125e2565b811461278e57600080fd5b50565b61279a816125ef565b81146127a557600080fd5b5056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212208822dccf86948111eab5160a14f13d500f96cc475c0a2eaa961245b2eb061e4964736f6c63430007060033";
275
- var PathFinder__factory = /** @class */ (function (_super) {
276
- __extends(PathFinder__factory, _super);
277
- function PathFinder__factory(signer) {
278
- return _super.call(this, _abi, _bytecode, signer) || this;
279
- }
280
- PathFinder__factory.prototype.deploy = function (_addressProvider, overrides) {
281
- return _super.prototype.deploy.call(this, _addressProvider, overrides || {});
282
- };
283
- PathFinder__factory.prototype.getDeployTransaction = function (_addressProvider, overrides) {
284
- return _super.prototype.getDeployTransaction.call(this, _addressProvider, overrides || {});
285
- };
286
- PathFinder__factory.prototype.attach = function (address) {
287
- return _super.prototype.attach.call(this, address);
288
- };
289
- PathFinder__factory.prototype.connect = function (signer) {
290
- return _super.prototype.connect.call(this, signer);
291
- };
292
- PathFinder__factory.createInterface = function () {
293
- return new ethers_1.utils.Interface(_abi);
294
- };
295
- PathFinder__factory.connect = function (address, signerOrProvider) {
296
- return new ethers_1.Contract(address, _abi, signerOrProvider);
297
- };
298
- PathFinder__factory.bytecode = _bytecode;
299
- PathFinder__factory.abi = _abi;
300
- return PathFinder__factory;
301
- }(ethers_1.ContractFactory));
302
- exports.PathFinder__factory = PathFinder__factory;
@@ -1,31 +0,0 @@
1
- import { Signer } from "ethers";
2
- import { Provider } from "@ethersproject/providers";
3
- import type { Pausable, PausableInterface } from "../Pausable";
4
- export declare class Pausable__factory {
5
- static readonly abi: ({
6
- anonymous: boolean;
7
- inputs: {
8
- indexed: boolean;
9
- internalType: string;
10
- name: string;
11
- type: string;
12
- }[];
13
- name: string;
14
- type: string;
15
- outputs?: undefined;
16
- stateMutability?: undefined;
17
- } | {
18
- inputs: never[];
19
- name: string;
20
- outputs: {
21
- internalType: string;
22
- name: string;
23
- type: string;
24
- }[];
25
- stateMutability: string;
26
- type: string;
27
- anonymous?: undefined;
28
- })[];
29
- static createInterface(): PausableInterface;
30
- static connect(address: string, signerOrProvider: Signer | Provider): Pausable;
31
- }
@@ -1,61 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Pausable__factory = void 0;
7
- var ethers_1 = require("ethers");
8
- var _abi = [
9
- {
10
- anonymous: false,
11
- inputs: [
12
- {
13
- indexed: false,
14
- internalType: "address",
15
- name: "account",
16
- type: "address",
17
- },
18
- ],
19
- name: "Paused",
20
- type: "event",
21
- },
22
- {
23
- anonymous: false,
24
- inputs: [
25
- {
26
- indexed: false,
27
- internalType: "address",
28
- name: "account",
29
- type: "address",
30
- },
31
- ],
32
- name: "Unpaused",
33
- type: "event",
34
- },
35
- {
36
- inputs: [],
37
- name: "paused",
38
- outputs: [
39
- {
40
- internalType: "bool",
41
- name: "",
42
- type: "bool",
43
- },
44
- ],
45
- stateMutability: "view",
46
- type: "function",
47
- },
48
- ];
49
- var Pausable__factory = /** @class */ (function () {
50
- function Pausable__factory() {
51
- }
52
- Pausable__factory.createInterface = function () {
53
- return new ethers_1.utils.Interface(_abi);
54
- };
55
- Pausable__factory.connect = function (address, signerOrProvider) {
56
- return new ethers_1.Contract(address, _abi, signerOrProvider);
57
- };
58
- Pausable__factory.abi = _abi;
59
- return Pausable__factory;
60
- }());
61
- exports.Pausable__factory = Pausable__factory;
@@ -1,32 +0,0 @@
1
- import { Signer, ContractFactory, Overrides } from "ethers";
2
- import { Provider, TransactionRequest } from "@ethersproject/providers";
3
- import type { PercentageMathTest, PercentageMathTestInterface } from "../PercentageMathTest";
4
- export declare class PercentageMathTest__factory extends ContractFactory {
5
- constructor(signer?: Signer);
6
- deploy(overrides?: Overrides & {
7
- from?: string | Promise<string>;
8
- }): Promise<PercentageMathTest>;
9
- getDeployTransaction(overrides?: Overrides & {
10
- from?: string | Promise<string>;
11
- }): TransactionRequest;
12
- attach(address: string): PercentageMathTest;
13
- connect(signer: Signer): PercentageMathTest__factory;
14
- static readonly bytecode = "0x608060405234801561001057600080fd5b506104b7806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806346c840bb1461003b5780634bf6a8f014610087575b600080fd5b6100716004803603604081101561005157600080fd5b8101908080359060200190929190803590602001909291905050506100d3565b6040518082815260200191505060405180910390f35b6100bd6004803603604081101561009d57600080fd5b8101908080359060200190929190803590602001909291905050506100f0565b6040518082815260200191505060405180910390f35b60006100e8828461010d90919063ffffffff16565b905092915050565b6000610105828461032690919063ffffffff16565b905092915050565b6000808214156040518060400160405280600281526020017f4d33000000000000000000000000000000000000000000000000000000000000815250906101ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156101b4578082015181840152602081019050610199565b50505050905090810190601f1680156101e15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000600283816101fc57fe5b049050612710817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038161022c57fe5b048411156040518060400160405280600281526020017f4d310000000000000000000000000000000000000000000000000000000000008152509061030c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156102d15780820151818401526020810190506102b6565b50505050905090810190601f1680156102fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082816127108602018161031c57fe5b0491505092915050565b6000808314806103365750600082145b15610344576000905061047b565b8160026127108161035157fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038161037b57fe5b048311156040518060400160405280600281526020017f4d310000000000000000000000000000000000000000000000000000000000008152509061045b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610420578082015181840152602081019050610405565b50505050905090810190601f16801561044d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5061271060026127108161046b57fe5b04838502018161047757fe5b0490505b9291505056fea2646970667358221220ae21d1be88b4fe3206b5937cf70329b6991bf37aab2d27d59bcd9d49a6f1db1364736f6c63430007060033";
15
- static readonly abi: {
16
- inputs: {
17
- internalType: string;
18
- name: string;
19
- type: string;
20
- }[];
21
- name: string;
22
- outputs: {
23
- internalType: string;
24
- name: string;
25
- type: string;
26
- }[];
27
- stateMutability: string;
28
- type: string;
29
- }[];
30
- static createInterface(): PercentageMathTestInterface;
31
- static connect(address: string, signerOrProvider: Signer | Provider): PercentageMathTest;
32
- }
@@ -1,101 +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.PercentageMathTest__factory = void 0;
22
- var ethers_1 = require("ethers");
23
- var _abi = [
24
- {
25
- inputs: [
26
- {
27
- internalType: "uint256",
28
- name: "value",
29
- type: "uint256",
30
- },
31
- {
32
- internalType: "uint256",
33
- name: "percentage",
34
- type: "uint256",
35
- },
36
- ],
37
- name: "percentDiv",
38
- outputs: [
39
- {
40
- internalType: "uint256",
41
- name: "",
42
- type: "uint256",
43
- },
44
- ],
45
- stateMutability: "pure",
46
- type: "function",
47
- },
48
- {
49
- inputs: [
50
- {
51
- internalType: "uint256",
52
- name: "value",
53
- type: "uint256",
54
- },
55
- {
56
- internalType: "uint256",
57
- name: "percentage",
58
- type: "uint256",
59
- },
60
- ],
61
- name: "percentMul",
62
- outputs: [
63
- {
64
- internalType: "uint256",
65
- name: "",
66
- type: "uint256",
67
- },
68
- ],
69
- stateMutability: "pure",
70
- type: "function",
71
- },
72
- ];
73
- var _bytecode = "0x608060405234801561001057600080fd5b506104b7806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806346c840bb1461003b5780634bf6a8f014610087575b600080fd5b6100716004803603604081101561005157600080fd5b8101908080359060200190929190803590602001909291905050506100d3565b6040518082815260200191505060405180910390f35b6100bd6004803603604081101561009d57600080fd5b8101908080359060200190929190803590602001909291905050506100f0565b6040518082815260200191505060405180910390f35b60006100e8828461010d90919063ffffffff16565b905092915050565b6000610105828461032690919063ffffffff16565b905092915050565b6000808214156040518060400160405280600281526020017f4d33000000000000000000000000000000000000000000000000000000000000815250906101ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156101b4578082015181840152602081019050610199565b50505050905090810190601f1680156101e15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000600283816101fc57fe5b049050612710817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038161022c57fe5b048411156040518060400160405280600281526020017f4d310000000000000000000000000000000000000000000000000000000000008152509061030c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156102d15780820151818401526020810190506102b6565b50505050905090810190601f1680156102fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082816127108602018161031c57fe5b0491505092915050565b6000808314806103365750600082145b15610344576000905061047b565b8160026127108161035157fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038161037b57fe5b048311156040518060400160405280600281526020017f4d310000000000000000000000000000000000000000000000000000000000008152509061045b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610420578082015181840152602081019050610405565b50505050905090810190601f16801561044d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5061271060026127108161046b57fe5b04838502018161047757fe5b0490505b9291505056fea2646970667358221220ae21d1be88b4fe3206b5937cf70329b6991bf37aab2d27d59bcd9d49a6f1db1364736f6c63430007060033";
74
- var PercentageMathTest__factory = /** @class */ (function (_super) {
75
- __extends(PercentageMathTest__factory, _super);
76
- function PercentageMathTest__factory(signer) {
77
- return _super.call(this, _abi, _bytecode, signer) || this;
78
- }
79
- PercentageMathTest__factory.prototype.deploy = function (overrides) {
80
- return _super.prototype.deploy.call(this, overrides || {});
81
- };
82
- PercentageMathTest__factory.prototype.getDeployTransaction = function (overrides) {
83
- return _super.prototype.getDeployTransaction.call(this, overrides || {});
84
- };
85
- PercentageMathTest__factory.prototype.attach = function (address) {
86
- return _super.prototype.attach.call(this, address);
87
- };
88
- PercentageMathTest__factory.prototype.connect = function (signer) {
89
- return _super.prototype.connect.call(this, signer);
90
- };
91
- PercentageMathTest__factory.createInterface = function () {
92
- return new ethers_1.utils.Interface(_abi);
93
- };
94
- PercentageMathTest__factory.connect = function (address, signerOrProvider) {
95
- return new ethers_1.Contract(address, _abi, signerOrProvider);
96
- };
97
- PercentageMathTest__factory.bytecode = _bytecode;
98
- PercentageMathTest__factory.abi = _abi;
99
- return PercentageMathTest__factory;
100
- }(ethers_1.ContractFactory));
101
- exports.PercentageMathTest__factory = PercentageMathTest__factory;