0xneves.eth

Results 18 comments of 0xneves.eth

> > With this new function _update, I don't know why, Remix underlines IERC721Errors. > > Before this, I wrote (without the underscore): > > function update(address from, address to)...

Yes sir, you can use super._update(...) inside an override function and beneath add your custom logic

Hey @ernestognw , thank you for the very dedicated response! Really appreciated the time. Firstly I agree that having the function in a math-heavy environment would be better. The exponential...

Hey @armgit5 I could not find any reference for _checkOnERC721Received in the `OpenZeppelin/openzeppelin-upgrades`, as of `openzeppelin-contract` it was removed not long ago, you can check [here](https://github.com/search?q=repo%3AOpenZeppelin%2Fopenzeppelin-contracts+_checkOnERC721Received&type=code). As far as I...

Then you should go for overriding the `transfer`and `transferFrom` function as simple as: ``` function transferFrom() public override { revert(); } ``` Then implement your on `customTransferFrom` and calling `_transfer`...

I think by just using this it might work: ``` function transferFrom(address, address, uint256) public override returns (bool) { revert(); } ``` You can also send me the repo you...

> I tried the above suggestion, but I’m still getting an `Overriding function return types differ` compilation error. I’ve sent you an invitation to my repo—any feedback would be greatly...