github.com/klaytn/klaytn@v1.12.1/node/cn/tracers/testdata/contracts/DelegateCaller.sol (about)

     1  pragma solidity ^0.5.6;
     2  
     3  contract Caller {
     4      address callee;
     5      constructor(address _callee) public {
     6          callee = _callee;
     7      }
     8  
     9      function callHelloWorld() public {
    10          callee.delegatecall(abi.encodeWithSignature("helloWorld()"));
    11      }
    12  }
    13  
    14  contract Callee {
    15      function helloWorld() public {}
    16  }