ETH Price: $2,073.98 (+4.24%)
Gas: 0.05 Gwei
 

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
Put234432182025-09-25 23:06:23141 days ago1758841583IN
0xb92F7107...866673b02
0 ETH0.000090531.32235765
Put200133612024-06-03 19:24:11620 days ago1717442651IN
0xb92F7107...866673b02
0 ETH0.0007810711.4085213
Put199778462024-05-29 20:18:47625 days ago1717013927IN
0xb92F7107...866673b02
0 ETH0.000631129.21836928
Put185314332023-11-09 2:32:35828 days ago1699497155IN
0xb92F7107...866673b02
0 ETH0.002059330.07865964

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:
ProofOfExistance

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-11-09
*/

// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.8.2 <0.9.0;

contract ProofOfExistance {
  mapping (string => uint) _block;
  mapping (string => address ) _owner;

  function put(string memory hash) public {
    require(_block[hash] == 0, "hash already exists");
    _block[hash] = block.number;
    _owner[hash] = msg.sender;
  }

  function get(string memory hash) public view returns (uint, address) {
    return (_block[hash], _owner[hash]);
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"hash","type":"string"}],"name":"get","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"hash","type":"string"}],"name":"put","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561000f575f80fd5b5061050e8061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c80634c21eb0714610038578063693ec85e14610054575b5f80fd5b610052600480360381019061004d9190610319565b610085565b005b61006e60048036038101906100699190610319565b610165565b60405161007c9291906103b7565b60405180910390f35b5f8082604051610095919061044a565b908152602001604051809103902054146100e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100db906104ba565b60405180910390fd5b435f826040516100f4919061044a565b90815260200160405180910390208190555033600182604051610117919061044a565b90815260200160405180910390205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f805f83604051610176919061044a565b908152602001604051809103902054600184604051610195919061044a565b90815260200160405180910390205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509150915091565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61022b826101e5565b810181811067ffffffffffffffff8211171561024a576102496101f5565b5b80604052505050565b5f61025c6101cc565b90506102688282610222565b919050565b5f67ffffffffffffffff821115610287576102866101f5565b5b610290826101e5565b9050602081019050919050565b828183375f83830152505050565b5f6102bd6102b88461026d565b610253565b9050828152602081018484840111156102d9576102d86101e1565b5b6102e484828561029d565b509392505050565b5f82601f830112610300576102ff6101dd565b5b81356103108482602086016102ab565b91505092915050565b5f6020828403121561032e5761032d6101d5565b5b5f82013567ffffffffffffffff81111561034b5761034a6101d9565b5b610357848285016102ec565b91505092915050565b5f819050919050565b61037281610360565b82525050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6103a182610378565b9050919050565b6103b181610397565b82525050565b5f6040820190506103ca5f830185610369565b6103d760208301846103a8565b9392505050565b5f81519050919050565b5f81905092915050565b5f5b8381101561040f5780820151818401526020810190506103f4565b5f8484015250505050565b5f610424826103de565b61042e81856103e8565b935061043e8185602086016103f2565b80840191505092915050565b5f610455828461041a565b915081905092915050565b5f82825260208201905092915050565b7f6861736820616c726561647920657869737473000000000000000000000000005f82015250565b5f6104a4601383610460565b91506104af82610470565b602082019050919050565b5f6020820190508181035f8301526104d181610498565b905091905056fea2646970667358221220fcbc1b2b679268b2972e5e0b5e49fcbd93b0d5b9a1c5a85a86c3899d0f1caaa664736f6c63430008160033

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610034575f3560e01c80634c21eb0714610038578063693ec85e14610054575b5f80fd5b610052600480360381019061004d9190610319565b610085565b005b61006e60048036038101906100699190610319565b610165565b60405161007c9291906103b7565b60405180910390f35b5f8082604051610095919061044a565b908152602001604051809103902054146100e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100db906104ba565b60405180910390fd5b435f826040516100f4919061044a565b90815260200160405180910390208190555033600182604051610117919061044a565b90815260200160405180910390205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f805f83604051610176919061044a565b908152602001604051809103902054600184604051610195919061044a565b90815260200160405180910390205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509150915091565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61022b826101e5565b810181811067ffffffffffffffff8211171561024a576102496101f5565b5b80604052505050565b5f61025c6101cc565b90506102688282610222565b919050565b5f67ffffffffffffffff821115610287576102866101f5565b5b610290826101e5565b9050602081019050919050565b828183375f83830152505050565b5f6102bd6102b88461026d565b610253565b9050828152602081018484840111156102d9576102d86101e1565b5b6102e484828561029d565b509392505050565b5f82601f830112610300576102ff6101dd565b5b81356103108482602086016102ab565b91505092915050565b5f6020828403121561032e5761032d6101d5565b5b5f82013567ffffffffffffffff81111561034b5761034a6101d9565b5b610357848285016102ec565b91505092915050565b5f819050919050565b61037281610360565b82525050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6103a182610378565b9050919050565b6103b181610397565b82525050565b5f6040820190506103ca5f830185610369565b6103d760208301846103a8565b9392505050565b5f81519050919050565b5f81905092915050565b5f5b8381101561040f5780820151818401526020810190506103f4565b5f8484015250505050565b5f610424826103de565b61042e81856103e8565b935061043e8185602086016103f2565b80840191505092915050565b5f610455828461041a565b915081905092915050565b5f82825260208201905092915050565b7f6861736820616c726561647920657869737473000000000000000000000000005f82015250565b5f6104a4601383610460565b91506104af82610470565b602082019050919050565b5f6020820190508181035f8301526104d181610498565b905091905056fea2646970667358221220fcbc1b2b679268b2972e5e0b5e49fcbd93b0d5b9a1c5a85a86c3899d0f1caaa664736f6c63430008160033

Deployed Bytecode Sourcemap

74:403:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;183:168;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;357:117;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;183:168;254:1;238:6;245:4;238:12;;;;;;:::i;:::-;;;;;;;;;;;;;;:17;230:49;;;;;;;;;;;;:::i;:::-;;;;;;;;;301:12;286:6;293:4;286:12;;;;;;:::i;:::-;;;;;;;;;;;;;:27;;;;335:10;320:6;327:4;320:12;;;;;;:::i;:::-;;;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;183:168;:::o;357:117::-;411:4;417:7;441:6;448:4;441:12;;;;;;:::i;:::-;;;;;;;;;;;;;;455:6;462:4;455:12;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;433:35;;;;357:117;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:117;443:1;440;433:12;457:117;566:1;563;556:12;580:102;621:6;672:2;668:7;663:2;656:5;652:14;648:28;638:38;;580:102;;;:::o;688:180::-;736:77;733:1;726:88;833:4;830:1;823:15;857:4;854:1;847:15;874:281;957:27;979:4;957:27;:::i;:::-;949:6;945:40;1087:6;1075:10;1072:22;1051:18;1039:10;1036:34;1033:62;1030:88;;;1098:18;;:::i;:::-;1030:88;1138:10;1134:2;1127:22;917:238;874:281;;:::o;1161:129::-;1195:6;1222:20;;:::i;:::-;1212:30;;1251:33;1279:4;1271:6;1251:33;:::i;:::-;1161:129;;;:::o;1296:308::-;1358:4;1448:18;1440:6;1437:30;1434:56;;;1470:18;;:::i;:::-;1434:56;1508:29;1530:6;1508:29;:::i;:::-;1500:37;;1592:4;1586;1582:15;1574:23;;1296:308;;;:::o;1610:146::-;1707:6;1702:3;1697;1684:30;1748:1;1739:6;1734:3;1730:16;1723:27;1610:146;;;:::o;1762:425::-;1840:5;1865:66;1881:49;1923:6;1881:49;:::i;:::-;1865:66;:::i;:::-;1856:75;;1954:6;1947:5;1940:21;1992:4;1985:5;1981:16;2030:3;2021:6;2016:3;2012:16;2009:25;2006:112;;;2037:79;;:::i;:::-;2006:112;2127:54;2174:6;2169:3;2164;2127:54;:::i;:::-;1846:341;1762:425;;;;;:::o;2207:340::-;2263:5;2312:3;2305:4;2297:6;2293:17;2289:27;2279:122;;2320:79;;:::i;:::-;2279:122;2437:6;2424:20;2462:79;2537:3;2529:6;2522:4;2514:6;2510:17;2462:79;:::i;:::-;2453:88;;2269:278;2207:340;;;;:::o;2553:509::-;2622:6;2671:2;2659:9;2650:7;2646:23;2642:32;2639:119;;;2677:79;;:::i;:::-;2639:119;2825:1;2814:9;2810:17;2797:31;2855:18;2847:6;2844:30;2841:117;;;2877:79;;:::i;:::-;2841:117;2982:63;3037:7;3028:6;3017:9;3013:22;2982:63;:::i;:::-;2972:73;;2768:287;2553:509;;;;:::o;3068:77::-;3105:7;3134:5;3123:16;;3068:77;;;:::o;3151:118::-;3238:24;3256:5;3238:24;:::i;:::-;3233:3;3226:37;3151:118;;:::o;3275:126::-;3312:7;3352:42;3345:5;3341:54;3330:65;;3275:126;;;:::o;3407:96::-;3444:7;3473:24;3491:5;3473:24;:::i;:::-;3462:35;;3407:96;;;:::o;3509:118::-;3596:24;3614:5;3596:24;:::i;:::-;3591:3;3584:37;3509:118;;:::o;3633:332::-;3754:4;3792:2;3781:9;3777:18;3769:26;;3805:71;3873:1;3862:9;3858:17;3849:6;3805:71;:::i;:::-;3886:72;3954:2;3943:9;3939:18;3930:6;3886:72;:::i;:::-;3633:332;;;;;:::o;3971:99::-;4023:6;4057:5;4051:12;4041:22;;3971:99;;;:::o;4076:148::-;4178:11;4215:3;4200:18;;4076:148;;;;:::o;4230:246::-;4311:1;4321:113;4335:6;4332:1;4329:13;4321:113;;;4420:1;4415:3;4411:11;4405:18;4401:1;4396:3;4392:11;4385:39;4357:2;4354:1;4350:10;4345:15;;4321:113;;;4468:1;4459:6;4454:3;4450:16;4443:27;4292:184;4230:246;;;:::o;4482:390::-;4588:3;4616:39;4649:5;4616:39;:::i;:::-;4671:89;4753:6;4748:3;4671:89;:::i;:::-;4664:96;;4769:65;4827:6;4822:3;4815:4;4808:5;4804:16;4769:65;:::i;:::-;4859:6;4854:3;4850:16;4843:23;;4592:280;4482:390;;;;:::o;4878:275::-;5010:3;5032:95;5123:3;5114:6;5032:95;:::i;:::-;5025:102;;5144:3;5137:10;;4878:275;;;;:::o;5159:169::-;5243:11;5277:6;5272:3;5265:19;5317:4;5312:3;5308:14;5293:29;;5159:169;;;;:::o;5334:::-;5474:21;5470:1;5462:6;5458:14;5451:45;5334:169;:::o;5509:366::-;5651:3;5672:67;5736:2;5731:3;5672:67;:::i;:::-;5665:74;;5748:93;5837:3;5748:93;:::i;:::-;5866:2;5861:3;5857:12;5850:19;;5509:366;;;:::o;5881:419::-;6047:4;6085:2;6074:9;6070:18;6062:26;;6134:9;6128:4;6124:20;6120:1;6109:9;6105:17;6098:47;6162:131;6288:4;6162:131;:::i;:::-;6154:139;;5881:419;;;:::o

Swarm Source

ipfs://fcbc1b2b679268b2972e5e0b5e49fcbd93b0d5b9a1c5a85a86c3899d0f1caaa6

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.