Is it possible too return value in this way? This is for an understanding of the mechanism of using a method from github Thank you!
// SPDX-License-Identifier: MIT pragma solidity ^0.8.18; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol"; abstract contract Token is ERC20 { uint8 returnValueFromExt; ERC20 extBase; function testCall() public view returns(uint){ return extBase.decimals(); // returnValueFromExt = extBase.decimals(); } } After deploying, I receive this error.
This contract may be abstract, it may not implement an abstract parent's methods completely or it may not invoke an inherited contract's constructor correctly.