ETH Price: $2,127.92 (+3.99%)

Contract

0xD1b3D8a79D73acc5Ef017Eec412fCB0759217B76
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Age:180D
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

Age:180D
Reset Filter

Advanced mode:
Parent Transaction Hash Method Block
From
To

There are no matching entries

Update your filters to view other transactions

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x3F088923...375e819a7
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
RTDAirDrop

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-03-11
*/

pragma solidity ^0.4.16;

contract owned {
    address public owner;

    constructor() public {
        owner = msg.sender;
    }

    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }

    function transferOwnership(address newOwner) onlyOwner public {
        owner = newOwner;
    }
}



contract RTDAirDrop is owned {
    address public token_address;
    string public detail;
    string public website;

    event AirDropCoin(address target, uint256 amount);

    constructor() public {
        owner = msg.sender;
    }

    function setToken(address tokenAddress) onlyOwner public {
        token_address = tokenAddress;
    }

    function setWebsite(string airdropWebsite) onlyOwner public {
        website = airdropWebsite;
    }

    function setDetail(string airdropDetail) onlyOwner public {
        detail = airdropDetail;
    }

    function() payable public {}

    function withdrawEther() onlyOwner public {
        owner.transfer(address(this).balance);
    }

    function airDrop(address _user, uint256 _value)  onlyOwner public {
            _user.transfer(_value);
            emit AirDropCoin(_user, _value);
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[{"name":"_user","type":"address"},{"name":"_value","type":"uint256"}],"name":"airDrop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddress","type":"address"}],"name":"setToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"airdropDetail","type":"string"}],"name":"setDetail","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"detail","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token_address","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"website","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"airdropWebsite","type":"string"}],"name":"setWebsite","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"AirDropCoin","type":"event"}]

0x608060405234801561001057600080fd5b5060008054600160a060020a03199081163390811790911617905561064d8061003a6000396000f3006080604052600436106100a35763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663045f785081146100a5578063144fa6d7146100c95780636459361d146100ea5780636b7cc44f146101435780637362377b146101cd5780638c8e8fee146101e25780638da5cb5b14610213578063beb0a41614610228578063f2fde38b1461023d578063f87f44b91461025e575b005b3480156100b157600080fd5b506100a3600160a060020a03600435166024356102b7565b3480156100d557600080fd5b506100a3600160a060020a036004351661034d565b3480156100f657600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100a39436949293602493928401919081908401838280828437509497506103939650505050505050565b34801561014f57600080fd5b506101586103c1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019257818101518382015260200161017a565b50505050905090810190601f1680156101bf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101d957600080fd5b506100a361044c565b3480156101ee57600080fd5b506101f76104a1565b60408051600160a060020a039092168252519081900360200190f35b34801561021f57600080fd5b506101f76104b0565b34801561023457600080fd5b506101586104bf565b34801561024957600080fd5b506100a3600160a060020a036004351661051a565b34801561026a57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100a39436949293602493928401919081908401838280828437509497506105609650505050505050565b600054600160a060020a031633146102ce57600080fd5b604051600160a060020a0383169082156108fc029083906000818181858888f19350505050158015610304573d6000803e3d6000fd5b5060408051600160a060020a03841681526020810183905281517f2e3c6e936a26a74d3954d12bf453beeb5bd72f10f63907eade84e468cdf5a105929181900390910190a15050565b600054600160a060020a0316331461036457600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a031633146103aa57600080fd5b80516103bd906002906020840190610586565b5050565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104445780601f1061041957610100808354040283529160200191610444565b820191906000526020600020905b81548152906001019060200180831161042757829003601f168201915b505050505081565b600054600160a060020a0316331461046357600080fd5b60008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561049e573d6000803e3d6000fd5b50565b600154600160a060020a031681565b600054600160a060020a031681565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104445780601f1061041957610100808354040283529160200191610444565b600054600160a060020a0316331461053157600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a0316331461057757600080fd5b80516103bd9060039060208401905b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106105c757805160ff19168380011785556105f4565b828001600101855582156105f4579182015b828111156105f45782518255916020019190600101906105d9565b50610600929150610604565b5090565b61061e91905b80821115610600576000815560010161060a565b905600a165627a7a7230582065e23e9215302cac4409278e75e9a03d22052e5134c55aab2046160e0965a1fd0029

Deployed Bytecode

0x6080604052600436106100a35763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663045f785081146100a5578063144fa6d7146100c95780636459361d146100ea5780636b7cc44f146101435780637362377b146101cd5780638c8e8fee146101e25780638da5cb5b14610213578063beb0a41614610228578063f2fde38b1461023d578063f87f44b91461025e575b005b3480156100b157600080fd5b506100a3600160a060020a03600435166024356102b7565b3480156100d557600080fd5b506100a3600160a060020a036004351661034d565b3480156100f657600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100a39436949293602493928401919081908401838280828437509497506103939650505050505050565b34801561014f57600080fd5b506101586103c1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019257818101518382015260200161017a565b50505050905090810190601f1680156101bf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101d957600080fd5b506100a361044c565b3480156101ee57600080fd5b506101f76104a1565b60408051600160a060020a039092168252519081900360200190f35b34801561021f57600080fd5b506101f76104b0565b34801561023457600080fd5b506101586104bf565b34801561024957600080fd5b506100a3600160a060020a036004351661051a565b34801561026a57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526100a39436949293602493928401919081908401838280828437509497506105609650505050505050565b600054600160a060020a031633146102ce57600080fd5b604051600160a060020a0383169082156108fc029083906000818181858888f19350505050158015610304573d6000803e3d6000fd5b5060408051600160a060020a03841681526020810183905281517f2e3c6e936a26a74d3954d12bf453beeb5bd72f10f63907eade84e468cdf5a105929181900390910190a15050565b600054600160a060020a0316331461036457600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a031633146103aa57600080fd5b80516103bd906002906020840190610586565b5050565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104445780601f1061041957610100808354040283529160200191610444565b820191906000526020600020905b81548152906001019060200180831161042757829003601f168201915b505050505081565b600054600160a060020a0316331461046357600080fd5b60008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561049e573d6000803e3d6000fd5b50565b600154600160a060020a031681565b600054600160a060020a031681565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104445780601f1061041957610100808354040283529160200191610444565b600054600160a060020a0316331461053157600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a0316331461057757600080fd5b80516103bd9060039060208401905b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106105c757805160ff19168380011785556105f4565b828001600101855582156105f4579182015b828111156105f45782518255916020019190600101906105d9565b50610600929150610604565b5090565b61061e91905b80821115610600576000815560010161060a565b905600a165627a7a7230582065e23e9215302cac4409278e75e9a03d22052e5134c55aab2046160e0965a1fd0029

Swarm Source

bzzr://65e23e9215302cac4409278e75e9a03d22052e5134c55aab2046160e0965a1fd

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.