Hi guys, I want to set admin wallet for Ton contract (similar to ownership in solidity), how can I implement it? I guess I must store owner address in the contract and it only be updated by message come from exact itself to transfer owner, right?
Sep 6, 2023, 4:54 PM
> I must store owner address in the contract: right
> and it only be updated by message come from exact itself to transfer owner: by message from current owner is right; not by message from the contract itself.
> and it only be updated by message come from exact itself to transfer owner: by message from current owner is right; not by message from the contract itself.
Sep 6, 2023, 5:26 PM
thank you
why do we need to ignore all bounced messages in the custom contract ?
Sep 6, 2023, 5:44 PM
Usually there's not much to do if you receive bounced message, since it originally came from the contract itself.
Sep 6, 2023, 5:45 PM
Ah I got it
Sep 6, 2023, 5:45 PM
Jetton wallets handle such messages, though, to ensure that jettons are not lost when transfer fails.
Sep 6, 2023, 5:45 PM