-
Notifications
You must be signed in to change notification settings - Fork 2
migrate Ownable2Step to Tolk #49
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
Conversation
|
||
/// Handles `Ownable2Step` messages for ownership management. | ||
fun Ownable2Step.onInternalMessage(mutate self, myBalance: int, msgValue: int, msgFull: cell, msgBody: slice): bool { | ||
try { |
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.
Probably need to also filter bounced messages, just in case? The parent should already do that but still
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.
Great work, but I think some parts can be improved.
Co-authored-by: Patricio <[email protected]>
… migrate-ownable-to-tolk
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.
Great job 🔏
Implements the Ownable2Step Struct (Trait) in Tolk.
Updates wrappers, and tests.
Adds documentation.
TODO: Clean up .tact files from the repo (I think it should be done all together on a separate PR