File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
*/
5
5
import { ARBITRUM , AVALANCHE , AVALANCHE_FUJI } from "./chains" ;
6
6
7
- type MarketConfig = {
7
+ export type MarketConfig = {
8
8
marketTokenAddress : string ;
9
9
indexTokenAddress : string ;
10
10
longTokenAddress : string ;
Original file line number Diff line number Diff line change 1
- import { hashDataMap } from "../../src/ utils/hash" ;
1
+ import { hashDataMap } from "utils/hash" ;
2
2
3
- import { Market } from "types/markets" ;
4
3
import {
5
4
BORROWING_EXPONENT_FACTOR_KEY ,
6
5
BORROWING_FACTOR_KEY ,
@@ -40,9 +39,10 @@ import {
40
39
THRESHOLD_FOR_STABLE_FUNDING ,
41
40
VIRTUAL_MARKET_ID_KEY ,
42
41
VIRTUAL_TOKEN_ID_KEY ,
43
- } from "../../src/configs/dataStore" ;
42
+ } from "configs/dataStore" ;
43
+ import { MarketConfig } from "configs/markets" ;
44
44
45
- export function hashMarketConfigKeys ( market : Market ) {
45
+ export function hashMarketConfigKeys ( market : MarketConfig ) {
46
46
const marketAddress = market . marketTokenAddress ;
47
47
return hashDataMap ( {
48
48
isDisabled : [
@@ -240,7 +240,7 @@ export function hashMarketConfigKeys(market: Market) {
240
240
} ) ;
241
241
}
242
242
243
- export function hashMarketValuesKeys ( market : Market ) {
243
+ export function hashMarketValuesKeys ( market : MarketConfig ) {
244
244
const marketAddress = market . marketTokenAddress ;
245
245
const marketKeys = hashDataMap ( {
246
246
longPoolAmount : [
You can’t perform that action at this time.
0 commit comments