-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Implement mint
and burn
#106
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Victor Yanev <[email protected]>
bce3576
to
c32669b
Compare
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]> # Conflicts: # @hts-forking/out/HtsSystemContract.sol/HtsSystemContract.json
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
…kens' Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]> # Conflicts: # test/lib/TestSetup.sol
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
…nd-mint-of-HTS-tokens Signed-off-by: Victor Yanev <[email protected]> # Conflicts: # .gitignore # src/HtsSystemContract.sol # src/IHederaTokenService.sol # test/HTS.t.sol # test/lib/MocksToStorageLoader.sol
Signed-off-by: Victor Yanev <[email protected]>
…nd-mint-of-HTS-tokens Signed-off-by: Victor Yanev <[email protected]> # Conflicts: # src/HtsSystemContract.sol
…nd-mint-of-HTS-tokens Signed-off-by: Victor Yanev <[email protected]> # Conflicts: # src/HtsSystemContract.sol
Signed-off-by: Victor Yanev <[email protected]>
…nd-mint-of-HTS-tokens Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
…nd-mint-of-HTS-tokens Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
…S-tokens' into 78-implement-burn-and-mint-of-HTS-tokens Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, left one comment, and we good to go. Nice stuff!
address from = address(bytes20(msg.data[40:60])); | ||
address to = address(bytes20(msg.data[72:92])); | ||
uint256 amount = uint256(bytes32(msg.data[92:124])); | ||
_initTokenData(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't need this here. _update
can also be called with transfers, where getTokenInfo
shouldn't be needed. The main issue by having this here is that we may be triggering unnecessary requests to getTokenInfo
.
Description:
This PR:
Related issue(s):
Fixes #78
Notes for reviewer:
Checklist