Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 3 txns
Token Tracker: Solidus (SOL)
 Latest 3 txns

TxHash Age From To Value [TxFee]
0xc42eefe484a41d2d7b648362841963bf55346a2c7e70e8a427b80f9684acb0c7271 days 20 hrs ago0xbe718a3bb195d95bd19254b3a6d126434b397187  IN   0xdcf533abdbae655e8fd438a9435733dbd9068b890.060093958 Ether0.005746776
0x5e357493dd540dda46b5414de76458c34485d1978614296a9b0fac9ee560d392393 days 19 hrs ago0x4d09deb4fa135efee4a7172ff654bf767b9fdf02  IN   0xdcf533abdbae655e8fd438a9435733dbd9068b891.275819 Ether0.002787624
0xc289135b232cf59467f919a3691e5fa1fb01586669da4a920dae186d687b832a407 days 17 hrs ago0x2277ac55adbe1d7ed64f25913f912a4bb6e50ece  IN    Contract Creation0 Ether0.07051915
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 2 Internal Transactions

ParentTxHash Block Age From To Value
0xc42eefe484a41d2d7b648362841963bf55346a2c7e70e8a427b80f9684acb0c74953260271 days 20 hrs ago0xdcf533abdbae655e8fd438a9435733dbd9068b890x2277ac55adbe1d7ed64f25913f912a4bb6e50ece0.060093958 Ether
0x5e357493dd540dda46b5414de76458c34485d1978614296a9b0fac9ee560d3924302413393 days 19 hrs ago0xdcf533abdbae655e8fd438a9435733dbd9068b890x2277ac55adbe1d7ed64f25913f912a4bb6e50ece1.275819 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), NestedArrayFunctionCallDecoder (medium-severity), ZeroFunctionSelector (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: SolidusToken
Compiler Text: v0.4.16+commit.d7661dd9
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.15;

contract SolidusToken {

    address owner = msg.sender;

    bool public purchasingAllowed = true;

    mapping (address => uint256) balances;
    mapping (address => mapping (address => uint256)) allowed;

    uint256 public totalContribution = 0;
    uint256 public totalSupply = 0;
    uint256 public totalBalancingTokens = 0;
    uint256 public tokenMultiplier = 600;

    function name() constant returns (string) { return "Solidus"; }
    function symbol() constant returns (string) { return "SOL"; }
    function decimals() constant returns (uint8) { return 18; }
    
    function balanceOf(address _owner) constant returns (uint256) { return balances[_owner]; }
    
    function transfer(address _to, uint256 _value) returns (bool success) {
        require(_to != 0x0);                               
        require(balances[msg.sender] >= _value);           
        require(balances[_to] + _value > balances[_to]); 
        balances[msg.sender] -= _value;                     
        balances[_to] += _value;                            
        Transfer(msg.sender, _to, _value);                  
        return true;
    }
    
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
        require(_to != 0x0);                                
        require(balances[_from] >= _value);                 
        require(balances[_to] + _value > balances[_to]);  
        require(_value <= allowed[_from][msg.sender]);    
        balances[_from] -= _value;                        
        balances[_to] += _value;                          
        allowed[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
        return true;
    }
    
    function approve(address _spender, uint256 _value) returns (bool success) {
        if (_value != 0 && allowed[msg.sender][_spender] != 0) {return false;}
        
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }
    
    function allowance(address _owner, address _spender) constant returns (uint256) {
        return allowed[_owner][_spender];
    }

    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);

    function enablePurchasing() {
        require(msg.sender == owner);
        purchasingAllowed = true;
    }

    function disablePurchasing() {
        require(msg.sender == owner);
        purchasingAllowed = false;
    }

    function getStats() constant returns (uint256, uint256, uint256, uint256, bool) {
        return (totalContribution, totalSupply, totalBalancingTokens, tokenMultiplier, purchasingAllowed);
    }

    function halfMultiplier() {
        require(msg.sender == owner);
        tokenMultiplier /= 2;
    }

    function burn(uint256 _value) returns (bool success) {
        require(msg.sender == owner);
        require(balances[msg.sender] > _value);
        balances[msg.sender] -= _value;
        totalBalancingTokens -= _value;
        totalSupply -= _value;  
        return true;
    }

    function() payable {
        require(purchasingAllowed);
        
        if (msg.value == 0) {return;}

        owner.transfer(msg.value);
        totalContribution += msg.value;

        uint256 tokensIssued = (msg.value * tokenMultiplier);
        
        totalSupply += tokensIssued*2;
        totalBalancingTokens += tokensIssued;

        balances[msg.sender] += tokensIssued;
        balances[owner] += tokensIssued;
        
        Transfer(address(this), msg.sender, tokensIssued);
    }
}

    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":"totalContribution","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"halfMultiplier","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalBalancingTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"disablePurchasing","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"enablePurchasing","outputs":[],"payable":false,"stateMutability":"nonpayable","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":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokenMultiplier","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getStats","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"purchasingAllowed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600060146101000a81548160ff021916908315150217905550600060035560006004556000600555610258600655341561007f57600080fd5b5b6112f88061008f6000396000f300606060405236156100fa576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde03146102e4578063095ea7b3146103735780630dcf4b8f146103cd57806318160ddd146103f657806323b872dd1461041f578063313ce5671461049857806342966c68146104c757806355bcaf0614610502578063597690731461051757806364acdb771461054057806370a08231146105555780638f580996146105a257806395d89b41146105b7578063a9059cbb14610646578063ba3f5a12146106a0578063c59d4847146106c9578063da040c0f14610712578063dd62ed3e1461073f575b5b60008060149054906101000a900460ff16151561011757600080fd5b6000341415610125576102e1565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050151561018657600080fd5b3460036000828254019250508190555060065434029050600281026004600082825401925050819055508060056000828254019250508190555080600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555080600160008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055503373ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35b50005b34156102ef57600080fd5b6102f76107ab565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103385780820151818401525b60208101905061031c565b50505050905090810190601f1680156103655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037e57600080fd5b6103b3600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506107ef565b604051808215151515815260200191505060405180910390f35b34156103d857600080fd5b6103e061097d565b6040518082815260200191505060405180910390f35b341561040157600080fd5b610409610983565b6040518082815260200191505060405180910390f35b341561042a57600080fd5b61047e600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610989565b604051808215151515815260200191505060405180910390f35b34156104a357600080fd5b6104ab610cac565b604051808260ff1660ff16815260200191505060405180910390f35b34156104d257600080fd5b6104e86004808035906020019091905050610cb6565b604051808215151515815260200191505060405180910390f35b341561050d57600080fd5b610515610dd7565b005b341561052257600080fd5b61052a610e4f565b6040518082815260200191505060405180910390f35b341561054b57600080fd5b610553610e55565b005b341561056057600080fd5b61058c600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610ecd565b6040518082815260200191505060405180910390f35b34156105ad57600080fd5b6105b5610f17565b005b34156105c257600080fd5b6105ca610f90565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561060b5780820151818401525b6020810190506105ef565b50505050905090810190601f1680156106385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561065157600080fd5b610686600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610fd4565b604051808215151515815260200191505060405180910390f35b34156106ab57600080fd5b6106b36111e1565b6040518082815260200191505060405180910390f35b34156106d457600080fd5b6106dc6111e7565b60405180868152602001858152602001848152602001838152602001821515151581526020019550505050505060405180910390f35b341561071d57600080fd5b61072561121d565b604051808215151515815260200191505060405180910390f35b341561074a57600080fd5b610795600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611230565b6040518082815260200191505060405180910390f35b6107b36112b8565b6040805190810160405280600781526020017f536f6c696475730000000000000000000000000000000000000000000000000081525090505b90565b600080821415801561087e57506000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414155b1561088c5760009050610977565b81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a3600190505b92915050565b60035481565b60045481565b6000808373ffffffffffffffffffffffffffffffffffffffff16141515156109b057600080fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101515156109fe57600080fd5b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401111515610a8c57600080fd5b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211151515610b1757600080fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190505b9392505050565b6000601290505b90565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d1357600080fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111515610d6057600080fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055508160056000828254039250508190555081600460008282540392505081905550600190505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e3257600080fd5b600260066000828254811515610e4457fe5b04925050819055505b565b60055481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610eb057600080fd5b60008060146101000a81548160ff0219169083151502179055505b565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f7257600080fd5b6001600060146101000a81548160ff0219169083151502179055505b565b610f986112b8565b6040805190810160405280600381526020017f534f4c000000000000000000000000000000000000000000000000000000000081525090505b90565b6000808373ffffffffffffffffffffffffffffffffffffffff1614151515610ffb57600080fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561104957600080fd5b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054011115156110d757600080fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190505b92915050565b60065481565b6000806000806000600354600454600554600654600060149054906101000a900460ff16945094509450945094505b9091929394565b600060149054906101000a900460ff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b92915050565b6020604051908101604052806000815250905600a165627a7a7230582071a37a2ace708c5e614f438b6cb6fc2f3bde6ce0556b45193c4490985675a37d0029

   Swarm Source:
bzzr://71a37a2ace708c5e614f438b6cb6fc2f3bde6ce0556b45193c4490985675a37d

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.