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

Implement IRC31 #7

Merged
merged 1 commit into from
Jun 24, 2021
Merged

Implement IRC31 #7

merged 1 commit into from
Jun 24, 2021

Conversation

ICONationDevTeam
Copy link
Contributor

@ICONationDevTeam ICONationDevTeam commented Jun 23, 2021

This pull request implements the whole specification of IIP-31 (icon-project/IIPs#31)

The Java code and tests stricly follow the same logic than the one in its Python alternative (https://github.com/sink772/multi-token-standard).

I also looked at @jspark-icon's PR (#6) and improved this PR based on it, mostly for RLP encoding. I noticed new useful methods but didn't implement mintBatch and burnBatch as they didn't match with the IIP-31.

There are 2 failing tests, testOnBatchReceived and transferFromBatch because newByteArrayObjectWriter isn't implemented yet in javaee-unittest

@sink772 sink772 merged commit 9e3c0f3 into sink772:master Jun 24, 2021
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.

2 participants