Ethernaut Delegation

Diogo Pereira
4 min readFeb 4, 2024

The Delegate Call

In order for a contract to interact with other contracts, solidity provides 3 methods: call, delegatecall and staticcall.

Call

The call function is a way for one contract to interact with another contract by invoking its functions. This execution happens in the context of the called contract till returning the value and the context back to the…

--

--

Diogo Pereira

I help organisations build cyber-resilient applications, bring security awareness and mindset growth tips to interested individuals