Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ We welcome contributions! Please follow the guidelines below for adding new toke
| `protocol` | string | Associated protocol name |
| `aprEndpoint` | string | API endpoint for APR data |
| `ibtRoutes` | object | Available IBT operations |
| `reported` | boolean | Reported by users: the app warns on its markets |

#### Steps to Add a Token

Expand Down
4 changes: 4 additions & 0 deletions src/schema/token.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
"negativeYield": {
"type": "boolean"
},
"reported": {
"type": "boolean",
"description": "Reported by users (illiquid or insolvent vault, suspected hack...). Set it on the token's own entry, not inside a wrapper's extensions.vault: the app warns on every market built on the token, directly or through a Spectra wrapper of it. Report-based and non-exhaustive, not an audit. Remove the key to lift the warning."
},
"tokenOut": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"decimals": 6,
"logoURI": "/images/tokens/43114/0x4dc1ce9b9f9ef00c144bfad305f16c62293dc0e8.svg",
"extensions": {
"underlying": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
"underlying": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
"reported": true
}
}
Loading