Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xbF91c366...A2B6fe314 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Counter
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2023-04-01
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.17;
contract Counter {
// Public variable of type unsigned int to keep the number of counts
uint256 public count = 0;
// Function that increments our counter
function increment() public {
count += 1;
}
// Not necessary getter to get the count value
function getCount() public view returns (uint256) {
return count;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"count","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"increment","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
0x60806040526000805534801561001457600080fd5b50610183806100246000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806306661abd14610046578063a87d942c14610064578063d09de08a14610082575b600080fd5b61004e61008c565b60405161005b91906100cf565b60405180910390f35b61006c610092565b60405161007991906100cf565b60405180910390f35b61008a61009b565b005b60005481565b60008054905090565b60016000808282546100ad9190610119565b92505081905550565b6000819050919050565b6100c9816100b6565b82525050565b60006020820190506100e460008301846100c0565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610124826100b6565b915061012f836100b6565b9250828201905080821115610147576101466100ea565b5b9291505056fea26469706673582212200a9ada790d6a135b6ca3e24d853ea70e509ba5d1f020f77df3b9643715278b0a64736f6c63430008120033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c806306661abd14610046578063a87d942c14610064578063d09de08a14610082575b600080fd5b61004e61008c565b60405161005b91906100cf565b60405180910390f35b61006c610092565b60405161007991906100cf565b60405180910390f35b61008a61009b565b005b60005481565b60008054905090565b60016000808282546100ad9190610119565b92505081905550565b6000819050919050565b6100c9816100b6565b82525050565b60006020820190506100e460008301846100c0565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610124826100b6565b915061012f836100b6565b9250828201905080821115610147576101466100ea565b5b9291505056fea26469706673582212200a9ada790d6a135b6ca3e24d853ea70e509ba5d1f020f77df3b9643715278b0a64736f6c63430008120033
Deployed Bytecode Sourcemap
62:381:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;162:24;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;357:81;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;240:57;;;:::i;:::-;;162:24;;;;:::o;357:81::-;398:7;425:5;;418:12;;357:81;:::o;240:57::-;288:1;279:5;;:10;;;;;;;:::i;:::-;;;;;;;;240:57::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;442:180::-;490:77;487:1;480:88;587:4;584:1;577:15;611:4;608:1;601:15;628:191;668:3;687:20;705:1;687:20;:::i;:::-;682:25;;721:20;739:1;721:20;:::i;:::-;716:25;;764:1;761;757:9;750:16;;785:3;782:1;779:10;776:36;;;792:18;;:::i;:::-;776:36;628:191;;;;:::o
Swarm Source
ipfs://0a9ada790d6a135b6ca3e24d853ea70e509ba5d1f020f77df3b9643715278b0a
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.