defi-state-querier 0.5.28__py3-none-any.whl → 0.5.29__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.
Files changed (84) hide show
  1. defi_services/__init__.py +1 -1
  2. defi_services/abis/lending/ionic/__init__.py +0 -0
  3. defi_services/abis/lending/ionic/ionic_ctoken_abi.py +1108 -0
  4. defi_services/abis/lending/moonwell/__init__.py +0 -0
  5. defi_services/abis/lending/moonwell/moonwell_comptroller_abi.py +1500 -0
  6. defi_services/abis/lending/moonwell/moonwell_ctoken_abi.py +1431 -0
  7. defi_services/abis/lending/radiant_v2/radiant_reward_converter.py +817 -0
  8. defi_services/abis/token/trc20_abi.py +304 -0
  9. defi_services/abis/vault/tcv_abi.py +1523 -0
  10. defi_services/constants/chain_constant.py +8 -1
  11. defi_services/constants/entities/dex_info_constant.py +2 -2
  12. defi_services/constants/entities/dex_services.py +13 -1
  13. defi_services/constants/entities/lending_constant.py +11 -5
  14. defi_services/constants/entities/lending_services.py +31 -4
  15. defi_services/constants/entities/vault_constant.py +2 -2
  16. defi_services/constants/entities/vault_services.py +7 -1
  17. defi_services/constants/network_constants.py +20 -361
  18. defi_services/constants/token_constant.py +3 -1
  19. defi_services/jobs/processors/cosmos_state_processor.py +3 -2
  20. defi_services/jobs/processors/ton_state_processor.py +5 -4
  21. defi_services/jobs/queriers/call_state_querier.py +2 -0
  22. defi_services/jobs/queriers/state_querier.py +3 -0
  23. defi_services/jobs/tcv.py +144 -0
  24. defi_services/services/dex/dex_info/uniswap_info.py +29 -1
  25. defi_services/services/dex/uniswap_v3_service.py +6 -2
  26. defi_services/services/lending/aave_v2_services.py +44 -29
  27. defi_services/services/lending/aave_v3_services.py +41 -20
  28. defi_services/services/lending/compound_v3_services.py +9 -5
  29. defi_services/services/lending/granary_services.py +6 -4
  30. defi_services/services/lending/ionic_service.py +167 -0
  31. defi_services/services/lending/justlend_service.py +4 -3
  32. defi_services/services/lending/lending_info/arbitrum/aave_v3_arbitrum.py +1 -1
  33. defi_services/services/lending/lending_info/arbitrum/compound_v3_arbitrum.py +96 -6
  34. defi_services/services/lending/lending_info/arbitrum/venus_arbitrum.py +10 -0
  35. defi_services/services/lending/lending_info/base/__init__.py +0 -0
  36. defi_services/services/lending/lending_info/base/aave_v3_base.py +61 -0
  37. defi_services/services/lending/lending_info/base/compound_v3_base.py +116 -0
  38. defi_services/services/lending/lending_info/base/granary_base.py +62 -0
  39. defi_services/services/lending/lending_info/base/ionic_base.py +173 -0
  40. defi_services/services/lending/lending_info/base/moonwell_base.py +89 -0
  41. defi_services/services/lending/lending_info/base/radiant_v2_base.py +57 -0
  42. defi_services/services/lending/lending_info/base/sonne_base.py +53 -0
  43. defi_services/services/lending/lending_info/base/zerolend_base.py +109 -0
  44. defi_services/services/lending/lending_info/bsc/aave_v3_bsc.py +68 -0
  45. defi_services/services/lending/lending_info/bsc/apeswap_bsc.py +1 -1
  46. defi_services/services/lending/lending_info/ethereum/aave_v3_eth.py +1 -140
  47. defi_services/services/lending/lending_info/ethereum/compound_v3_eth.py +180 -5
  48. defi_services/services/lending/lending_info/ethereum/old_aave_v3_eth.py +150 -0
  49. defi_services/services/lending/lending_info/ethereum/radiant_eth.py +69 -0
  50. defi_services/services/lending/lending_info/ethereum/venus_eth.py +10 -0
  51. defi_services/services/lending/lending_info/ethereum/zerolend_eth.py +96 -0
  52. defi_services/services/lending/lending_info/optimism/compound_v3_optimism.py +116 -0
  53. defi_services/services/lending/lending_info/optimism/moonwell_optimism.py +9 -0
  54. defi_services/services/lending/lending_info/polygon/compound_v3_polygon.py +35 -5
  55. defi_services/services/lending/lending_info/zksync/__init__.py +0 -0
  56. defi_services/services/lending/lending_info/zksync/aave_v3_zksync.py +47 -0
  57. defi_services/services/lending/lending_info/zksync/venus_zksync.py +10 -0
  58. defi_services/services/lending/lending_info/zksync/zerolend_zksync.py +138 -0
  59. defi_services/services/lending/moonwell_service.py +120 -0
  60. defi_services/services/lending/morpho_aave_v2_services.py +3 -3
  61. defi_services/services/lending/morpho_aave_v3_services.py +2 -2
  62. defi_services/services/lending/radiant_v2_services.py +52 -10
  63. defi_services/services/lending/sonne_service.py +64 -0
  64. defi_services/services/lending/trava_services.py +2 -2
  65. defi_services/services/lending/uwu_services.py +3 -3
  66. defi_services/services/lending/valas_services.py +2 -2
  67. defi_services/services/lending/venus_services.py +9 -3
  68. defi_services/services/lending/zerolend_services.py +36 -0
  69. defi_services/services/multicall/multicall_v2.py +0 -317
  70. defi_services/services/vault/tcv_vault_services.py +108 -0
  71. defi_services/services/vault/vault_info/arbitrum/__init__.py +0 -0
  72. defi_services/services/vault/vault_info/arbitrum/tcv_arb.py +58 -0
  73. {defi_state_querier-0.5.28.dist-info → defi_state_querier-0.5.29.dist-info}/METADATA +1 -1
  74. {defi_state_querier-0.5.28.dist-info → defi_state_querier-0.5.29.dist-info}/RECORD +84 -47
  75. /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/__init__.py +0 -0
  76. /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/aave_v2_event_abi.py +0 -0
  77. /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/aave_v2_incentives_abi.py +0 -0
  78. /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/lending_pool_abi.py +0 -0
  79. /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/oracle_abi.py +0 -0
  80. /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/staked_incentives_abi.py +0 -0
  81. /defi_services/abis/lending/{aave_v2_and_forlks → aave_v2_and_forks}/uwu_incentives_abi.py +0 -0
  82. {defi_state_querier-0.5.28.dist-info → defi_state_querier-0.5.29.dist-info}/WHEEL +0 -0
  83. {defi_state_querier-0.5.28.dist-info → defi_state_querier-0.5.29.dist-info}/licenses/LICENSE +0 -0
  84. {defi_state_querier-0.5.28.dist-info → defi_state_querier-0.5.29.dist-info}/top_level.txt +0 -0
@@ -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
+ }
@@ -0,0 +1,53 @@
1
+ SONNE_BASE = {
2
+ "name": "Sonne Finance Lending Pool",
3
+ "rewardToken": "0x22a2488fe295047ba13bd8cccdbc8361dbd8cf7c",
4
+ "comptrollerAddress": "0x1db2466d9f5e10d7090e7152b68d62703a2245f0",
5
+ "lensAddress": "",
6
+ "poolToken": "0x22a2488fe295047ba13bd8cccdbc8361dbd8cf7c",
7
+ "type": "LENDING_POOL",
8
+ "forked": "compound",
9
+ "reservesList": {
10
+ "0x50c5725949a6f0c72e6c4a641f24049a917db0cb": {
11
+ "cToken": "0xb864ba2aab1f53bc3af7ae49a318202dd3fd54c2",
12
+ "exchangeRate": 0.023083559152306903,
13
+ "liquidationThreshold": 0.85,
14
+ "loanToValue": 0.85
15
+ },
16
+ "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca": {
17
+ "cToken": "0x225886c9beb5eee254f79d58bbd80cf9f200d4d0",
18
+ "exchangeRate": 0.0250658201249789,
19
+ "liquidationThreshold": 0.85,
20
+ "loanToValue": 0.85
21
+ },
22
+ "0x4200000000000000000000000000000000000006": {
23
+ "cToken": "0x5f5c479fe590cd4442a05ae4a941dd991a633b8e",
24
+ "exchangeRate": 0.020423843905669113,
25
+ "liquidationThreshold": 0.7,
26
+ "loanToValue": 0.7
27
+ },
28
+ "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
29
+ "cToken": "0xfd68f92b45b633bbe0f475294c1a86aecd62985a",
30
+ "exchangeRate": 0.0234603622944371,
31
+ "liquidationThreshold": 0.85,
32
+ "loanToValue": 0.85
33
+ },
34
+ "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22": {
35
+ "cToken": "0x6c91beeceedda2089307fab818e12757948bf489",
36
+ "exchangeRate": 0.02066126030128981,
37
+ "liquidationThreshold": 0.65,
38
+ "loanToValue": 0.65
39
+ },
40
+ "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452": {
41
+ "cToken": "0x7a6468053cdcd7e8fe507d7edb77336f5057d206",
42
+ "exchangeRate": 0.020397422935249394,
43
+ "liquidationThreshold": 0.6,
44
+ "loanToValue": 0.6
45
+ },
46
+ "0x940181a94a35a4569e4529a3cdfb74e38fd98631": {
47
+ "cToken": "0xfa78196ace4048c4ccce6d3d97890d7b6c8f59da",
48
+ "exchangeRate": 0.021779276987867538,
49
+ "liquidationThreshold": 0.3,
50
+ "loanToValue": 0.3
51
+ }
52
+ }
53
+ }
@@ -0,0 +1,109 @@
1
+ ZEROLEND_BASE = {
2
+ "address": "0x766f21277087e18967c1b10bf602d8fe56d0c671",
3
+ "name": "ZeroLend Lending Pool",
4
+ "stakedIncentiveAddress": '0xaa999ea356f925bf1e856038c5d182ae5e8a4973',
5
+ "rewardTokensList": [],
6
+ "oracleAddress": "0xf49ee3ea9c56d90627881d88004aabdfc44fd82c",
7
+ "type": "LENDING_POOL",
8
+ "forked": "aave-v3",
9
+ "reservesList": {
10
+ "0x4200000000000000000000000000000000000006": {
11
+ "tToken": "0x4677201dbb575d485ad69e5c5b1e7e7888c3ab29",
12
+ "sdToken": "0xb375197dc09e06382a05be306df6a551f08a3b7b",
13
+ "dToken": "0xfec889b48d8cb51bfd988bf211d4cfe854af085c",
14
+ "loanToValue": 0.8,
15
+ "liquidationThreshold": 0.825
16
+ },
17
+ "0x940181a94a35a4569e4529a3cdfb74e38fd98631": {
18
+ "tToken": "0x3c2b86d6308c24632bb8716ed013567c952b53ae",
19
+ "sdToken": "0xe37b9dd1cdf9f411a9f6bb8d0c1fa2af6b960a47",
20
+ "dToken": "0x98ef767a6184323bf2788a0936706432698d3400",
21
+ "loanToValue": 0.8,
22
+ "liquidationThreshold": 0.9
23
+ },
24
+ "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913": {
25
+ "tToken": "0xd09600475435cab0e40dabdb161fb5a3311efcb3",
26
+ "sdToken": "0x1d32fd6f0dda3f3ef74e5bc3da3166febdd698b5",
27
+ "dToken": "0xa397391b718f3c7f21c63e8beb09b66607419c38",
28
+ "loanToValue": 0.8,
29
+ "liquidationThreshold": 0.85
30
+ },
31
+ "0x0a27e060c0406f8ab7b64e3bee036a37e5a62853": {
32
+ "tToken": "0x2e1f66d89a95a88afe594f6ed936b1ca76efb74c",
33
+ "sdToken": "0x6017b28d5b8a46474673ad7a4914318ad5e6db5e",
34
+ "dToken": "0x5e4043a302a827bfa4cb51fa18c66109683d08ee",
35
+ "loanToValue": 0.0,
36
+ "liquidationThreshold": 0.0
37
+ },
38
+ "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22": {
39
+ "tToken": "0x1f3f89ffc8cd686cecc845b5f52246598f1e3196",
40
+ "sdToken": "0x65d178978a458ff3ca39bc3df3ad9d0a0957d1bd",
41
+ "dToken": "0x371cfa36ef5e33c46d1e0ef2111862d5ff9f78cd",
42
+ "loanToValue": 0.8,
43
+ "liquidationThreshold": 0.825
44
+ },
45
+ "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf": {
46
+ "tToken": "0x4433cf6e9458027ff0833f22a3cf73318908e48e",
47
+ "sdToken": "0xf29fab0a70ad1f8aa88b2b389d4c84083f73301e",
48
+ "dToken": "0x7e1b2ac5339e8bba83c67a9444e9ee981c46ce42",
49
+ "loanToValue": 0.7,
50
+ "liquidationThreshold": 0.75
51
+ },
52
+ "0x6cdcb1c4a4d1c3c6d054b27ac5b77e89eafb971d": {
53
+ "tToken": "0xb6ccd85f92fb9a8bbc99b55091855714aaeebfee",
54
+ "sdToken": "0xcd18e7d74d8ae9228c3405149725d7813363fcde",
55
+ "dToken": "0x80e898e5ad81940fe094ac3159b08a3494198570",
56
+ "loanToValue": 0.8,
57
+ "liquidationThreshold": 0.95
58
+ },
59
+ "0x1097dfe9539350cb466df9ca89a5e61195a520b0": {
60
+ "tToken": "0x89bb87137afe8bae03f4ab286de667a513ceebdd",
61
+ "sdToken": "0x6bb22ac00925f75e0a089178835cb98239b0ad30",
62
+ "dToken": "0x6b0b75c223ddd146b213ef4e35bc61d1de7b46a4",
63
+ "loanToValue": 0.8,
64
+ "liquidationThreshold": 0.95
65
+ },
66
+ "0x04d5ddf5f3a8939889f11e97f8c4bb48317f1938": {
67
+ "tToken": "0x9357e7f1c49e6d0094287f882fc47774fd3bc291",
68
+ "sdToken": "0xa5760c5e8927ddff5fe77719890522d5432a7c3a",
69
+ "dToken": "0x19887e3d984cbbd75805dfdbc9810efe923b897f",
70
+ "loanToValue": 0.75,
71
+ "liquidationThreshold": 0.8
72
+ },
73
+ "0xe31ee12bdfdd0573d634124611e85338e2cbf0cf": {
74
+ "tToken": "0xf382e613ff8ee69f3f7557424e7cfd48792286c5",
75
+ "sdToken": "0x1f69f0a0204f059527eae5df451460a1cbe4b54f",
76
+ "dToken": "0x591d8d962278bd35182decb2852de50f83dd29d0",
77
+ "loanToValue": 0.75,
78
+ "liquidationThreshold": 0.9
79
+ },
80
+ "0xdbfefd2e8460a6ee4955a68582f85708baea60a3": {
81
+ "tToken": "0xe48d605bb303f7e88561a9b09640af4323c5b921",
82
+ "sdToken": "0xe126b8ecaf14c5485b31dfdc29241d0f9141be73",
83
+ "dToken": "0xd6290195faab4b78f43eb38554e36f243218f334",
84
+ "loanToValue": 0.75,
85
+ "liquidationThreshold": 0.9
86
+ },
87
+ "0xf469fbd2abcd6b9de8e169d128226c0fc90a012e": {
88
+ "tToken": "0x4759417285100f0a11846304af76d1ed8d9ad253",
89
+ "sdToken": "0xe4616a793e4533c1b3069afd70161c31fd323b5a",
90
+ "dToken": "0x95beb0d11951e3e4140f1265b3df76f685740e18",
91
+ "loanToValue": 0.75,
92
+ "liquidationThreshold": 0.9
93
+ },
94
+ "0x7fcd174e80f264448ebee8c88a7c4476aaf58ea6": {
95
+ "tToken": "0x134efc999957fc7984c5ab91bc7ec0f0d373b71e",
96
+ "sdToken": "0xe3f7084849029144233f00036611245d638033ed",
97
+ "dToken": "0x1c7f3d9d02ad5fefd1a8feed65957be1ea5f649c",
98
+ "loanToValue": 0.8,
99
+ "liquidationThreshold": 0.9
100
+ },
101
+ "0xecac9c5f704e954931349da37f60e39f515c11c1": {
102
+ "tToken": "0xbbb4080b4d4510ace168d1ff8c5cc256ab74e1fb",
103
+ "sdToken": "0x33a0a85a3f184e75333b8c25307acfb9a5e4cb57",
104
+ "dToken": "0x8307952247925a2ed9f5729eaf67172a77e08999",
105
+ "loanToValue": 0.8,
106
+ "liquidationThreshold": 0.85
107
+ }
108
+ }
109
+ }
@@ -0,0 +1,68 @@
1
+ AAVE_V3_BSC = {
2
+ "address": "0x6807dc923806fe8fd134338eabca509979a7e0cb",
3
+ "name": "AAVE V3 Lending Pool",
4
+ "stakedIncentiveAddress": '0xc206c2764a9dbf27d599613b8f9a63acd1160ab4',
5
+ "rewardTokensList": ["0xc5f0f7b66764f6ec8c8dff7ba683102295e16409"],
6
+ "oracleAddress": "0x39bc1bfda2130d6bb6dbefd366939b4c7aa7c697",
7
+ "type": "LENDING_POOL",
8
+ "poolToken": "0xfb6115445bff7b52feb98650c87f44907e58f802",
9
+ "forked": "aave-v3",
10
+ "reservesList": {
11
+ "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82": {
12
+ "tToken": "0x4199cc1f5ed0d796563d7ccb2e036253e2c18281",
13
+ "sdToken": "0x57e95511de39890d3e782df4b19f0d97a05df64a",
14
+ "dToken": "0xe20dbc7119c635b1b51462f844861258770e0699",
15
+ "loanToValue": 0.55,
16
+ "liquidationThreshold": 0.61
17
+ },
18
+ "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c": {
19
+ "tToken": "0x9b00a09492a626678e5a3009982191586c444df9",
20
+ "sdToken": "0x57e95511de39890d3e782df4b19f0d97a05df64a",
21
+ "dToken": "0x0e76414d433ddfe8004d2a7505d218874875a996",
22
+ "loanToValue": 0.7,
23
+ "liquidationThreshold": 0.75
24
+ },
25
+ "0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c": {
26
+ "tToken": "0x56a7ddc4e848ebf43845854205ad71d5d5f72d3d",
27
+ "sdToken": "0x57e95511de39890d3e782df4b19f0d97a05df64a",
28
+ "dToken": "0x7b1e82f4f542fbb25d64c5523fe3e44abe4f2702",
29
+ "loanToValue": 0.7,
30
+ "liquidationThreshold": 0.75
31
+ },
32
+ "0x2170ed0880ac9a755fd29b2688956bd959f933f8": {
33
+ "tToken": "0x2e94171493fabe316b6205f1585779c887771e2f",
34
+ "sdToken": "0x57e95511de39890d3e782df4b19f0d97a05df64a",
35
+ "dToken": "0x8fdea7891b4d6dbdc746309245b316af691a636c",
36
+ "loanToValue": 0.8,
37
+ "liquidationThreshold": 0.83
38
+ },
39
+ "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d": {
40
+ "tToken": "0x00901a076785e0906d1028c7d6372d247bec7d61",
41
+ "sdToken": "0x57e95511de39890d3e782df4b19f0d97a05df64a",
42
+ "dToken": "0xcdbbed5606d9c5c98eeedd67933991dc17f0c68d",
43
+ "loanToValue": 0.75,
44
+ "liquidationThreshold": 0.78
45
+ },
46
+ "0x55d398326f99059ff775485246999027b3197955": {
47
+ "tToken": "0xa9251ca9de909cb71783723713b21e4233fbf1b1",
48
+ "sdToken": "0x57e95511de39890d3e782df4b19f0d97a05df64a",
49
+ "dToken": "0xf8bb2be50647447fb355e3a77b81be4db64107cd",
50
+ "loanToValue": 0.75,
51
+ "liquidationThreshold": 0.78
52
+ },
53
+ "0xc5f0f7b66764f6ec8c8dff7ba683102295e16409": {
54
+ "tToken": "0x75bd1a659bdc62e4c313950d44a2416fab43e785",
55
+ "sdToken": "0x57e95511de39890d3e782df4b19f0d97a05df64a",
56
+ "dToken": "0xe628b8a123e6037f1542e662b9f55141a16945c8",
57
+ "loanToValue": 0.7,
58
+ "liquidationThreshold": 0.75
59
+ },
60
+ "0x26c5e01524d2e6280a48f2c50ff6de7e52e9611c": {
61
+ "tToken": "0xbdfd4e51d3c14a232135f04988a42576efb31519",
62
+ "sdToken": "0x57e95511de39890d3e782df4b19f0d97a05df64a",
63
+ "dToken": "0x2c391998308c56d7572a8f501d58cb56fb9fe1c5",
64
+ "loanToValue": 0.72,
65
+ "liquidationThreshold": 0.75
66
+ }
67
+ }
68
+ }
@@ -1,5 +1,5 @@
1
1
  APESWAP_BSC = {
2
- "name": "Compound Lending Pool",
2
+ "name": "ApeSwap Lending Pool",
3
3
  "rewardToken": "",
4
4
  "comptrollerAddress": "0xad48b2c9dc6709a560018c678e918253a65df86e",
5
5
  "lensAddress": "0x183019dc7a8f8f1456df735862761cccf2e23009",