Skip to content

Commit

Permalink
New tokens (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
BitcoinIsCash authored Dec 3, 2021
1 parent 61e03e6 commit dde6e2f
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 10 deletions.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
# TANGOSWAP
# TANGOswap Interface

TANGOswap Interface is a progressive web application for the TANGOswap Protocol.

## Getting started

This one-liner assumes you have git, nvm & yarn installed.

```sh
git clone https://github.com/tangoswap-cash/tangoswap-interface.git && cd tangoswap-interface && nvm use && yarn && yarn dev
```

## Add your logo

Add your logo by opening a PR against tangoswap-cash/assets

## Licence

MIT
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@sushiswap/sushi-data": "^1.0.24",
"@tailwindcss/jit": "^0.1.18",
"@tangoswapcash/core": "0.0.11",
"@tangoswapcash/default-token-list": "0.0.11",
"@tangoswapcash/default-token-list": "0.0.12",
"@tangoswapcash/sdk": "^0.0.10",
"@transak/transak-sdk": "^1.0.28",
"@types/node": "^15.12.2",
Expand Down
2 changes: 1 addition & 1 deletion public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "TangoSwap App",
"short_name": "TangoSwap",
"short_name": "TANGO",
"icons": [
{
"src": "/android-chrome-36x36.png",
Expand Down
2 changes: 1 addition & 1 deletion src/services/graph/fetchers/exchange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { GRAPH_HOST } from '../constants'
import { pager } from './'

export const EXCHANGE = {
[ChainId.SMARTBCH]: 'tangoswap-cash/exchange',
[ChainId.SMARTBCH]: 'tangoswap/exchange',
}

export const exchange = async (chainId = ChainId.SMARTBCH, query, variables = {}) =>
Expand Down
4 changes: 2 additions & 2 deletions src/services/graph/fetchers/masterchef.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ import { getTokenSubset } from './exchange'
import { request } from 'graphql-request'

export const MASTERCHEF_V2 = {
[ChainId.SMARTBCH]: 'sushiswap/master-chefv2',
[ChainId.SMARTBCH]: 'tangoswap/master-chefv2',
}

export const masterChefV2 = async (query, chainId = ChainId.SMARTBCH, variables = undefined) =>
request(`${GRAPH_HOST[chainId]}/subgraphs/name/${MASTERCHEF_V2[chainId]}`, query, variables)

export const MASTERCHEF_V1 = {
[ChainId.SMARTBCH]: 'sushiswap/master-chef',
[ChainId.SMARTBCH]: 'tangoswap/master-chef',
}

export const masterChefV1 = async (query, chainId = ChainId.SMARTBCH, variables = undefined) =>
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2664,10 +2664,10 @@
dependencies:
eip-712 "^0.4.3"

"@tangoswapcash/[email protected].11":
version "0.0.11"
resolved "https://registry.yarnpkg.com/@tangoswapcash/default-token-list/-/default-token-list-0.0.11.tgz#a7edd5d962ae3316d7c775e4ae41d73d2dd20988"
integrity sha512-jIzl/9kAcXvuKPBZ4GdJ6qF7ytRR8Ci3hgCrSNg+kM84poB7bmDYZl5F9UBagDNLoM2xNh6zXfOlpd4thkfl+Q==
"@tangoswapcash/[email protected].12":
version "0.0.12"
resolved "https://registry.yarnpkg.com/@tangoswapcash/default-token-list/-/default-token-list-0.0.12.tgz#de590a2abb41d332b98d739be038b4030c9adf52"
integrity sha512-DibxtwMW7Eq24rLDD6BxEYDAdxnrZXChGQqdcPnPjK5gI5ch9SEtnDRTH8DX81jFKI21PljWrfCsRr11915ioA==
dependencies:
commitlint "^13.1.0"
lint-staged "^11.1.2"
Expand Down

0 comments on commit dde6e2f

Please sign in to comment.