Skip to content

Commit

Permalink
chore: list usdv
Browse files Browse the repository at this point in the history
  • Loading branch information
chefjackson committed Apr 29, 2024
1 parent 41e5676 commit 258e179
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 7 deletions.
Binary file added lists/images/symbol/usdv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions lists/pancakeswap-eth-default.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "PancakeSwap Ethereum Default",
"timestamp": "2024-04-11T06:55:04.689Z",
"timestamp": "2024-04-29T09:17:22.690Z",
"version": {
"major": 1,
"minor": 0,
"patch": 50
"patch": 51
},
"logoURI": "https://pancakeswap.finance/logo.png",
"keywords": [
Expand Down Expand Up @@ -541,6 +541,14 @@
"decimals": 18,
"logoURI": "https://tokens.pancakeswap.finance/images/eth/0xFAe103DC9cf190eD75350761e95403b7b8aFa6c0.png"
},
{
"name": "USDV",
"symbol": "USDV",
"address": "0x0E573Ce2736Dd9637A0b21058352e1667925C7a8",
"chainId": 1,
"decimals": 6,
"logoURI": "https://tokens.pancakeswap.finance/images/symbol/usdv.png"
},
{
"name": "Masa Token",
"symbol": "MASA",
Expand Down
11 changes: 10 additions & 1 deletion src/tokens/pancakeswap-eth-default.json
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,14 @@
"decimals": 18,
"logoURI": "https://tokens.pancakeswap.finance/images/eth/0xFAe103DC9cf190eD75350761e95403b7b8aFa6c0.png"
},
{
"name": "USDV",
"symbol": "USDV",
"address": "0x0E573Ce2736Dd9637A0b21058352e1667925C7a8",
"chainId": 1,
"decimals": 6,
"logoURI": "https://tokens.pancakeswap.finance/images/symbol/usdv.png"
},
{
"name": "Masa Token",
"symbol": "MASA",
Expand All @@ -535,4 +543,5 @@
"decimals": 18,
"logoURI": "https://tokens.pancakeswap.finance/images/eth/0x944824290CC12F31ae18Ef51216A223Ba4063092.png"
}
]
]

2 changes: 1 addition & 1 deletion src/tokens/pancakeswap-extended.json
Original file line number Diff line number Diff line change
Expand Up @@ -3231,4 +3231,4 @@
"decimals": 18,
"logoURI": "https://tokens.pancakeswap.finance/images/0x7dC91cBD6CB5A3E6A95EED713Aa6bF1d987146c8.png"
}
]
]
2 changes: 1 addition & 1 deletion src/utils/getTokensChainData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getTokensChainData = async (listName: string, addressArray?: string[], cha
return [];
}

const chunkSize = 200;
const chunkSize = 25;
const chunkArray = tokens.length >= chunkSize ? _.chunk(tokens, chunkSize) : [tokens];

const tokensWithChainData = [];
Expand Down
4 changes: 2 additions & 2 deletions src/utils/publicClients.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createPublicClient, http, Chain } from "viem";
import { createPublicClient, http, Chain, fallback } from "viem";
import { arbitrum, base, bsc, mainnet, polygonZkEvm, zkSync } from "viem/chains";

export const linea = {
Expand Down Expand Up @@ -104,7 +104,7 @@ export const publicClients = {
}),
[bsc.id]: createPublicClient({
chain: bsc,
transport: http("https://nodes.pancakeswap.info"),
transport: fallback([http("https://nodes.pancakeswap.info"), http("https://bsc.publicnode.com")]),
}),
[polygonZkEvm.id]: createPublicClient({
chain: polygonZkEvm,
Expand Down

0 comments on commit 258e179

Please sign in to comment.