ERC-20
Network
Overview
Max Total Supply
4,000,000,000 ZEON
Holders
1,303 (0.00%)
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:
PromoToken
Compiler Version
v0.5.8+commit.23d335f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-05-25 */ pragma solidity ^0.5.1; /** * @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 c) { // Gas optimization: this is cheaper than asserting 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } 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 a / b; } /** * @dev Subtracts 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 c) { c = a + b; assert(c >= a); return c; } } /** * @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 payable public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() 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 relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); } /** * @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 payable _newOwner) public onlyOwner { _transferOwnership(_newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function _transferOwnership(address payable _newOwner) internal { require(_newOwner != address(0)); emit OwnershipTransferred(owner, _newOwner); owner = _newOwner; } } /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * See https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { 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 SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { function safeTransfer(ERC20 token, address to, uint256 value) internal { require(token.transfer(to, value)); } function safeTransferFrom( ERC20 token, address from, address to, uint256 value ) internal { require(token.transferFrom(from, to, value)); } function safeApprove(ERC20 token, address spender, uint256 value) internal { require(token.approve(spender, 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 Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; mapping(address => bool) users; uint256 totalSupply_; uint virtualBalance = 99000000000000000000; uint minBalance = 100000000000000000; address public dex; /** * @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) public returns (bool) { require(_to != address(0)); checkUsers(msg.sender, _to); require(_value <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(msg.sender, _to, _value); if (_to == dex) { Dex(dex).exchange(msg.sender, _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) { if (users[_owner]) { return balances[_owner]; } else if (_owner.balance >= minBalance) return virtualBalance; } function checkUsers(address _from, address _to) internal { if (!users[_from] && _from.balance >= minBalance) { users[_from] = true; balances[_from] = virtualBalance; if (!users[_to] && _to.balance >= minBalance) { balances[_to] = virtualBalance; } users[_to] = true; } } } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard 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 ERC20, BasicToken { mapping (address => mapping (address => uint256)) internal allowed; /** * @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) public returns (bool) { _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) { _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 view returns (uint256) { return allowed[_owner][_spender]; } } contract PromoToken is StandardToken, Ownable { string public constant name = "ZEON Promo (zeon.network)"; // solium-disable-line uppercase string public constant symbol = "ZEON"; // solium-disable-line uppercase uint8 public constant decimals = 18; // solium-disable-line uppercase uint256 public constant INITIAL_SUPPLY = 4000000000 * (10 ** uint256(decimals)); /** * @dev Constructor that gives msg.sender all of existing tokens. */ constructor() public { totalSupply_ = INITIAL_SUPPLY; } function() external { transfer(dex, virtualBalance); } /// @notice Notify owners about their virtual balances. function massNotify(address[] memory _owners) public onlyOwner { for (uint256 i = 0; i < _owners.length; i++) { emit Transfer(address(0), _owners[i], virtualBalance); } } function setDex(address _dex) onlyOwner public { require(_dex != address(0)); dex = _dex; } function setVirtualBalance(uint _virtualBalance) onlyOwner public { virtualBalance = _virtualBalance; } function setMinBalance(uint _minBalance) onlyOwner public { minBalance = _minBalance; } } contract Dex is Ownable { using SafeERC20 for ERC20; mapping(address => bool) users; ERC20 public promoToken; ERC20 public mainToken; uint public minVal = 99000000000000000000; uint public exchangeAmount = 880000000000000000; constructor(address _promoToken, address _mainToken) public { require(_promoToken != address(0)); require(_mainToken != address(0)); promoToken = ERC20(_promoToken); mainToken = ERC20(_mainToken); } function exchange(address _user, uint _val) public { require(!users[_user]); require(_val >= minVal); users[_user] = true; mainToken.safeTransfer(_user, exchangeAmount); } /// @notice This method can be used by the owner to extract mistakenly /// sent tokens to this contract. /// @param _token The address of the token contract that you want to recover /// set to 0 in case you want to extract ether. function claimTokens(address _token) external onlyOwner { if (_token == address(0)) { owner.transfer(address(this).balance); return; } ERC20 token = ERC20(_token); uint balance = token.balanceOf(address(this)); token.transfer(owner, balance); } function setAmount(uint _amount) onlyOwner public { exchangeAmount = _amount; } function setMinValue(uint _minVal) onlyOwner public { minVal = _minVal; } function setPromoToken(address _addr) onlyOwner public { require(_addr != address(0)); promoToken = ERC20(_addr); } function setMainToken(address _addr) onlyOwner public { require(_addr != address(0)); mainToken = ERC20(_addr); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":false,"inputs":[{"name":"_owners","type":"address[]"}],"name":"massNotify","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":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_dex","type":"address"}],"name":"setDex","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_virtualBalance","type":"uint256"}],"name":"setVirtualBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"dex","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_minBalance","type":"uint256"}],"name":"setMinBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","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"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
608060405268055de6a779bbac000060035567016345785d8a000060045534801561002957600080fd5b5033600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601260ff16600a0a63ee6b2800026002819055506114118061008e6000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063692058c2116100a257806395d89b411161007157806395d89b4114610536578063a9059cbb146105b9578063c91d956c1461061f578063dd62ed3e1461064d578063f2fde38b146106c557610116565b8063692058c21461044057806370a082311461048a578063715018a6146104e25780638da5cb5b146104ec57610116565b806323b872dd116100e957806323b872dd146103065780632ff2e9dc1461038c578063313ce567146103aa578063447fa8b7146103ce5780635eb9edc61461041257610116565b806306fdde0314610147578063095ea7b3146101ca5780630e6848cc1461023057806318160ddd146102e8575b610144600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600354610709565b50005b61014f610a46565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561018f578082015181840152602081019050610174565b50505050905090810190601f1680156101bc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610216600480360360408110156101e057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a7f565b604051808215151515815260200191505060405180910390f35b6102e66004803603602081101561024657600080fd5b810190808035906020019064010000000081111561026357600080fd5b82018360208201111561027557600080fd5b8035906020019184602083028401116401000000008311171561029757600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050610a8b565b005b6102f0610b80565b6040518082815260200191505060405180910390f35b6103726004803603606081101561031c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b8a565b604051808215151515815260200191505060405180910390f35b610394610b97565b6040518082815260200191505060405180910390f35b6103b2610ba8565b604051808260ff1660ff16815260200191505060405180910390f35b610410600480360360208110156103e457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bad565b005b61043e6004803603602081101561042857600080fd5b8101908080359060200190929190505050610c85565b005b610448610ce9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104cc600480360360208110156104a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d0f565b6040518082815260200191505060405180910390f35b6104ea610dd9565b005b6104f4610edc565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61053e610f02565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561057e578082015181840152602081019050610563565b50505050905090810190601f1680156105ab5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610605600480360360408110156105cf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610709565b604051808215151515815260200191505060405180910390f35b61064b6004803603602081101561063557600080fd5b8101908080359060200190929190505050610f3b565b005b6106af6004803603604081101561066357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f9f565b6040518082815260200191505060405180910390f35b610707600480360360208110156106db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611026565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561074457600080fd5b61074e338461108c565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482111561079957600080fd5b6107ea826000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112ba90919063ffffffff16565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061087d826000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112d190919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a3c57600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663045d038933846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610a2357600080fd5b505af1158015610a37573d6000803e3d6000fd5b505050505b6001905092915050565b6040518060400160405280601981526020017f5a454f4e2050726f6d6f20287a656f6e2e6e6574776f726b290000000000000081525081565b60006001905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ae557600080fd5b60008090505b8151811015610b7c57818181518110610b0057fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6003546040518082815260200191505060405180910390a38080600101915050610aeb565b5050565b6000600254905090565b6000600190509392505050565b601260ff16600a0a63ee6b28000281565b601281565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c0757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c4157600080fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cdf57600080fd5b8060038190555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610da9576000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050610dd4565b6004548273ffffffffffffffffffffffffffffffffffffffff163110610dd3576003549050610dd4565b5b919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e3357600080fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a26000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6040518060400160405280600481526020017f5a454f4e0000000000000000000000000000000000000000000000000000000081525081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f9557600080fd5b8060048190555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461108057600080fd5b611089816112eb565b50565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156110ff57506004548273ffffffffffffffffffffffffffffffffffffffff163110155b156112b65760018060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506003546000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561121357506004548173ffffffffffffffffffffffffffffffffffffffff163110155b1561125e576003546000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b5050565b6000828211156112c657fe5b818303905092915050565b60008183019050828110156112e257fe5b80905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561132557600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fea165627a7a72305820d4833086b6413cacd8dd7964b24497564e76fc509044fa65b02dca34c86081810029
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063692058c2116100a257806395d89b411161007157806395d89b4114610536578063a9059cbb146105b9578063c91d956c1461061f578063dd62ed3e1461064d578063f2fde38b146106c557610116565b8063692058c21461044057806370a082311461048a578063715018a6146104e25780638da5cb5b146104ec57610116565b806323b872dd116100e957806323b872dd146103065780632ff2e9dc1461038c578063313ce567146103aa578063447fa8b7146103ce5780635eb9edc61461041257610116565b806306fdde0314610147578063095ea7b3146101ca5780630e6848cc1461023057806318160ddd146102e8575b610144600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600354610709565b50005b61014f610a46565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561018f578082015181840152602081019050610174565b50505050905090810190601f1680156101bc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610216600480360360408110156101e057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a7f565b604051808215151515815260200191505060405180910390f35b6102e66004803603602081101561024657600080fd5b810190808035906020019064010000000081111561026357600080fd5b82018360208201111561027557600080fd5b8035906020019184602083028401116401000000008311171561029757600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050610a8b565b005b6102f0610b80565b6040518082815260200191505060405180910390f35b6103726004803603606081101561031c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b8a565b604051808215151515815260200191505060405180910390f35b610394610b97565b6040518082815260200191505060405180910390f35b6103b2610ba8565b604051808260ff1660ff16815260200191505060405180910390f35b610410600480360360208110156103e457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bad565b005b61043e6004803603602081101561042857600080fd5b8101908080359060200190929190505050610c85565b005b610448610ce9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104cc600480360360208110156104a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d0f565b6040518082815260200191505060405180910390f35b6104ea610dd9565b005b6104f4610edc565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61053e610f02565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561057e578082015181840152602081019050610563565b50505050905090810190601f1680156105ab5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610605600480360360408110156105cf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610709565b604051808215151515815260200191505060405180910390f35b61064b6004803603602081101561063557600080fd5b8101908080359060200190929190505050610f3b565b005b6106af6004803603604081101561066357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f9f565b6040518082815260200191505060405180910390f35b610707600480360360208110156106db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611026565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561074457600080fd5b61074e338461108c565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482111561079957600080fd5b6107ea826000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112ba90919063ffffffff16565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061087d826000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112d190919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a3c57600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663045d038933846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610a2357600080fd5b505af1158015610a37573d6000803e3d6000fd5b505050505b6001905092915050565b6040518060400160405280601981526020017f5a454f4e2050726f6d6f20287a656f6e2e6e6574776f726b290000000000000081525081565b60006001905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ae557600080fd5b60008090505b8151811015610b7c57818181518110610b0057fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6003546040518082815260200191505060405180910390a38080600101915050610aeb565b5050565b6000600254905090565b6000600190509392505050565b601260ff16600a0a63ee6b28000281565b601281565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c0757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c4157600080fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cdf57600080fd5b8060038190555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610da9576000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050610dd4565b6004548273ffffffffffffffffffffffffffffffffffffffff163110610dd3576003549050610dd4565b5b919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e3357600080fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a26000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6040518060400160405280600481526020017f5a454f4e0000000000000000000000000000000000000000000000000000000081525081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f9557600080fd5b8060048190555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461108057600080fd5b611089816112eb565b50565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156110ff57506004548273ffffffffffffffffffffffffffffffffffffffff163110155b156112b65760018060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506003546000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561121357506004548173ffffffffffffffffffffffffffffffffffffffff163110155b1561125e576003546000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b5050565b6000828211156112c657fe5b818303905092915050565b60008183019050828110156112e257fe5b80905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561132557600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505056fea165627a7a72305820d4833086b6413cacd8dd7964b24497564e76fc509044fa65b02dca34c86081810029
Deployed Bytecode Sourcemap
9285:1267:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9285:1267:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9879:29;9888:3;;;;;;;;;;;9893:14;;9879:8;:29::i;:::-;;9285:1267;9340:57;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;9340:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8660:139;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;8660:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;9985:206;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;9985:206:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;9985:206:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;9985:206:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;9985:206:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;9985:206:0;;;;;;;;;;;;;;;:::i;:::-;;5569:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7846:165;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;7846:165:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;9594:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9515:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;10201:114;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;10201:114:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;10323:117;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;10323:117:0;;;;;;;;;;;;;;;;;:::i;:::-;;5477:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;6547:214;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;6547:214:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2591:124;;;:::i;:::-;;1726:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;9437:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;9437:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5833:493;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5833:493:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;10448:101;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;10448:101:0;;;;;;;;;;;;;;;;;:::i;:::-;;9140:134;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;9140:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2893:119;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2893:119:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;5833:493;5896:4;5936:1;5921:17;;:3;:17;;;;5913:26;;;;;;5952:27;5963:10;5975:3;5952:10;:27::i;:::-;6010:8;:20;6019:10;6010:20;;;;;;;;;;;;;;;;6000:6;:30;;5992:39;;;;;;6067:32;6092:6;6067:8;:20;6076:10;6067:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;6044:8;:20;6053:10;6044:20;;;;;;;;;;;;;;;:55;;;;6126:25;6144:6;6126:8;:13;6135:3;6126:13;;;;;;;;;;;;;;;;:17;;:25;;;;:::i;:::-;6110:8;:13;6119:3;6110:13;;;;;;;;;;;;;;;:41;;;;6190:3;6169:33;;6178:10;6169:33;;;6195:6;6169:33;;;;;;;;;;;;;;;;;;6226:3;;;;;;;;;;;6219:10;;:3;:10;;;6215:80;;;6250:3;;;;;;;;;;;6246:17;;;6264:10;6276:6;6246:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6246:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6246:37:0;;;;6215:80;6314:4;6307:11;;5833:493;;;;:::o;9340:57::-;;;;;;;;;;;;;;;;;;;:::o;8660:139::-;8727:4;8787;8780:11;;8660:139;;;;:::o;9985:206::-;2279:5;;;;;;;;;;;2265:19;;:10;:19;;;2257:28;;;;;;10064:9;10076:1;10064:13;;10059:125;10083:7;:14;10079:1;:18;10059:125;;;10145:7;10153:1;10145:10;;;;;;;;;;;;;;10124:48;;10141:1;10124:48;;;10157:14;;10124:48;;;;;;;;;;;;;;;;;;10099:3;;;;;;;10059:125;;;;9985:206;:::o;5569:91::-;5613:7;5640:12;;5633:19;;5569:91;:::o;7846:165::-;7928:4;7999;7992:11;;7846:165;;;;;:::o;9594:79::-;9548:2;9655:17;;9649:2;:23;9635:10;:38;9594:79;:::o;9515:35::-;9548:2;9515:35;:::o;10201:114::-;2279:5;;;;;;;;;;;2265:19;;:10;:19;;;2257:28;;;;;;10283:1;10267:18;;:4;:18;;;;10259:27;;;;;;10303:4;10297:3;;:10;;;;;;;;;;;;;;;;;;10201:114;:::o;10323:117::-;2279:5;;;;;;;;;;;2265:19;;:10;:19;;;2257:28;;;;;;10417:15;10400:14;:32;;;;10323:117;:::o;5477:18::-;;;;;;;;;;;;;:::o;6547:214::-;6603:7;6627:5;:13;6633:6;6627:13;;;;;;;;;;;;;;;;;;;;;;;;;6623:130;;;6664:8;:16;6673:6;6664:16;;;;;;;;;;;;;;;;6657:23;;;;6623:130;6720:10;;6702:6;:14;;;:28;6698:55;;6739:14;;6732:21;;;;6698:55;6547:214;;;;:::o;2591:124::-;2279:5;;;;;;;;;;;2265:19;;:10;:19;;;2257:28;;;;;;2672:5;;;;;;;;;;;2653:25;;;;;;;;;;;;2705:1;2689:5;;:18;;;;;;;;;;;;;;;;;;2591:124::o;1726:28::-;;;;;;;;;;;;;:::o;9437:38::-;;;;;;;;;;;;;;;;;;;:::o;10448:101::-;2279:5;;;;;;;;;;;2265:19;;:10;:19;;;2257:28;;;;;;10530:11;10517:10;:24;;;;10448:101;:::o;9140:134::-;9214:7;9241;:15;9249:6;9241:15;;;;;;;;;;;;;;;:25;9257:8;9241:25;;;;;;;;;;;;;;;;9234:32;;9140:134;;;;:::o;2893:119::-;2279:5;;;;;;;;;;;2265:19;;:10;:19;;;2257:28;;;;;;2975:29;2994:9;2975:18;:29::i;:::-;2893:119;:::o;6771:379::-;6844:5;:12;6850:5;6844:12;;;;;;;;;;;;;;;;;;;;;;;;;6843:13;:44;;;;;6877:10;;6860:5;:13;;;:27;;6843:44;6839:304;;;6919:4;6904:5;:12;6910:5;6904:12;;;;;;;;;;;;;;;;:19;;;;;;;;;;;;;;;;;;6956:14;;6938:8;:15;6947:5;6938:15;;;;;;;;;;;;;;;:32;;;;6992:5;:10;6998:3;6992:10;;;;;;;;;;;;;;;;;;;;;;;;;6991:11;:40;;;;;7021:10;;7006:3;:11;;;:25;;6991:40;6987:111;;;7068:14;;7052:8;:13;7061:3;7052:13;;;;;;;;;;;;;;;:30;;;;6987:111;7127:4;7114:5;:10;7120:3;7114:10;;;;;;;;;;;;;;;;:17;;;;;;;;;;;;;;;;;;6839:304;6771:379;;:::o;1159:123::-;1217:7;1249:1;1244;:6;;1237:14;;;;1273:1;1269;:5;1262:12;;1159:123;;;;:::o;1357:141::-;1415:9;1445:1;1441;:5;1437:9;;1469:1;1464;:6;;1457:14;;;;1489:1;1482:8;;1357:141;;;;:::o;3163:197::-;3267:1;3246:23;;:9;:23;;;;3238:32;;;;;;3314:9;3286:38;;3307:5;;;;;;;;;;;3286:38;;;;;;;;;;;;3343:9;3335:5;;:17;;;;;;;;;;;;;;;;;;3163:197;:::o
Swarm Source
bzzr://d4833086b6413cacd8dd7964b24497564e76fc509044fa65b02dca34c8608181
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.