ERC-20
Others
Overview
Max Total Supply
47,503.2535 LNK
Holders
308 (0.00%)
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LinkToken
Compiler Version
v0.4.8+commit.60cc1668
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-06-29 */ pragma solidity ^0.4.8; /// @title Link Token. This Token will remain the cornerstone of the entire organization. It will have an Ethereum address and from the moment that address is publish until the end, it will remain the same, and should. The Token should be as simple as it possibly can be and should not be able to terminate. It's state remains so that those who control their Tokens will continue to do so. /// @author Riaan F Venter~ RFVenter~ <[email protected]> /* * ERC20Basic * Simpler version of ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20Basic { uint public totalSupply; function balanceOf(address who) constant returns (uint); function transfer(address to, uint value); event Transfer(address indexed from, address indexed to, uint value); } /** * Math operations with safety checks */ library SafeMath { function mul(uint a, uint b) internal returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint a, uint b) internal returns (uint) { assert(b > 0); uint c = a / b; assert(a == b * c + a % b); return c; } function sub(uint a, uint b) internal returns (uint) { assert(b <= a); return a - b; } function add(uint a, uint b) internal returns (uint) { uint 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 (uint64) { 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; } function assert(bool assertion) internal { if (!assertion) { throw; } } } /* * Basic token * Basic version of StandardToken, with no allowances */ contract BasicToken is ERC20Basic { using SafeMath for uint; mapping(address => uint) balances; /* * Fix for the ERC20 short address attack */ modifier onlyPayloadSize(uint size) { if(msg.data.length < size + 4) { throw; } _; } function transfer(address _to, uint _value) onlyPayloadSize(2 * 32) { balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); } function balanceOf(address _owner) constant returns (uint balance) { return balances[_owner]; } } /* * ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) constant returns (uint); function transferFrom(address from, address to, uint value); function approve(address spender, uint value); event Approval(address indexed owner, address indexed spender, uint value); } /** * Standard ERC20 token * * https://github.com/ethereum/EIPs/issues/20 * Based on code by FirstBlood: * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is BasicToken, ERC20 { mapping (address => mapping (address => uint)) allowed; function transferFrom(address _from, address _to, uint _value) { var _allowance = allowed[_from][msg.sender]; // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met // if (_value > _allowance) throw; balances[_to] = balances[_to].add(_value); balances[_from] = balances[_from].sub(_value); allowed[_from][msg.sender] = _allowance.sub(_value); Transfer(_from, _to, _value); } function approve(address _spender, uint _value) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); } function allowance(address _owner, address _spender) constant returns (uint remaining) { return allowed[_owner][_spender]; } } /* * Ownable * * Base contract with an owner. * Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner. */ contract Ownable { address public owner; function Ownable() { owner = msg.sender; } modifier onlyOwner() { if (msg.sender != owner) { throw; } _; } function transferOwnership(address newOwner) onlyOwner { if (newOwner != address(0)) { owner = newOwner; } } } contract LinkToken is StandardToken, Ownable { string public name = "Link Platform"; // Name of the Token string public symbol = "LNK"; // ERC20 compliant Token code uint public decimals = 18; // Token has 18 digit precision uint public totalSupply; // Total supply function mint(address _spender, uint _value) onlyOwner { balances[_spender] += _value; totalSupply += _value; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"mint","outputs":[],"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":"owner","outputs":[{"name":"","type":"address"}],"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":[],"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"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"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":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
60a0604052600d60608190527f4c696e6b20506c6174666f726d0000000000000000000000000000000000000060809081526004805460008290527f4c696e6b20506c6174666f726d0000000000000000000000000000000000001a825590927f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b602060026001851615610100026000190190941693909304601f01929092048201929091906100d7565b828001600101855582156100d7579182015b828111156100d75782518255916020019190600101906100bc565b5b506100f89291505b808211156100f457600081556001016100e0565b5090565b50506040805180820190915260038082527f4c4e4b000000000000000000000000000000000000000000000000000000000060209283019081526005805460008290528251600660ff1990911617825590937f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db060026001841615610100026000190190931692909204601f0104810192916101bb565b828001600101855582156101bb579182015b828111156101bb5782518255916020019190600101906101a0565b5b506101dc9291505b808211156100f457600081556001016100e0565b5090565b505060126006555b60038054600160a060020a03191633600160a060020a03161790555b5b6107e7806102106000396000f3006060604052361561009e5763ffffffff60e060020a60003504166306fdde0381146100a3578063095ea7b31461013057806318160ddd1461014e57806323b872dd1461016d578063313ce5671461019157806340c10f19146101b057806370a08231146101ce5780638da5cb5b146101f957806395d89b4114610222578063a9059cbb146102af578063dd62ed3e146102cd578063f2fde38b146102fe575b610000565b34610000576100b0610319565b6040805160208082528351818301528351919283929083019185019080838382156100f6575b8051825260208311156100f657601f1990920191602091820191016100d6565b505050905090810190601f1680156101225780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b346100005761014c600160a060020a03600435166024356103a7565b005b346100005761015b610409565b60408051918252519081900360200190f35b346100005761014c600160a060020a036004358116906024351660443561040f565b005b346100005761015b61051b565b60408051918252519081900360200190f35b346100005761014c600160a060020a0360043516602435610521565b005b346100005761015b600160a060020a0360043516610568565b60408051918252519081900360200190f35b3461000057610206610587565b60408051600160a060020a039092168252519081900360200190f35b34610000576100b0610596565b6040805160208082528351818301528351919283929083019185019080838382156100f6575b8051825260208311156100f657601f1990920191602091820191016100d6565b505050905090810190601f1680156101225780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b346100005761014c600160a060020a0360043516602435610624565b005b346100005761015b600160a060020a03600435811690602435166106f1565b60408051918252519081900360200190f35b346100005761014c600160a060020a036004351661071e565b005b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561039f5780601f106103745761010080835404028352916020019161039f565b820191906000526020600020905b81548152906001019060200180831161038257829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35b5050565b60075481565b600160a060020a038084166000908152600260209081526040808320338516845282528083205493861683526001909152902054610453908363ffffffff61077616565b600160a060020a038085166000908152600160205260408082209390935590861681522054610488908363ffffffff61079216565b600160a060020a0385166000908152600160205260409020556104b1818363ffffffff61079216565b600160a060020a038086166000818152600260209081526040808320338616845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35b50505050565b60065481565b60035433600160a060020a0390811691161461053c57610000565b600160a060020a038216600090815260016020526040902080548201905560078054820190555b5b5050565b600160a060020a0381166000908152600160205260409020545b919050565b600354600160a060020a031681565b6005805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561039f5780601f106103745761010080835404028352916020019161039f565b820191906000526020600020905b81548152906001019060200180831161038257829003601f168201915b505050505081565b6040604436101561063457610000565b600160a060020a03331660009081526001602052604090205461065d908363ffffffff61079216565b600160a060020a033381166000908152600160205260408082209390935590851681522054610692908363ffffffff61077616565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35b5b505050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60035433600160a060020a0390811691161461073957610000565b600160a060020a03811615610771576003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b5b50565b6000828201610787848210156107ab565b8091505b5092915050565b60006107a0838311156107ab565b508082035b92915050565b80151561077157610000565b5b505600a165627a7a723058207c960f3d54bf2cc5be7b844b15b06a729c46480b5ec1222406972d3609c6aa440029
Deployed Bytecode
0x6060604052361561009e5763ffffffff60e060020a60003504166306fdde0381146100a3578063095ea7b31461013057806318160ddd1461014e57806323b872dd1461016d578063313ce5671461019157806340c10f19146101b057806370a08231146101ce5780638da5cb5b146101f957806395d89b4114610222578063a9059cbb146102af578063dd62ed3e146102cd578063f2fde38b146102fe575b610000565b34610000576100b0610319565b6040805160208082528351818301528351919283929083019185019080838382156100f6575b8051825260208311156100f657601f1990920191602091820191016100d6565b505050905090810190601f1680156101225780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b346100005761014c600160a060020a03600435166024356103a7565b005b346100005761015b610409565b60408051918252519081900360200190f35b346100005761014c600160a060020a036004358116906024351660443561040f565b005b346100005761015b61051b565b60408051918252519081900360200190f35b346100005761014c600160a060020a0360043516602435610521565b005b346100005761015b600160a060020a0360043516610568565b60408051918252519081900360200190f35b3461000057610206610587565b60408051600160a060020a039092168252519081900360200190f35b34610000576100b0610596565b6040805160208082528351818301528351919283929083019185019080838382156100f6575b8051825260208311156100f657601f1990920191602091820191016100d6565b505050905090810190601f1680156101225780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b346100005761014c600160a060020a0360043516602435610624565b005b346100005761015b600160a060020a03600435811690602435166106f1565b60408051918252519081900360200190f35b346100005761014c600160a060020a036004351661071e565b005b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561039f5780601f106103745761010080835404028352916020019161039f565b820191906000526020600020905b81548152906001019060200180831161038257829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35b5050565b60075481565b600160a060020a038084166000908152600260209081526040808320338516845282528083205493861683526001909152902054610453908363ffffffff61077616565b600160a060020a038085166000908152600160205260408082209390935590861681522054610488908363ffffffff61079216565b600160a060020a0385166000908152600160205260409020556104b1818363ffffffff61079216565b600160a060020a038086166000818152600260209081526040808320338616845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35b50505050565b60065481565b60035433600160a060020a0390811691161461053c57610000565b600160a060020a038216600090815260016020526040902080548201905560078054820190555b5b5050565b600160a060020a0381166000908152600160205260409020545b919050565b600354600160a060020a031681565b6005805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561039f5780601f106103745761010080835404028352916020019161039f565b820191906000526020600020905b81548152906001019060200180831161038257829003601f168201915b505050505081565b6040604436101561063457610000565b600160a060020a03331660009081526001602052604090205461065d908363ffffffff61079216565b600160a060020a033381166000908152600160205260408082209390935590851681522054610692908363ffffffff61077616565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35b5b505050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60035433600160a060020a0390811691161461073957610000565b600160a060020a03811615610771576003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b5b50565b6000828201610787848210156107ab565b8091505b5092915050565b60006107a0838311156107ab565b508082035b92915050565b80151561077157610000565b5b505600a165627a7a723058207c960f3d54bf2cc5be7b844b15b06a729c46480b5ec1222406972d3609c6aa440029
Swarm Source
bzzr://7c960f3d54bf2cc5be7b844b15b06a729c46480b5ec1222406972d3609c6aa44
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.