From 2506f0d4371c357fbb393946bc72ba3902231071 Mon Sep 17 00:00:00 2001 From: Perelyn <64838956+Perelyn-sama@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:06:07 +0100 Subject: [PATCH] update READMEs --- basics/cross-program-invocation/steel/README.md | 6 ++++++ basics/cross-program-invocation/steel/hand/README.md | 11 ++--------- basics/cross-program-invocation/steel/lever/README.md | 6 +++--- 3 files changed, 11 insertions(+), 12 deletions(-) create mode 100644 basics/cross-program-invocation/steel/README.md diff --git a/basics/cross-program-invocation/steel/README.md b/basics/cross-program-invocation/steel/README.md new file mode 100644 index 000000000..56465a6e4 --- /dev/null +++ b/basics/cross-program-invocation/steel/README.md @@ -0,0 +1,6 @@ +## Cross Program Invocation steel example + +### Programs + +- [Hand](./hand/README.md) +- [Lever](./lever/README.md) diff --git a/basics/cross-program-invocation/steel/hand/README.md b/basics/cross-program-invocation/steel/hand/README.md index 4394900c7..6ef2fade1 100644 --- a/basics/cross-program-invocation/steel/hand/README.md +++ b/basics/cross-program-invocation/steel/hand/README.md @@ -1,19 +1,12 @@ # Hand **Hand** is a ... - + ## API -- [`Consts`](api/src/consts.rs) – Program constants. -- [`Error`](api/src/error.rs) – Custom program errors. -- [`Event`](api/src/event.rs) – Custom program events. - [`Instruction`](api/src/instruction.rs) – Declared instructions. ## Instructions -- [`Add`](program/src/add.rs) – Add ... -- [`Initialize`](program/src/initialize.rs) – Initialize ... - -## State -- [`Counter`](api/src/state/counter.rs) – Counter ... +- [`PullLever`](program/src/pull_lever.rs) – Pull Lever ... ## Get started diff --git a/basics/cross-program-invocation/steel/lever/README.md b/basics/cross-program-invocation/steel/lever/README.md index 8c44577bd..4b01b5852 100644 --- a/basics/cross-program-invocation/steel/lever/README.md +++ b/basics/cross-program-invocation/steel/lever/README.md @@ -1,7 +1,7 @@ # Lever **Lever** is a ... - + ## API - [`Consts`](api/src/consts.rs) – Program constants. - [`Error`](api/src/error.rs) – Custom program errors. @@ -9,11 +9,11 @@ - [`Instruction`](api/src/instruction.rs) – Declared instructions. ## Instructions -- [`Add`](program/src/add.rs) – Add ... +- [`SwitchPower`](program/src/switch_power.rs) – Switch Power ... - [`Initialize`](program/src/initialize.rs) – Initialize ... ## State -- [`Counter`](api/src/state/counter.rs) – Counter ... +- [`PowerStatus`](api/src/state/power_status.rs) – Power status ... ## Get started