ETH Price: $2,090.09 (+2.41%)
Gas: 34 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value
0x60806040161614012022-12-11 12:15:11354 days 15 hrs ago1670760911IN
 Create: Verifier6
0 ETH0.0030296212

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

Contract Source Code Verified (Exact Match)

Contract Name:
Verifier6

Compiler Version
v0.7.0+commit.9e61f92b

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.7.0;

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

contract Verifier6 {
    address public alice;
    IVerifier _verifier;
    uint8 value = 0x89 + 0x66;

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

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

Contract Security Audit

Contract ABI

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

608060405260ef600160146101000a81548160ff021916908360ff16021790555034801561002c57600080fd5b506040516103d73803806103d78339818101604052602081101561004f57600080fd5b810190808051906020019092919050505080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610326806100b16000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80638e760afe1461003b578063fb47e3a21461010c575b600080fd5b6100f46004803603602081101561005157600080fd5b810190808035906020019064010000000081111561006e57600080fd5b82018360208201111561008057600080fd5b803590602001918460018302840111640100000000831117156100a257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610140565b60405180821515815260200191505060405180910390f35b6101146102cc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000806074905080600160148282829054906101000a900460ff160192506101000a81548160ff021916908360ff160217905550600160149054906101000a900460ff1660ff168360058151811061019457fe5b602001015160f81c60f81b60f81c60ff16146101af57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe846040518263ffffffff1660e01b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561023d578082015181840152602081019050610222565b50505050905090810190601f16801561026a5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15801561028957600080fd5b505af115801561029d573d6000803e3d6000fd5b505050506040513d60208110156102b357600080fd5b8101908080519060200190929190505050915050919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea2646970667358221220f7a6f71eedf0f44fa16f37778825778c1b8bc240fea43d342d9337a89e75230664736f6c63430007000033000000000000000000000000c3b47aa7c213279decd826243f98d25eaf8ffacb

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c80638e760afe1461003b578063fb47e3a21461010c575b600080fd5b6100f46004803603602081101561005157600080fd5b810190808035906020019064010000000081111561006e57600080fd5b82018360208201111561008057600080fd5b803590602001918460018302840111640100000000831117156100a257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610140565b60405180821515815260200191505060405180910390f35b6101146102cc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000806074905080600160148282829054906101000a900460ff160192506101000a81548160ff021916908360ff160217905550600160149054906101000a900460ff1660ff168360058151811061019457fe5b602001015160f81c60f81b60f81c60ff16146101af57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe846040518263ffffffff1660e01b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561023d578082015181840152602081019050610222565b50505050905090810190601f16801561026a5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b15801561028957600080fd5b505af115801561029d573d6000803e3d6000fd5b505050506040513d60208110156102b357600080fd5b8101908080519060200190929190505050915050919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea2646970667358221220f7a6f71eedf0f44fa16f37778825778c1b8bc240fea43d342d9337a89e75230664736f6c63430007000033

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

000000000000000000000000c3b47aa7c213279decd826243f98d25eaf8ffacb

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c3b47aa7c213279decd826243f98d25eaf8ffacb


Deployed Bytecode Sourcemap

159:408:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;360:204;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;185:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;360:204;412:4;428:9;440:4;428:16;;464:3;455:5;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;510:5;;;;;;;;;;;486:29;;497:4;502:1;497:7;;;;;;;;;;;;;;;;491:14;;486:20;;:29;478:38;;;;;;534:9;;;;;;;;;;;:16;;;551:4;534:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;527:29;;;360:204;;;:::o;185:20::-;;;;;;;;;;;;:::o

Swarm Source

ipfs://f7a6f71eedf0f44fa16f37778825778c1b8bc240fea43d342d9337a89e752306

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.