Goals The hack Unlike a normal function that can be called anytime, a constructor is only executed once during the creation of the contract. In solidity versions before 0.8.0, a constructor was defined by naming it the same as your contract's name. ...

Markdown supported · ⌘↵ to post
No responses yet.