Updated specific locations to be searchable, take a look at Las Vegas as an example.

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

6
WETH/WETH.sol:15:5: ParserError: Source file requires different compiler version (current compiler is 0.5.5+commit.47a71e8f.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version } ^
Post Flair (click to view more posts with a particular flair)
Post Body

I am getting the above error in Remix. I am trying to make a wrapped ETH. I am using compiler 0.5.5 commit.47a71e8f.Emscripten.clang. My code is

pragma solidity ^0.5.5

import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol'

contract WTFUEL is ERC20 {

constructor() ERC20("Wrapped Binance Coin", "WBNB") public {}

function mint() external payable {

_mint(msg.sender, msg.value)

}

function burn(uint amount) external {

msg.sender.transfer(amount)

_burn(msg.sender, amount);

}

}

Any help will be much appreciated!

Author
Account Strength
100%
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
204,722
Link Karma
159,606
Comment Karma
39,601
Profile updated: 1 week ago
Posts updated: 11 hours ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago