defi-state-querier 0.5.20__py3-none-any.whl → 0.5.21__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- defi_services/__init__.py +1 -1
- defi_services/constants/entities/dex_services.py +11 -0
- defi_services/constants/entities/lending_services.py +10 -1
- defi_services/services/dex/dex_info/uniswap_info.py +20 -0
- defi_services/services/dex/uniswap_v3_service.py +5 -2
- defi_services/services/lending/aave_v3_services.py +5 -1
- defi_services/services/lending/lending_info/arbitrum/aave_v3_arbitrum.py +1 -1
- 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/moonwell_base.py +11 -0
- 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 +113 -0
- {defi_state_querier-0.5.20.dist-info → defi_state_querier-0.5.21.dist-info}/METADATA +1 -1
- {defi_state_querier-0.5.20.dist-info → defi_state_querier-0.5.21.dist-info}/RECORD +18 -12
- {defi_state_querier-0.5.20.dist-info → defi_state_querier-0.5.21.dist-info}/WHEEL +1 -1
- {defi_state_querier-0.5.20.dist-info → defi_state_querier-0.5.21.dist-info}/LICENSE +0 -0
- {defi_state_querier-0.5.20.dist-info → defi_state_querier-0.5.21.dist-info}/top_level.txt +0 -0
defi_services/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.5.
|
1
|
+
__version__ = "0.5.21"
|
@@ -48,6 +48,15 @@ class DexServices:
|
|
48
48
|
Dex.sushi_v2: SushiSwapV2Services,
|
49
49
|
Dex.uniswap_v3: UniswapV3Services
|
50
50
|
}
|
51
|
+
|
52
|
+
zksync = {
|
53
|
+
Dex.uniswap_v3: UniswapV3Services
|
54
|
+
}
|
55
|
+
|
56
|
+
base = {
|
57
|
+
Dex.uniswap_v3: UniswapV3Services
|
58
|
+
}
|
59
|
+
|
51
60
|
mapping = {
|
52
61
|
Chain.ethereum: ethereum,
|
53
62
|
Chain.fantom: fantom,
|
@@ -56,4 +65,6 @@ class DexServices:
|
|
56
65
|
Chain.polygon: polygon,
|
57
66
|
Chain.arbitrum: arbitrum,
|
58
67
|
# Chain.optimism: optimism,
|
68
|
+
Chain.zksync: zksync,
|
69
|
+
Chain.base: base
|
59
70
|
}
|
@@ -102,6 +102,13 @@ class LendingServices:
|
|
102
102
|
tron = {
|
103
103
|
Lending.justlend: JustLendStateService
|
104
104
|
}
|
105
|
+
|
106
|
+
base = {
|
107
|
+
Lending.aave_v3: AaveV3StateService
|
108
|
+
}
|
109
|
+
zksync = {
|
110
|
+
Lending.aave_v3: AaveV3StateService
|
111
|
+
}
|
105
112
|
# mapping
|
106
113
|
mapping = {
|
107
114
|
Chain.ethereum: ethereum,
|
@@ -111,5 +118,7 @@ class LendingServices:
|
|
111
118
|
Chain.polygon: polygon,
|
112
119
|
Chain.arbitrum: arbitrum,
|
113
120
|
Chain.optimism: optimism,
|
114
|
-
Chain.tron: tron
|
121
|
+
Chain.tron: tron,
|
122
|
+
Chain.zksync: zksync,
|
123
|
+
Chain.base: base
|
115
124
|
}
|
@@ -30,3 +30,23 @@ UNISWAP_V3_ARBITRUM_INFO = {
|
|
30
30
|
'pool_abi': UNISWAP_V3_POOL_ABI,
|
31
31
|
'forked': 'uniswap-v3'
|
32
32
|
}
|
33
|
+
|
34
|
+
UNISWAP_V3_BASE_INFO = {
|
35
|
+
'factory_address': '0x33128a8fC17869897dcE68Ed026d694621f6FDfD',
|
36
|
+
'factory_abi': UNISWAP_V3_FACTORY_ABI,
|
37
|
+
'staker_address': '0x42bE4D6527829FeFA1493e1fb9F3676d2425C3C1',
|
38
|
+
'NFT_manager_address': '0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1',
|
39
|
+
'NFT_manager_abi': UNISWAP_V3_NFT_TOKEN_MANGAGER_ABI,
|
40
|
+
'pool_abi': UNISWAP_V3_POOL_ABI,
|
41
|
+
'forked': 'uniswap-v3'
|
42
|
+
}
|
43
|
+
|
44
|
+
UNISWAP_V3_ZKSYNC_INFO = {
|
45
|
+
'factory_address': '0x8FdA5a7a8dCA67BBcDd10F02Fa0649A937215422',
|
46
|
+
'factory_abi': UNISWAP_V3_FACTORY_ABI,
|
47
|
+
'staker_address': '0xf84268FA8EB857c2e4298720C1C617178F5e78e1',
|
48
|
+
'NFT_manager_address': '0x0616e5762c1E7Dc3723c50663dF10a162D690a86',
|
49
|
+
'NFT_manager_abi': UNISWAP_V3_NFT_TOKEN_MANGAGER_ABI,
|
50
|
+
'pool_abi': UNISWAP_V3_POOL_ABI,
|
51
|
+
'forked': 'uniswap-v3'
|
52
|
+
}
|
@@ -5,7 +5,8 @@ from defi_services.abis.token.erc20_abi import ERC20_ABI
|
|
5
5
|
from defi_services.constants.chain_constant import Chain
|
6
6
|
from defi_services.constants.entities.dex_constant import Dex
|
7
7
|
from defi_services.jobs.queriers.state_querier import StateQuerier
|
8
|
-
from defi_services.services.dex.dex_info.uniswap_info import UNISWAP_V3_ETH_INFO, UNISWAP_V3_ARBITRUM_INFO
|
8
|
+
from defi_services.services.dex.dex_info.uniswap_info import UNISWAP_V3_ETH_INFO, UNISWAP_V3_ARBITRUM_INFO, \
|
9
|
+
UNISWAP_V3_ZKSYNC_INFO, UNISWAP_V3_BASE_INFO
|
9
10
|
from defi_services.services.dex_protocol_services import DexProtocolServices
|
10
11
|
from defi_services.utils.get_fees import get_fees
|
11
12
|
from defi_services.utils.sqrt_price_math import get_token_amount_of_user, get_token_amount_of_pool
|
@@ -16,7 +17,9 @@ logger = logging.getLogger("UniSwap V3 State Service")
|
|
16
17
|
class UniswapV3Info:
|
17
18
|
mapping = {
|
18
19
|
Chain.ethereum: UNISWAP_V3_ETH_INFO,
|
19
|
-
Chain.arbitrum: UNISWAP_V3_ARBITRUM_INFO
|
20
|
+
Chain.arbitrum: UNISWAP_V3_ARBITRUM_INFO,
|
21
|
+
Chain.zksync: UNISWAP_V3_ZKSYNC_INFO,
|
22
|
+
Chain.base: UNISWAP_V3_BASE_INFO
|
20
23
|
}
|
21
24
|
|
22
25
|
|
@@ -16,10 +16,12 @@ from defi_services.jobs.queriers.state_querier import StateQuerier
|
|
16
16
|
from defi_services.services.lending.aave_v2_services import AaveV2StateService
|
17
17
|
from defi_services.services.lending.lending_info.arbitrum.aave_v3_arbitrum import AAVE_V3_ARB
|
18
18
|
from defi_services.services.lending.lending_info.avalanche.aave_v3_avalanche import AAVE_V3_AVALANCHE
|
19
|
+
from defi_services.services.lending.lending_info.base.aave_v3_base import AAVE_V3_BASE
|
19
20
|
from defi_services.services.lending.lending_info.ethereum.old_aave_v3_eth import AAVE_V3_ETH
|
20
21
|
from defi_services.services.lending.lending_info.fantom.aave_v3_ftm import AAVE_V3_FTM
|
21
22
|
from defi_services.services.lending.lending_info.optimism.aave_v3_optimism import AAVE_V3_OPTIMISM
|
22
23
|
from defi_services.services.lending.lending_info.polygon.aave_v3_polygon import AAVE_V3_POLYGON
|
24
|
+
from defi_services.services.lending.lending_info.zksync.aave_v3_zksync import AAVE_V3_ZKSYNC
|
23
25
|
|
24
26
|
logger = logging.getLogger("Aave V3 Lending Pool State Service")
|
25
27
|
|
@@ -31,7 +33,9 @@ class AaveV3Info:
|
|
31
33
|
Chain.avalanche: AAVE_V3_AVALANCHE,
|
32
34
|
Chain.fantom: AAVE_V3_FTM,
|
33
35
|
Chain.optimism: AAVE_V3_OPTIMISM,
|
34
|
-
Chain.arbitrum: AAVE_V3_ARB
|
36
|
+
Chain.arbitrum: AAVE_V3_ARB,
|
37
|
+
Chain.base: AAVE_V3_BASE,
|
38
|
+
Chain.zksync: AAVE_V3_ZKSYNC
|
35
39
|
}
|
36
40
|
|
37
41
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
AAVE_V3_ARB = {
|
2
2
|
"address": "0x794a61358d6845594f94dc1db02a252b5b4814ad",
|
3
|
-
"name": "
|
3
|
+
"name": "AAVE Lending Pool",
|
4
4
|
"stakedIncentiveAddress": '0x929ec64c34a17401f460460d4b9390518e5b473e',
|
5
5
|
"oracleAddress": "0xb56c2F0B653B2e0b10C9b928C8580Ac5Df02C7C7",
|
6
6
|
"rewardTokensList": [],
|
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,11 @@
|
|
1
|
+
COMPOUND_ETH = {
|
2
|
+
"name": "Compound Lending Pool",
|
3
|
+
"rewardToken": "",
|
4
|
+
"comptrollerAddress": "0x73d8a3bf62aaca6690791e57ebaee4e1d875d8fe",
|
5
|
+
"lensAddress": "",
|
6
|
+
"poolToken": "",
|
7
|
+
"type": "LENDING_POOL",
|
8
|
+
"forked": "compound",
|
9
|
+
"reservesList": {
|
10
|
+
}
|
11
|
+
}
|
File without changes
|
@@ -0,0 +1,47 @@
|
|
1
|
+
AAVE_V3_ZKSYNC = {
|
2
|
+
"address": "0x78e30497a3c7527d953c6b1e3541b021a98ac43c",
|
3
|
+
"name": "AAVE Lending Pool",
|
4
|
+
"stakedIncentiveAddress": '0x37c972c9ddfc2138ebe33ec19dba063ab9f8966e',
|
5
|
+
"oracleAddress": "0xc7f58fca663a8d377b6d0c9703c697f56dc40088",
|
6
|
+
"rewardTokensList": [],
|
7
|
+
"type": "LENDING_POOL",
|
8
|
+
"poolToken": "",
|
9
|
+
"forked": "aave-v3",
|
10
|
+
"reservesList": {
|
11
|
+
"0x1d17cbcf0d6d143135ae902365d2e5e2a16538d4": {
|
12
|
+
"tToken": "0xe977f9b2a5ccf0457870a67231f23be4daecfbdb",
|
13
|
+
"sdToken": "0x4b57579c895cb5cd2e7bf6e94888fc6289f3ae95",
|
14
|
+
"dToken": "0x0049250d15a8550c5a14baa5af5b662a93a525b9",
|
15
|
+
"loanToValue": 0.75,
|
16
|
+
"liquidationThreshold": 0.78
|
17
|
+
},
|
18
|
+
"0x493257fd37edb34451f62edf8d2a0c418852ba4c": {
|
19
|
+
"tToken": "0xc48574bc5358c967d9447e7df70230fdb469e4e7",
|
20
|
+
"sdToken": "0x4b57579c895cb5cd2e7bf6e94888fc6289f3ae95",
|
21
|
+
"dToken": "0x8992db58077fe8c7b80c1b3a738eae8a7bddba34",
|
22
|
+
"loanToValue": 0.75,
|
23
|
+
"liquidationThreshold": 0.78
|
24
|
+
},
|
25
|
+
"0x5aea5775959fbc2557cc8789bc1bf90a239d9a91": {
|
26
|
+
"tToken": "0xb7b93bcf82519bb757fd18b23a389245dbd8ca64",
|
27
|
+
"sdToken": "0x4b57579c895cb5cd2e7bf6e94888fc6289f3ae95",
|
28
|
+
"dToken": "0x98dc737ea0e9bcb254c3f98510a71c5e11f74238",
|
29
|
+
"loanToValue": 0.75,
|
30
|
+
"liquidationThreshold": 0.78
|
31
|
+
},
|
32
|
+
"0x703b52f2b28febcb60e1372858af5b18849fe867": {
|
33
|
+
"tToken": "0xd4e607633f3d984633e946aea4eb71f92564c1c9",
|
34
|
+
"sdToken": "0x4b57579c895cb5cd2e7bf6e94888fc6289f3ae95",
|
35
|
+
"dToken": "0x6ad279f6523f6421fd5b0324a97d8f62eecd80c8",
|
36
|
+
"loanToValue": 0.71,
|
37
|
+
"liquidationThreshold": 0.76
|
38
|
+
},
|
39
|
+
"0x5a7d6b2f92c77fad6ccabd7ee0624e64907eaf3e": {
|
40
|
+
"tToken": "0xd6cd2c0fc55936498726cacc497832052a9b2d1b",
|
41
|
+
"sdToken": "0x4b57579c895cb5cd2e7bf6e94888fc6289f3ae95",
|
42
|
+
"dToken": "0x6450fd7f877b5bb726f7bc6bf0e6ffabd48d72ad",
|
43
|
+
"loanToValue": 0.4,
|
44
|
+
"liquidationThreshold": 0.45
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
VENUS_ZKSYNC = {
|
2
|
+
"chainId": "0x144",
|
3
|
+
"projectName": "Venus",
|
4
|
+
"name": "Venus Lending Pool",
|
5
|
+
"rewardToken": "0xcf6bb5389c92bdda8a3747ddb454cb7a64626c63",
|
6
|
+
"comptrollerAddress": "0xfd36e2c2a6789db23113685031d7f16329158384",
|
7
|
+
"lensAddress": "0xfb0f09db330dc842a6637bfb959209424bbfe8c7",
|
8
|
+
"poolToken": "0xcf6bb5389c92bdda8a3747ddb454cb7a64626c63",
|
9
|
+
"type": "LENDING_POOL",
|
10
|
+
"forked": "compound",
|
11
|
+
"reservesList": {
|
12
|
+
"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d": {
|
13
|
+
"cToken": "0xeca88125a5adbe82614ffc12d0db554e2e2867c8",
|
14
|
+
"liquidationThreshold": 0.825
|
15
|
+
},
|
16
|
+
"0x55d398326f99059ff775485246999027b3197955": {
|
17
|
+
"cToken": "0xfd5840cd36d94d7229439859c0112a4185bc0255",
|
18
|
+
"liquidationThreshold": 0.8
|
19
|
+
},
|
20
|
+
"0xe9e7cea3dedca5984780bafc599bd69add087d56": {
|
21
|
+
"cToken": "0x95c78222b3d6e262426483d42cfa53685a67ab9d",
|
22
|
+
"liquidationThreshold": 0.825
|
23
|
+
},
|
24
|
+
"0x47bead2563dcbf3bf2c9407fea4dc236faba485a": {
|
25
|
+
"cToken": "0x2ff3d0f6990a40261c66e1ff2017acbc282eb6d0",
|
26
|
+
"liquidationThreshold": 0.0
|
27
|
+
},
|
28
|
+
"0xcf6bb5389c92bdda8a3747ddb454cb7a64626c63": {
|
29
|
+
"cToken": "0x151b1e2635a717bcdc836ecd6fbb62b674fe3e1d",
|
30
|
+
"liquidationThreshold": 0.55
|
31
|
+
},
|
32
|
+
"0x0000000000000000000000000000000000000000": {
|
33
|
+
"cToken": "0xa07c5b74c9b40447a954e1466938b865b6bbea36",
|
34
|
+
"liquidationThreshold": 0.75
|
35
|
+
},
|
36
|
+
"0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c": {
|
37
|
+
"cToken": "0x882c173bc7ff3b7786ca16dfed3dfffb9ee7847b",
|
38
|
+
"liquidationThreshold": 0.8
|
39
|
+
},
|
40
|
+
"0x2170ed0880ac9a755fd29b2688956bd959f933f8": {
|
41
|
+
"cToken": "0xf508fcd89b8bd15579dc79a6827cb4686a3592c8",
|
42
|
+
"liquidationThreshold": 0.8
|
43
|
+
},
|
44
|
+
"0x4338665cbb7b2485a8855a139b75d5e34ab0db94": {
|
45
|
+
"cToken": "0x57a5297f2cb2c0aac9d554660acd6d385ab50c6b",
|
46
|
+
"liquidationThreshold": 0.6
|
47
|
+
},
|
48
|
+
"0x1d2f0da169ceb9fc7b3144628db156f3f6c60dbe": {
|
49
|
+
"cToken": "0xb248a295732e0225acd3337607cc01068e3b9c10",
|
50
|
+
"liquidationThreshold": 0.6
|
51
|
+
},
|
52
|
+
"0x8ff795a6f4d97e7887c79bea79aba5cc76444adf": {
|
53
|
+
"cToken": "0x5f0388ebc2b94fa8e123f404b79ccf5f40b29176",
|
54
|
+
"liquidationThreshold": 0.6
|
55
|
+
},
|
56
|
+
"0x7083609fce4d1d8dc0c979aab8c869ea2c873402": {
|
57
|
+
"cToken": "0x1610bc33319e9398de5f57b33a5b184c806ad217",
|
58
|
+
"liquidationThreshold": 0.6
|
59
|
+
},
|
60
|
+
"0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd": {
|
61
|
+
"cToken": "0x650b940a1033b8a1b1873f78730fcfc73ec11f1f",
|
62
|
+
"liquidationThreshold": 0.6
|
63
|
+
},
|
64
|
+
"0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3": {
|
65
|
+
"cToken": "0x334b3ecb4dca3593bccc3c7ebd1a1c1d1780fbf1",
|
66
|
+
"liquidationThreshold": 0.6
|
67
|
+
},
|
68
|
+
"0x0d8ce2a99bb6e3b7db580ed848240e4a0f9ae153": {
|
69
|
+
"cToken": "0xf91d58b5ae142dacc749f58a49fcbac340cb0343",
|
70
|
+
"liquidationThreshold": 0.6
|
71
|
+
},
|
72
|
+
"0x250632378e573c6be1ac2f97fcdf00515d0aa91b": {
|
73
|
+
"cToken": "0x972207a639cc1b374b893cc33fa251b55ceb7c07",
|
74
|
+
"liquidationThreshold": 0.6
|
75
|
+
},
|
76
|
+
"0x20bff4bbeda07536ff00e073bd8359e5d80d733d": {
|
77
|
+
"cToken": "0xebd0070237a0713e8d94fef1b728d3d993d290ef",
|
78
|
+
"liquidationThreshold": 0.0
|
79
|
+
},
|
80
|
+
"0x3ee2200efb3400fabb9aacf31297cbdd1d435d47": {
|
81
|
+
"cToken": "0x9a0af7fdb2065ce470d72664de73cae409da28ec",
|
82
|
+
"liquidationThreshold": 0.6
|
83
|
+
},
|
84
|
+
"0xba2ae424d960c26247dd6c32edc70b295c744c43": {
|
85
|
+
"cToken": "0xec3422ef92b2fb59e84c8b02ba73f1fe84ed8d71",
|
86
|
+
"liquidationThreshold": 0.4
|
87
|
+
},
|
88
|
+
"0xcc42724c6683b7e57334c4e856f4c9965ed682bd": {
|
89
|
+
"cToken": "0x5c9476fcd6a4f9a3654139721c949c2233bbbbc8",
|
90
|
+
"liquidationThreshold": 0.6
|
91
|
+
},
|
92
|
+
"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82": {
|
93
|
+
"cToken": "0x86ac3974e2bd0d60825230fa6f355ff11409df5c",
|
94
|
+
"liquidationThreshold": 0.55
|
95
|
+
},
|
96
|
+
"0xfb6115445bff7b52feb98650c87f44907e58f802": {
|
97
|
+
"cToken": "0x26da28954763b92139ed49283625cecaf52c6f94",
|
98
|
+
"liquidationThreshold": 0.55
|
99
|
+
},
|
100
|
+
"0x14016e85a25aeb13065688cafb43044c2ef86784": {
|
101
|
+
"cToken": "0x08ceb3f4a7ed3500ca0982bcd0fc7816688084c3",
|
102
|
+
"liquidationThreshold": 0.8
|
103
|
+
},
|
104
|
+
"0x85eac5ac2f758618dfa09bdbe0cf174e7d574d5b": {
|
105
|
+
"cToken": "0x61edcfe8dd6ba3c891cb9bec2dc7657b3b422e93",
|
106
|
+
"liquidationThreshold": 0.0
|
107
|
+
},
|
108
|
+
"0xce7de646e7208a4ef112cb6ed5038fa6cc6b12e3": {
|
109
|
+
"cToken": "0xc5d3466aa484b040ee977073fcf337f2c00071c1",
|
110
|
+
"liquidationThreshold": 0.525
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
defi_services/__init__.py,sha256=
|
1
|
+
defi_services/__init__.py,sha256=vbk3OfJeIjJPzzxypyXAE_-r591Ook4XHlpqLWpruUo,23
|
2
2
|
defi_services/abis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
defi_services/abis/multicall_v3_abi.py,sha256=0aPxjrJJFU17fODjvYFRDn5Y5J1yi_AJKc8v1uohNGY,12352
|
4
4
|
defi_services/abis/dex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -307,9 +307,9 @@ defi_services/constants/ton_decimals_constant.py,sha256=zMbbiIi2a9ZQSHEt8tLY0FnQ
|
|
307
307
|
defi_services/constants/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
308
308
|
defi_services/constants/entities/dex_constant.py,sha256=oCt8RS-0KjFW5zR5IU1Ys49nYCCAraY8pTivOpXoyvs,343
|
309
309
|
defi_services/constants/entities/dex_info_constant.py,sha256=gFjF6gWLZ-e_iLoUeSF-bPZKOwbmxVoMeyaA2wGZESM,1653
|
310
|
-
defi_services/constants/entities/dex_services.py,sha256=
|
310
|
+
defi_services/constants/entities/dex_services.py,sha256=Ip3ww6OBA3RQHMrtPE86uoPv2iv-oLh38cKGPtrpKMA,2383
|
311
311
|
defi_services/constants/entities/lending_constant.py,sha256=uUb3CnIlZP0lqdVPUt4IdlUXZwNpsMVDTmqMw0NK47g,1009
|
312
|
-
defi_services/constants/entities/lending_services.py,sha256=
|
312
|
+
defi_services/constants/entities/lending_services.py,sha256=B6sVERlz2GpEcRP5OMhT6X8felCnr15ITNYMTkqZvoM,5143
|
313
313
|
defi_services/constants/entities/vault_constant.py,sha256=XaFp2VpmePfym42Gn-5IeT8qnQBq1JcRNrH7r2_tWxo,122
|
314
314
|
defi_services/constants/entities/vault_services.py,sha256=uwcvxwnyXNU3_3mcI6PGWyvGe40tzHmTrmigotLWeMM,752
|
315
315
|
defi_services/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -348,18 +348,18 @@ defi_services/services/dex/sushiswap_service.py,sha256=1_vCvLjQZmjOK55xUpotAgrQK
|
|
348
348
|
defi_services/services/dex/sushiswap_v2_service.py,sha256=QyOVdTv06sWR_SYphxGGxla3eMN3Q8sRjXU6vPPTr4Q,3834
|
349
349
|
defi_services/services/dex/sushiswap_v3_service.py,sha256=fTBJfbyU4nSei_XCWxHKRZxzPRNwLrda3VORgKRAnYo,3141
|
350
350
|
defi_services/services/dex/uniswap_v2_service.py,sha256=ps8_-JW0ZjqFCLicap1zY0kenBoa3t43hZZNKI33WI0,10476
|
351
|
-
defi_services/services/dex/uniswap_v3_service.py,sha256=
|
351
|
+
defi_services/services/dex/uniswap_v3_service.py,sha256=karAAY3pb1mbDb1xlWuR5TS3-PfihAJ6p1mFfpGT1_I,18878
|
352
352
|
defi_services/services/dex/dex_info/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
353
353
|
defi_services/services/dex/dex_info/pancakeswap_info.py,sha256=dLtYR9_ZpKN3dme5gDZ-Oi7gnYRx2GMRRI1D9eQ3y5w,2075
|
354
354
|
defi_services/services/dex/dex_info/quickswap_info.py,sha256=79ul5xG6rKa2IVj2ptJrQzTyG9A5vweHodU28B1lpro,963
|
355
355
|
defi_services/services/dex/dex_info/spookyswap_info.py,sha256=oNwWsFsXE0R7b72ZDCmrhDOKwN_-T7y3N0sX26TmhIA,535
|
356
356
|
defi_services/services/dex/dex_info/sushiswap_info.py,sha256=VnfZR6c4bsjWTTaTPxO1c1W2fjhspHQfanSP2uCFuu8,4219
|
357
|
-
defi_services/services/dex/dex_info/uniswap_info.py,sha256=
|
357
|
+
defi_services/services/dex/dex_info/uniswap_info.py,sha256=XDF92imOaaB11Q4KgeQMggzLkbZ_USAUpipan6Cw1Ek,2112
|
358
358
|
defi_services/services/eth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
359
359
|
defi_services/services/eth/eth_services.py,sha256=b6nEcgGHVFdRjqT2RZqvjfRuh56yjWgwLj74YNhiHGM,3719
|
360
360
|
defi_services/services/lending/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
361
361
|
defi_services/services/lending/aave_v2_services.py,sha256=I3Z0FH8OLCiMmODzpu63F1x9vHnQMMOU9obhyUdOMKI,22300
|
362
|
-
defi_services/services/lending/aave_v3_services.py,sha256=
|
362
|
+
defi_services/services/lending/aave_v3_services.py,sha256=Vgrhz5IA_gbgRmI_6rBjO0WRuj49ULjbEXAeycIDP84,16961
|
363
363
|
defi_services/services/lending/apeswap_services.py,sha256=UrLhXVzGvim_xfs54hSJ1qeTH6ber4xh01j5PWFl4C8,4737
|
364
364
|
defi_services/services/lending/compound_service.py,sha256=8r7pAs8KaaakDuHg4BUICW4zLD-ihm_DQETYwnAFc98,21917
|
365
365
|
defi_services/services/lending/compound_v3_services.py,sha256=wsUavP2LAJCxmr8A0MPXLDb_YmANT_3DcSlgEgXuJv4,17128
|
@@ -385,7 +385,7 @@ defi_services/services/lending/venus_services.py,sha256=LhSG2H16kZn8AqIS7DAOy0kx
|
|
385
385
|
defi_services/services/lending/wepiggy_services.py,sha256=x10QkYpn47wgNvmDeMGgmzJxv7WPte6hqR3MCBRgMbM,15684
|
386
386
|
defi_services/services/lending/lending_info/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
387
387
|
defi_services/services/lending/lending_info/arbitrum/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
388
|
-
defi_services/services/lending/lending_info/arbitrum/aave_v3_arbitrum.py,sha256=
|
388
|
+
defi_services/services/lending/lending_info/arbitrum/aave_v3_arbitrum.py,sha256=VfEs1oLTSqs4GTnghtHrkqcCBHd7C_xyzD849TOwmd0,3553
|
389
389
|
defi_services/services/lending/lending_info/arbitrum/compound_v3_arbitrum.py,sha256=lkDHcAee5_EWWbh4t_iiO5fRQqnpt2JkY6ZEWE4kTsw,2766
|
390
390
|
defi_services/services/lending/lending_info/arbitrum/granary_arbitrum.py,sha256=AxMfKkbOhHGObzaDNNqTDv52WpbGA4MIyzZCItXvicg,3355
|
391
391
|
defi_services/services/lending/lending_info/arbitrum/radiant_arbitrum.py,sha256=1iXoZml8c1iVdshqzZ7YRVcS5lc2RK6A2AnPfO4s49U,2662
|
@@ -396,6 +396,9 @@ defi_services/services/lending/lending_info/avalanche/aave_v2_avalanche.py,sha25
|
|
396
396
|
defi_services/services/lending/lending_info/avalanche/aave_v3_avalanche.py,sha256=WrWBjJ88_5jKm3qmd1F_txnZaPE9uXIXBKG8sHvqcR4,4236
|
397
397
|
defi_services/services/lending/lending_info/avalanche/granary_avalanche.py,sha256=rfUF9HaW5yJQP2sRHbVf9nnFWi5YqEHPF905iFdhDbU,2640
|
398
398
|
defi_services/services/lending/lending_info/avalanche/iron_bank_avalanche.py,sha256=r06sFd-UyLXPlzAn3-A4ukJhix0OSkqLy7vsFU3KHvE,2343
|
399
|
+
defi_services/services/lending/lending_info/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
400
|
+
defi_services/services/lending/lending_info/base/aave_v3_base.py,sha256=dllF9ycNfxr3rODsDR33YmqOHcqyr5dUMtCEp5uCgP8,2637
|
401
|
+
defi_services/services/lending/lending_info/base/moonwell_base.py,sha256=x2hdXKVWoHx2wMHn2r6ILClGY86qzmGfMf6boQIExyM,277
|
399
402
|
defi_services/services/lending/lending_info/bsc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
400
403
|
defi_services/services/lending/lending_info/bsc/apeswap_bsc.py,sha256=cbS9R3ArW2ckZBiZOysOAlu3FoRX7xla8GUlUA6C0Q8,2110
|
401
404
|
defi_services/services/lending/lending_info/bsc/cream_bsc.py,sha256=X7CoQxOfRQjsRjsxKhiSBm5W-MO9TXKTXP93oxtwA_c,8372
|
@@ -445,6 +448,9 @@ defi_services/services/lending/lending_info/polygon/compound_v3_polygon.py,sha25
|
|
445
448
|
defi_services/services/lending/lending_info/polygon/wepiggy_polygon.py,sha256=2yj2M-VVNbxkGL4zEErIQGUdDIqlnA9gLOqGVX0stWM,2227
|
446
449
|
defi_services/services/lending/lending_info/tron/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
447
450
|
defi_services/services/lending/lending_info/tron/justlend_tron.py,sha256=2F4M8zFEE6-gqDKi82M-Xd6kcb2HP8-qmpNzDYorpXE,3741
|
451
|
+
defi_services/services/lending/lending_info/zksync/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
452
|
+
defi_services/services/lending/lending_info/zksync/aave_v3_zksync.py,sha256=HNfO2Q_g4BxEXXRKPF_03Z_cyaEHHZVRcPR5S7-_e_0,2072
|
453
|
+
defi_services/services/lending/lending_info/zksync/venus_zksync.py,sha256=LAliphHmkMXULUpWk0yO3ZZ2YbM39tPP68meYBZi9rc,4836
|
448
454
|
defi_services/services/multicall/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
449
455
|
defi_services/services/multicall/batch_queries_service.py,sha256=HzgKOdkP6kpjR7gySD78aZfX2Bkln3JM3OQ8ehjGWx0,3457
|
450
456
|
defi_services/services/multicall/multicall_v2.py,sha256=fKxq7Zv9gdaXaeS0kN_1ivgh-XJ_pQdVd9HuNl3ZZKo,6797
|
@@ -475,8 +481,8 @@ defi_services/utils/memory_storage.py,sha256=BOT8laB0iVSCGE-oDlpWJQLbSC6X2blKX4z
|
|
475
481
|
defi_services/utils/sqrt_price_math.py,sha256=9lgUeWFT4wjl3Vq3b7-jZ2bGvvZx7dDBSfVnM3lsZ8o,5575
|
476
482
|
defi_services/utils/thread_proxy.py,sha256=5Z8biAyEReUkh3vfJSvEv7GwMe3CsE5M8CbghkQtePw,2951
|
477
483
|
defi_services/utils/ton_decode_address.py,sha256=EWKwmC7KtbXpdKgiNK-5j-5lX7fCr17I4EWYs9b43eU,443
|
478
|
-
defi_state_querier-0.5.
|
479
|
-
defi_state_querier-0.5.
|
480
|
-
defi_state_querier-0.5.
|
481
|
-
defi_state_querier-0.5.
|
482
|
-
defi_state_querier-0.5.
|
484
|
+
defi_state_querier-0.5.21.dist-info/LICENSE,sha256=6jmfxa8nUIwfKnzZUxAHJSJ_IS7h7mpbJq26cWjoo-o,1063
|
485
|
+
defi_state_querier-0.5.21.dist-info/METADATA,sha256=Y1jBh_VtAYqjRnVgLQAFWXoV88Ip5AYZ0I8gVl87BeA,4413
|
486
|
+
defi_state_querier-0.5.21.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
|
487
|
+
defi_state_querier-0.5.21.dist-info/top_level.txt,sha256=C-OTxHK6MknKK-nAbEzCPDUl1M6pktRhgJrmsozdf6g,14
|
488
|
+
defi_state_querier-0.5.21.dist-info/RECORD,,
|
File without changes
|
File without changes
|