Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
35 changes: 0 additions & 35 deletions content/uniswap-hooks/v1.x/api/index.mdx

This file was deleted.

File renamed without changes.
14 changes: 7 additions & 7 deletions src/app/(docs)/[...slug]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,37 +68,37 @@ export default async function Layout({
},
{
title: "Arbitrum Stylus",
url: "/contracts-stylus/v0.x",
url: "/contracts-stylus",
icon: <ArbitrumIcon className="w-5 h-5" />,
},
{
title: "Starknet",
url: "/cairo-contracts/v3.x",
url: "/cairo-contracts",
icon: <StarknetIcon className="w-5 h-5" />,
},
{
title: "Stellar",
url: "/stellar-contracts/v0.x/",
url: "/stellar-contracts",
icon: <StellarIcon className="w-5 h-5" />,
},
{
title: "Midnight",
url: "/contracts-compact/v0.x",
url: "/contracts-compact",
icon: <MidnightIcon className="w-5 h-5" />,
},
{
title: "Polkadot",
url: "/substrate-runtimes/v3.x",
url: "/substrate-runtimes",
icon: <PolkadotIcon className="w-5 h-5" />,
},
{
title: "Uniswap",
url: "/uniswap-hooks/v1.x",
url: "/uniswap-hooks",
icon: <UniswapIcon className="w-5 h-5" />,
},
{
title: "Zama",
url: "/confidential-contracts/v0.x",
url: "/confidential-contracts",
icon: <ZamaIcon className="w-5 h-5" />,
},
],
Expand Down
14 changes: 7 additions & 7 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,49 +216,49 @@ export default function HomePage() {
className="relative overflow-hidden hover:border-blue-500 transition-colors before:absolute before:top-0 before:left-0 before:right-0 before:h-0.5 before:bg-gradient-to-r before:from-blue-600 before:to-blue-400 before:opacity-0 hover:before:opacity-100 before:transition-opacity"
/>
<Card
href="/cairo-contracts/v3.x"
href="/cairo-contracts"
title="Starknet"
description="Essential contracts library written in Cairo for Starknet"
icon={<StarknetIcon className="w-4 h-4" />}
className="relative overflow-hidden hover:border-orange-500 transition-colors before:absolute before:top-0 before:left-0 before:right-0 before:h-0.5 before:bg-gradient-to-r before:from-orange-600 before:to-orange-400 before:opacity-0 hover:before:opacity-100 before:transition-opacity"
/>
<Card
href="/contracts-stylus/v0.x"
href="/contracts-stylus"
title="Arbitrum Stylus"
description="Essential contracts library for Arbitrum Stylus written in Rust"
icon={<ArbitrumIcon className="w-4 h-4" />}
className="relative overflow-hidden hover:border-red-500 transition-colors before:absolute before:top-0 before:left-0 before:right-0 before:h-0.5 before:bg-gradient-to-r before:from-red-600 before:to-red-400 before:opacity-0 hover:before:opacity-100 before:transition-opacity"
/>
<Card
href="/uniswap-hooks/v1.x"
href="/uniswap-hooks"
title="Uniswap Hooks"
description="Advanced Uniswap V4 hooks in Solidity"
icon={<UniswapIcon className="h-4 w-4" />}
className="relative overflow-hidden hover:border-blue-500 transition-colors before:absolute before:top-0 before:left-0 before:right-0 before:h-0.5 before:bg-gradient-to-r before:from-blue-600 before:to-blue-400 before:opacity-0 hover:before:opacity-100 before:transition-opacity"
/>
<Card
href="/confidential-contracts/v0.x"
href="/confidential-contracts"
title="Zama FHEVM"
description="Fully homomorphic encryption contracts for confidential smart contracts"
icon={<ZamaIcon className="w-4 h-4" />}
className="relative overflow-hidden hover:border-yellow-500 transition-colors before:absolute before:top-0 before:left-0 before:right-0 before:h-0.5 before:bg-gradient-to-r before:from-yellow-600 before:to-yellow-400 before:opacity-0 hover:before:opacity-100 before:transition-opacity"
/>
<Card
href="/stellar-contracts/v0.x"
href="/stellar-contracts"
title="Stellar"
description="Soroban contracts library for Stellar"
icon={<StellarIcon className="h-4 w-4" />}
className="relative overflow-hidden hover:border-cyan-500 transition-colors before:absolute before:top-0 before:left-0 before:right-0 before:h-0.5 before:bg-gradient-to-r before:from-cyan-600 before:to-cyan-400 before:opacity-0 hover:before:opacity-100 before:transition-opacity"
/>
<Card
href="/compact-contracts/v0.x"
href="/compact-contracts"
title="Midnight"
description="Privacy-preserving smart contracts for Midnight blockchain"
icon={<MidnightIcon className="h-4 w-4" />}
className="relative overflow-hidden hover:border-purple-500 transition-colors before:absolute before:top-0 before:left-0 before:right-0 before:h-0.5 before:bg-gradient-to-r before:from-purple-600 before:to-purple-400 before:opacity-0 hover:before:opacity-100 before:transition-opacity"
/>
<Card
href="/substrate-runtimes/v3.x"
href="/substrate-runtimes"
title="Polkadot"
description="ink! smart contracts for Polkadot and Substrate chains"
icon={<PolkadotIcon className="w-4 h-4" />}
Expand Down
9 changes: 0 additions & 9 deletions src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,7 @@ import { type NextRequest, NextResponse } from "next/server";
// Version mappings for redirects
const VERSION_REDIRECTS: Record<string, string> = {
contracts: "contracts/v5.x",
"contracts-upgradeable": "contracts-upgradeable/v5.x",
"cairo-contracts": "cairo-contracts/v2.x",
"community-contracts": "community-contracts/v1.x",
"compact-contracts": "compact-contracts/v0.x",
"confidential-contracts": "confidential-contracts/v0.x",
"contracts-stylus": "contracts-stylus/v0.x",
"stellar-contracts": "stellar-contracts/v0.x",
"substrate-runtimes": "substrate-runtimes/v3.x",
nile: "nile/v0.x",
"uniswap-hooks": "uniswap-hooks/v1.x",
"tools/openzeppelin-monitor": "tools/openzeppelin-monitor/v1.x",
};

Expand Down
70 changes: 63 additions & 7 deletions src/navigation/arbitrum-stylus.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,92 @@
[
{
"type": "separator",
"name": "Contracts"
"name": "Contracts Stylus"
},
{
"type": "page",
"name": "Overview",
"url": "/contracts-stylus/v0.x"
"url": "/contracts-stylus"
},
{
"type": "page",
"name": "Access Control",
"url": "/contracts-stylus/v0.x/access-control"
"url": "/contracts-stylus/access-control"
},
{
"type": "page",
"name": "Beacon Proxy",
"url": "/contracts-stylus/beacon-proxy"
},
{
"type": "page",
"name": "Common",
"url": "/contracts-stylus/common"
},
{
"type": "page",
"name": "Cryptography",
"url": "/contracts-stylus/v0.x/crypto"
"url": "/contracts-stylus/crypto"
},
{
"type": "folder",
"name": "ERC Standards",
"children": [
{
"type": "page",
"name": "ERC-20",
"url": "/contracts-stylus/erc20"
},
{
"type": "page",
"name": "ERC-721",
"url": "/contracts-stylus/erc721"
},
{
"type": "page",
"name": "ERC-1155",
"url": "/contracts-stylus/erc1155"
},
{
"type": "page",
"name": "ERC-4626",
"url": "/contracts-stylus/erc4626"
}
]
},
{
"type": "page",
"name": "Finance",
"url": "/contracts-stylus/v0.x/finance"
"url": "/contracts-stylus/finance"
},
{
"type": "page",
"name": "Proxy",
"url": "/contracts-stylus/proxy"
},
{
"type": "page",
"name": "Tokens",
"url": "/contracts-stylus/tokens"
},
{
"type": "page",
"name": "Utilities",
"url": "/contracts-stylus/v0.x/utilities"
"url": "/contracts-stylus/utilities"
},
{
"type": "page",
"name": "UUPS Proxy",
"url": "/contracts-stylus/uups-proxy"
},
{
"type": "page",
"name": "Vesting Wallet",
"url": "/contracts-stylus/vesting-wallet"
},
{
"type": "page",
"name": "Changelog",
"url": "/contracts-stylus/v0.x/changelog"
"url": "/contracts-stylus/changelog"
}
]
16 changes: 8 additions & 8 deletions src/navigation/contracts.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,11 @@
},
{
"type": "folder",
"name": "Solidity Community Contracts",
"name": "Community Contracts",
"index": {
"type": "page",
"name": "Overview",
"url": "/community-contracts/v1.x"
"url": "/community-contracts"
},
"children": [
{
Expand All @@ -246,7 +246,7 @@
"index": {
"type": "page",
"name": "Overview",
"url": "/community-contracts/v1.x/account-abstraction"
"url": "/community-contracts/account-abstraction"
},
"children": [
{
Expand All @@ -255,32 +255,32 @@
"index": {
"type": "page",
"name": "Overview",
"url": "/community-contracts/v1.x/accounts"
"url": "/community-contracts/accounts"
},
"children": [
{
"type": "page",
"name": "Modules",
"url": "/community-contracts/v1.x/account-modules"
"url": "/community-contracts/account-modules"
}
]
},
{
"type": "page",
"name": "Paymasters",
"url": "/community-contracts/v1.x/paymasters"
"url": "/community-contracts/paymasters"
}
]
},
{
"type": "page",
"name": "Crosschain",
"url": "/community-contracts/v1.x/crosschain"
"url": "/community-contracts/crosschain"
},
{
"type": "page",
"name": "Utilities",
"url": "/community-contracts/v1.x/utilities"
"url": "/community-contracts/utilities"
}
]
},
Expand Down
Loading