@gearbox-protocol/sdk 0.0.60 → 0.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/lib/core/contracts.js +4 -4
  2. package/lib/index.d.ts +1 -0
  3. package/lib/index.js +3 -1
  4. package/lib/pathfinder/path.js +9 -8
  5. package/lib/pathfinder/priority.d.ts +1 -1
  6. package/lib/pathfinder/priority.js +11 -11
  7. package/lib/tokens/convex.d.ts +2 -1
  8. package/lib/tokens/convex.js +11 -11
  9. package/lib/tokens/curveLP.d.ts +2 -1
  10. package/lib/tokens/curveLP.js +7 -7
  11. package/lib/tokens/gear.d.ts +2 -1
  12. package/lib/tokens/gear.js +6 -6
  13. package/lib/tokens/normal.d.ts +2 -1
  14. package/lib/tokens/normal.js +29 -29
  15. package/lib/tokens/token.d.ts +0 -12
  16. package/lib/tokens/token.js +7 -20
  17. package/lib/tokens/tokenType.d.ts +12 -0
  18. package/lib/tokens/tokenType.js +16 -0
  19. package/lib/tokens/yearn.d.ts +2 -1
  20. package/lib/tokens/yearn.js +7 -7
  21. package/package.json +1 -1
  22. package/src/core/contracts.ts +5 -5
  23. package/src/index.ts +1 -0
  24. package/src/pathfinder/path.ts +3 -2
  25. package/src/pathfinder/priority.ts +1 -1
  26. package/src/tokens/convex.ts +2 -1
  27. package/src/tokens/curveLP.ts +2 -1
  28. package/src/tokens/gear.ts +2 -1
  29. package/src/tokens/normal.ts +2 -1
  30. package/src/tokens/token.ts +6 -19
  31. package/src/tokens/tokenType.ts +12 -0
  32. package/src/tokens/yearn.ts +2 -1
  33. package/lib/core/pathfinder.d.ts +0 -54
  34. package/lib/core/pathfinder.js +0 -612
  35. package/lib/core/token.d.ts +0 -104
  36. package/lib/core/token.js +0 -1359
  37. package/lib/core/tokenData.d.ts +0 -24
  38. package/lib/core/tokenData.js +0 -57
  39. package/lib/pathfinder/connector.d.ts +0 -7
  40. package/lib/pathfinder/connector.js +0 -78
  41. package/lib/pathfinder/connectorPathAsset.d.ts +0 -7
  42. package/lib/pathfinder/connectorPathAsset.js +0 -144
  43. package/lib/pathfinder/convexLPTokenPathAsset.d.ts +0 -5
  44. package/lib/pathfinder/convexLPTokenPathAsset.js +0 -77
  45. package/lib/pathfinder/curveLPPathAsset.d.ts +0 -5
  46. package/lib/pathfinder/curveLPPathAsset.js +0 -72
  47. package/lib/pathfinder/curveMetaLP.d.ts +0 -5
  48. package/lib/pathfinder/curveMetaLP.js +0 -72
  49. package/lib/pathfinder/metaCurveLPPathAsset.d.ts +0 -5
  50. package/lib/pathfinder/metaCurveLPPathAsset.js +0 -72
  51. package/lib/pathfinder/normalToken.d.ts +0 -7
  52. package/lib/pathfinder/normalToken.js +0 -78
  53. package/lib/pathfinder/normalTokenPathAsset.d.ts +0 -5
  54. package/lib/pathfinder/normalTokenPathAsset.js +0 -136
  55. package/lib/pathfinder/notes.d.ts +0 -4
  56. package/lib/pathfinder/notes.js +0 -58
  57. package/lib/pathfinder/pathfinder.d.ts +0 -24
  58. package/lib/pathfinder/pathfinder.js +0 -132
  59. package/lib/pathfinder/yearnVaultOfCurveLPPathAsset.d.ts +0 -5
  60. package/lib/pathfinder/yearnVaultOfCurveLPPathAsset.js +0 -87
  61. package/lib/pathfinder/yearnVaultOfMetaCurveLPPathAsset.d.ts +0 -5
  62. package/lib/pathfinder/yearnVaultOfMetaCurveLPPathAsset.js +0 -87
  63. package/lib/pathfinder/yearnVaultPathAsset.d.ts +0 -5
  64. package/lib/pathfinder/yearnVaultPathAsset.js +0 -87
  65. package/lib/types/ACL.d.ts +0 -491
  66. package/lib/types/ACLTrait.d.ts +0 -148
  67. package/lib/types/ACLTraitTest.d.ts +0 -209
  68. package/lib/types/AccountFactory.d.ts +0 -716
  69. package/lib/types/AccountMining.d.ts +0 -222
  70. package/lib/types/AddressProvider.d.ts +0 -912
  71. package/lib/types/AggregatorV3Interface.d.ts +0 -234
  72. package/lib/types/ChainlinkPriceFeedMock.d.ts +0 -215
  73. package/lib/types/ContractsRegister.d.ts +0 -398
  74. package/lib/types/CreditAccount.d.ts +0 -443
  75. package/lib/types/CreditFilter.d.ts +0 -1609
  76. package/lib/types/CreditFilterMock.d.ts +0 -1687
  77. package/lib/types/CreditManager.d.ts +0 -1285
  78. package/lib/types/CreditManagerMockForFilter.d.ts +0 -605
  79. package/lib/types/CreditManagerMockForPoolTest.d.ts +0 -204
  80. package/lib/types/CurveMock.d.ts +0 -298
  81. package/lib/types/CurveV1Adapter.d.ts +0 -349
  82. package/lib/types/DataCompressor.d.ts +0 -1331
  83. package/lib/types/DieselToken.d.ts +0 -567
  84. package/lib/types/ERC165.d.ts +0 -116
  85. package/lib/types/ERC20.d.ts +0 -411
  86. package/lib/types/ERC20BlockingMock.d.ts +0 -568
  87. package/lib/types/ERC721.d.ts +0 -625
  88. package/lib/types/Errors.d.ts +0 -1854
  89. package/lib/types/ExecutorMock.d.ts +0 -140
  90. package/lib/types/FlashLoanAttacker.d.ts +0 -170
  91. package/lib/types/FuzzHarness.d.ts +0 -124
  92. package/lib/types/GearBeta.d.ts +0 -745
  93. package/lib/types/GearToken.d.ts +0 -888
  94. package/lib/types/IAccountFactory.d.ts +0 -317
  95. package/lib/types/IAccountMiner.d.ts +0 -124
  96. package/lib/types/IAppAddressProvider.d.ts +0 -198
  97. package/lib/types/IAppCreditManager.d.ts +0 -408
  98. package/lib/types/IAppERC20.d.ts +0 -309
  99. package/lib/types/IAppPoolService.d.ts +0 -166
  100. package/lib/types/ICreditAccount.d.ts +0 -430
  101. package/lib/types/ICreditFilter.d.ts +0 -1162
  102. package/lib/types/ICreditManager.d.ts +0 -971
  103. package/lib/types/ICurvePool.d.ts +0 -298
  104. package/lib/types/IDataCompressor.d.ts +0 -1231
  105. package/lib/types/IERC165.d.ts +0 -116
  106. package/lib/types/IERC20.d.ts +0 -294
  107. package/lib/types/IERC721.d.ts +0 -472
  108. package/lib/types/IERC721Enumerable.d.ts +0 -564
  109. package/lib/types/IERC721Metadata.d.ts +0 -523
  110. package/lib/types/IERC721Receiver.d.ts +0 -132
  111. package/lib/types/IGearToken.d.ts +0 -527
  112. package/lib/types/IInterestRateModel.d.ts +0 -121
  113. package/lib/types/IMerkleDistributor.d.ts +0 -190
  114. package/lib/types/IPoolService.d.ts +0 -772
  115. package/lib/types/IPriceOracle.d.ts +0 -211
  116. package/lib/types/IQuoter.d.ts +0 -269
  117. package/lib/types/ISwapRouter.d.ts +0 -404
  118. package/lib/types/IUniswapV2Migrator.d.ts +0 -134
  119. package/lib/types/IUniswapV2Router01.d.ts +0 -1119
  120. package/lib/types/IUniswapV2Router02.d.ts +0 -1432
  121. package/lib/types/IUniswapV3SwapCallback.d.ts +0 -127
  122. package/lib/types/IWETH.d.ts +0 -169
  123. package/lib/types/IWETHGateway.d.ts +0 -335
  124. package/lib/types/IYVault.d.ts +0 -558
  125. package/lib/types/LeveragedActions.d.ts +0 -772
  126. package/lib/types/LinearInterestRateModel.d.ts +0 -279
  127. package/lib/types/MockPoolService.d.ts +0 -1271
  128. package/lib/types/Multicall2.d.ts +0 -449
  129. package/lib/types/Ownable.d.ts +0 -169
  130. package/lib/types/PathFinder.d.ts +0 -379
  131. package/lib/types/Pausable.d.ts +0 -105
  132. package/lib/types/PercentageMathTest.d.ts +0 -154
  133. package/lib/types/PoolService.d.ts +0 -1174
  134. package/lib/types/PriceOracle.d.ts +0 -387
  135. package/lib/types/StepVesting.d.ts +0 -411
  136. package/lib/types/TestPoolService.d.ts +0 -1294
  137. package/lib/types/TokenDistributor.d.ts +0 -640
  138. package/lib/types/TokenFeeMock.d.ts +0 -544
  139. package/lib/types/TokenMock.d.ts +0 -531
  140. package/lib/types/TreasuryMock.d.ts +0 -86
  141. package/lib/types/UniswapRouterMock.d.ts +0 -1520
  142. package/lib/types/UniswapV2Adapter.d.ts +0 -1463
  143. package/lib/types/UniswapV3Adapter.d.ts +0 -455
  144. package/lib/types/WETHGateway.d.ts +0 -376
  145. package/lib/types/WETHMock.d.ts +0 -433
  146. package/lib/types/WadRayMathTest.d.ts +0 -316
  147. package/lib/types/YearnAdapter.d.ts +0 -609
  148. package/lib/types/YearnMock.d.ts +0 -795
  149. package/lib/types/YearnPriceFeed.d.ts +0 -399
  150. package/lib/types/commons.d.ts +0 -16
  151. package/lib/types/commons.js +0 -5
  152. package/lib/types/contracts/support/PathFinder.d.ts +0 -154
  153. package/lib/types/contracts/support/PathFinder.js +0 -2
  154. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter.d.ts +0 -52
  155. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter.js +0 -2
  156. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.d.ts +0 -1
  157. package/lib/types/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.js +0 -2
  158. package/lib/types/factories/ACLTraitTest__factory.d.ts +0 -52
  159. package/lib/types/factories/ACLTraitTest__factory.js +0 -138
  160. package/lib/types/factories/ACLTrait__factory.d.ts +0 -31
  161. package/lib/types/factories/ACLTrait__factory.js +0 -75
  162. package/lib/types/factories/ACL__factory.d.ts +0 -45
  163. package/lib/types/factories/ACL__factory.js +0 -317
  164. package/lib/types/factories/AccountFactory__factory.d.ts +0 -72
  165. package/lib/types/factories/AccountFactory__factory.js +0 -508
  166. package/lib/types/factories/AccountMining__factory.d.ts +0 -56
  167. package/lib/types/factories/AccountMining__factory.js +0 -192
  168. package/lib/types/factories/AddressProvider__factory.d.ts +0 -52
  169. package/lib/types/factories/AddressProvider__factory.js +0 -582
  170. package/lib/types/factories/AggregatorV3Interface__factory.d.ts +0 -22
  171. package/lib/types/factories/AggregatorV3Interface__factory.js +0 -133
  172. package/lib/types/factories/ChainlinkPriceFeedMock__factory.d.ts +0 -42
  173. package/lib/types/factories/ChainlinkPriceFeedMock__factory.js +0 -193
  174. package/lib/types/factories/ContractsRegister__factory.d.ts +0 -56
  175. package/lib/types/factories/ContractsRegister__factory.js +0 -310
  176. package/lib/types/factories/CreditAccount__factory.d.ts +0 -32
  177. package/lib/types/factories/CreditAccount__factory.js +0 -262
  178. package/lib/types/factories/CreditFilterMock__factory.d.ts +0 -56
  179. package/lib/types/factories/CreditFilterMock__factory.js +0 -1083
  180. package/lib/types/factories/CreditFilter__factory.d.ts +0 -56
  181. package/lib/types/factories/CreditFilter__factory.js +0 -1047
  182. package/lib/types/factories/CreditManagerMockForFilter__factory.d.ts +0 -38
  183. package/lib/types/factories/CreditManagerMockForFilter__factory.js +0 -324
  184. package/lib/types/factories/CreditManagerMockForPoolTest__factory.d.ts +0 -48
  185. package/lib/types/factories/CreditManagerMockForPoolTest__factory.js +0 -131
  186. package/lib/types/factories/CreditManager__factory.d.ts +0 -77
  187. package/lib/types/factories/CreditManager__factory.js +0 -1030
  188. package/lib/types/factories/CurveMock__factory.d.ts +0 -42
  189. package/lib/types/factories/CurveMock__factory.js +0 -210
  190. package/lib/types/factories/CurveV1Adapter__factory.d.ts +0 -42
  191. package/lib/types/factories/CurveV1Adapter__factory.js +0 -254
  192. package/lib/types/factories/DataCompressor__factory.d.ts +0 -71
  193. package/lib/types/factories/DataCompressor__factory.js +0 -944
  194. package/lib/types/factories/DieselToken__factory.d.ts +0 -56
  195. package/lib/types/factories/DieselToken__factory.js +0 -432
  196. package/lib/types/factories/ERC165__factory.d.ts +0 -22
  197. package/lib/types/factories/ERC165__factory.js +0 -41
  198. package/lib/types/factories/ERC20BlockingMock__factory.d.ts +0 -56
  199. package/lib/types/factories/ERC20BlockingMock__factory.js +0 -429
  200. package/lib/types/factories/ERC20__factory.d.ts +0 -56
  201. package/lib/types/factories/ERC20__factory.js +0 -339
  202. package/lib/types/factories/ERC721__factory.d.ts +0 -56
  203. package/lib/types/factories/ERC721__factory.js +0 -468
  204. package/lib/types/factories/Errors__factory.d.ts +0 -28
  205. package/lib/types/factories/Errors__factory.js +0 -1015
  206. package/lib/types/factories/ExecutorMock__factory.d.ts +0 -38
  207. package/lib/types/factories/ExecutorMock__factory.js +0 -103
  208. package/lib/types/factories/FlashLoanAttacker__factory.d.ts +0 -48
  209. package/lib/types/factories/FlashLoanAttacker__factory.js +0 -117
  210. package/lib/types/factories/FuzzHarness__factory.d.ts +0 -38
  211. package/lib/types/factories/FuzzHarness__factory.js +0 -92
  212. package/lib/types/factories/GearBeta__factory.d.ts +0 -52
  213. package/lib/types/factories/GearBeta__factory.js +0 -527
  214. package/lib/types/factories/GearToken__factory.d.ts +0 -56
  215. package/lib/types/factories/GearToken__factory.js +0 -708
  216. package/lib/types/factories/IAccountFactory__factory.d.ts +0 -35
  217. package/lib/types/factories/IAccountFactory__factory.js +0 -226
  218. package/lib/types/factories/IAccountMiner__factory.d.ts +0 -28
  219. package/lib/types/factories/IAccountMiner__factory.js +0 -48
  220. package/lib/types/factories/IAppAddressProvider__factory.d.ts +0 -18
  221. package/lib/types/factories/IAppAddressProvider__factory.js +0 -100
  222. package/lib/types/factories/IAppCreditManager__factory.d.ts +0 -42
  223. package/lib/types/factories/IAppCreditManager__factory.js +0 -204
  224. package/lib/types/factories/IAppERC20__factory.d.ts +0 -22
  225. package/lib/types/factories/IAppERC20__factory.js +0 -194
  226. package/lib/types/factories/IAppPoolService__factory.d.ts +0 -22
  227. package/lib/types/factories/IAppPoolService__factory.js +0 -69
  228. package/lib/types/factories/ICreditAccount__factory.d.ts +0 -22
  229. package/lib/types/factories/ICreditAccount__factory.js +0 -218
  230. package/lib/types/factories/ICreditFilter__factory.d.ts +0 -35
  231. package/lib/types/factories/ICreditFilter__factory.js +0 -700
  232. package/lib/types/factories/ICreditManager__factory.d.ts +0 -56
  233. package/lib/types/factories/ICreditManager__factory.js +0 -720
  234. package/lib/types/factories/ICurvePool__factory.d.ts +0 -22
  235. package/lib/types/factories/ICurvePool__factory.js +0 -168
  236. package/lib/types/factories/IDataCompressor__factory.d.ts +0 -51
  237. package/lib/types/factories/IDataCompressor__factory.js +0 -826
  238. package/lib/types/factories/IERC165__factory.d.ts +0 -22
  239. package/lib/types/factories/IERC165__factory.js +0 -41
  240. package/lib/types/factories/IERC20__factory.d.ts +0 -35
  241. package/lib/types/factories/IERC20__factory.js +0 -205
  242. package/lib/types/factories/IERC721Enumerable__factory.d.ts +0 -35
  243. package/lib/types/factories/IERC721Enumerable__factory.js +0 -363
  244. package/lib/types/factories/IERC721Metadata__factory.d.ts +0 -35
  245. package/lib/types/factories/IERC721Metadata__factory.js +0 -352
  246. package/lib/types/factories/IERC721Receiver__factory.d.ts +0 -22
  247. package/lib/types/factories/IERC721Receiver__factory.js +0 -56
  248. package/lib/types/factories/IERC721__factory.d.ts +0 -35
  249. package/lib/types/factories/IERC721__factory.js +0 -307
  250. package/lib/types/factories/IGearToken__factory.d.ts +0 -35
  251. package/lib/types/factories/IGearToken__factory.js +0 -342
  252. package/lib/types/factories/IInterestRateModel__factory.d.ts +0 -22
  253. package/lib/types/factories/IInterestRateModel__factory.js +0 -46
  254. package/lib/types/factories/IMerkleDistributor__factory.d.ts +0 -35
  255. package/lib/types/factories/IMerkleDistributor__factory.js +0 -109
  256. package/lib/types/factories/IPoolService__factory.d.ts +0 -35
  257. package/lib/types/factories/IPoolService__factory.js +0 -580
  258. package/lib/types/factories/IPriceOracle__factory.d.ts +0 -35
  259. package/lib/types/factories/IPriceOracle__factory.js +0 -112
  260. package/lib/types/factories/IQuoter__factory.d.ts +0 -22
  261. package/lib/types/factories/IQuoter__factory.js +0 -148
  262. package/lib/types/factories/ISwapRouter__factory.d.ts +0 -27
  263. package/lib/types/factories/ISwapRouter__factory.js +0 -236
  264. package/lib/types/factories/IUniswapV2Migrator__factory.d.ts +0 -18
  265. package/lib/types/factories/IUniswapV2Migrator__factory.js +0 -55
  266. package/lib/types/factories/IUniswapV2Router01__factory.d.ts +0 -22
  267. package/lib/types/factories/IUniswapV2Router01__factory.js +0 -771
  268. package/lib/types/factories/IUniswapV2Router02__factory.d.ts +0 -22
  269. package/lib/types/factories/IUniswapV2Router02__factory.js +0 -973
  270. package/lib/types/factories/IUniswapV3SwapCallback__factory.d.ts +0 -18
  271. package/lib/types/factories/IUniswapV3SwapCallback__factory.js +0 -45
  272. package/lib/types/factories/IWETHGateway__factory.d.ts +0 -18
  273. package/lib/types/factories/IWETHGateway__factory.js +0 -150
  274. package/lib/types/factories/IWETH__factory.d.ts +0 -22
  275. package/lib/types/factories/IWETH__factory.js +0 -66
  276. package/lib/types/factories/IYVault__factory.d.ts +0 -35
  277. package/lib/types/factories/IYVault__factory.js +0 -411
  278. package/lib/types/factories/LeveragedActions__factory.d.ts +0 -84
  279. package/lib/types/factories/LeveragedActions__factory.js +0 -569
  280. package/lib/types/factories/LinearInterestRateModel__factory.d.ts +0 -42
  281. package/lib/types/factories/LinearInterestRateModel__factory.js +0 -209
  282. package/lib/types/factories/MockPoolService__factory.d.ts +0 -56
  283. package/lib/types/factories/MockPoolService__factory.js +0 -889
  284. package/lib/types/factories/Multicall2__factory.d.ts +0 -52
  285. package/lib/types/factories/Multicall2__factory.js +0 -364
  286. package/lib/types/factories/Ownable__factory.d.ts +0 -42
  287. package/lib/types/factories/Ownable__factory.js +0 -74
  288. package/lib/types/factories/PathFinder__factory.d.ts +0 -61
  289. package/lib/types/factories/PathFinder__factory.js +0 -302
  290. package/lib/types/factories/Pausable__factory.d.ts +0 -31
  291. package/lib/types/factories/Pausable__factory.js +0 -61
  292. package/lib/types/factories/PercentageMathTest__factory.d.ts +0 -32
  293. package/lib/types/factories/PercentageMathTest__factory.js +0 -101
  294. package/lib/types/factories/PoolService__factory.d.ts +0 -56
  295. package/lib/types/factories/PoolService__factory.js +0 -873
  296. package/lib/types/factories/PriceOracle__factory.d.ts +0 -56
  297. package/lib/types/factories/PriceOracle__factory.js +0 -290
  298. package/lib/types/factories/StepVesting__factory.d.ts +0 -52
  299. package/lib/types/factories/StepVesting__factory.js +0 -296
  300. package/lib/types/factories/TestPoolService__factory.d.ts +0 -56
  301. package/lib/types/factories/TestPoolService__factory.js +0 -932
  302. package/lib/types/factories/TokenDistributor__factory.d.ts +0 -82
  303. package/lib/types/factories/TokenDistributor__factory.js +0 -481
  304. package/lib/types/factories/TokenFeeMock__factory.d.ts +0 -56
  305. package/lib/types/factories/TokenFeeMock__factory.js +0 -427
  306. package/lib/types/factories/TokenMock__factory.d.ts +0 -56
  307. package/lib/types/factories/TokenMock__factory.js +0 -409
  308. package/lib/types/factories/TreasuryMock__factory.d.ts +0 -35
  309. package/lib/types/factories/TreasuryMock__factory.js +0 -70
  310. package/lib/types/factories/UniswapRouterMock__factory.d.ts +0 -32
  311. package/lib/types/factories/UniswapRouterMock__factory.js +0 -1046
  312. package/lib/types/factories/UniswapV2Adapter__factory.d.ts +0 -42
  313. package/lib/types/factories/UniswapV2Adapter__factory.js +0 -1059
  314. package/lib/types/factories/UniswapV3Adapter__factory.d.ts +0 -47
  315. package/lib/types/factories/UniswapV3Adapter__factory.js +0 -322
  316. package/lib/types/factories/WETHGateway__factory.d.ts +0 -70
  317. package/lib/types/factories/WETHGateway__factory.js +0 -241
  318. package/lib/types/factories/WETHMock__factory.d.ts +0 -52
  319. package/lib/types/factories/WETHMock__factory.js +0 -355
  320. package/lib/types/factories/WadRayMathTest__factory.d.ts +0 -32
  321. package/lib/types/factories/WadRayMathTest__factory.js +0 -239
  322. package/lib/types/factories/YearnAdapter__factory.d.ts +0 -56
  323. package/lib/types/factories/YearnAdapter__factory.js +0 -497
  324. package/lib/types/factories/YearnMock__factory.d.ts +0 -56
  325. package/lib/types/factories/YearnMock__factory.js +0 -598
  326. package/lib/types/factories/YearnPriceFeed__factory.d.ts +0 -56
  327. package/lib/types/factories/YearnPriceFeed__factory.js +0 -350
  328. package/lib/types/factories/contracts/support/PathFinder__factory.d.ts +0 -63
  329. package/lib/types/factories/contracts/support/PathFinder__factory.js +0 -319
  330. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter__factory.d.ts +0 -34
  331. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/ClaimZapFormatter__factory.js +0 -124
  332. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.d.ts +0 -1
  333. package/lib/types/factories/contracts/test/mocks/integrations/ConvexClaimZapFormatter.sol/index.js +0 -8
package/lib/core/token.js DELETED
@@ -1,1359 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var _a;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.tokenDataByAddress = exports.tokenDataByNetwork = exports.supportedTokens = exports.ConnectorTokens = exports.Curve3CrvUnderlyingTokenIndex = exports.priority = exports.TokenType = void 0;
16
- var mappers_1 = require("../utils/mappers");
17
- var tradeTypes_1 = require("./tradeTypes");
18
- var ethers_1 = require("ethers");
19
- var TokenType;
20
- (function (TokenType) {
21
- TokenType[TokenType["CONNECTOR"] = 0] = "CONNECTOR";
22
- TokenType[TokenType["NORMAL_TOKEN"] = 1] = "NORMAL_TOKEN";
23
- TokenType[TokenType["CURVE_LP"] = 2] = "CURVE_LP";
24
- TokenType[TokenType["META_CURVE_LP"] = 3] = "META_CURVE_LP";
25
- TokenType[TokenType["YEARN_VAULT"] = 4] = "YEARN_VAULT";
26
- TokenType[TokenType["YEARN_VAULT_OF_CURVE_LP"] = 5] = "YEARN_VAULT_OF_CURVE_LP";
27
- TokenType[TokenType["YEARN_VAULT_OF_META_CURVE_LP"] = 6] = "YEARN_VAULT_OF_META_CURVE_LP";
28
- TokenType[TokenType["CONVEX_LP_TOKEN"] = 7] = "CONVEX_LP_TOKEN";
29
- TokenType[TokenType["CONVEX_STAKED_PHANTOM_TOKEN"] = 8] = "CONVEX_STAKED_PHANTOM_TOKEN";
30
- TokenType[TokenType["DIESEL_LP_TOKEN"] = 9] = "DIESEL_LP_TOKEN";
31
- })(TokenType = exports.TokenType || (exports.TokenType = {}));
32
- exports.priority = (_a = {},
33
- _a[TokenType.CONNECTOR] = 1,
34
- _a[TokenType.NORMAL_TOKEN] = 2,
35
- _a[TokenType.CURVE_LP] = 3,
36
- _a[TokenType.YEARN_VAULT] = 3,
37
- _a[TokenType.META_CURVE_LP] = 4,
38
- _a[TokenType.YEARN_VAULT_OF_CURVE_LP] = 4,
39
- _a[TokenType.CONVEX_LP_TOKEN] = 5,
40
- _a[TokenType.YEARN_VAULT_OF_META_CURVE_LP] = 5,
41
- _a[TokenType.CONVEX_STAKED_PHANTOM_TOKEN] = 5,
42
- _a[TokenType.DIESEL_LP_TOKEN] = 6,
43
- _a);
44
- exports.Curve3CrvUnderlyingTokenIndex = {
45
- DAI: ethers_1.BigNumber.from(0),
46
- USDC: ethers_1.BigNumber.from(1),
47
- USDT: ethers_1.BigNumber.from(2)
48
- };
49
- exports.ConnectorTokens = ["DAI", "USDC", "WETH", "WBTC"];
50
- exports.supportedTokens = {
51
- "1INCH": {
52
- name: "1INCH",
53
- decimals: 18,
54
- symbol: "1INCH",
55
- type: TokenType.NORMAL_TOKEN,
56
- swapActions: [
57
- {
58
- type: tradeTypes_1.TradeType.UniswapV3Swap,
59
- contract: "UNISWAP_V3_ROUTER"
60
- },
61
- {
62
- type: tradeTypes_1.TradeType.UniswapV2Swap,
63
- contract: "UNISWAP_V2_ROUTER"
64
- },
65
- {
66
- type: tradeTypes_1.TradeType.UniswapV2Swap,
67
- contract: "SUSHISWAP_ROUTER"
68
- }
69
- ]
70
- },
71
- AAVE: {
72
- name: "AAVE",
73
- decimals: 18,
74
- symbol: "AAVE",
75
- type: TokenType.NORMAL_TOKEN,
76
- swapActions: [
77
- {
78
- type: tradeTypes_1.TradeType.UniswapV3Swap,
79
- contract: "UNISWAP_V3_ROUTER"
80
- },
81
- {
82
- type: tradeTypes_1.TradeType.UniswapV2Swap,
83
- contract: "UNISWAP_V2_ROUTER"
84
- },
85
- {
86
- type: tradeTypes_1.TradeType.UniswapV2Swap,
87
- contract: "SUSHISWAP_ROUTER"
88
- }
89
- ]
90
- },
91
- COMP: {
92
- name: "COMP",
93
- decimals: 18,
94
- symbol: "COMP",
95
- type: TokenType.NORMAL_TOKEN,
96
- swapActions: [
97
- {
98
- type: tradeTypes_1.TradeType.UniswapV3Swap,
99
- contract: "UNISWAP_V3_ROUTER"
100
- },
101
- {
102
- type: tradeTypes_1.TradeType.UniswapV2Swap,
103
- contract: "UNISWAP_V2_ROUTER"
104
- },
105
- {
106
- type: tradeTypes_1.TradeType.UniswapV2Swap,
107
- contract: "SUSHISWAP_ROUTER"
108
- }
109
- ]
110
- },
111
- CRV: {
112
- name: "CRV",
113
- decimals: 18,
114
- symbol: "CRV",
115
- type: TokenType.NORMAL_TOKEN,
116
- swapActions: [
117
- {
118
- type: tradeTypes_1.TradeType.UniswapV3Swap,
119
- contract: "UNISWAP_V3_ROUTER"
120
- },
121
- {
122
- type: tradeTypes_1.TradeType.UniswapV2Swap,
123
- contract: "UNISWAP_V2_ROUTER"
124
- },
125
- {
126
- type: tradeTypes_1.TradeType.UniswapV2Swap,
127
- contract: "SUSHISWAP_ROUTER"
128
- }
129
- ]
130
- },
131
- DAI: {
132
- name: "DAI",
133
- decimals: 18,
134
- symbol: "DAI",
135
- type: TokenType.CONNECTOR,
136
- swapActions: [
137
- {
138
- type: tradeTypes_1.TradeType.UniswapV3Swap,
139
- contract: "UNISWAP_V3_ROUTER"
140
- },
141
- {
142
- type: tradeTypes_1.TradeType.UniswapV2Swap,
143
- contract: "UNISWAP_V2_ROUTER"
144
- },
145
- {
146
- type: tradeTypes_1.TradeType.UniswapV2Swap,
147
- contract: "SUSHISWAP_ROUTER"
148
- },
149
- {
150
- type: tradeTypes_1.TradeType.CurveExchange,
151
- contract: "CURVE_3CRV_POOL",
152
- tokenOut: ["USDC", "USDT"]
153
- },
154
- {
155
- type: tradeTypes_1.TradeType.CurveExchange,
156
- contract: "CURVE_SUSD_POOL",
157
- tokenOut: ["USDC", "USDT", "sUSD"]
158
- }
159
- ],
160
- lpActions: [
161
- {
162
- type: tradeTypes_1.TradeType.CurveDepositLP,
163
- contract: "CURVE_3CRV_POOL",
164
- tokenOut: "3Crv"
165
- },
166
- {
167
- type: tradeTypes_1.TradeType.CurveDepositLP,
168
- contract: "CURVE_SUSD_POOL",
169
- tokenOut: "crvPlain3andSUSD"
170
- },
171
- {
172
- type: tradeTypes_1.TradeType.YearnDeposit,
173
- contract: "YEARN_DAI_VAULT",
174
- tokenOut: "yvDAI"
175
- }
176
- ]
177
- },
178
- DPI: {
179
- name: "DPI",
180
- decimals: 18,
181
- symbol: "DPI",
182
- type: TokenType.NORMAL_TOKEN,
183
- swapActions: [
184
- {
185
- type: tradeTypes_1.TradeType.UniswapV3Swap,
186
- contract: "UNISWAP_V3_ROUTER"
187
- },
188
- {
189
- type: tradeTypes_1.TradeType.UniswapV2Swap,
190
- contract: "UNISWAP_V2_ROUTER"
191
- },
192
- {
193
- type: tradeTypes_1.TradeType.UniswapV2Swap,
194
- contract: "SUSHISWAP_ROUTER"
195
- }
196
- ]
197
- },
198
- FEI: {
199
- name: "FEI",
200
- decimals: 18,
201
- symbol: "FEI",
202
- type: TokenType.NORMAL_TOKEN,
203
- swapActions: [
204
- {
205
- type: tradeTypes_1.TradeType.UniswapV3Swap,
206
- contract: "UNISWAP_V3_ROUTER"
207
- },
208
- {
209
- type: tradeTypes_1.TradeType.UniswapV2Swap,
210
- contract: "UNISWAP_V2_ROUTER"
211
- },
212
- {
213
- type: tradeTypes_1.TradeType.UniswapV2Swap,
214
- contract: "SUSHISWAP_ROUTER"
215
- }
216
- ]
217
- },
218
- LINK: {
219
- name: "LINK",
220
- decimals: 18,
221
- symbol: "LINK",
222
- type: TokenType.NORMAL_TOKEN,
223
- swapActions: [
224
- {
225
- type: tradeTypes_1.TradeType.UniswapV3Swap,
226
- contract: "UNISWAP_V3_ROUTER"
227
- },
228
- {
229
- type: tradeTypes_1.TradeType.UniswapV2Swap,
230
- contract: "UNISWAP_V2_ROUTER"
231
- },
232
- {
233
- type: tradeTypes_1.TradeType.UniswapV2Swap,
234
- contract: "SUSHISWAP_ROUTER"
235
- }
236
- ]
237
- },
238
- SNX: {
239
- name: "SNX",
240
- decimals: 18,
241
- symbol: "SNX",
242
- type: TokenType.NORMAL_TOKEN,
243
- swapActions: [
244
- {
245
- type: tradeTypes_1.TradeType.UniswapV3Swap,
246
- contract: "UNISWAP_V3_ROUTER"
247
- },
248
- {
249
- type: tradeTypes_1.TradeType.UniswapV2Swap,
250
- contract: "UNISWAP_V2_ROUTER"
251
- },
252
- {
253
- type: tradeTypes_1.TradeType.UniswapV2Swap,
254
- contract: "SUSHISWAP_ROUTER"
255
- }
256
- ]
257
- },
258
- SUSHI: {
259
- name: "SUSHI",
260
- decimals: 18,
261
- symbol: "SUSHI",
262
- type: TokenType.NORMAL_TOKEN,
263
- swapActions: [
264
- {
265
- type: tradeTypes_1.TradeType.UniswapV2Swap,
266
- contract: "SUSHISWAP_ROUTER"
267
- }
268
- ]
269
- },
270
- UNI: {
271
- name: "UNI",
272
- decimals: 18,
273
- symbol: "UNI",
274
- type: TokenType.NORMAL_TOKEN,
275
- swapActions: [
276
- {
277
- type: tradeTypes_1.TradeType.UniswapV3Swap,
278
- contract: "UNISWAP_V3_ROUTER"
279
- },
280
- {
281
- type: tradeTypes_1.TradeType.UniswapV2Swap,
282
- contract: "UNISWAP_V2_ROUTER"
283
- }
284
- ]
285
- },
286
- USDC: {
287
- name: "USDC",
288
- decimals: 6,
289
- symbol: "USDC",
290
- type: TokenType.CONNECTOR,
291
- swapActions: [
292
- {
293
- type: tradeTypes_1.TradeType.UniswapV3Swap,
294
- contract: "UNISWAP_V3_ROUTER"
295
- },
296
- {
297
- type: tradeTypes_1.TradeType.UniswapV2Swap,
298
- contract: "UNISWAP_V2_ROUTER"
299
- },
300
- {
301
- type: tradeTypes_1.TradeType.UniswapV2Swap,
302
- contract: "SUSHISWAP_ROUTER"
303
- },
304
- {
305
- type: tradeTypes_1.TradeType.CurveExchange,
306
- contract: "CURVE_3CRV_POOL",
307
- tokenOut: ["DAI", "USDT"]
308
- },
309
- {
310
- type: tradeTypes_1.TradeType.CurveExchange,
311
- contract: "CURVE_SUSD_POOL",
312
- tokenOut: ["DAI", "USDT", "sUSD"]
313
- }
314
- ],
315
- lpActions: [
316
- {
317
- type: tradeTypes_1.TradeType.CurveDepositLP,
318
- contract: "CURVE_3CRV_POOL",
319
- tokenOut: "3Crv"
320
- },
321
- {
322
- type: tradeTypes_1.TradeType.CurveDepositLP,
323
- contract: "CURVE_SUSD_POOL",
324
- tokenOut: "crvPlain3andSUSD"
325
- },
326
- {
327
- type: tradeTypes_1.TradeType.YearnDeposit,
328
- contract: "YEARN_USDC_VAULT",
329
- tokenOut: "yvUSDC"
330
- }
331
- ]
332
- },
333
- USDT: {
334
- name: "USDT",
335
- decimals: 6,
336
- symbol: "USDT",
337
- type: TokenType.NORMAL_TOKEN,
338
- swapActions: [
339
- {
340
- type: tradeTypes_1.TradeType.UniswapV3Swap,
341
- contract: "UNISWAP_V3_ROUTER"
342
- },
343
- {
344
- type: tradeTypes_1.TradeType.UniswapV2Swap,
345
- contract: "UNISWAP_V2_ROUTER"
346
- },
347
- {
348
- type: tradeTypes_1.TradeType.UniswapV2Swap,
349
- contract: "SUSHISWAP_ROUTER"
350
- },
351
- {
352
- type: tradeTypes_1.TradeType.CurveExchange,
353
- contract: "CURVE_3CRV_POOL",
354
- tokenOut: ["USDC", "DAI"]
355
- },
356
- {
357
- type: tradeTypes_1.TradeType.CurveExchange,
358
- contract: "CURVE_SUSD_POOL",
359
- tokenOut: ["DAI", "USDC", "sUSD"]
360
- }
361
- ],
362
- lpActions: [
363
- {
364
- type: tradeTypes_1.TradeType.CurveDepositLP,
365
- contract: "CURVE_3CRV_POOL",
366
- tokenOut: "3Crv"
367
- },
368
- {
369
- type: tradeTypes_1.TradeType.CurveDepositLP,
370
- contract: "CURVE_SUSD_POOL",
371
- tokenOut: "crvPlain3andSUSD"
372
- }
373
- ]
374
- },
375
- WBTC: {
376
- name: "WBTC",
377
- decimals: 8,
378
- symbol: "WBTC",
379
- type: TokenType.CONNECTOR,
380
- swapActions: [
381
- {
382
- type: tradeTypes_1.TradeType.UniswapV3Swap,
383
- contract: "UNISWAP_V3_ROUTER"
384
- },
385
- {
386
- type: tradeTypes_1.TradeType.UniswapV2Swap,
387
- contract: "UNISWAP_V2_ROUTER"
388
- },
389
- {
390
- type: tradeTypes_1.TradeType.UniswapV2Swap,
391
- contract: "SUSHISWAP_ROUTER"
392
- }
393
- ],
394
- lpActions: [
395
- {
396
- type: tradeTypes_1.TradeType.YearnDeposit,
397
- contract: "YEARN_WBTC_VAULT",
398
- tokenOut: "yvWBTC"
399
- }
400
- ]
401
- },
402
- WETH: {
403
- name: "WETH",
404
- decimals: 18,
405
- symbol: "WETH",
406
- type: TokenType.CONNECTOR,
407
- swapActions: [
408
- {
409
- type: tradeTypes_1.TradeType.UniswapV3Swap,
410
- contract: "UNISWAP_V3_ROUTER"
411
- },
412
- {
413
- type: tradeTypes_1.TradeType.UniswapV2Swap,
414
- contract: "UNISWAP_V2_ROUTER"
415
- },
416
- {
417
- type: tradeTypes_1.TradeType.UniswapV2Swap,
418
- contract: "SUSHISWAP_ROUTER"
419
- },
420
- {
421
- type: tradeTypes_1.TradeType.CurveExchange,
422
- contract: "CURVE_STETH_GATEWAY",
423
- tokenOut: ["STETH"]
424
- }
425
- ],
426
- lpActions: [
427
- {
428
- type: tradeTypes_1.TradeType.YearnDeposit,
429
- contract: "YEARN_WETH_VAULT",
430
- tokenOut: "yvWETH"
431
- },
432
- {
433
- type: tradeTypes_1.TradeType.CurveDepositLP,
434
- contract: "CURVE_STETH_GATEWAY",
435
- tokenOut: "steCRV"
436
- }
437
- ]
438
- },
439
- YFI: {
440
- name: "YFI",
441
- decimals: 18,
442
- symbol: "YFI",
443
- type: TokenType.NORMAL_TOKEN,
444
- swapActions: [
445
- {
446
- type: tradeTypes_1.TradeType.UniswapV3Swap,
447
- contract: "UNISWAP_V3_ROUTER"
448
- },
449
- {
450
- type: tradeTypes_1.TradeType.UniswapV2Swap,
451
- contract: "UNISWAP_V2_ROUTER"
452
- },
453
- {
454
- type: tradeTypes_1.TradeType.UniswapV2Swap,
455
- contract: "SUSHISWAP_ROUTER"
456
- }
457
- ]
458
- },
459
- /// UPDATE
460
- STETH: {
461
- name: "stETH",
462
- decimals: 18,
463
- symbol: "STETH",
464
- type: TokenType.NORMAL_TOKEN,
465
- swapActions: [
466
- {
467
- type: tradeTypes_1.TradeType.UniswapV3Swap,
468
- contract: "UNISWAP_V3_ROUTER"
469
- },
470
- {
471
- type: tradeTypes_1.TradeType.UniswapV2Swap,
472
- contract: "UNISWAP_V2_ROUTER"
473
- },
474
- {
475
- type: tradeTypes_1.TradeType.UniswapV2Swap,
476
- contract: "SUSHISWAP_ROUTER"
477
- },
478
- {
479
- type: tradeTypes_1.TradeType.CurveExchange,
480
- contract: "CURVE_STETH_GATEWAY",
481
- tokenOut: ["WETH"]
482
- }
483
- ],
484
- lpActions: [
485
- {
486
- type: tradeTypes_1.TradeType.CurveDepositLP,
487
- contract: "CURVE_STETH_GATEWAY",
488
- tokenOut: "steCRV"
489
- }
490
- ]
491
- },
492
- FTM: {
493
- name: "FTM",
494
- decimals: 18,
495
- symbol: "FTM",
496
- type: TokenType.NORMAL_TOKEN,
497
- swapActions: [
498
- {
499
- type: tradeTypes_1.TradeType.UniswapV3Swap,
500
- contract: "UNISWAP_V3_ROUTER"
501
- },
502
- {
503
- type: tradeTypes_1.TradeType.UniswapV2Swap,
504
- contract: "UNISWAP_V2_ROUTER"
505
- },
506
- {
507
- type: tradeTypes_1.TradeType.UniswapV2Swap,
508
- contract: "SUSHISWAP_ROUTER"
509
- }
510
- ]
511
- },
512
- CVX: {
513
- name: "CVX",
514
- decimals: 18,
515
- symbol: "CVX",
516
- type: TokenType.NORMAL_TOKEN,
517
- swapActions: [
518
- {
519
- type: tradeTypes_1.TradeType.UniswapV3Swap,
520
- contract: "UNISWAP_V3_ROUTER"
521
- },
522
- {
523
- type: tradeTypes_1.TradeType.UniswapV2Swap,
524
- contract: "UNISWAP_V2_ROUTER"
525
- },
526
- {
527
- type: tradeTypes_1.TradeType.UniswapV2Swap,
528
- contract: "SUSHISWAP_ROUTER"
529
- }
530
- ]
531
- },
532
- FRAX: {
533
- name: "FRAX",
534
- decimals: 18,
535
- symbol: "FRAX",
536
- type: TokenType.NORMAL_TOKEN,
537
- swapActions: [
538
- {
539
- type: tradeTypes_1.TradeType.UniswapV3Swap,
540
- contract: "UNISWAP_V3_ROUTER"
541
- },
542
- {
543
- type: tradeTypes_1.TradeType.UniswapV2Swap,
544
- contract: "UNISWAP_V2_ROUTER"
545
- },
546
- {
547
- type: tradeTypes_1.TradeType.UniswapV2Swap,
548
- contract: "SUSHISWAP_ROUTER"
549
- },
550
- {
551
- type: tradeTypes_1.TradeType.CurveExchange,
552
- contract: "CURVE_FRAX_POOL",
553
- tokenOut: ["3Crv"]
554
- }
555
- ],
556
- lpActions: [
557
- {
558
- type: tradeTypes_1.TradeType.CurveDepositLP,
559
- contract: "CURVE_FRAX_POOL",
560
- tokenOut: "FRAX3CRV"
561
- }
562
- ]
563
- },
564
- FXS: {
565
- name: "FXS",
566
- decimals: 18,
567
- symbol: "FXS",
568
- type: TokenType.NORMAL_TOKEN,
569
- swapActions: [
570
- {
571
- type: tradeTypes_1.TradeType.UniswapV3Swap,
572
- contract: "UNISWAP_V3_ROUTER"
573
- },
574
- {
575
- type: tradeTypes_1.TradeType.UniswapV2Swap,
576
- contract: "UNISWAP_V2_ROUTER"
577
- },
578
- {
579
- type: tradeTypes_1.TradeType.UniswapV2Swap,
580
- contract: "SUSHISWAP_ROUTER"
581
- }
582
- ]
583
- },
584
- LDO: {
585
- name: "LDO",
586
- decimals: 18,
587
- symbol: "LDO",
588
- type: TokenType.NORMAL_TOKEN,
589
- swapActions: [
590
- {
591
- type: tradeTypes_1.TradeType.UniswapV3Swap,
592
- contract: "UNISWAP_V3_ROUTER"
593
- },
594
- {
595
- type: tradeTypes_1.TradeType.UniswapV2Swap,
596
- contract: "UNISWAP_V2_ROUTER"
597
- },
598
- {
599
- type: tradeTypes_1.TradeType.UniswapV2Swap,
600
- contract: "SUSHISWAP_ROUTER"
601
- }
602
- ]
603
- },
604
- SPELL: {
605
- name: "SPELL",
606
- decimals: 18,
607
- symbol: "SPELL",
608
- type: TokenType.NORMAL_TOKEN,
609
- swapActions: [
610
- {
611
- type: tradeTypes_1.TradeType.UniswapV3Swap,
612
- contract: "UNISWAP_V3_ROUTER"
613
- },
614
- {
615
- type: tradeTypes_1.TradeType.UniswapV2Swap,
616
- contract: "UNISWAP_V2_ROUTER"
617
- },
618
- {
619
- type: tradeTypes_1.TradeType.UniswapV2Swap,
620
- contract: "SUSHISWAP_ROUTER"
621
- }
622
- ]
623
- },
624
- LUSD: {
625
- name: "LUSD",
626
- decimals: 18,
627
- symbol: "LUSD",
628
- type: TokenType.NORMAL_TOKEN,
629
- swapActions: [
630
- {
631
- type: tradeTypes_1.TradeType.UniswapV3Swap,
632
- contract: "UNISWAP_V3_ROUTER"
633
- },
634
- {
635
- type: tradeTypes_1.TradeType.UniswapV2Swap,
636
- contract: "UNISWAP_V2_ROUTER"
637
- },
638
- {
639
- type: tradeTypes_1.TradeType.UniswapV2Swap,
640
- contract: "SUSHISWAP_ROUTER"
641
- },
642
- {
643
- type: tradeTypes_1.TradeType.CurveExchange,
644
- contract: "CURVE_LUSD_POOL",
645
- tokenOut: ["3Crv"]
646
- }
647
- ],
648
- lpActions: [
649
- {
650
- type: tradeTypes_1.TradeType.CurveDepositLP,
651
- contract: "CURVE_LUSD_POOL",
652
- tokenOut: "LUSD3CRV"
653
- }
654
- ]
655
- },
656
- sUSD: {
657
- name: "sUSD",
658
- decimals: 18,
659
- symbol: "sUSD",
660
- type: TokenType.NORMAL_TOKEN,
661
- swapActions: [
662
- {
663
- type: tradeTypes_1.TradeType.UniswapV3Swap,
664
- contract: "UNISWAP_V3_ROUTER"
665
- },
666
- {
667
- type: tradeTypes_1.TradeType.UniswapV2Swap,
668
- contract: "UNISWAP_V2_ROUTER"
669
- },
670
- {
671
- type: tradeTypes_1.TradeType.UniswapV2Swap,
672
- contract: "SUSHISWAP_ROUTER"
673
- },
674
- {
675
- type: tradeTypes_1.TradeType.CurveExchange,
676
- contract: "CURVE_SUSD_POOL",
677
- tokenOut: ["DAI", "USDT", "USDC"]
678
- }
679
- ],
680
- lpActions: [
681
- {
682
- type: tradeTypes_1.TradeType.CurveDepositLP,
683
- contract: "CURVE_SUSD_POOL",
684
- tokenOut: "crvPlain3andSUSD"
685
- }
686
- ]
687
- },
688
- GUSD: {
689
- name: "GUSD",
690
- decimals: 18,
691
- symbol: "GUSD",
692
- type: TokenType.NORMAL_TOKEN,
693
- swapActions: [
694
- {
695
- type: tradeTypes_1.TradeType.UniswapV3Swap,
696
- contract: "UNISWAP_V3_ROUTER"
697
- },
698
- {
699
- type: tradeTypes_1.TradeType.UniswapV2Swap,
700
- contract: "UNISWAP_V2_ROUTER"
701
- },
702
- {
703
- type: tradeTypes_1.TradeType.UniswapV2Swap,
704
- contract: "SUSHISWAP_ROUTER"
705
- },
706
- {
707
- type: tradeTypes_1.TradeType.CurveExchange,
708
- contract: "CURVE_GUSD_POOL",
709
- tokenOut: ["3Crv"]
710
- }
711
- ],
712
- lpActions: [
713
- {
714
- type: tradeTypes_1.TradeType.CurveDepositLP,
715
- contract: "CURVE_GUSD_POOL",
716
- tokenOut: "gusd3CRV"
717
- }
718
- ]
719
- },
720
- LUNA: {
721
- name: "LUNA",
722
- decimals: 18,
723
- symbol: "LUNA",
724
- type: TokenType.NORMAL_TOKEN,
725
- swapActions: [
726
- {
727
- type: tradeTypes_1.TradeType.UniswapV3Swap,
728
- contract: "UNISWAP_V3_ROUTER"
729
- },
730
- {
731
- type: tradeTypes_1.TradeType.UniswapV2Swap,
732
- contract: "UNISWAP_V2_ROUTER"
733
- },
734
- {
735
- type: tradeTypes_1.TradeType.UniswapV2Swap,
736
- contract: "SUSHISWAP_ROUTER"
737
- }
738
- ]
739
- },
740
- LQTY: {
741
- name: "LQTY",
742
- decimals: 18,
743
- symbol: "LQTY",
744
- type: TokenType.NORMAL_TOKEN,
745
- swapActions: [
746
- {
747
- type: tradeTypes_1.TradeType.UniswapV3Swap,
748
- contract: "UNISWAP_V3_ROUTER"
749
- },
750
- {
751
- type: tradeTypes_1.TradeType.UniswapV2Swap,
752
- contract: "UNISWAP_V2_ROUTER"
753
- },
754
- {
755
- type: tradeTypes_1.TradeType.UniswapV2Swap,
756
- contract: "SUSHISWAP_ROUTER"
757
- }
758
- ]
759
- },
760
- // YEARN TOKENS
761
- yvDAI: {
762
- name: "yvDAI",
763
- decimals: 18,
764
- symbol: "yvDAI",
765
- type: TokenType.YEARN_VAULT,
766
- underlying: "DAI",
767
- lpActions: [
768
- {
769
- type: tradeTypes_1.TradeType.YearnWithdraw,
770
- contract: "YEARN_DAI_VAULT",
771
- tokenOut: "DAI"
772
- }
773
- ]
774
- },
775
- yvUSDC: {
776
- name: "yvUSDC",
777
- decimals: 6,
778
- symbol: "yvUSDC",
779
- type: TokenType.YEARN_VAULT,
780
- underlying: "USDC",
781
- lpActions: [
782
- {
783
- type: tradeTypes_1.TradeType.YearnWithdraw,
784
- contract: "YEARN_USDC_VAULT",
785
- tokenOut: "USDC"
786
- }
787
- ]
788
- },
789
- yvWETH: {
790
- name: "yvWETH",
791
- decimals: 18,
792
- symbol: "yvWETH",
793
- type: TokenType.YEARN_VAULT,
794
- underlying: "WETH",
795
- lpActions: [
796
- {
797
- type: tradeTypes_1.TradeType.YearnWithdraw,
798
- contract: "YEARN_WETH_VAULT",
799
- tokenOut: "WETH"
800
- }
801
- ]
802
- },
803
- yvWBTC: {
804
- name: "yvWBTC",
805
- decimals: 8,
806
- symbol: "yvWBTC",
807
- type: TokenType.YEARN_VAULT,
808
- underlying: "WBTC",
809
- lpActions: [
810
- {
811
- type: tradeTypes_1.TradeType.YearnWithdraw,
812
- contract: "YEARN_WBTC_VAULT",
813
- tokenOut: "WBTC"
814
- }
815
- ]
816
- },
817
- // CURVE LP TOKENS
818
- "3Crv": {
819
- name: "3Crv",
820
- decimals: 18,
821
- symbol: "3Crv",
822
- type: TokenType.CURVE_LP,
823
- lpActions: [
824
- {
825
- type: tradeTypes_1.TradeType.CurveWithdrawLP,
826
- contract: "CURVE_3CRV_POOL",
827
- tokenOut: ["DAI", "USDC", "USDT"]
828
- },
829
- {
830
- type: tradeTypes_1.TradeType.ConvexDepositLP,
831
- contract: "CONVEX_BOOSTER",
832
- tokenOut: "cvx3Crv"
833
- },
834
- {
835
- type: tradeTypes_1.TradeType.ConvexDepositLPAndStake,
836
- contract: "CONVEX_BOOSTER",
837
- tokenOut: "stkcvx3Crv"
838
- }
839
- ]
840
- },
841
- steCRV: {
842
- name: "steCRV",
843
- decimals: 18,
844
- symbol: "steCRV",
845
- type: TokenType.CURVE_LP,
846
- lpActions: [
847
- {
848
- type: tradeTypes_1.TradeType.CurveWithdrawLP,
849
- contract: "CURVE_STETH_GATEWAY",
850
- tokenOut: ["STETH", "WETH"]
851
- },
852
- {
853
- type: tradeTypes_1.TradeType.ConvexDepositLP,
854
- contract: "CONVEX_BOOSTER",
855
- tokenOut: "cvxsteCRV"
856
- },
857
- {
858
- type: tradeTypes_1.TradeType.ConvexDepositLPAndStake,
859
- contract: "CONVEX_BOOSTER",
860
- tokenOut: "stkcvxsteCRV"
861
- }
862
- ]
863
- },
864
- crvPlain3andSUSD: {
865
- name: "crvPlain3andSUSD",
866
- decimals: 18,
867
- symbol: "crvPlain3andSUSD",
868
- type: TokenType.CURVE_LP,
869
- lpActions: [
870
- {
871
- type: tradeTypes_1.TradeType.CurveWithdrawLP,
872
- contract: "CURVE_SUSD_POOL",
873
- tokenOut: ["DAI", "USDC", "USDT", "sUSD"]
874
- },
875
- {
876
- type: tradeTypes_1.TradeType.ConvexDepositLP,
877
- contract: "CONVEX_BOOSTER",
878
- tokenOut: "cvxcrvPlain3andSUSD"
879
- },
880
- {
881
- type: tradeTypes_1.TradeType.ConvexDepositLPAndStake,
882
- contract: "CONVEX_BOOSTER",
883
- tokenOut: "stkcvxcrvPlain3andSUSD"
884
- }
885
- ]
886
- },
887
- // META CURVE LP TOKENS
888
- FRAX3CRV: {
889
- name: "FRAX3CRV-f",
890
- decimals: 18,
891
- symbol: "FRAX3CRV",
892
- type: TokenType.META_CURVE_LP,
893
- lpActions: [
894
- {
895
- type: tradeTypes_1.TradeType.CurveWithdrawLP,
896
- contract: "CURVE_FRAX_POOL",
897
- tokenOut: ["FRAX", "3Crv"]
898
- },
899
- {
900
- type: tradeTypes_1.TradeType.ConvexDepositLP,
901
- contract: "CONVEX_BOOSTER",
902
- tokenOut: "cvxFRAX3CRV"
903
- },
904
- {
905
- type: tradeTypes_1.TradeType.ConvexDepositLPAndStake,
906
- contract: "CONVEX_BOOSTER",
907
- tokenOut: "stkcvxFRAX3CRV"
908
- }
909
- ]
910
- },
911
- LUSD3CRV: {
912
- name: "LUSD3CRV-f",
913
- decimals: 18,
914
- symbol: "LUSD3CRV",
915
- type: TokenType.META_CURVE_LP,
916
- lpActions: [
917
- {
918
- type: tradeTypes_1.TradeType.CurveWithdrawLP,
919
- contract: "CURVE_LUSD_POOL",
920
- tokenOut: ["LUSD", "3Crv"]
921
- }
922
- ]
923
- },
924
- gusd3CRV: {
925
- name: "gusd3CRV",
926
- decimals: 18,
927
- symbol: "gusd3CRV",
928
- type: TokenType.META_CURVE_LP,
929
- lpActions: [
930
- {
931
- type: tradeTypes_1.TradeType.CurveWithdrawLP,
932
- contract: "CURVE_GUSD_POOL",
933
- tokenOut: ["GUSD", "3Crv"]
934
- },
935
- {
936
- type: tradeTypes_1.TradeType.ConvexDepositLP,
937
- contract: "CONVEX_BOOSTER",
938
- tokenOut: "cvxgusd3CRV"
939
- },
940
- {
941
- type: tradeTypes_1.TradeType.ConvexDepositLPAndStake,
942
- contract: "CONVEX_BOOSTER",
943
- tokenOut: "stkcvxgusd3CRV"
944
- }
945
- ]
946
- },
947
- // CONVEX LP TOKENS
948
- cvx3Crv: {
949
- name: "cvx3Crv",
950
- decimals: 18,
951
- symbol: "cvx3Crv",
952
- type: TokenType.CONVEX_LP_TOKEN,
953
- pool: "CONVEX_3CRV_POOL",
954
- underlying: "3Crv",
955
- stakedToken: "stkcvx3Crv",
956
- lpActions: [
957
- {
958
- type: tradeTypes_1.TradeType.ConvexWithdrawLP,
959
- contract: "CONVEX_BOOSTER",
960
- tokenOut: "3Crv"
961
- },
962
- {
963
- type: tradeTypes_1.TradeType.ConvexStake,
964
- contract: "CONVEX_3CRV_POOL",
965
- tokenOut: "stkcvx3Crv"
966
- }
967
- ]
968
- },
969
- cvxsteCRV: {
970
- name: "cvxsteCRV",
971
- decimals: 18,
972
- symbol: "cvxsteCRV",
973
- type: TokenType.CONVEX_LP_TOKEN,
974
- pool: "CONVEX_STECRV_POOL",
975
- underlying: "steCRV",
976
- stakedToken: "stkcvxsteCRV",
977
- lpActions: [
978
- {
979
- type: tradeTypes_1.TradeType.ConvexWithdrawLP,
980
- contract: "CONVEX_BOOSTER",
981
- tokenOut: "steCRV"
982
- },
983
- {
984
- type: tradeTypes_1.TradeType.ConvexStake,
985
- contract: "CONVEX_STECRV_POOL",
986
- tokenOut: "stkcvxsteCRV"
987
- }
988
- ]
989
- },
990
- cvxFRAX3CRV: {
991
- name: "cvxFRAX3CRV-f",
992
- decimals: 18,
993
- symbol: "cvxFRAX3CRV",
994
- type: TokenType.CONVEX_LP_TOKEN,
995
- pool: "CONVEX_FRAX3CRV_POOL",
996
- underlying: "FRAX3CRV",
997
- stakedToken: "stkcvxFRAX3CRV",
998
- lpActions: [
999
- {
1000
- type: tradeTypes_1.TradeType.ConvexWithdrawLP,
1001
- contract: "CONVEX_BOOSTER",
1002
- tokenOut: "FRAX3CRV"
1003
- },
1004
- {
1005
- type: tradeTypes_1.TradeType.ConvexStake,
1006
- contract: "CONVEX_FRAX3CRV_POOL",
1007
- tokenOut: "stkcvxFRAX3CRV"
1008
- }
1009
- ]
1010
- },
1011
- cvxcrvPlain3andSUSD: {
1012
- name: "cvxcrvPlain3andSUSD",
1013
- decimals: 18,
1014
- symbol: "cvxcrvPlain3andSUSD",
1015
- type: TokenType.CONVEX_LP_TOKEN,
1016
- pool: "CONVEX_SUSD_POOL",
1017
- underlying: "crvPlain3andSUSD",
1018
- stakedToken: "stkcvxcrvPlain3andSUSD",
1019
- lpActions: [
1020
- {
1021
- type: tradeTypes_1.TradeType.ConvexWithdrawLP,
1022
- contract: "CONVEX_BOOSTER",
1023
- tokenOut: "crvPlain3andSUSD"
1024
- },
1025
- {
1026
- type: tradeTypes_1.TradeType.ConvexStake,
1027
- contract: "CONVEX_SUSD_POOL",
1028
- tokenOut: "stkcvxcrvPlain3andSUSD"
1029
- }
1030
- ]
1031
- },
1032
- cvxgusd3CRV: {
1033
- name: "cvxgusd3CRV",
1034
- decimals: 18,
1035
- symbol: "cvxgusd3CRV",
1036
- type: TokenType.CONVEX_LP_TOKEN,
1037
- pool: "CONVEX_GUSD_POOL",
1038
- underlying: "gusd3CRV",
1039
- stakedToken: "stkcvxgusd3CRV",
1040
- lpActions: [
1041
- {
1042
- type: tradeTypes_1.TradeType.ConvexWithdrawLP,
1043
- contract: "CONVEX_BOOSTER",
1044
- tokenOut: "gusd3CRV"
1045
- },
1046
- {
1047
- type: tradeTypes_1.TradeType.ConvexStake,
1048
- contract: "CONVEX_GUSD_POOL",
1049
- tokenOut: "stkcvxgusd3CRV"
1050
- }
1051
- ]
1052
- },
1053
- // STAKED CONVEX
1054
- stkcvx3Crv: {
1055
- name: "stkcvx3Crv",
1056
- decimals: 18,
1057
- symbol: "stkcvx3Crv",
1058
- type: TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
1059
- pool: "CONVEX_3CRV_POOL",
1060
- underlying: "3Crv",
1061
- lpToken: "cvx3Crv",
1062
- lpActions: [
1063
- {
1064
- type: tradeTypes_1.TradeType.ConvexWithdraw,
1065
- contract: "CONVEX_3CRV_POOL",
1066
- tokenOut: "cvx3Crv"
1067
- },
1068
- {
1069
- type: tradeTypes_1.TradeType.ConvexWithdrawAndUnwrap,
1070
- contract: "CONVEX_3CRV_POOL",
1071
- tokenOut: "3Crv"
1072
- }
1073
- ]
1074
- },
1075
- stkcvxsteCRV: {
1076
- name: "stkcvxsteCRV",
1077
- decimals: 18,
1078
- symbol: "stkcvxsteCRV",
1079
- type: TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
1080
- pool: "CONVEX_STECRV_POOL",
1081
- underlying: "steCRV",
1082
- lpToken: "cvxsteCRV",
1083
- lpActions: [
1084
- {
1085
- type: tradeTypes_1.TradeType.ConvexWithdraw,
1086
- contract: "CONVEX_STECRV_POOL",
1087
- tokenOut: "cvxsteCRV"
1088
- },
1089
- {
1090
- type: tradeTypes_1.TradeType.ConvexWithdrawAndUnwrap,
1091
- contract: "CONVEX_STECRV_POOL",
1092
- tokenOut: "steCRV"
1093
- }
1094
- ]
1095
- },
1096
- stkcvxFRAX3CRV: {
1097
- name: "stkcvxFRAX3CRV-f",
1098
- decimals: 18,
1099
- symbol: "stkcvxFRAX3CRV",
1100
- type: TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
1101
- pool: "CONVEX_FRAX3CRV_POOL",
1102
- underlying: "FRAX3CRV",
1103
- lpToken: "cvxFRAX3CRV",
1104
- lpActions: [
1105
- {
1106
- type: tradeTypes_1.TradeType.ConvexWithdraw,
1107
- contract: "CONVEX_FRAX3CRV_POOL",
1108
- tokenOut: "cvxFRAX3CRV"
1109
- },
1110
- {
1111
- type: tradeTypes_1.TradeType.ConvexWithdrawAndUnwrap,
1112
- contract: "CONVEX_FRAX3CRV_POOL",
1113
- tokenOut: "FRAX3CRV"
1114
- }
1115
- ]
1116
- },
1117
- stkcvxcrvPlain3andSUSD: {
1118
- name: "stkcvxcrvPlain3andSUSD",
1119
- decimals: 18,
1120
- symbol: "stkcvxcrvPlain3andSUSD",
1121
- type: TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
1122
- pool: "CONVEX_SUSD_POOL",
1123
- underlying: "crvPlain3andSUSD",
1124
- lpToken: "cvxcrvPlain3andSUSD",
1125
- lpActions: [
1126
- {
1127
- type: tradeTypes_1.TradeType.ConvexWithdraw,
1128
- contract: "CONVEX_SUSD_POOL",
1129
- tokenOut: "cvxcrvPlain3andSUSD"
1130
- },
1131
- {
1132
- type: tradeTypes_1.TradeType.ConvexWithdrawAndUnwrap,
1133
- contract: "CONVEX_SUSD_POOL",
1134
- tokenOut: "crvPlain3andSUSD"
1135
- }
1136
- ]
1137
- },
1138
- stkcvxgusd3CRV: {
1139
- name: "stkcvxgusd3CRV",
1140
- decimals: 18,
1141
- symbol: "stkcvxgusd3CRV",
1142
- type: TokenType.CONVEX_STAKED_PHANTOM_TOKEN,
1143
- pool: "CONVEX_GUSD_POOL",
1144
- underlying: "gusd3CRV",
1145
- lpToken: "cvxgusd3CRV",
1146
- lpActions: [
1147
- {
1148
- type: tradeTypes_1.TradeType.ConvexWithdraw,
1149
- contract: "CONVEX_GUSD_POOL",
1150
- tokenOut: "cvxgusd3CRV"
1151
- },
1152
- {
1153
- type: tradeTypes_1.TradeType.ConvexWithdrawAndUnwrap,
1154
- contract: "CONVEX_GUSD_POOL",
1155
- tokenOut: "gusd3CRV"
1156
- }
1157
- ]
1158
- },
1159
- // YEARN- CURVE TOKENS
1160
- yvCurve_stETH: {
1161
- name: "yvCurve-stETH",
1162
- decimals: 18,
1163
- symbol: "yvCurve_stETH",
1164
- type: TokenType.YEARN_VAULT_OF_CURVE_LP,
1165
- underlying: "steCRV",
1166
- lpActions: [
1167
- {
1168
- type: tradeTypes_1.TradeType.YearnWithdraw,
1169
- contract: "YEARN_CURVE_STETH_VAULT",
1170
- tokenOut: "steCRV"
1171
- }
1172
- ]
1173
- },
1174
- yvCURVE_FRAX_POOL: {
1175
- name: "yvCurve-FRAX",
1176
- decimals: 18,
1177
- symbol: "yvCURVE_FRAX_POOL",
1178
- type: TokenType.YEARN_VAULT_OF_META_CURVE_LP,
1179
- underlying: "FRAX3CRV",
1180
- lpActions: [
1181
- {
1182
- type: tradeTypes_1.TradeType.YearnWithdraw,
1183
- contract: "YEARN_CURVE_FRAX_VAULT",
1184
- tokenOut: "FRAX3CRV"
1185
- }
1186
- ]
1187
- },
1188
- //GEARBOX
1189
- dDAI: {
1190
- name: "dDAI",
1191
- decimals: 18,
1192
- symbol: "dDAI",
1193
- type: TokenType.DIESEL_LP_TOKEN
1194
- },
1195
- dUSDC: {
1196
- name: "dUSDC",
1197
- decimals: 6,
1198
- symbol: "dUSDC",
1199
- type: TokenType.DIESEL_LP_TOKEN
1200
- },
1201
- dWBTC: {
1202
- name: "dWBTC",
1203
- decimals: 8,
1204
- symbol: "dWBTC",
1205
- type: TokenType.DIESEL_LP_TOKEN
1206
- },
1207
- dWETH: {
1208
- name: "dWETH",
1209
- decimals: 18,
1210
- symbol: "dWETH",
1211
- type: TokenType.DIESEL_LP_TOKEN
1212
- },
1213
- GEAR: {
1214
- name: "GEAR",
1215
- decimals: 18,
1216
- symbol: "GEAR",
1217
- type: TokenType.NORMAL_TOKEN
1218
- }
1219
- };
1220
- exports.tokenDataByNetwork = {
1221
- //
1222
- // MAINNET NETWORK
1223
- Mainnet: {
1224
- "1INCH": "0x111111111117dc0aa78b770fa6a738034120c302",
1225
- AAVE: "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9",
1226
- COMP: "0xc00e94cb662c3520282e6f5717214004a7f26888",
1227
- CRV: "0xD533a949740bb3306d119CC777fa900bA034cd52",
1228
- DAI: "0x6B175474E89094C44Da98b954EedeAC495271d0F",
1229
- DPI: "0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b",
1230
- FEI: "0x956F47F50A910163D8BF957Cf5846D573E7f87CA",
1231
- LINK: "0x514910771AF9Ca656af840dff83E8264EcF986CA",
1232
- SNX: "0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",
1233
- SUSHI: "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
1234
- UNI: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
1235
- USDC: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
1236
- USDT: "0xdac17f958d2ee523a2206206994597c13d831ec7",
1237
- WBTC: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
1238
- WETH: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
1239
- YFI: "0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e",
1240
- /// UPDATE
1241
- STETH: "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
1242
- FTM: "0x4E15361FD6b4BB609Fa63C81A2be19d873717870",
1243
- CVX: "0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b",
1244
- FRAX: "0x853d955acef822db058eb8505911ed77f175b99e",
1245
- FXS: "0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0",
1246
- LDO: "0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32",
1247
- SPELL: "0x090185f2135308BaD17527004364eBcC2D37e5F6",
1248
- LUSD: "0x5f98805A4E8be255a32880FDeC7F6728C6568bA0",
1249
- sUSD: "0x57Ab1ec28D129707052df4dF418D58a2D46d5f51",
1250
- GUSD: "0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",
1251
- LUNA: "0xd2877702675e6ceb975b4a1dff9fb7baf4c91ea9",
1252
- LQTY: "0x6DEA81C8171D0bA574754EF6F8b412F2Ed88c54D",
1253
- // YEARN TOKENS
1254
- yvDAI: "0xdA816459F1AB5631232FE5e97a05BBBb94970c95",
1255
- yvUSDC: "0xa354f35829ae975e850e23e9615b11da1b3dc4de",
1256
- yvWETH: "0xa258C4606Ca8206D8aA700cE2143D7db854D168c",
1257
- yvWBTC: "0xA696a63cc78DfFa1a63E9E50587C197387FF6C7E",
1258
- // CURVE LP TOKENS
1259
- "3Crv": "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490",
1260
- steCRV: "0x06325440d014e39736583c165c2963ba99faf14e",
1261
- FRAX3CRV: "0xd632f22692fac7611d2aa1c0d552930d43caed3b",
1262
- LUSD3CRV: "0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA",
1263
- crvPlain3andSUSD: "0xC25a3A3b969415c80451098fa907EC722572917F",
1264
- gusd3CRV: "0xD2967f45c4f384DEEa880F807Be904762a3DeA07",
1265
- // CONVEX LP TOKENS
1266
- cvx3Crv: "0x30D9410ED1D5DA1F6C8391af5338C93ab8d4035C",
1267
- cvxsteCRV: "0x9518c9063eB0262D791f38d8d6Eb0aca33c63ed0",
1268
- cvxFRAX3CRV: "0xbE0F6478E0E4894CFb14f32855603A083A57c7dA",
1269
- cvxcrvPlain3andSUSD: "0x11D200ef1409cecA8D6d23e6496550f707772F11",
1270
- cvxgusd3CRV: "0x15c2471ef46Fa721990730cfa526BcFb45574576",
1271
- // CONVEX PHANTOM TOKEN ADDRESSES
1272
- stkcvx3Crv: "0xDbA28Ee5b201AaE8E0BfE889E95cC8DC4559e02B",
1273
- stkcvxsteCRV: "0xC0e0492f1157B051fEca7e34c089c6E45a1D6480",
1274
- stkcvxFRAX3CRV: "0x6738e27899ffCF76aeadA4B4612CC4a07BD6562A",
1275
- stkcvxcrvPlain3andSUSD: "0xdb2Bc1Fd98721bF4AD1bACE1Cab1cF5B4cf61d4c",
1276
- stkcvxgusd3CRV: "0xc8124E539fD1F9E5E2F561f14aAAc5899681E274",
1277
- // YEARN- CURVE TOKENS
1278
- yvCurve_stETH: "0xdCD90C7f6324cfa40d7169ef80b12031770B4325",
1279
- yvCURVE_FRAX_POOL: "0xB4AdA607B9d6b2c9Ee07A275e9616B84AC560139",
1280
- //GEARBOX
1281
- dDAI: "0x6CFaF95457d7688022FC53e7AbE052ef8DFBbdBA",
1282
- dUSDC: "0xc411dB5f5Eb3f7d552F9B8454B2D74097ccdE6E3",
1283
- dWBTC: "0xe753260F1955e8678DCeA8887759e07aa57E8c54",
1284
- dWETH: "0xF21fc650C1B34eb0FDE786D52d23dA99Db3D6278",
1285
- GEAR: "0xBa3335588D9403515223F109EdC4eB7269a9Ab5D"
1286
- },
1287
- //
1288
- // KOVAN NETWORK
1289
- // DAI LINK REP SNX USDC WBTC ZRX
1290
- //
1291
- Kovan: {
1292
- "1INCH": "0x6601ce61E41cd6760E763555A806AB5578EB2a9E",
1293
- AAVE: "0xed2eAe2533bc70dB9030174a7F085e0853289726",
1294
- COMP: "0x90F7A59Fa3993bBc6bA4C6c4ef515958a5bF8a24",
1295
- CRV: "0x0ccfD2Aef95775f080BF6C0E8318D37f720c1999",
1296
- DAI: "0x9DC7B33C3B63fc00ed5472fBD7813eDDa6a64752",
1297
- DPI: "0xF4f06DE71eFc17799297573341C42f3B4C63D589",
1298
- FEI: "0xe1eC2f7B12d4be4075c3B53DB2e48C018B404179",
1299
- LINK: "0x6C994935826574E870549F09efF43BA8089A3D25",
1300
- SNX: "0xB48891df9267EF65AABd32F497F6F2d1eB22A186",
1301
- SUSHI: "0x635E9E7Aa9fA72C56B9A1286026A93E1b8c4090a",
1302
- UNI: "0x1B24F1F2CEFf945FE9EE017F929a6D31394f94b1",
1303
- USDT: "0x4a3964F69284eD6ab6975afc472fB0a072243CD5",
1304
- USDC: "0x31EeB2d0F9B6fD8642914aB10F4dD473677D80df",
1305
- WBTC: "0xE36bC5d8b689AD6d80e78c3e736670e80d4b329D",
1306
- WETH: "0xd0A1E359811322d97991E03f863a0C30C2cF029C",
1307
- YFI: "0x1df5DF6d0196bE6AE6A2EED915a0Cc6cAEA84C2D",
1308
- /// UPDATE
1309
- STETH: "0x3D98404e5854B785C168c12f9ACB0ab97BBa6702",
1310
- FTM: "0x5DE02cFf707eBC43f58DFB022518c18C66147b1E",
1311
- CVX: "0x96AA869a4C17c906253A28FED892a449943b2235",
1312
- FRAX: "0x301b0B83E5F5deC5233075368B8b459CEedc0948",
1313
- FXS: "0x25eb8A9B30981d1F04C306829FEBc855FA86695A",
1314
- LDO: "0x99bB41898474aDb38e098fFdB0cD17d2619cA3ef",
1315
- SPELL: "0x20f979FD40caF4aaa4e7A179E1a5C422a897ca6c",
1316
- LUSD: "0x397acA500A56706dd4aAC0592Ed5B8CCAeCfc2d5",
1317
- sUSD: "0x32aeb9B672a81C43391c90a95a4D6c9A9D4459B6",
1318
- GUSD: "0x3cee6494bf400F8C24871dBD331B9436a9CfaBbb",
1319
- LUNA: "0x9dc1D71fAeE18bF77C6166aBC8b218D3336919F1",
1320
- LQTY: "0xC948BB323d753B37eA8195DeAFE904138Df11fbC",
1321
- // YEARN TOKENS
1322
- yvDAI: "0xe5267045739E4d6FcA15BB4a79190012F146893b",
1323
- yvUSDC: "0x980E4d8A22105c2a2fA2252B7685F32fc7564512",
1324
- yvWETH: "0xB8f3CC38753db078b86e31647bE0A752cfd30A4b",
1325
- yvWBTC: "0x66359b29F7b142A3C7158e2F809aCD4407A6Ae75",
1326
- // CURVE LP TOKENS
1327
- "3Crv": "0x769C784D1e958672bDef04cf12Fd5399b3db0f27",
1328
- steCRV: "0xF695d3aa358D5087A0C157DBb9449d4f0d8E534a",
1329
- FRAX3CRV: "",
1330
- LUSD3CRV: "",
1331
- crvPlain3andSUSD: "0x032f1cE00865F3499C0052ceBA5F2348842416DB",
1332
- gusd3CRV: "",
1333
- // CONVEX LP TOKENS
1334
- cvx3Crv: "",
1335
- cvxsteCRV: "",
1336
- cvxFRAX3CRV: "",
1337
- cvxcrvPlain3andSUSD: "",
1338
- cvxgusd3CRV: "",
1339
- // CONVEX PHANTOM TOKEN ADDRESSES
1340
- stkcvx3Crv: "",
1341
- stkcvxsteCRV: "",
1342
- stkcvxFRAX3CRV: "",
1343
- stkcvxcrvPlain3andSUSD: "",
1344
- stkcvxgusd3CRV: "",
1345
- // YEARN- CURVE TOKENS
1346
- yvCurve_stETH: "0xdDc2FA328321573Bc2647C0135D75012c522CDAC",
1347
- yvCURVE_FRAX_POOL: "",
1348
- //GEARBOX
1349
- dDAI: "0x6CFaF95457d7688022FC53e7AbE052ef8DFBbdBA",
1350
- dUSDC: "0xc411dB5f5Eb3f7d552F9B8454B2D74097ccdE6E3",
1351
- dWBTC: "0xe753260F1955e8678DCeA8887759e07aa57E8c54",
1352
- dWETH: "0xF21fc650C1B34eb0FDE786D52d23dA99Db3D6278",
1353
- GEAR: "0xBa3335588D9403515223F109EdC4eB7269a9Ab5D"
1354
- }
1355
- };
1356
- exports.tokenDataByAddress = (0, mappers_1.objectEntries)(exports.tokenDataByNetwork).reduce(function (sum, _a) {
1357
- var _ = _a[0], tokens = _a[1];
1358
- return __assign(__assign({}, sum), (0, mappers_1.keyToLowercase)((0, mappers_1.swapKeyValue)(tokens)));
1359
- }, {});