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
Answered
Can I upgrade from v3 wallet to v4 wallet without changing the wallet address?

I'm currently using wallet contract v3. It was deployed for me automatically when I was using TonKeeper wallet.

I saw that the core team released a new wallet contract: wallet contract v4.

If I upgrade and move to the new contract code, will my wallet address stay the same?


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

Votes Newest

Answers


It's impossible to upgrade the wallet version from v3 to v4 without changing the address.

Basically, the wallet is one of TON blockchain smart-contract and the wallet's address is the smart contract's address. The address of the newly deployed contract in TON depends on two things - the deployed bytecode and the initial contract storage. As we will have new bytecode(from the difference between v3 and v4 contracts) and new initial data - we will always get a new address.

Perhaps a trick with adding a "set code" or "white list" function into new version of wallet smart contract will allow to save one address from version to version. But at the moment it looks very complicated and insecure for the wallet smart contract.