3 votes
Accepted

What is a function signature and function selector in solidity (and EVM languages)?

Function Signature A function signature is a combination of a function and the types of parameters it takes, combined together as a string with no spaces. For example, let's say you have a function in ...
1 vote
Accepted

How to properly format an argument that is a struct with nested structs, with web3.py?

The error usually means that one or more arguments of your getERC1155OrderHash function are of incorrect type. Please check to make sure your getERC1155OrderHash function has the correct argument ...
1 vote
Accepted

How do I add my address to a deployed contract array using a security exploit? (coding challenge)

It is easier than it seems. Logic: Create another contract that calls exploit_me function of the Challenge contract. Since that function is making this call msg.sender.call(""); to the ...
  • 3,072
1 vote

What is ApproveForAll() and what else are we approving exactly?

But the question here is, technically, what exactly are we signing away when we approve a collection contract for listing and trading on OpenSea? Approving "All of your NFT" sounds like ...
  • 1,676
1 vote
Accepted

What does "caller()" return in Yul when DELEGATECALL is used?

It returns an empty number (0x000..0000). You can check it yourself running the following code on Remix: contract Stub { event Caller(uint caller); function testCaller() public { uint ...

Only top scored, non community-wiki answers of a minimum length are eligible