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 support for returning interfaces #1854

Closed
wants to merge 1 commit into from
Closed

Add support for returning interfaces #1854

wants to merge 1 commit into from

Conversation

sushi-shi
Copy link
Contributor

@sushi-shi sushi-shi commented Apr 29, 2022

Resolves #1839

@Henry-E
Copy link

Henry-E commented Dec 6, 2022

Honestly, we've been thinking of getting rid of the interface attribute macro. Can you share some use cases that you have for the interface attribute macro?

@sushi-shi
Copy link
Contributor Author

sushi-shi commented Dec 20, 2022

@Henry-E, we have a system consisting of multiple programs in which one main program needs to talk to other ones through a single interface with those subsidiary programs each knowing how to borrow tokens from different protocols. The system needs to be dynamic with an ability to add and remove said programs without redeployments.

@sushi-shi sushi-shi closed this by deleting the head repository Feb 24, 2023
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.

lang: #[interface] does not use set_return_data
2 participants