
Solidity Forum - The place for all Solidity developers, tool builders ...
Sep 12, 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 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 - 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 emit work? - Ethereum Stack Exchange
In the following example from the Solidity documentation, what does emit do? highestBidder = msg.sender; highestBid = msg.value; emit HighestBidIncreased(msg.sender, msg.value);
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 - tuple [] for a function input. How to use it? - Ethereum ...
Sep 3, 2021 · When you write a struct in Solidity, it gets mapped as tuple in the ABI. The actual structure of the struct can be seen in the components field (which may be recursive). In your …
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 - How to "flatten" imported contracts - Ethereum Stack …
I am trying to publish contracts on etherscan on an already deployed address. How would I "flatten" these imported files; import "@openzeppelin/contracts/access ...
solidity - Getting infinite gas estimates for simple functions ...
Dec 29, 2017 · I am testing out solidity in remix ide using simple contracts. This is the contract that I wrote: contract mortal { address owner; function mortal() { owner = msg.sender; } …