About 9,870 results
Open links in new tab
  1. Solidity Forum - The place for all Solidity developers, tool builders ...

    Dec 27, 2024 · 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 …

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

  4. solidity - Convert address to string - Ethereum Stack Exchange

    Aug 27, 2016 · In Solidity, how can I convert the sender address to a string? The comments in How to convert an address to bytes in Solidity? did not provide a working solution

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

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

  7. Sorting an Array of integer with Ethereum

    Feb 20, 2016 · I'm trying to have a simple array of integer sorted in Solidity but i couldn't find any real ressources so instead i'm trying to do it "the hard way" but so far with very little success. Is …

  8. How to use address.call {} () in Solidity - Ethereum Stack Exchange

    According to the Solidity docs: The Contract Application Binary Interface (ABI) is the standard way to interact with contracts in the Ethereum ecosystem, both from outside the blockchain and for …

  9. 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);

  10. solidity - When should I use calldata and when should I use …

    I have seen people use both memory and calldata keywords when writing Solidity. Specifically, they are used when declaring function parameters that take dynamic types like 'structs' or …