ETH Price: $2,515.14 (-0.44%)
 

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

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal 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:
InitVerifySeraph

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
/*
 SPDX-License-Identifier: MIT
*/

pragma solidity =0.7.6;
pragma experimental ABIEncoderV2;

import "../../seraph/SeraphProtected.sol";

/**
 * @author Publius
 * @title Init Verify Seraph
**/
contract InitVerifySeraph is SeraphProtected {

    function init() external withSeraph {}

}

// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.5.0 <=0.9.0;

interface ISeraph {
    function checkEnter(address, bytes4, bytes calldata, uint256) external;
    function checkLeave(bytes4) external;
}

abstract contract SeraphProtected {

    ISeraph constant internal _seraph = ISeraph(0xAac09eEdCcf664a9A6a594Fc527A0A4eC6cc2788);

    modifier withSeraph() {
        _seraph.checkEnter(msg.sender, msg.sig, msg.data, 0);
        _;
        _seraph.checkLeave(msg.sig);
    }

    modifier withSeraphPayable() {
        _seraph.checkEnter(msg.sender, msg.sig, msg.data, msg.value);
        _;
        _seraph.checkLeave(msg.sig);
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50610234806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e1c7392a14610030575b600080fd5b61003861003a565b005b73aac09eedccf664a9a6a594fc527a0a4ec6cc278873ffffffffffffffffffffffffffffffffffffffff166339c8e373336000357fffffffff000000000000000000000000000000000000000000000000000000001660003660006040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff168152602001857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001806020018381526020018281038252858582818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561014057600080fd5b505af1158015610154573d6000803e3d6000fd5b5050604080517f17ee968f000000000000000000000000000000000000000000000000000000008152600080357fffffffff00000000000000000000000000000000000000000000000000000000166004830152915173aac09eedccf664a9a6a594fc527a0a4ec6cc278894506317ee968f93506024808301939282900301818387803b1580156101e457600080fd5b505af11580156101f8573d6000803e3d6000fd5b5050505056fea26469706673582212201fc3198866b610be5a0860e651f5700cd32c1103ef072daac8abbe278f64f94664736f6c63430007060033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e1c7392a14610030575b600080fd5b61003861003a565b005b73aac09eedccf664a9a6a594fc527a0a4ec6cc278873ffffffffffffffffffffffffffffffffffffffff166339c8e373336000357fffffffff000000000000000000000000000000000000000000000000000000001660003660006040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff168152602001857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001806020018381526020018281038252858582818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561014057600080fd5b505af1158015610154573d6000803e3d6000fd5b5050604080517f17ee968f000000000000000000000000000000000000000000000000000000008152600080357fffffffff00000000000000000000000000000000000000000000000000000000166004830152915173aac09eedccf664a9a6a594fc527a0a4ec6cc278894506317ee968f93506024808301939282900301818387803b1580156101e457600080fd5b505af11580156101f8573d6000803e3d6000fd5b5050505056fea26469706673582212201fc3198866b610be5a0860e651f5700cd32c1103ef072daac8abbe278f64f94664736f6c63430007060033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

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.