Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Loading...
Loading
Contract Name:
InitVerifySeraph
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* 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); } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50610234806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e1c7392a14610030575b600080fd5b61003861003a565b005b73aac09eedccf664a9a6a594fc527a0a4ec6cc278873ffffffffffffffffffffffffffffffffffffffff166339c8e373336000357fffffffff000000000000000000000000000000000000000000000000000000001660003660006040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff168152602001857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001806020018381526020018281038252858582818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561014057600080fd5b505af1158015610154573d6000803e3d6000fd5b5050604080517f17ee968f000000000000000000000000000000000000000000000000000000008152600080357fffffffff00000000000000000000000000000000000000000000000000000000166004830152915173aac09eedccf664a9a6a594fc527a0a4ec6cc278894506317ee968f93506024808301939282900301818387803b1580156101e457600080fd5b505af11580156101f8573d6000803e3d6000fd5b5050505056fea26469706673582212201fc3198866b610be5a0860e651f5700cd32c1103ef072daac8abbe278f64f94664736f6c63430007060033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e1c7392a14610030575b600080fd5b61003861003a565b005b73aac09eedccf664a9a6a594fc527a0a4ec6cc278873ffffffffffffffffffffffffffffffffffffffff166339c8e373336000357fffffffff000000000000000000000000000000000000000000000000000000001660003660006040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff168152602001857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001806020018381526020018281038252858582818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561014057600080fd5b505af1158015610154573d6000803e3d6000fd5b5050604080517f17ee968f000000000000000000000000000000000000000000000000000000008152600080357fffffffff00000000000000000000000000000000000000000000000000000000166004830152915173aac09eedccf664a9a6a594fc527a0a4ec6cc278894506317ee968f93506024808301939282900301818387803b1580156101e457600080fd5b505af11580156101f8573d6000803e3d6000fd5b5050505056fea26469706673582212201fc3198866b610be5a0860e651f5700cd32c1103ef072daac8abbe278f64f94664736f6c63430007060033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.