Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Energy Sector
Overview
Max Total Supply
286,293,627 SET
Holders
5,390 (0.00%)
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SwytchToken
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-07-21 */ pragma solidity ^0.4.18; /** * @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 ERC20Basic * @dev Simpler version of ERC20 interface * @dev 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 Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; 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) 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); 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 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 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 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) { 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); 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; 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 view returns (uint256) { return allowed[_owner][_spender]; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _addedValue The amount of tokens to increase the allowance by. */ function increaseApproval(address _spender, uint _addedValue) public returns (bool) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } /** * @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)); OwnershipTransferred(owner, newOwner); owner = newOwner; } } /** * @title Mintable token * @dev Simple ERC20 Token example, with mintable token creation * @dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol */ contract MintableToken is StandardToken, Ownable { event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; modifier canMint() { require(!mintingFinished); _; } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) { totalSupply_ = totalSupply_.add(_amount); balances[_to] = balances[_to].add(_amount); Mint(_to, _amount); Transfer(address(0), _to, _amount); return true; } /** * @dev Function to stop minting new tokens. * @return True if the operation was successful. */ function finishMinting() onlyOwner canMint public returns (bool) { mintingFinished = true; MintFinished(); return true; } } /* Utilities & Common Modifiers */ contract Utils { /** constructor */ function Utils() { } // verifies that an amount is greater than zero modifier greaterThanZero(uint256 _amount) { require(_amount > 0); _; } // validates an address - currently only checks that it isn't null modifier validAddress(address _address) { require(_address != 0x0); _; } // verifies that the address is different than this contract address modifier notThis(address _address) { require(_address != address(this)); _; } } /* Smart Token interface */ contract ISmartToken { string public version = "0.3"; // ================================================================================================================= // Members // ================================================================================================================= bool public transfersEnabled = false; // ================================================================================================================= // Event // ================================================================================================================= // triggered when a smart token is deployed - the _token address is defined for forward compatibility, in case we want to trigger the event from a factory event NewSmartToken(address _token); // triggered when the total supply is increased event Issuance(uint256 _amount); // triggered when the total supply is decreased event Destruction(uint256 _amount); // ================================================================================================================= // Functions // ================================================================================================================= function disableTransfers(bool _disable) public; function issue(address _to, uint256 _amount) public; function destroy(address _from, uint256 _amount) public; } contract SmartToken is ISmartToken, Utils, Ownable, MintableToken { string public standard = "Token 0.1"; string public name = ""; string public symbol = ""; uint8 public decimals = 0; bool public transfersEnabled = false; bool public destroyEnabled = false; // allows execution only when transfers aren't disabled modifier transfersAllowed { assert(transfersEnabled); _; } modifier canDestroy() { require(destroyEnabled); _; } function SmartToken(string _name, string _symbol, uint8 _decimals) public { require(bytes(_name).length > 0 && bytes(_symbol).length > 0); name = _name; symbol = _symbol; decimals = _decimals; } function setDestroyEnabled(bool _enable) public onlyOwner { destroyEnabled = _enable; } function transfer(address _to, uint256 _value) public transfersAllowed returns (bool) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) public transfersAllowed returns (bool) { return super.transferFrom(_from, _to, _value); } /** * */ //@Override function disableTransfers(bool _disable) public onlyOwner { transfersEnabled = !_disable; } //@Override function issue(address _to, uint256 _amount) public transfersAllowed onlyOwner canMint validAddress(_to) notThis(_to) { totalSupply_ = totalSupply_.add(_amount); balances[_to] = balances[_to].add(_amount); emit Issuance(_amount); emit Transfer(this, _to, _amount); } //@Override function destroy(address _from, uint256 _amount) public transfersAllowed canDestroy { require(msg.sender == _from || msg.sender == owner); balances[_from] = balances[_from].sub(_amount); totalSupply_ = totalSupply_.sub(_amount); emit Destruction(_amount); emit Transfer(_from, 0x0, _amount); } } contract SwytchToken is SmartToken { /** * @dev Contract Name */ string public name = "Swytch Energy Token"; /** * @dev Contract Symbol */ string public symbol = "SET"; /** * @dev Number of decimals */ uint8 public decimals = 18; /** * @dev Initial Supply */ // uint256 public INITIAL_SUPPLY = 2.03e8 * (10 ** uint256(decimals)); uint256 public initialSupply = 0; uint256 public MAXIMUM_SUPPLY = 3.65e9 * (10 ** uint256(decimals)); /** * @dev Constructor that gives msg.sender all of existing tokens. */ function SwytchToken() public SmartToken(name, symbol, decimals) { owner = msg.sender; totalSupply_ = initialSupply; balances[msg.sender] = initialSupply; emit Transfer(0x0, owner, initialSupply); emit NewSmartToken(address(this)); } /** Mintable overrides */ /** * @dev Override function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address _to, uint256 _amount) public transfersAllowed onlyOwner canMint returns (bool) { var current = totalSupply(); assert(current.add(_amount) <= MAXIMUM_SUPPLY); return super.mint(_to, _amount); } function finishMinting() public onlyOwner canMint returns (bool) { return super.finishMinting(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"_disable","type":"bool"}],"name":"disableTransfers","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":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initialSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAXIMUM_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_enable","type":"bool"}],"name":"setDestroyEnabled","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"finishMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"issue","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":"_from","type":"address"},{"name":"_amount","type":"uint256"}],"name":"destroy","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":"transfersEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"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":"destroyEnabled","outputs":[{"name":"","type":"bool"}],"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","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"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_token","type":"address"}],"name":"NewSmartToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_amount","type":"uint256"}],"name":"Issuance","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_amount","type":"uint256"}],"name":"Destruction","type":"event"}]
Contract Creation Code
60c0604052600360808190527f302e33000000000000000000000000000000000000000000000000000000000060a0908152620000409160009190620003f8565b506001805460ff191690556005805460a060020a60ff02191690556040805180820190915260098082527f546f6b656e20302e3100000000000000000000000000000000000000000000006020909201918252620000a191600691620003f8565b50604080516020810191829052600090819052620000c291600791620003f8565b50604080516020810191829052600090819052620000e391600891620003f8565b506009805462ffffff191690556040805180820190915260138082527f53777974636820456e6572677920546f6b656e0000000000000000000000000060209092019182526200013691600a91620003f8565b506040805180820190915260038082527f534554000000000000000000000000000000000000000000000000000000000060209092019182526200017d91600b91620003f8565b50600c8054601260ff1990911617908190556000600d5560ff16600a0a63d98e948002600e55348015620001b057600080fd5b50600a805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156200023b5780601f106200020f576101008083540402835291602001916200023b565b820191906000526020600020905b8154815290600101906020018083116200021d57829003601f168201915b5050600b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815295509193509150830182828015620002cd5780601f10620002a157610100808354040283529160200191620002cd565b820191906000526020600020905b815481529060010190602001808311620002af57829003601f168201915b5050600c5460058054600160a060020a03191633179055855160ff9091169350600010915050801562000301575060008251115b15156200030d57600080fd5b825162000322906007906020860190620003f8565b50815162000338906008906020850190620003f8565b506009805460ff191660ff9290921691909117905550506005805433600160a060020a031990911681178255600d5460038190556000918252600260209081526040808420839055935484519283529351600160a060020a03909416937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a36040805130815290517ff4cd1f8571e8d9c97ffcb81558807ab73f9803d54de5da6a0420593c82a4a9f09181900360200190a16200049d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200043b57805160ff19168380011785556200046b565b828001600101855582156200046b579182015b828111156200046b5782518255916020019190600101906200044e565b50620004799291506200047d565b5090565b6200049a91905b8082111562000479576000815560010162000484565b90565b61118a80620004ad6000396000f3006080604052600436106101535763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461015857806306fdde0314610181578063095ea7b31461020b5780631608f18f1461022f57806318160ddd1461024b57806323b872dd14610272578063313ce5671461029c578063378dc3dc146102c75780633d0c4924146102dc57806340c10f19146102f15780635005ba471461031557806354fd4d501461032f5780635a3b7e4214610344578063661884631461035957806370a082311461037d5780637d64bcb41461039e578063867904b4146103b35780638da5cb5b146103d757806395d89b4114610408578063a24835d11461041d578063a9059cbb14610441578063bef97c8714610465578063d73dd6231461047a578063dd62ed3e1461049e578063decfe0d4146104c5578063f2fde38b146104da575b600080fd5b34801561016457600080fd5b5061016d6104fb565b604080519115158252519081900360200190f35b34801561018d57600080fd5b5061019661050b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d05781810151838201526020016101b8565b50505050905090810190601f1680156101fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561021757600080fd5b5061016d600160a060020a0360043516602435610599565b34801561023b57600080fd5b5061024960043515156105ff565b005b34801561025757600080fd5b5061026061062d565b60408051918252519081900360200190f35b34801561027e57600080fd5b5061016d600160a060020a0360043581169060243516604435610633565b3480156102a857600080fd5b506102b161065c565b6040805160ff9092168252519081900360200190f35b3480156102d357600080fd5b50610260610665565b3480156102e857600080fd5b5061026061066b565b3480156102fd57600080fd5b5061016d600160a060020a0360043516602435610671565b34801561032157600080fd5b5061024960043515156106e7565b34801561033b57600080fd5b5061019661071a565b34801561035057600080fd5b50610196610775565b34801561036557600080fd5b5061016d600160a060020a03600435166024356107d0565b34801561038957600080fd5b50610260600160a060020a03600435166108c0565b3480156103aa57600080fd5b5061016d6108db565b3480156103bf57600080fd5b50610249600160a060020a0360043516602435610919565b3480156103e357600080fd5b506103ec610a4c565b60408051600160a060020a039092168252519081900360200190f35b34801561041457600080fd5b50610196610a5b565b34801561042957600080fd5b50610249600160a060020a0360043516602435610ab6565b34801561044d57600080fd5b5061016d600160a060020a0360043516602435610bca565b34801561047157600080fd5b5061016d610bf1565b34801561048657600080fd5b5061016d600160a060020a0360043516602435610bff565b3480156104aa57600080fd5b50610260600160a060020a0360043581169060243516610c98565b3480156104d157600080fd5b5061016d610cc3565b3480156104e657600080fd5b50610249600160a060020a0360043516610cd2565b60055460a060020a900460ff1681565b600a805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105915780601f1061056657610100808354040283529160200191610591565b820191906000526020600020905b81548152906001019060200180831161057457829003601f168201915b505050505081565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b600554600160a060020a0316331461061657600080fd5b6009805461ff001916911561010002919091179055565b60035490565b600954600090610100900460ff16151561064957fe5b610654848484610d67565b949350505050565b600c5460ff1681565b600d5481565b600e5481565b6009546000908190610100900460ff16151561068957fe5b600554600160a060020a031633146106a057600080fd5b60055460a060020a900460ff16156106b757600080fd5b6106bf61062d565b600e549091506106d5828563ffffffff610ece16565b11156106dd57fe5b6106548484610edd565b600554600160a060020a031633146106fe57600080fd5b60098054911515620100000262ff000019909216919091179055565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105915780601f1061056657610100808354040283529160200191610591565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105915780601f1061056657610100808354040283529160200191610591565b336000908152600460209081526040808320600160a060020a03861684529091528120548083111561082557336000908152600460209081526040808320600160a060020a038816845290915281205561085a565b610835818463ffffffff610fd716565b336000908152600460209081526040808320600160a060020a03891684529091529020555b336000818152600460209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526002602052604090205490565b600554600090600160a060020a031633146108f557600080fd5b60055460a060020a900460ff161561090c57600080fd5b610914610fe9565b905090565b600954610100900460ff16151561092c57fe5b600554600160a060020a0316331461094357600080fd5b60055460a060020a900460ff161561095a57600080fd5b81600160a060020a038116151561097057600080fd5b82600160a060020a03811630141561098757600080fd5b60035461099a908463ffffffff610ece16565b600355600160a060020a0384166000908152600260205260409020546109c6908463ffffffff610ece16565b600160a060020a03851660009081526002602090815260409182902092909255805185815290517f9386c90217c323f58030f9dadcbc938f807a940f4ff41cd4cead9562f5da7dc3929181900390910190a1604080518481529051600160a060020a03861691309160008051602061113f8339815191529181900360200190a350505050565b600554600160a060020a031681565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105915780601f1061056657610100808354040283529160200191610591565b600954610100900460ff161515610ac957fe5b60095462010000900460ff161515610ae057600080fd5b33600160a060020a0383161480610b015750600554600160a060020a031633145b1515610b0c57600080fd5b600160a060020a038216600090815260026020526040902054610b35908263ffffffff610fd716565b600160a060020a038316600090815260026020526040902055600354610b61908263ffffffff610fd716565b6003556040805182815290517f9a1b418bc061a5d80270261562e6986a35d995f8051145f277be16103abd34539181900360200190a1604080518281529051600091600160a060020a0385169160008051602061113f8339815191529181900360200190a35050565b600954600090610100900460ff161515610be057fe5b610bea838361106d565b9392505050565b600954610100900460ff1681565b336000908152600460209081526040808320600160a060020a0386168452909152812054610c33908363ffffffff610ece16565b336000818152600460209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60095462010000900460ff1681565b600554600160a060020a03163314610ce957600080fd5b600160a060020a0381161515610cfe57600080fd5b600554604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a0383161515610d7e57600080fd5b600160a060020a038416600090815260026020526040902054821115610da357600080fd5b600160a060020a0384166000908152600460209081526040808320338452909152902054821115610dd357600080fd5b600160a060020a038416600090815260026020526040902054610dfc908363ffffffff610fd716565b600160a060020a038086166000908152600260205260408082209390935590851681522054610e31908363ffffffff610ece16565b600160a060020a038085166000908152600260209081526040808320949094559187168152600482528281203382529091522054610e75908363ffffffff610fd716565b600160a060020a038086166000818152600460209081526040808320338452825291829020949094558051868152905192871693919260008051602061113f833981519152929181900390910190a35060019392505050565b600082820183811015610bea57fe5b600554600090600160a060020a03163314610ef757600080fd5b60055460a060020a900460ff1615610f0e57600080fd5b600354610f21908363ffffffff610ece16565b600355600160a060020a038316600090815260026020526040902054610f4d908363ffffffff610ece16565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a0385169160009160008051602061113f8339815191529181900360200190a350600192915050565b600082821115610fe357fe5b50900390565b600554600090600160a060020a0316331461100357600080fd5b60055460a060020a900460ff161561101a57600080fd5b6005805474ff0000000000000000000000000000000000000000191660a060020a1790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b6000600160a060020a038316151561108457600080fd5b336000908152600260205260409020548211156110a057600080fd5b336000908152600260205260409020546110c0908363ffffffff610fd716565b3360009081526002602052604080822092909255600160a060020a038516815220546110f2908363ffffffff610ece16565b600160a060020a03841660008181526002602090815260409182902093909355805185815290519192339260008051602061113f8339815191529281900390910190a3506001929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058200492abe8ce42b68ab6e4d4ac51237f20299ea627ad9d596e8f170e26bc418fec0029
Deployed Bytecode
0x6080604052600436106101535763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461015857806306fdde0314610181578063095ea7b31461020b5780631608f18f1461022f57806318160ddd1461024b57806323b872dd14610272578063313ce5671461029c578063378dc3dc146102c75780633d0c4924146102dc57806340c10f19146102f15780635005ba471461031557806354fd4d501461032f5780635a3b7e4214610344578063661884631461035957806370a082311461037d5780637d64bcb41461039e578063867904b4146103b35780638da5cb5b146103d757806395d89b4114610408578063a24835d11461041d578063a9059cbb14610441578063bef97c8714610465578063d73dd6231461047a578063dd62ed3e1461049e578063decfe0d4146104c5578063f2fde38b146104da575b600080fd5b34801561016457600080fd5b5061016d6104fb565b604080519115158252519081900360200190f35b34801561018d57600080fd5b5061019661050b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d05781810151838201526020016101b8565b50505050905090810190601f1680156101fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561021757600080fd5b5061016d600160a060020a0360043516602435610599565b34801561023b57600080fd5b5061024960043515156105ff565b005b34801561025757600080fd5b5061026061062d565b60408051918252519081900360200190f35b34801561027e57600080fd5b5061016d600160a060020a0360043581169060243516604435610633565b3480156102a857600080fd5b506102b161065c565b6040805160ff9092168252519081900360200190f35b3480156102d357600080fd5b50610260610665565b3480156102e857600080fd5b5061026061066b565b3480156102fd57600080fd5b5061016d600160a060020a0360043516602435610671565b34801561032157600080fd5b5061024960043515156106e7565b34801561033b57600080fd5b5061019661071a565b34801561035057600080fd5b50610196610775565b34801561036557600080fd5b5061016d600160a060020a03600435166024356107d0565b34801561038957600080fd5b50610260600160a060020a03600435166108c0565b3480156103aa57600080fd5b5061016d6108db565b3480156103bf57600080fd5b50610249600160a060020a0360043516602435610919565b3480156103e357600080fd5b506103ec610a4c565b60408051600160a060020a039092168252519081900360200190f35b34801561041457600080fd5b50610196610a5b565b34801561042957600080fd5b50610249600160a060020a0360043516602435610ab6565b34801561044d57600080fd5b5061016d600160a060020a0360043516602435610bca565b34801561047157600080fd5b5061016d610bf1565b34801561048657600080fd5b5061016d600160a060020a0360043516602435610bff565b3480156104aa57600080fd5b50610260600160a060020a0360043581169060243516610c98565b3480156104d157600080fd5b5061016d610cc3565b3480156104e657600080fd5b50610249600160a060020a0360043516610cd2565b60055460a060020a900460ff1681565b600a805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105915780601f1061056657610100808354040283529160200191610591565b820191906000526020600020905b81548152906001019060200180831161057457829003601f168201915b505050505081565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b600554600160a060020a0316331461061657600080fd5b6009805461ff001916911561010002919091179055565b60035490565b600954600090610100900460ff16151561064957fe5b610654848484610d67565b949350505050565b600c5460ff1681565b600d5481565b600e5481565b6009546000908190610100900460ff16151561068957fe5b600554600160a060020a031633146106a057600080fd5b60055460a060020a900460ff16156106b757600080fd5b6106bf61062d565b600e549091506106d5828563ffffffff610ece16565b11156106dd57fe5b6106548484610edd565b600554600160a060020a031633146106fe57600080fd5b60098054911515620100000262ff000019909216919091179055565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105915780601f1061056657610100808354040283529160200191610591565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105915780601f1061056657610100808354040283529160200191610591565b336000908152600460209081526040808320600160a060020a03861684529091528120548083111561082557336000908152600460209081526040808320600160a060020a038816845290915281205561085a565b610835818463ffffffff610fd716565b336000908152600460209081526040808320600160a060020a03891684529091529020555b336000818152600460209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526002602052604090205490565b600554600090600160a060020a031633146108f557600080fd5b60055460a060020a900460ff161561090c57600080fd5b610914610fe9565b905090565b600954610100900460ff16151561092c57fe5b600554600160a060020a0316331461094357600080fd5b60055460a060020a900460ff161561095a57600080fd5b81600160a060020a038116151561097057600080fd5b82600160a060020a03811630141561098757600080fd5b60035461099a908463ffffffff610ece16565b600355600160a060020a0384166000908152600260205260409020546109c6908463ffffffff610ece16565b600160a060020a03851660009081526002602090815260409182902092909255805185815290517f9386c90217c323f58030f9dadcbc938f807a940f4ff41cd4cead9562f5da7dc3929181900390910190a1604080518481529051600160a060020a03861691309160008051602061113f8339815191529181900360200190a350505050565b600554600160a060020a031681565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105915780601f1061056657610100808354040283529160200191610591565b600954610100900460ff161515610ac957fe5b60095462010000900460ff161515610ae057600080fd5b33600160a060020a0383161480610b015750600554600160a060020a031633145b1515610b0c57600080fd5b600160a060020a038216600090815260026020526040902054610b35908263ffffffff610fd716565b600160a060020a038316600090815260026020526040902055600354610b61908263ffffffff610fd716565b6003556040805182815290517f9a1b418bc061a5d80270261562e6986a35d995f8051145f277be16103abd34539181900360200190a1604080518281529051600091600160a060020a0385169160008051602061113f8339815191529181900360200190a35050565b600954600090610100900460ff161515610be057fe5b610bea838361106d565b9392505050565b600954610100900460ff1681565b336000908152600460209081526040808320600160a060020a0386168452909152812054610c33908363ffffffff610ece16565b336000818152600460209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60095462010000900460ff1681565b600554600160a060020a03163314610ce957600080fd5b600160a060020a0381161515610cfe57600080fd5b600554604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a0383161515610d7e57600080fd5b600160a060020a038416600090815260026020526040902054821115610da357600080fd5b600160a060020a0384166000908152600460209081526040808320338452909152902054821115610dd357600080fd5b600160a060020a038416600090815260026020526040902054610dfc908363ffffffff610fd716565b600160a060020a038086166000908152600260205260408082209390935590851681522054610e31908363ffffffff610ece16565b600160a060020a038085166000908152600260209081526040808320949094559187168152600482528281203382529091522054610e75908363ffffffff610fd716565b600160a060020a038086166000818152600460209081526040808320338452825291829020949094558051868152905192871693919260008051602061113f833981519152929181900390910190a35060019392505050565b600082820183811015610bea57fe5b600554600090600160a060020a03163314610ef757600080fd5b60055460a060020a900460ff1615610f0e57600080fd5b600354610f21908363ffffffff610ece16565b600355600160a060020a038316600090815260026020526040902054610f4d908363ffffffff610ece16565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a0385169160009160008051602061113f8339815191529181900360200190a350600192915050565b600082821115610fe357fe5b50900390565b600554600090600160a060020a0316331461100357600080fd5b60055460a060020a900460ff161561101a57600080fd5b6005805474ff0000000000000000000000000000000000000000191660a060020a1790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b6000600160a060020a038316151561108457600080fd5b336000908152600260205260409020548211156110a057600080fd5b336000908152600260205260409020546110c0908363ffffffff610fd716565b3360009081526002602052604080822092909255600160a060020a038516815220546110f2908363ffffffff610ece16565b600160a060020a03841660008181526002602090815260409182902093909355805185815290519192339260008051602061113f8339815191529281900390910190a3506001929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058200492abe8ce42b68ab6e4d4ac51237f20299ea627ad9d596e8f170e26bc418fec0029
Swarm Source
bzzr://0492abe8ce42b68ab6e4d4ac51237f20299ea627ad9d596e8f170e26bc418fec
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.