ETH Price: $1,985.61 (-1.23%)

Contract

0x3C535Ee4D0bDFb3Dd338fe9B0e005eb2d14fAB63
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Increment60539982018-07-29 23:37:142799 days ago1532907434IN
0x3C535Ee4...2d14fAB63
0 ETH0.0008684220

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Nonce

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-07-29
*/

pragma solidity ^0.4.24;

contract Nonce {
    event IncrementEvent(address indexed _sender, uint256 indexed _newNonce);
    uint256 value;
    
    function increment() public returns (uint256) {
        value = ++value;
        emit IncrementEvent(msg.sender, value);
        return value;
    }
    
    function getValue() public view returns (uint256) {
        return value;
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"getValue","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"increment","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_sender","type":"address"},{"indexed":true,"name":"_newNonce","type":"uint256"}],"name":"IncrementEvent","type":"event"}]

608060405234801561001057600080fd5b5060f08061001f6000396000f30060806040526004361060485763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663209652558114604d578063d09de08a146071575b600080fd5b348015605857600080fd5b50605f6083565b60408051918252519081900360200190f35b348015607c57600080fd5b50605f6089565b60005490565b6000805460010180825560405133907f645cc5111980defdbf9fbf27e6c030af6c26d6cde36d4917a9866e474fe48ae3908490a350600054905600a165627a7a723058206d363b01c16bacc9e689e913aff5d2793a8dcb5cd44a58be8954ea52258380890029

Deployed Bytecode

0x60806040526004361060485763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663209652558114604d578063d09de08a146071575b600080fd5b348015605857600080fd5b50605f6083565b60408051918252519081900360200190f35b348015607c57600080fd5b50605f6089565b60005490565b6000805460010180825560405133907f645cc5111980defdbf9fbf27e6c030af6c26d6cde36d4917a9866e474fe48ae3908490a350600054905600a165627a7a723058206d363b01c16bacc9e689e913aff5d2793a8dcb5cd44a58be8954ea52258380890029

Swarm Source

bzzr://6d363b01c16bacc9e689e913aff5d2793a8dcb5cd44a58be8954ea5225838089

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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.