revert liquity

This commit is contained in:
strobie
2022-09-29 19:09:34 +02:00
parent f2dddc0bec
commit 1d8883e117

View File

@@ -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,