diff --git a/src/services/factory.ts b/src/services/factory.ts index 8306ba56..f98acfc3 100644 --- a/src/services/factory.ts +++ b/src/services/factory.ts @@ -1,6 +1,8 @@ import axios from './axios'; export const fetchFactory = async (network: string) => { + if(network == 'mainnet') return {"address":"CA4HEQTL2WPEUYKYKCDOHCDNIV4QHNJ7EL4J4NQ6VADP7SYHVRYZ7AW2"} + const { data } = await axios.get(`/api/${network}/factory`); return data; diff --git a/src/services/router.ts b/src/services/router.ts index 7e6141e0..52311607 100644 --- a/src/services/router.ts +++ b/src/services/router.ts @@ -1,6 +1,8 @@ import axios from './axios'; export const fetchRouter = async (network: string) => { + if(network == 'mainnet') return {"address":"CAG5LRYQ5JVEUI5TEID72EYOVX44TTUJT5BQR2J6J77FH65PCCFAJDDH"} + const { data } = await axios.get(`/api/${network}/router`); return data;