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

Entrypoint Parsing: Expand to support all Entrypoint cases #176

Open
DefinitelyNotAGoat opened this issue Jan 13, 2021 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@DefinitelyNotAGoat
Copy link
Collaborator

Example of Transfer entrypoint in tzBTC:

Entrypoint: Default
Parameter: RRRRLRRL (pair address (pair (addressto value)))
Entrypoint: Transfer
Parameter:
(pair address (pair (addressto value)))
Entrypoint: safeentrypoints
Parameter: RRL (pair address (pair (addressto value)))

Attached are code examples addressing the issue, special thanks to Marco from the Tezos foundation:
Code: https://drive.google.com/file/d/1Y6u36NMOMad2CvXnMF3n6xP6ab6ADkPK/view?usp=sharing
Test: https://drive.google.com/file/d/19EPO0mg0hkxpeTdpvRo6Ln60VScM-qK0/view?usp=sharing

@DefinitelyNotAGoat DefinitelyNotAGoat added the enhancement New feature or request label Jan 13, 2021
@DefinitelyNotAGoat DefinitelyNotAGoat self-assigned this Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant