Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulydev committed Sep 17, 2024
1 parent 92f3810 commit 69178c2
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 31 deletions.
36 changes: 23 additions & 13 deletions src/protocols/protocolList.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
}
]
33 changes: 15 additions & 18 deletions src/schema/protocolList.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -74,7 +71,7 @@
"$ref": "multiplierArray"
},
{
"type":"object",
"type": "object",
"additionalProperties": false,
"properties": {
"lp": {
Expand Down

0 comments on commit 69178c2

Please sign in to comment.