just a setter function 🤔, but I think it is not secure since everyone can change address
So it is better to use consttructor?
use ownable contracts, so only owner can set address
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol
this is a ready library for that purpose
Обсуждают сегодня