Skip to content
Open
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
72 changes: 39 additions & 33 deletions src/data/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ export const basicExamples = [
title: 'Hello World',
description: 'Learn how to use the console output',
},
{
route: '/basic_examples/bytes_in_bytes_out',
title: 'Bytes In, Bytes Out',
description: 'Learn about the basic entrypoint model',
},
{
route: '/basic_examples/first_app',
title: 'First App',
Expand All @@ -45,6 +40,21 @@ export const basicExamples = [
title: 'Constants',
description: 'How to define constant values in your contract',
},
{
route: '/basic_examples/arrays',
title: 'Arrays',
description: 'A simple arrays example in stylus',
},
{
route: '/basic_examples/function',
title: 'Functions',
description: 'Learn about function parameters, return types, and visibility',
},
{
route: '/basic_examples/bytes_in_bytes_out',
title: 'Bytes In, Bytes Out',
description: 'Learn about the basic entrypoint model',
},
{
route: '/basic_examples/mapping',
title: 'Mapping',
Expand All @@ -60,16 +70,16 @@ export const basicExamples = [
title: 'Events',
description: 'Log public events to the blockchain',
},
{
route: '/basic_examples/call',
title: 'Call',
description: 'Call other contracts on Rust Stylus smart contracts',
},
{
route: '/basic_examples/errors',
title: 'Errors',
description: 'Errors on Stylus Rust smart contracts',
},
{
route: '/basic_examples/call',
title: 'Call',
description: 'Call other contracts on Rust Stylus smart contracts',
},
{
route: "/basic_examples/sending_ether",
title: "Sending Ether",
Expand All @@ -81,10 +91,22 @@ export const basicExamples = [
description: "Compute the encoded function selector of a contract's function",
},
{
route: "/basic_examples/verify_signature",
title: "Verifying Signature",
route: "/basic_examples/abi_encode",
title: "ABI Encode",
description:
"An explanation of how to verify a signature signed off chain.",
"A simple solidity ABI encode example",
},
{
route: "/basic_examples/abi_decode",
title: "ABI Decode",
description:
"A simple solidity ABI decode example",
},
{
route: "/basic_examples/hashing",
title: "Hashing with keccak256",
description:
"A simple solidity keccak256 hashing example",
},
{
route: "/basic_examples/inheritance",
Expand All @@ -107,27 +129,11 @@ export const basicExamples = [
description: "Accesing VM affordances in the Stylus Rust SDK",
},
{
route: "/basic_examples/abi_encode",
title: "ABI Encode",
description:
"A simple solidity ABI encode and decode example",
},
{
route: "/basic_examples/abi_decode",
title: "ABI Decode",
description:
"A simple solidity ABI encode and decode example",
},
{
route: "/basic_examples/hashing",
title: "Hashing with keccak256",
route: "/basic_examples/verify_signature",
title: "Verifying Signature",
description:
"A simple solidity ABI encode and decode example",
},
{
route: '/basic_examples/function',
title: 'Functions',
description: 'Learn about function parameters, return types, and visibility',
"An explanation of how to verify a signature signed off chain.",

},
];

Expand Down
Loading