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 |
Solidity is a contract-oriented, high-level language whose syntax is similar to that of JavaScript and it is designed for writing smart contracts in Ethereum to run on the EVM. Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.
4
votes
Using require or modifier?
But keep in mind that modifiers may add to stack as it is illustrated in this solidity github issue. …
6
votes
1
answer
2k
views
How does uint types conversion works?
As I understood from the solidity docs it should be done automatically.
Am I wrong? Why am I getting "premature" overflows in the functions below? …
6
votes
1
answer
750
views
Why use throw in modifiers instead of conditional entrance?
Almost every tutorial advises a code like this for a permission modifier.
modifier isAdmin() {
if(msg.sender != owner) {
throw;
}
_
}
But wouldn't it be simpler to use it withou …
50
votes
3
answers
22k
views
What are truffle migrations?
As written in Truffle docs:
Migrations are Javascript files that help you deploy contracts to the
Ethereum network. These files are responsible for staging your
deployment tasks, and they're w …
10
votes
What are truffle migrations?
Here is an example of a real use case of Truffle migrations.
I have a storage contract and an interface contract. The interface needs to know where the storage is and the storage needs to grant permi …