@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,355 +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.WETHMock__factory = void 0;
22
- var ethers_1 = require("ethers");
23
- var _abi = [
24
- {
25
- anonymous: false,
26
- inputs: [
27
- {
28
- indexed: true,
29
- internalType: "address",
30
- name: "src",
31
- type: "address",
32
- },
33
- {
34
- indexed: true,
35
- internalType: "address",
36
- name: "guy",
37
- type: "address",
38
- },
39
- {
40
- indexed: false,
41
- internalType: "uint256",
42
- name: "wad",
43
- type: "uint256",
44
- },
45
- ],
46
- name: "Approval",
47
- type: "event",
48
- },
49
- {
50
- anonymous: false,
51
- inputs: [
52
- {
53
- indexed: true,
54
- internalType: "address",
55
- name: "dst",
56
- type: "address",
57
- },
58
- {
59
- indexed: false,
60
- internalType: "uint256",
61
- name: "wad",
62
- type: "uint256",
63
- },
64
- ],
65
- name: "Deposit",
66
- type: "event",
67
- },
68
- {
69
- anonymous: false,
70
- inputs: [
71
- {
72
- indexed: true,
73
- internalType: "address",
74
- name: "src",
75
- type: "address",
76
- },
77
- {
78
- indexed: true,
79
- internalType: "address",
80
- name: "dst",
81
- type: "address",
82
- },
83
- {
84
- indexed: false,
85
- internalType: "uint256",
86
- name: "wad",
87
- type: "uint256",
88
- },
89
- ],
90
- name: "Transfer",
91
- type: "event",
92
- },
93
- {
94
- anonymous: false,
95
- inputs: [
96
- {
97
- indexed: true,
98
- internalType: "address",
99
- name: "src",
100
- type: "address",
101
- },
102
- {
103
- indexed: false,
104
- internalType: "uint256",
105
- name: "wad",
106
- type: "uint256",
107
- },
108
- ],
109
- name: "Withdrawal",
110
- type: "event",
111
- },
112
- {
113
- inputs: [
114
- {
115
- internalType: "address",
116
- name: "",
117
- type: "address",
118
- },
119
- {
120
- internalType: "address",
121
- name: "",
122
- type: "address",
123
- },
124
- ],
125
- name: "allowance",
126
- outputs: [
127
- {
128
- internalType: "uint256",
129
- name: "",
130
- type: "uint256",
131
- },
132
- ],
133
- stateMutability: "view",
134
- type: "function",
135
- },
136
- {
137
- inputs: [
138
- {
139
- internalType: "address",
140
- name: "guy",
141
- type: "address",
142
- },
143
- {
144
- internalType: "uint256",
145
- name: "wad",
146
- type: "uint256",
147
- },
148
- ],
149
- name: "approve",
150
- outputs: [
151
- {
152
- internalType: "bool",
153
- name: "",
154
- type: "bool",
155
- },
156
- ],
157
- stateMutability: "nonpayable",
158
- type: "function",
159
- },
160
- {
161
- inputs: [
162
- {
163
- internalType: "address",
164
- name: "",
165
- type: "address",
166
- },
167
- ],
168
- name: "balanceOf",
169
- outputs: [
170
- {
171
- internalType: "uint256",
172
- name: "",
173
- type: "uint256",
174
- },
175
- ],
176
- stateMutability: "view",
177
- type: "function",
178
- },
179
- {
180
- inputs: [],
181
- name: "decimals",
182
- outputs: [
183
- {
184
- internalType: "uint8",
185
- name: "",
186
- type: "uint8",
187
- },
188
- ],
189
- stateMutability: "view",
190
- type: "function",
191
- },
192
- {
193
- inputs: [],
194
- name: "deposit",
195
- outputs: [],
196
- stateMutability: "payable",
197
- type: "function",
198
- },
199
- {
200
- inputs: [
201
- {
202
- internalType: "address",
203
- name: "to",
204
- type: "address",
205
- },
206
- {
207
- internalType: "uint256",
208
- name: "amount",
209
- type: "uint256",
210
- },
211
- ],
212
- name: "mint",
213
- outputs: [],
214
- stateMutability: "nonpayable",
215
- type: "function",
216
- },
217
- {
218
- inputs: [],
219
- name: "name",
220
- outputs: [
221
- {
222
- internalType: "string",
223
- name: "",
224
- type: "string",
225
- },
226
- ],
227
- stateMutability: "view",
228
- type: "function",
229
- },
230
- {
231
- inputs: [],
232
- name: "symbol",
233
- outputs: [
234
- {
235
- internalType: "string",
236
- name: "",
237
- type: "string",
238
- },
239
- ],
240
- stateMutability: "view",
241
- type: "function",
242
- },
243
- {
244
- inputs: [],
245
- name: "totalSupply",
246
- outputs: [
247
- {
248
- internalType: "uint256",
249
- name: "",
250
- type: "uint256",
251
- },
252
- ],
253
- stateMutability: "view",
254
- type: "function",
255
- },
256
- {
257
- inputs: [
258
- {
259
- internalType: "address",
260
- name: "dst",
261
- type: "address",
262
- },
263
- {
264
- internalType: "uint256",
265
- name: "wad",
266
- type: "uint256",
267
- },
268
- ],
269
- name: "transfer",
270
- outputs: [
271
- {
272
- internalType: "bool",
273
- name: "",
274
- type: "bool",
275
- },
276
- ],
277
- stateMutability: "nonpayable",
278
- type: "function",
279
- },
280
- {
281
- inputs: [
282
- {
283
- internalType: "address",
284
- name: "src",
285
- type: "address",
286
- },
287
- {
288
- internalType: "address",
289
- name: "dst",
290
- type: "address",
291
- },
292
- {
293
- internalType: "uint256",
294
- name: "wad",
295
- type: "uint256",
296
- },
297
- ],
298
- name: "transferFrom",
299
- outputs: [
300
- {
301
- internalType: "bool",
302
- name: "",
303
- type: "bool",
304
- },
305
- ],
306
- stateMutability: "nonpayable",
307
- type: "function",
308
- },
309
- {
310
- inputs: [
311
- {
312
- internalType: "uint256",
313
- name: "wad",
314
- type: "uint256",
315
- },
316
- ],
317
- name: "withdraw",
318
- outputs: [],
319
- stateMutability: "nonpayable",
320
- type: "function",
321
- },
322
- {
323
- stateMutability: "payable",
324
- type: "receive",
325
- },
326
- ];
327
- var _bytecode = "0x60806040526040518060400160405280600d81526020017f57726170706564204574686572000000000000000000000000000000000000008152506000908051906020019061004f9291906100ca565b506040518060400160405280600481526020017f57455448000000000000000000000000000000000000000000000000000000008152506001908051906020019061009b9291906100ca565b506012600260006101000a81548160ff021916908360ff1602179055503480156100c457600080fd5b50610175565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826101005760008555610147565b82601f1061011957805160ff1916838001178555610147565b82800160010185558215610147579182015b8281111561014657825182559160200191906001019061012b565b5b5090506101549190610158565b5090565b5b80821115610171576000816000905550600101610159565b5090565b610d6e806101846000396000f3fe6080604052600436106100ab5760003560e01c806340c10f191161006457806340c10f19146102e557806370a082311461034057806395d89b41146103a5578063a9059cbb14610435578063d0e30db0146104a6578063dd62ed3e146104b0576100ba565b806306fdde03146100bf578063095ea7b31461014f57806318160ddd146101c057806323b872dd146101eb5780632e1a7d4d1461027c578063313ce567146102b7576100ba565b366100ba576100b8610535565b005b600080fd5b3480156100cb57600080fd5b506100d46105d2565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101145780820151818401526020810190506100f9565b50505050905090810190601f1680156101415780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015b57600080fd5b506101a86004803603604081101561017257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610670565b60405180821515815260200191505060405180910390f35b3480156101cc57600080fd5b506101d5610762565b6040518082815260200191505060405180910390f35b3480156101f757600080fd5b506102646004803603606081101561020e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061076a565b60405180821515815260200191505060405180910390f35b34801561028857600080fd5b506102b56004803603602081101561029f57600080fd5b8101908080359060200190929190505050610ab3565b005b3480156102c357600080fd5b506102cc610be4565b604051808260ff16815260200191505060405180910390f35b3480156102f157600080fd5b5061033e6004803603604081101561030857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bf7565b005b34801561034c57600080fd5b5061038f6004803603602081101561036357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c48565b6040518082815260200191505060405180910390f35b3480156103b157600080fd5b506103ba610c60565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103fa5780820151818401526020810190506103df565b50505050905090810190601f1680156104275780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561044157600080fd5b5061048e6004803603604081101561045857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610cfe565b60405180821515815260200191505060405180910390f35b6104ae610535565b005b3480156104bc57600080fd5b5061051f600480360360408110156104d357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d13565b6040518082815260200191505060405180910390f35b34600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c346040518082815260200191505060405180910390a2565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106685780601f1061063d57610100808354040283529160200191610668565b820191906000526020600020905b81548152906001019060200180831161064b57829003601f168201915b505050505081565b600081600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b600047905090565b600081600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156107b857600080fd5b3373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415801561089057507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414155b156109a95781600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101561091e57600080fd5b81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b81600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190509392505050565b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610aff57600080fd5b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b92573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65826040518082815260200191505060405180910390a250565b600260009054906101000a900460ff1681565b80600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505050565b60036020528060005260406000206000915090505481565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610cf65780601f10610ccb57610100808354040283529160200191610cf6565b820191906000526020600020905b815481529060010190602001808311610cd957829003601f168201915b505050505081565b6000610d0b33848461076a565b905092915050565b600460205281600052604060002060205280600052604060002060009150915050548156fea2646970667358221220c38de67f347227a1de959b21cbea574bf58d477b62e1f961eb97e918a973f54164736f6c63430007060033";
328
- var WETHMock__factory = /** @class */ (function (_super) {
329
- __extends(WETHMock__factory, _super);
330
- function WETHMock__factory(signer) {
331
- return _super.call(this, _abi, _bytecode, signer) || this;
332
- }
333
- WETHMock__factory.prototype.deploy = function (overrides) {
334
- return _super.prototype.deploy.call(this, overrides || {});
335
- };
336
- WETHMock__factory.prototype.getDeployTransaction = function (overrides) {
337
- return _super.prototype.getDeployTransaction.call(this, overrides || {});
338
- };
339
- WETHMock__factory.prototype.attach = function (address) {
340
- return _super.prototype.attach.call(this, address);
341
- };
342
- WETHMock__factory.prototype.connect = function (signer) {
343
- return _super.prototype.connect.call(this, signer);
344
- };
345
- WETHMock__factory.createInterface = function () {
346
- return new ethers_1.utils.Interface(_abi);
347
- };
348
- WETHMock__factory.connect = function (address, signerOrProvider) {
349
- return new ethers_1.Contract(address, _abi, signerOrProvider);
350
- };
351
- WETHMock__factory.bytecode = _bytecode;
352
- WETHMock__factory.abi = _abi;
353
- return WETHMock__factory;
354
- }(ethers_1.ContractFactory));
355
- exports.WETHMock__factory = WETHMock__factory;
@@ -1,32 +0,0 @@
1
- import { Signer, ContractFactory, Overrides } from "ethers";
2
- import { Provider, TransactionRequest } from "@ethersproject/providers";
3
- import type { WadRayMathTest, WadRayMathTestInterface } from "../WadRayMathTest";
4
- export declare class WadRayMathTest__factory extends ContractFactory {
5
- constructor(signer?: Signer);
6
- deploy(overrides?: Overrides & {
7
- from?: string | Promise<string>;
8
- }): Promise<WadRayMathTest>;
9
- getDeployTransaction(overrides?: Overrides & {
10
- from?: string | Promise<string>;
11
- }): TransactionRequest;
12
- attach(address: string): WadRayMathTest;
13
- connect(signer: Signer): WadRayMathTest__factory;
14
- static readonly bytecode = "0x608060405234801561001057600080fd5b50610d82806100206000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80637df38c5b116100665780637df38c5b146101af5780639c34d880146101cd578063d2e3058514610219578063e304e1d314610265578063e57b6d3b146102835761009e565b806310de27b9146100a35780631fa89fc6146100e557806329cb5aa414610103578063416a8b2014610145578063761fdad614610163575b600080fd5b6100cf600480360360208110156100b957600080fd5b81019080803590602001909291905050506102cf565b6040518082815260200191505060405180910390f35b6100ed6102e1565b6040518082815260200191505060405180910390f35b61012f6004803603602081101561011957600080fd5b81019080803590602001909291905050506102f0565b6040518082815260200191505060405180910390f35b61014d610302565b6040518082815260200191505060405180910390f35b6101996004803603604081101561017957600080fd5b810190808035906020019092919080359060200190929190505050610311565b6040518082815260200191505060405180910390f35b6101b761032e565b6040518082815260200191505060405180910390f35b610203600480360360408110156101e357600080fd5b81019080803590602001909291908035906020019092919050505061033d565b6040518082815260200191505060405180910390f35b61024f6004803603604081101561022f57600080fd5b81019080803590602001909291908035906020019092919050505061035a565b6040518082815260200191505060405180910390f35b61026d610377565b6040518082815260200191505060405180910390f35b6102b96004803603604081101561029957600080fd5b810190808035906020019092919080359060200190929190505050610386565b6040518082815260200191505060405180910390f35b60006102da826103a3565b9050919050565b60006102eb6104a5565b905090565b60006102fb826104c3565b9050919050565b600061030c6105d6565b905090565b600061032682846105ea90919063ffffffff16565b905092915050565b6000610338610757565b905090565b6000610352828461076790919063ffffffff16565b905092915050565b600061036f828461099490919063ffffffff16565b905092915050565b6000610381610b0d565b905090565b600061039b8284610b2790919063ffffffff16565b905092915050565b600080633b9aca008302905082633b9aca0082816103bd57fe5b04146040518060400160405280600281526020017f4d310000000000000000000000000000000000000000000000000000000000008152509061049b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610460578082015181840152602081019050610445565b50505050905090810190601f16801561048d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5080915050919050565b600060026b033b2e3c9fd0803ce8000000816104bd57fe5b04905090565b6000806002633b9aca00816104d457fe5b04905060008382019050818110156040518060400160405280600281526020017f4d32000000000000000000000000000000000000000000000000000000000000815250906105be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610583578082015181840152602081019050610568565b50505050905090810190601f1680156105b05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50633b9aca0081816105cc57fe5b0492505050919050565b60006b033b2e3c9fd0803ce8000000905090565b6000808314806105fa5750600082145b156106085760009050610751565b816002670de0b6b3a76400008161061b57fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038161064557fe5b048311156040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525090610725576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156106ea5780820151818401526020810190506106cf565b50505050905090810190601f1680156107175780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50670de0b6b3a76400006002670de0b6b3a76400008161074157fe5b04838502018161074d57fe5b0490505b92915050565b6000670de0b6b3a7640000905090565b6000808214156040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525090610849576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561080e5780820151818401526020810190506107f3565b50505050905090810190601f16801561083b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060006002838161085657fe5b0490506b033b2e3c9fd0803ce8000000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038161089057fe5b048411156040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525090610970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561093557808201518184015260208101905061091a565b50505050905090810190601f1680156109625780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082816b033b2e3c9fd0803ce80000008602018161098a57fe5b0491505092915050565b6000808314806109a45750600082145b156109b25760009050610b07565b8160026b033b2e3c9fd0803ce8000000816109c957fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03816109f357fe5b048311156040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525090610ad3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a98578082015181840152602081019050610a7d565b50505050905090810190601f168015610ac55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506b033b2e3c9fd0803ce800000060026b033b2e3c9fd0803ce800000081610af757fe5b048385020181610b0357fe5b0490505b92915050565b60006002670de0b6b3a764000081610b2157fe5b04905090565b6000808214156040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525090610c09576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610bce578082015181840152602081019050610bb3565b50505050905090810190601f168015610bfb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600060028381610c1657fe5b049050670de0b6b3a7640000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0381610c4c57fe5b048411156040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525090610d2c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610cf1578082015181840152602081019050610cd6565b50505050905090810190601f168015610d1e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508281670de0b6b3a764000086020181610d4257fe5b049150509291505056fea26469706673582212203ca0598ee26756eae90d2f94f85b921eb478e842be5b7d6567cd9ee6be7b47b464736f6c63430007060033";
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(): WadRayMathTestInterface;
31
- static connect(address: string, signerOrProvider: Signer | Provider): WadRayMathTest;
32
- }
@@ -1,239 +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.WadRayMathTest__factory = void 0;
22
- var ethers_1 = require("ethers");
23
- var _abi = [
24
- {
25
- inputs: [],
26
- name: "halfRay",
27
- outputs: [
28
- {
29
- internalType: "uint256",
30
- name: "",
31
- type: "uint256",
32
- },
33
- ],
34
- stateMutability: "pure",
35
- type: "function",
36
- },
37
- {
38
- inputs: [],
39
- name: "halfWad",
40
- outputs: [
41
- {
42
- internalType: "uint256",
43
- name: "",
44
- type: "uint256",
45
- },
46
- ],
47
- stateMutability: "pure",
48
- type: "function",
49
- },
50
- {
51
- inputs: [],
52
- name: "ray",
53
- outputs: [
54
- {
55
- internalType: "uint256",
56
- name: "",
57
- type: "uint256",
58
- },
59
- ],
60
- stateMutability: "pure",
61
- type: "function",
62
- },
63
- {
64
- inputs: [
65
- {
66
- internalType: "uint256",
67
- name: "a",
68
- type: "uint256",
69
- },
70
- {
71
- internalType: "uint256",
72
- name: "b",
73
- type: "uint256",
74
- },
75
- ],
76
- name: "rayDiv",
77
- outputs: [
78
- {
79
- internalType: "uint256",
80
- name: "",
81
- type: "uint256",
82
- },
83
- ],
84
- stateMutability: "pure",
85
- type: "function",
86
- },
87
- {
88
- inputs: [
89
- {
90
- internalType: "uint256",
91
- name: "a",
92
- type: "uint256",
93
- },
94
- {
95
- internalType: "uint256",
96
- name: "b",
97
- type: "uint256",
98
- },
99
- ],
100
- name: "rayMul",
101
- outputs: [
102
- {
103
- internalType: "uint256",
104
- name: "",
105
- type: "uint256",
106
- },
107
- ],
108
- stateMutability: "pure",
109
- type: "function",
110
- },
111
- {
112
- inputs: [
113
- {
114
- internalType: "uint256",
115
- name: "a",
116
- type: "uint256",
117
- },
118
- ],
119
- name: "rayToWad",
120
- outputs: [
121
- {
122
- internalType: "uint256",
123
- name: "",
124
- type: "uint256",
125
- },
126
- ],
127
- stateMutability: "pure",
128
- type: "function",
129
- },
130
- {
131
- inputs: [],
132
- name: "wad",
133
- outputs: [
134
- {
135
- internalType: "uint256",
136
- name: "",
137
- type: "uint256",
138
- },
139
- ],
140
- stateMutability: "pure",
141
- type: "function",
142
- },
143
- {
144
- inputs: [
145
- {
146
- internalType: "uint256",
147
- name: "a",
148
- type: "uint256",
149
- },
150
- {
151
- internalType: "uint256",
152
- name: "b",
153
- type: "uint256",
154
- },
155
- ],
156
- name: "wadDiv",
157
- outputs: [
158
- {
159
- internalType: "uint256",
160
- name: "",
161
- type: "uint256",
162
- },
163
- ],
164
- stateMutability: "pure",
165
- type: "function",
166
- },
167
- {
168
- inputs: [
169
- {
170
- internalType: "uint256",
171
- name: "a",
172
- type: "uint256",
173
- },
174
- {
175
- internalType: "uint256",
176
- name: "b",
177
- type: "uint256",
178
- },
179
- ],
180
- name: "wadMul",
181
- outputs: [
182
- {
183
- internalType: "uint256",
184
- name: "",
185
- type: "uint256",
186
- },
187
- ],
188
- stateMutability: "pure",
189
- type: "function",
190
- },
191
- {
192
- inputs: [
193
- {
194
- internalType: "uint256",
195
- name: "a",
196
- type: "uint256",
197
- },
198
- ],
199
- name: "wadToRay",
200
- outputs: [
201
- {
202
- internalType: "uint256",
203
- name: "",
204
- type: "uint256",
205
- },
206
- ],
207
- stateMutability: "pure",
208
- type: "function",
209
- },
210
- ];
211
- var _bytecode = "0x608060405234801561001057600080fd5b50610d82806100206000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80637df38c5b116100665780637df38c5b146101af5780639c34d880146101cd578063d2e3058514610219578063e304e1d314610265578063e57b6d3b146102835761009e565b806310de27b9146100a35780631fa89fc6146100e557806329cb5aa414610103578063416a8b2014610145578063761fdad614610163575b600080fd5b6100cf600480360360208110156100b957600080fd5b81019080803590602001909291905050506102cf565b6040518082815260200191505060405180910390f35b6100ed6102e1565b6040518082815260200191505060405180910390f35b61012f6004803603602081101561011957600080fd5b81019080803590602001909291905050506102f0565b6040518082815260200191505060405180910390f35b61014d610302565b6040518082815260200191505060405180910390f35b6101996004803603604081101561017957600080fd5b810190808035906020019092919080359060200190929190505050610311565b6040518082815260200191505060405180910390f35b6101b761032e565b6040518082815260200191505060405180910390f35b610203600480360360408110156101e357600080fd5b81019080803590602001909291908035906020019092919050505061033d565b6040518082815260200191505060405180910390f35b61024f6004803603604081101561022f57600080fd5b81019080803590602001909291908035906020019092919050505061035a565b6040518082815260200191505060405180910390f35b61026d610377565b6040518082815260200191505060405180910390f35b6102b96004803603604081101561029957600080fd5b810190808035906020019092919080359060200190929190505050610386565b6040518082815260200191505060405180910390f35b60006102da826103a3565b9050919050565b60006102eb6104a5565b905090565b60006102fb826104c3565b9050919050565b600061030c6105d6565b905090565b600061032682846105ea90919063ffffffff16565b905092915050565b6000610338610757565b905090565b6000610352828461076790919063ffffffff16565b905092915050565b600061036f828461099490919063ffffffff16565b905092915050565b6000610381610b0d565b905090565b600061039b8284610b2790919063ffffffff16565b905092915050565b600080633b9aca008302905082633b9aca0082816103bd57fe5b04146040518060400160405280600281526020017f4d310000000000000000000000000000000000000000000000000000000000008152509061049b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610460578082015181840152602081019050610445565b50505050905090810190601f16801561048d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5080915050919050565b600060026b033b2e3c9fd0803ce8000000816104bd57fe5b04905090565b6000806002633b9aca00816104d457fe5b04905060008382019050818110156040518060400160405280600281526020017f4d32000000000000000000000000000000000000000000000000000000000000815250906105be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610583578082015181840152602081019050610568565b50505050905090810190601f1680156105b05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50633b9aca0081816105cc57fe5b0492505050919050565b60006b033b2e3c9fd0803ce8000000905090565b6000808314806105fa5750600082145b156106085760009050610751565b816002670de0b6b3a76400008161061b57fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038161064557fe5b048311156040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525090610725576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156106ea5780820151818401526020810190506106cf565b50505050905090810190601f1680156107175780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50670de0b6b3a76400006002670de0b6b3a76400008161074157fe5b04838502018161074d57fe5b0490505b92915050565b6000670de0b6b3a7640000905090565b6000808214156040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525090610849576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561080e5780820151818401526020810190506107f3565b50505050905090810190601f16801561083b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060006002838161085657fe5b0490506b033b2e3c9fd0803ce8000000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038161089057fe5b048411156040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525090610970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561093557808201518184015260208101905061091a565b50505050905090810190601f1680156109625780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082816b033b2e3c9fd0803ce80000008602018161098a57fe5b0491505092915050565b6000808314806109a45750600082145b156109b25760009050610b07565b8160026b033b2e3c9fd0803ce8000000816109c957fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03816109f357fe5b048311156040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525090610ad3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a98578082015181840152602081019050610a7d565b50505050905090810190601f168015610ac55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506b033b2e3c9fd0803ce800000060026b033b2e3c9fd0803ce800000081610af757fe5b048385020181610b0357fe5b0490505b92915050565b60006002670de0b6b3a764000081610b2157fe5b04905090565b6000808214156040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525090610c09576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610bce578082015181840152602081019050610bb3565b50505050905090810190601f168015610bfb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600060028381610c1657fe5b049050670de0b6b3a7640000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0381610c4c57fe5b048411156040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525090610d2c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610cf1578082015181840152602081019050610cd6565b50505050905090810190601f168015610d1e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508281670de0b6b3a764000086020181610d4257fe5b049150509291505056fea26469706673582212203ca0598ee26756eae90d2f94f85b921eb478e842be5b7d6567cd9ee6be7b47b464736f6c63430007060033";
212
- var WadRayMathTest__factory = /** @class */ (function (_super) {
213
- __extends(WadRayMathTest__factory, _super);
214
- function WadRayMathTest__factory(signer) {
215
- return _super.call(this, _abi, _bytecode, signer) || this;
216
- }
217
- WadRayMathTest__factory.prototype.deploy = function (overrides) {
218
- return _super.prototype.deploy.call(this, overrides || {});
219
- };
220
- WadRayMathTest__factory.prototype.getDeployTransaction = function (overrides) {
221
- return _super.prototype.getDeployTransaction.call(this, overrides || {});
222
- };
223
- WadRayMathTest__factory.prototype.attach = function (address) {
224
- return _super.prototype.attach.call(this, address);
225
- };
226
- WadRayMathTest__factory.prototype.connect = function (signer) {
227
- return _super.prototype.connect.call(this, signer);
228
- };
229
- WadRayMathTest__factory.createInterface = function () {
230
- return new ethers_1.utils.Interface(_abi);
231
- };
232
- WadRayMathTest__factory.connect = function (address, signerOrProvider) {
233
- return new ethers_1.Contract(address, _abi, signerOrProvider);
234
- };
235
- WadRayMathTest__factory.bytecode = _bytecode;
236
- WadRayMathTest__factory.abi = _abi;
237
- return WadRayMathTest__factory;
238
- }(ethers_1.ContractFactory));
239
- exports.WadRayMathTest__factory = WadRayMathTest__factory;