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 |
Gas is a 'sub-currency' which enables the EVM and Ethereum's decentralised computer to run -- with each operation, an amount of gas (proportional to the computational effort required to perform the operation) is consumed.
1
vote
Is there an estimate of average (e.g. monthly) gas usage per user?
The way to figure it out would be to manually pull the gas from each transaction in the time window you wanted, add it up and average it by the total number of accounts. …
5
votes
1
answer
2k
views
Do SLOAD operations get cached in solidity?
When I access an unchanged value from storage multiple times, in the same function or transaction, does it get cached, or do I pay the SLOAD cost for each time I access it?
I can easily cache it in m …
2
votes
2
answers
453
views
Reentrancy flag without SSTORE?
Is it possible to create a mutex that prevents reentrancy, without using the SSTORE operation?
I would like to create a flag to prevent reentrancy of my contract which will call out to other contract …
5
votes
Composition Over Inheritance - Gas Efficiency
In a 1-1 comparison Composition is more expensive to deploy, and execute. That said, if you need to deploy many instances, you could use the Library pattern and use composition in that way.
Libraries …