Sophon Testnet

Contract Diff Checker

Contract Name:
Greeter

Contract Source Code:

//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.17;
contract Greeter {
    string private greeting;

    constructor(string memory _greeting) {
        greeting = _greeting;
    }

    function greet() public view returns (string memory) {
        return greeting;
    }

    function setGreeting(string memory _greeting) public {
        greeting = _greeting;
    }
}

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

Context size (optional):