Skip to content

Commit

Permalink
docs: add contracts.json endpoint to docs (#1941)
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az authored May 21, 2024
2 parents 0cbee8f + af4fcaf commit a1ad97d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site/src/pages/api/contracts.json.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import type { APIRoute } from "astro"
import contracts from "~root/versions/contracts.json" with { type: "json" }

export const GET: APIRoute = () => Response.json(contracts)
15 changes: 15 additions & 0 deletions versions/contracts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"latest": true,
"chainId": "union-testnet-8",
"sepolia": {
"UCS01": "0xD0081080Ae8493cf7340458Eaf4412030df5FEEb",
"UCS02": "0x9153952f174A1BcD7A9B3818Ff21Ecf918d4Dca9",
"IBCHandler": "0xa390514F803a3B318b93Bf6cd4beEB9f8299a0EB",
"CometblsClient": "0x96979Ed96aE00d724109B5Ad859568e1239C0837"
},
"union": {
"UCS01": "union124t57vjgsyknnhmr3fpkmyvw2543448kpt2xhk5p5hxtmjjsrmzsjyc4n7"
}
}
]

0 comments on commit a1ad97d

Please sign in to comment.