ETH Price: $2,620.32 (+6.34%)

Contract

0x44aC5B57C74FC129c10DCbd1d0F6c30e179Ced9a
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040161607942022-12-11 10:13:35673 days ago1670753615IN
 Create: Verifier10
0 ETH0.0093188412

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

Contract Source Code Verified (Exact Match)

Contract Name:
Verifier10

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Verifier10.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;

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

contract Verifier10 {
    address public alice;
    IVerifier _verifier;
    uint value = 0x55;

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

    function verify(bytes memory flag) external returns(bool){
        require(uint(uint8(flag[9])) == value);
        return _verifier.verify(flag);
    }
    function verify1(bytes memory flag) external returns(bool){
        require(uint(uint8(flag[9])) == 0x55);
        return _verifier.verify(flag);
    }
    function verify2(bytes memory flag) external returns(bool){
        require(uint(uint8(flag[9])) == 0x44);
        return _verifier.verify(flag);
    }
    function verify3(bytes memory flag) external returns(bool){
        require(uint(uint8(flag[9])) == 0x33);
        return _verifier.verify(flag);
    }
    function verify4(bytes memory flag) external returns(bool){
        require(uint(uint8(flag[9])) == 0x61);
        return _verifier.verify(flag);
    }
    function verify5(bytes memory flag) external returns(bool){
        require(uint(uint8(flag[9])) == 0x38);
        return _verifier.verify(flag);
    }
    function verify6(bytes memory flag) external returns(bool){
        require(uint(uint8(flag[9])) == 0x70);
        return _verifier.verify(flag);
    }
    fallback() external {
        bytes memory flag = abi.decode(msg.data[4:], (bytes));
        require(uint(uint8(flag[9])) == 0x35);
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"verifier","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"nonpayable","type":"fallback"},{"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"},{"inputs":[{"internalType":"bytes","name":"flag","type":"bytes"}],"name":"verify1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"flag","type":"bytes"}],"name":"verify2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"flag","type":"bytes"}],"name":"verify3","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"flag","type":"bytes"}],"name":"verify4","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"flag","type":"bytes"}],"name":"verify5","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"flag","type":"bytes"}],"name":"verify6","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6080604052605560025534801561001557600080fd5b50604051610d55380380610d55833981810160405281019061003791906100e1565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505061010e565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100ae82610083565b9050919050565b6100be816100a3565b81146100c957600080fd5b50565b6000815190506100db816100b5565b92915050565b6000602082840312156100f7576100f661007e565b5b6000610105848285016100cc565b91505092915050565b610c388061011d6000396000f3fe608060405234801561001057600080fd5b506004361061008c5760003560e01c8063b87e0a681161005b578063b87e0a68146101a4578063bed3b160146101d4578063e640abc214610204578063fb47e3a2146102345761008d565b806353bbcfef146100e4578063577ba2f1146101145780638e760afe14610144578063b03f6b84146101745761008d565b5b6000803660049080926100a293929190610873565b8101906100af91906109fe565b90506035816009815181106100c7576100c6610a47565b5b602001015160f81c60f81b60f81c60ff16146100e257600080fd5b005b6100fe60048036038101906100f991906109fe565b610252565b60405161010b9190610a91565b60405180910390f35b61012e600480360381019061012991906109fe565b61032a565b60405161013b9190610a91565b60405180910390f35b61015e600480360381019061015991906109fe565b610402565b60405161016b9190610a91565b60405180910390f35b61018e600480360381019061018991906109fe565b6104db565b60405161019b9190610a91565b60405180910390f35b6101be60048036038101906101b991906109fe565b6105b3565b6040516101cb9190610a91565b60405180910390f35b6101ee60048036038101906101e991906109fe565b61068b565b6040516101fb9190610a91565b60405180910390f35b61021e600480360381019061021991906109fe565b610763565b60405161022b9190610a91565b60405180910390f35b61023c61083b565b6040516102499190610aed565b60405180910390f35b600060388260098151811061026a57610269610a47565b5b602001015160f81c60f81b60f81c60ff161461028557600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016102e09190610b87565b6020604051808303816000875af11580156102ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103239190610bd5565b9050919050565b600060448260098151811061034257610341610a47565b5b602001015160f81c60f81b60f81c60ff161461035d57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016103b89190610b87565b6020604051808303816000875af11580156103d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fb9190610bd5565b9050919050565b60006002548260098151811061041b5761041a610a47565b5b602001015160f81c60f81b60f81c60ff161461043657600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016104919190610b87565b6020604051808303816000875af11580156104b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d49190610bd5565b9050919050565b60006033826009815181106104f3576104f2610a47565b5b602001015160f81c60f81b60f81c60ff161461050e57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016105699190610b87565b6020604051808303816000875af1158015610588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ac9190610bd5565b9050919050565b60006061826009815181106105cb576105ca610a47565b5b602001015160f81c60f81b60f81c60ff16146105e657600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016106419190610b87565b6020604051808303816000875af1158015610660573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106849190610bd5565b9050919050565b60006070826009815181106106a3576106a2610a47565b5b602001015160f81c60f81b60f81c60ff16146106be57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016107199190610b87565b6020604051808303816000875af1158015610738573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075c9190610bd5565b9050919050565b600060558260098151811061077b5761077a610a47565b5b602001015160f81c60f81b60f81c60ff161461079657600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016107f19190610b87565b6020604051808303816000875af1158015610810573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108349190610bd5565b9050919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000604051905090565b600080fd5b600080fd5b6000808585111561088757610886610869565b5b838611156108985761089761086e565b5b6001850283019150848603905094509492505050565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61090b826108c2565b810181811067ffffffffffffffff8211171561092a576109296108d3565b5b80604052505050565b600061093d61085f565b90506109498282610902565b919050565b600067ffffffffffffffff821115610969576109686108d3565b5b610972826108c2565b9050602081019050919050565b82818337600083830152505050565b60006109a161099c8461094e565b610933565b9050828152602081018484840111156109bd576109bc6108bd565b5b6109c884828561097f565b509392505050565b600082601f8301126109e5576109e46108b8565b5b81356109f584826020860161098e565b91505092915050565b600060208284031215610a1457610a136108ae565b5b600082013567ffffffffffffffff811115610a3257610a316108b3565b5b610a3e848285016109d0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008115159050919050565b610a8b81610a76565b82525050565b6000602082019050610aa66000830184610a82565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610ad782610aac565b9050919050565b610ae781610acc565b82525050565b6000602082019050610b026000830184610ade565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610b42578082015181840152602081019050610b27565b60008484015250505050565b6000610b5982610b08565b610b638185610b13565b9350610b73818560208601610b24565b610b7c816108c2565b840191505092915050565b60006020820190508181036000830152610ba18184610b4e565b905092915050565b610bb281610a76565b8114610bbd57600080fd5b50565b600081519050610bcf81610ba9565b92915050565b600060208284031215610beb57610bea6108ae565b5b6000610bf984828501610bc0565b9150509291505056fea264697066735822122097bc574ef65f9d90101328b46302ecf4dafa2f550cf62d46ef2931bb5f0b1e7c64736f6c63430008110033000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061008c5760003560e01c8063b87e0a681161005b578063b87e0a68146101a4578063bed3b160146101d4578063e640abc214610204578063fb47e3a2146102345761008d565b806353bbcfef146100e4578063577ba2f1146101145780638e760afe14610144578063b03f6b84146101745761008d565b5b6000803660049080926100a293929190610873565b8101906100af91906109fe565b90506035816009815181106100c7576100c6610a47565b5b602001015160f81c60f81b60f81c60ff16146100e257600080fd5b005b6100fe60048036038101906100f991906109fe565b610252565b60405161010b9190610a91565b60405180910390f35b61012e600480360381019061012991906109fe565b61032a565b60405161013b9190610a91565b60405180910390f35b61015e600480360381019061015991906109fe565b610402565b60405161016b9190610a91565b60405180910390f35b61018e600480360381019061018991906109fe565b6104db565b60405161019b9190610a91565b60405180910390f35b6101be60048036038101906101b991906109fe565b6105b3565b6040516101cb9190610a91565b60405180910390f35b6101ee60048036038101906101e991906109fe565b61068b565b6040516101fb9190610a91565b60405180910390f35b61021e600480360381019061021991906109fe565b610763565b60405161022b9190610a91565b60405180910390f35b61023c61083b565b6040516102499190610aed565b60405180910390f35b600060388260098151811061026a57610269610a47565b5b602001015160f81c60f81b60f81c60ff161461028557600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016102e09190610b87565b6020604051808303816000875af11580156102ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103239190610bd5565b9050919050565b600060448260098151811061034257610341610a47565b5b602001015160f81c60f81b60f81c60ff161461035d57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016103b89190610b87565b6020604051808303816000875af11580156103d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fb9190610bd5565b9050919050565b60006002548260098151811061041b5761041a610a47565b5b602001015160f81c60f81b60f81c60ff161461043657600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016104919190610b87565b6020604051808303816000875af11580156104b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d49190610bd5565b9050919050565b60006033826009815181106104f3576104f2610a47565b5b602001015160f81c60f81b60f81c60ff161461050e57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016105699190610b87565b6020604051808303816000875af1158015610588573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ac9190610bd5565b9050919050565b60006061826009815181106105cb576105ca610a47565b5b602001015160f81c60f81b60f81c60ff16146105e657600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016106419190610b87565b6020604051808303816000875af1158015610660573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106849190610bd5565b9050919050565b60006070826009815181106106a3576106a2610a47565b5b602001015160f81c60f81b60f81c60ff16146106be57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016107199190610b87565b6020604051808303816000875af1158015610738573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075c9190610bd5565b9050919050565b600060558260098151811061077b5761077a610a47565b5b602001015160f81c60f81b60f81c60ff161461079657600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638e760afe836040518263ffffffff1660e01b81526004016107f19190610b87565b6020604051808303816000875af1158015610810573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108349190610bd5565b9050919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000604051905090565b600080fd5b600080fd5b6000808585111561088757610886610869565b5b838611156108985761089761086e565b5b6001850283019150848603905094509492505050565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61090b826108c2565b810181811067ffffffffffffffff8211171561092a576109296108d3565b5b80604052505050565b600061093d61085f565b90506109498282610902565b919050565b600067ffffffffffffffff821115610969576109686108d3565b5b610972826108c2565b9050602081019050919050565b82818337600083830152505050565b60006109a161099c8461094e565b610933565b9050828152602081018484840111156109bd576109bc6108bd565b5b6109c884828561097f565b509392505050565b600082601f8301126109e5576109e46108b8565b5b81356109f584826020860161098e565b91505092915050565b600060208284031215610a1457610a136108ae565b5b600082013567ffffffffffffffff811115610a3257610a316108b3565b5b610a3e848285016109d0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008115159050919050565b610a8b81610a76565b82525050565b6000602082019050610aa66000830184610a82565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610ad782610aac565b9050919050565b610ae781610acc565b82525050565b6000602082019050610b026000830184610ade565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610b42578082015181840152602081019050610b27565b60008484015250505050565b6000610b5982610b08565b610b638185610b13565b9350610b73818560208601610b24565b610b7c816108c2565b840191505092915050565b60006020820190508181036000830152610ba18184610b4e565b905092915050565b610bb281610a76565b8114610bbd57600080fd5b50565b600081519050610bcf81610ba9565b92915050565b600060208284031215610beb57610bea6108ae565b5b6000610bf984828501610bc0565b9150509291505056fea264697066735822122097bc574ef65f9d90101328b46302ecf4dafa2f550cf62d46ef2931bb5f0b1e7c64736f6c63430008110033

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

000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

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

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


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.