ETH Price: $1,976.05 (+0.38%)

Contract Diff Checker

Contract Name:
Porwarder

Contract Source Code:

File 1 of 1 : Porwarder

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract Porwarder {
    address payable public destination;

    function initialize(address payable _destination) public {
        require(_destination != address(0), "Invalid destination");
        destination = _destination;
    }

    receive() external payable {
        require(destination != address(0), "Not initialized");
        destination.transfer(msg.value);
    }
}

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

Context size (optional):