Questions tagged [override]

override is a keyword that is used the mark functions whose logic is overriding functions of the same signature in inherited contracts.

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
1 answer
32 views

Re declaration question - Inheritance & overriding

I need help clearing somethings up when it comes down to redeclaration and implementation of inherited functions. I have an example below. I am building an nft erc1155 marketplace and inherited the ...
EGstacking's user avatar
0 votes
1 answer
663 views

ERC20 token, override functions but state variable do not update as expected

I am trying to implement and test an ERC20 token by inheriting from ERC20.sol from OpenZeppelin. I want most of the functions to be by default from OpenZeppelin but I also want to overrride some of ...
katerith's user avatar