ETH Price: $2,734.23 (+1.03%)
Gas: 2.71 Gwei

Token

YOLOCOIN (YOLO)
 

Overview

Max Total Supply

0 YOLO

Holders

2,085

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Balance
610,000 YOLO

Value
$0.00
0x1830189078286aa1f73362694bb3522233310c4f
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
YOLOCOIN

Compiler Version
v0.4.11+commit.68ef5810

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-11-23
*/

pragma solidity ^0.4.11;

interface IERC20 {
    function totalSupply() constant returns (uint256 totalSupply);
    function balanceOf(address _owner) constant returns (uint256 balance);
    function transfer(address _to, uint256 _value) returns (bool success);
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
    function approve(address _spender, uint256 _value) returns (bool success);
    function allowance(address _owner, address _spender) constant returns (uint256 remaining);
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

/**
 * Math operations with safety checks
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  function sub(uint256 a, uint256 b) internal constant returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
  
  function max64(uint64 a, uint64 b) internal constant returns (uint64) {
      return a >= b ? a : b;
  }
  
  function min64(uint64 a, uint64 b) internal constant returns (uint256) {
      return a < b ? a : b;
  }
  
  function max256(uint256 a, uint256 b) internal constant returns (uint256) {
      return a >= b ? a : b;
  }
  
  function min256(uint256 a, uint256 b)  internal constant returns (uint256) {
      return a < b ? a : b;
  }
  
}

contract YOLOCOIN is IERC20 {
    
    uint public constant _totalSupply = 28888888888;

    string public constant symbol = "YOLO";
    string public constant name = "YOLOCOIN";
    uint8 public constant decimals = 0;
    
    mapping(address => uint256) balances;
    mapping(address => mapping(address => uint256)) allowed;
    
    function YOLOCOIN() {
        balances[msg.sender] = _totalSupply;
    }
    
    function totalSupply() constant returns (uint256 _totalSupply) {
        return _totalSupply;
    }
    
    function balanceOf(address _owner) constant returns (uint256 balance) {
        return balances[_owner];
    }
    
    function transfer(address _to, uint256 _value) returns (bool success) {
        require(
            balances[msg.sender] >= _value
            && _value > 0
        );
        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(
            allowed[_from][msg.sender] >= _value
            && balances[_from] >= _value
            && _value > 0
        );
        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) {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }
    
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }

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

Contract Security Audit

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":"totalSupply","outputs":[{"name":"_totalSupply","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":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"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":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"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"},{"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"}]

6060604052341561000c57fe5b5b600160a060020a03331660009081526020819052604090206406b9e9763890555b5b61062b8061003e6000396000f300606060405236156100a15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a3578063095ea7b31461013357806318160ddd1461016657806323b872dd14610188578063313ce567146101c15780633eaaf86b146101e757806370a082311461020957806395d89b4114610237578063a9059cbb146102c7578063dd62ed3e146102fa575bfe5b34156100ab57fe5b6100b361032e565b6040805160208082528351818301528351919283929083019185019080838382156100f9575b8051825260208311156100f957601f1990920191602091820191016100d9565b505050905090810190601f1680156101255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013b57fe5b610152600160a060020a0360043516602435610365565b604080519115158252519081900360200190f35b341561016e57fe5b6101766103d0565b60408051918252519081900360200190f35b341561019057fe5b610152600160a060020a03600435811690602435166044356103d6565b604080519115158252519081900360200190f35b34156101c957fe5b6101d16104ca565b6040805160ff9092168252519081900360200190f35b34156101ef57fe5b6101766104cf565b60408051918252519081900360200190f35b341561021157fe5b610176600160a060020a03600435166104d8565b60408051918252519081900360200190f35b341561023f57fe5b6100b36104f7565b6040805160208082528351818301528351919283929083019185019080838382156100f9575b8051825260208311156100f957601f1990920191602091820191016100d9565b505050905090810190601f1680156101255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102cf57fe5b610152600160a060020a036004351660243561052e565b604080519115158252519081900360200190f35b341561030257fe5b610176600160a060020a03600435811690602435166105d2565b60408051918252519081900360200190f35b60408051808201909152600881527f594f4c4f434f494e000000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260016020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60005b90565b600160a060020a038084166000908152600160209081526040808320339094168352929052908120548290108015906104285750600160a060020a038416600090815260208190526040902054829010155b80156104345750600082115b15156104405760006000fd5b600160a060020a0380851660008181526020818152604080832080548890039055878516808452818420805489019055848452600183528184203390961684529482529182902080548790039055815186815291517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060015b9392505050565b600081565b6406b9e9763881565b600160a060020a0381166000908152602081905260409020545b919050565b60408051808201909152600481527f594f4c4f00000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152602081905260408120548290108015906105575750600082115b15156105635760006000fd5b600160a060020a0333811660008181526020818152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060015b92915050565b600160a060020a038083166000908152600160209081526040808320938516835292905220545b929150505600a165627a7a7230582033c8765749807e6eb8b60704a9d5511444469d034dc99b78ecbf08f301ea10900029

Deployed Bytecode

0x606060405236156100a15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a3578063095ea7b31461013357806318160ddd1461016657806323b872dd14610188578063313ce567146101c15780633eaaf86b146101e757806370a082311461020957806395d89b4114610237578063a9059cbb146102c7578063dd62ed3e146102fa575bfe5b34156100ab57fe5b6100b361032e565b6040805160208082528351818301528351919283929083019185019080838382156100f9575b8051825260208311156100f957601f1990920191602091820191016100d9565b505050905090810190601f1680156101255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013b57fe5b610152600160a060020a0360043516602435610365565b604080519115158252519081900360200190f35b341561016e57fe5b6101766103d0565b60408051918252519081900360200190f35b341561019057fe5b610152600160a060020a03600435811690602435166044356103d6565b604080519115158252519081900360200190f35b34156101c957fe5b6101d16104ca565b6040805160ff9092168252519081900360200190f35b34156101ef57fe5b6101766104cf565b60408051918252519081900360200190f35b341561021157fe5b610176600160a060020a03600435166104d8565b60408051918252519081900360200190f35b341561023f57fe5b6100b36104f7565b6040805160208082528351818301528351919283929083019185019080838382156100f9575b8051825260208311156100f957601f1990920191602091820191016100d9565b505050905090810190601f1680156101255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102cf57fe5b610152600160a060020a036004351660243561052e565b604080519115158252519081900360200190f35b341561030257fe5b610176600160a060020a03600435811690602435166105d2565b60408051918252519081900360200190f35b60408051808201909152600881527f594f4c4f434f494e000000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260016020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60005b90565b600160a060020a038084166000908152600160209081526040808320339094168352929052908120548290108015906104285750600160a060020a038416600090815260208190526040902054829010155b80156104345750600082115b15156104405760006000fd5b600160a060020a0380851660008181526020818152604080832080548890039055878516808452818420805489019055848452600183528184203390961684529482529182902080548790039055815186815291517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060015b9392505050565b600081565b6406b9e9763881565b600160a060020a0381166000908152602081905260409020545b919050565b60408051808201909152600481527f594f4c4f00000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152602081905260408120548290108015906105575750600082115b15156105635760006000fd5b600160a060020a0333811660008181526020818152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060015b92915050565b600160a060020a038083166000908152600160209081526040808320938516835292905220545b929150505600a165627a7a7230582033c8765749807e6eb8b60704a9d5511444469d034dc99b78ecbf08f301ea10900029

Swarm Source

bzzr://33c8765749807e6eb8b60704a9d5511444469d034dc99b78ecbf08f301ea1090
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.