ETH Price: $1,975.46 (+0.74%)
 

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
Withdraw Micro D...75069342019-04-05 8:15:172514 days ago1554452117IN
Zethr: Contract 2
0 ETH0.000119564
Buy Tokens With ...60942252018-08-05 18:43:442757 days ago1533494624IN
Zethr: Contract 2
0.1 ETH0.000654342
Buy Tokens With ...60923642018-08-05 11:10:012757 days ago1533467401IN
Zethr: Contract 2
0.15 ETH0.000241221
Buy Tokens With ...60776792018-08-02 23:56:542760 days ago1533254214IN
Zethr: Contract 2
0.048 ETH0.000482442
Buy Tokens With ...60760502018-08-02 17:17:072760 days ago1533230227IN
Zethr: Contract 2
0.023373 ETH0.000241081
Buy Tokens With ...60747392018-08-02 11:48:362760 days ago1533210516IN
Zethr: Contract 2
0.328 ETH0.001205425
Buy Tokens With ...60703352018-08-01 17:59:062761 days ago1533146346IN
Zethr: Contract 2
0.5 ETH0.00105313
Buy Tokens With ...60701522018-08-01 17:10:502761 days ago1533143450IN
Zethr: Contract 2
0.8 ETH0.002120668
Buy Tokens With ...60695252018-08-01 14:42:452761 days ago1533134565IN
Zethr: Contract 2
0.21 ETH0.000795243
Buy Tokens With ...60690372018-08-01 12:42:452761 days ago1533127365IN
Zethr: Contract 2
0.2 ETH0.003947420
Buy Tokens With ...60687502018-08-01 11:35:312761 days ago1533123331IN
Zethr: Contract 2
0.1 ETH0.0024122210
Buy Tokens With ...60687482018-08-01 11:34:432761 days ago1533123283IN
Zethr: Contract 2
0.1 ETH0.001215745
Buy Tokens With ...60687042018-08-01 11:23:242761 days ago1533122604IN
Zethr: Contract 2
0.07 ETH0.000723663
Buy Tokens With ...60683562018-08-01 9:58:022761 days ago1533117482IN
Zethr: Contract 2
0.01 ETH0.00100813
Buy Tokens With ...60681252018-08-01 8:56:452761 days ago1533113805IN
Zethr: Contract 2
0.11 ETH0.000795243
Buy Tokens With ...60679542018-08-01 8:17:012761 days ago1533111421IN
Zethr: Contract 2
0.13 ETH0.000500162
Withdraw Micro D...60678092018-08-01 7:38:182761 days ago1533109098IN
Zethr: Contract 2
0 ETH0.000149455
Buy Tokens With ...60677392018-08-01 7:21:422761 days ago1533108102IN
Zethr: Contract 2
1 ETH0.000654342
Buy Tokens With ...60676902018-08-01 7:10:052761 days ago1533107405IN
Zethr: Contract 2
0.03 ETH0.000624862.5
Buy Tokens With ...60676562018-08-01 7:02:552761 days ago1533106975IN
Zethr: Contract 2
1 ETH0.000249941
Buy Tokens With ...60675822018-08-01 6:44:582761 days ago1533105898IN
Zethr: Contract 2
0.6 ETH0.0026731211
Buy Tokens With ...60675622018-08-01 6:40:162761 days ago1533105616IN
Zethr: Contract 2
1.56 ETH0.001589676
Buy Tokens With ...60675592018-08-01 6:39:412761 days ago1533105581IN
Zethr: Contract 2
1.23 ETH0.001059784
Buy Tokens With ...60675572018-08-01 6:39:172761 days ago1533105557IN
Zethr: Contract 2
0.1 ETH0.000499892
Buy Tokens With ...60675342018-08-01 6:32:202761 days ago1533105140IN
Zethr: Contract 2
0.36 ETH0.000327031
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-75069342019-04-05 8:15:172514 days ago1554452117
Zethr: Contract 2
0.00002663 ETH
Transfer60942252018-08-05 18:43:442757 days ago1533494624
Zethr: Contract 2
0.00000014 ETH
Transfer60942252018-08-05 18:43:442757 days ago1533494624
Zethr: Contract 2
0.1 ETH
Transfer60923642018-08-05 11:10:012757 days ago1533467401
Zethr: Contract 2
0.00000072 ETH
Transfer60923642018-08-05 11:10:012757 days ago1533467401
Zethr: Contract 2
0.15 ETH
Transfer60776792018-08-02 23:56:542760 days ago1533254214
Zethr: Contract 2
0.00000008 ETH
Transfer60776792018-08-02 23:56:542760 days ago1533254214
Zethr: Contract 2
0.048 ETH
Transfer60760502018-08-02 17:17:072760 days ago1533230227
Zethr: Contract 2
0.00000002 ETH
Transfer60760502018-08-02 17:17:072760 days ago1533230227
Zethr: Contract 2
0.023373 ETH
Transfer60747392018-08-02 11:48:362760 days ago1533210516
Zethr: Contract 2
0.0000041 ETH
Transfer60747392018-08-02 11:48:362760 days ago1533210516
Zethr: Contract 2
0.328 ETH
Transfer60703352018-08-01 17:59:062761 days ago1533146346
Zethr: Contract 2
0.00000003 ETH
Transfer60703352018-08-01 17:59:062761 days ago1533146346
Zethr: Contract 2
0.5 ETH
Transfer60701522018-08-01 17:10:502761 days ago1533143450
Zethr: Contract 2
0.00001833 ETH
Transfer60701522018-08-01 17:10:502761 days ago1533143450
Zethr: Contract 2
0.8 ETH
Transfer60695252018-08-01 14:42:452761 days ago1533134565
Zethr: Contract 2
0.00000128 ETH
Transfer60695252018-08-01 14:42:452761 days ago1533134565
Zethr: Contract 2
0.21 ETH
Transfer60690372018-08-01 12:42:452761 days ago1533127365
Zethr: Contract 2
0.2 ETH
Transfer60687502018-08-01 11:35:312761 days ago1533123331
Zethr: Contract 2
0.0000004 ETH
Transfer60687502018-08-01 11:35:312761 days ago1533123331
Zethr: Contract 2
0.1 ETH
Transfer60687482018-08-01 11:34:432761 days ago1533123283
Zethr: Contract 2
0.0000004 ETH
Transfer60687482018-08-01 11:34:432761 days ago1533123283
Zethr: Contract 2
0.1 ETH
Transfer60687042018-08-01 11:23:242761 days ago1533122604
Zethr: Contract 2
0.00000019 ETH
Transfer60687042018-08-01 11:23:242761 days ago1533122604
Zethr: Contract 2
0.07 ETH
Transfer60683562018-08-01 9:58:022761 days ago1533117482
Zethr: Contract 2
0 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain 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:
ZethrProxy

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-07-29
*/

pragma solidity ^0.4.24;

/** Proxy contract to buy tokens on Zethr,
 *  because we forgot to add the onTokenBuy event to Zethr.
 *  So we're proxying Zethr buys through this contract so that our website
 *  can properly track and display Zethr token buys.
**/
contract ZethrProxy {
    ZethrInterface zethr = ZethrInterface(address(0xD48B633045af65fF636F3c6edd744748351E020D));
    address owner = msg.sender;
    
    event onTokenPurchase(
        address indexed customerAddress,
        uint incomingEthereum,
        uint tokensMinted,
        address indexed referredBy
    );
    
    function buyTokensWithProperEvent(address _referredBy, uint8 divChoice) public payable {
        // Query token balance before & after to see how much we bought
        uint balanceBefore = zethr.balanceOf(msg.sender);
        
        // Buy tokens with selected div rate
        zethr.buyAndTransfer.value(msg.value)(_referredBy, msg.sender, "", divChoice);
        
        // Query balance after
        uint balanceAfter = zethr.balanceOf(msg.sender);
        
        emit onTokenPurchase(
            msg.sender,
            msg.value,
            balanceAfter - balanceBefore,
            _referredBy
        );
    }
    
    function () public payable {
        
    }
    
    // Yes there are tiny amounts of divs generated on buy,
    // but not enough to justify transferring to msg.sender - gas price makes it not worth it.
    function withdrawMicroDivs() public {
        require(msg.sender == owner);
        owner.transfer(address(this).balance);
    }
}

contract ZethrInterface {
    function buyAndTransfer(address _referredBy, address target, bytes _data, uint8 divChoice) public payable;
    function balanceOf(address _owner) view public returns(uint);
}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[{"name":"_referredBy","type":"address"},{"name":"divChoice","type":"uint8"}],"name":"buyTokensWithProperEvent","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawMicroDivs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"incomingEthereum","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"},{"indexed":true,"name":"referredBy","type":"address"}],"name":"onTokenPurchase","type":"event"}]

608060405260008054600160a060020a031990811673d48b633045af65ff636f3c6edd744748351e020d17909155600180549091163317905534801561004457600080fd5b5061030a806100546000396000f30060806040526004361061004b5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416635fc2cb39811461004d578063725da7b414610067575b005b61004b600160a060020a036004351660ff6024351661007c565b34801561007357600080fd5b5061004b61028a565b60008054604080517f70a0823100000000000000000000000000000000000000000000000000000000815233600482015290518392600160a060020a0316916370a0823191602480830192602092919082900301818787803b1580156100e157600080fd5b505af11580156100f5573d6000803e3d6000fd5b505050506040513d602081101561010b57600080fd5b505160008054604080517f627aa6d2000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015233602483015260ff891660648301526080604483015260848201859052915194965091169263627aa6d292349260c4808201939182900301818588803b15801561019157600080fd5b505af11580156101a5573d6000803e3d6000fd5b505060008054604080517f70a082310000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a0390921695506370a08231945060248082019450602093918390030190829087803b15801561020f57600080fd5b505af1158015610223573d6000803e3d6000fd5b505050506040513d602081101561023957600080fd5b50516040805134815284830360208201528151929350600160a060020a0387169233927f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d5928290030190a350505050565b600154600160a060020a031633146102a157600080fd5b600154604051600160a060020a0390911690303180156108fc02916000818181858888f193505050501580156102db573d6000803e3d6000fd5b505600a165627a7a723058203e155b01a52651525293b505edd313777d642cd3b3f854f133a91776fa80e5ce0029

Deployed Bytecode

0x60806040526004361061004b5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416635fc2cb39811461004d578063725da7b414610067575b005b61004b600160a060020a036004351660ff6024351661007c565b34801561007357600080fd5b5061004b61028a565b60008054604080517f70a0823100000000000000000000000000000000000000000000000000000000815233600482015290518392600160a060020a0316916370a0823191602480830192602092919082900301818787803b1580156100e157600080fd5b505af11580156100f5573d6000803e3d6000fd5b505050506040513d602081101561010b57600080fd5b505160008054604080517f627aa6d2000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015233602483015260ff891660648301526080604483015260848201859052915194965091169263627aa6d292349260c4808201939182900301818588803b15801561019157600080fd5b505af11580156101a5573d6000803e3d6000fd5b505060008054604080517f70a082310000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a0390921695506370a08231945060248082019450602093918390030190829087803b15801561020f57600080fd5b505af1158015610223573d6000803e3d6000fd5b505050506040513d602081101561023957600080fd5b50516040805134815284830360208201528151929350600160a060020a0387169233927f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d5928290030190a350505050565b600154600160a060020a031633146102a157600080fd5b600154604051600160a060020a0390911690303180156108fc02916000818181858888f193505050501580156102db573d6000803e3d6000fd5b505600a165627a7a723058203e155b01a52651525293b505edd313777d642cd3b3f854f133a91776fa80e5ce0029

Swarm Source

bzzr://3e155b01a52651525293b505edd313777d642cd3b3f854f133a91776fa80e5ce

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.