to my contract? Meaning only user could deposit.
There is a method from opezeppelin contracts in library Address, called isContract
Check if the address has a creation code. But know that contracts during construction have no codes either. Openzeppelin has Address library but be sure to go through the notes.
Thx I'll take a look
Was my idea but it can be exploited
you can also use tx.origin
tx.origin could be bypassed with constructor =)
could u show an example?
nvm sorry, i confused it with another issue
Обсуждают сегодня