Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
Signed-off-by: James Ng <[email protected]>
  • Loading branch information
0xj4m35 committed Nov 28, 2024
1 parent a49fc19 commit 393f172
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 16 deletions.
3 changes: 1 addition & 2 deletions src/apis/tokenApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export class TokenAPI {
public async getToken(tokenId: string) {
try {
const __dirname = import.meta.dirname;
console.log(__dirname, TOKENS_DIR, tokenId);
const filePath = path.join(__dirname, `${TOKENS_DIR}/${tokenId}.yaml`);
const tokenFileData = fs.readFileSync(filePath, "utf-8");
const tokenData: TokenMetadata = {
Expand All @@ -35,7 +34,7 @@ export class TokenAPI {
*/
public async getTokens(options?: GetTokenOptions) {
const __dirname = import.meta.dirname;
const directory = path.join(__dirname, `${TOKENS_DIR}`);
const directory = path.join(__dirname, TOKENS_DIR);
const tokenList: TokenMetadata[] = [];
const files = fs.readdirSync(directory);
for (const file of files) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ socialLinks:

decimals: 0

verified: false
verified: true

Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ maxSupply: '3000000000000000'
decimals: 6

treasury:
- addr1vx00uxlpkzgkrga47zdypj40a3yjs0u3wad88kdy9l3rekcrmyz69
- addr1zymeshes0pxnr2s4v95a4wchxs74l0lqt5n3f6rxynnepgjj2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pq64anuz
- addr1z87vw6ts32hywu4j4kyk9qfgd36zhzx3y7fc786vgzlc57zj2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pq9rwl7c
- addr1z9wdv59sq7zzy2l6gchq3247lz7ssfsxs45nj4njhwsp5uzj2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pqzygnta
- addr1z9mjhq5c4s0smv2c92g9yvecpju3p8cfaneu8jzwq97ry62j2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pqw9pw55
- addr1zx0wxal6dz7rjzxk2mwfvj9564rp9uajqrscftx44tp6ha6j2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pq83j9cv
- addr1q8zntywq3fldecrqk4vl593sznvj7483ejcajnavvh2qpsvftaax5f3wasl5m49rtjw5pen938vr7863w0lfz94h0lfqldx3pu
- addr1vx00uxlpkzgkrga47zdypj40a3yjs0u3wad88kdy9l3rekcrmyz69 # unconverted MIN for MINt
- addr1zymeshes0pxnr2s4v95a4wchxs74l0lqt5n3f6rxynnepgjj2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pq64anuz # team
- addr1z87vw6ts32hywu4j4kyk9qfgd36zhzx3y7fc786vgzlc57zj2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pq9rwl7c # dev fund
- addr1z9wdv59sq7zzy2l6gchq3247lz7ssfsxs45nj4njhwsp5uzj2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pqzygnta # DAO
- addr1z9mjhq5c4s0smv2c92g9yvecpju3p8cfaneu8jzwq97ry62j2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pqw9pw55 # incentives & partnerships
- addr1zx0wxal6dz7rjzxk2mwfvj9564rp9uajqrscftx44tp6ha6j2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pq83j9cv # yield farming treasury
- addr1q8zntywq3fldecrqk4vl593sznvj7483ejcajnavvh2qpsvftaax5f3wasl5m49rtjw5pen938vr7863w0lfz94h0lfqldx3pu # $min.dao-hot aka DAO hot wallet

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ maxSupply: '100000000000000'
decimals: 6

treasury:
- addr1v9urht2tqg7ncs7r545qdj2wn5tpam5l04t7eyermpmyvmg5xf2mt
- addr1w9p9akyhpqsy0xq79g8hspy90xl9htxfrd3mama6py42jjgtvfgn8
- addr1v9urht2tqg7ncs7r545qdj2wn5tpam5l04t7eyermpmyvmg5xf2mt # FISO
- addr1w9p9akyhpqsy0xq79g8hspy90xl9htxfrd3mama6py42jjgtvfgn8 # DripDropz

Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ maxSupply: 999000000000
decimals: 0

treasury:
- addr1xxyyxezq2d2qkrusm2fvkztm696egu75yrjs2r5psgvkuzyggdjyq565pv8epk5jevyhh5t4j3eagg89q58grqsedcyqgcrtav
- addr1xxyyxezq2d2qkrusm2fvkztm696egu75yrjs2r5psgvkuzyggdjyq565pv8epk5jevyhh5t4j3eagg89q58grqsedcyqgcrtav # community wallet
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ socialLinks:

decimals: 7

verified: true
verified: false

Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ socialLinks:

decimals: 6

verified: false
verified: true

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ socialLinks:
telegram: https://t.me/+7ndbw5QA7ppkOGFk
twitter: https://x.com/mom_on_ada

verified: true
verified: false

maxSupply: '200000000000000'

Expand Down

0 comments on commit 393f172

Please sign in to comment.