Overview
Max Total Supply
100,000,000,000 FXC
Holders
1,873 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.310601392095484516 FXCValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Flexacoin
Compiler Version
v0.4.23+commit.124ca40d
Optimization Enabled:
Yes with 500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-01-05 */ pragma solidity 0.4.23; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : [email protected] // released under Apache 2.0 licence // input /Users/zacharykilgore/src/flexa/smart-contracts/contracts/Flexacoin.sol // flattened : Saturday, 05-Jan-19 14:38:33 UTC library SafeMath { /** * @dev Multiplies two numbers, throws 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 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; } } contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } } contract UpgradeAgent { uint public originalSupply; /** Interface methods */ function isUpgradeAgent() public view returns (bool); function upgradeFrom(address _from, uint256 _value) public; } 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); } contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; /** * @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 the owner to pause, triggers stopped state */ function pause() onlyOwner whenNotPaused public { paused = true; emit Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyOwner whenPaused public { paused = false; emit Unpause(); } } 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); } 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]); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256) { return balances[_owner]; } } contract Claimable is Ownable { address public pendingOwner; /** * @dev Modifier throws if called by any account other than the pendingOwner. */ modifier onlyPendingOwner() { require(msg.sender == pendingOwner); _; } /** * @dev Allows the current owner to set the pendingOwner address. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) onlyOwner public { pendingOwner = newOwner; } /** * @dev Allows the pendingOwner address to finalize the transfer. */ function claimOwnership() onlyPendingOwner public { emit OwnershipTransferred(owner, pendingOwner); owner = pendingOwner; pendingOwner = address(0); } } 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); emit Transfer(_from, _to, _value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) public 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); emit 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); } emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } library SafeERC20 { function safeTransfer(ERC20Basic token, address to, uint256 value) internal { assert(token.transfer(to, value)); } function safeTransferFrom( ERC20 token, address from, address to, uint256 value ) internal { assert(token.transferFrom(from, to, value)); } function safeApprove(ERC20 token, address spender, uint256 value) internal { assert(token.approve(spender, value)); } } contract PausableToken is StandardToken, Pausable { function transfer(address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transferFrom(_from, _to, _value); } function approve(address _spender, uint256 _value) public whenNotPaused returns (bool) { return super.approve(_spender, _value); } function increaseApproval(address _spender, uint _addedValue) public whenNotPaused returns (bool success) { return super.increaseApproval(_spender, _addedValue); } function decreaseApproval(address _spender, uint _subtractedValue) public whenNotPaused returns (bool success) { return super.decreaseApproval(_spender, _subtractedValue); } } contract CanReclaimToken is Ownable { using SafeERC20 for ERC20Basic; /** * @dev Reclaim all ERC20Basic compatible tokens * @param token ERC20Basic The address of the token contract */ function reclaimToken(ERC20Basic token) external onlyOwner { uint256 balance = token.balanceOf(this); token.safeTransfer(owner, balance); } } contract Recoverable is CanReclaimToken, Claimable { using SafeERC20 for ERC20Basic; /** * @dev Transfer all ether held by the contract to the contract owner. */ function reclaimEther() external onlyOwner { owner.transfer(address(this).balance); } } contract UpgradeableToken is StandardToken, Recoverable { /** The contract that will handle the upgrading the tokens. */ UpgradeAgent public upgradeAgent; /** How many tokens have been upgraded. */ uint256 public totalUpgraded = 0; /** * Upgrade states. * * - `Unknown`: Zero state to prevent erroneous state reporting. Should never be returned * - `NotAllowed`: The child contract has not reached a condition where the upgrade can begin * - `WaitingForAgent`: Allowed to upgrade, but agent has not been set * - `ReadyToUpgrade`: The agent is set, but no tokens has been upgraded yet * - `Upgrading`: Upgrade agent is set, and balance holders are upgrading their tokens */ enum UpgradeState {Unknown, NotAllowed, WaitingForAgent, ReadyToUpgrade, Upgrading} /** * Event to track that a token holder has upgraded some of their tokens. * @param from Address of the token holder * @param to Address of the upgrade agent * @param value Number of tokens upgraded */ event Upgrade(address indexed from, address indexed to, uint256 value); /** * Event to signal that an upgrade agent contract has been set. * @param upgradeAgent Address of the new upgrade agent */ event UpgradeAgentSet(address upgradeAgent); /** * @notice Allow the token holder to upgrade some of their tokens to the new * contract. * @param _value The amount of tokens to upgrade */ function upgrade(uint256 _value) public { UpgradeState _state = getUpgradeState(); require( _state == UpgradeState.ReadyToUpgrade || _state == UpgradeState.Upgrading, "State must be correct for upgrade" ); require(_value > 0, "Upgrade value must be greater than zero"); // Take tokens out of circulation balances[msg.sender] = balances[msg.sender].sub(_value); totalSupply_ = totalSupply_.sub(_value); totalUpgraded = totalUpgraded.add(_value); // Hand control to upgrade agent to process new tokens for the sender upgradeAgent.upgradeFrom(msg.sender, _value); emit Upgrade(msg.sender, upgradeAgent, _value); } /** * @notice Set an upgrade agent contract to process the upgrade. * @dev The _upgradeAgent contract address must satisfy the UpgradeAgent * interface. * @param _upgradeAgent The address of the new UpgradeAgent smart contract */ function setUpgradeAgent(UpgradeAgent _upgradeAgent) external onlyOwner { require(canUpgrade(), "Ensure the token is upgradeable in the first place"); require(_upgradeAgent != address(0), "Ensure upgrade agent address is not blank"); require(getUpgradeState() != UpgradeState.Upgrading, "Ensure upgrade has not started"); upgradeAgent = _upgradeAgent; require(upgradeAgent.isUpgradeAgent(), "New upgradeAgent must be UpgradeAgent"); require( upgradeAgent.originalSupply() == totalSupply_, "Make sure that token supplies match in source and target token contracts" ); emit UpgradeAgentSet(upgradeAgent); } /** * @notice Get the state of the token upgrade. */ function getUpgradeState() public view returns(UpgradeState) { if(!canUpgrade()) return UpgradeState.NotAllowed; else if(address(upgradeAgent) == address(0)) return UpgradeState.WaitingForAgent; else if(totalUpgraded == 0) return UpgradeState.ReadyToUpgrade; else return UpgradeState.Upgrading; } /** * @notice Can the contract be upgradead? * @dev Child contract must implement and provide the condition when the upgrade * can begin. * @return true if the contract can be upgraded, false if not */ function canUpgrade() public view returns(bool); } contract Flexacoin is PausableToken, UpgradeableToken { string public constant name = "Flexacoin"; string public constant symbol = "FXC"; uint8 public constant decimals = 18; uint256 public constant INITIAL_SUPPLY = 100000000000 * (10 ** uint256(decimals)); /** * @notice Flexacoin (ERC20 Token) contract constructor. * @dev Assigns all tokens to contract creator. */ constructor() public { totalSupply_ = INITIAL_SUPPLY; balances[msg.sender] = INITIAL_SUPPLY; emit Transfer(0x0, msg.sender, INITIAL_SUPPLY); } /** * @dev Allow UpgradeableToken functionality only if contract is not paused. */ function canUpgrade() public view returns(bool) { return !paused; } }
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":"token","type":"address"}],"name":"reclaimToken","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":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"upgrade","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimOwnership","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":"upgradeAgent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"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":true,"inputs":[],"name":"getUpgradeState","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","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":true,"inputs":[],"name":"canUpgrade","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"reclaimEther","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":"totalUpgraded","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_upgradeAgent","type":"address"}],"name":"setUpgradeAgent","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":"pendingOwner","outputs":[{"name":"","type":"address"}],"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":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Upgrade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"upgradeAgent","type":"address"}],"name":"UpgradeAgentSet","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","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
60806040526003805460a060020a60ff0219169055600060065534801561002557600080fd5b5060038054600160a060020a03191633600160a060020a03169081179091556c01431e0fae6d7217caa0000000600181905560008281526020818152604080832084905580519384525191927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3611780806100ab6000396000f30060806040526004361061015e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610163578063095ea7b3146101ed57806317ffc3201461022557806318160ddd1461024857806323b872dd1461026f5780632ff2e9dc14610299578063313ce567146102ae5780633f4ba83a146102d957806345977d03146102ee5780634e71e0c8146103065780635c975abb1461031b5780635de4ccb014610330578063661884631461036157806370a08231146103855780638444b391146103a65780638456cb59146103df5780638da5cb5b146103f457806395d89b41146104095780639738968c1461041e5780639f727c2714610433578063a9059cbb14610448578063c752ff621461046c578063d73dd62314610481578063d7e7088a146104a5578063dd62ed3e146104c6578063e30c3978146104ed578063f2fde38b14610502575b600080fd5b34801561016f57600080fd5b50610178610523565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101b257818101518382015260200161019a565b50505050905090810190601f1680156101df5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101f957600080fd5b50610211600160a060020a036004351660243561055a565b604080519115158252519081900360200190f35b34801561023157600080fd5b50610246600160a060020a0360043516610596565b005b34801561025457600080fd5b5061025d61067b565b60408051918252519081900360200190f35b34801561027b57600080fd5b50610211600160a060020a0360043581169060243516604435610682565b3480156102a557600080fd5b5061025d6106c0565b3480156102ba57600080fd5b506102c36106d1565b6040805160ff9092168252519081900360200190f35b3480156102e557600080fd5b506102466106d6565b3480156102fa57600080fd5b50610246600435610763565b34801561031257600080fd5b506102466109d8565b34801561032757600080fd5b50610211610a66565b34801561033c57600080fd5b50610345610a87565b60408051600160a060020a039092168252519081900360200190f35b34801561036d57600080fd5b50610211600160a060020a0360043516602435610a96565b34801561039157600080fd5b5061025d600160a060020a0360043516610acb565b3480156103b257600080fd5b506103bb610ae6565b604051808260048111156103cb57fe5b60ff16815260200191505060405180910390f35b3480156103eb57600080fd5b50610246610b31565b34801561040057600080fd5b50610345610bd4565b34801561041557600080fd5b50610178610be3565b34801561042a57600080fd5b50610211610c1a565b34801561043f57600080fd5b50610246610c3c565b34801561045457600080fd5b50610211600160a060020a0360043516602435610c95565b34801561047857600080fd5b5061025d610cca565b34801561048d57600080fd5b50610211600160a060020a0360043516602435610cd0565b3480156104b157600080fd5b50610246600160a060020a0360043516610d05565b3480156104d257600080fd5b5061025d600160a060020a0360043581169060243516611158565b3480156104f957600080fd5b50610345611183565b34801561050e57600080fd5b50610246600160a060020a0360043516611192565b60408051808201909152600981527f466c657861636f696e0000000000000000000000000000000000000000000000602082015281565b60035460009074010000000000000000000000000000000000000000900460ff161561058557600080fd5b61058f83836111dc565b9392505050565b60035460009033600160a060020a039081169116146105b457600080fd5b81600160a060020a03166370a08231306040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b15801561062857600080fd5b505af115801561063c573d6000803e3d6000fd5b505050506040513d602081101561065257600080fd5b505160035490915061067790600160a060020a0384811691168363ffffffff61124616565b5050565b6001545b90565b60035460009074010000000000000000000000000000000000000000900460ff16156106ad57600080fd5b6106b88484846112fb565b949350505050565b6c01431e0fae6d7217caa000000081565b601281565b60035433600160a060020a039081169116146106f157600080fd5b60035474010000000000000000000000000000000000000000900460ff16151561071a57600080fd5b6003805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600061076d610ae6565b9050600381600481111561077d57fe5b14806107945750600481600481111561079257fe5b145b15156108155760408051600080516020611735833981519152815260206004820152602160248201527f5374617465206d75737420626520636f727265637420666f722075706772616460448201527f6500000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600082116108985760408051600080516020611735833981519152815260206004820152602760248201527f557067726164652076616c7565206d757374206265206772656174657220746860448201527f616e207a65726f00000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0333166000908152602081905260409020546108c1908363ffffffff61147b16565b600160a060020a0333166000908152602081905260409020556001546108ed908363ffffffff61147b16565b600155600654610903908363ffffffff61148d16565b600655600554604080517f753e88e5000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152602482018690529151919092169163753e88e591604480830192600092919082900301818387803b15801561097457600080fd5b505af1158015610988573d6000803e3d6000fd5b5050600554604080518681529051600160a060020a0392831694503390921692507f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac919081900360200190a35050565b60045433600160a060020a039081169116146109f357600080fd5b600454600354604051600160a060020a0392831692909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480546003805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b60035474010000000000000000000000000000000000000000900460ff1681565b600554600160a060020a031681565b60035460009074010000000000000000000000000000000000000000900460ff1615610ac157600080fd5b61058f83836114a0565b600160a060020a031660009081526020819052604090205490565b6000610af0610c1a565b1515610afe5750600161067f565b600554600160a060020a03161515610b185750600261067f565b6006541515610b295750600361067f565b50600461067f565b60035433600160a060020a03908116911614610b4c57600080fd5b60035474010000000000000000000000000000000000000000900460ff1615610b7457600080fd5b6003805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600354600160a060020a031681565b60408051808201909152600381527f4658430000000000000000000000000000000000000000000000000000000000602082015281565b60035474010000000000000000000000000000000000000000900460ff161590565b60035433600160a060020a03908116911614610c5757600080fd5b600354604051600160a060020a039182169130163180156108fc02916000818181858888f19350505050158015610c92573d6000803e3d6000fd5b50565b60035460009074010000000000000000000000000000000000000000900460ff1615610cc057600080fd5b61058f8383611599565b60065481565b60035460009074010000000000000000000000000000000000000000900460ff1615610cfb57600080fd5b61058f8383611692565b60035433600160a060020a03908116911614610d2057600080fd5b610d28610c1a565b1515610da95760408051600080516020611735833981519152815260206004820152603260248201527f456e737572652074686520746f6b656e206973207570677261646561626c652060448201527f696e2074686520666972737420706c6163650000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0381161515610e345760408051600080516020611735833981519152815260206004820152602960248201527f456e737572652075706772616465206167656e7420616464726573732069732060448201527f6e6f7420626c616e6b0000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6004610e3e610ae6565b6004811115610e4957fe5b1415610ea45760408051600080516020611735833981519152815260206004820152601e60248201527f456e73757265207570677261646520686173206e6f7420737461727465640000604482015290519081900360640190fd5b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055604080517f61d3d7a6000000000000000000000000000000000000000000000000000000008152905192909116916361d3d7a6916004808201926020929091908290030181600087803b158015610f2857600080fd5b505af1158015610f3c573d6000803e3d6000fd5b505050506040513d6020811015610f5257600080fd5b50511515610fd55760408051600080516020611735833981519152815260206004820152602560248201527f4e657720757067726164654167656e74206d757374206265205570677261646560448201527f4167656e74000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600154600560009054906101000a9004600160a060020a0316600160a060020a0316634b2ba0dd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561104457600080fd5b505af1158015611058573d6000803e3d6000fd5b505050506040513d602081101561106e57600080fd5b5051146111165760408051600080516020611735833981519152815260206004820152604860248201527f4d616b652073757265207468617420746f6b656e20737570706c696573206d6160448201527f74636820696e20736f7572636520616e642074617267657420746f6b656e206360648201527f6f6e747261637473000000000000000000000000000000000000000000000000608482015290519081900360a40190fd5b60055460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a150565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600454600160a060020a031681565b60035433600160a060020a039081169116146111ad57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03338116600081815260026020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b82600160a060020a031663a9059cbb83836040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b1580156112c257600080fd5b505af11580156112d6573d6000803e3d6000fd5b505050506040513d60208110156112ec57600080fd5b505115156112f657fe5b505050565b6000600160a060020a038316151561131257600080fd5b600160a060020a03841660009081526020819052604090205482111561133757600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561136a57600080fd5b600160a060020a038416600090815260208190526040902054611393908363ffffffff61147b16565b600160a060020a0380861660009081526020819052604080822093909355908516815220546113c8908363ffffffff61148d16565b600160a060020a038085166000908152602081815260408083209490945587831682526002815283822033909316825291909152205461140e908363ffffffff61147b16565b600160a060020a038086166000818152600260209081526040808320338616845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60008282111561148757fe5b50900390565b8181018281101561149a57fe5b92915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054808311156114fd57600160a060020a033381166000908152600260209081526040808320938816835292905290812055611534565b61150d818463ffffffff61147b16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902054825190815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000600160a060020a03831615156115b057600080fd5b600160a060020a0333166000908152602081905260409020548211156115d557600080fd5b600160a060020a0333166000908152602081905260409020546115fe908363ffffffff61147b16565b600160a060020a033381166000908152602081905260408082209390935590851681522054611633908363ffffffff61148d16565b600160a060020a03808516600081815260208181526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600192915050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120546116ca908363ffffffff61148d16565b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902085905581519485529051929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050560008c379a000000000000000000000000000000000000000000000000000000000a165627a7a72305820858d2334797c69e7319d3063fa72cbd95f36ec3c97ad1f0d728fe587f6035bee0029
Deployed Bytecode
0x60806040526004361061015e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610163578063095ea7b3146101ed57806317ffc3201461022557806318160ddd1461024857806323b872dd1461026f5780632ff2e9dc14610299578063313ce567146102ae5780633f4ba83a146102d957806345977d03146102ee5780634e71e0c8146103065780635c975abb1461031b5780635de4ccb014610330578063661884631461036157806370a08231146103855780638444b391146103a65780638456cb59146103df5780638da5cb5b146103f457806395d89b41146104095780639738968c1461041e5780639f727c2714610433578063a9059cbb14610448578063c752ff621461046c578063d73dd62314610481578063d7e7088a146104a5578063dd62ed3e146104c6578063e30c3978146104ed578063f2fde38b14610502575b600080fd5b34801561016f57600080fd5b50610178610523565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101b257818101518382015260200161019a565b50505050905090810190601f1680156101df5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101f957600080fd5b50610211600160a060020a036004351660243561055a565b604080519115158252519081900360200190f35b34801561023157600080fd5b50610246600160a060020a0360043516610596565b005b34801561025457600080fd5b5061025d61067b565b60408051918252519081900360200190f35b34801561027b57600080fd5b50610211600160a060020a0360043581169060243516604435610682565b3480156102a557600080fd5b5061025d6106c0565b3480156102ba57600080fd5b506102c36106d1565b6040805160ff9092168252519081900360200190f35b3480156102e557600080fd5b506102466106d6565b3480156102fa57600080fd5b50610246600435610763565b34801561031257600080fd5b506102466109d8565b34801561032757600080fd5b50610211610a66565b34801561033c57600080fd5b50610345610a87565b60408051600160a060020a039092168252519081900360200190f35b34801561036d57600080fd5b50610211600160a060020a0360043516602435610a96565b34801561039157600080fd5b5061025d600160a060020a0360043516610acb565b3480156103b257600080fd5b506103bb610ae6565b604051808260048111156103cb57fe5b60ff16815260200191505060405180910390f35b3480156103eb57600080fd5b50610246610b31565b34801561040057600080fd5b50610345610bd4565b34801561041557600080fd5b50610178610be3565b34801561042a57600080fd5b50610211610c1a565b34801561043f57600080fd5b50610246610c3c565b34801561045457600080fd5b50610211600160a060020a0360043516602435610c95565b34801561047857600080fd5b5061025d610cca565b34801561048d57600080fd5b50610211600160a060020a0360043516602435610cd0565b3480156104b157600080fd5b50610246600160a060020a0360043516610d05565b3480156104d257600080fd5b5061025d600160a060020a0360043581169060243516611158565b3480156104f957600080fd5b50610345611183565b34801561050e57600080fd5b50610246600160a060020a0360043516611192565b60408051808201909152600981527f466c657861636f696e0000000000000000000000000000000000000000000000602082015281565b60035460009074010000000000000000000000000000000000000000900460ff161561058557600080fd5b61058f83836111dc565b9392505050565b60035460009033600160a060020a039081169116146105b457600080fd5b81600160a060020a03166370a08231306040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b15801561062857600080fd5b505af115801561063c573d6000803e3d6000fd5b505050506040513d602081101561065257600080fd5b505160035490915061067790600160a060020a0384811691168363ffffffff61124616565b5050565b6001545b90565b60035460009074010000000000000000000000000000000000000000900460ff16156106ad57600080fd5b6106b88484846112fb565b949350505050565b6c01431e0fae6d7217caa000000081565b601281565b60035433600160a060020a039081169116146106f157600080fd5b60035474010000000000000000000000000000000000000000900460ff16151561071a57600080fd5b6003805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600061076d610ae6565b9050600381600481111561077d57fe5b14806107945750600481600481111561079257fe5b145b15156108155760408051600080516020611735833981519152815260206004820152602160248201527f5374617465206d75737420626520636f727265637420666f722075706772616460448201527f6500000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600082116108985760408051600080516020611735833981519152815260206004820152602760248201527f557067726164652076616c7565206d757374206265206772656174657220746860448201527f616e207a65726f00000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0333166000908152602081905260409020546108c1908363ffffffff61147b16565b600160a060020a0333166000908152602081905260409020556001546108ed908363ffffffff61147b16565b600155600654610903908363ffffffff61148d16565b600655600554604080517f753e88e5000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152602482018690529151919092169163753e88e591604480830192600092919082900301818387803b15801561097457600080fd5b505af1158015610988573d6000803e3d6000fd5b5050600554604080518681529051600160a060020a0392831694503390921692507f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac919081900360200190a35050565b60045433600160a060020a039081169116146109f357600080fd5b600454600354604051600160a060020a0392831692909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480546003805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b60035474010000000000000000000000000000000000000000900460ff1681565b600554600160a060020a031681565b60035460009074010000000000000000000000000000000000000000900460ff1615610ac157600080fd5b61058f83836114a0565b600160a060020a031660009081526020819052604090205490565b6000610af0610c1a565b1515610afe5750600161067f565b600554600160a060020a03161515610b185750600261067f565b6006541515610b295750600361067f565b50600461067f565b60035433600160a060020a03908116911614610b4c57600080fd5b60035474010000000000000000000000000000000000000000900460ff1615610b7457600080fd5b6003805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600354600160a060020a031681565b60408051808201909152600381527f4658430000000000000000000000000000000000000000000000000000000000602082015281565b60035474010000000000000000000000000000000000000000900460ff161590565b60035433600160a060020a03908116911614610c5757600080fd5b600354604051600160a060020a039182169130163180156108fc02916000818181858888f19350505050158015610c92573d6000803e3d6000fd5b50565b60035460009074010000000000000000000000000000000000000000900460ff1615610cc057600080fd5b61058f8383611599565b60065481565b60035460009074010000000000000000000000000000000000000000900460ff1615610cfb57600080fd5b61058f8383611692565b60035433600160a060020a03908116911614610d2057600080fd5b610d28610c1a565b1515610da95760408051600080516020611735833981519152815260206004820152603260248201527f456e737572652074686520746f6b656e206973207570677261646561626c652060448201527f696e2074686520666972737420706c6163650000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0381161515610e345760408051600080516020611735833981519152815260206004820152602960248201527f456e737572652075706772616465206167656e7420616464726573732069732060448201527f6e6f7420626c616e6b0000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6004610e3e610ae6565b6004811115610e4957fe5b1415610ea45760408051600080516020611735833981519152815260206004820152601e60248201527f456e73757265207570677261646520686173206e6f7420737461727465640000604482015290519081900360640190fd5b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055604080517f61d3d7a6000000000000000000000000000000000000000000000000000000008152905192909116916361d3d7a6916004808201926020929091908290030181600087803b158015610f2857600080fd5b505af1158015610f3c573d6000803e3d6000fd5b505050506040513d6020811015610f5257600080fd5b50511515610fd55760408051600080516020611735833981519152815260206004820152602560248201527f4e657720757067726164654167656e74206d757374206265205570677261646560448201527f4167656e74000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600154600560009054906101000a9004600160a060020a0316600160a060020a0316634b2ba0dd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561104457600080fd5b505af1158015611058573d6000803e3d6000fd5b505050506040513d602081101561106e57600080fd5b5051146111165760408051600080516020611735833981519152815260206004820152604860248201527f4d616b652073757265207468617420746f6b656e20737570706c696573206d6160448201527f74636820696e20736f7572636520616e642074617267657420746f6b656e206360648201527f6f6e747261637473000000000000000000000000000000000000000000000000608482015290519081900360a40190fd5b60055460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a150565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600454600160a060020a031681565b60035433600160a060020a039081169116146111ad57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03338116600081815260026020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b82600160a060020a031663a9059cbb83836040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b1580156112c257600080fd5b505af11580156112d6573d6000803e3d6000fd5b505050506040513d60208110156112ec57600080fd5b505115156112f657fe5b505050565b6000600160a060020a038316151561131257600080fd5b600160a060020a03841660009081526020819052604090205482111561133757600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561136a57600080fd5b600160a060020a038416600090815260208190526040902054611393908363ffffffff61147b16565b600160a060020a0380861660009081526020819052604080822093909355908516815220546113c8908363ffffffff61148d16565b600160a060020a038085166000908152602081815260408083209490945587831682526002815283822033909316825291909152205461140e908363ffffffff61147b16565b600160a060020a038086166000818152600260209081526040808320338616845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60008282111561148757fe5b50900390565b8181018281101561149a57fe5b92915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054808311156114fd57600160a060020a033381166000908152600260209081526040808320938816835292905290812055611534565b61150d818463ffffffff61147b16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902054825190815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000600160a060020a03831615156115b057600080fd5b600160a060020a0333166000908152602081905260409020548211156115d557600080fd5b600160a060020a0333166000908152602081905260409020546115fe908363ffffffff61147b16565b600160a060020a033381166000908152602081905260408082209390935590851681522054611633908363ffffffff61148d16565b600160a060020a03808516600081815260208181526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600192915050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120546116ca908363ffffffff61148d16565b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902085905581519485529051929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050560008c379a000000000000000000000000000000000000000000000000000000000a165627a7a72305820858d2334797c69e7319d3063fa72cbd95f36ec3c97ad1f0d728fe587f6035bee0029
Swarm Source
bzzr://858d2334797c69e7319d3063fa72cbd95f36ec3c97ad1f0d728fe587f6035bee
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.