ERC-20
Source Code
Overview
Max Total Supply
299,998,766 LNC
Holders
13,531 (0.00%)
Market
Price
$0.00 @ 0.000002 ETH
Onchain Market Cap
$1,239,677.76
Circulating Supply Market Cap
$466,022.20
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.7777777 LNCValue
$0.00 ( ~0 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
MyToken
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2017-12-10
*/
pragma solidity ^0.4.18;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure 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 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 ERC20Interface {
// Get the total token supply
function totalSupply() public constant returns (uint256 supply);
// Get the account balance of another account with address _owner
function balanceOf(address _owner) public constant returns (uint256 balance);
// Send _value amount of tokens to address _to
function transfer(address _to, uint256 _value) public returns (bool success);
// Send _value amount of tokens from address _from to address _to
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
// 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.
// this function is required for some DEX functionality
function approve(address _spender, uint256 _value) public returns (bool success);
// Returns the amount which _spender is still allowed to withdraw from _owner
function allowance(address _owner, address _spender) public constant returns (uint256 remaining);
// Triggered when tokens are transferred.
event Transfer(address indexed _from, address indexed _to, uint256 _value);
// Triggered whenever approve(address _spender, uint256 _value) is called.
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}
contract Token is ERC20Interface {
using SafeMath for uint;
string public constant symbol = "LNC";
string public constant name = "Linker Coin";
uint8 public constant decimals = 18;
uint256 _totalSupply = 500000000000000000000000000;
//AML & KYC
mapping (address => bool) public frozenAccount;
event FrozenFunds(address target, bool frozen);
// Linker coin has 5*10^25 units, each unit has 10^18 minimum fractions which are called
// Owner of this contract
address public owner;
// 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;
// Functions with this modifier can only be executed by the owner
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function IsFreezedAccount(address _addr) public constant returns (bool) {
return frozenAccount[_addr];
}
// Constructor
function Token() public {
owner = msg.sender;
balances[owner] = _totalSupply;
}
function totalSupply() public constant returns (uint256 supply) {
supply = _totalSupply;
}
// What is the balance of a particular account?
function balanceOf(address _owner) public constant returns (uint256 balance) {
return balances[_owner];
}
// Transfer the balance from owner's account to another account
function transfer(address _to, uint256 _value) public returns (bool success)
{
if (_to != 0x0 // Prevent transfer to 0x0 address.
&& IsFreezedAccount(msg.sender) == false
&& balances[msg.sender] >= _value
&& _value > 0
&& balances[_to] + _value > balances[_to]) {
balances[msg.sender] = balances[msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
Transfer(msg.sender, _to, _value);
return true;
} else {
return false;
}
}
// 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) public returns (bool success) {
if (_to != 0x0 // Prevent transfer to 0x0 address.
&& IsFreezedAccount(_from) == false
&& balances[_from] >= _value
&& allowed[_from][msg.sender] >= _value
&& _value > 0
&& balances[_to] + _value > balances[_to]) {
balances[_from] = balances[_from].sub(_value);
allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
Transfer(_from, _to, _value);
return true;
} else {
return false;
}
}
// 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) public returns (bool success) {
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}
function allowance(address _owner, address _spender) public constant returns (uint256 remaining) {
return allowed[_owner][_spender];
}
function FreezeAccount(address target, bool freeze) onlyOwner public {
frozenAccount[target] = freeze;
FrozenFunds(target, freeze);
}
}
contract MyToken is Token {
//LP Setup lp:liquidity provider
uint8 public constant decimalOfPrice = 10; // LNC/ETH
uint256 public constant multiplierOfPrice = 10000000000;
uint256 public constant multiplier = 1000000000000000000;
uint256 public lpAskPrice = 100000000000; //LP sell price
uint256 public lpBidPrice = 1; //LP buy price
uint256 public lpAskVolume = 0; //LP sell volume
uint256 public lpBidVolume = 0; //LP buy volume
uint256 public lpMaxVolume = 1000000000000000000000000; //the deafult maximum volume of the liquididty provider is 10000 LNC
//LP Para
uint256 public edgePerPosition = 1; // (lpTargetPosition - lpPosition) / edgePerPosition = the penalty of missmatched position
uint256 public lpTargetPosition;
uint256 public lpFeeBp = 10; // lpFeeBp is basis point of fee collected by LP
bool public isLpStart = false;
bool public isBurn = false;
function MyToken() public {
balances[msg.sender] = _totalSupply;
lpTargetPosition = 200000000000000000000000000;
}
event Burn(address indexed from, uint256 value);
function burn(uint256 _value) onlyOwner public returns (bool success) {
if (isBurn == true)
{
balances[msg.sender] = balances[msg.sender].sub(_value);
_totalSupply = _totalSupply.sub(_value);
Burn(msg.sender, _value);
return true;
}
else{
return false;
}
}
event SetBurnStart(bool _isBurnStart);
function setBurnStart(bool _isBurnStart) onlyOwner public {
isBurn = _isBurnStart;
}
//Owner will be Lp
event SetPrices(uint256 _lpBidPrice, uint256 _lpAskPrice, uint256 _lpBidVolume, uint256 _lpAskVolume);
function setPrices(uint256 _lpBidPrice, uint256 _lpAskPrice, uint256 _lpBidVolume, uint256 _lpAskVolume) onlyOwner public{
require(_lpBidPrice < _lpAskPrice);
require(_lpBidVolume <= lpMaxVolume);
require(_lpAskVolume <= lpMaxVolume);
lpBidPrice = _lpBidPrice;
lpAskPrice = _lpAskPrice;
lpBidVolume = _lpBidVolume;
lpAskVolume = _lpAskVolume;
SetPrices(_lpBidPrice, _lpAskPrice, _lpBidVolume, _lpAskVolume);
}
event SetLpMaxVolume(uint256 _lpMaxVolume);
function setLpMaxVolume(uint256 _lpMaxVolume) onlyOwner public {
require(_lpMaxVolume < 1000000000000000000000000);
lpMaxVolume = _lpMaxVolume;
if (lpMaxVolume < lpBidVolume){
lpBidVolume = lpMaxVolume;
}
if (lpMaxVolume < lpAskVolume){
lpAskVolume = lpMaxVolume;
}
SetLpMaxVolume(_lpMaxVolume);
}
event SetEdgePerPosition(uint256 _edgePerPosition);
function setEdgePerPosition(uint256 _edgePerPosition) onlyOwner public {
//require(_edgePerPosition < 100000000000000000000000000000);
edgePerPosition = _edgePerPosition;
SetEdgePerPosition(_edgePerPosition);
}
event SetLPTargetPostion(uint256 _lpTargetPositionn);
function setLPTargetPostion(uint256 _lpTargetPosition) onlyOwner public {
require(_lpTargetPosition <totalSupply() );
lpTargetPosition = _lpTargetPosition;
SetLPTargetPostion(_lpTargetPosition);
}
event SetLpFee(uint256 _lpFeeBp);
function setLpFee(uint256 _lpFeeBp) onlyOwner public {
require(_lpFeeBp <= 100);
lpFeeBp = _lpFeeBp;
SetLpFee(lpFeeBp);
}
event SetLpIsStart(bool _isLpStart);
function setLpIsStart(bool _isLpStart) onlyOwner public {
isLpStart = _isLpStart;
}
function getLpBidPrice()public constant returns (uint256)
{
uint256 lpPosition = balanceOf(owner);
if (lpTargetPosition >= lpPosition)
{
return lpBidPrice;
}
else
{
return lpBidPrice.sub((((lpPosition.sub(lpTargetPosition)).div(multiplier)).mul(edgePerPosition)).div(multiplierOfPrice));
}
}
function getLpAskPrice()public constant returns (uint256)
{
uint256 lpPosition = balanceOf(owner);
if (lpTargetPosition <= lpPosition)
{
return lpAskPrice;
}
else
{
return lpAskPrice.add((((lpTargetPosition.sub(lpPosition)).div(multiplier)).mul(edgePerPosition)).div(multiplierOfPrice));
}
}
function getLpIsWorking(int minSpeadBp) public constant returns (bool )
{
if (isLpStart == false)
return false;
if (lpAskVolume == 0 || lpBidVolume == 0)
{
return false;
}
int256 bidPrice = int256(getLpBidPrice());
int256 askPrice = int256(getLpAskPrice());
if (askPrice - bidPrice > minSpeadBp * (bidPrice + askPrice) / 2 / 10000)
{
return false;
}
return true;
}
function getAmountOfLinkerBuy(uint256 etherAmountOfSell) public constant returns (uint256)
{
return ((( multiplierOfPrice.mul(etherAmountOfSell) ).div(getLpAskPrice())).mul(uint256(10000).sub(lpFeeBp))).div(uint256(10000));
}
function getAmountOfEtherSell(uint256 linkerAmountOfBuy) public constant returns (uint256)
{
return (((getLpBidPrice().mul(linkerAmountOfBuy)).div(multiplierOfPrice)).mul(uint256(10000).sub(lpFeeBp))).div(uint256(10000));
}
function () public payable {
}
function buy() public payable returns (uint256){
require (getLpIsWorking(500)); // Check Whether Lp Bid and Ask spread is less than 5%
uint256 amount = getAmountOfLinkerBuy(msg.value); // calculates the amount of buy from customer
require(balances[owner] >= amount); // checks if it has enough to sell
balances[msg.sender] = balances[msg.sender].add(amount); // adds the amount to buyer's balance
balances[owner] = balances[owner].sub(amount); // subtracts amount from seller's balance
lpAskVolume = lpAskVolume.sub(amount);
Transfer(owner, msg.sender, amount); // execute an event reflecting the chang // ends function and returns
return amount;
}
function sell(uint256 amount)public returns (uint256) {
require (getLpIsWorking(500));
require (balances[msg.sender] >= amount); // checks if the sender has enough to sell
balances[owner] = balances[owner].add(amount); // adds the amount to owner's balance
balances[msg.sender] = balances[msg.sender].sub(amount); // subtracts the amount from seller's balance
lpBidVolume = lpBidVolume.sub(amount);
uint256 linkerSendAmount = getAmountOfEtherSell(amount);
msg.sender.transfer(linkerSendAmount); // sends ether to the seller: it's important to do this last to prevent recursion attacks
Transfer(msg.sender, this, linkerSendAmount); // executes an event reflecting on the change
return linkerSendAmount; // ends function and returns
}
function transferEther(uint256 amount) onlyOwner public{
msg.sender.transfer(amount);
Transfer(msg.sender, this, amount);
}
}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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimalOfPrice","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"supply","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"multiplier","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lpBidVolume","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"etherAmountOfSell","type":"uint256"}],"name":"getAmountOfLinkerBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"IsFreezedAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"minSpeadBp","type":"int256"}],"name":"getLpIsWorking","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isBurn","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isLpStart","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":"lpBidPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_isLpStart","type":"bool"}],"name":"setLpIsStart","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_lpMaxVolume","type":"uint256"}],"name":"setLpMaxVolume","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_lpTargetPosition","type":"uint256"}],"name":"setLPTargetPostion","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"linkerAmountOfBuy","type":"uint256"}],"name":"getAmountOfEtherSell","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"transferEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lpTargetPosition","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_lpFeeBp","type":"uint256"}],"name":"setLpFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lpAskPrice","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":"buy","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_isBurnStart","type":"bool"}],"name":"setBurnStart","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"multiplierOfPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"FreezeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lpFeeBp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getLpBidPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_lpBidPrice","type":"uint256"},{"name":"_lpAskPrice","type":"uint256"},{"name":"_lpBidVolume","type":"uint256"},{"name":"_lpAskVolume","type":"uint256"}],"name":"setPrices","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getLpAskPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"sell","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"edgePerPosition","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lpMaxVolume","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_edgePerPosition","type":"uint256"}],"name":"setEdgePerPosition","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lpAskVolume","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_isBurnStart","type":"bool"}],"name":"SetBurnStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_lpBidPrice","type":"uint256"},{"indexed":false,"name":"_lpAskPrice","type":"uint256"},{"indexed":false,"name":"_lpBidVolume","type":"uint256"},{"indexed":false,"name":"_lpAskVolume","type":"uint256"}],"name":"SetPrices","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_lpMaxVolume","type":"uint256"}],"name":"SetLpMaxVolume","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_edgePerPosition","type":"uint256"}],"name":"SetEdgePerPosition","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_lpTargetPositionn","type":"uint256"}],"name":"SetLPTargetPostion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_lpFeeBp","type":"uint256"}],"name":"SetLpFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_isLpStart","type":"bool"}],"name":"SetLpIsStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","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
60606040526b019d971e4fe8401e74000000600090815564174876e80060055560016006819055600782905560089190915569d3c21bcecceda1000000600955600a908155600c55600d805461ffff19169055341561005d57600080fd5b60028054600160a060020a03338116600160a060020a0319909216821792839055600080549390911681526003602052604080822084905591815220556aa56fa5b99019a5c8000000600b556114ff806100b86000396000f3006060604052600436106102035763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610205578063095ea7b31461028f57806310dc0e3c146102c557806318160ddd146102ee5780631b3ed72214610313578063208ebf161461032657806323b872dd1461033957806327c8dae514610361578063282b5b19146103775780632b99a087146103965780632d067d4c146103ac5780632e3fa349146103bf578063313ce567146103d25780633d20e09e146103e557806342966c68146103f8578063488b380b1461040e5780634f3d1c27146104265780635066a9ac1461043c578063583067721461045257806370a082311461046857806373ffd5b7146104875780637489308f1461049d57806384dfbfe2146104b0578063880c0b9d146104c65780638da5cb5b146104d957806395d89b4114610508578063a6f2ae3a1461051b578063a9059cbb14610523578063b414d4b614610545578063b777b11e14610564578063c71bf8ba1461057c578063d16a7a4b1461058f578063d5e38f60146105b3578063d69932a3146105c6578063d8e86854146105d9578063dd62ed3e146105f8578063dd7d6bb01461061d578063e4849b3214610630578063f0ec94cf14610646578063f4700d3e14610659578063f92681701461066c578063fb97b61f14610682575b005b341561021057600080fd5b610218610695565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561025457808201518382015260200161023c565b50505050905090810190601f1680156102815780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561029a57600080fd5b6102b1600160a060020a03600435166024356106cc565b604051901515815260200160405180910390f35b34156102d057600080fd5b6102d8610739565b60405160ff909116815260200160405180910390f35b34156102f957600080fd5b61030161073e565b60405190815260200160405180910390f35b341561031e57600080fd5b610301610744565b341561033157600080fd5b610301610750565b341561034457600080fd5b6102b1600160a060020a0360043581169060243516604435610756565b341561036c57600080fd5b61030160043561090e565b341561038257600080fd5b6102b1600160a060020a0360043516610970565b34156103a157600080fd5b6102b160043561098e565b34156103b757600080fd5b6102b1610a05565b34156103ca57600080fd5b6102b1610a13565b34156103dd57600080fd5b6102d8610a1c565b34156103f057600080fd5b610301610a21565b341561040357600080fd5b6102b1600435610a27565b341561041957600080fd5b6102036004351515610b01565b341561043157600080fd5b610203600435610b2f565b341561044757600080fd5b610203600435610bbf565b341561045d57600080fd5b610301600435610c28565b341561047357600080fd5b610301600160a060020a0360043516610c5f565b341561049257600080fd5b610203600435610c7a565b34156104a857600080fd5b610301610cfe565b34156104bb57600080fd5b610203600435610d04565b34156104d157600080fd5b610301610d68565b34156104e457600080fd5b6104ec610d6e565b604051600160a060020a03909116815260200160405180910390f35b341561051357600080fd5b610218610d7d565b610301610db4565b341561052e57600080fd5b6102b1600160a060020a0360043516602435610ecc565b341561055057600080fd5b6102b1600160a060020a0360043516610ffb565b341561056f57600080fd5b6102036004351515611010565b341561058757600080fd5b610301611045565b341561059a57600080fd5b610203600160a060020a0360043516602435151561104e565b34156105be57600080fd5b6103016110da565b34156105d157600080fd5b6103016110e0565b34156105e457600080fd5b61020360043560243560443560643561115a565b341561060357600080fd5b610301600160a060020a0360043581169060243516611208565b341561062857600080fd5b610301611233565b341561063b57600080fd5b6103016004356112a6565b341561065157600080fd5b6103016113ef565b341561066457600080fd5b6103016113f5565b341561067757600080fd5b6102036004356113fb565b341561068d57600080fd5b610301611451565b60408051908101604052600b81527f4c696e6b657220436f696e000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b600a81565b60005490565b670de0b6b3a764000081565b60085481565b6000600160a060020a03831615801590610776575061077484610970565b155b801561079b5750600160a060020a038416600090815260036020526040902054829010155b80156107ce5750600160a060020a0380851660009081526004602090815260408083203390941683529290522054829010155b80156107da5750600082115b80156107ff5750600160a060020a038316600090815260036020526040902054828101115b1561090357600160a060020a03841660009081526003602052604090205461082d908363ffffffff61145716565b600160a060020a0380861660009081526003602090815260408083209490945560048152838220339093168252919091522054610870908363ffffffff61145716565b600160a060020a03808616600090815260046020908152604080832033851684528252808320949094559186168152600390915220546108b6908363ffffffff61146916565b600160a060020a03808516600081815260036020526040908190209390935591908616906000805160206114b48339815191529085905190815260200160405180910390a3506001610907565b5060005b9392505050565b6000610968612710610950610930600c5461271061145790919063ffffffff16565b61095c61093b611233565b6109506402540be4008963ffffffff61147816565b9063ffffffff61149c16565b9063ffffffff61147816565b90505b919050565b600160a060020a031660009081526001602052604090205460ff1690565b600d546000908190819060ff1615156109aa57600092506109fe565b60075415806109b95750600854155b156109c757600092506109fe565b6109cf6110e0565b91506109d9611233565b905061271060028383018602050582820313156109f957600092506109fe565b600192505b5050919050565b600d54610100900460ff1681565b600d5460ff1681565b601281565b60065481565b60025460009033600160a060020a03908116911614610a4557600080fd5b600d5460ff61010090910416151560011415610af957600160a060020a033316600090815260036020526040902054610a84908363ffffffff61145716565b600160a060020a03331660009081526003602052604081209190915554610ab1908363ffffffff61145716565b600055600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a250600161096b565b50600061096b565b60025433600160a060020a03908116911614610b1c57600080fd5b600d805460ff1916911515919091179055565b60025433600160a060020a03908116911614610b4a57600080fd5b69d3c21bcecceda10000008110610b6057600080fd5b6009819055600854811015610b76576009546008555b6007546009541015610b89576009546007555b7f6bf3a80fb80f345cda93ccc22fc46d3d7f7b4536786835273dff470660bee5108160405190815260200160405180910390a150565b60025433600160a060020a03908116911614610bda57600080fd5b610be261073e565b8110610bed57600080fd5b600b8190557f754b199c43f754f28aa2556f920e1aac962d350a68ffdc36a40530f48fd06fdc8160405190815260200160405180910390a150565b6000610968612710610950610c4a600c5461271061145790919063ffffffff16565b61095c6402540be4006109508861095c6110e0565b600160a060020a031660009081526003602052604090205490565b60025433600160a060020a03908116911614610c9557600080fd5b600160a060020a03331681156108fc0282604051600060405180830381858888f193505050501515610cc657600080fd5b30600160a060020a031633600160a060020a03166000805160206114b48339815191528360405190815260200160405180910390a350565b600b5481565b60025433600160a060020a03908116911614610d1f57600080fd5b6064811115610d2d57600080fd5b600c8190557ff84fbeceb34b4f0b4b5fde345e69bcd24855f49eebfe32428b0a0757aaf5c74e8160405190815260200160405180910390a150565b60055481565b600254600160a060020a031681565b60408051908101604052600381527f4c4e430000000000000000000000000000000000000000000000000000000000602082015281565b600080610dc26101f461098e565b1515610dcd57600080fd5b610dd63461090e565b600254600160a060020a031660009081526003602052604090205490915081901015610e0157600080fd5b600160a060020a033316600090815260036020526040902054610e2a908263ffffffff61146916565b600160a060020a033381166000908152600360205260408082209390935560025490911681522054610e62908263ffffffff61145716565b600254600160a060020a0316600090815260036020526040902055600754610e90908263ffffffff61145716565b600755600254600160a060020a0333811691166000805160206114b48339815191528360405190815260200160405180910390a38091505b5090565b6000600160a060020a03831615801590610eec5750610eea33610970565b155b8015610f115750600160a060020a033316600090815260036020526040902054829010155b8015610f1d5750600082115b8015610f425750600160a060020a038316600090815260036020526040902054828101115b15610ff357600160a060020a033316600090815260036020526040902054610f70908363ffffffff61145716565b600160a060020a033381166000908152600360205260408082209390935590851681522054610fa5908363ffffffff61146916565b600160a060020a0380851660008181526003602052604090819020939093559133909116906000805160206114b48339815191529085905190815260200160405180910390a3506001610733565b506000610733565b60016020526000908152604090205460ff1681565b60025433600160a060020a0390811691161461102b57600080fd5b600d80549115156101000261ff0019909216919091179055565b6402540be40081565b60025433600160a060020a0390811691161461106957600080fd5b600160a060020a03821660009081526001602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b600c5481565b60025460009081906110fa90600160a060020a0316610c5f565b905080600b54101515611111576006549150610ec8565b6111536111446402540be400610950600a5461095c670de0b6b3a7640000610950600b548961145790919063ffffffff16565b6006549063ffffffff61145716565b9150610ec8565b60025433600160a060020a0390811691161461117557600080fd5b82841061118157600080fd5b60095482111561119057600080fd5b60095481111561119f57600080fd5b60068490556005839055600882905560078190557f763444ac522f315220d03d08687997d06af4a5a3b33e8866d49f8482ba8f252b848484846040518085815260200184815260200183815260200182815260200194505050505060405180910390a150505050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b600254600090819061124d90600160a060020a0316610c5f565b905080600b54111515611264576005549150610ec8565b6111536112976402540be400610950600a5461095c670de0b6b3a764000061095088600b5461145790919063ffffffff16565b6005549063ffffffff61146916565b6000806112b46101f461098e565b15156112bf57600080fd5b600160a060020a033316600090815260036020526040902054839010156112e557600080fd5b600254600160a060020a0316600090815260036020526040902054611310908463ffffffff61146916565b600254600160a060020a03908116600090815260036020526040808220939093553390911681522054611349908463ffffffff61145716565b600160a060020a033316600090815260036020526040902055600854611375908463ffffffff61145716565b60085561138183610c28565b9050600160a060020a03331681156108fc0282604051600060405180830381858888f1935050505015156113b457600080fd5b30600160a060020a031633600160a060020a03166000805160206114b48339815191528360405190815260200160405180910390a392915050565b600a5481565b60095481565b60025433600160a060020a0390811691161461141657600080fd5b600a8190557f9580ba016ea46111b2e22c20cc19e818708b3fa7b03d15b30e1b38841de908198160405190815260200160405180910390a150565b60075481565b60008282111561146357fe5b50900390565b60008282018381101561090757fe5b6000828202831580611494575082848281151561149157fe5b04145b151561090757fe5b60008082848115156114aa57fe5b049493505050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820cab7b499bd04e734f1b2774d16fd30494ee5395b9db7e32f845987567bdf98710029
Deployed Bytecode
0x6060604052600436106102035763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610205578063095ea7b31461028f57806310dc0e3c146102c557806318160ddd146102ee5780631b3ed72214610313578063208ebf161461032657806323b872dd1461033957806327c8dae514610361578063282b5b19146103775780632b99a087146103965780632d067d4c146103ac5780632e3fa349146103bf578063313ce567146103d25780633d20e09e146103e557806342966c68146103f8578063488b380b1461040e5780634f3d1c27146104265780635066a9ac1461043c578063583067721461045257806370a082311461046857806373ffd5b7146104875780637489308f1461049d57806384dfbfe2146104b0578063880c0b9d146104c65780638da5cb5b146104d957806395d89b4114610508578063a6f2ae3a1461051b578063a9059cbb14610523578063b414d4b614610545578063b777b11e14610564578063c71bf8ba1461057c578063d16a7a4b1461058f578063d5e38f60146105b3578063d69932a3146105c6578063d8e86854146105d9578063dd62ed3e146105f8578063dd7d6bb01461061d578063e4849b3214610630578063f0ec94cf14610646578063f4700d3e14610659578063f92681701461066c578063fb97b61f14610682575b005b341561021057600080fd5b610218610695565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561025457808201518382015260200161023c565b50505050905090810190601f1680156102815780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561029a57600080fd5b6102b1600160a060020a03600435166024356106cc565b604051901515815260200160405180910390f35b34156102d057600080fd5b6102d8610739565b60405160ff909116815260200160405180910390f35b34156102f957600080fd5b61030161073e565b60405190815260200160405180910390f35b341561031e57600080fd5b610301610744565b341561033157600080fd5b610301610750565b341561034457600080fd5b6102b1600160a060020a0360043581169060243516604435610756565b341561036c57600080fd5b61030160043561090e565b341561038257600080fd5b6102b1600160a060020a0360043516610970565b34156103a157600080fd5b6102b160043561098e565b34156103b757600080fd5b6102b1610a05565b34156103ca57600080fd5b6102b1610a13565b34156103dd57600080fd5b6102d8610a1c565b34156103f057600080fd5b610301610a21565b341561040357600080fd5b6102b1600435610a27565b341561041957600080fd5b6102036004351515610b01565b341561043157600080fd5b610203600435610b2f565b341561044757600080fd5b610203600435610bbf565b341561045d57600080fd5b610301600435610c28565b341561047357600080fd5b610301600160a060020a0360043516610c5f565b341561049257600080fd5b610203600435610c7a565b34156104a857600080fd5b610301610cfe565b34156104bb57600080fd5b610203600435610d04565b34156104d157600080fd5b610301610d68565b34156104e457600080fd5b6104ec610d6e565b604051600160a060020a03909116815260200160405180910390f35b341561051357600080fd5b610218610d7d565b610301610db4565b341561052e57600080fd5b6102b1600160a060020a0360043516602435610ecc565b341561055057600080fd5b6102b1600160a060020a0360043516610ffb565b341561056f57600080fd5b6102036004351515611010565b341561058757600080fd5b610301611045565b341561059a57600080fd5b610203600160a060020a0360043516602435151561104e565b34156105be57600080fd5b6103016110da565b34156105d157600080fd5b6103016110e0565b34156105e457600080fd5b61020360043560243560443560643561115a565b341561060357600080fd5b610301600160a060020a0360043581169060243516611208565b341561062857600080fd5b610301611233565b341561063b57600080fd5b6103016004356112a6565b341561065157600080fd5b6103016113ef565b341561066457600080fd5b6103016113f5565b341561067757600080fd5b6102036004356113fb565b341561068d57600080fd5b610301611451565b60408051908101604052600b81527f4c696e6b657220436f696e000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b600a81565b60005490565b670de0b6b3a764000081565b60085481565b6000600160a060020a03831615801590610776575061077484610970565b155b801561079b5750600160a060020a038416600090815260036020526040902054829010155b80156107ce5750600160a060020a0380851660009081526004602090815260408083203390941683529290522054829010155b80156107da5750600082115b80156107ff5750600160a060020a038316600090815260036020526040902054828101115b1561090357600160a060020a03841660009081526003602052604090205461082d908363ffffffff61145716565b600160a060020a0380861660009081526003602090815260408083209490945560048152838220339093168252919091522054610870908363ffffffff61145716565b600160a060020a03808616600090815260046020908152604080832033851684528252808320949094559186168152600390915220546108b6908363ffffffff61146916565b600160a060020a03808516600081815260036020526040908190209390935591908616906000805160206114b48339815191529085905190815260200160405180910390a3506001610907565b5060005b9392505050565b6000610968612710610950610930600c5461271061145790919063ffffffff16565b61095c61093b611233565b6109506402540be4008963ffffffff61147816565b9063ffffffff61149c16565b9063ffffffff61147816565b90505b919050565b600160a060020a031660009081526001602052604090205460ff1690565b600d546000908190819060ff1615156109aa57600092506109fe565b60075415806109b95750600854155b156109c757600092506109fe565b6109cf6110e0565b91506109d9611233565b905061271060028383018602050582820313156109f957600092506109fe565b600192505b5050919050565b600d54610100900460ff1681565b600d5460ff1681565b601281565b60065481565b60025460009033600160a060020a03908116911614610a4557600080fd5b600d5460ff61010090910416151560011415610af957600160a060020a033316600090815260036020526040902054610a84908363ffffffff61145716565b600160a060020a03331660009081526003602052604081209190915554610ab1908363ffffffff61145716565b600055600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a250600161096b565b50600061096b565b60025433600160a060020a03908116911614610b1c57600080fd5b600d805460ff1916911515919091179055565b60025433600160a060020a03908116911614610b4a57600080fd5b69d3c21bcecceda10000008110610b6057600080fd5b6009819055600854811015610b76576009546008555b6007546009541015610b89576009546007555b7f6bf3a80fb80f345cda93ccc22fc46d3d7f7b4536786835273dff470660bee5108160405190815260200160405180910390a150565b60025433600160a060020a03908116911614610bda57600080fd5b610be261073e565b8110610bed57600080fd5b600b8190557f754b199c43f754f28aa2556f920e1aac962d350a68ffdc36a40530f48fd06fdc8160405190815260200160405180910390a150565b6000610968612710610950610c4a600c5461271061145790919063ffffffff16565b61095c6402540be4006109508861095c6110e0565b600160a060020a031660009081526003602052604090205490565b60025433600160a060020a03908116911614610c9557600080fd5b600160a060020a03331681156108fc0282604051600060405180830381858888f193505050501515610cc657600080fd5b30600160a060020a031633600160a060020a03166000805160206114b48339815191528360405190815260200160405180910390a350565b600b5481565b60025433600160a060020a03908116911614610d1f57600080fd5b6064811115610d2d57600080fd5b600c8190557ff84fbeceb34b4f0b4b5fde345e69bcd24855f49eebfe32428b0a0757aaf5c74e8160405190815260200160405180910390a150565b60055481565b600254600160a060020a031681565b60408051908101604052600381527f4c4e430000000000000000000000000000000000000000000000000000000000602082015281565b600080610dc26101f461098e565b1515610dcd57600080fd5b610dd63461090e565b600254600160a060020a031660009081526003602052604090205490915081901015610e0157600080fd5b600160a060020a033316600090815260036020526040902054610e2a908263ffffffff61146916565b600160a060020a033381166000908152600360205260408082209390935560025490911681522054610e62908263ffffffff61145716565b600254600160a060020a0316600090815260036020526040902055600754610e90908263ffffffff61145716565b600755600254600160a060020a0333811691166000805160206114b48339815191528360405190815260200160405180910390a38091505b5090565b6000600160a060020a03831615801590610eec5750610eea33610970565b155b8015610f115750600160a060020a033316600090815260036020526040902054829010155b8015610f1d5750600082115b8015610f425750600160a060020a038316600090815260036020526040902054828101115b15610ff357600160a060020a033316600090815260036020526040902054610f70908363ffffffff61145716565b600160a060020a033381166000908152600360205260408082209390935590851681522054610fa5908363ffffffff61146916565b600160a060020a0380851660008181526003602052604090819020939093559133909116906000805160206114b48339815191529085905190815260200160405180910390a3506001610733565b506000610733565b60016020526000908152604090205460ff1681565b60025433600160a060020a0390811691161461102b57600080fd5b600d80549115156101000261ff0019909216919091179055565b6402540be40081565b60025433600160a060020a0390811691161461106957600080fd5b600160a060020a03821660009081526001602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b600c5481565b60025460009081906110fa90600160a060020a0316610c5f565b905080600b54101515611111576006549150610ec8565b6111536111446402540be400610950600a5461095c670de0b6b3a7640000610950600b548961145790919063ffffffff16565b6006549063ffffffff61145716565b9150610ec8565b60025433600160a060020a0390811691161461117557600080fd5b82841061118157600080fd5b60095482111561119057600080fd5b60095481111561119f57600080fd5b60068490556005839055600882905560078190557f763444ac522f315220d03d08687997d06af4a5a3b33e8866d49f8482ba8f252b848484846040518085815260200184815260200183815260200182815260200194505050505060405180910390a150505050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b600254600090819061124d90600160a060020a0316610c5f565b905080600b54111515611264576005549150610ec8565b6111536112976402540be400610950600a5461095c670de0b6b3a764000061095088600b5461145790919063ffffffff16565b6005549063ffffffff61146916565b6000806112b46101f461098e565b15156112bf57600080fd5b600160a060020a033316600090815260036020526040902054839010156112e557600080fd5b600254600160a060020a0316600090815260036020526040902054611310908463ffffffff61146916565b600254600160a060020a03908116600090815260036020526040808220939093553390911681522054611349908463ffffffff61145716565b600160a060020a033316600090815260036020526040902055600854611375908463ffffffff61145716565b60085561138183610c28565b9050600160a060020a03331681156108fc0282604051600060405180830381858888f1935050505015156113b457600080fd5b30600160a060020a031633600160a060020a03166000805160206114b48339815191528360405190815260200160405180910390a392915050565b600a5481565b60095481565b60025433600160a060020a0390811691161461141657600080fd5b600a8190557f9580ba016ea46111b2e22c20cc19e818708b3fa7b03d15b30e1b38841de908198160405190815260200160405180910390a150565b60075481565b60008282111561146357fe5b50900390565b60008282018381101561090757fe5b6000828202831580611494575082848281151561149157fe5b04145b151561090757fe5b60008082848115156114aa57fe5b049493505050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820cab7b499bd04e734f1b2774d16fd30494ee5395b9db7e32f845987567bdf98710029
Swarm Source
bzzr://cab7b499bd04e734f1b2774d16fd30494ee5395b9db7e32f845987567bdf9871
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)