false
false
0
The new Blockscout UI is now open source! Learn how to deploy it here
- We're indexing this chain right now. Some of the counts may be inaccurate.

Contract Address Details

0x301eF45Fe53629151DA3a3544879D9Ab102E1F22

Contract Name
Incrementer
Creator
0x4fc785–f0f92a at 0x84c308–62c68d
Balance
0 ETH
Tokens
Fetching tokens...
Transactions
Fetching transactions...
Transfers
Fetching transfers...
Gas Used
Fetching gas used...
Last Balance Update
1925727
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
Incrementer




Optimization enabled
false
Compiler version
v0.8.0+commit.c7dfd78e




EVM Version
default




Verified at
2024-05-03T15:37:44.778544Z

Constructor Arguments

0x0000000000000000000000000000000000000000000000000000000000001aa2

Arg [0] (uint256) : 6818

              

Contract source code

            // SPDX-License-Identifier: Unlicensed
    contract Incrementer {
        uint256 public number;
    
        constructor(uint256 _initialNumber) {
            number = _initialNumber;
        }
    
        function supaincrement(uint256 _value) public {
            number = number + _value*2;
        }
    
        function supareset() public {
            number = 0;
        }
    
        function get() public view returns (uint256) {
            return number;
        }
    }
            
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"uint256","name":"_initialNumber","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"get","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"number","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"supaincrement","inputs":[{"type":"uint256","name":"_value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"supareset","inputs":[]}]
              

Contract Creation Code

Verify & Publish
0x608060405234801561001057600080fd5b5060405161033938038061033983398181016040528101906100329190610054565b806000819055505061009e565b60008151905061004e81610087565b92915050565b60006020828403121561006657600080fd5b60006100748482850161003f565b91505092915050565b6000819050919050565b6100908161007d565b811461009b57600080fd5b50565b61028c806100ad6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630c12d7031461005157806367b221b21461005b5780636d4ce63c146100775780638381f58a14610095575b600080fd5b6100596100b3565b005b61007560048036038101906100709190610103565b6100bc565b005b61007f6100df565b60405161008c919061013b565b60405180910390f35b61009d6100e8565b6040516100aa919061013b565b60405180910390f35b60008081905550565b6002816100c991906101ac565b6000546100d69190610156565b60008190555050565b60008054905090565b60005481565b6000813590506100fd8161023f565b92915050565b60006020828403121561011557600080fd5b6000610123848285016100ee565b91505092915050565b61013581610206565b82525050565b6000602082019050610150600083018461012c565b92915050565b600061016182610206565b915061016c83610206565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156101a1576101a0610210565b5b828201905092915050565b60006101b782610206565b91506101c283610206565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156101fb576101fa610210565b5b828202905092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61024881610206565b811461025357600080fd5b5056fea26469706673582212202fd9a578be38e5f01d42965b3b68068314cd53e827107f5ab84588ce8f3b36cd64736f6c634300080000330000000000000000000000000000000000000000000000000000000000001aa2

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630c12d7031461005157806367b221b21461005b5780636d4ce63c146100775780638381f58a14610095575b600080fd5b6100596100b3565b005b61007560048036038101906100709190610103565b6100bc565b005b61007f6100df565b60405161008c919061013b565b60405180910390f35b61009d6100e8565b6040516100aa919061013b565b60405180910390f35b60008081905550565b6002816100c991906101ac565b6000546100d69190610156565b60008190555050565b60008054905090565b60005481565b6000813590506100fd8161023f565b92915050565b60006020828403121561011557600080fd5b6000610123848285016100ee565b91505092915050565b61013581610206565b82525050565b6000602082019050610150600083018461012c565b92915050565b600061016182610206565b915061016c83610206565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156101a1576101a0610210565b5b828201905092915050565b60006101b782610206565b91506101c283610206565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156101fb576101fa610210565b5b828202905092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61024881610206565b811461025357600080fd5b5056fea26469706673582212202fd9a578be38e5f01d42965b3b68068314cd53e827107f5ab84588ce8f3b36cd64736f6c63430008000033