a hacker to deploy a contract to an already existing contract address / in order to overwrite the functions and hijack external calls to this contract?
No
Мурат а ты откуда тут
В прошлом году как-то кто-то пригласил и вот остался
The deployment will fail.
To truly believe this, you can try deploying a contract to an existing address using create2.
No, but if there is something at that address and gets selfdestructed yes
But hacker can't call selfdestruction method without private key of deployed, is it right?
for the smart contract to be able to self destruct, you actually need to implement a function that calls selfdestruct
No, selfdestruct is a solidity keyword, you just need to put that somewhere accessible in your code
No, depends on how the contract is written
that's what I said?
Now you edited the message
what, I edited it 30 minutes ago, when I sent the message, don't pretend like I'm stupid lol
Обсуждают сегодня