Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
650,000,000 GNX
Holders
40,543 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH (-2.54%)
Onchain Market Cap
$419,783.00
Circulating Supply Market Cap
$196,488.00
Other Info
Token Contract (WITH 9 Decimals)
Balance
8.71 GNXValue
$0.01 ( ~2.56820761786981E-06 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GNX
Compiler Version
v0.4.13+commit.fb4cb1a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-09-29 */ pragma solidity ^0.4.13; contract SafeMath { function safeMul(uint a, uint b) internal returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint a, uint b) internal returns (uint) { assert(b > 0); uint c = a / b; assert(a == b * c + a % b); return c; } function safeSub(uint a, uint b) internal returns (uint) { assert(b <= a); return a - b; } function safeAdd(uint a, uint b) internal returns (uint) { uint c = a + b; assert(c>=a && c>=b); return c; } function max64(uint64 a, uint64 b) internal constant returns (uint64) { return a >= b ? a : b; } function min64(uint64 a, uint64 b) internal constant returns (uint64) { return a < b ? a : b; } function max256(uint256 a, uint256 b) internal constant returns (uint256) { return a >= b ? a : b; } function min256(uint256 a, uint256 b) internal constant returns (uint256) { return a < b ? a : b; } function assert(bool assertion) internal { require(assertion); } } /* Copyright 2017, Jordi Baylina (Giveth) Based on MiniMeToken.sol from https://github.com/Giveth/minime */ contract Controlled { /// @notice The address of the controller is the only address that can call /// a function with this modifier modifier onlyController{ require(msg.sender==controller); _; } address public controller; function Controlled() { controller = msg.sender;} /// @notice Changes the controller of the contract /// @param _newController The new controller of the contract function changeController(address _newController) onlyController { controller = _newController; } } /* Copyright 2017, Jordi Baylina (Giveth) Based on MiniMeToken.sol from https://github.com/Giveth/minime */ /// @dev The token controller contract must implement these functions contract Controller { /// @notice Called when `_owner` sends ether to the MiniMe Token contract /// @param _owner The address that sent the ether to create tokens /// @return True if the ether is accepted, false if it throws function proxyPayment(address _owner) payable returns(bool); /// @notice Notifies the controller about a token transfer allowing the /// controller to react if desired /// @param _from The origin of the transfer /// @param _to The destination of the transfer /// @param _amount The amount of the transfer /// @return False if the controller does not authorize the transfer function onTransfer(address _from, address _to, uint _amount) returns(bool); /// @notice Notifies the controller about an approval allowing the /// controller to react if desired /// @param _owner The address that calls `approve()` /// @param _spender The spender in the `approve()` call /// @param _amount The amount in the `approve()` call /// @return False if the controller does not authorize the approval function onApprove(address _owner, address _spender, uint _amount) returns(bool); } contract ApproveAndCallReceiver { function receiveApproval(address _from, uint256 _amount, address _token, bytes _data); } /* * ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { function totalSupply() constant returns (uint); function balanceOf(address who) constant returns (uint); function allowance(address owner, address spender) constant returns (uint); function transfer(address to, uint value) returns (bool ok); function transferFrom(address from, address to, uint value) returns (bool ok); function approve(address spender, uint value) returns (bool ok); event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value); } contract MiniMeToken is ERC20, Controlled { string public name; //The Token's name: e.g. DigixDAO Tokens uint8 public decimals; //Number of decimals of the smallest unit string public symbol; //An identifier: e.g. REP string public version = 'MMT_0.1'; //An arbitrary versioning scheme /// @dev `Checkpoint` is the structure that attaches a block number to a /// given value, the block number attached is the one that last changed the /// value struct Checkpoint { // `fromBlock` is the block number that the value was generated from uint128 fromBlock; // `value` is the amount of tokens at a specific block number uint128 value; } // `parentToken` is the Token address that was cloned to produce this token; // it will be 0x0 for a token that was not cloned MiniMeToken public parentToken; // `parentSnapShotBlock` is the block number from the Parent Token that was // used to determine the initial distribution of the Clone Token uint public parentSnapShotBlock; // `creationBlock` is the block number that the Clone Token was created uint public creationBlock; // `balances` is the map that tracks the balance of each address, in this // contract when the balance changes the block number that the change // occurred is also included in the map mapping (address => Checkpoint[]) balances; // `allowed` tracks any extra transfer rights as in all ERC20 tokens mapping (address => mapping (address => uint256)) allowed; // Tracks the history of the `totalSupply` of the token Checkpoint[] totalSupplyHistory; // Flag that determines if the token is transferable or not. bool public transfersEnabled; // The factory used to create new clone tokens MiniMeTokenFactory public tokenFactory; //////////////// // Constructor //////////////// /// @notice Constructor to create a MiniMeToken /// @param _tokenFactory The address of the MiniMeTokenFactory contract that /// will create the Clone token contracts, the token factory needs to be /// deployed first /// @param _parentToken Address of the parent token, set to 0x0 if it is a /// new token /// @param _parentSnapShotBlock Block of the parent token that will /// determine the initial distribution of the clone token, set to 0 if it /// is a new token /// @param _tokenName Name of the new token /// @param _decimalUnits Number of decimals of the new token /// @param _tokenSymbol Token Symbol for the new token /// @param _transfersEnabled If true, tokens will be able to be transferred function MiniMeToken( address _tokenFactory, address _parentToken, uint _parentSnapShotBlock, string _tokenName, uint8 _decimalUnits, string _tokenSymbol, bool _transfersEnabled ) { tokenFactory = MiniMeTokenFactory(_tokenFactory); name = _tokenName; // Set the name decimals = _decimalUnits; // Set the decimals symbol = _tokenSymbol; // Set the symbol parentToken = MiniMeToken(_parentToken); parentSnapShotBlock = _parentSnapShotBlock; transfersEnabled = _transfersEnabled; creationBlock = block.number; } /////////////////// // ERC20 Methods /////////////////// /// @notice Send `_amount` tokens to `_to` from `msg.sender` /// @param _to The address of the recipient /// @param _amount The amount of tokens to be transferred /// @return Whether the transfer was successful or not function transfer(address _to, uint256 _amount) returns (bool success) { require (transfersEnabled); ////if (!transfersEnabled) throw; return doTransfer(msg.sender, _to, _amount); } /// @notice Send `_amount` tokens to `_to` from `_from` on the condition it /// is approved by `_from` /// @param _from The address holding the tokens being transferred /// @param _to The address of the recipient /// @param _amount The amount of tokens to be transferred /// @return True if the transfer was successful function transferFrom(address _from, address _to, uint256 _amount ) returns (bool success) { // The controller of this contract can move tokens around at will, // this is important to recognize! Confirm that you trust the // controller of this contract, which in most situations should be // another open source smart contract or 0x0 if (msg.sender != controller) { require (transfersEnabled); ////if (!transfersEnabled) throw; // The standard ERC 20 transferFrom functionality assert (allowed[_from][msg.sender]>=_amount); ////if (allowed[_from][msg.sender] < _amount) throw; allowed[_from][msg.sender] -= _amount; } return doTransfer(_from, _to, _amount); } /// @dev This is the actual transfer function in the token contract, it can /// only be called by other functions in this contract. /// @param _from The address holding the tokens being transferred /// @param _to The address of the recipient /// @param _amount The amount of tokens to be transferred /// @return True if the transfer was successful function doTransfer(address _from, address _to, uint _amount ) internal returns(bool) { if (_amount == 0) { return true; } // Do not allow transfer to 0x0 or the token contract itself require((_to!=0)&&(_to!=address(this))); //// if ((_to == 0) || (_to == address(this))) throw; // If the amount being transfered is more than the balance of the // account the transfer returns false var previousBalanceFrom = balanceOfAt(_from, block.number); assert(previousBalanceFrom >= _amount); // Alerts the token controller of the transfer if (isContract(controller)) { assert(Controller(controller).onTransfer(_from,_to,_amount)); } // First update the balance array with the new value for the address // sending the tokens updateValueAtNow(balances[_from], previousBalanceFrom - _amount); // Then update the balance array with the new value for the address // receiving the tokens var previousBalanceTo = balanceOfAt(_to, block.number); assert(previousBalanceTo+_amount>=previousBalanceTo); //// if (previousBalanceTo + _amount < previousBalanceTo) throw; // Check for overflow updateValueAtNow(balances[_to], previousBalanceTo + _amount); // An event to make the transfer easy to find on the blockchain Transfer(_from, _to, _amount); return true; } /// @param _owner The address that's balance is being requested /// @return The balance of `_owner` at the current block function balanceOf(address _owner) constant returns (uint256 balance) { return balanceOfAt(_owner, block.number); } /// @notice `msg.sender` approves `_spender` to spend `_amount` tokens on /// its behalf. This is a modified version of the ERC20 approve function /// to be a little bit safer /// @param _spender The address of the account able to transfer the tokens /// @param _amount The amount of tokens to be approved for transfer /// @return True if the approval was successful function approve(address _spender, uint256 _amount) returns (bool success) { require(transfersEnabled); // To change the approve amount you first have to reduce the addresses´ // allowance to zero by calling `approve(_spender,0)` if it is not // already 0 to mitigate the race condition described here: // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 require((_amount==0)||(allowed[msg.sender][_spender]==0)); // Alerts the token controller of the approve function call if (isContract(controller)) { assert(Controller(controller).onApprove(msg.sender,_spender,_amount)); // if (!Controller(controller).onApprove(msg.sender, _spender, _amount)) // throw; } allowed[msg.sender][_spender] = _amount; Approval(msg.sender, _spender, _amount); return true; } /// @dev This function makes it easy to read the `allowed[]` map /// @param _owner The address of the account that owns the token /// @param _spender The address of the account able to transfer the tokens /// @return Amount of remaining tokens of _owner that _spender is allowed /// to spend function allowance(address _owner, address _spender ) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } /// @notice `msg.sender` approves `_spender` to send `_amount` tokens on /// its behalf, and then a function is triggered in the contract that is /// being approved, `_spender`. This allows users to use their tokens to /// interact with contracts in one function call instead of two /// @param _spender The address of the contract able to transfer the tokens /// @param _amount The amount of tokens to be approved for transfer /// @return True if the function call was successful function approveAndCall(address _spender, uint256 _amount, bytes _extraData ) returns (bool success) { approve(_spender, _amount); // This portion is copied from ConsenSys's Standard Token Contract. It // calls the receiveApproval function that is part of the contract that // is being approved (`_spender`). The function should look like: // `receiveApproval(address _from, uint256 _amount, address // _tokenContract, bytes _extraData)` It is assumed that the call // *should* succeed, otherwise the plain vanilla approve would be used ApproveAndCallReceiver(_spender).receiveApproval( msg.sender, _amount, this, _extraData ); return true; } /// @dev This function makes it easy to get the total number of tokens /// @return The total number of tokens function totalSupply() constant returns (uint) { return totalSupplyAt(block.number); } //////////////// // Query balance and totalSupply in History //////////////// /// @dev Queries the balance of `_owner` at a specific `_blockNumber` /// @param _owner The address from which the balance will be retrieved /// @param _blockNumber The block number when the balance is queried /// @return The balance at `_blockNumber` function balanceOfAt(address _owner, uint _blockNumber) constant returns (uint) { // These next few lines are used when the balance of the token is // requested before a check point was ever created for this token, it // requires that the `parentToken.balanceOfAt` be queried at the // genesis block for that token as this contains initial balance of // this token if ((balances[_owner].length == 0) || (balances[_owner][0].fromBlock > _blockNumber)) { if (address(parentToken) != 0) { return parentToken.balanceOfAt(_owner, min(_blockNumber, parentSnapShotBlock)); } else { // Has no parent return 0; } // This will return the expected balance during normal situations } else { return getValueAt(balances[_owner], _blockNumber); } } /// @notice Total amount of tokens at a specific `_blockNumber`. /// @param _blockNumber The block number when the totalSupply is queried /// @return The total amount of tokens at `_blockNumber` function totalSupplyAt(uint _blockNumber) constant returns(uint) { // These next few lines are used when the totalSupply of the token is // requested before a check point was ever created for this token, it // requires that the `parentToken.totalSupplyAt` be queried at the // genesis block for this token as that contains totalSupply of this // token at this block number. if ((totalSupplyHistory.length == 0) || (totalSupplyHistory[0].fromBlock > _blockNumber)) { if (address(parentToken) != 0) { return parentToken.totalSupplyAt(min(_blockNumber, parentSnapShotBlock)); } else { return 0; } // This will return the expected totalSupply during normal situations } else { return getValueAt(totalSupplyHistory, _blockNumber); } } function min(uint a, uint b) internal returns (uint) { return a < b ? a : b; } //////////////// // Clone Token Method //////////////// /// @notice Creates a new clone token with the initial distribution being /// this token at `_snapshotBlock` /// @param _cloneTokenName Name of the clone token /// @param _cloneDecimalUnits Number of decimals of the smallest unit /// @param _cloneTokenSymbol Symbol of the clone token /// @param _snapshotBlock Block when the distribution of the parent token is /// copied to set the initial distribution of the new clone token; /// if the block is higher than the actual block, the current block is used /// @param _transfersEnabled True if transfers are allowed in the clone /// @return The address of the new MiniMeToken Contract function createCloneToken( string _cloneTokenName, uint8 _cloneDecimalUnits, string _cloneTokenSymbol, uint _snapshotBlock, bool _transfersEnabled ) returns(address) { if (_snapshotBlock > block.number) _snapshotBlock = block.number; MiniMeToken cloneToken = tokenFactory.createCloneToken( this, _snapshotBlock, _cloneTokenName, _cloneDecimalUnits, _cloneTokenSymbol, _transfersEnabled ); cloneToken.changeController(msg.sender); // An event to make the token easy to find on the blockchain NewCloneToken(address(cloneToken), _snapshotBlock); return address(cloneToken); } //////////////// // Generate and destroy tokens //////////////// /// @notice Generates `_amount` tokens that are assigned to `_owner` /// @param _owner The address that will be assigned the new tokens /// @param _amount The quantity of tokens generated /// @return True if the tokens are generated correctly function generateTokens(address _owner, uint _amount ) onlyController returns (bool) { uint curTotalSupply = totalSupply(); //uint curTotalSupply = getValueAt(totalSupplyHistory, block.number); assert(curTotalSupply+_amount>=curTotalSupply); updateValueAtNow(totalSupplyHistory, curTotalSupply + _amount); var previousBalanceTo = balanceOf(_owner); assert(previousBalanceTo+_amount>=previousBalanceTo); updateValueAtNow(balances[_owner], previousBalanceTo + _amount); Transfer(0, _owner, _amount); return true; } /// @notice Burns `_amount` tokens from `_owner` /// @param _owner The address that will lose the tokens /// @param _amount The quantity of tokens to burn /// @return True if the tokens are burned correctly function destroyTokens(address _owner, uint _amount ) onlyController returns (bool) { uint curTotalSupply = totalSupply(); //uint curTotalSupply = getValueAt(totalSupplyHistory, block.number); assert(curTotalSupply >= _amount); //// if (curTotalSupply < _amount) throw; updateValueAtNow(totalSupplyHistory, curTotalSupply - _amount); var previousBalanceFrom = balanceOf(_owner); assert(previousBalanceFrom >=_amount); //// if (previousBalanceFrom < _amount) throw; updateValueAtNow(balances[_owner], previousBalanceFrom - _amount); Transfer(_owner, 0, _amount); return true; } //////////////// // Enable tokens transfers //////////////// /// @notice Enables token holders to transfer their tokens freely if true /// @param _transfersEnabled True if transfers are allowed in the clone function enableTransfers(bool _transfersEnabled) onlyController { transfersEnabled = _transfersEnabled; } //////////////// // Internal helper functions to query and set a value in a snapshot array //////////////// /// @dev `getValueAt` retrieves the number of tokens at a given block number /// @param checkpoints The history of values being queried /// @param _block The block number to retrieve the value at /// @return The number of tokens being queried function getValueAt(Checkpoint[] storage checkpoints, uint _block ) constant internal returns (uint) { if (checkpoints.length == 0) return 0; // Shortcut for the actual value if (_block >= checkpoints[checkpoints.length-1].fromBlock) return checkpoints[checkpoints.length-1].value; if (_block < checkpoints[0].fromBlock) return 0; // Binary search of the value in the array uint min = 0; uint max = checkpoints.length-1; while (max > min) { uint mid = (max + min + 1)/ 2; if (checkpoints[mid].fromBlock<=_block) { min = mid; } else { max = mid-1; } } return checkpoints[min].value; } /// @dev `updateValueAtNow` used to update the `balances` map and the /// `totalSupplyHistory` /// @param checkpoints The history of data being updated /// @param _value The new number of tokens function updateValueAtNow(Checkpoint[] storage checkpoints, uint _value ) internal { if ((checkpoints.length == 0) || (checkpoints[checkpoints.length -1].fromBlock < block.number)) { Checkpoint storage newCheckPoint = checkpoints[ checkpoints.length++ ]; newCheckPoint.fromBlock = uint128(block.number); newCheckPoint.value = uint128(_value); } else { Checkpoint storage oldCheckPoint = checkpoints[checkpoints.length-1]; oldCheckPoint.value = uint128(_value); } } /// @dev Internal function to determine if an address is a contract /// @param _addr The address being queried /// @return True if `_addr` is a contract function isContract(address _addr) constant internal returns(bool) { uint size; if (_addr == 0) return false; assembly { size := extcodesize(_addr) } return size>0; } /// @notice The fallback function: If the contract's controller has not been /// set to 0, then the `proxyPayment` method is called which relays the /// ether and creates tokens as described in the token controller contract function () payable { require(isContract(controller)); assert(Controller(controller).proxyPayment.value(msg.value)(msg.sender)); } //////////////// // Events //////////////// event NewCloneToken(address indexed _cloneToken, uint _snapshotBlock); } //////////////// // MiniMeTokenFactory //////////////// /// @dev This contract is used to generate clone contracts from a contract. /// In solidity this is the way to create a contract from a contract of the /// same class contract MiniMeTokenFactory { /// @notice Update the DApp by creating a new token with new functionalities /// the msg.sender becomes the controller of this clone token /// @param _parentToken Address of the token being cloned /// @param _snapshotBlock Block of the parent token that will /// determine the initial distribution of the clone token /// @param _tokenName Name of the new token /// @param _decimalUnits Number of decimals of the new token /// @param _tokenSymbol Token Symbol for the new token /// @param _transfersEnabled If true, tokens will be able to be transferred /// @return The address of the new token contract function createCloneToken( address _parentToken, uint _snapshotBlock, string _tokenName, uint8 _decimalUnits, string _tokenSymbol, bool _transfersEnabled ) returns (MiniMeToken) { MiniMeToken newToken = new MiniMeToken( this, _parentToken, _snapshotBlock, _tokenName, _decimalUnits, _tokenSymbol, _transfersEnabled ); newToken.changeController(msg.sender); return newToken; } } // inspired by Zeppelin's Vested Token deriving MiniMeToken // @dev MiniMeIrrevocableVestedToken is a derived version of MiniMeToken adding the // ability to createTokenGrants which are basically a transfer that limits the // receiver of the tokens. contract MiniMeIrrevocableVestedToken is MiniMeToken, SafeMath { uint256 MAX_GRANTS_PER_ADDRESS = 20; // Keep the struct at 3 sstores ( total value 20+32+24 =76 bytes) struct TokenGrant { address granter; // 20 bytes uint256 value; // 32 bytes uint64 cliff; uint64 vesting; uint64 start; // 3*8 =24 bytes } event NewTokenGrant(address indexed from, address indexed to, uint256 value, uint64 start, uint64 cliff, uint64 vesting); mapping (address => TokenGrant[]) public grants; mapping (address => bool) canCreateGrants; address vestingWhitelister; modifier canTransfer(address _sender, uint _value) { require(_value<=spendableBalanceOf(_sender)); _; } modifier onlyVestingWhitelister { require(msg.sender==vestingWhitelister); _; } function MiniMeIrrevocableVestedToken ( address _tokenFactory, address _parentToken, uint _parentSnapShotBlock, string _tokenName, uint8 _decimalUnits, string _tokenSymbol, bool _transfersEnabled ) MiniMeToken(_tokenFactory, _parentToken, _parentSnapShotBlock, _tokenName, _decimalUnits, _tokenSymbol, _transfersEnabled) { vestingWhitelister = msg.sender; doSetCanCreateGrants(vestingWhitelister, true); } // @dev Checks modifier and allows transfer if tokens are not locked. function transfer(address _to, uint _value) canTransfer(msg.sender, _value) public returns (bool success) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint _value) canTransfer(_from, _value) public returns (bool success) { return super.transferFrom(_from, _to, _value); } function spendableBalanceOf(address _holder) constant public returns (uint) { return transferableTokens(_holder, uint64(now)); } // main func for token grant function grantVestedTokens( address _to, uint256 _value, uint64 _start, uint64 _cliff, uint64 _vesting) public { // Check start, cliff and vesting are properly order to ensure correct functionality of the formula. require(_cliff >= _start && _vesting >= _cliff); require(tokenGrantsCount(_to)<=MAX_GRANTS_PER_ADDRESS); //// To prevent a user being spammed and have his balance locked (out of gas attack when calculating vesting). assert(canCreateGrants[msg.sender]); TokenGrant memory grant = TokenGrant(msg.sender, _value, _cliff, _vesting, _start); grants[_to].push(grant); assert(transfer(_to,_value)); NewTokenGrant(msg.sender, _to, _value, _cliff, _vesting, _start); } function setCanCreateGrants(address _addr, bool _allowed) onlyVestingWhitelister public { doSetCanCreateGrants(_addr, _allowed); } function doSetCanCreateGrants(address _addr, bool _allowed) internal { canCreateGrants[_addr] = _allowed; } function changeVestingWhitelister(address _newWhitelister) onlyVestingWhitelister public { doSetCanCreateGrants(vestingWhitelister, false); vestingWhitelister = _newWhitelister; doSetCanCreateGrants(vestingWhitelister, true); } function tokenGrantsCount(address _holder) constant public returns (uint index) { return grants[_holder].length; } function tokenGrant(address _holder, uint _grantId) constant public returns (address granter, uint256 value, uint256 vested, uint64 start, uint64 cliff, uint64 vesting) { TokenGrant storage grant = grants[_holder][_grantId]; granter = grant.granter; value = grant.value; start = grant.start; cliff = grant.cliff; vesting = grant.vesting; vested = vestedTokens(grant, uint64(now)); } function vestedTokens(TokenGrant grant, uint64 time) internal constant returns (uint256) { return calculateVestedTokens( grant.value, uint256(time), uint256(grant.start), uint256(grant.cliff), uint256(grant.vesting) ); } // transferableTokens // | _/-------- NonVestedTokens // | _/ // | _/ // | _/ // | _/ // | / // | .| // | . | // | . | // | . | // | . | // | . | // +===+===========+---------+----------> time // Start Cliff Vesting function calculateVestedTokens( uint256 tokens, uint256 time, uint256 start, uint256 cliff, uint256 vesting) internal constant returns (uint256) { // Shortcuts for before cliff and after vesting cases. if (time < cliff) return 0; if (time >= vesting) return tokens; // Interpolate all vested tokens. // As before cliff the shortcut returns 0, we can use just this function to // calculate it. // vestedTokens = tokens * (time - start) / (vesting - start) uint256 vestedTokens = safeDiv( safeMul( tokens, safeSub(time, start) ), safeSub(vesting, start) ); return vestedTokens; } function nonVestedTokens(TokenGrant grant, uint64 time) internal constant returns (uint256) { return safeSub(grant.value, vestedTokens(grant, time)); } // @dev The date in which all tokens are transferable for the holder // Useful for displaying purposes (not used in any logic calculations) function lastTokenIsTransferableDate(address holder) constant public returns (uint64 date) { date = uint64(now); uint256 grantIndex = tokenGrantsCount(holder); for (uint256 i = 0; i < grantIndex; i++) { date = max64(grants[holder][i].vesting, date); } return date; } // @dev How many tokens can a holder transfer at a point in time function transferableTokens(address holder, uint64 time) constant public returns (uint256) { uint256 grantIndex = tokenGrantsCount(holder); if (grantIndex == 0) return balanceOf(holder); // shortcut for holder without grants // Iterate through all the grants the holder has, and add all non-vested tokens uint256 nonVested = 0; for (uint256 i = 0; i < grantIndex; i++) { nonVested = safeAdd(nonVested, nonVestedTokens(grants[holder][i], time)); } // Balance - totalNonVested is the amount of tokens a holder can transfer at any given time return safeSub(balanceOf(holder), nonVested); } } contract GNX is MiniMeIrrevocableVestedToken { uint constant D160 = 0x0010000000000000000000000000000000000000000; // @dev GNX constructor just parametrizes the MiniMeIrrevocableVestedToken constructor function GNX( address _tokenFactory ) MiniMeIrrevocableVestedToken( _tokenFactory, 0xBB13E608888E5D30C09b13F89d27631056161B9F, //genaro network token mainnet 4313000, //snapshot for mainnet "Genaro X", // Token name 9, // Decimals "GNX", // Symbol true // Enable Transfers ) {} // data is an array of uints. Each uint represents a transfer. // The 160 LSB is the destination of the addess that wants to be sent // The 96 MSB is the amount of tokens that wants to be sent. function multiMint(uint[] data) onlyController { for (uint i = 0; i < data.length; i++ ) { address addr = address( data[i] & (D160-1) ); uint amount = data[i] / D160; assert(generateTokens(addr,amount)); } } // Due to the supervision of certain country, it may uses some time. // data is an array of uints. Each uint represents a sterilization. // The 160 LSB is the destination of the addess that needs to be sterilized // The 96 MSB is the amount of tokens that needs to be sterilized. function sterilize(uint[] data) onlyController { for (uint i = 0; i < data.length; i++ ) { address addr = address( data[i] & (D160-1) ); uint amount = data[i] / D160; assert(destroyTokens(addr,amount)); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_start","type":"uint64"},{"name":"_cliff","type":"uint64"},{"name":"_vesting","type":"uint64"}],"name":"grantVestedTokens","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_holder","type":"address"}],"name":"tokenGrantsCount","outputs":[{"name":"index","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_holder","type":"address"}],"name":"spendableBalanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"creationBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"},{"name":"_allowed","type":"bool"}],"name":"setCanCreateGrants","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"grants","outputs":[{"name":"granter","type":"address"},{"name":"value","type":"uint256"},{"name":"cliff","type":"uint64"},{"name":"vesting","type":"uint64"},{"name":"start","type":"uint64"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newController","type":"address"}],"name":"changeController","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_blockNumber","type":"uint256"}],"name":"balanceOfAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_holder","type":"address"},{"name":"_grantId","type":"uint256"}],"name":"tokenGrant","outputs":[{"name":"granter","type":"address"},{"name":"value","type":"uint256"},{"name":"vested","type":"uint256"},{"name":"start","type":"uint64"},{"name":"cliff","type":"uint64"},{"name":"vesting","type":"uint64"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_cloneTokenName","type":"string"},{"name":"_cloneDecimalUnits","type":"uint8"},{"name":"_cloneTokenSymbol","type":"string"},{"name":"_snapshotBlock","type":"uint256"},{"name":"_transfersEnabled","type":"bool"}],"name":"createCloneToken","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"holder","type":"address"}],"name":"lastTokenIsTransferableDate","outputs":[{"name":"date","type":"uint64"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"parentToken","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_amount","type":"uint256"}],"name":"generateTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_blockNumber","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"data","type":"uint256[]"}],"name":"multiMint","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"transfersEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"parentSnapShotBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"holder","type":"address"},{"name":"time","type":"uint64"}],"name":"transferableTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_amount","type":"uint256"}],"name":"destroyTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"data","type":"uint256[]"}],"name":"sterilize","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tokenFactory","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_transfersEnabled","type":"bool"}],"name":"enableTransfers","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newWhitelister","type":"address"}],"name":"changeVestingWhitelister","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_tokenFactory","type":"address"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"start","type":"uint64"},{"indexed":false,"name":"cliff","type":"uint64"},{"indexed":false,"name":"vesting","type":"uint64"}],"name":"NewTokenGrant","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_cloneToken","type":"address"},{"indexed":false,"name":"_snapshotBlock","type":"uint256"}],"name":"NewCloneToken","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"}]
Contract Creation Code
606060405260408051908101604052600781527f4d4d545f302e3100000000000000000000000000000000000000000000000000602082015260049080516200004d92916020019062000234565b506014600c5534156200005f57600080fd5b604051602080620029bf833981016040528080519150505b8073bb13e608888e5d30c09b13f89d27631056161b9f6241cfa86040805190810160405280600881526020017f47656e61726f2058000000000000000000000000000000000000000000000000815250600960408051908101604052600381527f474e580000000000000000000000000000000000000000000000000000000000602082015260015b868686868686865b5b60008054600160a060020a03191633600160a060020a03161790555b600b805461010060a860020a031916610100600160a060020a038a160217905560018480516200015a92916020019062000234565b506002805460ff191660ff851617905560038280516200017f92916020019062000234565b5060058054600160a060020a031916600160a060020a0388161790556006859055600b805460ff1916821515179055436007555b5050600f8054600160a060020a03191633600160a060020a039081169190911791829055620001fb965016935060019250506401000000006200020b810262001ee017049050565b5b505050505050505b50620002de565b600160a060020a0382166000908152600e60205260409020805460ff19168215151790555b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200027757805160ff1916838001178555620002a7565b82800160010185558215620002a7579182015b82811115620002a75782518255916020019190600101906200028a565b5b50620002b6929150620002ba565b5090565b620002db91905b80821115620002b65760008155600101620002c1565b5090565b90565b6126d180620002ee6000396000f3006060604052361561019a5763ffffffff60e060020a600035041662e1986d811461024357806302a72a4c1461028057806306fdde03146102b1578063095ea7b31461033c5780630f8f8b831461037257806317634514146103a357806318160ddd146103c85780631f9a391c146103ed57806323b872dd146104135780632c71e60a1461044f578063313ce567146104ba5780633cebb823146104e35780634ee2cd7e1461050457806354fd4d5014610538578063600e85b7146105c35780636638c087146106345780636c182e99146106f857806370a082311461073457806380a5400114610765578063827f32c01461079457806395d89b41146107ca578063981b24d0146108555780639a0e4ebb1461087d578063a9059cbb146108ce578063bef97c8714610904578063c5bcc4f11461092b578063cae9ca5114610950578063d347c205146109c9578063d3ce77fe14610a07578063dd62ed3e14610a3d578063e007b33014610a74578063e77772fe14610ac5578063f41e60c514610af4578063f77c479114610b0e578063fb13a70714610b3d575b6102415b6000546101b390600160a060020a0316610b5e565b15156101be57600080fd5b60008054600160a060020a03169063f48c305490349033906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390911660048201526024016020604051808303818588803b151561021a57600080fd5b6125ee5a03f1151561022b57600080fd5b5050505060405180519050151561023e57fe5b5b565b005b341561024e57600080fd5b610241600160a060020a036004351660243567ffffffffffffffff60443581169060643581169060843516610b8b565b005b341561028b57600080fd5b61029f600160a060020a0360043516610dd1565b60405190815260200160405180910390f35b34156102bc57600080fd5b6102c4610df0565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103015780820151818401525b6020016102e8565b50505050905090810190601f16801561032e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561034757600080fd5b61035e600160a060020a0360043516602435610e8e565b604051901515815260200160405180910390f35b341561037d57600080fd5b61029f600160a060020a0360043516610ff5565b60405190815260200160405180910390f35b34156103ae57600080fd5b61029f611009565b60405190815260200160405180910390f35b34156103d357600080fd5b61029f61100f565b60405190815260200160405180910390f35b34156103f857600080fd5b610241600160a060020a03600435166024351515611020565b005b341561041e57600080fd5b61035e600160a060020a036004358116906024351660443561104b565b604051901515815260200160405180910390f35b341561045a57600080fd5b610471600160a060020a036004351660243561107c565b604051600160a060020a039095168552602085019390935267ffffffffffffffff91821660408086019190915290821660608501529116608083015260a0909101905180910390f35b34156104c557600080fd5b6104cd6110ee565b60405160ff909116815260200160405180910390f35b34156104ee57600080fd5b610241600160a060020a03600435166110f7565b005b341561050f57600080fd5b61029f600160a060020a036004351660243561113f565b60405190815260200160405180910390f35b341561054357600080fd5b6102c4611285565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103015780820151818401525b6020016102e8565b50505050905090810190601f16801561032e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156105ce57600080fd5b6105e5600160a060020a0360043516602435611323565b604051600160a060020a039096168652602086019490945260408086019390935267ffffffffffffffff9182166060860152811660808501529190911660a083015260c0909101905180910390f35b341561063f57600080fd5b6106dc60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803560ff1690602001909190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965050843594602001351515935061142292505050565b604051600160a060020a03909116815260200160405180910390f35b341561070357600080fd5b610717600160a060020a0360043516611653565b60405167ffffffffffffffff909116815260200160405180910390f35b341561073f57600080fd5b61029f600160a060020a03600435166116dd565b60405190815260200160405180910390f35b341561077057600080fd5b6106dc6116f1565b604051600160a060020a03909116815260200160405180910390f35b341561079f57600080fd5b61035e600160a060020a0360043516602435611700565b604051901515815260200160405180910390f35b34156107d557600080fd5b6102c46117cd565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103015780820151818401525b6020016102e8565b50505050905090810190601f16801561032e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561086057600080fd5b61029f60043561186b565b60405190815260200160405180910390f35b341561088857600080fd5b610241600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061196395505050505050565b005b34156108d957600080fd5b61035e600160a060020a0360043516602435611a10565b604051901515815260200160405180910390f35b341561090f57600080fd5b61035e611a3f565b604051901515815260200160405180910390f35b341561093657600080fd5b61029f611a48565b60405190815260200160405180910390f35b341561095b57600080fd5b61035e60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650611a4e95505050505050565b604051901515815260200160405180910390f35b34156109d457600080fd5b61029f600160a060020a036004351667ffffffffffffffff60243516611b62565b60405190815260200160405180910390f35b3415610a1257600080fd5b61035e600160a060020a0360043516602435611c6d565b604051901515815260200160405180910390f35b3415610a4857600080fd5b61029f600160a060020a0360043581169060243516611d34565b60405190815260200160405180910390f35b3415610a7f57600080fd5b6102416004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650611d6195505050505050565b005b3415610ad057600080fd5b6106dc611e0e565b604051600160a060020a03909116815260200160405180910390f35b3415610aff57600080fd5b6102416004351515611e22565b005b3415610b1957600080fd5b6106dc611e50565b604051600160a060020a03909116815260200160405180910390f35b3415610b4857600080fd5b610241600160a060020a0360043516611e5f565b005b600080600160a060020a0383161515610b7a5760009150610b85565b823b90506000811191505b50919050565b610b93612598565b8367ffffffffffffffff168367ffffffffffffffff1610158015610bcb57508267ffffffffffffffff168267ffffffffffffffff1610155b1515610bd657600080fd5b600c54610be287610dd1565b1115610bed57600080fd5b600160a060020a0333166000908152600e6020526040902054610c129060ff16611ed0565b60a06040519081016040908152600160a060020a033381168352602080840189905267ffffffffffffffff808816848601528681166060860152881660808501529089166000908152600d9091522080549192509060018101610c7583826125c6565b916000526020600020906003020160005b5082908151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201518160010155604082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560608201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060808201518160020160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550505050610d59610d548787611a10565b611ed0565b85600160a060020a031633600160a060020a03167f9e12d725ade130ef3f3727e13815b3fcf01a631419ce8142bafb0752a61121e88786868960405193845267ffffffffffffffff9283166020850152908216604080850191909152911660608301526080909101905180910390a35b505050505050565b600160a060020a0381166000908152600d60205260409020545b919050565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e865780601f10610e5b57610100808354040283529160200191610e86565b820191906000526020600020905b815481529060010190602001808311610e6957829003601f168201915b505050505081565b600b5460009060ff161515610ea257600080fd5b811580610ed25750600160a060020a03338116600090815260096020908152604080832093871683529290522054155b1515610edd57600080fd5b600054610ef290600160a060020a0316610b5e565b15610f8a5760008054600160a060020a03169063da682aeb903390869086906040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610f6757600080fd5b6102c65a03f11515610f7857600080fd5b505050604051805190501515610f8a57fe5b5b600160a060020a03338116600081815260096020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60006110018242611b62565b90505b919050565b60075481565b600061101a4361186b565b90505b90565b600f5433600160a060020a0390811691161461103b57600080fd5b6110458282611ee0565b5b5b5050565b6000838261105882610ff5565b81111561106457600080fd5b61106f868686611f09565b92505b5b50509392505050565b600d6020528160005260406000208181548110151561109757fe5b906000526020600020906003020160005b5080546001820154600290920154600160a060020a03909116935090915067ffffffffffffffff80821691680100000000000000008104821691608060020a9091041685565b60025460ff1681565b60005433600160a060020a0390811691161461111257600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600160a060020a038216600090815260086020526040812054158061119f5750600160a060020a03831660009081526008602052604081208054849290811061118457fe5b906000526020600020900160005b50546001608060020a0316115b1561125557600554600160a060020a03161561124857600554600654600160a060020a0390911690634ee2cd7e9085906111da908690611fa5565b60006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561122657600080fd5b6102c65a03f1151561123757600080fd5b505050604051805190509050610fef565b506000610fef565b610fef565b600160a060020a03831660009081526008602052604090206112779083611fbf565b9050610fef565b5b92915050565b60048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e865780601f10610e5b57610100808354040283529160200191610e86565b820191906000526020600020905b815481529060010190602001808311610e6957829003601f168201915b505050505081565b600160a060020a0382166000908152600d6020526040812080548291829182918291829182918990811061135357fe5b906000526020600020906003020160005b50805460018201546002830154600160a060020a039092169950975067ffffffffffffffff608060020a82048116965080821695506801000000000000000090910416925090506114148160a060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a9004909116608082015242612119565b94505b509295509295509295565b60008043841115611431574393505b600b546101009004600160a060020a0316635b7b72c130868a8a8a8960006040516020015260405160e060020a63ffffffff8916028152600160a060020a038716600482019081526024820187905260ff8516606483015282151560a483015260c0604483019081529091608481019060c40187818151815260200191508051906020019080838360005b838110156114d55780820151818401525b6020016114bc565b50505050905090810190601f1680156115025780820380516001836020036101000a031916815260200191505b50838103825285818151815260200191508051906020019080838360005b838110156115395780820151818401525b602001611520565b50505050905090810190601f1680156115665780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b151561158a57600080fd5b6102c65a03f1151561159b57600080fd5b5050506040518051915050600160a060020a038116633cebb8233360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b15156115f457600080fd5b6102c65a03f1151561160557600080fd5b50505080600160a060020a03167f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade8560405190815260200160405180910390a28091505b5095945050505050565b4260008061166084610dd1565b9150600090505b818110156116d557600160a060020a0384166000908152600d6020526040902080546116ca91908390811061169857fe5b906000526020600020906003020160005b506002015468010000000000000000900467ffffffffffffffff1684612169565b92505b600101611667565b5b5050919050565b6000611001824361113f565b90505b919050565b600554600160a060020a031681565b600080548190819033600160a060020a0390811691161461172057600080fd5b61172861100f565b91508382018290101561173757fe5b611744600a858401612198565b61174d856116dd565b90508381018190101561175c57fe5b600160a060020a038516600090815260086020526040902061178090828601612198565b84600160a060020a031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405190815260200160405180910390a3600192505b5b505092915050565b60038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e865780601f10610e5b57610100808354040283529160200191610e86565b820191906000526020600020905b815481529060010190602001808311610e6957829003601f168201915b505050505081565b600a5460009015806118a4575081600a600081548110151561188957fe5b906000526020600020900160005b50546001608060020a0316115b1561194b57600554600160a060020a03161561193e57600554600654600160a060020a039091169063981b24d0906118dd908590611fa5565b60006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b151561191c57600080fd5b6102c65a03f1151561192d57600080fd5b505050604051805190509050610deb565b506000610deb565b610deb565b611956600a83611fbf565b9050610deb565b5b919050565b600080548190819033600160a060020a0390811691161461198357600080fd5b600092505b8351831015611a0857600160a060020a038484815181106119a557fe5b90602001906020020151169150740100000000000000000000000000000000000000008484815181106119d457fe5b906020019060200201518115156119e757fe5b0490506119fc610d548383611700565b611ed0565b5b600190920191611988565b5b5b50505050565b60003382611a1d82610ff5565b811115611a2957600080fd5b611a338585612281565b92505b5b505092915050565b600b5460ff1681565b60065481565b6000611a5a8484610e8e565b5083600160a060020a0316638f4ffcb1338530866040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611af45780820151818401525b602001611adb565b50505050905090810190601f168015611b215780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1515611b4257600080fd5b6102c65a03f11515611b5357600080fd5b505050600190505b9392505050565b600080600080611b7186610dd1565b9250821515611b8a57611b83866116dd565b9350611c64565b5060009050805b82811015611c4f57600160a060020a0386166000908152600d602052604090208054611c44918491611c3f919085908110611bc857fe5b906000526020600020906003020160005b5060a060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a90049091166080820152886122a9565b6122cb565b91505b600101611b91565b611c61611c5b876116dd565b836122f3565b93505b50505092915050565b600080548190819033600160a060020a03908116911614611c8d57600080fd5b611c9561100f565b915083821015611ca157fe5b611cae600a858403612198565b611cb7856116dd565b905083811015611cc357fe5b600160a060020a0385166000908152600860205260409020611ce790858303612198565b600085600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405190815260200160405180910390a3600192505b5b505092915050565b600160a060020a038083166000908152600960209081526040808320938516835292905220545b92915050565b600080548190819033600160a060020a03908116911614611d8157600080fd5b600092505b8351831015611a0857600160a060020a03848481518110611da357fe5b9060200190602002015116915074010000000000000000000000000000000000000000848481518110611dd257fe5b90602001906020020151811515611de557fe5b049050611dfa610d548383611c6d565b611ed0565b5b600190920191611d86565b5b5b50505050565b600b546101009004600160a060020a031681565b60005433600160a060020a03908116911614611e3d57600080fd5b600b805460ff19168215151790555b5b50565b600054600160a060020a031681565b600f5433600160a060020a03908116911614611e7a57600080fd5b600f54611e9190600160a060020a03166000611ee0565b600f805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03838116919091179182905561113b91166001611ee0565b5b5b50565b80151561113b57600080fd5b5b50565b600160a060020a0382166000908152600e60205260409020805460ff19168215151790555b5050565b6000805433600160a060020a03908116911614611f9057600b5460ff161515611f3157600080fd5b600160a060020a038085166000908152600960209081526040808320339094168352929052205482901015611f6257fe5b600160a060020a03808516600090815260096020908152604080832033909416835292905220805483900390555b611f9b84848461230c565b90505b9392505050565b6000818310611fb45781611fb6565b825b90505b92915050565b600080600080858054905060001415611fdb5760009350611c64565b855486906000198101908110611fed57fe5b906000526020600020900160005b50546001608060020a031685106120455785548690600019810190811061201e57fe5b906000526020600020900160005b5054608060020a90046001608060020a03169350611c64565b85600081548110151561205457fe5b906000526020600020900160005b50546001608060020a031685101561207d5760009350611c64565b8554600093506000190191505b828211156120df5760026001838501015b0490508486828154811015156120ad57fe5b906000526020600020900160005b50546001608060020a0316116120d3578092506120da565b6001810391505b61208a565b85838154811015156120ed57fe5b906000526020600020900160005b5054608060020a90046001608060020a031693505b50505092915050565b6000611fb683602001518367ffffffffffffffff16856080015167ffffffffffffffff16866040015167ffffffffffffffff16876060015167ffffffffffffffff166124cf565b90505b92915050565b60008167ffffffffffffffff168367ffffffffffffffff161015611fb45781611fb6565b825b90505b92915050565b8154600090819015806121d5575083544390859060001981019081106121ba57fe5b906000526020600020900160005b50546001608060020a0316105b1561223e57835484906121eb82600183016125f8565b815481106121f557fe5b906000526020600020900160005b5080546001608060020a03858116608060020a024382166fffffffffffffffffffffffffffffffff1990931692909217161781559150611a08565b83548490600019810190811061225057fe5b906000526020600020900160005b5080546001608060020a03808616608060020a02911617815590505b5b50505050565b600b5460009060ff16151561229557600080fd5b611fb633848461230c565b90505b92915050565b6000611fb683602001516122bd8585612119565b6122f3565b90505b92915050565b60008282016122e8848210801590610d545750838210155b611ed0565b8091505b5092915050565b600061230183831115611ed0565b508082035b92915050565b600080808315156123205760019250611072565b600160a060020a0385161580159061234a575030600160a060020a031685600160a060020a031614155b151561235557600080fd5b61235f864361113f565b91508382101561236b57fe5b60005461238090600160a060020a0316610b5e565b156124185760008054600160a060020a031690634a393149908890889088906040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156123f557600080fd5b6102c65a03f1151561240657600080fd5b50505060405180519050151561241857fe5b5b600160a060020a038616600090815260086020526040902061243d90858403612198565b612447854361113f565b90508381018190101561245657fe5b600160a060020a038516600090815260086020526040902061247a90828601612198565b84600160a060020a031686600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405190815260200160405180910390a3600192505b50509392505050565b600080838610156124e35760009150611649565b8286106124f257869150611649565b6125176125088861250389896122f3565b612527565b61251285886122f3565b612556565b90508091505b5095945050505050565b60008282026122e8841580610d54575083858381151561254357fe5b04145b611ed0565b8091505b5092915050565b60008061256560008411611ed0565b828481151561257057fe5b0490506122e8838581151561258157fe5b06828502018514611ed0565b8091505b5092915050565b60a0604051908101604090815260008083526020830181905290820181905260608201819052608082015290565b8154818355818115116125f2576003028160030283600052602060002091820191016125f29190612622565b5b505050565b8154818355818115116125f2576000838152602090206125f2918101908301612684565b5b505050565b61101d91905b8082111561267d57805473ffffffffffffffffffffffffffffffffffffffff191681556000600182015560028101805477ffffffffffffffffffffffffffffffffffffffffffffffff19169055600301612628565b5090565b90565b61101d91905b8082111561267d576000815560010161268a565b5090565b905600a165627a7a723058201e177e95fc066f168c7417151be7f8f195969d5d07701dade53781d95565a3fb0029000000000000000000000000af5b37a3f0947c5eee60909ef0b60d1caf54b971
Deployed Bytecode
0x6060604052361561019a5763ffffffff60e060020a600035041662e1986d811461024357806302a72a4c1461028057806306fdde03146102b1578063095ea7b31461033c5780630f8f8b831461037257806317634514146103a357806318160ddd146103c85780631f9a391c146103ed57806323b872dd146104135780632c71e60a1461044f578063313ce567146104ba5780633cebb823146104e35780634ee2cd7e1461050457806354fd4d5014610538578063600e85b7146105c35780636638c087146106345780636c182e99146106f857806370a082311461073457806380a5400114610765578063827f32c01461079457806395d89b41146107ca578063981b24d0146108555780639a0e4ebb1461087d578063a9059cbb146108ce578063bef97c8714610904578063c5bcc4f11461092b578063cae9ca5114610950578063d347c205146109c9578063d3ce77fe14610a07578063dd62ed3e14610a3d578063e007b33014610a74578063e77772fe14610ac5578063f41e60c514610af4578063f77c479114610b0e578063fb13a70714610b3d575b6102415b6000546101b390600160a060020a0316610b5e565b15156101be57600080fd5b60008054600160a060020a03169063f48c305490349033906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390911660048201526024016020604051808303818588803b151561021a57600080fd5b6125ee5a03f1151561022b57600080fd5b5050505060405180519050151561023e57fe5b5b565b005b341561024e57600080fd5b610241600160a060020a036004351660243567ffffffffffffffff60443581169060643581169060843516610b8b565b005b341561028b57600080fd5b61029f600160a060020a0360043516610dd1565b60405190815260200160405180910390f35b34156102bc57600080fd5b6102c4610df0565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103015780820151818401525b6020016102e8565b50505050905090810190601f16801561032e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561034757600080fd5b61035e600160a060020a0360043516602435610e8e565b604051901515815260200160405180910390f35b341561037d57600080fd5b61029f600160a060020a0360043516610ff5565b60405190815260200160405180910390f35b34156103ae57600080fd5b61029f611009565b60405190815260200160405180910390f35b34156103d357600080fd5b61029f61100f565b60405190815260200160405180910390f35b34156103f857600080fd5b610241600160a060020a03600435166024351515611020565b005b341561041e57600080fd5b61035e600160a060020a036004358116906024351660443561104b565b604051901515815260200160405180910390f35b341561045a57600080fd5b610471600160a060020a036004351660243561107c565b604051600160a060020a039095168552602085019390935267ffffffffffffffff91821660408086019190915290821660608501529116608083015260a0909101905180910390f35b34156104c557600080fd5b6104cd6110ee565b60405160ff909116815260200160405180910390f35b34156104ee57600080fd5b610241600160a060020a03600435166110f7565b005b341561050f57600080fd5b61029f600160a060020a036004351660243561113f565b60405190815260200160405180910390f35b341561054357600080fd5b6102c4611285565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103015780820151818401525b6020016102e8565b50505050905090810190601f16801561032e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156105ce57600080fd5b6105e5600160a060020a0360043516602435611323565b604051600160a060020a039096168652602086019490945260408086019390935267ffffffffffffffff9182166060860152811660808501529190911660a083015260c0909101905180910390f35b341561063f57600080fd5b6106dc60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803560ff1690602001909190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965050843594602001351515935061142292505050565b604051600160a060020a03909116815260200160405180910390f35b341561070357600080fd5b610717600160a060020a0360043516611653565b60405167ffffffffffffffff909116815260200160405180910390f35b341561073f57600080fd5b61029f600160a060020a03600435166116dd565b60405190815260200160405180910390f35b341561077057600080fd5b6106dc6116f1565b604051600160a060020a03909116815260200160405180910390f35b341561079f57600080fd5b61035e600160a060020a0360043516602435611700565b604051901515815260200160405180910390f35b34156107d557600080fd5b6102c46117cd565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103015780820151818401525b6020016102e8565b50505050905090810190601f16801561032e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561086057600080fd5b61029f60043561186b565b60405190815260200160405180910390f35b341561088857600080fd5b610241600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061196395505050505050565b005b34156108d957600080fd5b61035e600160a060020a0360043516602435611a10565b604051901515815260200160405180910390f35b341561090f57600080fd5b61035e611a3f565b604051901515815260200160405180910390f35b341561093657600080fd5b61029f611a48565b60405190815260200160405180910390f35b341561095b57600080fd5b61035e60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650611a4e95505050505050565b604051901515815260200160405180910390f35b34156109d457600080fd5b61029f600160a060020a036004351667ffffffffffffffff60243516611b62565b60405190815260200160405180910390f35b3415610a1257600080fd5b61035e600160a060020a0360043516602435611c6d565b604051901515815260200160405180910390f35b3415610a4857600080fd5b61029f600160a060020a0360043581169060243516611d34565b60405190815260200160405180910390f35b3415610a7f57600080fd5b6102416004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650611d6195505050505050565b005b3415610ad057600080fd5b6106dc611e0e565b604051600160a060020a03909116815260200160405180910390f35b3415610aff57600080fd5b6102416004351515611e22565b005b3415610b1957600080fd5b6106dc611e50565b604051600160a060020a03909116815260200160405180910390f35b3415610b4857600080fd5b610241600160a060020a0360043516611e5f565b005b600080600160a060020a0383161515610b7a5760009150610b85565b823b90506000811191505b50919050565b610b93612598565b8367ffffffffffffffff168367ffffffffffffffff1610158015610bcb57508267ffffffffffffffff168267ffffffffffffffff1610155b1515610bd657600080fd5b600c54610be287610dd1565b1115610bed57600080fd5b600160a060020a0333166000908152600e6020526040902054610c129060ff16611ed0565b60a06040519081016040908152600160a060020a033381168352602080840189905267ffffffffffffffff808816848601528681166060860152881660808501529089166000908152600d9091522080549192509060018101610c7583826125c6565b916000526020600020906003020160005b5082908151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201518160010155604082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560608201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060808201518160020160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550505050610d59610d548787611a10565b611ed0565b85600160a060020a031633600160a060020a03167f9e12d725ade130ef3f3727e13815b3fcf01a631419ce8142bafb0752a61121e88786868960405193845267ffffffffffffffff9283166020850152908216604080850191909152911660608301526080909101905180910390a35b505050505050565b600160a060020a0381166000908152600d60205260409020545b919050565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e865780601f10610e5b57610100808354040283529160200191610e86565b820191906000526020600020905b815481529060010190602001808311610e6957829003601f168201915b505050505081565b600b5460009060ff161515610ea257600080fd5b811580610ed25750600160a060020a03338116600090815260096020908152604080832093871683529290522054155b1515610edd57600080fd5b600054610ef290600160a060020a0316610b5e565b15610f8a5760008054600160a060020a03169063da682aeb903390869086906040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610f6757600080fd5b6102c65a03f11515610f7857600080fd5b505050604051805190501515610f8a57fe5b5b600160a060020a03338116600081815260096020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60006110018242611b62565b90505b919050565b60075481565b600061101a4361186b565b90505b90565b600f5433600160a060020a0390811691161461103b57600080fd5b6110458282611ee0565b5b5b5050565b6000838261105882610ff5565b81111561106457600080fd5b61106f868686611f09565b92505b5b50509392505050565b600d6020528160005260406000208181548110151561109757fe5b906000526020600020906003020160005b5080546001820154600290920154600160a060020a03909116935090915067ffffffffffffffff80821691680100000000000000008104821691608060020a9091041685565b60025460ff1681565b60005433600160a060020a0390811691161461111257600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600160a060020a038216600090815260086020526040812054158061119f5750600160a060020a03831660009081526008602052604081208054849290811061118457fe5b906000526020600020900160005b50546001608060020a0316115b1561125557600554600160a060020a03161561124857600554600654600160a060020a0390911690634ee2cd7e9085906111da908690611fa5565b60006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561122657600080fd5b6102c65a03f1151561123757600080fd5b505050604051805190509050610fef565b506000610fef565b610fef565b600160a060020a03831660009081526008602052604090206112779083611fbf565b9050610fef565b5b92915050565b60048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e865780601f10610e5b57610100808354040283529160200191610e86565b820191906000526020600020905b815481529060010190602001808311610e6957829003601f168201915b505050505081565b600160a060020a0382166000908152600d6020526040812080548291829182918291829182918990811061135357fe5b906000526020600020906003020160005b50805460018201546002830154600160a060020a039092169950975067ffffffffffffffff608060020a82048116965080821695506801000000000000000090910416925090506114148160a060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a9004909116608082015242612119565b94505b509295509295509295565b60008043841115611431574393505b600b546101009004600160a060020a0316635b7b72c130868a8a8a8960006040516020015260405160e060020a63ffffffff8916028152600160a060020a038716600482019081526024820187905260ff8516606483015282151560a483015260c0604483019081529091608481019060c40187818151815260200191508051906020019080838360005b838110156114d55780820151818401525b6020016114bc565b50505050905090810190601f1680156115025780820380516001836020036101000a031916815260200191505b50838103825285818151815260200191508051906020019080838360005b838110156115395780820151818401525b602001611520565b50505050905090810190601f1680156115665780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b151561158a57600080fd5b6102c65a03f1151561159b57600080fd5b5050506040518051915050600160a060020a038116633cebb8233360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b15156115f457600080fd5b6102c65a03f1151561160557600080fd5b50505080600160a060020a03167f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade8560405190815260200160405180910390a28091505b5095945050505050565b4260008061166084610dd1565b9150600090505b818110156116d557600160a060020a0384166000908152600d6020526040902080546116ca91908390811061169857fe5b906000526020600020906003020160005b506002015468010000000000000000900467ffffffffffffffff1684612169565b92505b600101611667565b5b5050919050565b6000611001824361113f565b90505b919050565b600554600160a060020a031681565b600080548190819033600160a060020a0390811691161461172057600080fd5b61172861100f565b91508382018290101561173757fe5b611744600a858401612198565b61174d856116dd565b90508381018190101561175c57fe5b600160a060020a038516600090815260086020526040902061178090828601612198565b84600160a060020a031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405190815260200160405180910390a3600192505b5b505092915050565b60038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e865780601f10610e5b57610100808354040283529160200191610e86565b820191906000526020600020905b815481529060010190602001808311610e6957829003601f168201915b505050505081565b600a5460009015806118a4575081600a600081548110151561188957fe5b906000526020600020900160005b50546001608060020a0316115b1561194b57600554600160a060020a03161561193e57600554600654600160a060020a039091169063981b24d0906118dd908590611fa5565b60006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b151561191c57600080fd5b6102c65a03f1151561192d57600080fd5b505050604051805190509050610deb565b506000610deb565b610deb565b611956600a83611fbf565b9050610deb565b5b919050565b600080548190819033600160a060020a0390811691161461198357600080fd5b600092505b8351831015611a0857600160a060020a038484815181106119a557fe5b90602001906020020151169150740100000000000000000000000000000000000000008484815181106119d457fe5b906020019060200201518115156119e757fe5b0490506119fc610d548383611700565b611ed0565b5b600190920191611988565b5b5b50505050565b60003382611a1d82610ff5565b811115611a2957600080fd5b611a338585612281565b92505b5b505092915050565b600b5460ff1681565b60065481565b6000611a5a8484610e8e565b5083600160a060020a0316638f4ffcb1338530866040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611af45780820151818401525b602001611adb565b50505050905090810190601f168015611b215780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1515611b4257600080fd5b6102c65a03f11515611b5357600080fd5b505050600190505b9392505050565b600080600080611b7186610dd1565b9250821515611b8a57611b83866116dd565b9350611c64565b5060009050805b82811015611c4f57600160a060020a0386166000908152600d602052604090208054611c44918491611c3f919085908110611bc857fe5b906000526020600020906003020160005b5060a060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a90049091166080820152886122a9565b6122cb565b91505b600101611b91565b611c61611c5b876116dd565b836122f3565b93505b50505092915050565b600080548190819033600160a060020a03908116911614611c8d57600080fd5b611c9561100f565b915083821015611ca157fe5b611cae600a858403612198565b611cb7856116dd565b905083811015611cc357fe5b600160a060020a0385166000908152600860205260409020611ce790858303612198565b600085600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405190815260200160405180910390a3600192505b5b505092915050565b600160a060020a038083166000908152600960209081526040808320938516835292905220545b92915050565b600080548190819033600160a060020a03908116911614611d8157600080fd5b600092505b8351831015611a0857600160a060020a03848481518110611da357fe5b9060200190602002015116915074010000000000000000000000000000000000000000848481518110611dd257fe5b90602001906020020151811515611de557fe5b049050611dfa610d548383611c6d565b611ed0565b5b600190920191611d86565b5b5b50505050565b600b546101009004600160a060020a031681565b60005433600160a060020a03908116911614611e3d57600080fd5b600b805460ff19168215151790555b5b50565b600054600160a060020a031681565b600f5433600160a060020a03908116911614611e7a57600080fd5b600f54611e9190600160a060020a03166000611ee0565b600f805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03838116919091179182905561113b91166001611ee0565b5b5b50565b80151561113b57600080fd5b5b50565b600160a060020a0382166000908152600e60205260409020805460ff19168215151790555b5050565b6000805433600160a060020a03908116911614611f9057600b5460ff161515611f3157600080fd5b600160a060020a038085166000908152600960209081526040808320339094168352929052205482901015611f6257fe5b600160a060020a03808516600090815260096020908152604080832033909416835292905220805483900390555b611f9b84848461230c565b90505b9392505050565b6000818310611fb45781611fb6565b825b90505b92915050565b600080600080858054905060001415611fdb5760009350611c64565b855486906000198101908110611fed57fe5b906000526020600020900160005b50546001608060020a031685106120455785548690600019810190811061201e57fe5b906000526020600020900160005b5054608060020a90046001608060020a03169350611c64565b85600081548110151561205457fe5b906000526020600020900160005b50546001608060020a031685101561207d5760009350611c64565b8554600093506000190191505b828211156120df5760026001838501015b0490508486828154811015156120ad57fe5b906000526020600020900160005b50546001608060020a0316116120d3578092506120da565b6001810391505b61208a565b85838154811015156120ed57fe5b906000526020600020900160005b5054608060020a90046001608060020a031693505b50505092915050565b6000611fb683602001518367ffffffffffffffff16856080015167ffffffffffffffff16866040015167ffffffffffffffff16876060015167ffffffffffffffff166124cf565b90505b92915050565b60008167ffffffffffffffff168367ffffffffffffffff161015611fb45781611fb6565b825b90505b92915050565b8154600090819015806121d5575083544390859060001981019081106121ba57fe5b906000526020600020900160005b50546001608060020a0316105b1561223e57835484906121eb82600183016125f8565b815481106121f557fe5b906000526020600020900160005b5080546001608060020a03858116608060020a024382166fffffffffffffffffffffffffffffffff1990931692909217161781559150611a08565b83548490600019810190811061225057fe5b906000526020600020900160005b5080546001608060020a03808616608060020a02911617815590505b5b50505050565b600b5460009060ff16151561229557600080fd5b611fb633848461230c565b90505b92915050565b6000611fb683602001516122bd8585612119565b6122f3565b90505b92915050565b60008282016122e8848210801590610d545750838210155b611ed0565b8091505b5092915050565b600061230183831115611ed0565b508082035b92915050565b600080808315156123205760019250611072565b600160a060020a0385161580159061234a575030600160a060020a031685600160a060020a031614155b151561235557600080fd5b61235f864361113f565b91508382101561236b57fe5b60005461238090600160a060020a0316610b5e565b156124185760008054600160a060020a031690634a393149908890889088906040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156123f557600080fd5b6102c65a03f1151561240657600080fd5b50505060405180519050151561241857fe5b5b600160a060020a038616600090815260086020526040902061243d90858403612198565b612447854361113f565b90508381018190101561245657fe5b600160a060020a038516600090815260086020526040902061247a90828601612198565b84600160a060020a031686600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405190815260200160405180910390a3600192505b50509392505050565b600080838610156124e35760009150611649565b8286106124f257869150611649565b6125176125088861250389896122f3565b612527565b61251285886122f3565b612556565b90508091505b5095945050505050565b60008282026122e8841580610d54575083858381151561254357fe5b04145b611ed0565b8091505b5092915050565b60008061256560008411611ed0565b828481151561257057fe5b0490506122e8838581151561258157fe5b06828502018514611ed0565b8091505b5092915050565b60a0604051908101604090815260008083526020830181905290820181905260608201819052608082015290565b8154818355818115116125f2576003028160030283600052602060002091820191016125f29190612622565b5b505050565b8154818355818115116125f2576000838152602090206125f2918101908301612684565b5b505050565b61101d91905b8082111561267d57805473ffffffffffffffffffffffffffffffffffffffff191681556000600182015560028101805477ffffffffffffffffffffffffffffffffffffffffffffffff19169055600301612628565b5090565b90565b61101d91905b8082111561267d576000815560010161268a565b5090565b905600a165627a7a723058201e177e95fc066f168c7417151be7f8f195969d5d07701dade53781d95565a3fb0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000af5b37a3f0947c5eee60909ef0b60d1caf54b971
-----Decoded View---------------
Arg [0] : _tokenFactory (address): 0xAf5b37a3F0947C5EeE60909Ef0b60D1cAf54b971
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000af5b37a3f0947c5eee60909ef0b60d1caf54b971
Swarm Source
bzzr://1e177e95fc066f168c7417151be7f8f195969d5d07701dade53781d95565a3fb
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.