Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
How does set_code() affect the address of smart contract?

On TON blockchain the address of a smart contract depends on its code. The set_code() function can change the code of a contract. What happes to the address when the code is changed?

This question was imported from Telegram Chat: https://t.me/tondev/125714

Votes Newest


Address is derived from the initial state (initial code + initial storage) of the contract. So changing the code with set_code() should have no effect on the address, since the modified code won't be "initial".

Posted one year ago