ETH Price: $2,621.15 (-1.63%)

Contract Diff Checker

Contract Name:
GameCollect

Contract Source Code:

File 1 of 1 : GameCollect

// SPDX-License-Identifier: MIT
pragma solidity >=0.8.2 <0.9.0;

contract GameCollect {
    event GameCollectRequested(address collector, uint256 time);

    constructor() {}

    function collectGame(address beneficiary) payable external {
        emit GameCollectRequested(msg.sender, block.timestamp);

        if (beneficiary != address(0)) {
            payable(beneficiary).transfer(msg.value);
        }
    }
}

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

Context size (optional):