Skip to content

Commit

Permalink
update READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
Perelyn-sama committed Dec 4, 2024
1 parent 0f23210 commit 2506f0d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
6 changes: 6 additions & 0 deletions basics/cross-program-invocation/steel/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Cross Program Invocation steel example

### Programs

- [Hand](./hand/README.md)
- [Lever](./lever/README.md)
11 changes: 2 additions & 9 deletions basics/cross-program-invocation/steel/hand/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 3 additions & 3 deletions basics/cross-program-invocation/steel/lever/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Lever

**Lever** 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 ...
- [`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

Expand Down

0 comments on commit 2506f0d

Please sign in to comment.