Skip to content

Commit

Permalink
Rename uniswap for honeyswap in some missing parts
Browse files Browse the repository at this point in the history
  • Loading branch information
sembrestels committed Oct 3, 2020
1 parent 1608d00 commit 1284875
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/token-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ assignees: ''
---

- [ ] I understand that token listing is not required to use the Honeyswap Interface with a token.
- [ ] I understand that filing an issue or adding liquidity does not guarantee addition to the Uniswap default token list.
- [ ] I understand that filing an issue or adding liquidity does not guarantee addition to the Honeyswap default token list.
- [ ] I will not ping the Discord about this listing request.

**Please provide the following information for your token.**
Expand Down
4 changes: 2 additions & 2 deletions uniswap-xdai.tokenlist.json → honeyswap-xdai.tokenlist.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "Honeyswap Default",
"timestamp": "2020-10-03T18:58:09.641Z",
"timestamp": "2020-10-03T19:48:24.661Z",
"version": {
"major": 2,
"minor": 1,
"patch": 2
"patch": 3
},
"tags": {},
"logoURI": "ipfs://QmZgpZq1HkVS7YCThNJeR51KFVo5AL8P3ThA2y9wcw53p9",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "build/honeyswap-default.tokenlist.json",
"scripts": {
"test": "mocha",
"build": "rimraf build && mkdir -p build && node src/write.js > build/honeyswap-default.tokenlist.json && node src/write.js > uniswap-xdai.tokenlist.json",
"build": "rimraf build && mkdir -p build && node src/write.js > build/honeyswap-default.tokenlist.json && node src/write.js > honeyswap-xdai.tokenlist.json",
"prepublishOnly": "npm test && npm run build"
},
"files": [
Expand All @@ -17,6 +17,7 @@
},
"keywords": [
"uniswap",
"honeyswap",
"default",
"token",
"list"
Expand Down
4 changes: 1 addition & 3 deletions src/fetchMissing.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ async function fetchMissing() {
const data = await response.json()
const bridgedTokens = [...new Set(data.result.map(x => x.contractAddress.toLowerCase()))]

const response2 = await fetch(
'https://raw.githubusercontent.com/1Hive-tulip/default-token-list/master/uniswap-xdai.tokenlist.json'
)
const response2 = await fetch('https://tokens.honeyswap.org')
const data2 = await response2.json()

const listedTokens = data2.tokens.map(x => x.address.toLowerCase())
Expand Down

0 comments on commit 1284875

Please sign in to comment.