Call Code vulnerabilities
Jump to navigation
Jump to search
How Calls work
When contract A makes a call to another contract B by calling a function, the execution of said function relies on contract B's storage, while msg.sender is contract A.
Here's a table showing the context of the calls, with an EOA initiating the whole sequence.
Contract A | Contract B | |
---|---|---|
msg.sender | EOA address | Contract A address |
msg.value | EOA send value | Contract A send value |
storage | Contract A | Contract B |