
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 …
solidity - What does the indexed keyword do? - Ethereum Stack …
What does the "indexed" keyword do in the below line of code? I'm guessing it just tells the event object that the following input should be logged? Can we use it other places ie outside of event...
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 - invalid opcode: opcode 0x5f not defined - Ethereum …
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 …
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 - 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 can I return struct when function is called?
Solidity allows you to returns the struct linking it to a keywords: memory or calldata, that means the data area where variables must store. NOTE: If you change the visibility about a specific …
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) …
Ethereum Stack Exchange
Q&A for users of Ethereum, the decentralized application platform and smart contract enabled blockchain