From 69178c286e26583f6eda59f1ae81ccc58b27475d Mon Sep 17 00:00:00 2001 From: ulydev Date: Tue, 17 Sep 2024 21:21:09 +0200 Subject: [PATCH] chore: fmt --- src/protocols/protocolList.json | 36 ++++++++++++++++++----------- src/schema/protocolList.schema.json | 33 ++++++++++++-------------- 2 files changed, 38 insertions(+), 31 deletions(-) diff --git a/src/protocols/protocolList.json b/src/protocols/protocolList.json index c754dab..6c3bc0a 100644 --- a/src/protocols/protocolList.json +++ b/src/protocols/protocolList.json @@ -238,17 +238,27 @@ ] }, { - "ptAddress": "0x4ee81b93cf490f7157144c82ff07557cffd2b86b", - "chainId": 1, - "protocolName": "Morpho (Usual Boosted USDC)", - "token": { - "symbol": "USUALUSDC+", - "logoURI": "/images/tokens/USUALUSDC.svg", - "underlying": "USDC" - }, - "multipliers": { - "lp": [{ "amount": 1, "name":"Pill/day per $1 of USUALUSDC"}], - "yt": [{ "amount": 1, "name":"Pill/day"}] - } - } + "ptAddress": "0x4ee81b93cf490f7157144c82ff07557cffd2b86b", + "chainId": 1, + "protocolName": "Morpho (Usual Boosted USDC)", + "token": { + "symbol": "USUALUSDC+", + "logoURI": "/images/tokens/1/0xd63070114470f685b75b74d60eec7c1113d33a3d.svg", + "underlying": "USDC" + }, + "multipliers": { + "lp": [ + { + "amount": 1, + "name": "Pill/day per $1 of USUALUSDC" + } + ], + "yt": [ + { + "amount": 1, + "name": "Pill/day" + } + ] + } + } ] diff --git a/src/schema/protocolList.schema.json b/src/schema/protocolList.schema.json index 7d5be6b..c3f764e 100644 --- a/src/schema/protocolList.schema.json +++ b/src/schema/protocolList.schema.json @@ -2,26 +2,23 @@ "$defs": { "multiplierArray": { "type": "array", - "items": { - "type": "object", - "additionalProperties": false, - "required": [ - "amount", - "name" - ], - "properties": { - "amount": { - "type": "number", - "minimum": 1, - "maximum": 1000 - }, - "name": { - "type": "string" - } + "items": { + "type": "object", + "additionalProperties": false, + "required": ["amount", "name"], + "properties": { + "amount": { + "type": "number", + "minimum": 1, + "maximum": 1000 + }, + "name": { + "type": "string" } } } - }, + } + }, "type": "array", "uniqueItems": true, "items": { @@ -74,7 +71,7 @@ "$ref": "multiplierArray" }, { - "type":"object", + "type": "object", "additionalProperties": false, "properties": { "lp": {