Questions tagged [virtual]

virtual is a keyword that is used the mark functions whose logic is meant to be overridden by inheriting contracts.

Filter by
Sorted by
Tagged with
4
votes
1answer
288 views

What are the virtual and override keywords in Solidity?

Solidity 0.6.0 introduced the keywords virtual and override. What do they do?