Contract 0x51c6a6ef1352578ff01b078313e6779b88bdcb1e

 

TxHash Block Age From To Value [TxFee]
0x5ef0116d87f49a919c7eec34f2e340771ccfec0c7025c3c00a0115c8951da8c0728982418 days 15 mins ago0xf488efa00caf5bab853c7334688a5bf57db0eb7f IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000087434
0x223e2f350ef2d116a7f5249d598a28188b7011d46ce7ff37f0d443b905d3d384727791020 days 3 hrs ago0x11a985d42d6fa4cac941943a63f362c3497fa0fe IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000843679014
0x1fee0b67dbff0bc36e9e576011cf5797adbf5da83e5b11181bd6fb2fab4c9e75722614032 days 7 hrs ago0xb4814aae751165d391e7c85c5e0daa0a457540d6 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.0001935348
0x68ce87ca2690b25d0a12756b05f9d1a158006a594a6f95485621765e3a753b16709939058 days 18 hrs ago0x3426c386b89c5c567f9ed6d1365f547d9142bce7 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000174868
0xc4d403875234a6a95bd87dd4f302ec23758592fae3f936e23a1a35d2dc5edb42708575361 days 4 hrs ago0x1e6562087cde9e18771752e1653e1d1a0d2f6ed2 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000175124
0x35890e38fe11bdd899c7ba01edc249dac6ebe42d500f41cdadc74b92858fa3d8708574161 days 4 hrs ago0x2488d18fe46d8cb00bc9d6f784422cd46a03723d IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.00026474
0x9af0054420d12480cd700dfbf4387ee8a085db3aaad822db40333504d0ba33cc696894281 days 18 hrs ago0xb8c7b3aae9a557c03ad5aa8683299149ab6af8a6 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000040349925
0xe8145514935584448e34f6a76f3d07f4bb6d26be6de43b9b73f47e73dbe744016665174132 days 3 hrs ago0x9e83058bf49a0874198ed1a6d62aac87828df57e IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.00052948
0x9b7314aecd5b7ecd79467dae5178f3f55ea39a13afd985e2604dfa98c52d2e616635428137 days 7 mins ago0x6ae594491a72021881e2c2e5a3d95bb5b8701bad IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.00218905
0x63bb89f9bf872635321840e02f3bec81db24ceae6f6e2dad566e271c25af3c446614620140 days 10 hrs ago0x22d1a65728ab2fdef404a18352ef8ad0397e25db IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.00155062
0x01605d9614d52f9ca12197b8ada99d67817d02ab9be5dda1293177cca2dd98d16542587152 days 4 hrs ago0xd0c1a4a9a84d4cb0d76b248c48015d5edd615125 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000115124
0xd2281324954312c64c3d0b65c20cbe41e8b29149e1741b4aa8771a178708e18b6541896152 days 7 hrs ago0xd0c1a4a9a84d4cb0d76b248c48015d5edd615125 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000175124
0x352f5b96cc74cbf0d89d7a8e84f064790b446bbcdfd275edfc18a0ec67d055486513384156 days 23 hrs ago0xf6532b11c6af26bf42535bd1b05032c55e40193a IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000219225
0xc30e62cbcf2ac5d746909fad66a101f2f35749361b45bfd5ef543c979e31cd756508150157 days 19 hrs ago0xf6532b11c6af26bf42535bd1b05032c55e40193a IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.00043781
0xac7f1f2440c962699407e711a531b48c067876b6aca7c9055798cfd10880ebb56252011200 days 29 mins ago0x891185a2e42d3e8ff8992eb3420ee7716c68f6c5 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000131151
0x4d4a3240a42a4e44a62688d5159f73123f1a8b43a15db4b8e930b7c4992ad4ea6154634216 days 11 hrs ago0xa50c97a0acc65bf6fe0cc8820ef1ac9a0079051e IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000148296781
0xd2606fb3188e13d4ea6f3bc11e56cba03457b202f0e8328f13badd1f872ea8f56142538218 days 12 hrs ago0xf640db33bc5300d8deaae500219cff4036b05a79 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000252428
0x7e8dc8fc1384f6a4d88e6b093a215f63cd5ca841325edca1334b5a508e043d296092199227 days 43 mins ago0x291453df7c66145c0ff0bbedc3423b8dcf90e9a8 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000087562
0x71d413a85fda4c0d70dfc94cfc2f9a83834504cfd188e946193cf482668dc99c6092196227 days 44 mins ago0x291453df7c66145c0ff0bbedc3423b8dcf90e9a8 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000087562
0x09ddfd9ea6b355a859d883a94241ccf41397a83ba56e5ba8b8fc2f2825d211086081830228 days 18 hrs ago0x30a619640f6019ac143a142b9ff71b0cd3bc864a IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000131151
0x81b928d7a99064a02fb1ea9d1a8f3a3d765dc91ce40921d791e911d81cc7980d5976870246 days 13 hrs ago0x0e4345dd827aaecfb1b326900bb7e045bd680459 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000175124
0x3a2a00eb13260ac36482d0067701e37483896e42099bf9580b7965e1caf5ca185941336252 days 12 hrs ago0x71a79f0e0d477e0541bd1c99510d6c1f6eb74060 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000076518375
0x7813699c0244483501cf37dd3de86a458486f2ea125d8cd32620a98c424b913c5930217254 days 10 hrs ago0x57abae20aa9480a262752cdad4603557c310341d IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000185868375
0x03b4f8d2ce1bd8b0f0b01709e6bb5d345e30544bf8bfcbe318100349510083825878297263 days 8 hrs ago0x06639dd122c7271b38eb938ef0a6aea0253a0d6e IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000175124
0x927ba2668cda4ce6b432b676a9141222a60880eb635146835c368488c14320b75852852267 days 18 hrs ago0x74b9f1d9f994d561c238db9261de93ee95362889 IN  0x51c6a6ef1352578ff01b078313e6779b88bdcb1e0 Ether0.000175124
[ Download CSV Export 

Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value

Contract Source Code Verified (Exact Match)

Contract Name:
DMINT

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes

Runs (Optimizer):
200

Contract Source Code

pragma solidity ^0.4.11;

contract DMINT {
    string public name = 'DMINT';
    string public symbol = 'DMINT';
    uint8 public decimals = 18;
    uint256 public totalSupply = 1000000000000000000000000000;
    uint public miningReward = 1000000000000000000;
    uint private divider;
    uint private randomNumber;
    
    /* This creates an array with all balances */
    mapping (address => uint256) public balanceOf;
    mapping (address => uint256) public successesOf;
    mapping (address => uint256) public failsOf;
    mapping (address => mapping (address => uint256)) public allowance;
    
    /* This generates a public event on the blockchain that will notify clients */
    event Transfer(address indexed from, address indexed to, uint256 value);
    
    /* Initializes contract with initial supply tokens to the creator of the contract */
    function DMINT() public {
        balanceOf[msg.sender] = totalSupply;
        divider -= 1;
        divider /= 1000000000;
    }
    
    /* Internal transfer, only can be called by this contract */
    function _transfer(address _from, address _to, uint _value) internal {
        require(_to != 0x0);
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value > balanceOf[_to]);
        uint previousBalances = balanceOf[_from] + balanceOf[_to];
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }
    
    /* Send coins */
    function transfer(address _to, uint256 _value) external {
        _transfer(msg.sender, _to, _value);
    }
    
    /* Transfer tokens from other address */
    function transferFrom(address _from, address _to, uint256 _value) external returns (bool success) {
        require(_value <= allowance[_from][msg.sender]);     // Check allowance
        allowance[_from][msg.sender] -= _value;
        _transfer(_from, _to, _value);
        return true;
    }
    
    /* Set allowance for other address */
    function approve(address _spender, uint256 _value) external returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        return true;
    }
    
    function () external payable {
        if (msg.value == 0) {
            randomNumber += block.timestamp + uint(msg.sender);
            uint minedAtBlock = uint(block.blockhash(block.number - 1));
            uint minedHashRel = uint(sha256(minedAtBlock + randomNumber + uint(msg.sender))) / divider;
            uint balanceRel = balanceOf[msg.sender] * 1000000000 / totalSupply;
            if (balanceRel >= 100000) {
                uint k = balanceRel / 100000;
                if (k > 255) {
                    k = 255;
                }
                k = 2 ** k;
                balanceRel = 500000000 / k;
                balanceRel = 500000000 - balanceRel;
                if (minedHashRel < balanceRel) {
                    uint reward = miningReward + minedHashRel * 100000000000000;
                    balanceOf[msg.sender] += reward;
                    totalSupply += reward;
                    Transfer(0, this, reward);
                    Transfer(this, msg.sender, reward);
                    successesOf[msg.sender]++;
                } else {
                    failsOf[msg.sender]++;
                }
            } else {
                revert();
            }
        } else {
            revert();
        }
    }
}

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"miningReward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"failsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"successesOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]

Contract Creation Code

606060405260408051908101604052600581527f444d494e540000000000000000000000000000000000000000000000000000006020820152600090805161004b9291602001906100fb565b5060408051908101604052600581527f444d494e54000000000000000000000000000000000000000000000000000000602082015260019080516100939291602001906100fb565b506002805460ff191660121790556b033b2e3c9fd0803ce8000000600355670de0b6b3a764000060045534156100c857600080fd5b60035433600160a060020a031660009081526007602052604090205560058054633b9aca00600019909101049055610196565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061013c57805160ff1916838001178555610169565b82800160010185558215610169579182015b8281111561016957825182559160200191906001019061014e565b50610175929150610179565b5090565b61019391905b80821115610175576000815560010161017f565b90565b610817806101a56000396000f3006060604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146102bc578063095ea7b31461034657806318160ddd1461037c57806323b872dd146103a1578063313ce567146103c95780634ac2d103146103f257806370a0823114610405578063753ded151461042457806395d89b4114610443578063a9059cbb14610456578063cd9354e41461047a578063dd62ed3e14610499575b6000808080803415156102b0576006805433600160a060020a031642810190910191829055600554436000190140975091600291908801016000604051602001526040519081526020908101906040518083038160008661646e5a03f1151561012157600080fd5b50506040518051905081151561013357fe5b600354600160a060020a03331660009081526007602052604090205492909104955090633b9aca000281151561016557fe5b049250620186a083106102b057620186a08304915060ff8211156101885760ff91505b8160020a915081631dcd650081151561019d57fe5b04631dcd65000392508284101561028b5750600454600160a060020a033381166000908152600760205260408082208054655af3107a40008902959095019485019055600380548501905530909216917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a333600160a060020a031630600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a3600160a060020a0333166000908152600860205260409020805460010190556102ab565b600160a060020a0333166000908152600960205260409020805460010190555b6102b5565b600080fd5b5050505050005b34156102c757600080fd5b6102cf6104be565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561030b5780820151838201526020016102f3565b50505050905090810190601f1680156103385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561035157600080fd5b610368600160a060020a036004351660243561055c565b604051901515815260200160405180910390f35b341561038757600080fd5b61038f61058c565b60405190815260200160405180910390f35b34156103ac57600080fd5b610368600160a060020a0360043581169060243516604435610592565b34156103d457600080fd5b6103dc610609565b60405160ff909116815260200160405180910390f35b34156103fd57600080fd5b61038f610612565b341561041057600080fd5b61038f600160a060020a0360043516610618565b341561042f57600080fd5b61038f600160a060020a036004351661062a565b341561044e57600080fd5b6102cf61063c565b341561046157600080fd5b610478600160a060020a03600435166024356106a7565b005b341561048557600080fd5b61038f600160a060020a03600435166106b6565b34156104a457600080fd5b61038f600160a060020a03600435811690602435166106c8565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105545780601f1061052957610100808354040283529160200191610554565b820191906000526020600020905b81548152906001019060200180831161053757829003601f168201915b505050505081565b600160a060020a033381166000908152600a60209081526040808320938616835292905220819055600192915050565b60035481565b600160a060020a038084166000908152600a60209081526040808320339094168352929052908120548211156105c757600080fd5b600160a060020a038085166000908152600a6020908152604080832033909416835292905220805483900390556105ff8484846106e5565b5060019392505050565b60025460ff1681565b60045481565b60076020526000908152604090205481565b60096020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105545780601f1061052957610100808354040283529160200191610554565b6106b23383836106e5565b5050565b60086020526000908152604090205481565b600a60209081526000928352604080842090915290825290205481565b6000600160a060020a03831615156106fc57600080fd5b600160a060020a0384166000908152600760205260409020548290101561072257600080fd5b600160a060020a0383166000908152600760205260409020548281011161074857600080fd5b50600160a060020a0380831660008181526007602052604080822080549488168084528284208054888103909155938590528154870190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3600160a060020a038084166000908152600760205260408082205492871682529020540181146107e557fe5b505050505600a165627a7a7230582073f7a1420a514f1e6ad454c906fd61bbe3f44a12c59781fbdd0684ea0eebb81f0029

Swarm Source

bzzr://73f7a1420a514f1e6ad454c906fd61bbe3f44a12c59781fbdd0684ea0eebb81f
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.