Sonic Blaze Testnet

Contract

0x40Cb6360a3f79cAb1cD3033AbF3b22b579187a10

Overview

S Balance

Sonic Blaze LogoSonic Blaze LogoSonic Blaze Logo0 S

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SETNUMBERCONTRACT

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : myc
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

contract SETNUMBERCONTRACT{
    address reserved;
    uint256 public number;
    
     /**
     * @dev upgrades the implementation of the proxy
     *
     * requirements:
     *
     * - the caller must be the admin of the contract
     */
    function setNumber(uint256 _number) public {
        number = _number * 2000102  ;
    }

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"number","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"setNumber","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052348015600e575f80fd5b506101f08061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061003f575f3560e01c8063313ce567146100435780633fb5c1cb146100615780638381f58a1461007d575b5f80fd5b61004b61009b565b60405161005891906100da565b60405180910390f35b61007b60048036038101906100769190610121565b6100a4565b005b6100856100bc565b60405161009291906100da565b60405180910390f35b5f600154905090565b621e84e6816100b39190610179565b60018190555050565b60015481565b5f819050919050565b6100d4816100c2565b82525050565b5f6020820190506100ed5f8301846100cb565b92915050565b5f80fd5b610100816100c2565b811461010a575f80fd5b50565b5f8135905061011b816100f7565b92915050565b5f60208284031215610136576101356100f3565b5b5f6101438482850161010d565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610183826100c2565b915061018e836100c2565b925082820261019c816100c2565b915082820484148315176101b3576101b261014c565b5b509291505056fea2646970667358221220d058a78b2e9eb690c443eb237cc4b93dcca559f3a7f33df57e4d0bb1f7e7a87464736f6c634300081a0033

Deployed Bytecode

0x608060405234801561000f575f80fd5b506004361061003f575f3560e01c8063313ce567146100435780633fb5c1cb146100615780638381f58a1461007d575b5f80fd5b61004b61009b565b60405161005891906100da565b60405180910390f35b61007b60048036038101906100769190610121565b6100a4565b005b6100856100bc565b60405161009291906100da565b60405180910390f35b5f600154905090565b621e84e6816100b39190610179565b60018190555050565b60015481565b5f819050919050565b6100d4816100c2565b82525050565b5f6020820190506100ed5f8301846100cb565b92915050565b5f80fd5b610100816100c2565b811461010a575f80fd5b50565b5f8135905061011b816100f7565b92915050565b5f60208284031215610136576101356100f3565b5b5f6101438482850161010d565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610183826100c2565b915061018e836100c2565b925082820261019c816100c2565b915082820484148315176101b3576101b261014c565b5b509291505056fea2646970667358221220d058a78b2e9eb690c443eb237cc4b93dcca559f3a7f33df57e4d0bb1f7e7a87464736f6c634300081a0033

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.