Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
42,000,000 KYC
Holders
3,819
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
10 KYCValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KYCToken
Compiler Version
v0.4.21+commit.dfe3193c
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-05-16 */ pragma solidity ^0.4.18; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { mapping(address => uint256) public balances; function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } } /** * @title Freezing tokens */ contract Freezing is Ownable, ERC20Basic { using SafeMath for uint256; address tokenManager; bool freezingActive = true; event Freeze(address _holder, uint256 _amount); event Unfreeze(address _holder, uint256 _amount); // all freezing sum for every holder mapping(address => uint256) public freezeBalances; modifier onlyTokenManager() { assert(msg.sender == tokenManager); _; } /** * @dev Check freezing balance */ modifier checkFreezing(address _holder, uint _value) { if (freezingActive) { require(balances[_holder].sub(_value) >= freezeBalances[_holder]); } _; } function setTokenManager(address _newManager) onlyOwner public { tokenManager = _newManager; } /** * @dev Enable freezing for contract */ function onFreezing() onlyTokenManager public { freezingActive = true; } /** * @dev Disable freezing for contract */ function offFreezing() onlyTokenManager public { freezingActive = false; } function Freezing() public { tokenManager = owner; } /** * @dev Returns freezing balance of _holder */ function freezingBalanceOf(address _holder) public view returns (uint256) { return freezeBalances[_holder]; } /** * @dev Freeze amount for user */ function freeze(address _holder, uint _amount) public onlyTokenManager { assert(balances[_holder].sub(_amount.add(freezeBalances[_holder])) >= 0); freezeBalances[_holder] = freezeBalances[_holder].add(_amount); emit Freeze(_holder, _amount); } /** * @dev Unfreeze amount for user */ function unfreeze(address _holder, uint _amount) public onlyTokenManager { assert(freezeBalances[_holder].sub(_amount) >= 0); freezeBalances[_holder] = freezeBalances[_holder].sub(_amount); emit Unfreeze(_holder, _amount); } } /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ 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; } /** * @dev Integer division of two numbers, truncating the quotient. */ 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; } /** * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } /** * @title Roles of users */ contract VerificationStatus { enum Statuses {None, Self, Video, Agent, Service} Statuses constant defaultStatus = Statuses.None; event StatusChange(bytes32 _property, address _user, Statuses _status, address _caller); } /** * @title Roles of users * * @dev User roles for KYC Contract */ contract Roles is Ownable { // 0, 1, 2 enum RoleItems {Person, Agent, Administrator} RoleItems constant defaultRole = RoleItems.Person; mapping (address => RoleItems) private roleList; /** * @dev Event for every change of role */ event RoleChange(address _user, RoleItems _role, address _caller); /** * @dev for agent function */ modifier onlyAgent() { assert(roleList[msg.sender] == RoleItems.Agent); _; } /** * @dev for administrator function */ modifier onlyAdministrator() { assert(roleList[msg.sender] == RoleItems.Administrator || msg.sender == owner); _; } /** * @dev Save role for user */ function _setRole(address _user, RoleItems _role) internal { emit RoleChange(_user, _role, msg.sender); roleList[_user] = _role; } /** * @dev reset role */ function resetRole(address _user) onlyAdministrator public { _setRole(_user, RoleItems.Person); } /** * @dev Appointing agent by administrator or owner */ function appointAgent(address _user) onlyAdministrator public { _setRole(_user, RoleItems.Agent); } /** * @dev Appointing administrator by owner */ function appointAdministrator(address _user) onlyOwner public returns (bool) { _setRole(_user, RoleItems.Administrator); return true; } function getRole(address _user) public view returns (RoleItems) { return roleList[_user]; } } /** * @title Storage for users data */ contract PropertyStorage is Roles, VerificationStatus { struct Property { Statuses status; bool exist; uint16 code; } mapping(address => mapping(bytes32 => Property)) private propertyStorage; // agent => property => status mapping(address => mapping(bytes32 => bool)) agentSign; event NewProperty(bytes32 _property, address _user, address _caller); modifier propertyExist(bytes32 _property, address _user) { assert(propertyStorage[_user][_property].exist); _; } /** * @dev Compute hash for property before write into storage * * @param _name Name of property (such as full_name, birthday, address etc.) * @param _data Value of property */ function computePropertyHash(string _name, string _data) pure public returns (bytes32) { return sha256(_name, _data); } function _addPropertyValue(bytes32 _property, address _user) internal { propertyStorage[_user][_property] = Property( Statuses.None, true, 0 ); emit NewProperty(_property, _user, msg.sender); } /** * @dev Add data for any user by administrator */ function addPropertyForUser(bytes32 _property, address _user) public onlyAdministrator returns (bool) { _addPropertyValue(_property, _user); return true; } /** * @dev Add property for sender */ function addProperty(bytes32 _property) public returns (bool) { _addPropertyValue(_property, msg.sender); return true; } /** * @dev Returns status of user data (may be self 1, video 2, agent 3 or Service 4) * @dev If verification is empty then it returns 0 (None) */ function getPropertyStatus(bytes32 _property, address _user) public view propertyExist(_property, _user) returns (Statuses) { return propertyStorage[_user][_property].status; } /** * @dev when user upload documents administrator will call this function */ function setPropertyStatus(bytes32 _property, address _user, Statuses _status) public onlyAdministrator returns (bool){ _setPropertyStatus(_property, _user, _status); return true; } /** * @dev Agent sign on user data by agent */ function setAgentVerificationByAgent(bytes32 _property, address _user) public onlyAgent { _setPropertyStatus(_property, _user, Statuses.Agent); _signPropertyByAgent(msg.sender, _user, _property); } /** * @dev Agent sign on user data by Admin */ function setAgentVerificationByAdmin(address _agent, address _user, bytes32 _property) public onlyOwner { _setPropertyStatus(_property, _user, Statuses.Agent); _signPropertyByAgent(_agent, _user, _property); } /** * @dev Set verification status for user data */ function _setPropertyStatus(bytes32 _property, address _user, Statuses _status) internal propertyExist(_property, _user) { propertyStorage[_user][_property].status = _status; emit StatusChange(_property, _user, _status, msg.sender); } /** * @dev Agent sign on user data */ function _signPropertyByAgent(address _agent, address _user, bytes32 _property) internal { bytes32 _hash = _getHash(_user, _property); agentSign[_agent][_hash] = true; } /** * @dev To make sure that the agent has signed the user property */ function checkAgentSign(address _agent, address _user, bytes32 _property) public view returns (bool) { bytes32 _hash = _getHash(_user, _property); return agentSign[_agent][_hash]; } /** * @dev Get hash sum for property */ function _getHash(address _user, bytes32 _property) public pure returns (bytes32) { return sha256(_user, _property); } } /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract ERC20BasicToken is ERC20Basic, Freezing { using SafeMath for uint256; uint256 totalSupply_; /** * @dev total number of tokens in existence */ function totalSupply() public view returns (uint256) { return totalSupply_; } /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) checkFreezing(msg.sender, _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); // SafeMath.sub will throw if there is not enough balance. balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract KYCToken is ERC20BasicToken, ERC20, PropertyStorage { mapping(address => mapping(address => uint256)) internal allowed; uint256 public totalSupply = 42000000000000000000000000; string public name = "KYC.Legal token"; uint8 public decimals = 18; string public symbol = "KYC"; function balanceOf(address _owner) view public returns (uint256 balance) { return balances[_owner]; } function KYCToken() public { balances[msg.sender] = totalSupply; } /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint256 _value) checkFreezing(_from, _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); emit Transfer(_from, _to, _value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) public constant returns (uint256) { return allowed[_owner][_spender]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_property","type":"bytes32"},{"name":"_user","type":"address"}],"name":"addPropertyForUser","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"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":"","type":"address"}],"name":"freezeBalances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_property","type":"bytes32"},{"name":"_user","type":"address"}],"name":"getPropertyStatus","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_user","type":"address"}],"name":"appointAgent","outputs":[],"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":"_property","type":"bytes32"},{"name":"_user","type":"address"},{"name":"_status","type":"uint8"}],"name":"setPropertyStatus","outputs":[{"name":"","type":"bool"}],"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":false,"inputs":[{"name":"_holder","type":"address"},{"name":"_amount","type":"uint256"}],"name":"freeze","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"onFreezing","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_agent","type":"address"},{"name":"_user","type":"address"},{"name":"_property","type":"bytes32"}],"name":"setAgentVerificationByAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_user","type":"address"}],"name":"getRole","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_user","type":"address"}],"name":"appointAdministrator","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_user","type":"address"},{"name":"_property","type":"bytes32"}],"name":"_getHash","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"pure","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":"_holder","type":"address"},{"name":"_amount","type":"uint256"}],"name":"unfreeze","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newManager","type":"address"}],"name":"setTokenManager","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_agent","type":"address"},{"name":"_user","type":"address"},{"name":"_property","type":"bytes32"}],"name":"checkAgentSign","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"offFreezing","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"_property","type":"bytes32"},{"name":"_user","type":"address"}],"name":"setAgentVerificationByAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_property","type":"bytes32"}],"name":"addProperty","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"name":"_name","type":"string"},{"name":"_data","type":"string"}],"name":"computePropertyHash","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"_holder","type":"address"}],"name":"freezingBalanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_user","type":"address"}],"name":"resetRole","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_property","type":"bytes32"},{"indexed":false,"name":"_user","type":"address"},{"indexed":false,"name":"_caller","type":"address"}],"name":"NewProperty","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_property","type":"bytes32"},{"indexed":false,"name":"_user","type":"address"},{"indexed":false,"name":"_status","type":"uint8"},{"indexed":false,"name":"_caller","type":"address"}],"name":"StatusChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_user","type":"address"},{"indexed":false,"name":"_role","type":"uint8"},{"indexed":false,"name":"_caller","type":"address"}],"name":"RoleChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_holder","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"Freeze","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_holder","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"Unfreeze","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":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
606060409081526002805460a060020a60ff021916740100000000000000000000000000000000000000001790556a22bdd88fed9efc6a0000006009558051908101604052600f81527f4b59432e4c6567616c20746f6b656e00000000000000000000000000000000006020820152600a908051620000839291602001906200012e565b50600b805460ff1916601217905560408051908101604052600381527f4b594300000000000000000000000000000000000000000000000000000000006020820152600c908051620000da9291602001906200012e565b503415620000e757600080fd5b60008054600160a060020a03338116600160a060020a03199283168117808555600280549094169216919091179091556009549082526001602052604090912055620001d3565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200017157805160ff1916838001178555620001a1565b82800160010185558215620001a1579182015b82811115620001a157825182559160200191906001019062000184565b50620001af929150620001b3565b5090565b620001d091905b80821115620001af5760008155600101620001ba565b90565b61168580620001e36000396000f3006060604052600436106101955763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630283f4b4811461019a57806306fdde03146101d0578063095ea7b31461025a5780630d38ed591461027c578063129a5b99146102ad57806313233cd9146102f357806318160ddd14610314578063237326b51461032757806323b872dd1461034f57806324bce60c1461037757806327e235e3146103995780632adbb84d146103b85780632d9346ab146103cb578063313ce567146103f3578063442767331461041c5780636969d5d81461044b5780636f1c8a511461046a57806370a082311461048c5780637b46b80b146104ab5780637cb2b79c146104cd5780637d128d2e146104ec578063831d3e09146105145780638da5cb5b1461052757806395d89b4114610556578063a5b4f7d314610569578063a8c0f15e1461058b578063a9059cbb146105a1578063d024768f146105c3578063d8aeedf514610656578063dd62ed3e14610675578063f2fde38b1461069a578063f57ad503146106b9575b600080fd5b34156101a557600080fd5b6101bc600435600160a060020a03602435166106d8565b604051901515815260200160405180910390f35b34156101db57600080fd5b6101e3610738565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561021f578082015183820152602001610207565b50505050905090810190601f16801561024c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561026557600080fd5b6101bc600160a060020a03600435166024356107d6565b341561028757600080fd5b61029b600160a060020a0360043516610842565b60405190815260200160405180910390f35b34156102b857600080fd5b6102cf600435600160a060020a0360243516610854565b604051808260048111156102df57fe5b60ff16815260200191505060405180910390f35b34156102fe57600080fd5b610312600160a060020a03600435166108b7565b005b341561031f57600080fd5b61029b610910565b341561033257600080fd5b6101bc600435600160a060020a036024351660ff60443516610916565b341561035a57600080fd5b6101bc600160a060020a0360043581169060243516604435610978565b341561038257600080fd5b610312600160a060020a0360043516602435610b53565b34156103a457600080fd5b61029b600160a060020a0360043516610c56565b34156103c357600080fd5b610312610c68565b34156103d657600080fd5b610312600160a060020a0360043581169060243516604435610cb7565b34156103fe57600080fd5b610406610cee565b60405160ff909116815260200160405180910390f35b341561042757600080fd5b61043b600160a060020a0360043516610cf7565b604051808260028111156102df57fe5b341561045657600080fd5b6101bc600160a060020a0360043516610d15565b341561047557600080fd5b61029b600160a060020a0360043516602435610d44565b341561049757600080fd5b61029b600160a060020a0360043516610d9a565b34156104b657600080fd5b610312600160a060020a0360043516602435610db5565b34156104d857600080fd5b610312600160a060020a0360043516610e8e565b34156104f757600080fd5b6101bc600160a060020a0360043581169060243516604435610ed8565b341561051f57600080fd5b610312610f18565b341561053257600080fd5b61053a610f50565b604051600160a060020a03909116815260200160405180910390f35b341561056157600080fd5b6101e3610f5f565b341561057457600080fd5b610312600435600160a060020a0360243516610fca565b341561059657600080fd5b6101bc600435611015565b34156105ac57600080fd5b6101bc600160a060020a0360043516602435611021565b34156105ce57600080fd5b61029b60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965061117595505050505050565b341561066157600080fd5b61029b600160a060020a0360043516611235565b341561068057600080fd5b61029b600160a060020a0360043581169060243516611250565b34156106a557600080fd5b610312600160a060020a036004351661127b565b34156106c457600080fd5b610312600160a060020a0360043516611316565b60006002600160a060020a03331660009081526005602052604090205460ff16600281111561070357fe5b148061071d575060005433600160a060020a039081169116145b151561072557fe5b61072f838361136c565b50600192915050565b600a8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107ce5780601f106107a3576101008083540402835291602001916107ce565b820191906000526020600020905b8154815290600101906020018083116107b157829003601f168201915b505050505081565b600160a060020a03338116600081815260086020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60036020526000908152604090205481565b600160a060020a038116600090815260066020908152604080832085845290915281205483908390610100900460ff16151561088c57fe5b505050600160a060020a03166000908152600660209081526040808320938352929052205460ff1690565b6002600160a060020a03331660009081526005602052604090205460ff1660028111156108e057fe5b14806108fa575060005433600160a060020a039081169116145b151561090257fe5b61090d816001611451565b50565b60095481565b60006002600160a060020a03331660009081526005602052604090205460ff16600281111561094157fe5b148061095b575060005433600160a060020a039081169116145b151561096357fe5b61096e8484846114f9565b5060019392505050565b60008382600260149054906101000a900460ff16156109d157600160a060020a0382166000908152600360209081526040808320546001909252909120546109c6908363ffffffff6115ef16565b10156109d157600080fd5b600160a060020a03851615156109e657600080fd5b600160a060020a038616600090815260016020526040902054841115610a0b57600080fd5b600160a060020a0380871660009081526008602090815260408083203390941683529290522054841115610a3e57600080fd5b600160a060020a038616600090815260016020526040902054610a67908563ffffffff6115ef16565b600160a060020a038088166000908152600160205260408082209390935590871681522054610a9c908563ffffffff61160116565b600160a060020a03808716600090815260016020908152604080832094909455898316825260088152838220339093168252919091522054610ae4908563ffffffff6115ef16565b600160a060020a03808816600081815260086020908152604080832033861684529091529081902093909355908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9087905190815260200160405180910390a350600195945050505050565b60025433600160a060020a03908116911614610b6b57fe5b600160a060020a038216600090815260036020526040812054610bbe90610b9990849063ffffffff61160116565b600160a060020a0385166000908152600160205260409020549063ffffffff6115ef16565b1015610bc657fe5b600160a060020a038216600090815260036020526040902054610bef908263ffffffff61160116565b600160a060020a03831660009081526003602052604090819020919091557ff97a274face0b5517365ad396b1fdba6f68bd3135ef603e44272adba3af5a1e0908390839051600160a060020a03909216825260208201526040908101905180910390a15050565b60016020526000908152604090205481565b60025433600160a060020a03908116911614610c8057fe5b6002805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b60005433600160a060020a03908116911614610cd257600080fd5b610cde818360036114f9565b610ce9838383611617565b505050565b600b5460ff1681565b600160a060020a031660009081526005602052604090205460ff1690565b6000805433600160a060020a03908116911614610d3157600080fd5b610d3c826002611451565b506001919050565b600060028383604051600160a060020a03929092166c0100000000000000000000000002825260148201526034016020604051808303816000865af11515610d8b57600080fd5b50506040518051949350505050565b600160a060020a031660009081526001602052604090205490565b60025433600160a060020a03908116911614610dcd57fe5b600160a060020a038216600090815260036020526040812054610df6908363ffffffff6115ef16565b1015610dfe57fe5b600160a060020a038216600090815260036020526040902054610e27908263ffffffff6115ef16565b600160a060020a03831660009081526003602052604090819020919091557f2cfce4af01bcb9d6cf6c84ee1b7c491100b8695368264146a94d71e10a63083f908390839051600160a060020a03909216825260208201526040908101905180910390a15050565b60005433600160a060020a03908116911614610ea957600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600080610ee58484610d44565b600160a060020a038616600090815260076020908152604080832084845290915290205460ff1692509050509392505050565b60025433600160a060020a03908116911614610f3057fe5b6002805474ff000000000000000000000000000000000000000019169055565b600054600160a060020a031681565b600c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107ce5780601f106107a3576101008083540402835291602001916107ce565b6001600160a060020a03331660009081526005602052604090205460ff166002811115610ff357fe5b14610ffa57fe5b611006828260036114f9565b611011338284611617565b5050565b6000610d3c823361136c565b60003382600260149054906101000a900460ff161561107a57600160a060020a03821660009081526003602090815260408083205460019092529091205461106f908363ffffffff6115ef16565b101561107a57600080fd5b600160a060020a038516151561108f57600080fd5b600160a060020a0333166000908152600160205260409020548411156110b457600080fd5b600160a060020a0333166000908152600160205260409020546110dd908563ffffffff6115ef16565b600160a060020a033381166000908152600160205260408082209390935590871681522054611112908563ffffffff61160116565b600160a060020a0380871660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9087905190815260200160405180910390a3506001949350505050565b6000600283836040518083805190602001908083835b602083106111aa5780518252601f19909201916020918201910161118b565b6001836020036101000a038019825116818451161790925250505091909101905082805190602001908083835b602083106111f65780518252601f1990920191602091820191016111d7565b6001836020036101000a038019825116818451168082178552505050505050905001925050506020604051808303816000865af11515610d8b57600080fd5b600160a060020a031660009081526003602052604090205490565b600160a060020a03918216600090815260086020908152604080832093909416825291909152205490565b60005433600160a060020a0390811691161461129657600080fd5b600160a060020a03811615156112ab57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6002600160a060020a03331660009081526005602052604090205460ff16600281111561133f57fe5b1480611359575060005433600160a060020a039081169116145b151561136157fe5b61090d816000611451565b6060604051908101604090815260008083526001602080850191909152828401829052600160a060020a03851682526006815282822086835290522081518154829060ff191660018360048111156113c057fe5b0217905550602082015181549015156101000261ff00199091161781556040820151815461ffff91909116620100000263ffff000019909116179055507fc38a0ba88d1c761eb7c4653e6152b15a50518db005c563fb256180fd3835c070828233604051928352600160a060020a039182166020840152166040808301919091526060909101905180910390a15050565b7f7b60b51d9cbb1c7f54b04f3391bce64bcfa8296f21b823ad50a83ecfeac02c1c828233604051600160a060020a03841681526020810183600281111561149457fe5b60ff16815260200182600160a060020a0316600160a060020a03168152602001935050505060405180910390a1600160a060020a0382166000908152600560205260409020805482919060ff191660018360028111156114f057fe5b02179055505050565b600160a060020a038216600090815260066020908152604080832086845290915290205483908390610100900460ff16151561153157fe5b600160a060020a03841660009081526006602090815260408083208884529091529020805484919060ff1916600183600481111561156b57fe5b02179055507f5d6360ccb71de639ad0da7dfeaeaefcf243b7f8e3bc084b83ac90f75002e23b785858533604051848152600160a060020a0384166020820152604081018360048111156115ba57fe5b60ff16815260200182600160a060020a0316600160a060020a0316815260200194505050505060405180910390a15050505050565b6000828211156115fb57fe5b50900390565b60008282018381101561161057fe5b9392505050565b60006116238383610d44565b600160a060020a03909416600090815260076020908152604080832096835295905293909320805460ff191660011790555050505600a165627a7a723058206b409675657a52f21c2e73b502940cf915d10441d29aaf14d87da5fda84a2eb30029
Deployed Bytecode
0x6060604052600436106101955763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630283f4b4811461019a57806306fdde03146101d0578063095ea7b31461025a5780630d38ed591461027c578063129a5b99146102ad57806313233cd9146102f357806318160ddd14610314578063237326b51461032757806323b872dd1461034f57806324bce60c1461037757806327e235e3146103995780632adbb84d146103b85780632d9346ab146103cb578063313ce567146103f3578063442767331461041c5780636969d5d81461044b5780636f1c8a511461046a57806370a082311461048c5780637b46b80b146104ab5780637cb2b79c146104cd5780637d128d2e146104ec578063831d3e09146105145780638da5cb5b1461052757806395d89b4114610556578063a5b4f7d314610569578063a8c0f15e1461058b578063a9059cbb146105a1578063d024768f146105c3578063d8aeedf514610656578063dd62ed3e14610675578063f2fde38b1461069a578063f57ad503146106b9575b600080fd5b34156101a557600080fd5b6101bc600435600160a060020a03602435166106d8565b604051901515815260200160405180910390f35b34156101db57600080fd5b6101e3610738565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561021f578082015183820152602001610207565b50505050905090810190601f16801561024c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561026557600080fd5b6101bc600160a060020a03600435166024356107d6565b341561028757600080fd5b61029b600160a060020a0360043516610842565b60405190815260200160405180910390f35b34156102b857600080fd5b6102cf600435600160a060020a0360243516610854565b604051808260048111156102df57fe5b60ff16815260200191505060405180910390f35b34156102fe57600080fd5b610312600160a060020a03600435166108b7565b005b341561031f57600080fd5b61029b610910565b341561033257600080fd5b6101bc600435600160a060020a036024351660ff60443516610916565b341561035a57600080fd5b6101bc600160a060020a0360043581169060243516604435610978565b341561038257600080fd5b610312600160a060020a0360043516602435610b53565b34156103a457600080fd5b61029b600160a060020a0360043516610c56565b34156103c357600080fd5b610312610c68565b34156103d657600080fd5b610312600160a060020a0360043581169060243516604435610cb7565b34156103fe57600080fd5b610406610cee565b60405160ff909116815260200160405180910390f35b341561042757600080fd5b61043b600160a060020a0360043516610cf7565b604051808260028111156102df57fe5b341561045657600080fd5b6101bc600160a060020a0360043516610d15565b341561047557600080fd5b61029b600160a060020a0360043516602435610d44565b341561049757600080fd5b61029b600160a060020a0360043516610d9a565b34156104b657600080fd5b610312600160a060020a0360043516602435610db5565b34156104d857600080fd5b610312600160a060020a0360043516610e8e565b34156104f757600080fd5b6101bc600160a060020a0360043581169060243516604435610ed8565b341561051f57600080fd5b610312610f18565b341561053257600080fd5b61053a610f50565b604051600160a060020a03909116815260200160405180910390f35b341561056157600080fd5b6101e3610f5f565b341561057457600080fd5b610312600435600160a060020a0360243516610fca565b341561059657600080fd5b6101bc600435611015565b34156105ac57600080fd5b6101bc600160a060020a0360043516602435611021565b34156105ce57600080fd5b61029b60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965061117595505050505050565b341561066157600080fd5b61029b600160a060020a0360043516611235565b341561068057600080fd5b61029b600160a060020a0360043581169060243516611250565b34156106a557600080fd5b610312600160a060020a036004351661127b565b34156106c457600080fd5b610312600160a060020a0360043516611316565b60006002600160a060020a03331660009081526005602052604090205460ff16600281111561070357fe5b148061071d575060005433600160a060020a039081169116145b151561072557fe5b61072f838361136c565b50600192915050565b600a8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107ce5780601f106107a3576101008083540402835291602001916107ce565b820191906000526020600020905b8154815290600101906020018083116107b157829003601f168201915b505050505081565b600160a060020a03338116600081815260086020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60036020526000908152604090205481565b600160a060020a038116600090815260066020908152604080832085845290915281205483908390610100900460ff16151561088c57fe5b505050600160a060020a03166000908152600660209081526040808320938352929052205460ff1690565b6002600160a060020a03331660009081526005602052604090205460ff1660028111156108e057fe5b14806108fa575060005433600160a060020a039081169116145b151561090257fe5b61090d816001611451565b50565b60095481565b60006002600160a060020a03331660009081526005602052604090205460ff16600281111561094157fe5b148061095b575060005433600160a060020a039081169116145b151561096357fe5b61096e8484846114f9565b5060019392505050565b60008382600260149054906101000a900460ff16156109d157600160a060020a0382166000908152600360209081526040808320546001909252909120546109c6908363ffffffff6115ef16565b10156109d157600080fd5b600160a060020a03851615156109e657600080fd5b600160a060020a038616600090815260016020526040902054841115610a0b57600080fd5b600160a060020a0380871660009081526008602090815260408083203390941683529290522054841115610a3e57600080fd5b600160a060020a038616600090815260016020526040902054610a67908563ffffffff6115ef16565b600160a060020a038088166000908152600160205260408082209390935590871681522054610a9c908563ffffffff61160116565b600160a060020a03808716600090815260016020908152604080832094909455898316825260088152838220339093168252919091522054610ae4908563ffffffff6115ef16565b600160a060020a03808816600081815260086020908152604080832033861684529091529081902093909355908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9087905190815260200160405180910390a350600195945050505050565b60025433600160a060020a03908116911614610b6b57fe5b600160a060020a038216600090815260036020526040812054610bbe90610b9990849063ffffffff61160116565b600160a060020a0385166000908152600160205260409020549063ffffffff6115ef16565b1015610bc657fe5b600160a060020a038216600090815260036020526040902054610bef908263ffffffff61160116565b600160a060020a03831660009081526003602052604090819020919091557ff97a274face0b5517365ad396b1fdba6f68bd3135ef603e44272adba3af5a1e0908390839051600160a060020a03909216825260208201526040908101905180910390a15050565b60016020526000908152604090205481565b60025433600160a060020a03908116911614610c8057fe5b6002805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b60005433600160a060020a03908116911614610cd257600080fd5b610cde818360036114f9565b610ce9838383611617565b505050565b600b5460ff1681565b600160a060020a031660009081526005602052604090205460ff1690565b6000805433600160a060020a03908116911614610d3157600080fd5b610d3c826002611451565b506001919050565b600060028383604051600160a060020a03929092166c0100000000000000000000000002825260148201526034016020604051808303816000865af11515610d8b57600080fd5b50506040518051949350505050565b600160a060020a031660009081526001602052604090205490565b60025433600160a060020a03908116911614610dcd57fe5b600160a060020a038216600090815260036020526040812054610df6908363ffffffff6115ef16565b1015610dfe57fe5b600160a060020a038216600090815260036020526040902054610e27908263ffffffff6115ef16565b600160a060020a03831660009081526003602052604090819020919091557f2cfce4af01bcb9d6cf6c84ee1b7c491100b8695368264146a94d71e10a63083f908390839051600160a060020a03909216825260208201526040908101905180910390a15050565b60005433600160a060020a03908116911614610ea957600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600080610ee58484610d44565b600160a060020a038616600090815260076020908152604080832084845290915290205460ff1692509050509392505050565b60025433600160a060020a03908116911614610f3057fe5b6002805474ff000000000000000000000000000000000000000019169055565b600054600160a060020a031681565b600c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107ce5780601f106107a3576101008083540402835291602001916107ce565b6001600160a060020a03331660009081526005602052604090205460ff166002811115610ff357fe5b14610ffa57fe5b611006828260036114f9565b611011338284611617565b5050565b6000610d3c823361136c565b60003382600260149054906101000a900460ff161561107a57600160a060020a03821660009081526003602090815260408083205460019092529091205461106f908363ffffffff6115ef16565b101561107a57600080fd5b600160a060020a038516151561108f57600080fd5b600160a060020a0333166000908152600160205260409020548411156110b457600080fd5b600160a060020a0333166000908152600160205260409020546110dd908563ffffffff6115ef16565b600160a060020a033381166000908152600160205260408082209390935590871681522054611112908563ffffffff61160116565b600160a060020a0380871660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9087905190815260200160405180910390a3506001949350505050565b6000600283836040518083805190602001908083835b602083106111aa5780518252601f19909201916020918201910161118b565b6001836020036101000a038019825116818451161790925250505091909101905082805190602001908083835b602083106111f65780518252601f1990920191602091820191016111d7565b6001836020036101000a038019825116818451168082178552505050505050905001925050506020604051808303816000865af11515610d8b57600080fd5b600160a060020a031660009081526003602052604090205490565b600160a060020a03918216600090815260086020908152604080832093909416825291909152205490565b60005433600160a060020a0390811691161461129657600080fd5b600160a060020a03811615156112ab57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6002600160a060020a03331660009081526005602052604090205460ff16600281111561133f57fe5b1480611359575060005433600160a060020a039081169116145b151561136157fe5b61090d816000611451565b6060604051908101604090815260008083526001602080850191909152828401829052600160a060020a03851682526006815282822086835290522081518154829060ff191660018360048111156113c057fe5b0217905550602082015181549015156101000261ff00199091161781556040820151815461ffff91909116620100000263ffff000019909116179055507fc38a0ba88d1c761eb7c4653e6152b15a50518db005c563fb256180fd3835c070828233604051928352600160a060020a039182166020840152166040808301919091526060909101905180910390a15050565b7f7b60b51d9cbb1c7f54b04f3391bce64bcfa8296f21b823ad50a83ecfeac02c1c828233604051600160a060020a03841681526020810183600281111561149457fe5b60ff16815260200182600160a060020a0316600160a060020a03168152602001935050505060405180910390a1600160a060020a0382166000908152600560205260409020805482919060ff191660018360028111156114f057fe5b02179055505050565b600160a060020a038216600090815260066020908152604080832086845290915290205483908390610100900460ff16151561153157fe5b600160a060020a03841660009081526006602090815260408083208884529091529020805484919060ff1916600183600481111561156b57fe5b02179055507f5d6360ccb71de639ad0da7dfeaeaefcf243b7f8e3bc084b83ac90f75002e23b785858533604051848152600160a060020a0384166020820152604081018360048111156115ba57fe5b60ff16815260200182600160a060020a0316600160a060020a0316815260200194505050505060405180910390a15050505050565b6000828211156115fb57fe5b50900390565b60008282018381101561161057fe5b9392505050565b60006116238383610d44565b600160a060020a03909416600090815260076020908152604080832096835295905293909320805460ff191660011790555050505600a165627a7a723058206b409675657a52f21c2e73b502940cf915d10441d29aaf14d87da5fda84a2eb30029
Swarm Source
bzzr://6b409675657a52f21c2e73b502940cf915d10441d29aaf14d87da5fda84a2eb3
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.