Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 12 txns
Token Tracker: LamboCoin (LBC)
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x442c412fea5d18433748cf8144660943076f3812at txn 0x1998e317e584ea34ddfc02471e491040ec4c03382c5f3044644fe81993c8ae7d
 Latest 12 txns

TxHash Age From To Value [TxFee]
0xcb201772d2e74b02d45c543dbeafbd8a62b7f3f1d35517b6cfb2af406da2fd1116 days 9 hrs ago0x951167530afa60bea983e5da28014b1faa607964  IN   0x59b8d11d50ab6615f9cd430743baf646fb8966c62.52 Ether0.0004
0x63b91e1415811c8a53d7f9553615cdd07357cd843859de07f2be0d487dc15db3192 days 2 hrs ago0x4505e9a6aeee88cf2aec1cdd40ef4fa8de26e281  IN   0x59b8d11d50ab6615f9cd430743baf646fb8966c60.001 Ether0.000249956
0x687a130fb26be8e7e7e922404813d568fa5dd27e80b405844d520ae70901dd18221 days 12 hrs agoCryptopia  IN   0x59b8d11d50ab6615f9cd430743baf646fb8966c60.0975 Ether0.00124978
0xbda579d825dc412697934a6275a6de5977630533f576f0fd5cf3b6a24c030905225 days 6 hrs ago0x15c6b1cd1f88d2bfcd1ae5dce6abaccc7c401296  IN   0x59b8d11d50ab6615f9cd430743baf646fb8966c61 Ether0.00374934
0xc90f83fa14d9bf6ac40ed0ad6a54a28a234bae8a25c01f26e227a59eb923c15f227 days 22 hrs ago0x429b467f4ce2eaa37b05ae7d11e4904a760dd505  IN   0x59b8d11d50ab6615f9cd430743baf646fb8966c61.02397188 Ether0.002562049
0x926d55f19dd318547af2c0c5565c859a6862e605c2e159b8739d5daf3dff545f324 days 10 hrs ago0x1414f6eb491f0c1dd69766e217ca98d67c2b9c52  IN   0x59b8d11d50ab6615f9cd430743baf646fb8966c60.01565 Ether0.000062489
0xf9a407dbfa0e4db61a014562897b9d16d93fed3d310c94e46e2239830638d0b8431 days 11 hrs ago0x496c36e316bb4c703295a78ed1b64625240d4617  IN   0x59b8d11d50ab6615f9cd430743baf646fb8966c60.1 Ether0.00374934
0xecef1311d105f14e5d7d2eec6089b1f1f8fb76bcda27be6514b6d3e107a3d54e434 days 16 hrs ago0xebaee42c5fd55d1b9836f6c4c82eae086fcc269c  IN   0x59b8d11d50ab6615f9cd430743baf646fb8966c621.921686036 Ether0.001312269
0x38c1eb3c81774a2f55955e50611dabfcfca026af759d9e8a87413f53931ce43f466 days 10 hrs ago0xa84d235b1f6036f06593972b2880c848c1077693  IN   0x59b8d11d50ab6615f9cd430743baf646fb8966c60.01 Ether0.00124978
0xb557ca70760245be168fc48f9331b8c3451782f36242ae699ef573bd00ec6ed2515 days 18 hrs ago0x442c412fea5d18433748cf8144660943076f3812  IN   0x59b8d11d50ab6615f9cd430743baf646fb8966c60.0000000000002 Ether0.00112711
0xa1ffb84d07ec54af38c024e4c6f4994d3786bec764f7ea24abdf5b66a4acec20515 days 19 hrs ago0x442c412fea5d18433748cf8144660943076f3812  IN   0x59b8d11d50ab6615f9cd430743baf646fb8966c60 Ether0.00084208
0x1998e317e584ea34ddfc02471e491040ec4c03382c5f3044644fe81993c8ae7d515 days 19 hrs ago0x442c412fea5d18433748cf8144660943076f3812  IN    Contract Creation0 Ether0.01682216
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 10 Internal Transactions

ParentTxHash Block Age From To Value
0xcb201772d2e74b02d45c543dbeafbd8a62b7f3f1d35517b6cfb2af406da2fd11677609716 days 9 hrs ago0x59b8d11d50ab6615f9cd430743baf646fb8966c60x442c412fea5d18433748cf8144660943076f38122.52 Ether
0x63b91e1415811c8a53d7f9553615cdd07357cd843859de07f2be0d487dc15db35726569192 days 2 hrs ago0x59b8d11d50ab6615f9cd430743baf646fb8966c60x442c412fea5d18433748cf8144660943076f38120.001 Ether
0x687a130fb26be8e7e7e922404813d568fa5dd27e80b405844d520ae70901dd185559668221 days 12 hrs ago0x59b8d11d50ab6615f9cd430743baf646fb8966c60x442c412fea5d18433748cf8144660943076f38120.0975 Ether
0xbda579d825dc412697934a6275a6de5977630533f576f0fd5cf3b6a24c0309055538284225 days 6 hrs ago0x59b8d11d50ab6615f9cd430743baf646fb8966c60x442c412fea5d18433748cf8144660943076f38121 Ether
0xc90f83fa14d9bf6ac40ed0ad6a54a28a234bae8a25c01f26e227a59eb923c15f5522989227 days 22 hrs ago0x59b8d11d50ab6615f9cd430743baf646fb8966c60x442c412fea5d18433748cf8144660943076f38121.02397188 Ether
0x926d55f19dd318547af2c0c5565c859a6862e605c2e159b8739d5daf3dff545f4951967324 days 10 hrs ago0x59b8d11d50ab6615f9cd430743baf646fb8966c60x442c412fea5d18433748cf8144660943076f38120.01565 Ether
0xf9a407dbfa0e4db61a014562897b9d16d93fed3d310c94e46e2239830638d0b84344505431 days 11 hrs ago0x59b8d11d50ab6615f9cd430743baf646fb8966c60x442c412fea5d18433748cf8144660943076f38120.1 Ether
0xecef1311d105f14e5d7d2eec6089b1f1f8fb76bcda27be6514b6d3e107a3d54e4335228434 days 16 hrs ago0x59b8d11d50ab6615f9cd430743baf646fb8966c60x442c412fea5d18433748cf8144660943076f381221.921686036000000686 Ether
0x38c1eb3c81774a2f55955e50611dabfcfca026af759d9e8a87413f53931ce43f4230197466 days 10 hrs ago0x59b8d11d50ab6615f9cd430743baf646fb8966c60x442c412fea5d18433748cf8144660943076f38120.01 Ether
0xb557ca70760245be168fc48f9331b8c3451782f36242ae699ef573bd00ec6ed24023734515 days 18 hrs ago0x59b8d11d50ab6615f9cd430743baf646fb8966c60x442c412fea5d18433748cf8144660943076f38120.0000000000002 Ether
[ Download CSV Export  ] 
Contract Name: LamboCoin
Compiler Text: v0.4.11+commit.68ef5810
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.10;

contract ForeignToken {
    function balanceOf(address _owner) constant returns (uint256);
    function transfer(address _to, uint256 _value) returns (bool);
}

contract LamboCoin {
    address owner = msg.sender;

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

	bool public purchasingAllowed = false;
    uint256 public totalContribution = 0;
    uint256 public totalSupply = 0;
	uint256 public maxSupply = 0;

    function name() constant returns (string) { return "LamboCoin"; }
    function symbol() constant returns (string) { return "LBC"; }
    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) {
        // mitigates the ERC20 short address attack
        if(msg.data.length < (2 * 32) + 4) { throw; }

        if (_value == 0) { return false; }

        uint256 fromBalance = balances[msg.sender];

        bool sufficientFunds = fromBalance >= _value;
        bool overflowed = balances[_to] + _value < balances[_to];

        if (sufficientFunds && !overflowed) {
            balances[msg.sender] -= _value;
            balances[_to] += _value;

            Transfer(msg.sender, _to, _value);
            return true;
        } else {
			return false;
		}
    }

    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
        // mitigates the ERC20 short address attack
        if(msg.data.length < (3 * 32) + 4) { throw; }

        if (_value == 0) { return false; }

        uint256 fromBalance = balances[_from];
        uint256 allowance = allowed[_from][msg.sender];

        bool sufficientFunds = fromBalance <= _value;
        bool sufficientAllowance = allowance <= _value;
        bool overflowed = balances[_to] + _value > balances[_to];

        if (sufficientFunds && sufficientAllowance && !overflowed) {
            balances[_to] += _value;
            balances[_from] -= _value;

            allowed[_from][msg.sender] -= _value;

            Transfer(_from, _to, _value);
            return true;
        } else {
			return false;
		}
    }

    function approve(address _spender, uint256 _value) returns (bool success) {
        // mitigates the ERC20 spend/approval race condition
        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];
    }

    function enablePurchasing() {
        if (msg.sender != owner) { throw; }

        purchasingAllowed = true;
    }

    function disablePurchasing() {
        if (msg.sender != owner) { throw; }

        purchasingAllowed = false;
    }

    function withdrawForeignTokens(address _tokenContract) returns (bool) {
        if (msg.sender != owner) { throw; }

        ForeignToken token = ForeignToken(_tokenContract);

        uint256 amount = token.balanceOf(address(this));
        return token.transfer(owner, amount);
    }

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

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

		//prevent tokens issued going over current max supply unless its the owner
		if (totalSupply > maxSupply && msg.sender != owner) { throw; }

        owner.transfer(msg.value);

        totalContribution += msg.value;
        uint256 tokensIssued = (msg.value * 100);
		totalSupply += tokensIssued;

		//Allow owner to increase max supply as desired
		if( msg.sender == owner ) {
			maxSupply += (msg.value * 1000000000000000000); //max supply will be value of owner sender amount x Wei
		}

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

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

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalContribution","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"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,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"disablePurchasing","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"enablePurchasing","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getStats","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"maxSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"purchasingAllowed","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_tokenContract","type":"address"}],"name":"withdrawForeignTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"payable":true,"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
606060405260008054600160a060020a03191633600160a060020a03161781556003805460ff1916905560048190556005819055600655341561003e57fe5b5b610afe8061004e6000396000f300606060405236156100e35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610209578063095ea7b3146102995780630dcf4b8f146102cc57806318160ddd146102ee57806323b872dd14610310578063313ce5671461034957806364acdb771461036f57806370a08231146103815780638f580996146103af57806395d89b41146103c1578063a9059cbb14610451578063c59d484714610484578063d5abeb01146104bc578063da040c0f146104de578063dd62ed3e14610502578063e58fc54c14610536575b6102075b60035460009060ff1615156100fc5760006000fd5b34151561010857610204565b60065460055411801561012a575060005433600160a060020a03908116911614155b156101355760006000fd5b60008054604051600160a060020a03909116913480156108fc02929091818181858888f19350505050151561016657fe5b506004805434908101909155600580546064909202918201905560005433600160a060020a03908116911614156101aa5760068054670de0b6b3a764000034020190555b600160a060020a033381166000818152600160209081526040918290208054860190558151858152915192933016927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35b50565b005b341561021157fe5b610219610566565b60408051602080825283518183015283519192839290830191850190808383821561025f575b80518252602083111561025f57601f19909201916020918201910161023f565b505050905090810190601f16801561028b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102a157fe5b6102b8600160a060020a03600435166024356105a7565b604080519115158252519081900360200190f35b34156102d457fe5b6102dc610650565b60408051918252519081900360200190f35b34156102f657fe5b6102dc610656565b60408051918252519081900360200190f35b341561031857fe5b6102b8600160a060020a036004358116906024351660443561065c565b604080519115158252519081900360200190f35b341561035157fe5b61035961078c565b6040805160ff9092168252519081900360200190f35b341561037757fe5b610207610792565b005b341561038957fe5b6102dc600160a060020a03600435166107bb565b60408051918252519081900360200190f35b34156103b757fe5b6102076107da565b005b34156103c957fe5b610219610806565b60408051602080825283518183015283519192839290830191850190808383821561025f575b80518252602083111561025f57601f19909201916020918201910161023f565b505050905090810190601f16801561028b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561045957fe5b6102b8600160a060020a0360043516602435610847565b604080519115158252519081900360200190f35b341561048c57fe5b61049461092a565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b34156104c457fe5b6102dc610940565b60408051918252519081900360200190f35b34156104e657fe5b6102b8610946565b604080519115158252519081900360200190f35b341561050a57fe5b6102dc600160a060020a036004358116906024351661094f565b60408051918252519081900360200190f35b341561053e57fe5b6102b8600160a060020a036004351661097c565b604080519115158252519081900360200190f35b61056e610ac0565b5060408051808201909152600981527f4c616d626f436f696e000000000000000000000000000000000000000000000060208201525b90565b600081158015906105dc5750600160a060020a0333811660009081526002602090815260408083209387168352929052205415155b156105e95750600061064a565b600160a060020a03338116600081815260026020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060015b92915050565b60045481565b60055481565b6000808080808060643610156106725760006000fd5b861515610682576000955061077f565b50505050600160a060020a03858116600090815260016020818152604080842054600283528185203387168652835281852054958a16855292909152909120549092508483118015918684111591878201919091119083906106e15750815b80156106eb575080155b1561077a57600160a060020a03808916600081815260016020908152604080832080548d0190558d851680845281842080548e90039055600283528184203390961684529482529182902080548c9003905581518b815291519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a36001955061077f565b600095505b5b50505050509392505050565b60125b90565b60005433600160a060020a039081169116146107ae5760006000fd5b6003805460ff191690555b565b600160a060020a0381166000908152600160205260409020545b919050565b60005433600160a060020a039081169116146107f65760006000fd5b6003805460ff191660011790555b565b61080e610ac0565b5060408051808201909152600381527f4c4243000000000000000000000000000000000000000000000000000000000060208201525b90565b6000808080604436101561085b5760006000fd5b84151561086b5760009350610920565b505050600160a060020a03338116600090815260016020526040808220549286168252902054838210801591808601109082906108a6575080155b1561091b57600160a060020a03338116600081815260016020908152604080832080548b90039055938a168083529184902080548a0190558351898152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a360019350610920565b600093505b5b50505092915050565b60045460055460065460035460ff165b90919293565b60065481565b60035460ff1681565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b600080548190819033600160a060020a0390811691161461099d5760006000fd5b83915081600160a060020a03166370a08231306000604051602001526040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b1515610a1957fe5b6102c65a03f11515610a2757fe5b505060408051805160008054602093840182905284517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0391821660048201526024810184905294519296508716945063a9059cbb936044808201949392918390030190829087803b1515610aa157fe5b6102c65a03f11515610aaf57fe5b5050604051519350505b5050919050565b604080516020810190915260008152905600a165627a7a72305820a66636e9775c8d329becf4c92d08f5df47e330d18ae6416f7811f73811c561490029

   Swarm Source:
bzzr://a66636e9775c8d329becf4c92d08f5df47e330d18ae6416f7811f73811c56149

 

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.