Skip to main content
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
Results tagged with
Search options not deleted user 27500

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.

2 votes
2 answers
955 views

Most efficient way to do weighted pseudo randomness in Solidity?

What's the most efficient way to do this in solidity? …
cooldude101's user avatar
1 vote
1 answer
156 views

is contract.allEvents scalable for a metamask dapp?

In my dapp, I am calling contract.allEvents({from: 0, to: 'latest'}. I am doing this for every user and every time they first enter the site. Is this scalable? What if my contract gets to 1 million …
cooldude101's user avatar
0 votes
1 answer
246 views

How come "From" address is not showing in web3.eth.filter?

I'm trying to figure out how to track the activity of users of my dapp and have a "history" page for them. For this purpose I decided to set events and track them using web3.eth.filter This works yo …
cooldude101's user avatar
0 votes
1 answer
853 views

what happens if I do using SafeMath for uint256 but then divide by uint8?

example using SafeMath for uint256; uint8 number8 = 10; uint256 number256 = 1000; function something() { return number256.div(number8); } is it still using safemath even if my number8 is uint8?
cooldude101's user avatar