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

Commit

Permalink
removed rinkeby constants & subgraph urls
Browse files Browse the repository at this point in the history
  • Loading branch information
JO-OLADEJI authored and cryptofish7 committed Jul 6, 2022
1 parent 6784611 commit 158cf2f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 62 deletions.
48 changes: 0 additions & 48 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import JSBI from 'jsbi'
export type BigintIsh = JSBI | bigint | string

export enum ChainId {
RINKEBY = 4,
FUJI = 43113,
AVALANCHE = 43114
}
Expand All @@ -24,163 +23,136 @@ export enum Rounding {
* DEX SDK
*/
export const FACTORY_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x86f83be9770894d8e46301b12E88e14AdC6cdb5F',
[ChainId.FUJI]: '0xF5c7d9733e5f53abCC1695820c4818C59B457C2C',
[ChainId.AVALANCHE]: '0x9Ad6C38BE94206cA50bb0d90783181662f0Cfa10'
}

export const JOE_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0xce347E069B68C53A9ED5e7DA5952529cAF8ACCd4',
[ChainId.FUJI]: '0x477Fd10Db0D80eAFb773cF623B258313C3739413',
[ChainId.AVALANCHE]: '0x6e84a6216eA6dACC71eE8E6b0a5B7322EEbC0fDd'
}

export const MASTERCHEF_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x1F51b7697A1919cF301845c93D4843FD620ad7Cc',
[ChainId.FUJI]: '0xEAA9637E54D4Da88d7A56E797C2EAa4950111033',
[ChainId.AVALANCHE]: '0xd6a4F121CA35509aF06A0Be99093d08462f53052'
}

export const MASTERCHEF_V3_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0xEedf119022F1Bb5F63676BbE855c82151B7198AF',
[ChainId.FUJI]: '0x47e4B09651D76609e902183c2315b0638fa8375E',
[ChainId.AVALANCHE]: '0x188bED1968b795d5c9022F6a0bb5931Ac4c18F00'
}

export const BAR_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x33A86aFC0f728882F48E5105bc98758b3eAe2081',
[ChainId.FUJI]: '0x200BdB3Ed6bF347421329FdbF1813dE87F1A456a',
[ChainId.AVALANCHE]: '0x57319d41F71E81F3c65F2a47CA4e001EbAFd4F33'
}

export const ZAP_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x70c949152D2AC84FbB809228606db4654773D994',
[ChainId.FUJI]: '0x035CA9dB0e001808cB8CD20D1d1C592dF1250107',
[ChainId.AVALANCHE]: '0x2C7B8e971c704371772eDaf16e0dB381A8D02027'
}

export const ROUTER_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x7E2528476b14507f003aE9D123334977F5Ad7B14',
[ChainId.FUJI]: '0xd7f655E3376cE2D7A2b08fF01Eb3B1023191A901',
[ChainId.AVALANCHE]: '0x60aE616a2155Ee3d9A68541Ba4544862310933d4'
}

export const MAKER_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0xbEFE1d0756Da706B3F0EbaEa7b4ae10D0AdF2f3F',
[ChainId.FUJI]: '0x6De03a4221d325Edc9707CEdeff9C150e99d6eC5',
[ChainId.AVALANCHE]: '0x861726BFE27931A4E22a7277bDe6cb8432b65856'
}

export const ROLL_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0xD6344FF98d12adD998cBcfaC16A215396e9bCb8c',
[ChainId.FUJI]: '0x41d5f5F66e4cEd197Ff273308A1c194E9E249f4F',
[ChainId.AVALANCHE]: '0xacFF0fBf56bAeb9Ef677DE19ADED8F7A950BCb58'
}

export const BORINGHELPER_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x73B35Bab1aFD869E3738464b3bE97999e80E8458',
[ChainId.FUJI]: '0x832452DBa66232193C0fb525D5165a3A58b6811B',
[ChainId.AVALANCHE]: '0x1dd4D86180EEe39ac4fB35ECa67CACF608Ab5741'
}

export const BORINGHELPER_MCV3_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0xC0B09dB79846A610bc1f0C9e04542912548226DC',
[ChainId.FUJI]: '0x87631c1Ec5312e030D4874231d8e0AFc545928A2',
[ChainId.AVALANCHE]: '0xce63ECA0C8A2084C1BaEcE7737dB88f10c412c5E'
}

export const BORINGHELPER_BMCJ_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x27c2FD2c3aC57C356Bd11A73CD7c84FB573C641B',
[ChainId.FUJI]: '0x9B427cBE6cee480773Fb889ec7067B8b1541dA7f',
[ChainId.AVALANCHE]: '0x80242b13F37eEB5B59fFe0e988d69133f1b19747'
}

export const BORINGTOKENSCANNER_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0xdd5C40b5f0f5Df9c8BF0aA4703d73867ea7f022D',
[ChainId.FUJI]: '0xD28be693a573a26f50195213613EC893Ad5c4460',
[ChainId.AVALANCHE]: '0x5cFcA5b2149A20A166508B28e5FCFA65c44c6B9c'
}

export const BORINGDASHBOARD_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0xeC208ef9F8aEDbbF28722286E334a3939acEA646',
[ChainId.FUJI]: '0xD28be693a573a26f50195213613EC893Ad5c4460',
[ChainId.AVALANCHE]: '0x1Af353148F2316487b5311Fcd522c037842D232c'
}

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

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

export const FARMLENSV2_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0xBd483b62612a859C5E66f8B7CFb6587fD7657B88',
[ChainId.FUJI]: '0x6B41A932D2A9f00476229733980D80EE11Dd1617',
[ChainId.AVALANCHE]: '0xF16d25Eba0D8E51cEAF480141bAf577aE55bfdd2'
}

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

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

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

export const STABLE_JOE_STAKING_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x12ba94D04a7a7F0882155b2c55b88e269428227B',
[ChainId.FUJI]: '0x5Fd0A10CA299a02429418EAAcC7286482a5f075D',
[ChainId.AVALANCHE]: '0x1a731B2299E22FbAC282E7094EdA41046343Cb51'
}

export const MONEY_MAKER_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0xCB1A7684374A281253adAA246d17a3fA6Bba7E3a',
[ChainId.FUJI]: '0x6De03a4221d325Edc9707CEdeff9C150e99d6eC5',
[ChainId.AVALANCHE]: '0x63C0CF90aE12190B388F9914531369aC1e4e4e47'
}

export const SJOE_REWARD_TOKEN: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x9Ad6C38BE94206cA50bb0d90783181662f0Cfa10',
[ChainId.FUJI]: '0x950c6f4f97dd62bd3ca76f084663224fd2e6b555',
[ChainId.AVALANCHE]: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E'
}

export const VEJOE_STAKING_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x1c3C3424439e4A97802d29861cf8DA8A70d51A0e',
[ChainId.FUJI]: '0x63064873AC2e94bbe82479265BD252417b34C462',
[ChainId.AVALANCHE]: '0x25D85E17dD9e544F6E9F8D44F99602dbF5a97341'
}

export const VEJOE_TOKEN_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x15E190De4889c5f2D3AB601D72B6d21709133781',
[ChainId.FUJI]: '0x8043E85a15c7F4Ad58a24712Cf08C624B52fAa34',
[ChainId.AVALANCHE]: '0x3cabf341943Bc8466245e4d6F1ae0f8D071a1456'
}

export const BOOSTED_MASTERCHEF_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x460d978831afd5Af99738E060C3ad8a76e592beA',
[ChainId.FUJI]: '0xEE7B7871755bCe3CD1B0aa1d01320Dd311b08279',
[ChainId.AVALANCHE]: '0x4483f0b6e2F5486D06958C20f8C39A7aBe87bf8F'
}

export const INIT_CODE_HASH: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x0bbca9af0511ad1a1da383135cf3a8d2ac620e549ef9f6ae3a4c33c2fed0af91',
[ChainId.FUJI]: '0x6c67ac67d0dad54be7b066edd9b4154fb5a0ab7d01232259b9ff26ebc1739ba2',
[ChainId.AVALANCHE]: '0x0bbca9af0511ad1a1da383135cf3a8d2ac620e549ef9f6ae3a4c33c2fed0af91'
}
Expand Down Expand Up @@ -213,31 +185,26 @@ export const SOLIDITY_TYPE_MAXIMA = {
*/

export const UNITROLLER_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x5b0a2Fa14808E34C5518E19f0DBc39F61d080B11',
[ChainId.FUJI]: '0xf817f74bb514cb0AF7d3b56299c33C33895630f2',
[ChainId.AVALANCHE]: '0xdc13687554205E5b89Ac783db14bb5bba4A1eDaC'
}

export const JOELENS_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x4234528B4707d9c5F992FE63b514fd1dC7aFf42E',
[ChainId.FUJI]: '0x3A2C79d45EEdcE68d3993F807336D4b0b41741b0',
[ChainId.AVALANCHE]: '0x994Ed0698F5145211Fd5DAE458dD7d91c2da6CEC'
}

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

export const JAVAX_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x0444dcF838055493519F26021dE63Afa72EEe0D2',
[ChainId.FUJI]: '0xE2b2CF0Cc751223C4F2Dc9EF1Cd8d2F27f92a84a',
[ChainId.AVALANCHE]: '0xC22F01ddc8010Ee05574028528614634684EC29e'
}

export const MAXIMILLION_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0xC48B0159d3e7F240ac76cc3Ce39dF62fCd4656b0',
[ChainId.FUJI]: '0x7b647D11b2E9354fA570B8613BD361AE51e51c27',
[ChainId.AVALANCHE]: '0xe5cDdAFd0f7Af3DEAf4bd213bBaee7A5927AB7E7'
}
Expand All @@ -247,91 +214,76 @@ export const MAXIMILLION_ADDRESS: { [chainId in ChainId]: string } = {
*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

export const LAUNCHPEG_LENS_ADDRESS: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: '0x0000000000000000000000000000000000000000',
[ChainId.FUJI]: '0x674ABC8D4aaCba9cE74E0304c831B10e7Fe4D646',
[ChainId.AVALANCHE]: '0x7f281f22eDB332807A039073a7F34A4A215bE89e'
}
1 change: 0 additions & 1 deletion src/entities/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export function currencyEquals(currencyA: Currency, currencyB: Currency): boolea
}

export const WAVAX = {
[ChainId.RINKEBY]: new Token(ChainId.RINKEBY, '0xc778417E063141139Fce010982780140Aa0cD5Ab', 18, 'WAVAX', 'Wrapped AVAX'), // This is actually WETH
[ChainId.FUJI]: new Token(ChainId.FUJI,'0xd00ae08403B9bbb9124bB305C09058E32C39A48c',18,'WAVAX','Wrapped AVAX'),
[ChainId.AVALANCHE]: new Token(ChainId.AVALANCHE,'0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7',18,'WAVAX','Wrapped AVAX')
}
13 changes: 0 additions & 13 deletions src/subgraphs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,79 +3,66 @@ import { ChainId } from './constants'
const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000'

export const BLOCKS_SUBGRAPH: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: 'https://api.thegraph.com/subgraphs/name/blocklytics/ethereum-blocks',
[ChainId.FUJI]: ZERO_ADDRESS,
[ChainId.AVALANCHE]: 'https://thegraph.com/explorer/subgraph/dasconnor/avalanche-blocks'
}

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

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

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

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

export const LENDING_SUBGRAPH: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/lending-rinkeby',
[ChainId.FUJI]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/lending-fuji',
[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]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/rocket-fuji',
[ChainId.AVALANCHE]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/rocket'
}

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

export const MONEY_MAKER_SUBGRAPH: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/moneymaker-rinkeby',
[ChainId.FUJI]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/moneymaker-fuji',
[ChainId.AVALANCHE]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/money-maker'
}

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

export const BOOSTED_MASTERCHEF_SUBGRAPH: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/boosted-master-chef-rinkeby',
[ChainId.FUJI]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/boostedmasterchef-fuji',
[ChainId.AVALANCHE]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/boosted-master-chef'
}

export const NFT_CONTRACTS_SUBGRAPH: { [chainId in ChainId]: string } = {
[ChainId.RINKEBY]: ZERO_ADDRESS,
[ChainId.FUJI]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/nft-contract-fuji',
[ChainId.AVALANCHE]: 'https://api.thegraph.com/subgraphs/name/traderjoe-xyz/nft-contracts'
}

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

0 comments on commit 158cf2f

Please sign in to comment.