Feature Tip: Add private address tag to any address under My Name Tag !
Overview
Max Total Supply
888,888,888 CRYN
Holders
43 (0.00%)
Transfers
-
0
Market
Price
$1.06 @ 0.000348 ETH (+0.03%)
Onchain Market Cap
$938,666,665.73
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 8 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
CRYNcoin
Compiler Version
v0.4.26+commit.4563c3fc
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.4.25;
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal constant 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 constant returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
}
// ERC20 Token Smart Contract
contract CRYNcoin {
string public constant name = "CRYNcoin";
string public constant symbol = "CRYN";
uint8 public constant decimals = 8;
uint256 public _totalSupply = 88888888800000000;
uint256 public RATE = 1;
bool public isMinting = false;
using SafeMath for uint256;
address public owner;
// Functions with this modifier can only be executed by the owner
modifier onlyOwner() {
if (msg.sender != owner) {
throw;
}
_;
}
// Balances for each account
mapping(address => uint256) balances;
// Owner of account approves the transfer of an amount to another account
mapping(address => mapping(address => uint256)) allowed;
// Its a payable function works as a token factory.
function() payable {
createTokens();
}
// Constructor
constructor() public payable {
owner = 0x7f85a1D215D6Eba628DdE0FE331497463d8260bd;
balances[owner] = _totalSupply;
Transfer(address(0), owner, _totalSupply);
}
//allows owner to burn tokens that are not sold in a crowdsale
function burnTokens(uint256 _value) onlyOwner {
require(balances[msg.sender] >= _value && _value > 0);
_totalSupply = _totalSupply.sub(_value);
balances[msg.sender] = balances[msg.sender].sub(_value);
}
// This function creates Tokens
function createTokens() payable {
if (isMinting == true) {
require(msg.value > 0);
uint256 tokens = msg.value.div(100000000000000).mul(RATE);
balances[msg.sender] = balances[msg.sender].add(tokens);
_totalSupply = _totalSupply.add(tokens);
owner.transfer(msg.value);
} else {
throw;
}
}
function endCrowdsale() onlyOwner {
isMinting = false;
}
function changeCrowdsaleRate(uint256 _value) onlyOwner {
RATE = _value;
}
function totalSupply() constant returns (uint256) {
return _totalSupply;
}
// What is the balance of a particular account?
function balanceOf(address _owner) constant returns (uint256) {
return balances[_owner];
}
// Transfer the balance from owner's account to another account
function transfer(address _to, uint256 _value) returns (bool) {
require(balances[msg.sender] >= _value && _value > 0);
balances[msg.sender] = balances[msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
Transfer(msg.sender, _to, _value);
return true;
}
// Send _value amount of tokens from address _from to address _to
// The transferFrom method is used for a withdraw workflow, allowing contracts to send
// tokens on your behalf, for example to "deposit" to a contract address and/or to charge
// fees in sub-currencies; the command should fail unless the _from account has
// deliberately authorized the sender of the message via some mechanism; we propose
// these standardized APIs for approval:
function transferFrom(
address _from,
address _to,
uint256 _value
) returns (bool) {
require(
allowed[_from][msg.sender] >= _value &&
balances[_from] >= _value &&
_value > 0
);
balances[_from] = balances[_from].sub(_value);
balances[_to] = balances[_to].add(_value);
allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
Transfer(_from, _to, _value);
return true;
}
// Allow _spender to withdraw from your account, multiple times, up to the _value amount.
// If this function is called again it overwrites the current allowance with _value.
function approve(address _spender, uint256 _value) returns (bool) {
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}
// Returns the amount which _spender is still allowed to withdraw from _owner
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
);
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"endCrowdsale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"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":"_value","type":"uint256"}],"name":"changeCrowdsaleRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"RATE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burnTokens","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":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"createTokens","outputs":[],"payable":true,"stateMutability":"payable","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"},{"inputs":[],"payable":true,"stateMutability":"payable","type":"constructor"},{"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
6080604081815267013bcbf93167380060008181556001805560028054600160a860020a031916747f85a1d215d6eba628dde0fe331497463d8260bd0017808255600160a060020a0361010091829004811684526003602090815295842085905591549386529092049091169290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a361096b806100a06000396000f3006080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100fa578063095ea7b31461018457806318160ddd146101bc5780632095f2d4146101e357806323b872dd146101f85780632a8092df14610222578063313ce567146102375780633eaaf86b146102625780635c07ac9414610277578063664e97041461028f5780636d1b229d146102a457806370a08231146102bc5780638da5cb5b146102dd57806395d89b411461030e578063a9059cbb14610323578063b4427263146100f0578063dd62ed3e14610347575b6100f861036e565b005b34801561010657600080fd5b5061010f610451565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610149578181015183820152602001610131565b50505050905090810190601f1680156101765780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019057600080fd5b506101a8600160a060020a0360043516602435610488565b604080519115158252519081900360200190f35b3480156101c857600080fd5b506101d16104ee565b60408051918252519081900360200190f35b3480156101ef57600080fd5b506100f86104f4565b34801561020457600080fd5b506101a8600160a060020a036004358116906024351660443561051c565b34801561022e57600080fd5b506101a861068b565b34801561024357600080fd5b5061024c610694565b6040805160ff9092168252519081900360200190f35b34801561026e57600080fd5b506101d1610699565b34801561028357600080fd5b506100f860043561069f565b34801561029b57600080fd5b506101d16106c0565b3480156102b057600080fd5b506100f86004356106c6565b3480156102c857600080fd5b506101d1600160a060020a0360043516610754565b3480156102e957600080fd5b506102f261076f565b60408051600160a060020a039092168252519081900360200190f35b34801561031a57600080fd5b5061010f610783565b34801561032f57600080fd5b506101a8600160a060020a03600435166024356107ba565b34801561035357600080fd5b506101d1600160a060020a0360043581169060243516610894565b60025460009060ff16151560011415610449576000341161038e57600080fd5b6001546103b7906103ab34655af3107a400063ffffffff6108bf16565b9063ffffffff6108fa16565b336000908152600360205260409020549091506103da908263ffffffff61091e16565b33600090815260036020526040812091909155546103fe908263ffffffff61091e16565b6000908155600254604051600160a060020a0361010090920491909116913480156108fc02929091818181858888f19350505050158015610443573d6000803e3d6000fd5b5061044e565b600080fd5b50565b60408051808201909152600881527f4352594e636f696e000000000000000000000000000000000000000000000000602082015281565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60005490565b6002546101009004600160a060020a0316331461051057600080fd5b6002805460ff19169055565b600160a060020a038316600090815260046020908152604080832033845290915281205482118015906105675750600160a060020a0384166000908152600360205260409020548211155b80156105735750600082115b151561057e57600080fd5b600160a060020a0384166000908152600360205260409020546105a7908363ffffffff61092d16565b600160a060020a0380861660009081526003602052604080822093909355908516815220546105dc908363ffffffff61091e16565b600160a060020a038085166000908152600360209081526040808320949094559187168152600482528281203382529091522054610620908363ffffffff61092d16565b600160a060020a03808616600081815260046020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60025460ff1681565b600881565b60005481565b6002546101009004600160a060020a031633146106bb57600080fd5b600155565b60015481565b6002546101009004600160a060020a031633146106e257600080fd5b3360009081526003602052604090205481118015906107015750600081115b151561070c57600080fd5b60005461071f908263ffffffff61092d16565b600090815533815260036020526040902054610741908263ffffffff61092d16565b3360009081526003602052604090205550565b600160a060020a031660009081526003602052604090205490565b6002546101009004600160a060020a031681565b60408051808201909152600481527f4352594e00000000000000000000000000000000000000000000000000000000602082015281565b3360009081526003602052604081205482118015906107d95750600082115b15156107e457600080fd5b33600090815260036020526040902054610804908363ffffffff61092d16565b3360009081526003602052604080822092909255600160a060020a03851681522054610836908363ffffffff61091e16565b600160a060020a0384166000818152600360209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b6000808083116108cb57fe5b82848115156108d657fe5b04905082848115156108e457fe5b0681840201841415156108f357fe5b9392505050565b6000828202831580610916575082848281151561091357fe5b04145b15156108f357fe5b6000828201838110156108f357fe5b60008282111561093957fe5b509003905600a165627a7a723058200e5a0dbc7df7cd0ac07205c573815dc668ad0ccec7a3be7cde9cea45801c80f30029
Deployed Bytecode
0x6080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100fa578063095ea7b31461018457806318160ddd146101bc5780632095f2d4146101e357806323b872dd146101f85780632a8092df14610222578063313ce567146102375780633eaaf86b146102625780635c07ac9414610277578063664e97041461028f5780636d1b229d146102a457806370a08231146102bc5780638da5cb5b146102dd57806395d89b411461030e578063a9059cbb14610323578063b4427263146100f0578063dd62ed3e14610347575b6100f861036e565b005b34801561010657600080fd5b5061010f610451565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610149578181015183820152602001610131565b50505050905090810190601f1680156101765780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019057600080fd5b506101a8600160a060020a0360043516602435610488565b604080519115158252519081900360200190f35b3480156101c857600080fd5b506101d16104ee565b60408051918252519081900360200190f35b3480156101ef57600080fd5b506100f86104f4565b34801561020457600080fd5b506101a8600160a060020a036004358116906024351660443561051c565b34801561022e57600080fd5b506101a861068b565b34801561024357600080fd5b5061024c610694565b6040805160ff9092168252519081900360200190f35b34801561026e57600080fd5b506101d1610699565b34801561028357600080fd5b506100f860043561069f565b34801561029b57600080fd5b506101d16106c0565b3480156102b057600080fd5b506100f86004356106c6565b3480156102c857600080fd5b506101d1600160a060020a0360043516610754565b3480156102e957600080fd5b506102f261076f565b60408051600160a060020a039092168252519081900360200190f35b34801561031a57600080fd5b5061010f610783565b34801561032f57600080fd5b506101a8600160a060020a03600435166024356107ba565b34801561035357600080fd5b506101d1600160a060020a0360043581169060243516610894565b60025460009060ff16151560011415610449576000341161038e57600080fd5b6001546103b7906103ab34655af3107a400063ffffffff6108bf16565b9063ffffffff6108fa16565b336000908152600360205260409020549091506103da908263ffffffff61091e16565b33600090815260036020526040812091909155546103fe908263ffffffff61091e16565b6000908155600254604051600160a060020a0361010090920491909116913480156108fc02929091818181858888f19350505050158015610443573d6000803e3d6000fd5b5061044e565b600080fd5b50565b60408051808201909152600881527f4352594e636f696e000000000000000000000000000000000000000000000000602082015281565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60005490565b6002546101009004600160a060020a0316331461051057600080fd5b6002805460ff19169055565b600160a060020a038316600090815260046020908152604080832033845290915281205482118015906105675750600160a060020a0384166000908152600360205260409020548211155b80156105735750600082115b151561057e57600080fd5b600160a060020a0384166000908152600360205260409020546105a7908363ffffffff61092d16565b600160a060020a0380861660009081526003602052604080822093909355908516815220546105dc908363ffffffff61091e16565b600160a060020a038085166000908152600360209081526040808320949094559187168152600482528281203382529091522054610620908363ffffffff61092d16565b600160a060020a03808616600081815260046020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60025460ff1681565b600881565b60005481565b6002546101009004600160a060020a031633146106bb57600080fd5b600155565b60015481565b6002546101009004600160a060020a031633146106e257600080fd5b3360009081526003602052604090205481118015906107015750600081115b151561070c57600080fd5b60005461071f908263ffffffff61092d16565b600090815533815260036020526040902054610741908263ffffffff61092d16565b3360009081526003602052604090205550565b600160a060020a031660009081526003602052604090205490565b6002546101009004600160a060020a031681565b60408051808201909152600481527f4352594e00000000000000000000000000000000000000000000000000000000602082015281565b3360009081526003602052604081205482118015906107d95750600082115b15156107e457600080fd5b33600090815260036020526040902054610804908363ffffffff61092d16565b3360009081526003602052604080822092909255600160a060020a03851681522054610836908363ffffffff61091e16565b600160a060020a0384166000818152600360209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b6000808083116108cb57fe5b82848115156108d657fe5b04905082848115156108e457fe5b0681840201841415156108f357fe5b9392505050565b6000828202831580610916575082848281151561091357fe5b04145b15156108f357fe5b6000828201838110156108f357fe5b60008282111561093957fe5b509003905600a165627a7a723058200e5a0dbc7df7cd0ac07205c573815dc668ad0ccec7a3be7cde9cea45801c80f30029
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.
Add Token to MetaMask (Web3)