File size: 231 Bytes
dec6d5d
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
pragma solidity ^0.4.24;

contract DelegateCaller {
    uint public n;
    function delegatecallSetN(address _e, uint _n) public {
        if (! _e.delegatecall(bytes4(keccak256("setN(uint256)")), _n))
            revert();
    }
}