New answers tagged

1

instead of using function() public payable {} Use fallback() external payable {} with latest solidity we dont use function keyword. https://solidity.readthedocs.io/en/v0.7.4/contracts.html#fallback-function See release of 0.6.0 https://solidity.readthedocs.io/en/v0.7.4/060-breaking-changes.html#semantic-and-syntactic-changes


Top 50 recent answers are included