I'm trying to send some Ether between contracts but I'm getting this error: The transaction has been reverted to the initial state. Note: The call ...
I'm trying to send some Ether between contracts but I'm getting this error: The transaction has been reverted to the initial state. Note: The call ...
In contracts I often come along hardcoded constant address such as WETH: address internal constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ...
I am learning about threshold signatures and their use cases on EVM Blockchains. I am trying to understand how they are able to always have the same ...
I'm planning to build a chrome extension that interacts with Metamask/Coinbase. I wonder if this is fisibile with the current Metamask API. Question ...
When I create a wallet on Ethereum (f.e. with ether.js) - I know the function that creates the keys is universal so it will create it for all Ethereum ...
I am a bit confused with the fallback function in Solidity using Remix IDE, as far as I understand, the fallback function is limited to 2300 gas. Howe ...
I'm looking for a reliable way to determine when the block was produced by given any block number in Polygon Mumbai Testnet. I can't use Api for this ...
Say I have Note that blockingFunction is a snip from a larger function that does something useful and actually returns a boolean. The call blockin ...
When I decoded and checked a transaction's log about the polygon contract (0x0000000000000000000000000000000000001010), I found the signature like "Lo ...
I am currently developing a donation smart contract for the Polygon blockchain. The donation contract should receive many types of coins like (MATIC, ...
I want contract to predifine winning boxes, is it possible to achieve this functionality solidity, so no one can detect which box is the winning box ...
Compiling the code gives me a warning which makes no sense to me. The blockingFunction call seems to block the following code execution, even th ...
I am really confused for now. I am working on Solidity DEV, but today, I try to think of one question, how many EVM is in the Ethereum chain? I am no ...
I have this contract that when I try to deploy it with Fuji it sends me the gasLimit error and when I do it from Remix it returns the error descriptio ...
So, I'm learning advanced smart contract development. Two days ago, I learned about Reentrancy attacks and then I also created two contracts Protocol. ...
I need to read each of the 256 bits stored in a bytes32 variable. I'm using Solidity 8.1 Thank you for any help you can offer ...
The docs give a nice introduction to the memory layout in an EVM, but I'm still left with a question concerning mappings and arrays: If the array its ...
What are the tradeoffs associated with using the following syntax to define the maximum value possible of an integer: uint256 max = type(uint256).max ...
I'm trying to deploy EVM subnet locally using avalanche-cli. I'm running it on Ubuntu through WSL. Running avalanche subnet deploy somechain -l and w ...
The above function is called by a contributor to recover his/her funds incase the target has not been met and the dead line has passed. this functi ...