Skip to content

Commit 1c4d7c1

Browse files
committed
Add: market - integration id connection
1 parent 6f09a92 commit 1c4d7c1

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

constants/silo_finance.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ class SiloFinanceMarket:
88
address: str
99
start_block: int
1010
non_borrowable_token_address: str
11+
shares_decimals: int
12+
assets_decimals: int
1113

1214

1315
PAGINATION_SIZE = 1000
@@ -19,6 +21,8 @@ class SiloFinanceMarket:
1921
address="0xB0291953571aF3D51EdfE9DAA94beDfa7C8aaf94",
2022
start_block=22693183,
2123
non_borrowable_token_address="0x98732e72D33279488FebCCa58628C83574699160",
24+
shares_decimals=21,
25+
assets_decimals=18,
2226
),
2327
# https://etherscan.io/address/0x46d30718F0372713b989F91f9f0Be1Bf5Cf5F082
2428
# SiloFinanceMarket(
@@ -35,10 +39,10 @@ class SiloFinanceMarket:
3539
]
3640

3741
SILO_FINANCE_INTEGRATION_ID_TO_MARKET = {
38-
IntID.SILO_FINANCE_LP_USDE: SILO_FINANCE_MARKETS[0],
42+
IntID.SILO_FINANCE_LP_SUSDE_SEP_25_EXPIRY: SILO_FINANCE_MARKETS[0],
3943
}
4044

4145
# NOTE: the first deployment block is the earliest block where any of the markets are deployed
4246
SILO_FINANCE_INTEGRATION_ID_TO_START_BLOCK = {
43-
IntID.SILO_FINANCE_LP_USDE: SILO_FINANCE_MARKETS[0].start_block,
47+
IntID.SILO_FINANCE_LP_SUSDE_SEP_25_EXPIRY: SILO_FINANCE_MARKETS[0].start_block,
4448
}

0 commit comments

Comments
 (0)