defi-state-querier 0.5.33__py3-none-any.whl → 0.5.35__py3-none-any.whl
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.
- defi_services/__init__.py +1 -1
- defi_services/abis/lending/venus/venus_comptroller_optimism_abi.py +2125 -0
- defi_services/abis/lending/yldr/__init__.py +0 -0
- defi_services/abis/lending/yldr/yldr_lending_abi.py +1725 -0
- defi_services/constants/chain_constant.py +4 -0
- defi_services/constants/entities/lending_constant.py +5 -3
- defi_services/constants/entities/lending_services.py +9 -6
- defi_services/jobs/queriers/state_querier.py +1 -1
- defi_services/services/lending/aave_v3_services.py +11 -1
- defi_services/services/lending/lending_info/arbitrum/venus_arbitrum.py +46 -2
- defi_services/services/lending/lending_info/arbitrum/yldr_arbitrum.py +51 -2
- defi_services/services/lending/lending_info/avalanche/benqi_avalanche.py +2 -2
- defi_services/services/lending/lending_info/base/venus_base.py +42 -0
- defi_services/services/lending/lending_info/celo/__init__.py +0 -0
- defi_services/services/lending/lending_info/celo/aave_v3_celo.py +47 -0
- defi_services/services/lending/lending_info/ethereum/spark_eth.py +1 -1
- defi_services/services/lending/lending_info/ethereum/venus_eth.py +124 -2
- defi_services/services/lending/lending_info/ethereum/yldr_ethereum.py +38 -2
- defi_services/services/lending/lending_info/gnosis/__init__.py +0 -0
- defi_services/services/lending/lending_info/gnosis/aave_v3_gnoisis.py +69 -0
- defi_services/services/lending/lending_info/gnosis/spark_gnosis.py +75 -0
- defi_services/services/lending/lending_info/harmony/__init__.py +0 -0
- defi_services/services/lending/lending_info/harmony/aave_v3_harmony.py +69 -0
- defi_services/services/lending/lending_info/opBNB/__init__.py +0 -0
- defi_services/services/lending/lending_info/opBNB/venus_opbnb.py +42 -0
- defi_services/services/lending/lending_info/optimism/moonwell_optimism.py +86 -0
- defi_services/services/lending/lending_info/optimism/venus_optimism.py +42 -0
- defi_services/services/lending/lending_info/scroll/__init__.py +0 -0
- defi_services/services/lending/lending_info/scroll/aave_v3_scroll.py +48 -0
- defi_services/services/lending/lending_info/sonic/__init__.py +0 -0
- defi_services/services/lending/lending_info/sonic/aave_v3_sonic.py +41 -0
- defi_services/services/lending/lending_info/zksync/venus_zksync.py +58 -2
- defi_services/services/lending/moonwell_service.py +3 -1
- defi_services/services/lending/spark_services.py +3 -1
- defi_services/services/lending/venus_services.py +18 -2
- defi_services/services/lending/xlend_services.py +2 -10
- defi_services/services/lending/yldr_services.py +394 -0
- {defi_state_querier-0.5.33.dist-info → defi_state_querier-0.5.35.dist-info}/METADATA +1 -1
- {defi_state_querier-0.5.33.dist-info → defi_state_querier-0.5.35.dist-info}/RECORD +42 -23
- {defi_state_querier-0.5.33.dist-info → defi_state_querier-0.5.35.dist-info}/WHEEL +1 -1
- {defi_state_querier-0.5.33.dist-info → defi_state_querier-0.5.35.dist-info}/licenses/LICENSE +0 -0
- {defi_state_querier-0.5.33.dist-info → defi_state_querier-0.5.35.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@ class Lending:
|
|
5
5
|
radiant_v2 = "radiant-v2"
|
6
6
|
compound = "compound"
|
7
7
|
flux = "flux-finance"
|
8
|
-
iron_bank = "iron-bank"
|
8
|
+
# iron_bank = "iron-bank"
|
9
9
|
trava = "trava-finance"
|
10
10
|
valas = "valas-finance"
|
11
11
|
geist = "geist-finance"
|
@@ -33,9 +33,11 @@ class Lending:
|
|
33
33
|
seamless = "seamless-v1"
|
34
34
|
avalon = 'avalon-finance'
|
35
35
|
xlend = "extra-finance-xlend"
|
36
|
+
yldr = "yldr"
|
36
37
|
all = [
|
37
38
|
strike, aave_v2, aave_v3, radiant_v2, compound, flux, onyx, granary,
|
38
|
-
iron_bank,
|
39
|
+
#iron_bank,
|
40
|
+
trava, valas, geist, cream, venus, liqee, strike, uwu, wepiggy,
|
39
41
|
morpho_compound, morpho_aave_v2, morpho_aave_v3, spark, ape_swap, silo, compound_v3,
|
40
|
-
justlend, zerolend, moonwell, ionic, sonne, kinza, seamless, avalon, xlend
|
42
|
+
justlend, zerolend, moonwell, ionic, sonne, kinza, seamless, avalon, xlend, yldr
|
41
43
|
]
|
@@ -25,13 +25,14 @@ from defi_services.services.lending.radiant_v2_services import RadiantStateServi
|
|
25
25
|
from defi_services.services.lending.trava_services import TravaStateService
|
26
26
|
from defi_services.services.lending.valas_services import ValasStateService
|
27
27
|
from defi_services.services.lending.flux_services import FluxStateService
|
28
|
-
from defi_services.services.lending.iron_bank_service import IronBankStateService
|
28
|
+
# from defi_services.services.lending.iron_bank_service import IronBankStateService
|
29
29
|
from defi_services.services.lending.venus_services import VenusStateService
|
30
30
|
from defi_services.services.lending.liqee_service import LiqeeStateService
|
31
31
|
from defi_services.services.lending.strike_service import StrikeStateService
|
32
32
|
from defi_services.services.lending.onyx_service import OnyxStateService
|
33
33
|
from defi_services.services.lending.wepiggy_services import WepiggyStateService
|
34
34
|
from defi_services.services.lending.xlend_services import XlendStateService
|
35
|
+
from defi_services.services.lending.yldr_services import YLDRStateService
|
35
36
|
from defi_services.services.lending.zerolend_services import ZeroLendStateService
|
36
37
|
|
37
38
|
|
@@ -42,7 +43,7 @@ class LendingServices:
|
|
42
43
|
Lending.compound: CompoundStateService,
|
43
44
|
Lending.trava: TravaStateService,
|
44
45
|
Lending.flux: FluxStateService,
|
45
|
-
Lending.iron_bank: IronBankStateService,
|
46
|
+
# Lending.iron_bank: IronBankStateService,
|
46
47
|
Lending.uwu: UwuStateService,
|
47
48
|
Lending.aave_v3: AaveV3StateService,
|
48
49
|
Lending.liqee: LiqeeStateService,
|
@@ -58,7 +59,8 @@ class LendingServices:
|
|
58
59
|
Lending.compound_v3: CompoundV3StateService,
|
59
60
|
Lending.radiant_v2: RadiantStateService,
|
60
61
|
Lending.zerolend: ZeroLendStateService,
|
61
|
-
Lending.kinza: KinzaStateService
|
62
|
+
Lending.kinza: KinzaStateService,
|
63
|
+
Lending.yldr: YLDRStateService
|
62
64
|
}
|
63
65
|
fantom = {
|
64
66
|
Lending.trava: TravaStateService,
|
@@ -86,7 +88,7 @@ class LendingServices:
|
|
86
88
|
Lending.aave_v3: AaveV3StateService,
|
87
89
|
Lending.aave_v2: AaveV2StateService,
|
88
90
|
Lending.granary: GranaryStateService,
|
89
|
-
Lending.iron_bank: IronBankStateService
|
91
|
+
# Lending.iron_bank: IronBankStateService
|
90
92
|
}
|
91
93
|
|
92
94
|
polygon = {
|
@@ -100,7 +102,7 @@ class LendingServices:
|
|
100
102
|
Lending.aave_v3: AaveV3StateService,
|
101
103
|
Lending.granary: GranaryStateService,
|
102
104
|
Lending.wepiggy: WepiggyStateService,
|
103
|
-
Lending.iron_bank: IronBankStateService,
|
105
|
+
# Lending.iron_bank: IronBankStateService,
|
104
106
|
Lending.compound_v3: CompoundV3StateService,
|
105
107
|
Lending.xlend: XlendStateService
|
106
108
|
}
|
@@ -111,7 +113,8 @@ class LendingServices:
|
|
111
113
|
Lending.wepiggy: WepiggyStateService,
|
112
114
|
Lending.granary: GranaryStateService,
|
113
115
|
Lending.silo: SiloStateService,
|
114
|
-
Lending.compound_v3: CompoundV3StateService
|
116
|
+
Lending.compound_v3: CompoundV3StateService,
|
117
|
+
Lending.yldr: YLDRStateService
|
115
118
|
}
|
116
119
|
|
117
120
|
tron = {
|
@@ -104,7 +104,7 @@ class StateQuerier:
|
|
104
104
|
if value is not None:
|
105
105
|
filtered_response_data[key] = value
|
106
106
|
else:
|
107
|
-
|
107
|
+
logger.error(key)
|
108
108
|
filtered_keys = list(filtered_response_data.keys())
|
109
109
|
response_data = filtered_response_data
|
110
110
|
list_call_id = [call_id for call_id in list_call_id if call_id in filtered_keys]
|
@@ -18,10 +18,15 @@ from defi_services.services.lending.lending_info.arbitrum.aave_v3_arbitrum impor
|
|
18
18
|
from defi_services.services.lending.lending_info.avalanche.aave_v3_avalanche import AAVE_V3_AVALANCHE
|
19
19
|
from defi_services.services.lending.lending_info.base.aave_v3_base import AAVE_V3_BASE
|
20
20
|
from defi_services.services.lending.lending_info.bsc.aave_v3_bsc import AAVE_V3_BSC
|
21
|
+
from defi_services.services.lending.lending_info.celo.aave_v3_celo import AAVE_V3_CELO
|
21
22
|
from defi_services.services.lending.lending_info.ethereum.old_aave_v3_eth import AAVE_V3_ETH
|
22
23
|
from defi_services.services.lending.lending_info.fantom.aave_v3_ftm import AAVE_V3_FTM
|
24
|
+
from defi_services.services.lending.lending_info.gnosis.aave_v3_gnoisis import AAVE_V3_GNOSIS
|
25
|
+
from defi_services.services.lending.lending_info.harmony.aave_v3_harmony import AAVE_V3_HARMONY
|
23
26
|
from defi_services.services.lending.lending_info.optimism.aave_v3_optimism import AAVE_V3_OPTIMISM
|
24
27
|
from defi_services.services.lending.lending_info.polygon.aave_v3_polygon import AAVE_V3_POLYGON
|
28
|
+
from defi_services.services.lending.lending_info.scroll.aave_v3_scroll import AAVE_V3_SCROLL
|
29
|
+
from defi_services.services.lending.lending_info.sonic.aave_v3_sonic import AAVE_V3_SONIC
|
25
30
|
from defi_services.services.lending.lending_info.zksync.aave_v3_zksync import AAVE_V3_ZKSYNC
|
26
31
|
|
27
32
|
logger = logging.getLogger("Aave V3 Lending Pool State Service")
|
@@ -37,7 +42,12 @@ class AaveV3Info:
|
|
37
42
|
Chain.arbitrum: AAVE_V3_ARB,
|
38
43
|
Chain.base: AAVE_V3_BASE,
|
39
44
|
Chain.zksync: AAVE_V3_ZKSYNC,
|
40
|
-
Chain.bsc: AAVE_V3_BSC
|
45
|
+
Chain.bsc: AAVE_V3_BSC,
|
46
|
+
Chain.harmony: AAVE_V3_HARMONY,
|
47
|
+
Chain.celo: AAVE_V3_CELO,
|
48
|
+
Chain.gnosis: AAVE_V3_GNOSIS,
|
49
|
+
Chain.scroll: AAVE_V3_SCROLL,
|
50
|
+
Chain.sonic: AAVE_V3_SONIC
|
41
51
|
}
|
42
52
|
|
43
53
|
|
@@ -2,9 +2,53 @@ VENUS_ARB = {
|
|
2
2
|
"projectName": "Venus",
|
3
3
|
"name": "Venus Lending Pool",
|
4
4
|
"rewardToken": "0xc1eb7689147c81ac840d4ff0d298489fc7986d52",
|
5
|
-
"comptrollerAddress": "",
|
6
|
-
"lensAddress": "",
|
5
|
+
"comptrollerAddress": "0x317c1a5739f39046e20b08ac9beea3f10fd43326",
|
6
|
+
"lensAddress": "0x53f34ff95367b2a4542461a6a63fd321f8da22ad",
|
7
7
|
"poolToken": "0xc1eb7689147c81ac840d4ff0d298489fc7986d52",
|
8
8
|
"type": "LENDING_POOL",
|
9
9
|
"forked": "compound",
|
10
|
+
"reservesList": {
|
11
|
+
"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f": {
|
12
|
+
"cToken": "0xada57840b372d4c28623e87fc175de8490792811",
|
13
|
+
"exchangeRate": 1.004669284186332,
|
14
|
+
"liquidationThreshold": 0.75,
|
15
|
+
"loanToValue": 0.75
|
16
|
+
},
|
17
|
+
"0x82af49447d8a07e3bd95bd0d56f35241523fbab1": {
|
18
|
+
"cToken": "0x68a34332983f4bf866768dd6d6e638b02ef5e1f0",
|
19
|
+
"exchangeRate": 1.0090528703349988,
|
20
|
+
"liquidationThreshold": 0.75,
|
21
|
+
"loanToValue": 0.75
|
22
|
+
},
|
23
|
+
"0xaf88d065e77c8cc2239327c5edb3a432268e5831": {
|
24
|
+
"cToken": "0x7d8609f8da70ff9027e9bc5229af4f6727662707",
|
25
|
+
"exchangeRate": 1.0600511022233943,
|
26
|
+
"liquidationThreshold": 0.78,
|
27
|
+
"loanToValue": 0.78
|
28
|
+
},
|
29
|
+
"0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9": {
|
30
|
+
"cToken": "0xb9f9117d4200dc296f9acd1e8be1937df834a2fd",
|
31
|
+
"exchangeRate": 1.0613267562499147,
|
32
|
+
"liquidationThreshold": 0.78,
|
33
|
+
"loanToValue": 0.78
|
34
|
+
},
|
35
|
+
"0x912ce59144191c1204e64559fe8253a0e49e6548": {
|
36
|
+
"cToken": "0xaeb0fed69354f34831fe1d16475d9a83ddacada6",
|
37
|
+
"exchangeRate": 1.008425827671361,
|
38
|
+
"liquidationThreshold": 0.55,
|
39
|
+
"loanToValue": 0.55
|
40
|
+
},
|
41
|
+
"0x70d95587d40a2caf56bd97485ab3eec10bee6336": {
|
42
|
+
"cToken": "0x9bb8cec9c0d46f53b4f2173bb2a0221f66c353cc",
|
43
|
+
"exchangeRate": 1.0000000000071776,
|
44
|
+
"liquidationThreshold": 0.7,
|
45
|
+
"loanToValue": 0.7
|
46
|
+
},
|
47
|
+
"0x47c031236e19d024b42f8ae6780e44a573170703": {
|
48
|
+
"cToken": "0x4f3a73f318c5ea67a86eaace24309f29f89900df",
|
49
|
+
"exchangeRate": 1.0000000000030533,
|
50
|
+
"liquidationThreshold": 0.7,
|
51
|
+
"loanToValue": 0.7
|
52
|
+
}
|
53
|
+
}
|
10
54
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
YLDR_ARBITRUM = {
|
2
2
|
"address": "0x54ad657851b6ae95ba3380704996caad4b7751a3",
|
3
3
|
"name": "YLDR Lending Pool",
|
4
4
|
"stakedIncentiveAddress": '',
|
@@ -7,6 +7,55 @@ YLDR_ETHEREUM = {
|
|
7
7
|
"type": "LENDING_POOL",
|
8
8
|
"poolToken": "",
|
9
9
|
"forked": "aave-v3",
|
10
|
-
"reservesList": {
|
10
|
+
"reservesList": {
|
11
|
+
"0xaf88d065e77c8cc2239327c5edb3a432268e5831": {
|
12
|
+
"tToken": "0xaa40dca2d69ded3eb17991aa17d83653f1084091",
|
13
|
+
"dToken": "0x7bcc957f8f86aa78762fccc0bfec6dbf8b1ad987",
|
14
|
+
"loanToValue": 0.81,
|
15
|
+
"liquidationThreshold": 0.84
|
16
|
+
},
|
17
|
+
"0x82af49447d8a07e3bd95bd0d56f35241523fbab1": {
|
18
|
+
"tToken": "0x6d7197fa1f2b9d01a25705b5558a748a2b5f0605",
|
19
|
+
"dToken": "0xa350429bc896a95f1ef6936e4c4c5a2c62052ed1",
|
20
|
+
"loanToValue": 0.825,
|
21
|
+
"liquidationThreshold": 0.855
|
22
|
+
},
|
23
|
+
"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8": {
|
24
|
+
"tToken": "0x8f46fb23d1d7e1385809bc304f979651fd374deb",
|
25
|
+
"dToken": "0x57c2e352e867238a96c300ff6434f7c8d63b3c14",
|
26
|
+
"loanToValue": 0.81,
|
27
|
+
"liquidationThreshold": 0.84
|
28
|
+
},
|
29
|
+
"0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9": {
|
30
|
+
"tToken": "0x172c9dce43198154dc0dacc843fd8103ad09145c",
|
31
|
+
"dToken": "0xcda3934b7dda7fc07ff09e669137c49782812f82",
|
32
|
+
"loanToValue": 0.75,
|
33
|
+
"liquidationThreshold": 0.78
|
34
|
+
},
|
35
|
+
"0x5979d7b546e38e414f7e9822514be443a4800529": {
|
36
|
+
"tToken": "0x4107b60471eef310fce240e4dfad14b7e326a6e0",
|
37
|
+
"dToken": "0x16359d6cf2ec7f9020707653d4758ad8969752f0",
|
38
|
+
"loanToValue": 0.7,
|
39
|
+
"liquidationThreshold": 0.73
|
40
|
+
},
|
41
|
+
"0x912ce59144191c1204e64559fe8253a0e49e6548": {
|
42
|
+
"tToken": "0x609772eeeda6dd1537177737823ffb3b3bc9b6e4",
|
43
|
+
"dToken": "0xda27be910ca3e205927cc43088b5681d19de05fa",
|
44
|
+
"loanToValue": 0.6,
|
45
|
+
"liquidationThreshold": 0.63
|
46
|
+
},
|
47
|
+
"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f": {
|
48
|
+
"tToken": "0xcb14e172f16db1e8e3cbca41a56281022633414d",
|
49
|
+
"dToken": "0xd5c41944a760c23caa11815c47e43b66719a213d",
|
50
|
+
"loanToValue": 0.73,
|
51
|
+
"liquidationThreshold": 0.76
|
52
|
+
},
|
53
|
+
"0xda10009cbd5d07dd0cecc66161fc93d7c9000da1": {
|
54
|
+
"tToken": "0x43274582edbc3d17ccb8c752da8aa9d471b5a093",
|
55
|
+
"dToken": "0x23a12b967ac30e04e844af3017f5c80b115b476d",
|
56
|
+
"loanToValue": 0.77,
|
57
|
+
"liquidationThreshold": 0.84
|
58
|
+
}
|
59
|
+
}
|
11
60
|
|
12
61
|
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
VENUS_BASE = {
|
2
|
+
"projectName": "Venus",
|
3
|
+
"name": "Venus Lending Pool",
|
4
|
+
"rewardToken": "",
|
5
|
+
"comptrollerAddress": "0x0c7973f9598aa62f9e03b94e92c967fd5437426c",
|
6
|
+
"lensAddress": "0x89825677fb4845f5fc0b227e387455eca1200058",
|
7
|
+
"poolToken": "",
|
8
|
+
"type": "LENDING_POOL",
|
9
|
+
"forked": "compound",
|
10
|
+
"reservesList": {
|
11
|
+
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf": {
|
12
|
+
"cToken": "0x7bbd1005bb24ec84705b04e1f2dfccad533b6d72",
|
13
|
+
"exchangeRate": 1.0001026928421601,
|
14
|
+
"liquidationThreshold": 0.73,
|
15
|
+
"loanToValue": 0.73
|
16
|
+
},
|
17
|
+
"0x4200000000000000000000000000000000000006": {
|
18
|
+
"cToken": "0xeb8a79bd44cf4500943bf94a2b4434c95c008599",
|
19
|
+
"exchangeRate": 1.0045169237467093,
|
20
|
+
"liquidationThreshold": 0.8,
|
21
|
+
"loanToValue": 0.8
|
22
|
+
},
|
23
|
+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
|
24
|
+
"cToken": "0x3cb752d175740043ec463673094e06acda2f9a2e",
|
25
|
+
"exchangeRate": 1.008978751718539,
|
26
|
+
"liquidationThreshold": 0.75,
|
27
|
+
"loanToValue": 0.75
|
28
|
+
},
|
29
|
+
"0x7fcd174e80f264448ebee8c88a7c4476aaf58ea6": {
|
30
|
+
"cToken": "0x75201d81b3b0b9d17b179118837be37f64fc4930",
|
31
|
+
"exchangeRate": 1.0000000065406953,
|
32
|
+
"liquidationThreshold": 0.73,
|
33
|
+
"loanToValue": 0.73
|
34
|
+
},
|
35
|
+
"0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452": {
|
36
|
+
"cToken": "0x133d3bcd77158d125b75a17cb517ffd4b4be64c5",
|
37
|
+
"exchangeRate": 1.0000011329363254,
|
38
|
+
"liquidationThreshold": 0.785,
|
39
|
+
"loanToValue": 0.785
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
File without changes
|
@@ -0,0 +1,47 @@
|
|
1
|
+
AAVE_V3_CELO = {
|
2
|
+
"address": "0x3e59a31363e2ad014dcbc521c4a0d5757d9f3402",
|
3
|
+
"name": "AAVE V3 Lending Pool",
|
4
|
+
"stakedIncentiveAddress": '0x4725a0fdbeb14a77964bc1c221ee3a7982263103',
|
5
|
+
"rewardTokensList": [],
|
6
|
+
"oracleAddress": "0x1e693d088cefd1e95ba4c4a5f7eea41a1ec37e8b",
|
7
|
+
"type": "LENDING_POOL",
|
8
|
+
"poolToken": "",
|
9
|
+
"forked": "aave-v3",
|
10
|
+
"reservesList": {
|
11
|
+
"0xceba9300f2b948710d2653dd7b07f33a8b32118c": {
|
12
|
+
"tToken": "0xff8309b9e99bfd2d4021bc71a362abd93dbd4785",
|
13
|
+
"sdToken": "0x0000000000000000000000000000000000000000",
|
14
|
+
"dToken": "0xdbe517c0fa6467873b684eccbed77217e471e862",
|
15
|
+
"loanToValue": 0.75,
|
16
|
+
"liquidationThreshold": 0.78
|
17
|
+
},
|
18
|
+
"0x48065fbbe25f71c9282ddf5e1cd6d6a887483d5e": {
|
19
|
+
"tToken": "0xdee98402a302e4d707fb9bf2bac66faeec31e8df",
|
20
|
+
"sdToken": "0x0000000000000000000000000000000000000000",
|
21
|
+
"dToken": "0xe15324a9887999803b931ac45aa89a94a9750052",
|
22
|
+
"loanToValue": 0.75,
|
23
|
+
"liquidationThreshold": 0.78
|
24
|
+
},
|
25
|
+
"0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73": {
|
26
|
+
"tToken": "0x34c02571094e08e935b8cf8dc10f1ad6795f1f81",
|
27
|
+
"sdToken": "0x0000000000000000000000000000000000000000",
|
28
|
+
"dToken": "0x5c2b7eb5886b3cec5cce1019e34493da33291af5",
|
29
|
+
"loanToValue": 0.0,
|
30
|
+
"liquidationThreshold": 0.0
|
31
|
+
},
|
32
|
+
"0x765de816845861e75a25fca122bb6898b8b1282a": {
|
33
|
+
"tToken": "0xbba98352628b0b0c4b40583f593ffcb630935a45",
|
34
|
+
"sdToken": "0x0000000000000000000000000000000000000000",
|
35
|
+
"dToken": "0x05ee3d1fbacbdba1259946033cd7a42fdfcccf0d",
|
36
|
+
"loanToValue": 0.0,
|
37
|
+
"liquidationThreshold": 0.0
|
38
|
+
},
|
39
|
+
"0x471ece3750da237f93b8e339c536989b8978a438": {
|
40
|
+
"tToken": "0xc3e77dc389537db1eec7c33b95cf3beeca71a209",
|
41
|
+
"sdToken": "0x0000000000000000000000000000000000000000",
|
42
|
+
"dToken": "0xaea37b42955de2ba2e4af6581e46349bcd3ea2d6",
|
43
|
+
"loanToValue": 0.55,
|
44
|
+
"liquidationThreshold": 0.61
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
@@ -7,7 +7,7 @@ SPARK_ETH = {
|
|
7
7
|
],
|
8
8
|
"oracleAddress": "0x8105f69d9c41644c6a0803fda7d03aa70996cfd9",
|
9
9
|
"type": "LENDING_POOL",
|
10
|
-
"poolToken": "
|
10
|
+
"poolToken": "",
|
11
11
|
"forked": "aave-v3",
|
12
12
|
"reservesList": {
|
13
13
|
"0x6b175474e89094c44da98b954eedeac495271d0f": {
|
@@ -2,9 +2,131 @@ VENUS_ETH = {
|
|
2
2
|
"projectName": "Venus",
|
3
3
|
"name": "Venus Lending Pool",
|
4
4
|
"rewardToken": "0xd3cc9d8f3689b83c91b7b59cab4946b063eb894a",
|
5
|
-
"comptrollerAddress": "",
|
6
|
-
"lensAddress": "",
|
5
|
+
"comptrollerAddress": "0x687a01ecf6d3907658f7a7c714749fac32336d1b",
|
6
|
+
"lensAddress": "0x5a44d6dc0330a92674f9fade1e4eb40b3d2adf04",
|
7
7
|
"poolToken": "0xd3cc9d8f3689b83c91b7b59cab4946b063eb894a",
|
8
8
|
"type": "LENDING_POOL",
|
9
9
|
"forked": "compound",
|
10
|
+
"reservesList": {
|
11
|
+
"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599": {
|
12
|
+
"cToken": "0x8716554364f20bca783cb2baa744d39361fd1d8d",
|
13
|
+
"exchangeRate": 1.0095108762407876,
|
14
|
+
"liquidationThreshold": 0.75,
|
15
|
+
"loanToValue": 0.75
|
16
|
+
},
|
17
|
+
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": {
|
18
|
+
"cToken": "0x7c8ff7d2a1372433726f879bd945ffb250b94c65",
|
19
|
+
"exchangeRate": 1.0119034252758208,
|
20
|
+
"liquidationThreshold": 0.75,
|
21
|
+
"loanToValue": 0.75
|
22
|
+
},
|
23
|
+
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": {
|
24
|
+
"cToken": "0x17c07e0c232f2f80dfdbd7a95b942d893a4c5acb",
|
25
|
+
"exchangeRate": 1.0709909844158072,
|
26
|
+
"liquidationThreshold": 0.78,
|
27
|
+
"loanToValue": 0.78
|
28
|
+
},
|
29
|
+
"0xdac17f958d2ee523a2206206994597c13d831ec7": {
|
30
|
+
"cToken": "0x8c3e3821259b82ffb32b2450a95d2dcbf161c24e",
|
31
|
+
"exchangeRate": 1.0850202532528808,
|
32
|
+
"liquidationThreshold": 0.78,
|
33
|
+
"loanToValue": 0.78
|
34
|
+
},
|
35
|
+
"0xf939e0a03fb07f59a73314e73794be0e57ac1b4e": {
|
36
|
+
"cToken": "0x672208c10aaaa2f9a6719f449c4c8227bc0bc202",
|
37
|
+
"exchangeRate": 1.0526988063309917,
|
38
|
+
"liquidationThreshold": 0.78,
|
39
|
+
"loanToValue": 0.78
|
40
|
+
},
|
41
|
+
"0x6b175474e89094c44da98b954eedeac495271d0f": {
|
42
|
+
"cToken": "0xd8add9b41d4e1cd64edad8722ab0ba8d35536657",
|
43
|
+
"exchangeRate": 1.0418931942357306,
|
44
|
+
"liquidationThreshold": 0.75,
|
45
|
+
"loanToValue": 0.75
|
46
|
+
},
|
47
|
+
"0x0000000000085d4780b73119b644ae5ecd22b376": {
|
48
|
+
"cToken": "0x13eb80fdbe5c5f4a7039728e258a6f05fb3b912b",
|
49
|
+
"exchangeRate": 1.01206921104084,
|
50
|
+
"liquidationThreshold": 0.75,
|
51
|
+
"loanToValue": 0.75
|
52
|
+
},
|
53
|
+
"0x853d955acef822db058eb8505911ed77f175b99e": {
|
54
|
+
"cToken": "0x4fafbdc4f2a9876bd1764827b26fb8dc4fd1db95",
|
55
|
+
"exchangeRate": 1.0371233377769815,
|
56
|
+
"liquidationThreshold": 0.75,
|
57
|
+
"loanToValue": 0.75
|
58
|
+
},
|
59
|
+
"0xa663b02cf0a4b149d2ad41910cb81e23e1c41c32": {
|
60
|
+
"cToken": "0x17142a05fe678e9584fa1d88efac1bf181bf7abe",
|
61
|
+
"exchangeRate": 1.0326372120493508,
|
62
|
+
"liquidationThreshold": 0.75,
|
63
|
+
"loanToValue": 0.75
|
64
|
+
},
|
65
|
+
"0xec53bf9167f50cdeb3ae105f56099aaab9061f83": {
|
66
|
+
"cToken": "0x256addbe0a387c98f487e44b85c29eb983413c5e",
|
67
|
+
"exchangeRate": 1.0000096938656726,
|
68
|
+
"liquidationThreshold": 0.5,
|
69
|
+
"loanToValue": 0.5
|
70
|
+
},
|
71
|
+
"0x657e8c867d8b37dcc18fa4caead9c45eb088c642": {
|
72
|
+
"cToken": "0x325ceb02fe1c2ff816a83a5770ea0e88e2faecf2",
|
73
|
+
"exchangeRate": 1.0,
|
74
|
+
"liquidationThreshold": 0.68,
|
75
|
+
"loanToValue": 0.68
|
76
|
+
},
|
77
|
+
"0x8236a87084f8b84306f72007f36f2618a5634494": {
|
78
|
+
"cToken": "0x25c20e6e110a1ce3febacc8b7e48368c7b2f0c91",
|
79
|
+
"exchangeRate": 1.0000000738588712,
|
80
|
+
"liquidationThreshold": 0.735,
|
81
|
+
"loanToValue": 0.735
|
82
|
+
},
|
83
|
+
"0xdc035d45d973e3ec169d2276ddab16f1e407384f": {
|
84
|
+
"cToken": "0x0c6b19287999f1e31a5c0a44393b24b62d2c0468",
|
85
|
+
"exchangeRate": 1.0017568754661408,
|
86
|
+
"liquidationThreshold": 0.73,
|
87
|
+
"loanToValue": 0.73
|
88
|
+
},
|
89
|
+
"0xa3931d71877c0e7a3148cb7eb4463524fec27fbd": {
|
90
|
+
"cToken": "0xe36ae842dbbd7ae372eba02c8239cd431cc063d6",
|
91
|
+
"exchangeRate": 1.0,
|
92
|
+
"liquidationThreshold": 0.73,
|
93
|
+
"loanToValue": 0.73
|
94
|
+
},
|
95
|
+
"0xba100000625a3754423978a60c9317c58a424e3d": {
|
96
|
+
"cToken": "0x0ec5488e4f8f319213a14cab188e01fb8517faa8",
|
97
|
+
"exchangeRate": 1.0000594559951541,
|
98
|
+
"liquidationThreshold": 0.57,
|
99
|
+
"loanToValue": 0.57
|
100
|
+
},
|
101
|
+
"0xbe53a109b494e5c9f97b9cd39fe969be68bf6204": {
|
102
|
+
"cToken": "0xf87c0a64dc3a8622d6c63265fa29137788163879",
|
103
|
+
"exchangeRate": 1.0,
|
104
|
+
"liquidationThreshold": 0.5,
|
105
|
+
"loanToValue": 0.5
|
106
|
+
},
|
107
|
+
"0x310b7ea7475a0b449cfd73be81522f1b88efafaa": {
|
108
|
+
"cToken": "0x475d0c68a8cd275c15d1f01f4f291804e445f677",
|
109
|
+
"exchangeRate": 1.0,
|
110
|
+
"liquidationThreshold": 0.5,
|
111
|
+
"loanToValue": 0.5
|
112
|
+
},
|
113
|
+
"0x182863131f9a4630ff9e27830d945b1413e347e8": {
|
114
|
+
"cToken": "0x520d67226bc904ac122dce66ed2f8f61aa1ed764",
|
115
|
+
"exchangeRate": 1.0000000000010152,
|
116
|
+
"liquidationThreshold": 0.5,
|
117
|
+
"loanToValue": 0.5
|
118
|
+
},
|
119
|
+
"0xc56413869c6cdf96496f2b1ef801fedbdfa7ddb0": {
|
120
|
+
"cToken": "0xba3916302cba4abcb51a01e706fc6051aaf272a0",
|
121
|
+
"exchangeRate": 1.000000001824587,
|
122
|
+
"liquidationThreshold": 0.5,
|
123
|
+
"loanToValue": 0.5
|
124
|
+
},
|
125
|
+
"0x917cee801a67f933f2e6b33fc0cd1ed2d5909d88": {
|
126
|
+
"cToken": "0xc42e4bfb996ed35235bda505430cbe404eb49f77",
|
127
|
+
"exchangeRate": 1.0000000000007485,
|
128
|
+
"liquidationThreshold": 0.7,
|
129
|
+
"loanToValue": 0.7
|
130
|
+
}
|
131
|
+
}
|
10
132
|
}
|
@@ -7,6 +7,42 @@ YLDR_ETHEREUM = {
|
|
7
7
|
"type": "LENDING_POOL",
|
8
8
|
"poolToken": "",
|
9
9
|
"forked": "aave-v3",
|
10
|
-
"reservesList": {
|
11
|
-
|
10
|
+
"reservesList": {
|
11
|
+
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": {
|
12
|
+
"tToken": "0xddbe14a7cd032e58368cf9db59b89d0ba8663703",
|
13
|
+
"dToken": "0x8cee2c02df3ff9dd9cab1762d86c04dd6e7f9b22",
|
14
|
+
"loanToValue": 0.77,
|
15
|
+
"liquidationThreshold": 0.8
|
16
|
+
},
|
17
|
+
"0xdac17f958d2ee523a2206206994597c13d831ec7": {
|
18
|
+
"tToken": "0x6a03202ca61f6a756c97f23eddfbf93d69d7baa1",
|
19
|
+
"dToken": "0xbdb5610184c4f9855d04ce59eaaef7386ff3827b",
|
20
|
+
"loanToValue": 0.74,
|
21
|
+
"liquidationThreshold": 0.77
|
22
|
+
},
|
23
|
+
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": {
|
24
|
+
"tToken": "0xb2de9be4b2ac812b69974521fb6a0f983aade16e",
|
25
|
+
"dToken": "0x641f307e2527394e09b999fdc7726e93faa725a0",
|
26
|
+
"loanToValue": 0.805,
|
27
|
+
"liquidationThreshold": 0.835
|
28
|
+
},
|
29
|
+
"0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0": {
|
30
|
+
"tToken": "0x2be2140b3692b150aba5969dad174c7af35714f4",
|
31
|
+
"dToken": "0x9da06f30b08126eab91de119d9ca9e345a2d2eae",
|
32
|
+
"loanToValue": 0.785,
|
33
|
+
"liquidationThreshold": 0.815
|
34
|
+
},
|
35
|
+
"0xbe9895146f7af43049ca1c1ae358b0541ea49704": {
|
36
|
+
"tToken": "0xec2e11a95fb96783ccbbae27a04219738dcde36b",
|
37
|
+
"dToken": "0xfc992b5ab3f938655fcb578de8365f22eb79de0a",
|
38
|
+
"loanToValue": 0.745,
|
39
|
+
"liquidationThreshold": 0.775
|
40
|
+
},
|
41
|
+
"0xae78736cd615f374d3085123a210448e74fc6393": {
|
42
|
+
"tToken": "0xbab39ac382396c6763db5047f0b41175feae65ef",
|
43
|
+
"dToken": "0x8ad492788cbc8f4b43768d7d8e1110367fa4a8ce",
|
44
|
+
"loanToValue": 0.745,
|
45
|
+
"liquidationThreshold": 0.775
|
46
|
+
}
|
47
|
+
}
|
12
48
|
}
|
File without changes
|
@@ -0,0 +1,69 @@
|
|
1
|
+
AAVE_V3_GNOSIS = {
|
2
|
+
"address": "0xb50201558b00496a145fe76f7424749556e326d8",
|
3
|
+
"name": "AAVE V3 Lending Pool",
|
4
|
+
"stakedIncentiveAddress": '0xad4f91d26254b6b0c6346b390dda2991fde2f20d',
|
5
|
+
"rewardTokensList": [],
|
6
|
+
"oracleAddress": "0xeb0a051be10228213baeb449db63719d6742f7c4",
|
7
|
+
"type": "LENDING_POOL",
|
8
|
+
"poolToken": "",
|
9
|
+
"forked": "aave-v3",
|
10
|
+
"reservesList": {
|
11
|
+
"0x6a023ccd1ff6f2045c3309768ead9e68f978f6e1": {
|
12
|
+
"tToken": "0xa818f1b57c201e092c4a2017a91815034326efd1",
|
13
|
+
"sdToken": "0x436d82d905b014926a2375c576500b6fea0d2496",
|
14
|
+
"dToken": "0x0c0fce05f2314540ecb095bf4d069e5e0ed90ff8",
|
15
|
+
"loanToValue": 0.8,
|
16
|
+
"liquidationThreshold": 0.83
|
17
|
+
},
|
18
|
+
"0x6c76971f98945ae98dd7d4dfca8711ebea946ea6": {
|
19
|
+
"tToken": "0x23e4e76d01b2002be436ce8d6044b0aa2f68b68a",
|
20
|
+
"sdToken": "0x436d82d905b014926a2375c576500b6fea0d2496",
|
21
|
+
"dToken": "0x9d881f67f20b49243c98f53d2b9e91e39d02ae09",
|
22
|
+
"loanToValue": 0.75,
|
23
|
+
"liquidationThreshold": 0.79
|
24
|
+
},
|
25
|
+
"0x9c58bacc331c9aa871afd802db6379a98e80cedb": {
|
26
|
+
"tToken": "0xa1fa064a85266e2ca82dee5c5ccec84df445760e",
|
27
|
+
"sdToken": "0x436d82d905b014926a2375c576500b6fea0d2496",
|
28
|
+
"dToken": "0xbc59e99198dba71985a66e1713cc89ffec53f7fc",
|
29
|
+
"loanToValue": 0.48,
|
30
|
+
"liquidationThreshold": 0.53
|
31
|
+
},
|
32
|
+
"0xddafbb505ad214d7b80b1f830fccc89b60fb7a83": {
|
33
|
+
"tToken": "0xc6b7aca6de8a6044e0e32d0c841a89244a10d284",
|
34
|
+
"sdToken": "0x436d82d905b014926a2375c576500b6fea0d2496",
|
35
|
+
"dToken": "0x5f6f7b0a87ca3cf3d0b431ae03ef3305180bff4d",
|
36
|
+
"loanToValue": 0.65,
|
37
|
+
"liquidationThreshold": 0.78
|
38
|
+
},
|
39
|
+
"0xe91d153e0b41518a2ce8dd3d7944fa863463a97d": {
|
40
|
+
"tToken": "0xd0dd6cef72143e22cced4867eb0d5f2328715533",
|
41
|
+
"sdToken": "0x436d82d905b014926a2375c576500b6fea0d2496",
|
42
|
+
"dToken": "0x281963d7471ecdc3a2bd4503e24e89691cfe420d",
|
43
|
+
"loanToValue": 0.63,
|
44
|
+
"liquidationThreshold": 0.77
|
45
|
+
},
|
46
|
+
"0xcb444e90d8198415266c6a2724b7900fb12fc56e": {
|
47
|
+
"tToken": "0xedbc7449a9b594ca4e053d9737ec5dc4cbccbfb2",
|
48
|
+
"sdToken": "0x436d82d905b014926a2375c576500b6fea0d2496",
|
49
|
+
"dToken": "0xb96404e475f337a7e98e4a541c9b71309bb66c5a",
|
50
|
+
"loanToValue": 0.0,
|
51
|
+
"liquidationThreshold": 0.0
|
52
|
+
},
|
53
|
+
"0xaf204776c7245bf4147c2612bf6e5972ee483701": {
|
54
|
+
"tToken": "0x7a5c3860a77a8dc1b225bd46d0fb2ac1c6d191bc",
|
55
|
+
"sdToken": "0x436d82d905b014926a2375c576500b6fea0d2496",
|
56
|
+
"dToken": "0x8fe06e1d8aff42bf6812cacf7854a2249a00bed7",
|
57
|
+
"loanToValue": 0.75,
|
58
|
+
"liquidationThreshold": 0.78
|
59
|
+
},
|
60
|
+
"0x2a22f9c3b484c3629090feed35f17ff8f88f76f0": {
|
61
|
+
"tToken": "0xc0333cb85b59a788d8c7cae5e1fd6e229a3e5a65",
|
62
|
+
"sdToken": "0x436d82d905b014926a2375c576500b6fea0d2496",
|
63
|
+
"dToken": "0x37b9ad6b5dc8ad977ad716e92f49e9d200e58431",
|
64
|
+
"loanToValue": 0.75,
|
65
|
+
"liquidationThreshold": 0.78
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
}
|