Skip to content

Commit

Permalink
Merge branch 'traderjoe-xyz:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptoJoshua authored Oct 6, 2022
2 parents ccf526f + b8346bb commit e52b19e
Show file tree
Hide file tree
Showing 37 changed files with 4,624 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules/
dist/
.DS_Store
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
logos/
.DS_Store
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,25 @@ Create an issue with the following info:
- submissions with invalid c-chain address will be rejected.
- processed every 5-10 days.

## HOW TO WHITELIST YOUR TOKEN
- Tokens are added to tokenlists by JOE team based on market demand and other metrics.
- Tokenlist is rebalanced every 2 weeks, roughly speaking we add tokens that are top 30 in daily volume, and remove tokens that are below top 40.
## HOW TO ADD YOUR TOKEN TO TOKENLIST
In `tokenlist-v2` we will be accepting community PR for adding to tokenlist.


#### Criteria
The JOE team will continue to maintain the list for quality control. Some rough guidelines:
- Contract should be verified on `snowtrace.io`.
- New tokens will be accepted on case by case basis. Pls contact `BD` team via discord.
- Token should have established liquidity, a good number of liquidty providers, and 15 day volume.

#### Submission process
Please refer to `src/joe.tokenlist-v2.json` for format, and tag your token appropriately.
- Submit tokenlist PR separately from logo PR.
- Tag your token with `DeFi`, `GameFi` or `Stablecoins`. - (case sensitive).
- Tags for `Top Tokens`, `Large Cap` and `Avalanche` are maintained by JOE team only.




## Have more questions?
Come visit us on discord at our `dev-talk` channel.
Come visit us on discord at our `sdk-dev` channel.
Link: https://discord.com/invite/GHZceZhbZU
40 changes: 36 additions & 4 deletions joe.tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"keywords": ["avalanche", "defi", "joe", "trader joe"],
"version": {
"major": 86,
"minor": 3,
"minor": 7,
"patch": 0
},
"tokens": [
Expand Down Expand Up @@ -663,7 +663,39 @@
"name": "Bitcoin",
"symbol": "BTC.b",
"logoURI": "https://raw.githubusercontent.com/traderjoe-xyz/joe-tokenlists/main/logos/0x152b9d0FdC40C096757F570A51E494bd4b943E50/logo.png"
}
},
{
"chainId": 43114,
"address": "0xcCf719c44e2C36E919335692E89d22Cf13D6aaEB",
"decimals": 18,
"name": "Openblox Token",
"symbol": "OBX",
"logoURI": "https://raw.githubusercontent.com/traderjoe-xyz/joe-tokenlists/main/logos/0xcCf719c44e2C36E919335692E89d22Cf13D6aaEB/logo.png"
},
{
"chainId": 43114,
"address": "0xA1AfCC973d44cE1C65a21D9e644CB82489d26503",
"decimals": 18,
"name": "RunBlox Token",
"symbol": "RUX",
"logoURI": "https://raw.githubusercontent.com/traderjoe-xyz/joe-tokenlists/main/logos/0xA1AfCC973d44cE1C65a21D9e644CB82489d26503/logo.png"
},
{
"chainId": 43114,
"address": "0xe7250b05bd8DEE615ecC681eda1196aDD5156F2B",
"decimals": 18,
"name": "hJoe v2",
"symbol": "hJoe",
"logoURI": "https://raw.githubusercontent.com/traderjoe-xyz/joe-tokenlists/main/logos/0xe7250b05bd8DEE615ecC681eda1196aDD5156F2B/logo.png"
},
{
"chainId": 43114,
"address": "0x48f88A3fE843ccb0b5003e70B4192c1d7448bEf0",
"decimals": 18,
"name": "Colony Avalanche Index",
"symbol": "CAI",
"logoURI": "https://raw.githubusercontent.com/traderjoe-xyz/joe-tokenlists/main/logos/0x48f88A3fE843ccb0b5003e70B4192c1d7448bEf0/logo.png"
}
],
"timestamp": "2021-08-06T00:00:00+00:00"
}
"timestamp": "2021-09-05T00:00:00+00:00"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "@traderjoe-xyz/joe-tokenlists",
"version": "2.2.5",
"description": "Tokenlist typings, schema and lists used on Trader Joe.",
"main": "dist/index.js",
"types": "index.d.ts",
"files": [
"dist"
],
"repository": "https://github.com/traderjoe-xyz/joe-tokenlists.git",
"author": "traderjoexyz",
"scripts": {
"start": "npx tsc --watch",
"build": "npx tsc --build",
"prepublishOnly": "npx tsc --build"
},
"license": "MIT",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"typescript": "^4.8.2"
}
}
48 changes: 48 additions & 0 deletions src/dex-lists/farms.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// farmers market list
// farms added here will show up in highlighted Farmers Market
// add pair id here for filter
export const FARMERS_MARKETLIST = [
// AVALANCHE
// BTC/AVAX
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-13",
// BUSD/AVAX
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-14",
// JOE/AVAX
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-6",
// DCAR/USDC
"0x188bED1968b795d5c9022F6a0bb5931Ac4c18F00-75",
// OBX/AVAX
"0x188bED1968b795d5c9022F6a0bb5931Ac4c18F00-77",
// yyAVAX/USDC
"0x188bED1968b795d5c9022F6a0bb5931Ac4c18F00-76"
];

// JOE farm filter
export const JOE_FARMS = [
// AVALANCHE
// JOE/AVAX
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-6",
// JOE/USDC
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-7",
// AVAX/USDC
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-0",
// AVAX/USDT
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-12",
];

// stablecoin PIDs for filtering
export const STABLE_FARMS = [
// AVALANCHE
// AVAX/BUSD
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-14",
// AVAX/USDT
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-12",
// USDC/USDC.e
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-8",
// USDT/USDT.e
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-9",
// AVAX/USDC
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-0",
// AVAX/MIM
"0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F-4",
];
Loading

0 comments on commit e52b19e

Please sign in to comment.