About 9,800 results
Open links in new tab
  1. 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.

  2. 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 …

  3. 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 …

  4. 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...

  5. 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, …

  6. 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?

  7. solidity - How to delete an element from a mapping? - Ethereum Stack ...

    I have a mapping like this: struct data { string name; string nickname; } mapping (address => data) public user; What is the correct way to delete one element from the variable user...

  8. 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 …

  9. solidity - What's the difference between 'address' and 'address payable ...

    I saw a Solidity smart contract where some variables were declared with the type address and some were declared with the type address payable. What are the differences between the two? Do they stor...

  10. solidity - What is uint256? - Ethereum Stack Exchange

    Integers in Solidity: uint256 (uint is an alias) is a unsigned integer which has: minimum value of 0 maximum value of 2^256-1 ...