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 /checkinterface API #106

Merged
merged 4 commits into from
Jan 5, 2023
Merged

Conversation

awrichar
Copy link
Contributor

@awrichar awrichar commented Jan 4, 2023

In a chain with #104.
Part of FIR-16.

Add a new /checkinterface API which takes in a full ABI and returns the recognized methods from that ABI for approval/mint/burn/transfer operations.

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
This can be queried with a full ABI to determine which methods are
understood by this token connector.

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
This parameter is not the full ABI, but a list of methods encoded in
ABI format.

Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
Copy link
Contributor

@peterbroadhurst peterbroadhurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great 👍

@awrichar awrichar merged commit 3c966fc into hyperledger:main Jan 5, 2023
@awrichar awrichar deleted the checkinterface branch January 5, 2023 20:46
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.

None yet

2 participants