Skip to content

Add staking contract example#76

Open
alexgduarte wants to merge 2 commits into
athena-consulting:mainfrom
alexgduarte:add-staking-example
Open

Add staking contract example#76
alexgduarte wants to merge 2 commits into
athena-consulting:mainfrom
alexgduarte:add-staking-example

Conversation

@alexgduarte

@alexgduarte alexgduarte commented May 25, 2026

Copy link
Copy Markdown

Contributes to #11

Summary

  • Add an original staking smart contract example.
  • Include stake, unstake, staked-balance query behavior, messages, state, and unit coverage.
  • Add a schema binary target, remove an unresolved helper-module export, and reject malformed unstake amounts instead of treating them as zero.

Validation

  • git diff --check

Rust validation was not run in this Windows workspace because cargo and rustc are not installed on PATH.

Bounty Contact

GitHub: @alexgduarte
Email: alexduartegomescouto@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant