Timeline for ParserError: Expected ':' but got 'payable'
Current License: CC BY-SA 4.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 1, 2021 at 8:50 | comment | added | Siddhant Angore |
Actually the _transfer and ownerOf are ERC721 methods. in the ERC721.sol . yes the error was in line address payable starOwnerAddressPayable = payable(starOwner); . Which was rectified by using _make_payable function. function _make_payable(address x) internal pure returns(address payable) { return payable(address(uint160(x)); } . it was solved.
|
|
Jun 1, 2021 at 3:59 | history | answered | kishan | CC BY-SA 4.0 |