(caller ContractRef, addr common.Address, input []byte, gas uint64)
| 253 | } |
| 254 | |
| 255 | func (evm *EVM) DelegateCall(caller ContractRef, addr common.Address, input []byte, gas uint64) (ret []byte, leftOverGas uint64, err error) { |
| 256 | realAddress := GetRealContractAddress(evm, caller, addr, gas) |
| 257 | return evm.delegateCall(caller, realAddress, input, gas) |
| 258 | } |
| 259 | |
| 260 | // DelegateCall executes the contract associated with the addr with the given input |
| 261 | // as parameters. It reverses the state in case of an execution error. |
nothing calls this directly
no test coverage detected