From 7ac9943e57faedfb1719c537f58d022207c6342d Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Sat, 3 Aug 2024 20:08:57 +0300 Subject: [PATCH] fix: update protocol contracts url (#426) --- src/components/Docs/components/ContractAddresses.tsx | 4 ++-- src/components/Docs/components/ZetaTokenTable.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Docs/components/ContractAddresses.tsx b/src/components/Docs/components/ContractAddresses.tsx index 6f8cf912..e467acf8 100644 --- a/src/components/Docs/components/ContractAddresses.tsx +++ b/src/components/Docs/components/ContractAddresses.tsx @@ -15,8 +15,8 @@ type ContractAddressData = { type ContractAddressesByChain = Record; const addressesUrl: Record = { - testnet: "https://raw.githubusercontent.com/zeta-chain/protocol-contracts/main/data/addresses.testnet.json", - mainnet: "https://raw.githubusercontent.com/zeta-chain/protocol-contracts/main/data/addresses.mainnet.json", + testnet: "https://raw.githubusercontent.com/zeta-chain/protocol-contracts/main/v1/data/addresses.testnet.json", + mainnet: "https://raw.githubusercontent.com/zeta-chain/protocol-contracts/main/v1/data/addresses.mainnet.json", }; const groupDataByChain = (data: ContractAddressData[]) => diff --git a/src/components/Docs/components/ZetaTokenTable.tsx b/src/components/Docs/components/ZetaTokenTable.tsx index 25b4a187..9161f7d0 100644 --- a/src/components/Docs/components/ZetaTokenTable.tsx +++ b/src/components/Docs/components/ZetaTokenTable.tsx @@ -4,8 +4,8 @@ import { LoadingTable, NetworkTypeTabs, networkTypeTabs } from "~/components/sha import { NetworkType } from "~/lib/app.types"; const API: Record = { - mainnet: "https://raw.githubusercontent.com/zeta-chain/protocol-contracts/main/data/addresses.mainnet.json", - testnet: "https://raw.githubusercontent.com/zeta-chain/protocol-contracts/main/data/addresses.testnet.json", + mainnet: "https://raw.githubusercontent.com/zeta-chain/protocol-contracts/main/v1/data/addresses.mainnet.json", + testnet: "https://raw.githubusercontent.com/zeta-chain/protocol-contracts/main/v1/data/addresses.testnet.json", }; type AddressData = {