ETH Price: $1,973.82 (-0.53%)

Contract Diff Checker

Contract Name:
MinerPayer

Contract Source Code:

File 1 of 1 : MinerPayer

// SPDX-License-Identifier: gpl-3.0
pragma solidity >= 0.8.0 < 0.9.0;

contract MinerPayer {
    fallback () external {
        assert(false);
    }
    receive() payable external {
        assert(false);
    }
    
    function exec(address to, bytes calldata data) external payable {
        (bool success,) = to.call(data);
        require(success);
        block.coinbase.transfer(msg.value);
    }
}

Please enter a contract address above to load the contract details and source code.

Context size (optional):