diff --git a/dapp-v1/src/helpers/ProtocolDefaults.ts b/dapp-v1/src/helpers/ProtocolDefaults.ts index da52d3e..9bf80ad 100644 --- a/dapp-v1/src/helpers/ProtocolDefaults.ts +++ b/dapp-v1/src/helpers/ProtocolDefaults.ts @@ -7,14 +7,15 @@ export const MAGNIFY_CASH_GOERLI_GRAPH: string = export const MAGNIFY_CASH_MUMBAI_GRAPH: string = "https://api.studio.thegraph.com/query/44194/nftyfinance-mumbai/0.0.7"; export const MAGNIFY_CASH_BASE_SEPOLIA_GRAPH: string = - "https://api.ghostlogs.xyz/gg/pub/d94bdadc-4cf4-44a1-9888-c8be5ab887fc/ghostgraph"; + "https://api.ghostlogs.xyz/gg/pub/2bec3e31-f136-4c36-9e5b-ef735ce834ba/ghostgraph"; export const MAGNIFY_CASH_BASE_MAINNET_GRAPH: string = "https://api.ghostlogs.xyz/gg/pub/8bf67182-75f2-41e8-ae10-bd4d26d9c91e/ghostgraph"; export const MAGNIFY_CASH_SEPOLIA_GRAPH: string = "https://api.thegraph.com/subgraphs/name/crypto-rizzo/nftyfinance-sepolia"; export const MAGNIFY_CASH_HARDHAT_GRAPH: string = "http://localhost:8000/subgraphs/name/magnify-local"; -export const getProtocolAddress = (chainId: any) => magnifyCashV1Address[chainId]; +export const getProtocolAddress = (chainId: any) => + magnifyCashV1Address[chainId]; export const getProtocolChain = (chainId: any) => chainId; export const getProtocolGraphUrl = (chainId: any) => { switch (chainId) { @@ -39,7 +40,7 @@ export const getProtocolGraphUrl = (chainId: any) => { const nftListUrlsMap = { 1: [ - "https://raw.githubusercontent.com/magnify-cash/nft-lists/master/test/schema/bigexample.nftlist.json", + "https://raw.githubusercontent.com/magnify-cash/nft-lists/master/test/schema/bigexample.nftlist.json" ], 8453: import.meta.env.DEV ? ["http://localhost:5173/tokenlists/nftsBaseMainnet.json"] @@ -47,7 +48,7 @@ const nftListUrlsMap = { 84532: import.meta.env.DEV ? ["http://localhost:5173/tokenlists/nftsBaseSepolia.json"] : ["https://early.magnify.cash/tokenlists/nftsBaseSepolia.json"], - 31337: ["http://localhost:5173/tokenlists/nfts.json"], + 31337: ["http://localhost:5173/tokenlists/nfts.json"] }; const tokenListUrlsMap = { @@ -56,13 +57,13 @@ const tokenListUrlsMap = { 84532: import.meta.env.DEV ? ["http://localhost:5173/tokenlists/tokensBaseSepolia.json"] : ["https://early.magnify.cash/tokenlists/tokensBaseSepolia.json"], - 31337: ["http://localhost:5173/tokenlists/tokens.json"], + 31337: ["http://localhost:5173/tokenlists/tokens.json"] }; export function getTokenListUrls( chainId: number, isNft: boolean | undefined, - isToken: boolean | undefined, + isToken: boolean | undefined ): string[] | undefined { if (isNft) { return nftListUrlsMap[chainId]; diff --git a/dapp-v1/wagmi.config.ts b/dapp-v1/wagmi.config.ts index 91173eb..58afffd 100644 --- a/dapp-v1/wagmi.config.ts +++ b/dapp-v1/wagmi.config.ts @@ -14,7 +14,7 @@ const config = async (): Promise => { MagnifyCashV1: { 31337: hardhatAddress, // hardhat 11155111: "0x58b9F441b5c4681e1Ab74ecdE2A01698831BF2c4", // sepolia - 84532: "0x9d77E621be4aF95A83c4334e7B51e4440dC2Ed0f", // base sepolia + 84532: "0x781EBE3865b0911D6989854dCD29DF3cd81168eB", // base sepolia 8453: "0x9C8D226016492a8fE6531Fe1409aD79099Dd0729", // base mainnet 1: "0xA5FE620E35A2f7459e8cb72bd567aBA8f294867a" // eth mainnet }, diff --git a/deployments.json b/deployments.json index ebd8b38..4c6a7f9 100644 --- a/deployments.json +++ b/deployments.json @@ -1,14 +1,14 @@ { "magnifyCash": { - "address": "0x9C8D226016492a8fE6531Fe1409aD79099Dd0729", - "startBlock": 20974284 + "address": "0x781EBE3865b0911D6989854dCD29DF3cd81168eB", + "startBlock": 18220396 }, "obligationNotes": { - "address": "0x22c2CA6181241e5e7Dd4F0548631Bdb3481274a2", - "startBlock": 20974278 + "address": "0x71DA932ccdA723BA3ab730C976bC66DaAF9C598c", + "startBlock": 18220390 }, "lendingKeys": { - "address": "0xB64105EB7CD38bCCE999DA4f38a98015736DCE2E", - "startBlock": 20974281 + "address": "0x7F7c5328621965608d0a6a95a6C33461Ef3FDb24", + "startBlock": 18220393 } } \ No newline at end of file