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

Souldbound Burn #18

Open
TheSmartnik opened this issue Dec 27, 2022 · 0 comments
Open

Souldbound Burn #18

TheSmartnik opened this issue Dec 27, 2022 · 0 comments

Comments

@TheSmartnik
Copy link

Hi, I have a couple of question regarding souldbound contract.

First.

send_msg(flag::regular(), sender_address, 0, op::excesses(), query_id, null(), 128);

Why the flag here isn't 128 + 32. Considering that we want to burn the contract, it seems like a more appropriate solution.

Second.

storage::owner_address = null_addr();
storage::authority_address = null_addr();
store_data();

Even if for some reason 128 is appropriate flag. Why not set collection address to null() as well. That way It'll auto detach from collection in every parsing tool

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

No branches or pull requests

1 participant