defi-state-querier 0.5.28__py3-none-any.whl → 0.5.30__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/ionic/__init__.py +0 -0
- defi_services/abis/lending/ionic/ionic_ctoken_abi.py +1108 -0
- defi_services/abis/lending/kinza/__init__.py +0 -0
- defi_services/abis/lending/kinza/kinza_incentive.py +928 -0
- defi_services/abis/lending/kinza/kinza_lending_pool.py +1791 -0
- defi_services/abis/lending/moonwell/__init__.py +0 -0
- defi_services/abis/lending/moonwell/moonwell_comptroller_abi.py +1500 -0
- defi_services/abis/lending/moonwell/moonwell_ctoken_abi.py +1431 -0
- defi_services/abis/lending/radiant_v2/radiant_reward_converter.py +817 -0
- defi_services/abis/lending/seamless/__init__.py +0 -0
- defi_services/abis/lending/seamless/seamless_incentive.py +1049 -0
- defi_services/abis/lending/seamless/seamless_lending_pool.py +1738 -0
- defi_services/abis/lending/seamless/seamless_oracle.py +233 -0
- defi_services/abis/token/trc20_abi.py +304 -0
- defi_services/abis/vault/tcv_abi.py +1523 -0
- defi_services/constants/chain_constant.py +8 -1
- defi_services/constants/entities/dex_info_constant.py +2 -2
- defi_services/constants/entities/dex_services.py +13 -1
- defi_services/constants/entities/lending_constant.py +14 -5
- defi_services/constants/entities/lending_services.py +41 -4
- defi_services/constants/entities/vault_constant.py +2 -2
- defi_services/constants/entities/vault_services.py +7 -1
- defi_services/constants/network_constants.py +20 -361
- defi_services/constants/token_constant.py +3 -1
- defi_services/jobs/processors/cosmos_state_processor.py +3 -2
- defi_services/jobs/processors/ton_state_processor.py +5 -4
- defi_services/jobs/queriers/call_state_querier.py +2 -0
- defi_services/jobs/queriers/state_querier.py +3 -0
- defi_services/jobs/tcv.py +144 -0
- defi_services/services/dex/dex_info/uniswap_info.py +29 -1
- defi_services/services/dex/uniswap_v3_service.py +6 -2
- defi_services/services/lending/aave_v2_services.py +44 -29
- defi_services/services/lending/aave_v3_services.py +41 -20
- defi_services/services/lending/avalon_services.py +34 -0
- defi_services/services/lending/compound_v3_services.py +9 -5
- defi_services/services/lending/granary_services.py +6 -4
- defi_services/services/lending/ionic_service.py +167 -0
- defi_services/services/lending/justlend_service.py +4 -3
- defi_services/services/lending/kinza_services.py +315 -0
- defi_services/services/lending/lending_info/arbitrum/aave_v3_arbitrum.py +1 -1
- defi_services/services/lending/lending_info/arbitrum/compound_v3_arbitrum.py +96 -6
- defi_services/services/lending/lending_info/arbitrum/venus_arbitrum.py +10 -0
- defi_services/services/lending/lending_info/base/__init__.py +0 -0
- defi_services/services/lending/lending_info/base/aave_v3_base.py +61 -0
- defi_services/services/lending/lending_info/base/compound_v3_base.py +116 -0
- defi_services/services/lending/lending_info/base/granary_base.py +62 -0
- defi_services/services/lending/lending_info/base/ionic_base.py +173 -0
- defi_services/services/lending/lending_info/base/moonwell_base.py +89 -0
- defi_services/services/lending/lending_info/base/radiant_v2_base.py +57 -0
- defi_services/services/lending/lending_info/base/seamless_base.py +145 -0
- defi_services/services/lending/lending_info/base/sonne_base.py +53 -0
- defi_services/services/lending/lending_info/base/xlend_base.py +91 -0
- defi_services/services/lending/lending_info/base/zerolend_base.py +109 -0
- defi_services/services/lending/lending_info/bsc/aave_v3_bsc.py +68 -0
- defi_services/services/lending/lending_info/bsc/apeswap_bsc.py +1 -1
- defi_services/services/lending/lending_info/bsc/avalon_bsc.py +75 -0
- defi_services/services/lending/lending_info/bsc/kinza_bsc.py +182 -0
- defi_services/services/lending/lending_info/ethereum/aave_v3_eth.py +1 -140
- defi_services/services/lending/lending_info/ethereum/compound_v3_eth.py +180 -5
- defi_services/services/lending/lending_info/ethereum/kinza_eth.py +119 -0
- defi_services/services/lending/lending_info/ethereum/old_aave_v3_eth.py +150 -0
- defi_services/services/lending/lending_info/ethereum/radiant_eth.py +69 -0
- defi_services/services/lending/lending_info/ethereum/venus_eth.py +10 -0
- defi_services/services/lending/lending_info/ethereum/zerolend_eth.py +96 -0
- defi_services/services/lending/lending_info/optimism/compound_v3_optimism.py +116 -0
- defi_services/services/lending/lending_info/optimism/moonwell_optimism.py +9 -0
- defi_services/services/lending/lending_info/optimism/xlend_optimism.py +112 -0
- defi_services/services/lending/lending_info/polygon/compound_v3_polygon.py +35 -5
- defi_services/services/lending/lending_info/zksync/__init__.py +0 -0
- defi_services/services/lending/lending_info/zksync/aave_v3_zksync.py +47 -0
- defi_services/services/lending/lending_info/zksync/venus_zksync.py +10 -0
- defi_services/services/lending/lending_info/zksync/zerolend_zksync.py +138 -0
- defi_services/services/lending/liqee_service.py +2 -2
- defi_services/services/lending/moonwell_service.py +120 -0
- defi_services/services/lending/morpho_aave_v2_services.py +3 -3
- defi_services/services/lending/morpho_aave_v3_services.py +2 -2
- defi_services/services/lending/onyx_service.py +2 -1
- defi_services/services/lending/radiant_v2_services.py +52 -10
- defi_services/services/lending/seamless_services.py +313 -0
- defi_services/services/lending/sonne_service.py +64 -0
- defi_services/services/lending/trava_services.py +2 -2
- defi_services/services/lending/uwu_services.py +3 -3
- defi_services/services/lending/valas_services.py +2 -2
- defi_services/services/lending/venus_services.py +9 -3
- defi_services/services/lending/xlend_services.py +325 -0
- defi_services/services/lending/zerolend_services.py +36 -0
- defi_services/services/multicall/multicall_v2.py +0 -317
- defi_services/services/vault/tcv_vault_services.py +108 -0
- defi_services/services/vault/vault_info/arbitrum/__init__.py +0 -0
- defi_services/services/vault/vault_info/arbitrum/tcv_arb.py +58 -0
- {defi_state_querier-0.5.28.dist-info → defi_state_querier-0.5.30.dist-info}/METADATA +1 -1
- {defi_state_querier-0.5.28.dist-info → defi_state_querier-0.5.30.dist-info}/RECORD +103 -49
- /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/__init__.py +0 -0
- /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/aave_v2_event_abi.py +0 -0
- /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/aave_v2_incentives_abi.py +0 -0
- /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/lending_pool_abi.py +0 -0
- /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/oracle_abi.py +0 -0
- /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/staked_incentives_abi.py +0 -0
- /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/uwu_incentives_abi.py +0 -0
- {defi_state_querier-0.5.28.dist-info → defi_state_querier-0.5.30.dist-info}/WHEEL +0 -0
- {defi_state_querier-0.5.28.dist-info → defi_state_querier-0.5.30.dist-info}/licenses/LICENSE +0 -0
- {defi_state_querier-0.5.28.dist-info → defi_state_querier-0.5.30.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
VENUS_ARB = {
|
2
|
+
"projectName": "Venus",
|
3
|
+
"name": "Venus Lending Pool",
|
4
|
+
"rewardToken": "0xc1eb7689147c81ac840d4ff0d298489fc7986d52",
|
5
|
+
"comptrollerAddress": "",
|
6
|
+
"lensAddress": "",
|
7
|
+
"poolToken": "0xc1eb7689147c81ac840d4ff0d298489fc7986d52",
|
8
|
+
"type": "LENDING_POOL",
|
9
|
+
"forked": "compound",
|
10
|
+
}
|
File without changes
|
@@ -0,0 +1,61 @@
|
|
1
|
+
AAVE_V3_BASE = {
|
2
|
+
"address": "0xa238dd80c259a72e81d7e4664a9801593f98d1c5",
|
3
|
+
"name": "AAVE Lending Pool",
|
4
|
+
"stakedIncentiveAddress": '0xf9cc4f0d883f1a1eb2c253bdb46c254ca51e1f44',
|
5
|
+
"oracleAddress": "0x2cc0fc26ed4563a5ce5e8bdcfe1a2878676ae156",
|
6
|
+
"rewardTokensList": ['0x4e65fe4dba92790696d040ac24aa414708f5c0ab'],
|
7
|
+
"type": "LENDING_POOL",
|
8
|
+
"poolToken": "0x4e65fe4dba92790696d040ac24aa414708f5c0ab",
|
9
|
+
"forked": "aave-v3",
|
10
|
+
"reservesList": {
|
11
|
+
"0x4200000000000000000000000000000000000006": {
|
12
|
+
"tToken": "0xd4a0e0b9149bcee3c920d2e00b5de09138fd8bb7",
|
13
|
+
"sdToken": "0xaed3b56fea82e809665f02acbcdec0816c75f4d9",
|
14
|
+
"dToken": "0x24e6e0795b3c7c71d965fcc4f371803d1c1dca1e",
|
15
|
+
"loanToValue": 0.8,
|
16
|
+
"liquidationThreshold": 0.83
|
17
|
+
},
|
18
|
+
"0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22": {
|
19
|
+
"tToken": "0xcf3d55c10db69f28fd1a75bd73f3d8a2d9c595ad",
|
20
|
+
"sdToken": "0xaed3b56fea82e809665f02acbcdec0816c75f4d9",
|
21
|
+
"dToken": "0x1dabc36f19909425f654777249815c073e8fd79f",
|
22
|
+
"loanToValue": 0.75,
|
23
|
+
"liquidationThreshold": 0.79
|
24
|
+
},
|
25
|
+
"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca": {
|
26
|
+
"tToken": "0x0a1d576f3efef75b330424287a95a366e8281d54",
|
27
|
+
"sdToken": "0xaed3b56fea82e809665f02acbcdec0816c75f4d9",
|
28
|
+
"dToken": "0x7376b2f323dc56fcd4c191b34163ac8a84702dab",
|
29
|
+
"loanToValue": 0.75,
|
30
|
+
"liquidationThreshold": 0.78
|
31
|
+
},
|
32
|
+
"0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452": {
|
33
|
+
"tToken": "0x99cbc45ea5bb7ef3a5bc08fb1b7e56bb2442ef0d",
|
34
|
+
"sdToken": "0xaed3b56fea82e809665f02acbcdec0816c75f4d9",
|
35
|
+
"dToken": "0x41a7c3f5904ad176dacbb1d99101f59ef0811dc1",
|
36
|
+
"loanToValue": 0.75,
|
37
|
+
"liquidationThreshold": 0.79
|
38
|
+
},
|
39
|
+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
|
40
|
+
"tToken": "0x4e65fe4dba92790696d040ac24aa414708f5c0ab",
|
41
|
+
"sdToken": "0xaed3b56fea82e809665f02acbcdec0816c75f4d9",
|
42
|
+
"dToken": "0x59dca05b6c26dbd64b5381374aaac5cd05644c28",
|
43
|
+
"loanToValue": 0.75,
|
44
|
+
"liquidationThreshold": 0.78
|
45
|
+
},
|
46
|
+
"0x04c0599ae5a44757c0af6f9ec3b93da8976c150a": {
|
47
|
+
"tToken": "0x7c307e128efa31f540f2e2d976c995e0b65f51f6",
|
48
|
+
"sdToken": "0xaed3b56fea82e809665f02acbcdec0816c75f4d9",
|
49
|
+
"dToken": "0x8d2e3f1f4b38aa9f1ced22ac06019c7561b03901",
|
50
|
+
"loanToValue": 0.725,
|
51
|
+
"liquidationThreshold": 0.75
|
52
|
+
},
|
53
|
+
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf": {
|
54
|
+
"tToken": "0xbdb9300b7cde636d9cd4aff00f6f009ffbbc8ee6",
|
55
|
+
"sdToken": "0xaed3b56fea82e809665f02acbcdec0816c75f4d9",
|
56
|
+
"dToken": "0x05e08702028de6aad395dc6478b554a56920b9ad",
|
57
|
+
"loanToValue": 0.73,
|
58
|
+
"liquidationThreshold": 0.78
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
@@ -0,0 +1,116 @@
|
|
1
|
+
COMPOUND_V3_BASE = {
|
2
|
+
"name": "Compound V3 Lending Pool",
|
3
|
+
"rewardToken": "0x9e1028f5f1d5ede59748ffcee5532509976840e0",
|
4
|
+
"rewardAddress": "0x123964802e6ababbe1bc9547d72ef1b69b00a6b1",
|
5
|
+
"factoryAddress": "0x27c348936400791b7350d80fb81bc61ad68df4ae",
|
6
|
+
"poolToken": "0x9e1028f5f1d5ede59748ffcee5532509976840e0",
|
7
|
+
"type": "LENDING_POOL",
|
8
|
+
"forked": "compound-v3",
|
9
|
+
"reservesList": {
|
10
|
+
"0x940181a94a35a4569e4529a3cdfb74e38fd98631": {
|
11
|
+
"comet": "0x784efeb622244d2348d4f2522f8860b96fbece89",
|
12
|
+
"assets": {
|
13
|
+
"0x4200000000000000000000000000000000000006": {
|
14
|
+
"priceFeed": "0x2c7118c4c88b9841fcf839074c26ae8f035f2921",
|
15
|
+
"loanToValue": 0.6,
|
16
|
+
"liquidationThreshold": 0.65
|
17
|
+
},
|
18
|
+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
|
19
|
+
"priceFeed": "0x970ffd8e335b8fa4cd5c869c7cac3a90671d5dc3",
|
20
|
+
"loanToValue": 0.65,
|
21
|
+
"liquidationThreshold": 0.7
|
22
|
+
},
|
23
|
+
"0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452": {
|
24
|
+
"priceFeed": "0x5404872d8f2e24b230ec9b9ec64e3855f637fb93",
|
25
|
+
"loanToValue": 0.6,
|
26
|
+
"liquidationThreshold": 0.65
|
27
|
+
},
|
28
|
+
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf": {
|
29
|
+
"priceFeed": "0x8df378453ff9deffa513367cdf9b3b53726303e9",
|
30
|
+
"loanToValue": 0.6,
|
31
|
+
"liquidationThreshold": 0.65
|
32
|
+
}
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"0x4200000000000000000000000000000000000006": {
|
36
|
+
"comet": "0x46e6b214b524310239732d51387075e0e70970bf",
|
37
|
+
"assets": {
|
38
|
+
"0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22": {
|
39
|
+
"priceFeed": "0x59e242d352ae13166b4987ae5c990c232f7f7cd6",
|
40
|
+
"loanToValue": 0.9,
|
41
|
+
"liquidationThreshold": 0.93
|
42
|
+
},
|
43
|
+
"0x2416092f143378750bb29b79ed961ab195cceea5": {
|
44
|
+
"priceFeed": "0x72874cfe957bb47795548e5a9fd740d135ba5e45",
|
45
|
+
"loanToValue": 0.88,
|
46
|
+
"liquidationThreshold": 0.91
|
47
|
+
},
|
48
|
+
"0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452": {
|
49
|
+
"priceFeed": "0x1f71901daf98d70b4baf40de080321e5c2676856",
|
50
|
+
"loanToValue": 0.9,
|
51
|
+
"liquidationThreshold": 0.93
|
52
|
+
},
|
53
|
+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
|
54
|
+
"priceFeed": "0x2f4eaf29dfeef4654bd091f7112926e108ef4ed0",
|
55
|
+
"loanToValue": 0.8,
|
56
|
+
"liquidationThreshold": 0.85
|
57
|
+
},
|
58
|
+
"0x04c0599ae5a44757c0af6f9ec3b93da8976c150a": {
|
59
|
+
"priceFeed": "0x841e380e3a98e4ee8912046d69731f4e21efb1d7",
|
60
|
+
"loanToValue": 0.9,
|
61
|
+
"liquidationThreshold": 0.93
|
62
|
+
},
|
63
|
+
"0xedfa23602d0ec14714057867a78d01e94176bea0": {
|
64
|
+
"priceFeed": "0xaeb318360f27748acb200ce616e389a6c9409a07",
|
65
|
+
"loanToValue": 0.88,
|
66
|
+
"liquidationThreshold": 0.91
|
67
|
+
},
|
68
|
+
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf": {
|
69
|
+
"priceFeed": "0x4cfce7795bf75dc3795369a953d9a9b8c2679ae4",
|
70
|
+
"loanToValue": 0.8,
|
71
|
+
"liquidationThreshold": 0.85
|
72
|
+
}
|
73
|
+
}
|
74
|
+
},
|
75
|
+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
|
76
|
+
"comet": "0xb125e6687d4313864e53df431d5425969c15eb2f",
|
77
|
+
"assets": {
|
78
|
+
"0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22": {
|
79
|
+
"priceFeed": "0x4687670f5f01716faa382e2356c103bad776752c",
|
80
|
+
"loanToValue": 0.8,
|
81
|
+
"liquidationThreshold": 0.85
|
82
|
+
},
|
83
|
+
"0x4200000000000000000000000000000000000006": {
|
84
|
+
"priceFeed": "0x71041dddad3595f9ced3dccfbe3d1f4b0a16bb70",
|
85
|
+
"loanToValue": 0.85,
|
86
|
+
"liquidationThreshold": 0.9
|
87
|
+
},
|
88
|
+
"0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452": {
|
89
|
+
"priceFeed": "0x4b5dee60531a72c1264319ec6a22678a4d0c8118",
|
90
|
+
"loanToValue": 0.8,
|
91
|
+
"liquidationThreshold": 0.85
|
92
|
+
},
|
93
|
+
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf": {
|
94
|
+
"priceFeed": "0x8d38a3d6b3c3b7d96d6536da7eef94a9d7dbc991",
|
95
|
+
"loanToValue": 0.8,
|
96
|
+
"liquidationThreshold": 0.85
|
97
|
+
}
|
98
|
+
}
|
99
|
+
},
|
100
|
+
"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca": {
|
101
|
+
"comet": "0x9c4ec768c28520b50860ea7a15bd7213a9ff58bf",
|
102
|
+
"assets": {
|
103
|
+
"0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22": {
|
104
|
+
"priceFeed": "0x4687670f5f01716faa382e2356c103bad776752c",
|
105
|
+
"loanToValue": 0.65,
|
106
|
+
"liquidationThreshold": 0.7
|
107
|
+
},
|
108
|
+
"0x4200000000000000000000000000000000000006": {
|
109
|
+
"priceFeed": "0x71041dddad3595f9ced3dccfbe3d1f4b0a16bb70",
|
110
|
+
"loanToValue": 0.69,
|
111
|
+
"liquidationThreshold": 0.74
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
GRANARY_BASE = {
|
2
|
+
"address": "0xb702ce183b4e1faa574834715e5d4a6378d0eed3",
|
3
|
+
"name": "Granary Finance Lending Pool",
|
4
|
+
"rewardToken": [],
|
5
|
+
"rewarder": "0xc043ba54f34c9fb3a0b45d22e2ef1f171272bc9d",
|
6
|
+
"stakedIncentiveAddress": "",
|
7
|
+
"poolToken": "",
|
8
|
+
"oracleAddress": "0x5a3423210536d930150080f699248edebc65e2b4",
|
9
|
+
"type": "LENDING_POOL",
|
10
|
+
"forked": "aave-v2",
|
11
|
+
"reservesList": {
|
12
|
+
"0x50c5725949a6f0c72e6c4a641f24049a917db0cb": {
|
13
|
+
"tToken": "0xe7334ad0e325139329e747cf2fc24538dd564987",
|
14
|
+
"dToken": "0xe5415fa763489c813694d7a79d133f0a7363310c",
|
15
|
+
"sdToken": "0xc40709470139657e6d80249c5cc998efb44898c9",
|
16
|
+
"loanToValue": 0.7,
|
17
|
+
"liquidationThreshold": 0.75
|
18
|
+
},
|
19
|
+
"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca": {
|
20
|
+
"tToken": "0x02cd18c03b5b3f250d2b29c87949cdab4ee11488",
|
21
|
+
"dToken": "0xbce07537df8ad5519c1d65e902e10aa48af83d88",
|
22
|
+
"sdToken": "0x73c177510cb7b5c6a7c770376fc6ebd29ef9e1a7",
|
23
|
+
"loanToValue": 0.8,
|
24
|
+
"liquidationThreshold": 0.85
|
25
|
+
},
|
26
|
+
"0x4200000000000000000000000000000000000006": {
|
27
|
+
"tToken": "0x9c29a8ec901dbec4fff165cd57d4f9e03d4838f7",
|
28
|
+
"dToken": "0x06d38c309d1dc541a23b0025b35d163c25754288",
|
29
|
+
"sdToken": "0x6f66c5c5e2ff94929582eabfc19051f19ed9eb70",
|
30
|
+
"loanToValue": 0.8,
|
31
|
+
"liquidationThreshold": 0.85
|
32
|
+
},
|
33
|
+
"0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22": {
|
34
|
+
"tToken": "0x272cfccefbefbe1518cd87002a8f9dfd8845a6c4",
|
35
|
+
"dToken": "0x5eea43129024eee861481f32c2541b12ddd44c08",
|
36
|
+
"sdToken": "0x09ab5ca2d537b81520f78474d6ed43675451a7f8",
|
37
|
+
"loanToValue": 0.7,
|
38
|
+
"liquidationThreshold": 0.75
|
39
|
+
},
|
40
|
+
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf": {
|
41
|
+
"tToken": "0x58254000ee8127288387b04ce70292b56098d55c",
|
42
|
+
"dToken": "0x05249f9ba88f7d98fe21a8f3c460f4746689aea5",
|
43
|
+
"sdToken": "0xc73ac4d26025622167a2bc67c93a855c1c6bdb24",
|
44
|
+
"loanToValue": 0.865,
|
45
|
+
"liquidationThreshold": 0.9
|
46
|
+
},
|
47
|
+
"0x940181a94a35a4569e4529a3cdfb74e38fd98631": {
|
48
|
+
"tToken": "0xe3f709397e87032e61f4248f53ee5c9a9abb6440",
|
49
|
+
"dToken": "0x083e519e76fe7e68c15a6163279eaaf87e2addae",
|
50
|
+
"sdToken": "0x383995fd2e86a2e067ffb31674aa0d1b370b39bd",
|
51
|
+
"loanToValue": 0.7,
|
52
|
+
"liquidationThreshold": 0.75
|
53
|
+
},
|
54
|
+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
|
55
|
+
"tToken": "0xc17312076f48764d6b4d263efdd5a30833e311dc",
|
56
|
+
"dToken": "0x3f332f38926b809670b3cac52df67706856a1555",
|
57
|
+
"sdToken": "0x5183adca8472b7c999c310e4d5aaab04ad12e252",
|
58
|
+
"loanToValue": 0.85,
|
59
|
+
"liquidationThreshold": 0.9
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
@@ -0,0 +1,173 @@
|
|
1
|
+
IONIC_BASE = {
|
2
|
+
"name": "Ionic Protocol Lending Pool",
|
3
|
+
"rewardToken": "0x3ee5e23eee121094f1cfc0ccc79d6c809ebd22e5",
|
4
|
+
"comptrollerAddress": "0x05c9c6417f246600f8f5f49fca9ee991bff73d13",
|
5
|
+
"lensAddress": "",
|
6
|
+
"poolToken": "0x3ee5e23eee121094f1cfc0ccc79d6c809ebd22e5",
|
7
|
+
"type": "LENDING_POOL",
|
8
|
+
"forked": "compound",
|
9
|
+
"reservesList": {
|
10
|
+
"0x940181a94a35a4569e4529a3cdfb74e38fd98631": {
|
11
|
+
"cToken": "0x014e08f05ac11bb532be62774a4c548368f59779",
|
12
|
+
"exchangeRate": 0.21036280076405323,
|
13
|
+
"liquidationThreshold": 0.65,
|
14
|
+
"loanToValue": 0.65
|
15
|
+
},
|
16
|
+
"0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22": {
|
17
|
+
"cToken": "0x9c201024a62466f9157b2daadda9326207addd29",
|
18
|
+
"exchangeRate": 0.2002912374078266,
|
19
|
+
"liquidationThreshold": 0.8,
|
20
|
+
"loanToValue": 0.8
|
21
|
+
},
|
22
|
+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
|
23
|
+
"cToken": "0xa900a17a49bc4d442ba7f72c39fa2108865671f0",
|
24
|
+
"exchangeRate": 0.2144986630669136,
|
25
|
+
"liquidationThreshold": 0.9,
|
26
|
+
"loanToValue": 0.9
|
27
|
+
},
|
28
|
+
"0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452": {
|
29
|
+
"cToken": "0x9d62e30c6cb7964c99314dcf5f847e36fcb29ca9",
|
30
|
+
"exchangeRate": 0.20033943867623932,
|
31
|
+
"liquidationThreshold": 0.82,
|
32
|
+
"loanToValue": 0.82
|
33
|
+
},
|
34
|
+
"0x2416092f143378750bb29b79ed961ab195cceea5": {
|
35
|
+
"cToken": "0x079f84161642d81aafb67966123c9949f9284bf5",
|
36
|
+
"exchangeRate": 0.2,
|
37
|
+
"liquidationThreshold": 0.67,
|
38
|
+
"loanToValue": 0.67
|
39
|
+
},
|
40
|
+
"0x4200000000000000000000000000000000000006": {
|
41
|
+
"cToken": "0x49420311b518f3d0c94e897592014de53831cfa3",
|
42
|
+
"exchangeRate": 0.2056799148456863,
|
43
|
+
"liquidationThreshold": 0.82,
|
44
|
+
"loanToValue": 0.82
|
45
|
+
},
|
46
|
+
"0x04c0599ae5a44757c0af6f9ec3b93da8976c150a": {
|
47
|
+
"cToken": "0x84341b650598002d427570298564d6701733c805",
|
48
|
+
"exchangeRate": 0.2006672530564737,
|
49
|
+
"liquidationThreshold": 0.7,
|
50
|
+
"loanToValue": 0.7
|
51
|
+
},
|
52
|
+
"0xcfa3ef56d303ae4faaba0592388f19d7c3399fb4": {
|
53
|
+
"cToken": "0x9c2a4f9c5471fd36be3bbd8437a33935107215a1",
|
54
|
+
"exchangeRate": 0.21306472879372002,
|
55
|
+
"liquidationThreshold": 0.8,
|
56
|
+
"loanToValue": 0.8
|
57
|
+
},
|
58
|
+
"0xcb327b99ff831bf8223cced12b1338ff3aa322ff": {
|
59
|
+
"cToken": "0x3d9669de9e3e98db41a1cbf6dc23446109945e3c",
|
60
|
+
"exchangeRate": 0.20548705316597352,
|
61
|
+
"liquidationThreshold": 0.7,
|
62
|
+
"loanToValue": 0.7
|
63
|
+
},
|
64
|
+
"0xab36452dbac151be02b16ca17d8919826072f64a": {
|
65
|
+
"cToken": "0xfc6b82668e10aff62f208c492fc95ef1fa9c0426",
|
66
|
+
"exchangeRate": 0.20002876280295545,
|
67
|
+
"liquidationThreshold": 0.5,
|
68
|
+
"loanToValue": 0.5
|
69
|
+
},
|
70
|
+
"0xcc7ff230365bd730ee4b352cc2492cedac49383e": {
|
71
|
+
"cToken": "0x751911bda88efcf412326abe649b7a3b28c4dede",
|
72
|
+
"exchangeRate": 0.20548693336881305,
|
73
|
+
"liquidationThreshold": 0.7,
|
74
|
+
"loanToValue": 0.7
|
75
|
+
},
|
76
|
+
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf": {
|
77
|
+
"cToken": "0x1de166df671ae6db4c4c98903df88e8007593748",
|
78
|
+
"exchangeRate": 0.20052653914389207,
|
79
|
+
"liquidationThreshold": 0.8,
|
80
|
+
"loanToValue": 0.8
|
81
|
+
},
|
82
|
+
"0x7fcd174e80f264448ebee8c88a7c4476aaf58ea6": {
|
83
|
+
"cToken": "0xc462eb5587062e2f2391990b8609d2428d8cf598",
|
84
|
+
"exchangeRate": 0.20000001713976723,
|
85
|
+
"liquidationThreshold": 0.8,
|
86
|
+
"loanToValue": 0.8
|
87
|
+
},
|
88
|
+
"0x57f5e098cad7a3d1eed53991d4d66c45c9af7812": {
|
89
|
+
"cToken": "0xe30965acd0ee1ce2e0cd0acbfb3596bd6fc78a51",
|
90
|
+
"exchangeRate": 0.2044245555402895,
|
91
|
+
"liquidationThreshold": 0.82,
|
92
|
+
"loanToValue": 0.82
|
93
|
+
},
|
94
|
+
"0x7002458b1df59eccb57387bc79ffc7c29e22e6f7": {
|
95
|
+
"cToken": "0xe00b2b2ca7ac347bc7ca82fe5cff0f76222ff375",
|
96
|
+
"exchangeRate": 0.20000000381271832,
|
97
|
+
"liquidationThreshold": 0.77,
|
98
|
+
"loanToValue": 0.77
|
99
|
+
},
|
100
|
+
"0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42": {
|
101
|
+
"cToken": "0x0e5a87047f871050c0d713321deb0f008a41c495",
|
102
|
+
"exchangeRate": 0.20519084272071697,
|
103
|
+
"liquidationThreshold": 0.85,
|
104
|
+
"loanToValue": 0.85
|
105
|
+
},
|
106
|
+
"0xb79dd08ea68a908a97220c76d19a6aa9cbde4376": {
|
107
|
+
"cToken": "0x74109171033f662d5b898a7a2fcab2f1ef80c201",
|
108
|
+
"exchangeRate": 0.20677822951262323,
|
109
|
+
"liquidationThreshold": 0.85,
|
110
|
+
"loanToValue": 0.85
|
111
|
+
},
|
112
|
+
"0xd95ca61ce9aaf2143e81ef5462c0c2325172e028": {
|
113
|
+
"cToken": "0xf1bbecd6acf648540eb79588df692c6b2f0fbc09",
|
114
|
+
"exchangeRate": 0.2000000021271215,
|
115
|
+
"liquidationThreshold": 0.85,
|
116
|
+
"loanToValue": 0.85
|
117
|
+
},
|
118
|
+
"0x04d5ddf5f3a8939889f11e97f8c4bb48317f1938": {
|
119
|
+
"cToken": "0xa4442b665d4c6dbc6ea43137b336e3089f05626c",
|
120
|
+
"exchangeRate": 0.20504935394887192,
|
121
|
+
"liquidationThreshold": 0.8,
|
122
|
+
"loanToValue": 0.8
|
123
|
+
},
|
124
|
+
"0x9b8df6e244526ab5f6e6400d331db28c8fdddb55": {
|
125
|
+
"cToken": "0xbd06905590b6e1b6ac979fc477a0aebb58d52371",
|
126
|
+
"exchangeRate": 0.20045386283137967,
|
127
|
+
"liquidationThreshold": 0.8,
|
128
|
+
"loanToValue": 0.8
|
129
|
+
},
|
130
|
+
"0xb0505e5a99abd03d94a1169e638b78edfed26ea4": {
|
131
|
+
"cToken": "0xaa255cf8e294bd7fcab21897c0791e50c99bac69",
|
132
|
+
"exchangeRate": 0.20097417256339267,
|
133
|
+
"liquidationThreshold": 0.7,
|
134
|
+
"loanToValue": 0.7
|
135
|
+
},
|
136
|
+
"0xe31ee12bdfdd0573d634124611e85338e2cbf0cf": {
|
137
|
+
"cToken": "0xf64bfd19ddcb2bb54e6f976a233d0a9400ed84ea",
|
138
|
+
"exchangeRate": 0.20280879465864812,
|
139
|
+
"liquidationThreshold": 0.7,
|
140
|
+
"loanToValue": 0.7
|
141
|
+
},
|
142
|
+
"0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979": {
|
143
|
+
"cToken": "0xd333681242f376f9005d1208ff946c3ee73ed659",
|
144
|
+
"exchangeRate": 0.2002139526862648,
|
145
|
+
"liquidationThreshold": 0.5,
|
146
|
+
"loanToValue": 0.5
|
147
|
+
},
|
148
|
+
"0xdcefd8c8fcc492630b943abcab3429f12ea9fea2": {
|
149
|
+
"cToken": "0x600d660440f15eeadbc3fc1403375e04b318f07e",
|
150
|
+
"exchangeRate": 0.21872300870735548,
|
151
|
+
"liquidationThreshold": 0.55,
|
152
|
+
"loanToValue": 0.55
|
153
|
+
},
|
154
|
+
"0x2615a94df961278dcbc41fb0a54fec5f10a693ae": {
|
155
|
+
"cToken": "0x5842c06fd18665d9e5c8d0f8fe770e635013626c",
|
156
|
+
"exchangeRate": 0.2,
|
157
|
+
"liquidationThreshold": 0.65,
|
158
|
+
"loanToValue": 0.65
|
159
|
+
},
|
160
|
+
"0x7ba6f01772924a82d9626c126347a28299e98c98": {
|
161
|
+
"cToken": "0xd3181806b89ca82cfa45d2e0807ae3c707bd752f",
|
162
|
+
"exchangeRate": 0.2,
|
163
|
+
"liquidationThreshold": 0.1,
|
164
|
+
"loanToValue": 0.1
|
165
|
+
},
|
166
|
+
"0x526728dbc96689597f85ae4cd716d4f7fccbae9d": {
|
167
|
+
"cToken": "0x5be1cb6cb3c9bfd16db43ed4f6c081fa9783dd1c",
|
168
|
+
"exchangeRate": 0.2,
|
169
|
+
"liquidationThreshold": 0.1,
|
170
|
+
"loanToValue": 0.1
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
MOONWELL_BASE = {
|
2
|
+
"name": "MoonWell Lending Pool",
|
3
|
+
"rewardToken": "0xa88594d404727625a9437c3f886c7643872296ae",
|
4
|
+
"comptrollerAddress": "0xfbb21d0380bee3312b33c4353c8936a0f13ef26c",
|
5
|
+
"lensAddress": "",
|
6
|
+
"poolToken": "0xa88594d404727625a9437c3f886c7643872296ae",
|
7
|
+
"type": "LENDING_POOL",
|
8
|
+
"forked": "compound",
|
9
|
+
"reservesList": {
|
10
|
+
"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca": {
|
11
|
+
"cToken": "0x703843c3379b52f9ff486c9f5892218d2a065cc8",
|
12
|
+
"exchangeRate": 0.0220443085576951,
|
13
|
+
"liquidationThreshold": 0.63,
|
14
|
+
"loanToValue": 0.63
|
15
|
+
},
|
16
|
+
"0x4200000000000000000000000000000000000006": {
|
17
|
+
"cToken": "0x628ff693426583d9a7fb391e54366292f509d457",
|
18
|
+
"exchangeRate": 0.020412500672796527,
|
19
|
+
"liquidationThreshold": 0.84,
|
20
|
+
"loanToValue": 0.84
|
21
|
+
},
|
22
|
+
"0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22": {
|
23
|
+
"cToken": "0x3bf93770f2d4a794c3d9ebefbaebae2a8f09a5e5",
|
24
|
+
"exchangeRate": 0.020076903623724787,
|
25
|
+
"liquidationThreshold": 0.81,
|
26
|
+
"loanToValue": 0.81
|
27
|
+
},
|
28
|
+
"0x50c5725949a6f0c72e6c4a641f24049a917db0cb": {
|
29
|
+
"cToken": "0x73b06d8d18de422e269645eace15400de7462417",
|
30
|
+
"exchangeRate": 0.02120759682210917,
|
31
|
+
"liquidationThreshold": 0.5,
|
32
|
+
"loanToValue": 0.5
|
33
|
+
},
|
34
|
+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
|
35
|
+
"cToken": "0xedc817a28e8b93b03976fbd4a3ddbc9f7d176c22",
|
36
|
+
"exchangeRate": 0.0213067286714483,
|
37
|
+
"liquidationThreshold": 0.83,
|
38
|
+
"loanToValue": 0.83
|
39
|
+
},
|
40
|
+
"0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452": {
|
41
|
+
"cToken": "0x627fe393bc6edda28e99ae648fd6ff362514304b",
|
42
|
+
"exchangeRate": 0.020088853449824397,
|
43
|
+
"liquidationThreshold": 0.81,
|
44
|
+
"loanToValue": 0.81
|
45
|
+
},
|
46
|
+
"0xb6fe221fe9eef5aba221c348ba20a1bf5e73624c": {
|
47
|
+
"cToken": "0xcb1dacd30638ae38f2b94ea64f066045b7d45f44",
|
48
|
+
"exchangeRate": 0.020055463685541564,
|
49
|
+
"liquidationThreshold": 0.81,
|
50
|
+
"loanToValue": 0.81
|
51
|
+
},
|
52
|
+
"0x940181a94a35a4569e4529a3cdfb74e38fd98631": {
|
53
|
+
"cToken": "0x73902f619ceb9b31fd8efecf435cbdf89e369ba6",
|
54
|
+
"exchangeRate": 0.022752802072674147,
|
55
|
+
"liquidationThreshold": 0.65,
|
56
|
+
"loanToValue": 0.65
|
57
|
+
},
|
58
|
+
"0x04c0599ae5a44757c0af6f9ec3b93da8976c150a": {
|
59
|
+
"cToken": "0xb8051464c8c92209c92f3a4cd9c73746c4c3cfb3",
|
60
|
+
"exchangeRate": 0.020060424794583583,
|
61
|
+
"liquidationThreshold": 0.78,
|
62
|
+
"loanToValue": 0.78
|
63
|
+
},
|
64
|
+
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf": {
|
65
|
+
"cToken": "0xf877acafa28c19b96727966690b2f44d35ad5976",
|
66
|
+
"exchangeRate": 0.02003869829926124,
|
67
|
+
"liquidationThreshold": 0.81,
|
68
|
+
"loanToValue": 0.81
|
69
|
+
},
|
70
|
+
"0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42": {
|
71
|
+
"cToken": "0xb682c840b5f4fc58b20769e691a6fa1305a501a2",
|
72
|
+
"exchangeRate": 0.0205449175199046,
|
73
|
+
"liquidationThreshold": 0.83,
|
74
|
+
"loanToValue": 0.83
|
75
|
+
},
|
76
|
+
"0xedfa23602d0ec14714057867a78d01e94176bea0": {
|
77
|
+
"cToken": "0xfc41b49d064ac646015b459c522820db9472f4b5",
|
78
|
+
"exchangeRate": 0.02003102242991382,
|
79
|
+
"liquidationThreshold": 0.74,
|
80
|
+
"loanToValue": 0.74
|
81
|
+
},
|
82
|
+
"0xa88594d404727625a9437c3f886c7643872296ae": {
|
83
|
+
"cToken": "0xdc7810b47eaab250de623f0ee07764afa5f71ed1",
|
84
|
+
"exchangeRate": 0.020000014506706253,
|
85
|
+
"liquidationThreshold": 0.65,
|
86
|
+
"loanToValue": 0.65
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
RADIANT_BASE = {
|
2
|
+
"address": "0x30798cfe2cca822321ceed7e6085e633aabc492f",
|
3
|
+
"name": "Radiant V2 Lending Pool",
|
4
|
+
"rewardToken": ["0xd722e55c1d9d9fa0021a5215cbb904b92b3dc5d4",
|
5
|
+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
|
6
|
+
"0x4200000000000000000000000000000000000006"],
|
7
|
+
"multiFeeAddress": "0xd87f8a52a91680c993ece968b281bf92505a3741",
|
8
|
+
"stakedIncentiveAddress": "",
|
9
|
+
"rewardConverter": "0xb905f3c95576baa125c56e477d119db9f9eabfb7",
|
10
|
+
"oracleAddress": "0xe373749cd9b2d379f7f6dd595e5164498b922164",
|
11
|
+
"type": "LENDING_POOL",
|
12
|
+
"forked": "aave-v2",
|
13
|
+
"reservesList": {
|
14
|
+
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
|
15
|
+
"tToken": "0xc2ddb87da8f16f1c3983fa7112419a1381919b14",
|
16
|
+
"dToken": "0x392376c337413ce2e9ad7dd5f3468ae58f323b00",
|
17
|
+
"sdToken": "0x1d8234e53dde5f2859e5ee67afe9e6782c80890f",
|
18
|
+
"loanToValue": 0.75,
|
19
|
+
"liquidationThreshold": 0.78
|
20
|
+
},
|
21
|
+
"0x4200000000000000000000000000000000000006": {
|
22
|
+
"tToken": "0x47cefa4f2170e6cba87452e9053540e05182a556",
|
23
|
+
"dToken": "0x2455485c868c94781aa25f3fe9a5f9a6771d659c",
|
24
|
+
"sdToken": "0x65675c472a5f40565b07f0947e2798c6f46caafa",
|
25
|
+
"loanToValue": 0.75,
|
26
|
+
"liquidationThreshold": 0.8
|
27
|
+
},
|
28
|
+
"0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452": {
|
29
|
+
"tToken": "0x43095e6e52a603fa571dde18a7a123ec407433fe",
|
30
|
+
"dToken": "0xb8eb4737c7da019f26a297c8020f024baa0c61d7",
|
31
|
+
"sdToken": "0x2d5c83a489880c0366695e03490cd85febdc370c",
|
32
|
+
"loanToValue": 0.67,
|
33
|
+
"liquidationThreshold": 0.75
|
34
|
+
},
|
35
|
+
"0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22": {
|
36
|
+
"tToken": "0x20508ba938fedae646fcad48416bc9b6a448786e",
|
37
|
+
"dToken": "0xf349787fed9c02bb7d4928fbc2c3d51a38ed7fbb",
|
38
|
+
"sdToken": "0xfe29c44869cf1ca7b34aefa4a7204b47797340c2",
|
39
|
+
"loanToValue": 0.67,
|
40
|
+
"liquidationThreshold": 0.75
|
41
|
+
},
|
42
|
+
"0x04c0599ae5a44757c0af6f9ec3b93da8976c150a": {
|
43
|
+
"tToken": "0x223a4066bd6a30477ead12a7af52125390c735da",
|
44
|
+
"dToken": "0x73a53a1d90fc37bc6ef66e25c819976cc2ad7d22",
|
45
|
+
"sdToken": "0x89cc1618c774626ca81710c3cda8a269af972ebf",
|
46
|
+
"loanToValue": 0.725,
|
47
|
+
"liquidationThreshold": 0.75
|
48
|
+
},
|
49
|
+
"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf": {
|
50
|
+
"tToken": "0x633ebd78e0ebe2ff2e2e169a4010b9ca4f7bcaa1",
|
51
|
+
"dToken": "0x40eb2d8e246915d768a218880cc52bc6993dc2b4",
|
52
|
+
"sdToken": "0x204d3fdef84ba08a452fbed235ecfc8431cce97f",
|
53
|
+
"loanToValue": 0.73,
|
54
|
+
"liquidationThreshold": 0.78
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|