Skip to content

Commit

Permalink
feat: token structure
Browse files Browse the repository at this point in the history
  • Loading branch information
lcamargof committed May 31, 2022
1 parent 2aecb87 commit b73c5a5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 15 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## RToken list
14 changes: 14 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
declare const rtokens: {
[x: string]: {
address: string;
name: string;
symbol: string;
decimals: number;
logo: string;
facadeAddress: string;
website?: string;
repository?: string;
about?: string;
};
};
export = rtokens;
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require("./contract-map.json");
module.exports = require("./rtoken-map.json");
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"version": "1.0.0",
"description": "RToken list",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
"author": "LC Labs LLC",
"license": "ISC",
"types": "index.d.ts"
}
11 changes: 2 additions & 9 deletions rtoken-map.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
{
"0x196f4727526eA7FB1e17b2071B3d8eAA38486988": {
"address": "0x196f4727526eA7FB1e17b2071B3d8eAA38486988",
"name": "Reserve",
"symbol": "RSV",
"decimals": 18,
"isRSV": true,
"logo": "rsdp.png"
},
"0xff4DA0E6C71189814d290564F455C21aeCC66430": {
"address": "0xff4DA0E6C71189814d290564F455C21aeCC66430",
"name": "Reserve Dollar Plus",
"symbol": "RSDP",
"decimals": 18,
"logo": "rsdp.png"
"logo": "rsdp.png",
"facade": "0x90Ea8910313b56961A028309A2ED565CCA7f0657"
}
}

0 comments on commit b73c5a5

Please sign in to comment.