Skip to content

Commit 386d6d7

Browse files
0xrinegadeclaude
andcommitted
feat(ovsm): Add Round 4 Solana program macros
SPL Token operations: - (spl-close-account tok-prog acct dest auth) - Close token account System Program operations: - (system-allocate acct-idx space) - Allocate space in account - (system-assign acct-idx owner-ptr) - Assign account to program Anchor-compatible error handling: - (anchor-error code) - Returns 6000 + code (Anchor error format) - (require cond code) - Assert with Anchor error on failure - (msg "text") - Anchor-style logging helper All macros compile to sBPF and tested successfully. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 34af221 commit 386d6d7

File tree

1 file changed

+417
-0
lines changed
  • crates/ovsm/src/compiler

1 file changed

+417
-0
lines changed

0 commit comments

Comments
 (0)