@gearbox-protocol/sdk 0.0.100 → 0.0.103

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 (163) hide show
  1. package/.eslintignore +4 -0
  2. package/.eslintrc.js +52 -0
  3. package/.husky/pre-push +4 -0
  4. package/lib/apy/convexAPY.d.ts +8 -0
  5. package/lib/apy/convexAPY.js +200 -0
  6. package/lib/apy/lidoAPY.d.ts +4 -0
  7. package/lib/apy/lidoAPY.js +103 -0
  8. package/lib/config.d.ts +1 -0
  9. package/lib/config.js +2 -1
  10. package/lib/contracts/contracts.d.ts +9 -4
  11. package/lib/contracts/contracts.js +52 -14
  12. package/lib/contracts/contractsRegister.js +16 -4
  13. package/lib/core/constants.d.ts +7 -1
  14. package/lib/core/constants.js +11 -5
  15. package/lib/core/creditAccount.d.ts +3 -1
  16. package/lib/core/creditAccount.js +33 -31
  17. package/lib/core/creditManager.d.ts +13 -2
  18. package/lib/core/creditManager.js +77 -33
  19. package/lib/core/creditSession.js +14 -3
  20. package/lib/core/errors.d.ts +10 -0
  21. package/lib/core/errors.js +16 -1
  22. package/lib/core/eventOrTx.d.ts +1 -1
  23. package/lib/core/events.d.ts +19 -19
  24. package/lib/core/events.js +32 -30
  25. package/lib/core/multicall.d.ts +1 -1
  26. package/lib/core/pool.d.ts +2 -2
  27. package/lib/core/pool.js +8 -12
  28. package/lib/core/price.d.ts +2 -0
  29. package/lib/core/price.js +14 -0
  30. package/lib/core/strategy.d.ts +36 -0
  31. package/lib/core/strategy.js +57 -0
  32. package/lib/core/tokenDistributor.js +1 -1
  33. package/lib/core/transactions.d.ts +18 -3
  34. package/lib/core/transactions.js +39 -3
  35. package/lib/index.d.ts +8 -3
  36. package/lib/index.js +9 -4
  37. package/lib/oracles/priceFeeds.js +1 -1
  38. package/lib/pathfinder/convexLP.d.ts +1 -1
  39. package/lib/pathfinder/convexLP.js +26 -29
  40. package/lib/pathfinder/curveLP.d.ts +1 -1
  41. package/lib/pathfinder/curveLP.js +5 -7
  42. package/lib/pathfinder/path.d.ts +1 -1
  43. package/lib/pathfinder/path.js +38 -42
  44. package/lib/pathfinder/trade.d.ts +1 -2
  45. package/lib/pathfinder/tradeTypes.d.ts +5 -5
  46. package/lib/pathfinder/yVault.d.ts +2 -2
  47. package/lib/pathfinder/yVault.js +22 -19
  48. package/lib/payload/creditAccount.d.ts +4 -26
  49. package/lib/payload/creditManager.d.ts +3 -25
  50. package/lib/payload/pool.d.ts +2 -17
  51. package/lib/payload/pool.js +0 -1
  52. package/lib/strategies/curve.d.ts +6 -60
  53. package/lib/strategies/curve.js +6 -0
  54. package/lib/strategies/uniswapV2.js +3 -19
  55. package/lib/strategies/uniswapV3.js +1 -1
  56. package/lib/strategies/yearn.js +15 -11
  57. package/lib/tokens/convex.d.ts +3 -3
  58. package/lib/tokens/curveLP.d.ts +2 -2
  59. package/lib/tokens/curveLP.js +1 -1
  60. package/lib/tokens/gear.d.ts +2 -2
  61. package/lib/tokens/gear.js +1 -1
  62. package/lib/tokens/normal.d.ts +1 -1
  63. package/lib/tokens/token.js +9 -9
  64. package/lib/tokens/tokenData.d.ts +3 -1
  65. package/lib/tokens/tokenData.js +10 -8
  66. package/lib/tokens/yearn.d.ts +3 -3
  67. package/lib/utils/errors.d.ts +6 -0
  68. package/lib/utils/errors.js +13 -0
  69. package/lib/utils/formatter.d.ts +2 -1
  70. package/lib/utils/formatter.js +23 -15
  71. package/lib/utils/loading.d.ts +2 -1
  72. package/lib/utils/loading.js +9 -13
  73. package/lib/utils/mappers.d.ts +2 -1
  74. package/lib/utils/mappers.js +13 -5
  75. package/lib/utils/multicall.js +4 -3
  76. package/lib/utils/network.js +2 -2
  77. package/lib/utils/repeater.js +12 -24
  78. package/lib/utils/types.d.ts +1 -0
  79. package/lib/utils/validate.js +1 -1
  80. package/package.json +26 -8
  81. package/src/apy/convexAPY.ts +250 -0
  82. package/src/apy/lidoAPY.ts +89 -0
  83. package/src/config.ts +2 -1
  84. package/src/contracts/contracts.ts +73 -19
  85. package/src/contracts/contractsRegister.ts +19 -4
  86. package/src/core/constants.ts +11 -4
  87. package/src/core/creditAccount.ts +69 -37
  88. package/src/core/creditManager.ts +256 -148
  89. package/src/core/creditOperation.ts +7 -7
  90. package/src/core/creditSession.ts +25 -5
  91. package/src/core/errors.ts +25 -0
  92. package/src/core/eventOrTx.ts +8 -5
  93. package/src/core/events.ts +978 -911
  94. package/src/core/history.ts +46 -46
  95. package/src/core/multicall.ts +1 -1
  96. package/src/core/operations.ts +6 -0
  97. package/src/core/pool.ts +75 -58
  98. package/src/core/price.ts +13 -0
  99. package/src/core/strategy.ts +134 -0
  100. package/src/core/tokenDistributor.ts +2 -2
  101. package/src/core/transactions.ts +427 -350
  102. package/src/index.ts +9 -4
  103. package/src/oracles/priceFeeds.ts +523 -523
  104. package/src/pathfinder/contracts.ts +15 -13
  105. package/src/pathfinder/convexLP.ts +29 -25
  106. package/src/pathfinder/curveLP.ts +57 -53
  107. package/src/pathfinder/path.ts +158 -150
  108. package/src/pathfinder/priority.ts +11 -11
  109. package/src/pathfinder/trade.ts +84 -77
  110. package/src/pathfinder/tradeTypes.ts +98 -94
  111. package/src/pathfinder/yVault.ts +79 -63
  112. package/src/payload/creditAccount.ts +4 -26
  113. package/src/payload/creditManager.ts +4 -26
  114. package/src/payload/pool.ts +2 -19
  115. package/src/payload/token.ts +3 -3
  116. package/src/strategies/convex.ts +217 -210
  117. package/src/strategies/creditFacade.ts +70 -53
  118. package/src/strategies/curve.ts +263 -194
  119. package/src/strategies/lido.ts +33 -37
  120. package/src/strategies/uniswapV2.ts +90 -112
  121. package/src/strategies/uniswapV3.ts +114 -91
  122. package/src/strategies/yearn.ts +58 -62
  123. package/src/tokens/connectors.ts +6 -6
  124. package/src/tokens/convex.ts +297 -296
  125. package/src/tokens/curveLP.ts +170 -165
  126. package/src/tokens/gear.ts +47 -45
  127. package/src/tokens/normal.ts +801 -802
  128. package/src/tokens/token.ts +19 -10
  129. package/src/tokens/tokenData.ts +19 -9
  130. package/src/tokens/tokenType.ts +11 -11
  131. package/src/tokens/yearn.ts +126 -124
  132. package/src/utils/errors.ts +11 -0
  133. package/src/utils/formatter.ts +26 -18
  134. package/src/utils/loading.ts +14 -6
  135. package/src/utils/mappers.ts +15 -6
  136. package/src/utils/multicall.ts +6 -9
  137. package/src/utils/network.ts +21 -21
  138. package/src/utils/repeater.ts +2 -2
  139. package/src/utils/types.ts +6 -2
  140. package/src/utils/validate.ts +1 -1
  141. package/lib/core/adapters.d.ts +0 -15
  142. package/lib/core/adapters.js +0 -19
  143. package/lib/core/contracts.d.ts +0 -67
  144. package/lib/core/contracts.js +0 -254
  145. package/lib/core/contractsRegister.d.ts +0 -2
  146. package/lib/core/contractsRegister.js +0 -58
  147. package/lib/core/creditCard.d.ts +0 -13
  148. package/lib/core/creditCard.js +0 -2
  149. package/lib/core/oracles.d.ts +0 -38
  150. package/lib/core/oracles.js +0 -12
  151. package/lib/core/priceFeeds.d.ts +0 -3
  152. package/lib/core/priceFeeds.js +0 -492
  153. package/lib/core/protocols.d.ts +0 -13
  154. package/lib/core/protocols.js +0 -39
  155. package/lib/core/swap.d.ts +0 -4
  156. package/lib/core/swap.js +0 -8
  157. package/lib/core/trade.d.ts +0 -35
  158. package/lib/core/trade.js +0 -62
  159. package/lib/core/tradeTypes.d.ts +0 -79
  160. package/lib/core/tradeTypes.js +0 -21
  161. package/lib/utils/events.d.ts +0 -2
  162. package/lib/utils/events.js +0 -13
  163. package/src/utils/events.ts +0 -10
@@ -1,177 +1,182 @@
1
- import {TradeAction, TradeType} from "../pathfinder/tradeTypes";
2
- import {SupportedToken, TokenBase} from "./token";
3
- import {PartialRecord} from "../utils/types";
4
- import {BigNumber} from "ethers";
5
- import {TokenType} from "./tokenType";
1
+ import { BigNumber } from "ethers";
2
+ import { TradeAction, TradeType } from "../pathfinder/tradeTypes";
3
+ import type { SupportedToken, TokenBase } from "./token";
4
+ import { PartialRecord } from "../utils/types";
5
+ import { TokenType } from "./tokenType";
6
6
 
7
7
  export type CurveLPToken =
8
- | "3Crv"
9
- | "steCRV"
10
- | "FRAX3CRV"
11
- | "LUSD3CRV"
12
- | "crvPlain3andSUSD"
13
- | "gusd3CRV";
8
+ | "3Crv"
9
+ | "steCRV"
10
+ | "FRAX3CRV"
11
+ | "LUSD3CRV"
12
+ | "crvPlain3andSUSD"
13
+ | "gusd3CRV";
14
14
 
15
15
  export type CurveLPTokenData = {
16
- symbol: CurveLPToken;
17
- type: TokenType.CURVE_LP;
18
- swapActions?: Array<TradeAction>;
19
- lpActions: Array<TradeAction>;
16
+ symbol: CurveLPToken;
17
+ type: TokenType.CURVE_LP;
18
+ swapActions?: Array<TradeAction>;
19
+ lpActions: Array<TradeAction>;
20
20
  } & TokenBase;
21
21
 
22
22
  export type MetaCurveLPTokenData = {
23
- symbol: CurveLPToken;
24
- type: TokenType.META_CURVE_LP;
25
- lpActions: Array<TradeAction>;
23
+ symbol: CurveLPToken;
24
+ type: TokenType.META_CURVE_LP;
25
+ lpActions: Array<TradeAction>;
26
26
  } & TokenBase;
27
27
 
28
- export const Curve3CrvUnderlyingTokenIndex: PartialRecord<SupportedToken,
29
- BigNumber> = {
30
- DAI: BigNumber.from(0),
31
- USDC: BigNumber.from(1),
32
- USDT: BigNumber.from(2)
28
+ export const Curve3CrvUnderlyingTokenIndex: PartialRecord<
29
+ SupportedToken,
30
+ BigNumber
31
+ > = {
32
+ DAI: BigNumber.from(0),
33
+ USDC: BigNumber.from(1),
34
+ USDT: BigNumber.from(2)
33
35
  };
34
36
 
35
- export const curveTokens: Record<CurveLPToken, CurveLPTokenData | MetaCurveLPTokenData> = {
36
- // CURVE LP TOKENS
37
- "3Crv": {
38
- name: "3Crv",
39
- decimals: 18,
40
-
41
- symbol: "3Crv",
42
- type: TokenType.CURVE_LP,
43
- lpActions: [
44
- {
45
- type: TradeType.CurveWithdrawLP,
46
- contract: "CURVE_3CRV_POOL",
47
- tokenOut: ["DAI", "USDC", "USDT"]
48
- },
49
- {
50
- type: TradeType.ConvexDepositLP,
51
- contract: "CONVEX_BOOSTER",
52
- tokenOut: "cvx3Crv"
53
- },
54
- {
55
- type: TradeType.ConvexDepositLPAndStake,
56
- contract: "CONVEX_BOOSTER",
57
- tokenOut: "stkcvx3Crv"
58
- }
59
- ]
60
- },
61
-
62
- steCRV: {
63
- name: "steCRV",
64
- decimals: 18,
65
-
66
- symbol: "steCRV",
67
- type: TokenType.CURVE_LP,
68
- lpActions: [
69
- {
70
- type: TradeType.CurveWithdrawLP,
71
- contract: "CURVE_STETH_GATEWAY",
72
- tokenOut: ["STETH", "WETH"]
73
- },
74
- {
75
- type: TradeType.ConvexDepositLP,
76
- contract: "CONVEX_BOOSTER",
77
- tokenOut: "cvxsteCRV"
78
- },
79
- {
80
- type: TradeType.ConvexDepositLPAndStake,
81
- contract: "CONVEX_BOOSTER",
82
- tokenOut: "stkcvxsteCRV"
83
- }
84
- ]
85
- },
86
-
87
- crvPlain3andSUSD: {
88
- name: "crvPlain3andSUSD",
89
- decimals: 18,
90
-
91
- symbol: "crvPlain3andSUSD",
92
- type: TokenType.CURVE_LP,
93
- lpActions: [
94
- {
95
- type: TradeType.CurveWithdrawLP,
96
- contract: "CURVE_SUSD_POOL",
97
- tokenOut: ["DAI", "USDC", "USDT", "sUSD"]
98
- },
99
- {
100
- type: TradeType.ConvexDepositLP,
101
- contract: "CONVEX_BOOSTER",
102
- tokenOut: "cvxcrvPlain3andSUSD"
103
- },
104
- {
105
- type: TradeType.ConvexDepositLPAndStake,
106
- contract: "CONVEX_BOOSTER",
107
- tokenOut: "stkcvxcrvPlain3andSUSD"
108
- }
109
- ]
110
- },
111
-
112
- // META CURVE LP TOKENS
113
- FRAX3CRV: {
114
- name: "FRAX3CRV-f",
115
- decimals: 18,
116
-
117
- symbol: "FRAX3CRV",
118
- type: TokenType.META_CURVE_LP,
119
- lpActions: [
120
- {
121
- type: TradeType.CurveWithdrawLP,
122
- contract: "CURVE_FRAX_POOL",
123
- tokenOut: ["FRAX", "3Crv"]
124
- },
125
- {
126
- type: TradeType.ConvexDepositLP,
127
- contract: "CONVEX_BOOSTER",
128
- tokenOut: "cvxFRAX3CRV"
129
- },
130
- {
131
- type: TradeType.ConvexDepositLPAndStake,
132
- contract: "CONVEX_BOOSTER",
133
- tokenOut: "stkcvxFRAX3CRV"
134
- }
135
- ]
136
- },
137
-
138
- LUSD3CRV: {
139
- name: "LUSD3CRV-f",
140
- decimals: 18,
141
-
142
- symbol: "LUSD3CRV",
143
- type: TokenType.META_CURVE_LP,
144
- lpActions: [
145
- {
146
- type: TradeType.CurveWithdrawLP,
147
- contract: "CURVE_LUSD_POOL",
148
- tokenOut: ["LUSD", "3Crv"]
149
- }
150
- ]
151
- },
152
-
153
- gusd3CRV: {
154
- name: "gusd3CRV",
155
- decimals: 18,
156
-
157
- symbol: "gusd3CRV",
158
- type: TokenType.META_CURVE_LP,
159
- lpActions: [
160
- {
161
- type: TradeType.CurveWithdrawLP,
162
- contract: "CURVE_GUSD_POOL",
163
- tokenOut: ["GUSD", "3Crv"]
164
- },
165
- {
166
- type: TradeType.ConvexDepositLP,
167
- contract: "CONVEX_BOOSTER",
168
- tokenOut: "cvxgusd3CRV"
169
- },
170
- {
171
- type: TradeType.ConvexDepositLPAndStake,
172
- contract: "CONVEX_BOOSTER",
173
- tokenOut: "stkcvxgusd3CRV"
174
- }
175
- ]
176
- }
37
+ export const curveTokens: Record<
38
+ CurveLPToken,
39
+ CurveLPTokenData | MetaCurveLPTokenData
40
+ > = {
41
+ // CURVE LP TOKENS
42
+ "3Crv": {
43
+ name: "3Crv",
44
+ decimals: 18,
45
+
46
+ symbol: "3Crv",
47
+ type: TokenType.CURVE_LP,
48
+ lpActions: [
49
+ {
50
+ type: TradeType.CurveWithdrawLP,
51
+ contract: "CURVE_3CRV_POOL",
52
+ tokenOut: ["DAI", "USDC", "USDT"]
53
+ },
54
+ {
55
+ type: TradeType.ConvexDepositLP,
56
+ contract: "CONVEX_BOOSTER",
57
+ tokenOut: "cvx3Crv"
58
+ },
59
+ {
60
+ type: TradeType.ConvexDepositLPAndStake,
61
+ contract: "CONVEX_BOOSTER",
62
+ tokenOut: "stkcvx3Crv"
63
+ }
64
+ ]
65
+ },
66
+
67
+ steCRV: {
68
+ name: "steCRV",
69
+ decimals: 18,
70
+
71
+ symbol: "steCRV",
72
+ type: TokenType.CURVE_LP,
73
+ lpActions: [
74
+ {
75
+ type: TradeType.CurveWithdrawLP,
76
+ contract: "CURVE_STETH_GATEWAY",
77
+ tokenOut: ["STETH", "WETH"]
78
+ },
79
+ {
80
+ type: TradeType.ConvexDepositLP,
81
+ contract: "CONVEX_BOOSTER",
82
+ tokenOut: "cvxsteCRV"
83
+ },
84
+ {
85
+ type: TradeType.ConvexDepositLPAndStake,
86
+ contract: "CONVEX_BOOSTER",
87
+ tokenOut: "stkcvxsteCRV"
88
+ }
89
+ ]
90
+ },
91
+
92
+ crvPlain3andSUSD: {
93
+ name: "crvPlain3andSUSD",
94
+ decimals: 18,
95
+
96
+ symbol: "crvPlain3andSUSD",
97
+ type: TokenType.CURVE_LP,
98
+ lpActions: [
99
+ {
100
+ type: TradeType.CurveWithdrawLP,
101
+ contract: "CURVE_SUSD_POOL",
102
+ tokenOut: ["DAI", "USDC", "USDT", "sUSD"]
103
+ },
104
+ {
105
+ type: TradeType.ConvexDepositLP,
106
+ contract: "CONVEX_BOOSTER",
107
+ tokenOut: "cvxcrvPlain3andSUSD"
108
+ },
109
+ {
110
+ type: TradeType.ConvexDepositLPAndStake,
111
+ contract: "CONVEX_BOOSTER",
112
+ tokenOut: "stkcvxcrvPlain3andSUSD"
113
+ }
114
+ ]
115
+ },
116
+
117
+ // META CURVE LP TOKENS
118
+ FRAX3CRV: {
119
+ name: "FRAX3CRV-f",
120
+ decimals: 18,
121
+
122
+ symbol: "FRAX3CRV",
123
+ type: TokenType.META_CURVE_LP,
124
+ lpActions: [
125
+ {
126
+ type: TradeType.CurveWithdrawLP,
127
+ contract: "CURVE_FRAX_POOL",
128
+ tokenOut: ["FRAX", "3Crv"]
129
+ },
130
+ {
131
+ type: TradeType.ConvexDepositLP,
132
+ contract: "CONVEX_BOOSTER",
133
+ tokenOut: "cvxFRAX3CRV"
134
+ },
135
+ {
136
+ type: TradeType.ConvexDepositLPAndStake,
137
+ contract: "CONVEX_BOOSTER",
138
+ tokenOut: "stkcvxFRAX3CRV"
139
+ }
140
+ ]
141
+ },
142
+
143
+ LUSD3CRV: {
144
+ name: "LUSD3CRV-f",
145
+ decimals: 18,
146
+
147
+ symbol: "LUSD3CRV",
148
+ type: TokenType.META_CURVE_LP,
149
+ lpActions: [
150
+ {
151
+ type: TradeType.CurveWithdrawLP,
152
+ contract: "CURVE_LUSD_POOL",
153
+ tokenOut: ["LUSD", "3Crv"]
154
+ }
155
+ ]
156
+ },
157
+
158
+ gusd3CRV: {
159
+ name: "gusd3CRV",
160
+ decimals: 18,
161
+
162
+ symbol: "gusd3CRV",
163
+ type: TokenType.META_CURVE_LP,
164
+ lpActions: [
165
+ {
166
+ type: TradeType.CurveWithdrawLP,
167
+ contract: "CURVE_GUSD_POOL",
168
+ tokenOut: ["GUSD", "3Crv"]
169
+ },
170
+ {
171
+ type: TradeType.ConvexDepositLP,
172
+ contract: "CONVEX_BOOSTER",
173
+ tokenOut: "cvxgusd3CRV"
174
+ },
175
+ {
176
+ type: TradeType.ConvexDepositLPAndStake,
177
+ contract: "CONVEX_BOOSTER",
178
+ tokenOut: "stkcvxgusd3CRV"
179
+ }
180
+ ]
181
+ }
177
182
  };
@@ -1,56 +1,58 @@
1
- import {TokenBase} from "./token";
2
- import {TradeAction} from "../pathfinder/tradeTypes";
3
- import {TokenType} from "./tokenType";
1
+ import type { TokenBase } from "./token";
2
+ import type { TradeAction } from "../pathfinder/tradeTypes";
3
+ import { TokenType } from "./tokenType";
4
4
 
5
5
  export type DieselTokenTypes = "dDAI" | "dUSDC" | "dWBTC" | "dWETH";
6
6
  export type GearboxToken = "GEAR";
7
7
 
8
8
  export type DieselTokenData = {
9
- symbol: DieselTokenTypes;
10
- type: TokenType.DIESEL_LP_TOKEN;
9
+ symbol: DieselTokenTypes;
10
+ type: TokenType.DIESEL_LP_TOKEN;
11
11
  } & TokenBase;
12
12
 
13
13
  export type GearboxTokenData = {
14
- symbol: GearboxToken;
15
- swapActions?: Array<TradeAction>;
16
- type: TokenType.NORMAL_TOKEN;
14
+ symbol: GearboxToken;
15
+ swapActions?: Array<TradeAction>;
16
+ type: TokenType.NORMAL_TOKEN;
17
17
  } & TokenBase;
18
18
 
19
- export const gearTokens: Record<DieselTokenTypes | GearboxToken,
20
- DieselTokenData | GearboxTokenData> = {
21
- //GEARBOX
22
- dDAI: {
23
- name: "dDAI",
24
- decimals: 18,
25
- symbol: "dDAI",
26
- type: TokenType.DIESEL_LP_TOKEN
27
- },
28
-
29
- dUSDC: {
30
- name: "dUSDC",
31
- decimals: 6,
32
- symbol: "dUSDC",
33
- type: TokenType.DIESEL_LP_TOKEN
34
- },
35
-
36
- dWBTC: {
37
- name: "dWBTC",
38
- decimals: 8,
39
- symbol: "dWBTC",
40
- type: TokenType.DIESEL_LP_TOKEN
41
- },
42
-
43
- dWETH: {
44
- name: "dWETH",
45
- decimals: 18,
46
- symbol: "dWETH",
47
- type: TokenType.DIESEL_LP_TOKEN
48
- },
49
-
50
- GEAR: {
51
- name: "GEAR",
52
- decimals: 18,
53
- symbol: "GEAR",
54
- type: TokenType.NORMAL_TOKEN
55
- }
19
+ export const gearTokens: Record<
20
+ DieselTokenTypes | GearboxToken,
21
+ DieselTokenData | GearboxTokenData
22
+ > = {
23
+ // GEARBOX
24
+ dDAI: {
25
+ name: "dDAI",
26
+ decimals: 18,
27
+ symbol: "dDAI",
28
+ type: TokenType.DIESEL_LP_TOKEN
29
+ },
30
+
31
+ dUSDC: {
32
+ name: "dUSDC",
33
+ decimals: 6,
34
+ symbol: "dUSDC",
35
+ type: TokenType.DIESEL_LP_TOKEN
36
+ },
37
+
38
+ dWBTC: {
39
+ name: "dWBTC",
40
+ decimals: 8,
41
+ symbol: "dWBTC",
42
+ type: TokenType.DIESEL_LP_TOKEN
43
+ },
44
+
45
+ dWETH: {
46
+ name: "dWETH",
47
+ decimals: 18,
48
+ symbol: "dWETH",
49
+ type: TokenType.DIESEL_LP_TOKEN
50
+ },
51
+
52
+ GEAR: {
53
+ name: "GEAR",
54
+ decimals: 18,
55
+ symbol: "GEAR",
56
+ type: TokenType.NORMAL_TOKEN
57
+ }
56
58
  };