Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add types for CPI #11

Merged
merged 6 commits into from
Sep 13, 2024
Merged

Add types for CPI #11

merged 6 commits into from
Sep 13, 2024

Conversation

febo
Copy link
Collaborator

@febo febo commented Sep 5, 2024

This PR adds types needed to invoke other programs using sol_invoke_signed_c syscall.

Types defined on the instruction module:

  • Account
  • AccountMeta
  • Instruction
  • Seed
  • Signer

These types are intended to be used by client code.

Types defined on the program module:

  • CInstruction (private type)

@febo febo marked this pull request as draft September 5, 2024 14:56
@febo febo mentioned this pull request Sep 5, 2024
@febo febo marked this pull request as ready for review September 13, 2024 14:35
@febo febo merged commit 3b6ce5a into main Sep 13, 2024
3 checks passed
@febo febo deleted the cpi-types branch September 13, 2024 14:36
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