Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about Remix, an online browser compiler for Solidity, formerly called Browser Solidity.
6
votes
Accepted
msg.value instead of this.balance
msg.value is the amount of ETH sent to a payable public method in a contract.
this.balance is the amount of ETH stored in the contract.
2
votes
1
answer
1k
views
Using view modifer in solidity gives error in truffle compiler "ParserError: Expected token ...
/contracts/MetaCoin.sol:7:5: ParserError: Expected token LBrace got 'View'
view
^
The view works in Remix, what is missing in my truffle environment that is throwing this error? … The Remix compilation version is (0.4.18+commit.9cf6e910.Emscripten.clang) …
13
votes
How to Compile and Deploy a Smart Contract without running a full node?
Click on Contract Code tab on etherscan, click Verify and Publish
Set the name of the contract to the exact name as in remix, Compiler to the same exact version as in remix and set optimization to "No" … if you didn't click it on remix in step 3. …