ETH Price: $2,616.90 (+6.20%)

Contract

0xcFddC063DD95FfaF4E2f32e6fbC9e49A02DEC0ae
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Index161614212022-12-11 12:19:11673 days ago1670761151IN
0xcFddC063...A02DEC0ae
0 ETH0.0003114812
0x60806040161614062022-12-11 12:16:11673 days ago1670760971IN
 Create: Verifier5
0 ETH0.0274185812

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

Contract Source Code Verified (Exact Match)

Contract Name:
Verifier5

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 Verifier5 {
    address public owner;
    address _verifier;
    address _impl;
    uint[79] public values = [126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48]; //FLAG
    uint index;

    constructor(address verifier, address implementation) {
        owner = msg.sender;
        _verifier = verifier;
        _impl = implementation;
    }
    
    function verify(bytes memory flag) external returns(bool){
        (bool success, bytes memory returnData) = _impl.delegatecall(
            abi.encodeWithSignature("verify(bytes)", flag)
        );
        return abi.decode(returnData, (bool));
    }

    function setIndex (uint i) external{
        require(msg.sender == owner);
        index = i;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"verifier","type":"address"},{"internalType":"address","name":"implementation","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"setIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"values","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"flag","type":"bytes"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6080604052604051806109e00160405280607e60ff168152602001607d60ff168152602001607c60ff168152602001607b60ff168152602001607a60ff168152602001607960ff168152602001607860ff168152602001607760ff168152602001607660ff168152602001607560ff168152602001607460ff168152602001607360ff168152602001607260ff168152602001607160ff168152602001607060ff168152602001606f60ff168152602001606e60ff168152602001606d60ff168152602001606c60ff168152602001606b60ff168152602001606a60ff168152602001606960ff168152602001606860ff168152602001606760ff168152602001606660ff168152602001606560ff168152602001606460ff168152602001606360ff168152602001606260ff168152602001606160ff168152602001606060ff168152602001605f60ff168152602001605e60ff168152602001605d60ff168152602001605c60ff168152602001605b60ff168152602001605a60ff168152602001605960ff168152602001605860ff168152602001605760ff168152602001605660ff168152602001605560ff168152602001605460ff168152602001605360ff168152602001605260ff168152602001605160ff168152602001605060ff168152602001604f60ff168152602001604e60ff168152602001604d60ff168152602001604c60ff168152602001604b60ff168152602001604a60ff168152602001604960ff168152602001604860ff168152602001604760ff168152602001604660ff168152602001604560ff168152602001604460ff168152602001604360ff168152602001604260ff168152602001604160ff168152602001604060ff168152602001603f60ff168152602001603e60ff168152602001603d60ff168152602001603c60ff168152602001603b60ff168152602001603a60ff168152602001603960ff168152602001603860ff168152602001603760ff168152602001603660ff168152602001603560ff168152602001603460ff168152602001603360ff168152602001603260ff168152602001603160ff168152602001603060ff16815250600390604f61033492919061042c565b5034801561034157600080fd5b50604051610c4c380380610c4c833981810160405281019061036391906104f1565b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050610531565b82604f8101928215610460579160200282015b8281111561045f578251829060ff1690559160200191906001019061043f565b5b50905061046d9190610471565b5090565b5b8082111561048a576000816000905550600101610472565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006104be82610493565b9050919050565b6104ce816104b3565b81146104d957600080fd5b50565b6000815190506104eb816104c5565b92915050565b600080604083850312156105085761050761048e565b5b6000610516858286016104dc565b9250506020610527858286016104dc565b9150509250929050565b61070c806105406000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806340a5737f146100515780635e383d211461006d5780638da5cb5b1461009d5780638e760afe146100bb575b600080fd5b61006b60048036038101906100669190610311565b6100eb565b005b61008760048036038101906100829190610311565b61014d565b604051610094919061034d565b60405180910390f35b6100a5610168565b6040516100b291906103a9565b60405180910390f35b6100d560048036038101906100d0919061050a565b61018c565b6040516100e2919061056e565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461014357600080fd5b8060528190555050565b600381604f811061015d57600080fd5b016000915090505481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16846040516024016101db9190610608565b6040516020818303038152906040527f8e760afe000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516102659190610666565b600060405180830381855af49150503d80600081146102a0576040519150601f19603f3d011682016040523d82523d6000602084013e6102a5565b606091505b5091509150808060200190518101906102be91906106a9565b92505050919050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6102ee816102db565b81146102f957600080fd5b50565b60008135905061030b816102e5565b92915050565b600060208284031215610327576103266102d1565b5b6000610335848285016102fc565b91505092915050565b610347816102db565b82525050565b6000602082019050610362600083018461033e565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061039382610368565b9050919050565b6103a381610388565b82525050565b60006020820190506103be600083018461039a565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610417826103ce565b810181811067ffffffffffffffff82111715610436576104356103df565b5b80604052505050565b60006104496102c7565b9050610455828261040e565b919050565b600067ffffffffffffffff821115610475576104746103df565b5b61047e826103ce565b9050602081019050919050565b82818337600083830152505050565b60006104ad6104a88461045a565b61043f565b9050828152602081018484840111156104c9576104c86103c9565b5b6104d484828561048b565b509392505050565b600082601f8301126104f1576104f06103c4565b5b813561050184826020860161049a565b91505092915050565b6000602082840312156105205761051f6102d1565b5b600082013567ffffffffffffffff81111561053e5761053d6102d6565b5b61054a848285016104dc565b91505092915050565b60008115159050919050565b61056881610553565b82525050565b6000602082019050610583600083018461055f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156105c35780820151818401526020810190506105a8565b60008484015250505050565b60006105da82610589565b6105e48185610594565b93506105f48185602086016105a5565b6105fd816103ce565b840191505092915050565b6000602082019050818103600083015261062281846105cf565b905092915050565b600081905092915050565b600061064082610589565b61064a818561062a565b935061065a8185602086016105a5565b80840191505092915050565b60006106728284610635565b915081905092915050565b61068681610553565b811461069157600080fd5b50565b6000815190506106a38161067d565b92915050565b6000602082840312156106bf576106be6102d1565b5b60006106cd84828501610694565b9150509291505056fea264697066735822122004799a9e373ecc583f048c179682f2097abb2028bb1d268fda50e2622de3092964736f6c634300081100330000000000000000000000000c24243f50d67f3e96ac30eb74ece6be8fea8ee10000000000000000000000002b5f0f6a2492fd99691e6513d96826e263989e21

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806340a5737f146100515780635e383d211461006d5780638da5cb5b1461009d5780638e760afe146100bb575b600080fd5b61006b60048036038101906100669190610311565b6100eb565b005b61008760048036038101906100829190610311565b61014d565b604051610094919061034d565b60405180910390f35b6100a5610168565b6040516100b291906103a9565b60405180910390f35b6100d560048036038101906100d0919061050a565b61018c565b6040516100e2919061056e565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461014357600080fd5b8060528190555050565b600381604f811061015d57600080fd5b016000915090505481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16846040516024016101db9190610608565b6040516020818303038152906040527f8e760afe000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516102659190610666565b600060405180830381855af49150503d80600081146102a0576040519150601f19603f3d011682016040523d82523d6000602084013e6102a5565b606091505b5091509150808060200190518101906102be91906106a9565b92505050919050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6102ee816102db565b81146102f957600080fd5b50565b60008135905061030b816102e5565b92915050565b600060208284031215610327576103266102d1565b5b6000610335848285016102fc565b91505092915050565b610347816102db565b82525050565b6000602082019050610362600083018461033e565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061039382610368565b9050919050565b6103a381610388565b82525050565b60006020820190506103be600083018461039a565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610417826103ce565b810181811067ffffffffffffffff82111715610436576104356103df565b5b80604052505050565b60006104496102c7565b9050610455828261040e565b919050565b600067ffffffffffffffff821115610475576104746103df565b5b61047e826103ce565b9050602081019050919050565b82818337600083830152505050565b60006104ad6104a88461045a565b61043f565b9050828152602081018484840111156104c9576104c86103c9565b5b6104d484828561048b565b509392505050565b600082601f8301126104f1576104f06103c4565b5b813561050184826020860161049a565b91505092915050565b6000602082840312156105205761051f6102d1565b5b600082013567ffffffffffffffff81111561053e5761053d6102d6565b5b61054a848285016104dc565b91505092915050565b60008115159050919050565b61056881610553565b82525050565b6000602082019050610583600083018461055f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156105c35780820151818401526020810190506105a8565b60008484015250505050565b60006105da82610589565b6105e48185610594565b93506105f48185602086016105a5565b6105fd816103ce565b840191505092915050565b6000602082019050818103600083015261062281846105cf565b905092915050565b600081905092915050565b600061064082610589565b61064a818561062a565b935061065a8185602086016105a5565b80840191505092915050565b60006106728284610635565b915081905092915050565b61068681610553565b811461069157600080fd5b50565b6000815190506106a38161067d565b92915050565b6000602082840312156106bf576106be6102d1565b5b60006106cd84828501610694565b9150509291505056fea264697066735822122004799a9e373ecc583f048c179682f2097abb2028bb1d268fda50e2622de3092964736f6c63430008110033

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

0000000000000000000000000c24243f50d67f3e96ac30eb74ece6be8fea8ee10000000000000000000000002b5f0f6a2492fd99691e6513d96826e263989e21

-----Decoded View---------------
Arg [0] : verifier (address): 0x0C24243F50d67f3E96ac30EB74eCe6Be8feA8EE1
Arg [1] : implementation (address): 0x2B5F0F6a2492Fd99691e6513D96826E263989E21

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000c24243f50d67f3e96ac30eb74ece6be8fea8ee1
Arg [1] : 0000000000000000000000002b5f0f6a2492fd99691e6513d96826e263989e21


Deployed Bytecode Sourcemap

159:1034:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1088:102;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;256:368;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;185:20;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;824:256;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1088:102;1156:5;;;;;;;;;;1142:19;;:10;:19;;;1134:28;;;;;;1181:1;1173:5;:9;;;;1088:102;:::o;256:368::-;;;;;;;;;;;;;;;;;;;;:::o;185:20::-;;;;;;;;;;;;:::o;824:256::-;876:4;893:12;907:23;934:5;;;;;;;;;;;:18;;1008:4;967:46;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;934:90;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;892:132;;;;1053:10;1042:30;;;;;;;;;;;;:::i;:::-;1035:37;;;;824:256;;;:::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:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:118::-;1112:24;1130:5;1112:24;:::i;:::-;1107:3;1100:37;1025:118;;:::o;1149:222::-;1242:4;1280:2;1269:9;1265:18;1257:26;;1293:71;1361:1;1350:9;1346:17;1337:6;1293:71;:::i;:::-;1149:222;;;;:::o;1377:126::-;1414:7;1454:42;1447:5;1443:54;1432:65;;1377:126;;;:::o;1509:96::-;1546:7;1575:24;1593:5;1575:24;:::i;:::-;1564:35;;1509:96;;;:::o;1611:118::-;1698:24;1716:5;1698:24;:::i;:::-;1693:3;1686:37;1611:118;;:::o;1735:222::-;1828:4;1866:2;1855:9;1851:18;1843:26;;1879:71;1947:1;1936:9;1932:17;1923:6;1879:71;:::i;:::-;1735:222;;;;:::o;1963:117::-;2072:1;2069;2062:12;2086:117;2195:1;2192;2185:12;2209:102;2250:6;2301:2;2297:7;2292:2;2285:5;2281:14;2277:28;2267:38;;2209:102;;;:::o;2317:180::-;2365:77;2362:1;2355:88;2462:4;2459:1;2452:15;2486:4;2483:1;2476:15;2503:281;2586:27;2608:4;2586:27;:::i;:::-;2578:6;2574:40;2716:6;2704:10;2701:22;2680:18;2668:10;2665:34;2662:62;2659:88;;;2727:18;;:::i;:::-;2659:88;2767:10;2763:2;2756:22;2546:238;2503:281;;:::o;2790:129::-;2824:6;2851:20;;:::i;:::-;2841:30;;2880:33;2908:4;2900:6;2880:33;:::i;:::-;2790:129;;;:::o;2925:307::-;2986:4;3076:18;3068:6;3065:30;3062:56;;;3098:18;;:::i;:::-;3062:56;3136:29;3158:6;3136:29;:::i;:::-;3128:37;;3220:4;3214;3210:15;3202:23;;2925:307;;;:::o;3238:146::-;3335:6;3330:3;3325;3312:30;3376:1;3367:6;3362:3;3358:16;3351:27;3238:146;;;:::o;3390:423::-;3467:5;3492:65;3508:48;3549:6;3508:48;:::i;:::-;3492:65;:::i;:::-;3483:74;;3580:6;3573:5;3566:21;3618:4;3611:5;3607:16;3656:3;3647:6;3642:3;3638:16;3635:25;3632:112;;;3663:79;;:::i;:::-;3632:112;3753:54;3800:6;3795:3;3790;3753:54;:::i;:::-;3473:340;3390:423;;;;;:::o;3832:338::-;3887:5;3936:3;3929:4;3921:6;3917:17;3913:27;3903:122;;3944:79;;:::i;:::-;3903:122;4061:6;4048:20;4086:78;4160:3;4152:6;4145:4;4137:6;4133:17;4086:78;:::i;:::-;4077:87;;3893:277;3832:338;;;;:::o;4176:507::-;4244:6;4293:2;4281:9;4272:7;4268:23;4264:32;4261:119;;;4299:79;;:::i;:::-;4261:119;4447:1;4436:9;4432:17;4419:31;4477:18;4469:6;4466:30;4463:117;;;4499:79;;:::i;:::-;4463:117;4604:62;4658:7;4649:6;4638:9;4634:22;4604:62;:::i;:::-;4594:72;;4390:286;4176:507;;;;:::o;4689:90::-;4723:7;4766:5;4759:13;4752:21;4741:32;;4689:90;;;:::o;4785:109::-;4866:21;4881:5;4866:21;:::i;:::-;4861:3;4854:34;4785:109;;:::o;4900:210::-;4987:4;5025:2;5014:9;5010:18;5002:26;;5038:65;5100:1;5089:9;5085:17;5076:6;5038:65;:::i;:::-;4900:210;;;;:::o;5116:98::-;5167:6;5201:5;5195:12;5185:22;;5116:98;;;:::o;5220:168::-;5303:11;5337:6;5332:3;5325:19;5377:4;5372:3;5368:14;5353:29;;5220:168;;;;:::o;5394:246::-;5475:1;5485:113;5499:6;5496:1;5493:13;5485:113;;;5584:1;5579:3;5575:11;5569:18;5565:1;5560:3;5556:11;5549:39;5521:2;5518:1;5514:10;5509:15;;5485:113;;;5632:1;5623:6;5618:3;5614:16;5607:27;5456:184;5394:246;;;:::o;5646:373::-;5732:3;5760:38;5792:5;5760:38;:::i;:::-;5814:70;5877:6;5872:3;5814:70;:::i;:::-;5807:77;;5893:65;5951:6;5946:3;5939:4;5932:5;5928:16;5893:65;:::i;:::-;5983:29;6005:6;5983:29;:::i;:::-;5978:3;5974:39;5967:46;;5736:283;5646:373;;;;:::o;6025:309::-;6136:4;6174:2;6163:9;6159:18;6151:26;;6223:9;6217:4;6213:20;6209:1;6198:9;6194:17;6187:47;6251:76;6322:4;6313:6;6251:76;:::i;:::-;6243:84;;6025:309;;;;:::o;6340:147::-;6441:11;6478:3;6463:18;;6340:147;;;;:::o;6493:386::-;6597:3;6625:38;6657:5;6625:38;:::i;:::-;6679:88;6760:6;6755:3;6679:88;:::i;:::-;6672:95;;6776:65;6834:6;6829:3;6822:4;6815:5;6811:16;6776:65;:::i;:::-;6866:6;6861:3;6857:16;6850:23;;6601:278;6493:386;;;;:::o;6885:271::-;7015:3;7037:93;7126:3;7117:6;7037:93;:::i;:::-;7030:100;;7147:3;7140:10;;6885:271;;;;:::o;7162:116::-;7232:21;7247:5;7232:21;:::i;:::-;7225:5;7222:32;7212:60;;7268:1;7265;7258:12;7212:60;7162:116;:::o;7284:137::-;7338:5;7369:6;7363:13;7354:22;;7385:30;7409:5;7385:30;:::i;:::-;7284:137;;;;:::o;7427:345::-;7494:6;7543:2;7531:9;7522:7;7518:23;7514:32;7511:119;;;7549:79;;:::i;:::-;7511:119;7669:1;7694:61;7747:7;7738:6;7727:9;7723:22;7694:61;:::i;:::-;7684:71;;7640:125;7427:345;;;;:::o

Swarm Source

ipfs://04799a9e373ecc583f048c179682f2097abb2028bb1d268fda50e2622de30929

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.