Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x588d35ab...d65bA7058 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Destructible
Compiler Version
v0.4.23+commit.124ca40d
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-06-20 */ contract Destructible { /** * @dev mapping of security => (investorEthAddress, investerInfo) */ address _owner; //owner of this contract /* * event emitted when ethers received in this contract */ event receipt(address indexed investor, uint value); /** * @dev Modifier to make a function callable only by the owner of the contract */ modifier onlyOwner() { require(msg.sender == _owner); _; } /** * @dev Constructor of the Destructible */ constructor() public { _owner = msg.sender; } /** * @dev * Payable fallback function. * Function just emits event to be inline with 2300 gas limitation for fallback functions */ function() payable public { emit receipt(msg.sender, msg.value); } /** * @dev * destroyAndSend * @param _recipient is the recipient address to which fund held by this contract are to be remitted on selfdestruction */ function destroyAndSend(address _recipient) onlyOwner() public { selfdestruct(_recipient); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_recipient","type":"address"}],"name":"destroyAndSend","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"investor","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"receipt","type":"event"}]
Deployed Bytecode
0x608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063f5074f4114610091575b3373ffffffffffffffffffffffffffffffffffffffff167f07fbc85f7aa0feac4d7379de08b1bb4033550035afcb437c6fc4e0563901e231346040518082815260200191505060405180910390a2005b34801561009d57600080fd5b506100d2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506100d4565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561012f57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16ff00a165627a7a723058209eabb7262812bf694f3c5b66f7d9829b6303f3a5f46b51a809b2487acac892430029
Swarm Source
bzzr://9eabb7262812bf694f3c5b66f7d9829b6303f3a5f46b51a809b2487acac89243
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.