
Solidity Forum - The place for all Solidity developers, tool builders ...
Jan 29, 2025 · The place to discuss design and usage of and changes to the Solidity programming language.
What are the virtual and override keywords in Solidity?
Dec 27, 2019 · For multiple inheritance, the most derived base contracts that define the same function must be specified explicitly after the override keyword. Functions with the private visibility cannot be …
solidity - invalid opcode: opcode 0x5f not defined - Ethereum Stack ...
May 15, 2023 · I'm new to Solidity and it's my first try to write a smart contract using Openzeppelin, Pancakeswap and BEP20 libraries basically to make a BEP-20 token. When i try to deploy the smart …
How can I use decimal in solidity - Ethereum Stack Exchange
Oct 5, 2020 · how can i calculate: 1083.83 / 8.25 = 131.37. As I see its not possible in simple way. I have tried a lot of math function but not works. Is there any solution for this?
solidity - How to know the default evm version of a specific version of ...
Jan 18, 2024 · I have multiple versions of solc installed asdf list solidity 0.4.24 *0.8.23 latest solc includes the default evm version in the help output: solc --version && solc --help|grep evm...
solidity - Upgradeable smart contracts - Ethereum Stack Exchange
However, I also recommend checking Proxy Libraries in Solidity that is posted by Zeppelin Solutions and Aragon. There is a planning to make an industry standard for this matter. You have to have a good …
solidity - `external` vs `public` best practices - Ethereum Stack Exchange
Jul 4, 2017 · The difference is because in public functions, Solidity immediately copies array arguments to memory, while external functions can read directly from calldata. Memory allocation is expensive, …
solidity - Foundry or Hardhat: I'm really confused about which one ...
Nov 29, 2023 · Here is my problem: I started working with smart contracts with Foundry and I loved it. testing is just so easy using foundry and I didn't need any other language except solidity. since I …
solidity - What does the keyword "memory" do exactly? - Ethereum …
Mar 1, 2016 · I've been looking through the code of Etherdice and noticed that some variables are declared like ParserResult memory result; and I haven't found the keyword "memory" in …
solidity - When to use "View" and "Pure" in place of "Constant ...
According to the solidity 0.4.17 Release Notes this release finally checks the modifiers view (used to be named constant) and pure on functions. As a rule of thumb, use view if your function ...