mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-30 05:45:32 +08:00
revert liquity
This commit is contained in:
@@ -80,8 +80,8 @@ const EXPLORER_BASE_URL = "https://etherscan.io/address/";
|
||||
const positions = async () => {
|
||||
const { totalCollateralRatio } = await getSystemState();
|
||||
const _isRecoveryMode = isRecoveryMode(totalCollateralRatio);
|
||||
const troves = (await getPagedGql(subgraphUrl, trovesQuery, "troves")) as Trove[];
|
||||
|
||||
const troves = (await getPagedGql(subgraphUrl, trovesQuery, "troves")) as Trove[];
|
||||
const _troves = troves.map(({ collateral: _collateral, debt, owner, rawCollateral }) => {
|
||||
return {
|
||||
owner: owner.id,
|
||||
|
||||
Reference in New Issue
Block a user