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

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

  3. solidity - How to "flatten" imported contracts - Ethereum Stack Exchange

    I am trying to publish contracts on etherscan on an already deployed address. How would I "flatten" these imported files; import "@openzeppelin/contracts/access ...

  4. Can someone explain how via-ir works? - Solidity Forum

    Oct 6, 2023 · I have been trying to read into how via-ir works by reading the solidity docs, but I am confused how it works exactly. I see that you can avoid stack too deep errors by enabling it. From …

  5. solidity - Math operation between int and uint - Ethereum Stack …

    solidity contract-development Improve this question edited Jul 8, 2016 at 20:51 asked Jul 8, 2016 at 20:38

  6. Announcements - Solidity Forum

    Dec 11, 2020 · Low-traffic category for important announcements about the Solidity language and compiler.

  7. solidity - Source File requires different compiler version - Ethereum ...

    During solidity (solc) 0.5 releases the different frameworks like solc, truffle, web3, openzeppelin had a timeframe where some had a 0.5 compatible version released and some didn't. I think you could …

  8. Solc AST generator - Solidity Forum

    Jan 31, 2025 · I’m trying to obtain an AST from a solidity contract I cannot find anyway to achieve that using solc I saw on previous versions there were --ast options in command line or other ast …

  9. solidity - How can you call a payable function in another contract with ...

    The general syntax for calling a function in another contract with arguments and sending funds is: address.func.value(amount)(arg1, arg2, arg3) func needs to have the payable modifier (for Solidity …

  10. Missing implicit type conversions - Solidity Forum

    Dec 10, 2023 · The disadvantage is that in order to keep track of the length of an array, you must pass that length along with the array itself to every function which relies on that length. In Solidity, it’s the …