This is stars and forks stats for /hrkrshnn/gastest repository. As of 10 May, 2024 this repository has 22 stars and 1 forks.
Gas Trivia Which among the following three functions are the cheapest? pragma solidity 0.8.13; contract Contract { uint256[] public s_playerFunds; uint256 public s_totalFunds; constructor() { s_playerFunds = [1, 15, 22, 99, 234, 5, 234, 5, 2345, 234, 555, 2424, 55]; } function a() public { uint256 totalFunds; for(uint256 i = 0; i < s_playerFunds.length; i++) { totalFunds = totalFunds + s_playerFunds[i]; } s_totalFunds = totalFunds; ...
Gas Trivia Which among the following three functions are the cheapest? pragma solidity 0.8.13; contract Contract { uint256[] public s_playerFunds; uint256 public s_totalFunds; constructor() { s_playerFunds = [1, 15, 22, 99, 234, 5, 234, 5, 2345, 234, 555, 2424, 55]; } function a() public { uint256 totalFunds; for(uint256 i = 0; i < s_playerFunds.length; i++) { totalFunds = totalFunds + s_playerFunds[i]; } s_totalFunds = totalFunds; ...
repo | techs | stars | weekly | forks | weekly |
---|---|---|---|---|---|
Anish-Agnihotri/punk-nftx-meebit-arb | SolidityJavaScript | 250 | 0 | 47 | 0 |
Uniswap/v2-periphery | SolidityTypeScript | 1k | 0 | 1.6k | 0 |
compound-finance/compound-protocol | TypeScriptSolidityJavaScript | 1.8k | 0 | 1.2k | 0 |
tooncoin/toontoken | Solidity | 1 | 0 | 0 | 0 |
solidproof/projects | SolidityTypeScriptJavaScript | 147 | +2 | 74 | 0 |
makerdao/multicall | SolidityMakefile | 825 | 0 | 376 | 0 |
onbjerg/foundry-book | SolidityShellRoff | 594 | 0 | 392 | 0 |
d-xo/weird-erc20 | SolidityNixMakefile | 979 | 0 | 121 | 0 |
m1guelpf/lil-web3 | SolidityJulia | 1.2k | 0 | 109 | 0 |
recmo/experiment-solexp | Jupyter NotebookSolidity | 74 | 0 | 7 | 0 |