
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.
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 …
solidity - Foundry or Hardhat: I'm really confused about which one ...
Nov 29, 2023 · Here is my problem: I started working with smart contracts with Foundry and I loved it. testing is just so easy using foundry and I didn't need any other language except solidity. since I …
solidity - Multiple Inheritance and Linearization - Ethereum Stack …
Jul 12, 2017 · Hello to everyone. I am looking at multiple inheritance in Solidity. I came across this example within their documentation, but it is not understandable enought for me. Can someone …
solidity - How do you refer to a contract own address inside it ...
Apr 9, 2016 · I am attempting to use 2 contracts together, and I need my 2nd contract to pass his own address to the first contract. Is there an easy way to do this? Like this.address? Or should I update …
solidity - Difference between `tx.gasprice`, `assembly { gasPrice ...
Nov 5, 2024 · Moreover, the tx.gasprice global variable was not there in the initial versions of Solidity. So, developers had to use the gasprice() function of inline assembly to access the transaction’s gas …
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 …
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, …
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 - 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 have to have a good …