
Solidity Forum - The place for all Solidity developers, tool builders ...
Jan 9, 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 …
solidity - Difference between require and assert and the difference ...
Solidity implements a formal verification approach based on SMT (Satisfiability Modulo Theories) and Horn solving. The SMTChecker module automatically tries to prove that the code satisfies …
solidity - How to know the default evm version of a specific …
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 - `external` vs `public` best practices - Ethereum Stack …
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 …
solidity - What does the keyword "memory" do exactly?
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 …
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 ...
solidity - How to "flatten" imported contracts - Ethereum Stack …
Visual Studio Code Solidity extension from Nomic Foundation Hardhat: Flatten this file and its dependencies
solidity - What is msg.value? - Ethereum Stack Exchange
msg.value is a member of the msg (message) object when sending (state transitioning) transactions on the Ethereum network. msg.value contains the amount of wei (ether / 1e18) …
solidity - How does a contract find out if another address is a ...
Apr 29, 2017 · Is it possible, from within a contract written in Solidity, to check if a contract is placed on a specific address or if this address does not contain any code?