Sponsored Link: Crowdsale has finished. Check out the KICKICO platform to find new ICOs to start.
Contract Overview | vSliceToken
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 7488 txns
Token Tracker vSlice
  Latest 25 txns from a total Of 7488 transactions View All

TxHash Age From To Value [TxFee]
0xf525aacf8ba6765cec153b7f8dea4e0e16dfee722eca9c9ae1d791eea29157211 hr 57 mins ago0xc8f387eb8edac64efae018dfd10036bdbc059369  IN   vSliceToken0 Ether0.0013417
0xb357d31304c599e7be0f2a0a7f2156317a7684982861e4de7a962227fbfec2ed14 hrs 10 mins ago0x3f0d43707e03bfac9be5cfbd3bb24edc5caa95f9  IN   vSliceToken0 Ether0.000474864121
0x0289e563672b9c66a14183129625f5ac5b54de613bfba9850b579e4dc6223e9c14 hrs 16 mins ago0x2215457b391a2660337b75568ec05adaec457502  IN   vSliceToken0 Ether0.00232008
0x7950bc9e783ff6877f7e6715c51a6a6284fe83f1dfd6340909acf3adb1b7b3a619 hrs 32 mins ago0x202625275be8ab8d1891223c44238c8bb4db4109  IN   vSliceToken0 Ether0.000188432
0xd917144dfa8b698f14d070ee7a26430e254f0e7b54ba121abf2c832956152b371 day 15 hrs ago0xd86a86617cbde25e55fa42893b2b0d23d3321a21  IN   vSliceToken0 Ether0.0013417
0xb98e4acd3d2803226eb662ad1c5c70824d7625b434af810845833b80aff8b1ba1 day 17 hrs ago0x4d27814b435b355c3d8e6a39008898102f3718c6  IN   vSliceToken0 Ether0.000559949547
0xc4b68c14e49478734355663eaf51ca47f18ae88eb73228f794e4ee5651148e171 day 17 hrs ago0xa6f1168c907cf4be130cbbbea878d38d3eb2fff7  IN   vSliceToken0 Ether0.00080934
0xb2298a865ade9d1b241512e1a1f32abd43e8b3435d43c16299af9523c18bde981 day 17 hrs ago0xa6f1168c907cf4be130cbbbea878d38d3eb2fff7  IN   vSliceToken0 Ether0.001122996
0xbc318bd738150c183492413f9ac843222e01621acf99d3a906b76108dd2222162 days 19 hrs ago0x6c5abaca95e94be2e8ca6bf0f768ae13848634b9  IN   vSliceToken0 Ether0.000503354008
0x43e508b5a291440d6436bbe45add3a900718443755a23d500e2e4c0a7e92e2082 days 19 hrs ago0x1ede65828aa959eaca3148ce743d9e6ac753214f  IN   vSliceToken0 Ether0.000497028
0x6db611e0623e1826676aa1479cc19ae996fef1f7c5b7ba3669fe227c5641f6742 days 19 hrs ago0x1ede65828aa959eaca3148ce743d9e6ac753214f  IN   vSliceToken0 Ether0.00112434
0xc65e68ccb76b375dc8ce65c12231e18549140646e391c233eb296e78e0741b6e2 days 22 hrs agoliqui.io_2  IN   vSliceToken0 Ether0.001167783238
0x92054b98b0ad6ec716ba3990951e37123c42787fe8cf3803abe45d3f458288823 days 29 mins ago0xc8f387eb8edac64efae018dfd10036bdbc059369  IN   vSliceToken0 Ether0.001127028
0xa8629316700651220a37c3c76f14785999771766a5cff4150ebb44da472a2aac3 days 3 hrs ago0x3cafe2d45539bebfdf8949d3396998e2495050c1  IN   vSliceToken0 Ether0.000532935506
0xc057d212eda419c6ad3cb0357b95a7095fce06ca4dccb3a3dbdafda3d7fd36da3 days 3 hrs ago0xedb913c2106e1499e810ff6771add0a7ee79ff8b  IN   vSliceToken0 Ether0.000810684
0x8d0154fdb0e922767de841c6aada9b9bc81e2a44886013507e61148cfb37e2873 days 4 hrs ago0xedb913c2106e1499e810ff6771add0a7ee79ff8b  IN   vSliceToken0 Ether0.001125684
0x968c956dfb5a1d2fae9fe96c75f07d38e0fa51e1738c3c6265fb7d4bedb401323 days 10 hrs ago0x968c4030e7369a58b3e3ab6358413845a62a884d  IN   vSliceToken0 Ether0.000539978326
0x3aef78191125d839108976b1760033b4f0dc34fefd60ad7d49c0afc6bda0a5843 days 10 hrs ago0x049e2723580feefd1652d80f53d7ca0a27725471  IN   vSliceToken0 Ether0.00116196
0x96c9cbd6b3caa2922528686df579f384c96fc7344ec936f5751bea04af35d8783 days 10 hrs ago0x968c4030e7369a58b3e3ab6358413845a62a884d  IN   vSliceToken0 Ether0.000537247949
0x3441bf80c52afcaa3b82c17baf301352cf58b256610e88c4fab115f9c6eb4d733 days 10 hrs ago0x049e2723580feefd1652d80f53d7ca0a27725471  IN   vSliceToken0 Ether0.00161004
0xff7af6982d9ff4319ce1560b79e7e3bcf83a1276618dfd9d15e676bced8567793 days 11 hrs ago0xd51d9c7297008f9631ec79b4dcfc1548cc6bedab  IN   vSliceToken0 Ether0.000547927539
0x340d03c0598f948f1dea576ffd53347fc2f89b4a6e950a9c0bdd17b47aa627d23 days 11 hrs ago0xd51d9c7297008f9631ec79b4dcfc1548cc6bedab  IN   vSliceToken0 Ether0.000908378698
0x346fd1e87ac13f7bdd9e5eb023bd316456a4c6da83b0b23c3776b467d7e90c143 days 11 hrs ago0xc483d2877a807c691b97913db50e4d5444533160  IN   vSliceToken0 Ether0.0007062
0xeee4cdb6ef007b36d32ac0e2aa3d6e8fcd1672cd5ef6f1989f410d31b13e6d8f3 days 11 hrs ago0xc483d2877a807c691b97913db50e4d5444533160  IN   vSliceToken0 Ether0.0016062
0x24d9eb23730e084754192bd8036d65e1c2b5d3c4861efdf6eb3e05b4512f7c263 days 18 hrs ago0x14b1cec5755dbf7fbe3e15a4275faece4add7e06  IN   vSliceToken0 Ether0.000188432
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The compiled contract might be susceptible to DelegateCallReturnValue (low-severity), ECRecoverMalformedInput (medium-severity), SkipEmptyStringLiteral (low-severity), ConstantOptimizerSubtraction (low-severity), IdentityPrecompileReturnIgnored (low-severity) Solidity compiler bugs.

Contract Source Code Verified
Note: Displaying matching verified source code at contract 0x2d224e277fdfd273bbe63871ff69830604b79754
Contract Name: Token
Compiler Version: v0.4.4+commit.4633f3de
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.0;
/*
This vSlice token contract is based on the ERC20 token contract. Additional
functionality has been integrated:
* the contract Lockable, which is used as a parent of the Token contract
* the function mintTokens(), which makes use of the currentSwapRate() and safeToAdd() helpers
* the function disableTokenSwapLock()
*/

contract Lockable {
    uint public numOfCurrentEpoch;
    uint public creationTime;
    uint public constant UNLOCKED_TIME = 25 days;
    uint public constant LOCKED_TIME = 5 days;
    uint public constant EPOCH_LENGTH = 30 days;
    bool public lock;
    bool public tokenSwapLock;

    event Locked();
    event Unlocked();

    // This modifier should prevent tokens transfers while the tokenswap
    // is still ongoing
    modifier isTokenSwapOn {
        if (tokenSwapLock) throw;
        _;
    }

    // This modifier checks and, if needed, updates the value of current
    // token contract epoch, before executing a token transfer of any
    // kind
    modifier isNewEpoch {
        if (numOfCurrentEpoch * EPOCH_LENGTH + creationTime < now ) {
            numOfCurrentEpoch = (now - creationTime) / EPOCH_LENGTH + 1;
        }
        _;
    }

    // This modifier check whether the contract should be in a locked
    // or unlocked state, then acts and updates accordingly if
    // necessary
    modifier checkLock {
        if ((creationTime + numOfCurrentEpoch * UNLOCKED_TIME) +
        (numOfCurrentEpoch - 1) * LOCKED_TIME < now) {
            // avoids needless lock state change and event spamming
            if (lock) throw;

            lock = true;
            Locked();
            return;
        }
        else {
            // only set to false if in a locked state, to avoid
            // needless state change and event spam
            if (lock) {
                lock = false;
                Unlocked();
            }
        }
        _;
    }

    function Lockable() {
        creationTime = now;
        numOfCurrentEpoch = 1;
        tokenSwapLock = true;
    }
}


contract ERC20 {
    function totalSupply() constant returns (uint);
    function balanceOf(address who) constant returns (uint);
    function allowance(address owner, address spender) constant returns (uint);

    function transfer(address to, uint value) returns (bool ok);
    function transferFrom(address from, address to, uint value) returns (bool ok);
    function approve(address spender, uint value) returns (bool ok);

    event Transfer(address indexed from, address indexed to, uint value);
    event Approval(address indexed owner, address indexed spender, uint value);
}

contract Token is ERC20, Lockable {

  mapping( address => uint ) _balances;
  mapping( address => mapping( address => uint ) ) _approvals;
  uint _supply;
  address public walletAddress;

  event TokenMint(address newTokenHolder, uint amountOfTokens);
  event TokenSwapOver();

  modifier onlyFromWallet {
      if (msg.sender != walletAddress) throw;
      _;
  }

  function Token( uint initial_balance, address wallet) {
    _balances[msg.sender] = initial_balance;
    _supply = initial_balance;
    walletAddress = wallet;
  }

  function totalSupply() constant returns (uint supply) {
    return _supply;
  }

  function balanceOf( address who ) constant returns (uint value) {
    return _balances[who];
  }

  function allowance(address owner, address spender) constant returns (uint _allowance) {
    return _approvals[owner][spender];
  }

  // A helper to notify if overflow occurs
  function safeToAdd(uint a, uint b) internal returns (bool) {
    return (a + b >= a && a + b >= b);
  }

  function transfer( address to, uint value)
    isTokenSwapOn
    isNewEpoch
    checkLock
    returns (bool ok) {

    if( _balances[msg.sender] < value ) {
        throw;
    }
    if( !safeToAdd(_balances[to], value) ) {
        throw;
    }

    _balances[msg.sender] -= value;
    _balances[to] += value;
    Transfer( msg.sender, to, value );
    return true;
  }

  function transferFrom( address from, address to, uint value)
    isTokenSwapOn
    isNewEpoch
    checkLock
    returns (bool ok) {
    // if you don't have enough balance, throw
    if( _balances[from] < value ) {
        throw;
    }
    // if you don't have approval, throw
    if( _approvals[from][msg.sender] < value ) {
        throw;
    }
    if( !safeToAdd(_balances[to], value) ) {
        throw;
    }
    // transfer and return true
    _approvals[from][msg.sender] -= value;
    _balances[from] -= value;
    _balances[to] += value;
    Transfer( from, to, value );
    return true;
  }

  function approve(address spender, uint value)
    isTokenSwapOn
    isNewEpoch
    checkLock
    returns (bool ok) {
    _approvals[msg.sender][spender] = value;
    Approval( msg.sender, spender, value );
    return true;
  }

  // The function currentSwapRate() returns the current exchange rate
  // between vSlice tokens and Ether during the token swap period
  function currentSwapRate() constant returns(uint) {
      if (creationTime + 1 weeks > now) {
          return 130;
      }
      else if (creationTime + 2 weeks > now) {
          return 120;
      }
      else if (creationTime + 4 weeks > now) {
          return 100;
      }
      else {
          return 0;
      }
  }

  // The function mintTokens is only usable by the chosen wallet
  // contract to mint a number of tokens proportional to the
  // amount of ether sent to the wallet contract. The function
  // can only be called during the tokenswap period
  function mintTokens(address newTokenHolder, uint etherAmount)
    external
    onlyFromWallet {

        uint tokensAmount = currentSwapRate() * etherAmount;
        if(!safeToAdd(_balances[newTokenHolder],tokensAmount )) throw;
        if(!safeToAdd(_supply,tokensAmount)) throw;

        _balances[newTokenHolder] += tokensAmount;
        _supply += tokensAmount;

        TokenMint(newTokenHolder, tokensAmount);
  }

  // The function disableTokenSwapLock() is called by the wallet
  // contract once the token swap has reached its end conditions
  function disableTokenSwapLock()
    external
    onlyFromWallet {
        tokenSwapLock = false;
        TokenSwapOver();
  }
}

  Contract ABI  
[{"constant":true,"inputs":[],"name":"numOfCurrentEpoch","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"ok","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"supply","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":"ok","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"disableTokenSwapLock","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"currentSwapRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"walletAddress","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"balanceOf","outputs":[{"name":"value","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"ok","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"EPOCH_LENGTH","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"UNLOCKED_TIME","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"LOCKED_TIME","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"creationTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"_allowance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tokenSwapLock","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newTokenHolder","type":"address"},{"name":"etherAmount","type":"uint256"}],"name":"mintTokens","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"lock","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"inputs":[{"name":"initial_balance","type":"uint256"},{"name":"wallet","type":"address"}],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newTokenHolder","type":"address"},{"indexed":false,"name":"amountOfTokens","type":"uint256"}],"name":"TokenMint","type":"event"},{"anonymous":false,"inputs":[],"name":"TokenSwapOver","type":"event"},{"anonymous":false,"inputs":[],"name":"Locked","type":"event"},{"anonymous":false,"inputs":[],"name":"Unlocked","type":"event"},{"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
606060408181528061095a833960a09052516080514260019081556000556002805461ff001916610100179055600160a060020a03331660009081526003602052604090208290556005829055600680546c0100000000000000000000000080840204600160a060020a031990911617905550506108d9806100816000396000f3606060405236156100cf5760e060020a6000350463018e13d081146100d4578063095ea7b3146100e257806318160ddd1461010957806323b872dd146101185780633592f369146101425780635334c231146101655780636ad5b3ea1461017257806370a0823114610189578063a9059cbb146101bc578063ac4746ab146101e3578063b7930507146101f2578063d81dfe3014610201578063d8270dce14610210578063dd62ed3e1461021e578063ef40c3e614610259578063f0dda65c14610270578063f83d08ba1461029c575b610002565b34610002576101aa60005481565b34610002576102ad60043560243560025460009060ff610100909104161561030057610002565b34610002576101aa6005545b90565b34610002576102ad60043560243560443560025460009060ff610100909104161561044457610002565b34610002576102c160065433600160a060020a0390811691161461065157610002565b34610002576101aa6102c8565b34610002576102e4600654600160a060020a031681565b3461000257600160a060020a03600435166000908152600360205260409020545b60408051918252519081900360200190f35b34610002576102ad60043560243560025460009060ff61010090910416156106c357610002565b34610002576101aa62278d0081565b34610002576101aa6220f58081565b34610002576101aa6206978081565b34610002576101aa60015481565b34610002576101aa600435602435600160a060020a038083166000908152600460209081526040808320938516835292905220545b92915050565b34610002576102ad60025460ff6101009091041681565b34610002576102c160043560243560065460009033600160a060020a039081169116146102c357610002565b34610002576102ad60025460ff1681565b604080519115158252519081900360200190f35b005b8161082a5b60004260016000505462093a8001111561068757506082610115565b60408051600160a060020a039092168252519081900360200190f35b4260016000505462278d006000600050540201101561032d5760015462278d009042036001919004016000555b4262069780600160006000505403026220f58060006000505402600160005054010110156103655760025460ff161561040957610002565b60025460ff16156103a4576002805460ff191690556040517f19aad37188a1d3921e29eb3c66acf43d81975e107cb650d58cca878627955fd690600090a15b600160a060020a03338116600081815260046020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3506001610253565b6002805460ff191660011790556040517f0f2e5b6c72c6a4491efd919a9f9a409f324ef0708c11ee57d410c2cb06c0992b90600090a1610253565b4260016000505462278d00600060005054020110156104715760015462278d009042036001919004016000555b4262069780600160006000505403026220f58060006000505402600160005054010110156104a95760025460ff161561050e57610002565b60025460ff16156104e8576002805460ff191690556040517f19aad37188a1d3921e29eb3c66acf43d81975e107cb650d58cca878627955fd690600090a15b600160a060020a0384166000908152600360205260409020548290101561054c57610002565b6002805460ff191660011790556040517f0f2e5b6c72c6a4491efd919a9f9a409f324ef0708c11ee57d410c2cb06c0992b90600090a15b9392505050565b600160a060020a03808516600090815260046020908152604080832033909416835292905220548290101561058057610002565b600160a060020a0383166000908152600360205260409020546105bc90835b600082828401101580156105b557508182840110155b9050610253565b15156105c757610002565b600160a060020a03808516600081815260046020908152604080832033861684528252808320805488900390558383526003825280832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3506001610545565b6002805461ff00191690556040517f0d27864fb2752ddaaa945c943c62b77c1476125056d0343ab1e2159da779fa4090600090a1565b42600160005054621275000111156106a157506078610115565b426001600050546224ea000111156106bb57506064610115565b506000610115565b4260016000505462278d00600060005054020110156106f05760015462278d009042036001919004016000555b4262069780600160006000505403026220f58060006000505402600160005054010110156107285760025460ff161561040957610002565b60025460ff1615610767576002805460ff191690556040517f19aad37188a1d3921e29eb3c66acf43d81975e107cb650d58cca878627955fd690600090a15b600160a060020a0333166000908152600360205260409020548290101561078d57610002565b600160a060020a0383166000908152600360205260409020546107b0908361059f565b15156107bb57610002565b600160a060020a03338116600081815260036020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3506001610253565b600160a060020a03851660009081526003602052604090205491029150610851908261059f565b151561085c57610002565b600554610869908261059f565b151561087457610002565b600160a060020a03831660008181526003602090815260409182902080548501905560058054850190558151928352820183905280517f36bf5aa3964be01dbd95a0154a8930793fe68353bdc580871ffb2c911366bbc79281900390910190a150505056
View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.