ERC-20
Overview
Max Total Supply
34,002,843,976.297256 Voken
Holders
21,545
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 6 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Voken
Compiler Version
v0.5.7+commit.6da8b019
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-04-15 */ pragma solidity ^0.5.7; // Vision.Network 100G Token -- is called "Voken" (upgraded) // // More info: // https://vision.network // https://voken.io // // Contact us: // [email protected] // [email protected] /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error. */ library SafeMath { /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; assert(c >= a); return c; } /** * @dev Subtracts two unsigned integers, reverts 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 Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two unsigned integers truncating the quotient, * reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { assert(b > 0); uint256 c = a / b; assert(a == b * c + a % b); return a / b; } /** * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } /** * @title ERC20 interface * @dev see https://eips.ethereum.org/EIPS/eip-20 */ interface IERC20{ function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title Ownable */ contract Ownable { address internal _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract * to the sender account. */ constructor () internal { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } /** * @return the address of the owner. */ function owner() public view returns (address) { return _owner; } /** * @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) external onlyOwner { require(newOwner != address(0)); _owner = newOwner; emit OwnershipTransferred(_owner, newOwner); } /** * @dev Rescue compatible ERC20 Token * * @param tokenAddr ERC20 The address of the ERC20 token contract * @param receiver The address of the receiver * @param amount uint256 */ function rescueTokens(address tokenAddr, address receiver, uint256 amount) external onlyOwner { IERC20 _token = IERC20(tokenAddr); require(receiver != address(0)); uint256 balance = _token.balanceOf(address(this)); require(balance >= amount); assert(_token.transfer(receiver, amount)); } /** * @dev Withdraw Ether */ function withdrawEther(address payable to, uint256 amount) external onlyOwner { require(to != address(0)); uint256 balance = address(this).balance; require(balance >= amount); to.transfer(amount); } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { bool private _paused; event Paused(address account); event Unpaused(address account); constructor () internal { _paused = false; } /** * @return Returns true if the contract is paused, false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!_paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(_paused); _; } /** * @dev Called by a pauser to pause, triggers stopped state. */ function pause() external onlyOwner whenNotPaused { _paused = true; emit Paused(msg.sender); } /** * @dev Called by a pauser to unpause, returns to normal state. */ function unpause() external onlyOwner whenPaused { _paused = false; emit Unpaused(msg.sender); } } /** * @title Voken Main Contract */ contract Voken is Ownable, Pausable, IERC20 { using SafeMath for uint256; string private _name = "Vision.Network 100G Token"; string private _symbol = "Voken"; uint8 private _decimals = 6; // 6 decimals uint256 private _cap = 35000000000000000; // 35 billion cap, that is 35000000000.000000 uint256 private _totalSupply; mapping (address => bool) private _minter; event Mint(address indexed to, uint256 value); event MinterChanged(address account, bool state); mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; bool private _allowWhitelistRegistration; mapping(address => address) private _referrer; mapping(address => uint256) private _refCount; event VokenSaleWhitelistRegistered(address indexed addr, address indexed refAddr); event VokenSaleWhitelistTransferred(address indexed previousAddr, address indexed _newAddr); event VokenSaleWhitelistRegistrationEnabled(); event VokenSaleWhitelistRegistrationDisabled(); uint256 private _whitelistRegistrationValue = 1001000000; // 1001 Voken, 1001.000000 uint256[15] private _whitelistRefRewards = [ // 100% Reward 301000000, // 301 Voken for Level.1 200000000, // 200 Voken for Level.2 100000000, // 100 Voken for Level.3 100000000, // 100 Voken for Level.4 100000000, // 100 Voken for Level.5 50000000, // 50 Voken for Level.6 40000000, // 40 Voken for Level.7 30000000, // 30 Voken for Level.8 20000000, // 20 Voken for Level.9 10000000, // 10 Voken for Level.10 10000000, // 10 Voken for Level.11 10000000, // 10 Voken for Level.12 10000000, // 10 Voken for Level.13 10000000, // 10 Voken for Level.14 10000000 // 10 Voken for Level.15 ]; event Donate(address indexed account, uint256 amount); /** * @dev Constructor */ constructor() public { _minter[msg.sender] = true; _allowWhitelistRegistration = true; emit VokenSaleWhitelistRegistrationEnabled(); _referrer[msg.sender] = msg.sender; emit VokenSaleWhitelistRegistered(msg.sender, msg.sender); } /** * @dev donate */ function () external payable { emit Donate(msg.sender, msg.value); } /** * @return the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @return the symbol of the token. */ function symbol() public view returns (string memory) { return _symbol; } /** * @return the number of decimals of the token. */ function decimals() public view returns (uint8) { return _decimals; } /** * @return the cap for the token minting. */ function cap() public view returns (uint256) { return _cap; } /** * @dev Total number of tokens in existence. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return A uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } /** * @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]; } /** * @dev Transfer token to a specified address. * @param to The address to transfer to. * @param value The amount to be transferred. */ function transfer(address to, uint256 value) public whenNotPaused returns (bool) { if (_allowWhitelistRegistration && value == _whitelistRegistrationValue && inWhitelist(to) && !inWhitelist(msg.sender) && isNotContract(msg.sender)) { // Register whitelist for Voken-Sale _regWhitelist(msg.sender, to); return true; } else { // Normal Transfer _transfer(msg.sender, to, value); return true; } } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * @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) { _approve(msg.sender, spender, value); return true; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue)); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue)); return true; } /** * @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 whenNotPaused returns (bool) { require(_allowed[from][msg.sender] >= value); _transfer(from, to, value); _approve(from, msg.sender, _allowed[from][msg.sender].sub(value)); return true; } /** * @dev Transfer token for a specified addresses. * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Approve an address to spend another addresses' tokens. * @param owner The address that owns the tokens. * @param spender The address that will spend the tokens. * @param value The number of tokens that can be spent. */ function _approve(address owner, address spender, uint256 value) internal { require(owner != address(0)); require(spender != address(0)); _allowed[owner][spender] = value; emit Approval(owner, spender, value); } /** * @dev Throws if called by account not a minter. */ modifier onlyMinter() { require(_minter[msg.sender]); _; } /** * @dev Returns true if the given account is minter. */ function isMinter(address account) public view returns (bool) { return _minter[account]; } /** * @dev Set a minter state */ function setMinterState(address account, bool state) external onlyOwner { _minter[account] = state; emit MinterChanged(account, state); } /** * @dev Function to mint tokens * @param to The address that will receive the minted tokens. * @param value The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address to, uint256 value) public onlyMinter returns (bool) { _mint(to, value); return true; } /** * @dev Internal function that mints an amount of the token and assigns it to an account. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(_totalSupply.add(value) <= _cap); require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Mint(account, value); emit Transfer(address(0), account, value); } /** * @dev Throws if called by account not in whitelist. */ modifier onlyInWhitelist() { require(_referrer[msg.sender] != address(0)); _; } /** * @dev Returns true if the whitelist registration is allowed. */ function allowWhitelistRegistration() public view returns (bool) { return _allowWhitelistRegistration; } /** * @dev Returns true if the given account is in whitelist. */ function inWhitelist(address account) public view returns (bool) { return _referrer[account] != address(0); } /** * @dev Returns the referrer of a given account address */ function referrer(address account) public view returns (address) { return _referrer[account]; } /** * @dev Returns the referrals count of a given account address */ function refCount(address account) public view returns (uint256) { return _refCount[account]; } /** * @dev Disable Voken-Sale whitelist registration. Unrecoverable! */ function disableVokenSaleWhitelistRegistration() external onlyOwner { _allowWhitelistRegistration = false; emit VokenSaleWhitelistRegistrationDisabled(); } /** * @dev Register whitelist for Voken-Sale */ function _regWhitelist(address account, address refAccount) internal { _refCount[refAccount] = _refCount[refAccount].add(1); _referrer[account] = refAccount; emit VokenSaleWhitelistRegistered(account, refAccount); // Whitelist Registration Referral Reward _transfer(msg.sender, address(this), _whitelistRegistrationValue); address cursor = account; uint256 remain = _whitelistRegistrationValue; for(uint i = 0; i < _whitelistRefRewards.length; i++) { address receiver = _referrer[cursor]; if (cursor != receiver) { if (_refCount[receiver] > i) { _transfer(address(this), receiver, _whitelistRefRewards[i]); remain = remain.sub(_whitelistRefRewards[i]); } } else { _transfer(address(this), refAccount, remain); break; } cursor = _referrer[cursor]; } } /** * @dev Transfer the whitelisted address to another. */ function transferWhitelist(address account) external onlyInWhitelist { require(isNotContract(account)); _refCount[account] = _refCount[msg.sender]; _refCount[msg.sender] = 0; _referrer[account] = _referrer[msg.sender]; _referrer[msg.sender] = address(0); emit VokenSaleWhitelistTransferred(msg.sender, account); } /** * @dev Returns true if the given address is not a contract */ function isNotContract(address addr) internal view returns (bool) { uint size; assembly { size := extcodesize(addr) } return size == 0; } /** * @dev Calculator * Returns the reward amount if someone now registers the whitelist directly with the given whitelistedAccount. */ function calculateTheRewardOfDirectWhitelistRegistration(address whitelistedAccount) external view returns (uint256 reward) { if (!inWhitelist(whitelistedAccount)) { return 0; } address cursor = whitelistedAccount; uint256 remain = _whitelistRegistrationValue; for(uint i = 1; i < _whitelistRefRewards.length; i++) { address receiver = _referrer[cursor]; if (cursor != receiver) { if (_refCount[receiver] > i) { remain = remain.sub(_whitelistRefRewards[i]); } } else { reward = reward.add(remain); break; } cursor = _referrer[cursor]; } return reward; } }
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":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":"account","type":"address"}],"name":"referrer","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"allowWhitelistRegistration","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"amount","type":"uint256"}],"name":"withdrawEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"whitelistedAccount","type":"address"}],"name":"calculateTheRewardOfDirectWhitelistRegistration","outputs":[{"name":"reward","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"disableVokenSaleWhitelistRegistration","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"transferWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","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":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"},{"name":"state","type":"bool"}],"name":"setMinterState","outputs":[],"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":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddr","type":"address"},{"name":"receiver","type":"address"},{"name":"amount","type":"uint256"}],"name":"rescueTokens","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":true,"inputs":[{"name":"account","type":"address"}],"name":"inWhitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"refCount","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":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"},{"indexed":false,"name":"state","type":"bool"}],"name":"MinterChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"},{"indexed":true,"name":"refAddr","type":"address"}],"name":"VokenSaleWhitelistRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousAddr","type":"address"},{"indexed":true,"name":"_newAddr","type":"address"}],"name":"VokenSaleWhitelistTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"VokenSaleWhitelistRegistrationEnabled","type":"event"},{"anonymous":false,"inputs":[],"name":"VokenSaleWhitelistRegistrationDisabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Donate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
60c0604052601960808190527f566973696f6e2e4e6574776f726b203130304720546f6b656e0000000000000060a09081526200004091600191906200024b565b506040805180820190915260058082527f566f6b656e000000000000000000000000000000000000000000000000000000602090920191825262000087916002916200024b565b506003805460ff19166006179055667c585087238000600455633baa0c40600c55604080516101e0810182526311f0e5408152630bebc20060208201526305f5e1009181018290526060810182905260808101919091526302faf08060a08201526302625a0060c08201526301c9c38060e08201526301312d006101008201526298968061012082018190526101408201819052610160820181905261018082018190526101a082018190526101c08201526200014990600d90600f620002d0565b503480156200015757600080fd5b50600080546001600160a01b03191633178082556040516001600160a01b039190911691907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a360008054600160a01b60ff021916815533815260066020526040808220805460ff199081166001908117909255600980549091169091179055517fcef7e739d353dde448f883da880f02de6abc5795fd0797ac8de15ee96b23eb3d9190a1336000818152600a602052604080822080546001600160a01b031916841790555182917f5d37f63410f2d07f55a14544f74bda9e21c5439cce21a81b96e1df31145a854c91a362000329565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200028e57805160ff1916838001178555620002be565b82800160010185558215620002be579182015b82811115620002be578251825591602001919060010190620002a1565b50620002cc92915062000309565b5090565b82600f8101928215620002be579160200282015b82811115620002be578251829063ffffffff16905591602001919060010190620002e4565b6200032691905b80821115620002cc576000815560010162000310565b90565b6114e780620003396000396000f3fe6080604052600436106101c25760003560e01c806361f3571e116100f7578063a746f93a11610095578063dd62ed3e11610064578063dd62ed3e146106c6578063e2aafa2114610701578063ec8f95fc14610734578063f2fde38b14610767576101c2565b8063a746f93a146105dc578063a9059cbb14610617578063aa271e1a14610650578063cea9d26f14610683576101c2565b80638456cb59116100d15780638456cb59146105645780638da5cb5b1461057957806395d89b411461058e578063a457c2d7146105a3576101c2565b806361f3571e146104e957806370a08231146104fe5780637ffbe24114610531576101c2565b806336b21ed41161016457806340c10f191161013e57806340c10f191461042f578063522f6815146104685780635c975abb146104a15780635ca23ce2146104b6576101c2565b806336b21ed4146103ca57806339509351146103df5780633f4ba83a14610418576101c2565b806323b872dd116101a057806323b872dd146102f85780632cf003c21461033b578063313ce5671461038a578063355274ea146103b5576101c2565b806306fdde03146101fa578063095ea7b31461028457806318160ddd146102d1575b60408051348152905133917f0553260a2e46b0577270d8992db02d30856ca880144c72d6e9503760946aef13919081900360200190a2005b34801561020657600080fd5b5061020f61079a565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610249578181015183820152602001610231565b50505050905090810190601f1680156102765780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561029057600080fd5b506102bd600480360360408110156102a757600080fd5b506001600160a01b03813516906020013561082f565b604080519115158252519081900360200190f35b3480156102dd57600080fd5b506102e6610846565b60408051918252519081900360200190f35b34801561030457600080fd5b506102bd6004803603606081101561031b57600080fd5b506001600160a01b0381358116916020810135909116906040013561084c565b34801561034757600080fd5b5061036e6004803603602081101561035e57600080fd5b50356001600160a01b03166108e9565b604080516001600160a01b039092168252519081900360200190f35b34801561039657600080fd5b5061039f61090a565b6040805160ff9092168252519081900360200190f35b3480156103c157600080fd5b506102e6610913565b3480156103d657600080fd5b506102bd610919565b3480156103eb57600080fd5b506102bd6004803603604081101561040257600080fd5b506001600160a01b038135169060200135610922565b34801561042457600080fd5b5061042d61095e565b005b34801561043b57600080fd5b506102bd6004803603604081101561045257600080fd5b506001600160a01b0381351690602001356109d0565b34801561047457600080fd5b5061042d6004803603604081101561048b57600080fd5b506001600160a01b0381351690602001356109f6565b3480156104ad57600080fd5b506102bd610a6b565b3480156104c257600080fd5b506102e6600480360360208110156104d957600080fd5b50356001600160a01b0316610a7b565b3480156104f557600080fd5b5061042d610b55565b34801561050a57600080fd5b506102e66004803603602081101561052157600080fd5b50356001600160a01b0316610ba1565b34801561053d57600080fd5b5061042d6004803603602081101561055457600080fd5b50356001600160a01b0316610bbc565b34801561057057600080fd5b5061042d610c7a565b34801561058557600080fd5b5061036e610cf3565b34801561059a57600080fd5b5061020f610d02565b3480156105af57600080fd5b506102bd600480360360408110156105c657600080fd5b506001600160a01b038135169060200135610d60565b3480156105e857600080fd5b5061042d600480360360408110156105ff57600080fd5b506001600160a01b0381351690602001351515610d9c565b34801561062357600080fd5b506102bd6004803603604081101561063a57600080fd5b506001600160a01b038135169060200135610e17565b34801561065c57600080fd5b506102bd6004803603602081101561067357600080fd5b50356001600160a01b0316610e96565b34801561068f57600080fd5b5061042d600480360360608110156106a657600080fd5b506001600160a01b03813581169160208101359091169060400135610eb4565b3480156106d257600080fd5b506102e6600480360360408110156106e957600080fd5b506001600160a01b0381358116916020013516611000565b34801561070d57600080fd5b506102bd6004803603602081101561072457600080fd5b50356001600160a01b031661102b565b34801561074057600080fd5b506102e66004803603602081101561075757600080fd5b50356001600160a01b031661104b565b34801561077357600080fd5b5061042d6004803603602081101561078a57600080fd5b50356001600160a01b0316611066565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156108255780601f106107fa57610100808354040283529160200191610825565b820191906000526020600020905b81548152906001019060200180831161080857829003601f168201915b5050505050905090565b600061083c3384846110de565b5060015b92915050565b60055490565b60008054600160a01b900460ff161561086457600080fd5b6001600160a01b038416600090815260086020908152604080832033845290915290205482111561089457600080fd5b61089f848484611166565b6001600160a01b0384166000908152600860209081526040808320338085529252909120546108df9186916108da908663ffffffff61123316565b6110de565b5060019392505050565b6001600160a01b038082166000908152600a6020526040902054165b919050565b60035460ff1690565b60045490565b60095460ff1690565b3360008181526008602090815260408083206001600160a01b0387168452909152812054909161083c9185906108da908663ffffffff61124516565b6000546001600160a01b0316331461097557600080fd5b600054600160a01b900460ff1661098b57600080fd5b60008054600160a01b60ff02191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b3360009081526006602052604081205460ff166109ec57600080fd5b61083c8383611252565b6000546001600160a01b03163314610a0d57600080fd5b6001600160a01b038216610a2057600080fd5b303181811015610a2f57600080fd5b6040516001600160a01b0384169083156108fc029084906000818181858888f19350505050158015610a65573d6000803e3d6000fd5b50505050565b600054600160a01b900460ff1690565b6000610a868261102b565b610a9257506000610905565b600c54829060015b600f811015610b4d576001600160a01b038084166000818152600a6020526040902054909116908114610b0e576001600160a01b0381166000908152600b6020526040902054821015610b0957610b06600d83600f8110610af757fe5b0154849063ffffffff61123316565b92505b610b26565b610b1e858463ffffffff61124516565b945050610b4d565b506001600160a01b039283166000908152600a602052604090205490921691600101610a9a565b505050919050565b6000546001600160a01b03163314610b6c57600080fd5b6009805460ff191690556040517f8026f8893a6481bab71e1061fec48febf2d5bb80b1151831b0f697298d58bd9790600090a1565b6001600160a01b031660009081526007602052604090205490565b336000908152600a60205260409020546001600160a01b0316610bde57600080fd5b610be78161135c565b610bf057600080fd5b336000818152600b6020908152604080832080546001600160a01b038781168087528487209290925586865291859055600a90935281842080548486528386208054919093166001600160a01b03199182161790925585855280549091169055519092917f8f301448ae6ec66965bab75930c82a571ca27b842129ffcc59153ff3c4d2c7c691a350565b6000546001600160a01b03163314610c9157600080fd5b600054600160a01b900460ff1615610ca857600080fd5b60008054600160a01b60ff021916600160a01b1790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b6000546001600160a01b031690565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156108255780601f106107fa57610100808354040283529160200191610825565b3360008181526008602090815260408083206001600160a01b0387168452909152812054909161083c9185906108da908663ffffffff61123316565b6000546001600160a01b03163314610db357600080fd5b6001600160a01b038216600081815260066020908152604091829020805460ff191685151590811790915582519384529083015280517f04bca3656717d14c20f88f2a0122832cb0d2807bfc66ed9e932a2202cc59f4959281900390910190a15050565b60008054600160a01b900460ff1615610e2f57600080fd5b60095460ff168015610e425750600c5482145b8015610e525750610e528361102b565b8015610e645750610e623361102b565b155b8015610e745750610e743361135c565b15610e8b57610e833384611361565b506001610840565b610e83338484611166565b6001600160a01b031660009081526006602052604090205460ff1690565b6000546001600160a01b03163314610ecb57600080fd5b826001600160a01b038316610edf57600080fd5b60408051600160e01b6370a0823102815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b158015610f2c57600080fd5b505afa158015610f40573d6000803e3d6000fd5b505050506040513d6020811015610f5657600080fd5b5051905082811015610f6757600080fd5b816001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610fc757600080fd5b505af1158015610fdb573d6000803e3d6000fd5b505050506040513d6020811015610ff157600080fd5b5051610ff957fe5b5050505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b6001600160a01b039081166000908152600a602052604090205416151590565b6001600160a01b03166000908152600b602052604090205490565b6000546001600160a01b0316331461107d57600080fd5b6001600160a01b03811661109057600080fd5b600080546001600160a01b0319166001600160a01b0383811691821780845560405192939116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6001600160a01b0383166110f157600080fd5b6001600160a01b03821661110457600080fd5b6001600160a01b03808416600081815260086020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03821661117957600080fd5b6001600160a01b0383166000908152600760205260409020546111a2908263ffffffff61123316565b6001600160a01b0380851660009081526007602052604080822093909355908416815220546111d7908263ffffffff61124516565b6001600160a01b0380841660008181526007602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282111561123f57fe5b50900390565b8181018281101561084057fe5b600454600554611268908363ffffffff61124516565b111561127357600080fd5b6001600160a01b03821661128657600080fd5b600554611299908263ffffffff61124516565b6005556001600160a01b0382166000908152600760205260409020546112c5908263ffffffff61124516565b6001600160a01b038316600081815260076020908152604091829020939093558051848152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a26040805182815290516001600160a01b038416916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b3b1590565b6001600160a01b0381166000908152600b602052604090205461138b90600163ffffffff61124516565b6001600160a01b038083166000818152600b6020908152604080832095909555928616808252600a90935283812080546001600160a01b03191683179055925190927f5d37f63410f2d07f55a14544f74bda9e21c5439cce21a81b96e1df31145a854c91a36113fd3330600c54611166565b600c54829060005b600f811015610ff9576001600160a01b038084166000818152600a6020526040902054909116908114611483576001600160a01b0381166000908152600b602052604090205482101561147e5761146b3082600d85600f811061146457fe5b0154611166565b61147b600d83600f8110610af757fe5b92505b611494565b61148e308685611166565b50610ff9565b506001600160a01b039283166000908152600a60205260409020549092169160010161140556fea165627a7a72305820cf3991bccd230ca20ba7a60906997ef30273e35721afc8f252ee4414057ec5260029
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806361f3571e116100f7578063a746f93a11610095578063dd62ed3e11610064578063dd62ed3e146106c6578063e2aafa2114610701578063ec8f95fc14610734578063f2fde38b14610767576101c2565b8063a746f93a146105dc578063a9059cbb14610617578063aa271e1a14610650578063cea9d26f14610683576101c2565b80638456cb59116100d15780638456cb59146105645780638da5cb5b1461057957806395d89b411461058e578063a457c2d7146105a3576101c2565b806361f3571e146104e957806370a08231146104fe5780637ffbe24114610531576101c2565b806336b21ed41161016457806340c10f191161013e57806340c10f191461042f578063522f6815146104685780635c975abb146104a15780635ca23ce2146104b6576101c2565b806336b21ed4146103ca57806339509351146103df5780633f4ba83a14610418576101c2565b806323b872dd116101a057806323b872dd146102f85780632cf003c21461033b578063313ce5671461038a578063355274ea146103b5576101c2565b806306fdde03146101fa578063095ea7b31461028457806318160ddd146102d1575b60408051348152905133917f0553260a2e46b0577270d8992db02d30856ca880144c72d6e9503760946aef13919081900360200190a2005b34801561020657600080fd5b5061020f61079a565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610249578181015183820152602001610231565b50505050905090810190601f1680156102765780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561029057600080fd5b506102bd600480360360408110156102a757600080fd5b506001600160a01b03813516906020013561082f565b604080519115158252519081900360200190f35b3480156102dd57600080fd5b506102e6610846565b60408051918252519081900360200190f35b34801561030457600080fd5b506102bd6004803603606081101561031b57600080fd5b506001600160a01b0381358116916020810135909116906040013561084c565b34801561034757600080fd5b5061036e6004803603602081101561035e57600080fd5b50356001600160a01b03166108e9565b604080516001600160a01b039092168252519081900360200190f35b34801561039657600080fd5b5061039f61090a565b6040805160ff9092168252519081900360200190f35b3480156103c157600080fd5b506102e6610913565b3480156103d657600080fd5b506102bd610919565b3480156103eb57600080fd5b506102bd6004803603604081101561040257600080fd5b506001600160a01b038135169060200135610922565b34801561042457600080fd5b5061042d61095e565b005b34801561043b57600080fd5b506102bd6004803603604081101561045257600080fd5b506001600160a01b0381351690602001356109d0565b34801561047457600080fd5b5061042d6004803603604081101561048b57600080fd5b506001600160a01b0381351690602001356109f6565b3480156104ad57600080fd5b506102bd610a6b565b3480156104c257600080fd5b506102e6600480360360208110156104d957600080fd5b50356001600160a01b0316610a7b565b3480156104f557600080fd5b5061042d610b55565b34801561050a57600080fd5b506102e66004803603602081101561052157600080fd5b50356001600160a01b0316610ba1565b34801561053d57600080fd5b5061042d6004803603602081101561055457600080fd5b50356001600160a01b0316610bbc565b34801561057057600080fd5b5061042d610c7a565b34801561058557600080fd5b5061036e610cf3565b34801561059a57600080fd5b5061020f610d02565b3480156105af57600080fd5b506102bd600480360360408110156105c657600080fd5b506001600160a01b038135169060200135610d60565b3480156105e857600080fd5b5061042d600480360360408110156105ff57600080fd5b506001600160a01b0381351690602001351515610d9c565b34801561062357600080fd5b506102bd6004803603604081101561063a57600080fd5b506001600160a01b038135169060200135610e17565b34801561065c57600080fd5b506102bd6004803603602081101561067357600080fd5b50356001600160a01b0316610e96565b34801561068f57600080fd5b5061042d600480360360608110156106a657600080fd5b506001600160a01b03813581169160208101359091169060400135610eb4565b3480156106d257600080fd5b506102e6600480360360408110156106e957600080fd5b506001600160a01b0381358116916020013516611000565b34801561070d57600080fd5b506102bd6004803603602081101561072457600080fd5b50356001600160a01b031661102b565b34801561074057600080fd5b506102e66004803603602081101561075757600080fd5b50356001600160a01b031661104b565b34801561077357600080fd5b5061042d6004803603602081101561078a57600080fd5b50356001600160a01b0316611066565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156108255780601f106107fa57610100808354040283529160200191610825565b820191906000526020600020905b81548152906001019060200180831161080857829003601f168201915b5050505050905090565b600061083c3384846110de565b5060015b92915050565b60055490565b60008054600160a01b900460ff161561086457600080fd5b6001600160a01b038416600090815260086020908152604080832033845290915290205482111561089457600080fd5b61089f848484611166565b6001600160a01b0384166000908152600860209081526040808320338085529252909120546108df9186916108da908663ffffffff61123316565b6110de565b5060019392505050565b6001600160a01b038082166000908152600a6020526040902054165b919050565b60035460ff1690565b60045490565b60095460ff1690565b3360008181526008602090815260408083206001600160a01b0387168452909152812054909161083c9185906108da908663ffffffff61124516565b6000546001600160a01b0316331461097557600080fd5b600054600160a01b900460ff1661098b57600080fd5b60008054600160a01b60ff02191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b3360009081526006602052604081205460ff166109ec57600080fd5b61083c8383611252565b6000546001600160a01b03163314610a0d57600080fd5b6001600160a01b038216610a2057600080fd5b303181811015610a2f57600080fd5b6040516001600160a01b0384169083156108fc029084906000818181858888f19350505050158015610a65573d6000803e3d6000fd5b50505050565b600054600160a01b900460ff1690565b6000610a868261102b565b610a9257506000610905565b600c54829060015b600f811015610b4d576001600160a01b038084166000818152600a6020526040902054909116908114610b0e576001600160a01b0381166000908152600b6020526040902054821015610b0957610b06600d83600f8110610af757fe5b0154849063ffffffff61123316565b92505b610b26565b610b1e858463ffffffff61124516565b945050610b4d565b506001600160a01b039283166000908152600a602052604090205490921691600101610a9a565b505050919050565b6000546001600160a01b03163314610b6c57600080fd5b6009805460ff191690556040517f8026f8893a6481bab71e1061fec48febf2d5bb80b1151831b0f697298d58bd9790600090a1565b6001600160a01b031660009081526007602052604090205490565b336000908152600a60205260409020546001600160a01b0316610bde57600080fd5b610be78161135c565b610bf057600080fd5b336000818152600b6020908152604080832080546001600160a01b038781168087528487209290925586865291859055600a90935281842080548486528386208054919093166001600160a01b03199182161790925585855280549091169055519092917f8f301448ae6ec66965bab75930c82a571ca27b842129ffcc59153ff3c4d2c7c691a350565b6000546001600160a01b03163314610c9157600080fd5b600054600160a01b900460ff1615610ca857600080fd5b60008054600160a01b60ff021916600160a01b1790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b6000546001600160a01b031690565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156108255780601f106107fa57610100808354040283529160200191610825565b3360008181526008602090815260408083206001600160a01b0387168452909152812054909161083c9185906108da908663ffffffff61123316565b6000546001600160a01b03163314610db357600080fd5b6001600160a01b038216600081815260066020908152604091829020805460ff191685151590811790915582519384529083015280517f04bca3656717d14c20f88f2a0122832cb0d2807bfc66ed9e932a2202cc59f4959281900390910190a15050565b60008054600160a01b900460ff1615610e2f57600080fd5b60095460ff168015610e425750600c5482145b8015610e525750610e528361102b565b8015610e645750610e623361102b565b155b8015610e745750610e743361135c565b15610e8b57610e833384611361565b506001610840565b610e83338484611166565b6001600160a01b031660009081526006602052604090205460ff1690565b6000546001600160a01b03163314610ecb57600080fd5b826001600160a01b038316610edf57600080fd5b60408051600160e01b6370a0823102815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b158015610f2c57600080fd5b505afa158015610f40573d6000803e3d6000fd5b505050506040513d6020811015610f5657600080fd5b5051905082811015610f6757600080fd5b816001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610fc757600080fd5b505af1158015610fdb573d6000803e3d6000fd5b505050506040513d6020811015610ff157600080fd5b5051610ff957fe5b5050505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b6001600160a01b039081166000908152600a602052604090205416151590565b6001600160a01b03166000908152600b602052604090205490565b6000546001600160a01b0316331461107d57600080fd5b6001600160a01b03811661109057600080fd5b600080546001600160a01b0319166001600160a01b0383811691821780845560405192939116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6001600160a01b0383166110f157600080fd5b6001600160a01b03821661110457600080fd5b6001600160a01b03808416600081815260086020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03821661117957600080fd5b6001600160a01b0383166000908152600760205260409020546111a2908263ffffffff61123316565b6001600160a01b0380851660009081526007602052604080822093909355908416815220546111d7908263ffffffff61124516565b6001600160a01b0380841660008181526007602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282111561123f57fe5b50900390565b8181018281101561084057fe5b600454600554611268908363ffffffff61124516565b111561127357600080fd5b6001600160a01b03821661128657600080fd5b600554611299908263ffffffff61124516565b6005556001600160a01b0382166000908152600760205260409020546112c5908263ffffffff61124516565b6001600160a01b038316600081815260076020908152604091829020939093558051848152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a26040805182815290516001600160a01b038416916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b3b1590565b6001600160a01b0381166000908152600b602052604090205461138b90600163ffffffff61124516565b6001600160a01b038083166000818152600b6020908152604080832095909555928616808252600a90935283812080546001600160a01b03191683179055925190927f5d37f63410f2d07f55a14544f74bda9e21c5439cce21a81b96e1df31145a854c91a36113fd3330600c54611166565b600c54829060005b600f811015610ff9576001600160a01b038084166000818152600a6020526040902054909116908114611483576001600160a01b0381166000908152600b602052604090205482101561147e5761146b3082600d85600f811061146457fe5b0154611166565b61147b600d83600f8110610af757fe5b92505b611494565b61148e308685611166565b50610ff9565b506001600160a01b039283166000908152600a60205260409020549092169160010161140556fea165627a7a72305820cf3991bccd230ca20ba7a60906997ef30273e35721afc8f252ee4414057ec5260029
Swarm Source
bzzr://cf3991bccd230ca20ba7a60906997ef30273e35721afc8f252ee4414057ec526
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.