Sonic Blaze Testnet

Contract Diff Checker

Contract Name:
SETNUMBERCONTRACT

Contract Source Code:

File 1 of 1 : SETNUMBERCONTRACT

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

contract SETNUMBERCONTRACT {
    address reserved;
    uint256 public number;
    
    /**
     *
     * requirements:
     *
     * - the caller must be the admin of the contract
     */
    function setNumber(uint256 _number) public {
        number = _number * 2000101;
    }

    function decimals() public view returns (uint256) {
        return number;
    }
}

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

Context size (optional):