Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from traderjoe-xyz/add-rocket-joe-addresses
Browse files Browse the repository at this point in the history
add rocket joe contract addresses and subgraph address
  • Loading branch information
intro0000 authored Jan 30, 2022
2 parents a6b0926 + 34c5d30 commit f11b2d4
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
18 changes: 18 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,24 @@ export const LOCKING_WRAPPER_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.AVALANCHE]: '0xDc3B37B5F0Fe5d3f8b8701a3F8d81A02EE8A1E1a'
}

export const ROCKET_JOE_TOKEN_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x24c34A486a8d90b70DfEC74B01d5646a2E21e035',
[ChainId.FUJI]: '0x0000000000000000000000000000000000000000',
[ChainId.AVALANCHE]: '0x0000000000000000000000000000000000000000'
}

export const LAUNCH_EVENT_LENS_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x039DA74A48E4e855946E1e55c7a55e61521b1B1C',
[ChainId.FUJI]: '0x0000000000000000000000000000000000000000',
[ChainId.AVALANCHE]: '0x0000000000000000000000000000000000000000'
}

export const ROCKET_JOE_STAKING_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x65Cdf6A529f65b01F0605A11bee6F48Ae66293e9',
[ChainId.FUJI]: '0x0000000000000000000000000000000000000000',
[ChainId.AVALANCHE]: '0x0000000000000000000000000000000000000000'
}

export const INIT_CODE_HASH = '0x0bbca9af0511ad1a1da383135cf3a8d2ac620e549ef9f6ae3a4c33c2fed0af91'

export const MINIMUM_LIQUIDITY = JSBI.BigInt(1000)
Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ export {
JOELENSVIEW_ADDRESS,
FARMLENS_ADDRESS,
MAXIMILLION_ADDRESS,
LOCKING_WRAPPER_ADDRESS
LOCKING_WRAPPER_ADDRESS,
ROCKET_JOE_TOKEN_ADDRESS,
LAUNCH_EVENT_LENS_ADDRESS,
ROCKET_JOE_STAKING_ADDRESS
} from './constants'

export * from './errors'
Expand Down
8 changes: 7 additions & 1 deletion src/subgraphs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,10 @@ export const LENDING_SUBGRAPH: {[chainId in ChainId]: string } = {
[ChainId.RINKEBY]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/lending-rinkeby',
[ChainId.FUJI]: ZERO_ADDRESS,
[ChainId.AVALANCHE]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/lending'
}
}

export const ROCKET_SUBGRAPH: {[chainId in ChainId]: string } = {
[ChainId.RINKEBY]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/rocket-rinkeby',
[ChainId.FUJI]: ZERO_ADDRESS,
[ChainId.AVALANCHE]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/rocket'
}

0 comments on commit f11b2d4

Please sign in to comment.