DatawalletTEST NET

Contract 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba

Balance:3404818.09446122 ETH
Name:Faucet

Recent Activity

HashBlockTypeFromToAmount
0xfdc06d37...1140080Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x3f78beed...1140079Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xb62693fa...1140078Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x8caa2f3b...1140077Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x7c12ba6f...1140076Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x7d776397...1140075Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x6c15b628...1140074Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xab6e9303...1140073Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x1219c807...1140072Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x329c60fc...1140071Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x728c29be...1140070Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xd7609373...1140069Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xa0bfc340...1140068Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x990946ae...1140067Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xdba1241c...1140066Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x9cab5aeb...1140065Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xf7829d17...1140064Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xbdc9fe3e...1140063Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x37627b99...1140062Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xc320ec2a...1140061Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xb2e2f18a...1140060Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x48a6c821...1140059Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x06791875...1140058Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xba28d2ce...1140057Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x0e302ebc...1140056Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x6144ac7f...1140055Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xe849a71e...1140054Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x41113382...1140053Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xf9c39724...1140052Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x95822552...1140051Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x3e03526c...1140050Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x68cd7dce...1140049Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x10c33a33...1140048Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xada8f891...1140047Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x583f147a...1140046Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x52125c0e...1140045Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xef264c93...1140044Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xaace902d...1140043Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x4f9de93d...1140042Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xa5d64229...1140041Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xdedf1acf...1140040Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xe92ce000...1140039Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xccf0eb88...1140038Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x6d4ec750...1140037Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x1902edd4...1140036Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x60816d04...1140035Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x6edabf2d...1140034Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xa72a3b3d...1140033Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x46d02f56...1140032Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x6278ca5b...1140031Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x917ff26c...1140030Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xc24f3634...1140029Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x6a333532...1140028Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x62f99005...1140027Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xbca2a259...1140026Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x2458cd33...1140025Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xe8464082...1140024Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xdc2bc06b...1140023Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xaa9f56a4...1140022Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x30104675...1140021Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x8f7b2e6b...1140020Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xa3a26422...1140019Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xd2edab4e...1140018Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xa19854da...1140017Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x81de44d3...1140016Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x79d04af3...1140015Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x7874f02d...1140014Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x9fecb375...1140013Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xb3237e7c...1140012Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x2a8ed03a...1140011Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x63068fd7...1140010Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xa2123868...1140009Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xa4e60ca1...1140008Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x9ffb66cd...1140007Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x35b00dfd...1140006Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x802196c3...1140005Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x8e377fd2...1140004Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xce6c06cc...1140003Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x1a13c70f...1140002Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x244f66a2...1140001Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xfd96e399...1140000Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x3dcc985c...1139999Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x260b1339...1139998Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x82c756e2...1139997Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xda7ec940...1139996Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xe79ece1b...1139995Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xf658b166...1139994Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x5890e04b...1139993Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x713012a8...1139992Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x51509dd1...1139991Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x3127c32e...1139990Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xcf76b20e...1139989Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x8b22e029...1139988Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xdde4343a...1139987Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xf2dc5348...1139986Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x30e36497...1139985Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x6724eac9...1139984Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0x50d94bd3...1139983Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xf2237c0d...1139982Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH
0xc850d752...1139981Mining RewardNew Coins 0x9c20d1ebb3bbb092e9db56ef5369b9d7c1ac6cba3 ETH

Code

0x608060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631a695230146100595780638da5cb5b1461009c578063f2fde38b146100f3575b005b34801561006557600080fd5b5061009a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610136565b005b3480156100a857600080fd5b506100b161033d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100ff57600080fd5b50610134600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610362565b005b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561019457600080fd5b600354600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561025457600080fd5b505af1158015610268573d6000803e3d6000fd5b505050506040513d602081101561027e57600080fd5b8101908080519060200190929190505050111591506004548373ffffffffffffffffffffffffffffffffffffffff16311115905081156102e8576102e7600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846001546104b7565b5b8015610338578273ffffffffffffffffffffffffffffffffffffffff166108fc6002549081150290604051600060405180830381858888f19350505050158015610336573d6000803e3d6000fd5b505b505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156103bd57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156103f957600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561055a57600080fd5b505af115801561056e573d6000803e3d6000fd5b505050506040513d602081101561058457600080fd5b8101908080519060200190929190505050151561059d57fe5b5050505600a165627a7a7230582098472953276353c30ff12970fb77025f4ff73e629d2c6492d6e3c5cb8102a4250029

Source

pragma solidity 0.4.24;

import "./Token/ERC20.sol";
import "./Token/SafeERC20.sol";
import "./Libraries/Ownable.sol";

contract Faucet is Ownable {
    uint amountDXT = 2000 * 10**uint256(8); // DataWalletToken.decimals
    uint amountEther = 0.5 ether;
    uint thresholdDXT = 500 * 10**uint256(8); // DataWalletToken.decimals
    uint thresholdEther = 0.1 ether;

    ERC20 dataWalletToken;

    constructor(address _dataWalletTokenAddress) public payable {
        dataWalletToken = ERC20(_dataWalletTokenAddress);
    }

    function () external payable {}

    function transfer(address account) public onlyOwner {
        bool shouldFundDXT = dataWalletToken.balanceOf(account) <= thresholdDXT;
        bool shouldFundETH = account.balance <= thresholdEther;

        if (shouldFundDXT) {
            SafeERC20.safeTransfer(dataWalletToken, account, amountDXT);
        }

        if (shouldFundETH) {
            account.transfer(amountEther);
        }
    }
}

ABI

Constructor

0x60806040526008600a0a6107d0026001556706f05b59d3b200006002556008600a0a6101f40260035567016345785d8a00006004556040516020806106b583398101806040528101908080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506105ce806100e76000396000f300608060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631a695230146100595780638da5cb5b1461009c578063f2fde38b146100f3575b005b34801561006557600080fd5b5061009a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610136565b005b3480156100a857600080fd5b506100b161033d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100ff57600080fd5b50610134600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610362565b005b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561019457600080fd5b600354600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561025457600080fd5b505af1158015610268573d6000803e3d6000fd5b505050506040513d602081101561027e57600080fd5b8101908080519060200190929190505050111591506004548373ffffffffffffffffffffffffffffffffffffffff16311115905081156102e8576102e7600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846001546104b7565b5b8015610338578273ffffffffffffffffffffffffffffffffffffffff166108fc6002549081150290604051600060405180830381858888f19350505050158015610336573d6000803e3d6000fd5b505b505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156103bd57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156103f957600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561055a57600080fd5b505af115801561056e573d6000803e3d6000fd5b505050506040513d602081101561058457600080fd5b8101908080519060200190929190505050151561059d57fe5b5050505600000000000000000000000000c8eec758c399ff2455ac6cf3baceccb5b741049b

Current contract state

FunctionResult