Skip to content

Commit

Permalink
docs: re ordered docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PoisonPhang committed Jan 25, 2025
1 parent 8728601 commit 3c4d31f
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 54 deletions.
88 changes: 37 additions & 51 deletions docs/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,39 @@ export default defineConfig({
label: "Introduction",
link: "/"
},
{
label: "Protocol",
items: [
{
label: "Overview",
link: "/protocol/overview"
},
{
label: "Chains",
autogenerate: {
directory: "/protocol/chains"
}
},
{
label: "Channels",
autogenerate: {
directory: "/protocol/channels"
}
},
{
label: "Connections",
autogenerate: {
directory: "/protocol/connections"
}
}
]
},
{
label: "Architecture",
autogenerate: {
directory: "/architecture"
}
},
{
label: "Connect",
items: [
Expand All @@ -160,13 +193,13 @@ export default defineConfig({
label: "Introduction",
link: "/connect/app/asset-transfer"
},
{
label: "CosmWasm",
link: "/connect/app/asset-transfer/cosmwasm"
},
{
label: "Solidity",
link: "/connect/app/asset-transfer/solidity"
},
{
label: "CosmWasm",
link: "/connect/app/asset-transfer/cosmwasm"
}
]
}
Expand All @@ -187,39 +220,6 @@ export default defineConfig({
// }
]
},
{
label: "Protocol",
items: [
{
label: "Overview",
link: "/protocol/overview"
},
{
label: "Chains",
autogenerate: {
directory: "/protocol/chains"
}
},
{
label: "Channels",
autogenerate: {
directory: "/protocol/channels"
}
},
{
label: "Connections",
autogenerate: {
directory: "/protocol/connections"
}
}
]
},
{
label: "Architecture",
autogenerate: {
directory: "/architecture"
}
},
{
label: "Concepts",
autogenerate: {
Expand Down Expand Up @@ -254,20 +254,6 @@ export default defineConfig({
link: "/integrations/typescript",
badge: { variant: "success", text: "new" }
},
{
label: "UCS01",
badge: { variant: "success", text: "new" },
items: [
{
label: "Solidity",
link: "/integrations/ucs01/solidity"
},
{
label: "CosmWasm",
link: "/integrations/ucs01/cosmwasm"
}
]
},
{
label: "API",
collapsed: true,
Expand Down
6 changes: 3 additions & 3 deletions docs/src/content/docs/connect/app/asset-transfer/solidity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ interface Ucs03 {
}
contract Transfer {
address public constant relay = 0x7B7872fEc715C787A1BE3f062AdeDc82b3B06144;
address public constant zkgm = 0x7B7872fEc715C787A1BE3f062AdeDc82b3B06144;
address public constant muno = 0xF2865969cF99A28Bb77e25494fE12D5180fE0efD;
bytes32 public constant salt = bytes32("0xF2865969cF99A28Bb77e25494fE1");
function transferAsset() public {
IERC20(muno).approve(relay, 1000000);
IERC20(muno).approve(zkgm, 1000000);
Ucs03(relay).transfer(
Ucs03(zkgm).transfer(
90,
hex"1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
muno,
Expand Down

0 comments on commit 3c4d31f

Please sign in to comment.