@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,598 +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.YearnMock__factory = void 0;
22
- var ethers_1 = require("ethers");
23
- var _abi = [
24
- {
25
- inputs: [
26
- {
27
- internalType: "address",
28
- name: "_token",
29
- type: "address",
30
- },
31
- ],
32
- stateMutability: "nonpayable",
33
- type: "constructor",
34
- },
35
- {
36
- anonymous: false,
37
- inputs: [
38
- {
39
- indexed: true,
40
- internalType: "address",
41
- name: "owner",
42
- type: "address",
43
- },
44
- {
45
- indexed: true,
46
- internalType: "address",
47
- name: "spender",
48
- type: "address",
49
- },
50
- {
51
- indexed: false,
52
- internalType: "uint256",
53
- name: "value",
54
- type: "uint256",
55
- },
56
- ],
57
- name: "Approval",
58
- type: "event",
59
- },
60
- {
61
- anonymous: false,
62
- inputs: [
63
- {
64
- indexed: true,
65
- internalType: "address",
66
- name: "previousOwner",
67
- type: "address",
68
- },
69
- {
70
- indexed: true,
71
- internalType: "address",
72
- name: "newOwner",
73
- type: "address",
74
- },
75
- ],
76
- name: "OwnershipTransferred",
77
- type: "event",
78
- },
79
- {
80
- anonymous: false,
81
- inputs: [
82
- {
83
- indexed: true,
84
- internalType: "address",
85
- name: "from",
86
- type: "address",
87
- },
88
- {
89
- indexed: true,
90
- internalType: "address",
91
- name: "to",
92
- type: "address",
93
- },
94
- {
95
- indexed: false,
96
- internalType: "uint256",
97
- name: "value",
98
- type: "uint256",
99
- },
100
- ],
101
- name: "Transfer",
102
- type: "event",
103
- },
104
- {
105
- inputs: [
106
- {
107
- internalType: "address",
108
- name: "updater",
109
- type: "address",
110
- },
111
- ],
112
- name: "addUpdater",
113
- outputs: [],
114
- stateMutability: "nonpayable",
115
- type: "function",
116
- },
117
- {
118
- inputs: [
119
- {
120
- internalType: "address",
121
- name: "owner",
122
- type: "address",
123
- },
124
- {
125
- internalType: "address",
126
- name: "spender",
127
- type: "address",
128
- },
129
- ],
130
- name: "allowance",
131
- outputs: [
132
- {
133
- internalType: "uint256",
134
- name: "",
135
- type: "uint256",
136
- },
137
- ],
138
- stateMutability: "view",
139
- type: "function",
140
- },
141
- {
142
- inputs: [
143
- {
144
- internalType: "address",
145
- name: "spender",
146
- type: "address",
147
- },
148
- {
149
- internalType: "uint256",
150
- name: "amount",
151
- type: "uint256",
152
- },
153
- ],
154
- name: "approve",
155
- outputs: [
156
- {
157
- internalType: "bool",
158
- name: "",
159
- type: "bool",
160
- },
161
- ],
162
- stateMutability: "nonpayable",
163
- type: "function",
164
- },
165
- {
166
- inputs: [
167
- {
168
- internalType: "address",
169
- name: "account",
170
- type: "address",
171
- },
172
- ],
173
- name: "balanceOf",
174
- outputs: [
175
- {
176
- internalType: "uint256",
177
- name: "",
178
- type: "uint256",
179
- },
180
- ],
181
- stateMutability: "view",
182
- type: "function",
183
- },
184
- {
185
- inputs: [],
186
- name: "decimals",
187
- outputs: [
188
- {
189
- internalType: "uint8",
190
- name: "",
191
- type: "uint8",
192
- },
193
- ],
194
- stateMutability: "view",
195
- type: "function",
196
- },
197
- {
198
- inputs: [
199
- {
200
- internalType: "address",
201
- name: "spender",
202
- type: "address",
203
- },
204
- {
205
- internalType: "uint256",
206
- name: "subtractedValue",
207
- type: "uint256",
208
- },
209
- ],
210
- name: "decreaseAllowance",
211
- outputs: [
212
- {
213
- internalType: "bool",
214
- name: "",
215
- type: "bool",
216
- },
217
- ],
218
- stateMutability: "nonpayable",
219
- type: "function",
220
- },
221
- {
222
- inputs: [
223
- {
224
- internalType: "uint256",
225
- name: "_amount",
226
- type: "uint256",
227
- },
228
- {
229
- internalType: "address",
230
- name: "recipient",
231
- type: "address",
232
- },
233
- ],
234
- name: "deposit",
235
- outputs: [
236
- {
237
- internalType: "uint256",
238
- name: "shares",
239
- type: "uint256",
240
- },
241
- ],
242
- stateMutability: "nonpayable",
243
- type: "function",
244
- },
245
- {
246
- inputs: [
247
- {
248
- internalType: "uint256",
249
- name: "_amount",
250
- type: "uint256",
251
- },
252
- ],
253
- name: "deposit",
254
- outputs: [
255
- {
256
- internalType: "uint256",
257
- name: "",
258
- type: "uint256",
259
- },
260
- ],
261
- stateMutability: "nonpayable",
262
- type: "function",
263
- },
264
- {
265
- inputs: [],
266
- name: "deposit",
267
- outputs: [
268
- {
269
- internalType: "uint256",
270
- name: "",
271
- type: "uint256",
272
- },
273
- ],
274
- stateMutability: "nonpayable",
275
- type: "function",
276
- },
277
- {
278
- inputs: [
279
- {
280
- internalType: "address",
281
- name: "spender",
282
- type: "address",
283
- },
284
- {
285
- internalType: "uint256",
286
- name: "addedValue",
287
- type: "uint256",
288
- },
289
- ],
290
- name: "increaseAllowance",
291
- outputs: [
292
- {
293
- internalType: "bool",
294
- name: "",
295
- type: "bool",
296
- },
297
- ],
298
- stateMutability: "nonpayable",
299
- type: "function",
300
- },
301
- {
302
- inputs: [],
303
- name: "name",
304
- outputs: [
305
- {
306
- internalType: "string",
307
- name: "",
308
- type: "string",
309
- },
310
- ],
311
- stateMutability: "view",
312
- type: "function",
313
- },
314
- {
315
- inputs: [],
316
- name: "owner",
317
- outputs: [
318
- {
319
- internalType: "address",
320
- name: "",
321
- type: "address",
322
- },
323
- ],
324
- stateMutability: "view",
325
- type: "function",
326
- },
327
- {
328
- inputs: [],
329
- name: "pricePerShare",
330
- outputs: [
331
- {
332
- internalType: "uint256",
333
- name: "",
334
- type: "uint256",
335
- },
336
- ],
337
- stateMutability: "view",
338
- type: "function",
339
- },
340
- {
341
- inputs: [],
342
- name: "renounceOwnership",
343
- outputs: [],
344
- stateMutability: "nonpayable",
345
- type: "function",
346
- },
347
- {
348
- inputs: [
349
- {
350
- internalType: "uint256",
351
- name: "newPrice",
352
- type: "uint256",
353
- },
354
- ],
355
- name: "setPricePerShare",
356
- outputs: [],
357
- stateMutability: "nonpayable",
358
- type: "function",
359
- },
360
- {
361
- inputs: [],
362
- name: "symbol",
363
- outputs: [
364
- {
365
- internalType: "string",
366
- name: "",
367
- type: "string",
368
- },
369
- ],
370
- stateMutability: "view",
371
- type: "function",
372
- },
373
- {
374
- inputs: [],
375
- name: "token",
376
- outputs: [
377
- {
378
- internalType: "address",
379
- name: "",
380
- type: "address",
381
- },
382
- ],
383
- stateMutability: "view",
384
- type: "function",
385
- },
386
- {
387
- inputs: [],
388
- name: "totalSupply",
389
- outputs: [
390
- {
391
- internalType: "uint256",
392
- name: "",
393
- type: "uint256",
394
- },
395
- ],
396
- stateMutability: "view",
397
- type: "function",
398
- },
399
- {
400
- inputs: [
401
- {
402
- internalType: "address",
403
- name: "recipient",
404
- type: "address",
405
- },
406
- {
407
- internalType: "uint256",
408
- name: "amount",
409
- type: "uint256",
410
- },
411
- ],
412
- name: "transfer",
413
- outputs: [
414
- {
415
- internalType: "bool",
416
- name: "",
417
- type: "bool",
418
- },
419
- ],
420
- stateMutability: "nonpayable",
421
- type: "function",
422
- },
423
- {
424
- inputs: [
425
- {
426
- internalType: "address",
427
- name: "sender",
428
- type: "address",
429
- },
430
- {
431
- internalType: "address",
432
- name: "recipient",
433
- type: "address",
434
- },
435
- {
436
- internalType: "uint256",
437
- name: "amount",
438
- type: "uint256",
439
- },
440
- ],
441
- name: "transferFrom",
442
- outputs: [
443
- {
444
- internalType: "bool",
445
- name: "",
446
- type: "bool",
447
- },
448
- ],
449
- stateMutability: "nonpayable",
450
- type: "function",
451
- },
452
- {
453
- inputs: [
454
- {
455
- internalType: "address",
456
- name: "newOwner",
457
- type: "address",
458
- },
459
- ],
460
- name: "transferOwnership",
461
- outputs: [],
462
- stateMutability: "nonpayable",
463
- type: "function",
464
- },
465
- {
466
- inputs: [
467
- {
468
- internalType: "address",
469
- name: "",
470
- type: "address",
471
- },
472
- ],
473
- name: "updaters",
474
- outputs: [
475
- {
476
- internalType: "bool",
477
- name: "",
478
- type: "bool",
479
- },
480
- ],
481
- stateMutability: "view",
482
- type: "function",
483
- },
484
- {
485
- inputs: [
486
- {
487
- internalType: "uint256",
488
- name: "maxShares",
489
- type: "uint256",
490
- },
491
- {
492
- internalType: "address",
493
- name: "recipient",
494
- type: "address",
495
- },
496
- ],
497
- name: "withdraw",
498
- outputs: [
499
- {
500
- internalType: "uint256",
501
- name: "",
502
- type: "uint256",
503
- },
504
- ],
505
- stateMutability: "nonpayable",
506
- type: "function",
507
- },
508
- {
509
- inputs: [
510
- {
511
- internalType: "uint256",
512
- name: "maxShares",
513
- type: "uint256",
514
- },
515
- ],
516
- name: "withdraw",
517
- outputs: [
518
- {
519
- internalType: "uint256",
520
- name: "",
521
- type: "uint256",
522
- },
523
- ],
524
- stateMutability: "nonpayable",
525
- type: "function",
526
- },
527
- {
528
- inputs: [],
529
- name: "withdraw",
530
- outputs: [
531
- {
532
- internalType: "uint256",
533
- name: "",
534
- type: "uint256",
535
- },
536
- ],
537
- stateMutability: "nonpayable",
538
- type: "function",
539
- },
540
- {
541
- inputs: [
542
- {
543
- internalType: "uint256",
544
- name: "maxShares",
545
- type: "uint256",
546
- },
547
- {
548
- internalType: "address",
549
- name: "",
550
- type: "address",
551
- },
552
- {
553
- internalType: "uint256",
554
- name: "",
555
- type: "uint256",
556
- },
557
- ],
558
- name: "withdraw",
559
- outputs: [
560
- {
561
- internalType: "uint256",
562
- name: "amount",
563
- type: "uint256",
564
- },
565
- ],
566
- stateMutability: "nonpayable",
567
- type: "function",
568
- },
569
- ];
570
- var _bytecode = "0x60806040523480156200001157600080fd5b5060405162002eae38038062002eae833981810160405260208110156200003757600080fd5b81019080805190602001909291905050508073ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156200008f57600080fd5b505afa158015620000a4573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052506020811015620000cf57600080fd5b8101908080516040519392919084640100000000821115620000f057600080fd5b838201915060208201858111156200010757600080fd5b82518660018202830111640100000000821117156200012557600080fd5b8083526020830192505050908051906020019080838360005b838110156200015b5780820151818401526020810190506200013e565b50505050905090810190601f168015620001895780820380516001836020036101000a031916815260200191505b5060405250505060405160200180807f796561726e20000000000000000000000000000000000000000000000000000081525060060182805190602001908083835b60208310620001f05780518252602082019150602081019050602083039250620001cb565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040528173ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156200026b57600080fd5b505afa15801562000280573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052506020811015620002ab57600080fd5b8101908080516040519392919084640100000000821115620002cc57600080fd5b83820191506020820185811115620002e357600080fd5b82518660018202830111640100000000821117156200030157600080fd5b8083526020830192505050908051906020019080838360005b83811015620003375780820151818401526020810190506200031a565b50505050905090810190601f168015620003655780820380516001836020036101000a031916815260200191505b5060405250505060405160200180807f797600000000000000000000000000000000000000000000000000000000000081525060020182805190602001908083835b60208310620003cc5780518252602082019150602081019050602083039250620003a7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405281600390805190602001906200041892919062000644565b5080600490805190602001906200043192919062000644565b506012600560006101000a81548160ff021916908360ff16021790555050506000620004626200060760201b60201c565b905080600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620005958173ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156200054c57600080fd5b505afa15801562000561573d6000803e3d6000fd5b505050506040513d60208110156200057857600080fd5b81019080805190602001909291905050506200060f60201b60201c565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620005eb6200062d60201b620014231760201c565b60ff16600a0a60098190555060095460078190555050620006fa565b600033905090565b80600560006101000a81548160ff021916908360ff16021790555050565b6000600560009054906101000a900460ff16905090565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200067c5760008555620006c8565b82601f106200069757805160ff1916838001178555620006c8565b82800160010185558215620006c8579182015b82811115620006c7578251825591602001919060010190620006aa565b5b509050620006d79190620006db565b5090565b5b80821115620006f6576000816000905550600101620006dc565b5090565b6127a4806200070a6000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c806370a08231116100de578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e146107ef578063e63697c814610867578063f2fde38b146108d3578063fc0c546a146109175761018d565b8063a9059cbb1461072b578063b6b55f251461078f578063d0e30db0146107d15761018d565b806370a0823114610590578063715018a6146105e85780638da5cb5b146105f257806395d89b411461062657806399530b06146106a9578063a457c2d7146106c75761018d565b80632e1a7d4d1161014b5780633ccfd60b116101255780633ccfd60b1461047257806343d24a5e1461049057806354a055c1146104d45780636e553f651461052e5761018d565b80632e1a7d4d146103ab578063313ce567146103ed578063395093511461040e5761018d565b8062f714ce1461019257806306fdde03146101f4578063095ea7b314610277578063118c9a07146102db57806318160ddd1461030957806323b872dd14610327575b600080fd5b6101de600480360360408110156101a857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061094b565b6040518082815260200191505060405180910390f35b6101fc610961565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561023c578082015181840152602081019050610221565b50505050905090810190601f1680156102695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102c36004803603604081101561028d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610970565b60405180821515815260200191505060405180910390f35b610307600480360360208110156102f157600080fd5b810190808035906020019092919050505061098e565b005b610311610a57565b6040518082815260200191505060405180910390f35b6103936004803603606081101561033d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a61565b60405180821515815260200191505060405180910390f35b6103d7600480360360208110156103c157600080fd5b8101908080359060200190929190505050610b3a565b6040518082815260200191505060405180910390f35b6103f5610b4d565b604051808260ff16815260200191505060405180910390f35b61045a6004803603604081101561042457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b5c565b60405180821515815260200191505060405180910390f35b61047a610c0f565b6040518082815260200191505060405180910390f35b6104d2600480360360208110156104a657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c27565b005b610516600480360360208110156104ea57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c82565b60405180821515815260200191505060405180910390f35b61057a6004803603604081101561054457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ca2565b6040518082815260200191505060405180910390f35b6105d2600480360360208110156105a657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d2e565b6040518082815260200191505060405180910390f35b6105f0610d76565b005b6105fa610ee6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61062e610f10565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561066e578082015181840152602081019050610653565b50505050905090810190601f16801561069b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6106b1610f1f565b6040518082815260200191505060405180910390f35b610713600480360360408110156106dd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f25565b60405180821515815260200191505060405180910390f35b6107776004803603604081101561074157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ff2565b60405180821515815260200191505060405180910390f35b6107bb600480360360208110156107a557600080fd5b8101908080359060200190929190505050611010565b6040518082815260200191505060405180910390f35b6107d9611023565b6040518082815260200191505060405180910390f35b6108516004803603604081101561080557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110f6565b6040518082815260200191505060405180910390f35b6108bd6004803603606081101561087d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061117d565b6040518082815260200191505060405180910390f35b610915600480360360208110156108e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611208565b005b61091f6113fd565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006109598383600161117d565b905092915050565b606061096b61143a565b905090565b600061098461097d6114dc565b84846114e4565b6001905092915050565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610a4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f666f72207570646174657273206f6e6c7900000000000000000000000000000081525060200191505060405180910390fd5b8060078190555050565b6000600254905090565b6000610a6e8484846116db565b610b2f84610a7a6114dc565b610b2a8560405180606001604052806028815260200161268e60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610ae06114dc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461199c9092919063ffffffff16565b6114e4565b600190509392505050565b6000610b46823361094b565b9050919050565b6000610b57611423565b905090565b6000610c05610b696114dc565b84610c008560016000610b7a6114dc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a5690919063ffffffff16565b6114e4565b6001905092915050565b6000610c22610c1d33610d2e565b610b3a565b905090565b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60086020528060005260406000206000915054906101000a900460ff1681565b6000610cf3333085600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ade909392919063ffffffff16565b610d1c600754610d0e60095486611b9f90919063ffffffff16565b611c2590919063ffffffff16565b9050610d288282611cae565b92915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d7e6114dc565b73ffffffffffffffffffffffffffffffffffffffff16610d9c610ee6565b73ffffffffffffffffffffffffffffffffffffffff1614610e25576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060610f1a611e75565b905090565b60075481565b6000610fe8610f326114dc565b84610fe38560405180606001604052806025815260200161274a6025913960016000610f5c6114dc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461199c9092919063ffffffff16565b6114e4565b6001905092915050565b6000611006610fff6114dc565b84846116db565b6001905092915050565b600061101c8233610ca2565b9050919050565b60006110f1600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156110b157600080fd5b505afa1580156110c5573d6000803e3d6000fd5b505050506040513d60208110156110db57600080fd5b8101908080519060200190929190505050611010565b905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006111893385611f17565b6111b26009546111a460075487611b9f90919063ffffffff16565b611c2590919063ffffffff16565b90506112013382600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120db9092919063ffffffff16565b9392505050565b6112106114dc565b73ffffffffffffffffffffffffffffffffffffffff1661122e610ee6565b73ffffffffffffffffffffffffffffffffffffffff16146112b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561133d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125d96026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560009054906101000a900460ff16905090565b606060038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114d25780601f106114a7576101008083540402835291602001916114d2565b820191906000526020600020905b8154815290600101906020018083116114b557829003601f168201915b5050505050905090565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561156a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806126fc6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806125ff6022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611761576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806126d76025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806125946023913960400191505060405180910390fd5b6117f283838361217d565b61185d81604051806060016040528060268152602001612621602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461199c9092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506118f0816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a5690919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290611a49576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a0e5780820151818401526020810190506119f3565b50505050905090810190601f168015611a3b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b600080828401905083811015611ad4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611b99846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612182565b50505050565b600080831415611bb25760009050611c1f565b6000828402905082848281611bc357fe5b0414611c1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061266d6021913960400191505060405180910390fd5b809150505b92915050565b6000808211611c9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611ca557fe5b04905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b611d5d6000838361217d565b611d7281600254611a5690919063ffffffff16565b600281905550611dc9816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a5690919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611f0d5780601f10611ee257610100808354040283529160200191611f0d565b820191906000526020600020905b815481529060010190602001808311611ef057829003601f168201915b5050505050905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f9d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806126b66021913960400191505060405180910390fd5b611fa98260008361217d565b612014816040518060600160405280602281526020016125b7602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461199c9092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061206b8160025461227190919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6121788363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612182565b505050565b505050565b60006121e4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166122f49092919063ffffffff16565b905060008151111561226c5780806020019051602081101561220557600080fd5b810190808051906020019092919050505061226b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612720602a913960400191505060405180910390fd5b5b505050565b6000828211156122e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6060612303848460008561230c565b90509392505050565b606082471015612367576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806126476026913960400191505060405180910390fd5b612370856124b4565b6123e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612431578051825260208201915060208101905060208303925061240e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612493576040519150601f19603f3d011682016040523d82523d6000602084013e612498565b606091505b50915091506124a88282866124c7565b92505050949350505050565b600080823b905060008111915050919050565b606083156124d75782905061258c565b6000835111156124ea5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612551578082015181840152602081019050612536565b50505050905090810190601f16801561257e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122015673943e87ea5e86ae2d865ae77c59421a6781a449995d1c17bc60b787895d964736f6c63430007060033";
571
- var YearnMock__factory = /** @class */ (function (_super) {
572
- __extends(YearnMock__factory, _super);
573
- function YearnMock__factory(signer) {
574
- return _super.call(this, _abi, _bytecode, signer) || this;
575
- }
576
- YearnMock__factory.prototype.deploy = function (_token, overrides) {
577
- return _super.prototype.deploy.call(this, _token, overrides || {});
578
- };
579
- YearnMock__factory.prototype.getDeployTransaction = function (_token, overrides) {
580
- return _super.prototype.getDeployTransaction.call(this, _token, overrides || {});
581
- };
582
- YearnMock__factory.prototype.attach = function (address) {
583
- return _super.prototype.attach.call(this, address);
584
- };
585
- YearnMock__factory.prototype.connect = function (signer) {
586
- return _super.prototype.connect.call(this, signer);
587
- };
588
- YearnMock__factory.createInterface = function () {
589
- return new ethers_1.utils.Interface(_abi);
590
- };
591
- YearnMock__factory.connect = function (address, signerOrProvider) {
592
- return new ethers_1.Contract(address, _abi, signerOrProvider);
593
- };
594
- YearnMock__factory.bytecode = _bytecode;
595
- YearnMock__factory.abi = _abi;
596
- return YearnMock__factory;
597
- }(ethers_1.ContractFactory));
598
- exports.YearnMock__factory = YearnMock__factory;