ETH Price: $2,616.50 (+6.18%)

Contract

0x726aFED38Eaa7aaB9540c0b4b4ADc66c1Fb14a41
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040161615732022-12-11 12:49:35673 days ago1670762975IN
 Create: Verifier1
0 ETH0.0041559112

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

Contract Source Code Verified (Exact Match)

Contract Name:
Verifier1

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2022-12-11
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;

interface IVerifier {
    function verify(bytes memory flag) external returns(bool);
}

contract Verifier1 {
    IVerifier _verifier;
    uint value = 0x72;

    constructor(address verifier) {
        _verifier = IVerifier(verifier);
    }

    function verify(bytes memory flag) external returns(bool){
        require(uint(uint8(flag[0])) == value);
        return _verifier.verify(flag);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"verifier","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"bytes","name":"flag","type":"bytes"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6080604052607260015534801561001557600080fd5b5060405161058b38038061058b833981810160405281019061003791906100e0565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505061010d565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100ad82610082565b9050919050565b6100bd816100a2565b81146100c857600080fd5b50565b6000815190506100da816100b4565b92915050565b6000602082840312156100f6576100f561007d565b5b6000610104848285016100cb565b91505092915050565b61046f8061011c6000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80638e760afe14610030575b600080fd5b61004a60048036038101906100459190610291565b610060565b60405161005791906102f5565b60405180910390f35b60006001548260008151811061007957610078610310565b5b602001015160f81c60f81b60f81c60ff161461009457600080fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016100ed91906103be565b6020604051808303816000875af115801561010c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610130919061040c565b9050919050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61019e82610155565b810181811067ffffffffffffffff821117156101bd576101bc610166565b5b80604052505050565b60006101d0610137565b90506101dc8282610195565b919050565b600067ffffffffffffffff8211156101fc576101fb610166565b5b61020582610155565b9050602081019050919050565b82818337600083830152505050565b600061023461022f846101e1565b6101c6565b9050828152602081018484840111156102505761024f610150565b5b61025b848285610212565b509392505050565b600082601f8301126102785761027761014b565b5b8135610288848260208601610221565b91505092915050565b6000602082840312156102a7576102a6610141565b5b600082013567ffffffffffffffff8111156102c5576102c4610146565b5b6102d184828501610263565b91505092915050565b60008115159050919050565b6102ef816102da565b82525050565b600060208201905061030a60008301846102e6565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60005b8381101561037957808201518184015260208101905061035e565b60008484015250505050565b60006103908261033f565b61039a818561034a565b93506103aa81856020860161035b565b6103b381610155565b840191505092915050565b600060208201905081810360008301526103d88184610385565b905092915050565b6103e9816102da565b81146103f457600080fd5b50565b600081519050610406816103e0565b92915050565b60006020828403121561042257610421610141565b5b6000610430848285016103f7565b9150509291505056fea2646970667358221220878c8a42ec5d40b99f1bc0769d332e334625f1b3854f4521122690d3c8336b5064736f6c63430008110033000000000000000000000000207197bd280527e0ef590e46c6bbebb5aef66094

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80638e760afe14610030575b600080fd5b61004a60048036038101906100459190610291565b610060565b60405161005791906102f5565b60405180910390f35b60006001548260008151811061007957610078610310565b5b602001015160f81c60f81b60f81c60ff161461009457600080fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016100ed91906103be565b6020604051808303816000875af115801561010c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610130919061040c565b9050919050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61019e82610155565b810181811067ffffffffffffffff821117156101bd576101bc610166565b5b80604052505050565b60006101d0610137565b90506101dc8282610195565b919050565b600067ffffffffffffffff8211156101fc576101fb610166565b5b61020582610155565b9050602081019050919050565b82818337600083830152505050565b600061023461022f846101e1565b6101c6565b9050828152602081018484840111156102505761024f610150565b5b61025b848285610212565b509392505050565b600082601f8301126102785761027761014b565b5b8135610288848260208601610221565b91505092915050565b6000602082840312156102a7576102a6610141565b5b600082013567ffffffffffffffff8111156102c5576102c4610146565b5b6102d184828501610263565b91505092915050565b60008115159050919050565b6102ef816102da565b82525050565b600060208201905061030a60008301846102e6565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60005b8381101561037957808201518184015260208101905061035e565b60008484015250505050565b60006103908261033f565b61039a818561034a565b93506103aa81856020860161035b565b6103b381610155565b840191505092915050565b600060208201905081810360008301526103d88184610385565b905092915050565b6103e9816102da565b81146103f457600080fd5b50565b600081519050610406816103e0565b92915050565b60006020828403121561042257610421610141565b5b6000610430848285016103f7565b9150509291505056fea2646970667358221220878c8a42ec5d40b99f1bc0769d332e334625f1b3854f4521122690d3c8336b5064736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000207197bd280527e0ef590e46c6bbebb5aef66094

-----Decoded View---------------
Arg [0] : verifier (address): 0x207197Bd280527E0ef590E46C6BBEBb5AeF66094

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000207197bd280527e0ef590e46c6bbebb5aef66094


Deployed Bytecode Sourcemap

159:323:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;325:154;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;377:4;425:5;;412:4;417:1;412:7;;;;;;;;:::i;:::-;;;;;;;;;;406:14;;401:20;;:29;393:38;;;;;;449:9;;;;;;;;;;:16;;;466:4;449:22;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;442:29;;325:154;;;:::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:307::-;1357:4;1447:18;1439:6;1436:30;1433:56;;;1469:18;;:::i;:::-;1433:56;1507:29;1529:6;1507:29;:::i;:::-;1499:37;;1591:4;1585;1581:15;1573:23;;1296:307;;;:::o;1609:146::-;1706:6;1701:3;1696;1683:30;1747:1;1738:6;1733:3;1729:16;1722:27;1609:146;;;:::o;1761:423::-;1838:5;1863:65;1879:48;1920:6;1879:48;:::i;:::-;1863:65;:::i;:::-;1854:74;;1951:6;1944:5;1937:21;1989:4;1982:5;1978:16;2027:3;2018:6;2013:3;2009:16;2006:25;2003:112;;;2034:79;;:::i;:::-;2003:112;2124:54;2171:6;2166:3;2161;2124:54;:::i;:::-;1844:340;1761:423;;;;;:::o;2203:338::-;2258:5;2307:3;2300:4;2292:6;2288:17;2284:27;2274:122;;2315:79;;:::i;:::-;2274:122;2432:6;2419:20;2457:78;2531:3;2523:6;2516:4;2508:6;2504:17;2457:78;:::i;:::-;2448:87;;2264:277;2203:338;;;;:::o;2547:507::-;2615:6;2664:2;2652:9;2643:7;2639:23;2635:32;2632:119;;;2670:79;;:::i;:::-;2632:119;2818:1;2807:9;2803:17;2790:31;2848:18;2840:6;2837:30;2834:117;;;2870:79;;:::i;:::-;2834:117;2975:62;3029:7;3020:6;3009:9;3005:22;2975:62;:::i;:::-;2965:72;;2761:286;2547:507;;;;:::o;3060:90::-;3094:7;3137:5;3130:13;3123:21;3112:32;;3060:90;;;:::o;3156:109::-;3237:21;3252:5;3237:21;:::i;:::-;3232:3;3225:34;3156:109;;:::o;3271:210::-;3358:4;3396:2;3385:9;3381:18;3373:26;;3409:65;3471:1;3460:9;3456:17;3447:6;3409:65;:::i;:::-;3271:210;;;;:::o;3487:180::-;3535:77;3532:1;3525:88;3632:4;3629:1;3622:15;3656:4;3653:1;3646:15;3673:98;3724:6;3758:5;3752:12;3742:22;;3673:98;;;:::o;3777:168::-;3860:11;3894:6;3889:3;3882:19;3934:4;3929:3;3925:14;3910:29;;3777:168;;;;:::o;3951:246::-;4032:1;4042:113;4056:6;4053:1;4050:13;4042:113;;;4141:1;4136:3;4132:11;4126:18;4122:1;4117:3;4113:11;4106:39;4078:2;4075:1;4071:10;4066:15;;4042:113;;;4189:1;4180:6;4175:3;4171:16;4164:27;4013:184;3951:246;;;:::o;4203:373::-;4289:3;4317:38;4349:5;4317:38;:::i;:::-;4371:70;4434:6;4429:3;4371:70;:::i;:::-;4364:77;;4450:65;4508:6;4503:3;4496:4;4489:5;4485:16;4450:65;:::i;:::-;4540:29;4562:6;4540:29;:::i;:::-;4535:3;4531:39;4524:46;;4293:283;4203:373;;;;:::o;4582:309::-;4693:4;4731:2;4720:9;4716:18;4708:26;;4780:9;4774:4;4770:20;4766:1;4755:9;4751:17;4744:47;4808:76;4879:4;4870:6;4808:76;:::i;:::-;4800:84;;4582:309;;;;:::o;4897:116::-;4967:21;4982:5;4967:21;:::i;:::-;4960:5;4957:32;4947:60;;5003:1;5000;4993:12;4947:60;4897:116;:::o;5019:137::-;5073:5;5104:6;5098:13;5089:22;;5120:30;5144:5;5120:30;:::i;:::-;5019:137;;;;:::o;5162:345::-;5229:6;5278:2;5266:9;5257:7;5253:23;5249:32;5246:119;;;5284:79;;:::i;:::-;5246:119;5404:1;5429:61;5482:7;5473:6;5462:9;5458:22;5429:61;:::i;:::-;5419:71;;5375:125;5162:345;;;;:::o

Swarm Source

ipfs://878c8a42ec5d40b99f1bc0769d332e334625f1b3854f4521122690d3c8336b50

Block Transaction Difficulty 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
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.