Contract 0x592F9B9A7D7AaF70FD6b4dE9883a62cA888DE702

 

TxHash Block Age From To Value [TxFee]
0x85f2ca3129fa26d7fb737c50d25d9db07698c78ee0fd46a7922e9f0f1a3d774d6665279131 days 12 hrs ago0xe16b06ff5690cc6dc004ac2c685fcc9735d57606 IN  0x592f9b9a7d7aaf70fd6b4de9883a62ca888de7020.0004 Ether0.000103168
0x174e7d20980e5ee3a63a75a327b4dfbf6b980e0f54dc72b34346315607f7863e6639484135 days 18 hrs ago0xe5d74518f8e0d94f9a2fa0c641356cb909d5fef1 IN  0x592f9b9a7d7aaf70fd6b4de9883a62ca888de7020.0014 Ether0.000113488
0x32e34c72d2e8b3280ac2bb3630d0f934cf1b2f782c4083d4140b9d191838523b6639405135 days 18 hrs ago0xe5d74518f8e0d94f9a2fa0c641356cb909d5fef1 IN  0x592f9b9a7d7aaf70fd6b4de9883a62ca888de7020.01 Ether0.00014186
0x7efb099f5597529b380d7b26abaf44380e4aefd4e66fea44025521772ff5f4796639372135 days 18 hrs ago0xe7a03c5bdfdd12f47481145917239cf3c7369135 IN  0x592f9b9a7d7aaf70fd6b4de9883a62ca888de7020.00015 Ether0.000105728
0xc6d85b299128d0a340c1809633521cfa847af080723fa518d9617f141450a0e06639343135 days 18 hrs ago0xe16b06ff5690cc6dc004ac2c685fcc9735d57606 IN  0x592f9b9a7d7aaf70fd6b4de9883a62ca888de7020.001 Ether0.000078528
0x16d36e33b2852b4b9578f31e27819e206c5e2d76668abccabbca7d4e2e2a0f116639329135 days 18 hrs ago0xe16b06ff5690cc6dc004ac2c685fcc9735d57606 IN  0x592f9b9a7d7aaf70fd6b4de9883a62ca888de7020 Ether0.000089544
0x5cc7b9b33eab74ecd1dc31671a38e9906d12db00b25bb40586121c4444ff973c6639315135 days 18 hrs ago0xe16b06ff5690cc6dc004ac2c685fcc9735d57606 IN  0x592f9b9a7d7aaf70fd6b4de9883a62ca888de7020.001 Ether0.000101632
0x2c82997928cae39fbd22d1bfed93492ba8f438825574d086bd2a0940ca0b399b6639288135 days 18 hrs ago0xe16b06ff5690cc6dc004ac2c685fcc9735d57606 IN  Contract Creation0 Ether0.001912585
[ Download CSV Export 

Latest 1 internal transaction Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0x16d36e33b2852b4b9578f31e27819e206c5e2d76668abccabbca7d4e2e2a0f116639329135 days 18 hrs ago0x592f9b9a7d7aaf70fd6b4de9883a62ca888de7020xe16b06ff5690cc6dc004ac2c685fcc9735d576060.001 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)

Contract Name:
WishingWell

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No

Runs (Optimizer):
200

Contract Source Code

pragma solidity ^0.4.24;

contract WishingWell {

    event wishMade(address indexed wisher, string wish, uint256 amount);
    
    address owner;
    
    constructor() public {
        owner = msg.sender;
    }

    modifier onlyOwner {
        require(
            msg.sender == owner,
            "Only owner can call this function."
        );
        _;
    }

    function changeOwner(address new_owner) public onlyOwner {
        owner = new_owner;
    }
    
    function makeWish(string wish) public payable {
        emit wishMade(msg.sender, wish, msg.value);
    }
    
    function withdrawAll() public onlyOwner {
        address(owner).transfer(address(this).balance);
    }
    
}

Contract ABI

[{"constant":false,"inputs":[{"name":"wish","type":"string"}],"name":"makeWish","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"new_owner","type":"address"}],"name":"changeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"wisher","type":"address"},{"indexed":false,"name":"wish","type":"string"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"wishMade","type":"event"}]

Contract Creation Code

608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610494806100606000396000f300608060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630859a8bc1461005c578063853828b6146100b8578063a6f9dae1146100cf575b600080fd5b6100b6600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610112565b005b3480156100c457600080fd5b506100cd6101d0565b005b3480156100db57600080fd5b50610110600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061033b565b005b3373ffffffffffffffffffffffffffffffffffffffff167fd4783d8bc80b8551d529f89121fef5e20156a6ee377c61fced817f0872d8711082346040518080602001838152602001828103825284818151815260200191508051906020019080838360005b83811015610192578082015181840152602081019050610177565b50505050905090810190601f1680156101bf5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a250565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156102ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001807f4f6e6c79206f776e65722063616e2063616c6c20746869732066756e6374696f81526020017f6e2e00000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050158015610338573d6000803e3d6000fd5b50565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610425576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001807f4f6e6c79206f776e65722063616e2063616c6c20746869732066756e6374696f81526020017f6e2e00000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a723058208d46f6a2fba9389088a2b5fff88805f13285fcc4e38e0ef5f6254ea76ff530f80029

Swarm Source

bzzr://8d46f6a2fba9389088a2b5fff88805f13285fcc4e38e0ef5f6254ea76ff530f8
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.