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

Generate contract ABI with proc-macro #144

Closed
clearloop opened this issue Oct 15, 2023 · 0 comments · Fixed by #153
Closed

Generate contract ABI with proc-macro #144

clearloop opened this issue Oct 15, 2023 · 0 comments · Fixed by #153

Comments

@clearloop
Copy link
Member

clearloop commented Oct 15, 2023

Describe the feature

after #143, we got #[zink::external] in our implementation, generate ABI along side this macro

solution

  1. we emit the ABI of a function with emit_abi
  2. assembling the ABIs of functions in dispatcher
  3. pass the ABI to the compiler
  4. write to disk if flag abi is enabled

Solution

No response

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 a pull request may close this issue.

1 participant