-
Notifications
You must be signed in to change notification settings - Fork 1
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: add optional minting to JettonInit #30
feat: add optional minting to JettonInit #30
Conversation
85424cd
to
2119ea0
Compare
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.
Thank you for such a big Pull Request!
} | ||
|
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.
I think we should set up prettier for project. Because my vscode plugin for tact deletes these line breaks automatically. Not related to this issue. Just thoughts. I will open issue for it
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.
👍
PR Description
Title:
feat: add optional minting to JettonInit
Key Points
Optional Minting:
JettonInit
ifmint_amount > 0
.mint_amount
is0
ornull
.Dynamic Minting Logic:
mint
function to accept an optionalvalue
parameter.SendRemainingValue
or specifiedvalue
with mode0
dynamically.Test Cases Added:
mint > 0
).mint = 0
).