ERC-20
Overview
Max Total Supply
83,999.99999999308988616 PKTF
Holders
39
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PrivateKatinrunFoudation
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-01-24 */ pragma solidity ^0.4.24; // File: openzeppelin-solidity/contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() internal { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } /** * @return the address of the owner. */ function owner() public view returns(address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner()); _; } /** * @return true if `msg.sender` is the owner of the contract. */ function isOwner() public view returns(bool) { return msg.sender == _owner; } /** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0)); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); event Transfer( address indexed from, address indexed to, uint256 value ); event Approval( address indexed owner, address indexed spender, uint256 value ); } // File: openzeppelin-solidity/contracts/math/SafeMath.sol /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two numbers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0); // Solidity only automatically asserts when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two numbers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two numbers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md * Originally based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; uint256 private _totalSupply; /** * @dev Total number of tokens in existence */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param owner address The address which owns the funds. * @param spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance( address owner, address spender ) public view returns (uint256) { return _allowed[owner][spender]; } /** * @dev Transfer token 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) { _transfer(msg.sender, 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) { require(spender != address(0)); _allowed[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } /** * @dev Transfer tokens from one address to another * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 the amount of tokens to be transferred */ function transferFrom( address from, address to, uint256 value ) public returns (bool) { require(value <= _allowed[from][msg.sender]); _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value); _transfer(from, to, value); return true; } /** * @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 increaseAllowance( address spender, uint256 addedValue ) public returns (bool) { require(spender != address(0)); _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 decreaseAllowance( address spender, uint256 subtractedValue ) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = ( _allowed[msg.sender][spender].sub(subtractedValue)); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } /** * @dev Transfer token for a specified addresses * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(value <= _balances[from]); require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Internal function that mints an amount of the token and assigns it to * an account. This encapsulates the modification of balances such that the * proper events are emitted. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(account != 0); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); } /** * @dev Internal function that burns an amount of the token of a given * account. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burn(address account, uint256 value) internal { require(account != 0); require(value <= _balances[account]); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @dev Internal function that burns an amount of the token of a given * account, deducting from the sender's allowance for said account. Uses the * internal burn function. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burnFrom(address account, uint256 value) internal { require(value <= _allowed[account][msg.sender]); // Should https://github.com/OpenZeppelin/zeppelin-solidity/issues/707 be accepted, // this function needs to emit an event with the updated approval. _allowed[account][msg.sender] = _allowed[account][msg.sender].sub( value); _burn(account, value); } } // File: contracts/PartialERC20.sol /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md * Originally based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract PartialERC20 is ERC20 { using SafeMath for uint256; mapping (address => uint256) internal _balances; mapping (address => mapping (address => uint256)) internal _allowed; uint256 internal _totalSupply; /** * @dev Total number of tokens in existence */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param owner address The address which owns the funds. * @param spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance( address owner, address spender ) public view returns (uint256) { return _allowed[owner][spender]; } /** * @dev 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) { require(spender != address(0)); _allowed[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } /** * @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 increaseAllowance( address spender, uint256 addedValue ) public returns (bool) { require(spender != address(0)); _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 decreaseAllowance( address spender, uint256 subtractedValue ) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = ( _allowed[msg.sender][spender].sub(subtractedValue)); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } /** * @dev Transfer token for a specified addresses * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Internal function that mints an amount of the token and assigns it to * an account. This encapsulates the modification of balances such that the * proper events are emitted. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); } /** * @dev Internal function that burns an amount of the token of a given * account. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burn(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @dev Internal function that burns an amount of the token of a given * account, deducting from the sender's allowance for said account. Uses the * internal burn function. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burnFrom(address account, uint256 value) internal { // Should https://github.com/OpenZeppelin/zeppelin-solidity/issues/707 be accepted, // this function needs to emit an event with the updated approval. _allowed[account][msg.sender] = _allowed[account][msg.sender].sub( value); _burn(account, value); } } // File: contracts/PrivateToken.sol /** * @title Private Token * @dev This Private token used for early adoption for token holders, and have mechanism for migration to a production token. * @dev Migration Flow: * Step1: call freeze() * Step2: Loop mint for all holders on a production token. */ contract PrivateToken is PartialERC20, Ownable { bool public isFreezed = false; address[] public holders; mapping(address => uint32) indexOfHolders; event Freezed(address commander); event RecordNewTokenHolder(address holder); event RemoveTokenHolder(address holder); function numberOfTokenHolders() public view returns(uint32) { return uint32(holders.length); } function isTokenHolder(address addr) public view returns(bool) { return indexOfHolders[addr] > 0; } modifier isNotFreezed() { require(!isFreezed); _; } function freeze() public onlyOwner { isFreezed = true; emit Freezed(msg.sender); } function _recordNewTokenHolder(address holder) internal { // Record new holder if (!isTokenHolder(holder)) { holders.push(holder); indexOfHolders[holder] = uint32(holders.length); emit RecordNewTokenHolder(holder); } } function _removeTokenHolder(address holder) internal { //check if holder exist if (isTokenHolder(holder)) { // delete holder in holders uint32 index = indexOfHolders[holder] - 1; if (holders.length > 1 && index != uint32(holders.length - 1)) { //swap two elements of the array address lastHolder = holders[holders.length - 1]; holders[holders.length - 1] = holders[index]; holders[index] = lastHolder; indexOfHolders[lastHolder] = indexOfHolders[holder]; } holders.length--; indexOfHolders[holder] = 0; emit RemoveTokenHolder(holder); } } /** * @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 isNotFreezed returns (bool) { _transfer(msg.sender, to, value); // Record new holder _recordNewTokenHolder(to); return true; } /** * @dev Transfer tokens from one address to another * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 the amount of tokens to be transferred */ function transferFrom(address from, address to, uint256 value) public isNotFreezed returns (bool) { _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value); _transfer(from, to, value); // Record new holder _recordNewTokenHolder(to); return true; } } // File: contracts/KTFForTestMigration.sol /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md * Originally based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract KTFForTestMigration is PartialERC20, Ownable { // uint256 public totalSupply; string public name; string public symbol; uint32 public decimals; PrivateToken public pktf; uint32 public holderCount; constructor(PrivateToken _pktf) public { symbol = "KTF"; name = "Katinrun Foundation"; decimals = 18; _totalSupply = 0; _balances[msg.sender] = _totalSupply; pktf = _pktf; } function migrateFromPKTF() public onlyOwner { uint32 numberOfPKTFHolders = pktf.numberOfTokenHolders(); holderCount = numberOfPKTFHolders; for(uint256 i = 0; i < numberOfPKTFHolders; i++) { address user = pktf.holders(i); uint256 balance = pktf.balanceOf(user); mint(user, balance); } } /** * @dev Function to mint tokens * @param to The address that will receive the minted tokens. * @param value The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address to,uint256 value) public onlyOwner returns (bool) { _mint(to, value); return true; } } // File: contracts/MintableWithVoucher.sol contract MintableWithVoucher is PrivateToken { mapping(uint64 => bool) usedVouchers; mapping(bytes32 => uint32) holderRedemptionCount; event VoucherUsed( uint64 voucherID, uint64 parityCode, uint256 amount, uint256 expired, address indexed receiver, // use indexed for easy to filter event bytes32 socialHash ); function isVoucherUsed(uint64 _voucherID) public view returns (bool) { return usedVouchers[_voucherID]; } function markVoucherAsUsed(uint64 _voucherID) private { usedVouchers[_voucherID] = true; } function getHolderRedemptionCount(bytes32 socialHash) public view returns(uint32) { return holderRedemptionCount[socialHash]; } function isVoucherExpired(uint256 expired) public view returns(bool) { return expired < now; } function expireTomorrow() public view returns (uint256) { return now + 1 days; } function expireNow() public view returns (uint256) { return now; } // Implement voucher system function redeemVoucher( uint8 _v, bytes32 _r, bytes32 _s, uint64 _voucherID, uint64 _parityCode, uint256 _amount, uint256 _expired, address _receiver, bytes32 _socialHash ) public isNotFreezed { require(!isVoucherUsed(_voucherID), "Voucher has already been used."); require(!isVoucherExpired(_expired), "Voucher is expired."); bytes memory prefix = "\x19Ethereum Signed Message:\n80"; bytes memory encoded = abi.encodePacked(prefix,_voucherID, _parityCode, _amount, _expired); require(ecrecover(keccak256(encoded), _v, _r, _s) == owner()); // Mint _mint(_receiver, _amount); // Record new holder _recordNewTokenHolder(_receiver); markVoucherAsUsed(_voucherID); holderRedemptionCount[_socialHash]++; emit VoucherUsed(_voucherID, _parityCode, _amount, _expired, _receiver, _socialHash); } /** * @dev Function to mint tokens * @param to The address that will receive the minted tokens. * @param value The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address to,uint256 value) public onlyOwner // todo: or onlyMinter isNotFreezed returns (bool) { _mint(to, value); // Record new holder _recordNewTokenHolder(to); return true; } /** * @dev Burns a specific amount of tokens. Only owner can burn themself. * @param value The amount of token to be burned. */ function burn(uint256 value) public onlyOwner isNotFreezed { _burn(msg.sender, value); // _removeTokenHolder(msg.sender); } /** * @dev Burns a specific amount of tokens. Only owner can burn themself. * @param value The amount of token to be burned. */ function burn(address account, uint256 value) public onlyOwner isNotFreezed { _burn(account, value); // _removeTokenHolder(account); } /** * @dev Internal function that burns an amount of the token of a given * account. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function burnFrom(address account, uint256 value) public isNotFreezed { require(account != address(0)); _burnFrom(account, value); // if(balanceOf(account) == 0) { // _removeTokenHolder(account); // } } } // File: contracts/PrivateKatinrunFoudation.sol contract PrivateKatinrunFoudation is MintableWithVoucher { // uint256 public totalSupply; string public name; string public symbol; uint32 public decimals; PrivateToken public pktf; uint32 public holderCount; constructor(PrivateToken _pktf) public { symbol = "PKTF"; name = "Private Katinrun Foundation"; decimals = 18; _totalSupply = 0; _balances[msg.sender] = _totalSupply; if(_pktf != address(0)){ pktf = _pktf; uint32 numberOfPKTFHolders = pktf.numberOfTokenHolders(); holderCount = numberOfPKTFHolders; for(uint256 i = 0; i < numberOfPKTFHolders; i++) { address user = pktf.holders(i); uint256 balance = pktf.balanceOf(user); mint(user, balance); } } // emit Transfer(0x0, msg.sender, _totalSupply); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"pktf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"numberOfTokenHolders","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"holderCount","outputs":[{"name":"","type":"uint32"}],"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":"","type":"uint256"}],"name":"holders","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"freeze","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"}],"name":"isTokenHolder","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"},{"name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"expired","type":"uint256"}],"name":"isVoucherExpired","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"},{"name":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"expireNow","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_voucherID","type":"uint64"}],"name":"isVoucherUsed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isFreezed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_v","type":"uint8"},{"name":"_r","type":"bytes32"},{"name":"_s","type":"bytes32"},{"name":"_voucherID","type":"uint64"},{"name":"_parityCode","type":"uint64"},{"name":"_amount","type":"uint256"},{"name":"_expired","type":"uint256"},{"name":"_receiver","type":"address"},{"name":"_socialHash","type":"bytes32"}],"name":"redeemVoucher","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":"expireTomorrow","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"socialHash","type":"bytes32"}],"name":"getHolderRedemptionCount","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_pktf","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"voucherID","type":"uint64"},{"indexed":false,"name":"parityCode","type":"uint64"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"expired","type":"uint256"},{"indexed":true,"name":"receiver","type":"address"},{"indexed":false,"name":"socialHash","type":"bytes32"}],"name":"VoucherUsed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"commander","type":"address"}],"name":"Freezed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"holder","type":"address"}],"name":"RecordNewTokenHolder","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"holder","type":"address"}],"name":"RemoveTokenHolder","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":"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
60806040526006805460a060020a60ff02191690553480156200002157600080fd5b5060405160208062001b60833981016040819052905160068054600160a060020a0319163317908190559091600091829182918291600160a060020a03919091169082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36040805180820190915260048082527f504b5446000000000000000000000000000000000000000000000000000000006020909201918252620000d091600c916200061e565b5060408051808201909152601b8082527f50726976617465204b6174696e72756e20466f756e646174696f6e000000000060209092019182526200011791600b916200061e565b50600d805463ffffffff191660121790556000600581905533815260036020526040812055600160a060020a03851615620003c55784600d60046101000a815481600160a060020a030219169083600160a060020a03160217905550600d60049054906101000a9004600160a060020a0316600160a060020a031663178ef3076040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015620001e057600080fd5b505af1158015620001f5573d6000803e3d6000fd5b505050506040513d60208110156200020c57600080fd5b5051600d805460c060020a63ffffffff021916780100000000000000000000000000000000000000000000000063ffffffff8416021790559350600092505b8363ffffffff16831015620003c557600d60049054906101000a9004600160a060020a0316600160a060020a0316632a11ced0846040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b158015620002d257600080fd5b505af1158015620002e7573d6000803e3d6000fd5b505050506040513d6020811015620002fe57600080fd5b5051600d54604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a038085166004830152915193955064010000000090920416916370a08231916024808201926020929091908290030181600087803b1580156200037357600080fd5b505af115801562000388573d6000803e3d6000fd5b505050506040513d60208110156200039f57600080fd5b50519050620003b88282640100000000620003d0810204565b506001909201916200024b565b5050505050620006c0565b6000620003e56401000000006200044c810204565b1515620003f157600080fd5b60065474010000000000000000000000000000000000000000900460ff16156200041a57600080fd5b6200042f83836401000000006200045e810204565b62000443836401000000006200051f810204565b50600192915050565b600654600160a060020a031633145b90565b600160a060020a03821615156200047457600080fd5b600554620004919082640100000000620011ef620005e282021704565b600555600160a060020a038216600090815260036020526040902054620004c79082640100000000620011ef620005e282021704565b600160a060020a03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6200053381640100000000620005fc810204565b1515620005df57600780546001810182557fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688018054600160a060020a031916600160a060020a0384169081179091559054600082815260086020908152604091829020805463ffffffff191663ffffffff909416939093179092558051928352517f0a26eff3545228b2f2c3c02e546b99ff2efa81379421e118d8a94260769e16519281900390910190a15b50565b600082820183811015620005f557600080fd5b9392505050565b600160a060020a031660009081526008602052604081205463ffffffff161190565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200066157805160ff191683800117855562000691565b8280016001018555821562000691579182015b828111156200069157825182559160200191906001019062000674565b506200069f929150620006a3565b5090565b6200045b91905b808211156200069f5760008155600101620006aa565b61149080620006d06000396000f3006080604052600436106101955763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663036c45ed811461019a57806306fdde03146101cb578063095ea7b314610255578063178ef3071461028d57806318160ddd146102bb5780631aab9a9f146102e257806323b872dd146102f75780632a11ced014610321578063313ce56714610339578063395093511461034e57806340c10f191461037257806342966c681461039657806362a5af3b146103b057806365731fe9146103c557806370a08231146103e6578063715018a61461040757806379cc67901461041c57806385acceea146104405780638da5cb5b146104585780638f32d59b1461046d57806395d89b41146104825780639dc29fac14610497578063a43c038a146104bb578063a457c2d7146104d0578063a9059cbb146104f4578063af5b651214610518578063b9469e1a1461053a578063d9ec8f3f1461054f578063dd62ed3e14610599578063f02d17cb146105c0578063f2fde38b146105d5578063f5369256146105f6575b600080fd5b3480156101a657600080fd5b506101af61060e565b60408051600160a060020a039092168252519081900360200190f35b3480156101d757600080fd5b506101e0610625565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561021a578181015183820152602001610202565b50505050905090810190601f1680156102475780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026157600080fd5b50610279600160a060020a03600435166024356106b3565b604080519115158252519081900360200190f35b34801561029957600080fd5b506102a2610731565b6040805163ffffffff9092168252519081900360200190f35b3480156102c757600080fd5b506102d0610737565b60408051918252519081900360200190f35b3480156102ee57600080fd5b506102a261073d565b34801561030357600080fd5b50610279600160a060020a0360043581169060243516604435610765565b34801561032d57600080fd5b506101af6004356107f5565b34801561034557600080fd5b506102a261081d565b34801561035a57600080fd5b50610279600160a060020a0360043516602435610829565b34801561037e57600080fd5b50610279600160a060020a03600435166024356108d9565b3480156103a257600080fd5b506103ae600435610921565b005b3480156103bc57600080fd5b506103ae610958565b3480156103d157600080fd5b50610279600160a060020a03600435166109c4565b3480156103f257600080fd5b506102d0600160a060020a03600435166109e6565b34801561041357600080fd5b506103ae610a01565b34801561042857600080fd5b506103ae600160a060020a0360043516602435610a6b565b34801561044c57600080fd5b50610279600435610aa5565b34801561046457600080fd5b506101af610aaa565b34801561047957600080fd5b50610279610ab9565b34801561048e57600080fd5b506101e0610aca565b3480156104a357600080fd5b506103ae600160a060020a0360043516602435610b25565b3480156104c757600080fd5b506102d0610b59565b3480156104dc57600080fd5b50610279600160a060020a0360043516602435610b5d565b34801561050057600080fd5b50610279600160a060020a0360043516602435610ba8565b34801561052457600080fd5b5061027967ffffffffffffffff60043516610bcd565b34801561054657600080fd5b50610279610bec565b34801561055b57600080fd5b506103ae60ff6004351660243560443567ffffffffffffffff6064358116906084351660a43560c435600160a060020a0360e4351661010435610bfc565b3480156105a557600080fd5b506102d0600160a060020a0360043581169060243516610fde565b3480156105cc57600080fd5b506102d0611009565b3480156105e157600080fd5b506103ae600160a060020a0360043516611012565b34801561060257600080fd5b506102a260043561102e565b600d546401000000009004600160a060020a031681565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106ab5780601f10610680576101008083540402835291602001916106ab565b820191906000526020600020905b81548152906001019060200180831161068e57829003601f168201915b505050505081565b6000600160a060020a03831615156106ca57600080fd5b336000818152600460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60075490565b60055490565b600d547801000000000000000000000000000000000000000000000000900463ffffffff1681565b60065460009060a060020a900460ff161561077f57600080fd5b600160a060020a03841660009081526004602090815260408083203384529091529020546107b3908363ffffffff61104616565b600160a060020a03851660009081526004602090815260408083203384529091529020556107e284848461105d565b6107eb8361112c565b5060019392505050565b600780548290811061080357fe5b600091825260209091200154600160a060020a0316905081565b600d5463ffffffff1681565b6000600160a060020a038316151561084057600080fd5b336000908152600460209081526040808320600160a060020a0387168452909152902054610874908363ffffffff6111ef16565b336000818152600460209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60006108e3610ab9565b15156108ee57600080fd5b60065460a060020a900460ff161561090557600080fd5b61090f8383611208565b6109188361112c565b50600192915050565b610929610ab9565b151561093457600080fd5b60065460a060020a900460ff161561094b57600080fd5b61095533826112b4565b50565b610960610ab9565b151561096b57600080fd5b6006805474ff0000000000000000000000000000000000000000191660a060020a1790556040805133815290517f0de8364a528e5ca2869160b20c375fe85b4e98d24a9cb48b4dc49c5f76d05b249181900360200190a1565b600160a060020a031660009081526008602052604081205463ffffffff161190565b600160a060020a031660009081526003602052604090205490565b610a09610ab9565b1515610a1457600080fd5b600654604051600091600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36006805473ffffffffffffffffffffffffffffffffffffffff19169055565b60065460a060020a900460ff1615610a8257600080fd5b600160a060020a0382161515610a9757600080fd5b610aa1828261135f565b5050565b421190565b600654600160a060020a031690565b600654600160a060020a0316331490565b600c805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106ab5780601f10610680576101008083540402835291602001916106ab565b610b2d610ab9565b1515610b3857600080fd5b60065460a060020a900460ff1615610b4f57600080fd5b610aa182826112b4565b4290565b6000600160a060020a0383161515610b7457600080fd5b336000908152600460209081526040808320600160a060020a0387168452909152902054610874908363ffffffff61104616565b60065460009060a060020a900460ff1615610bc257600080fd5b61090f33848461105d565b67ffffffffffffffff1660009081526009602052604090205460ff1690565b60065460a060020a900460ff1681565b600654606090819060a060020a900460ff1615610c1857600080fd5b610c2188610bcd565b15610c8d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f566f75636865722068617320616c7265616479206265656e20757365642e0000604482015290519081900360640190fd5b610c9685610aa5565b15610d0257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f566f756368657220697320657870697265642e00000000000000000000000000604482015290519081900360640190fd5b6040805190810160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a383000000000815250915081888888886040516020018086805190602001908083835b60208310610d715780518252601f199092019160209182019101610d52565b6001836020036101000a0380198251168184511680821785525050505050509050018567ffffffffffffffff1667ffffffffffffffff1678010000000000000000000000000000000000000000000000000281526008018467ffffffffffffffff1667ffffffffffffffff167801000000000000000000000000000000000000000000000000028152600801838152602001828152602001955050505050506040516020818303038152906040529050610e29610aaa565b600160a060020a03166001826040518082805190602001908083835b60208310610e645780518252601f199092019160209182019101610e45565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390208d8d8d604051600081526020016040526040518085600019166000191681526020018460ff1660ff1681526020018360001916600019168152602001826000191660001916815260200194505050505060206040516020810390808403906000865af1158015610f05573d6000803e3d6000fd5b50505060206040510351600160a060020a0316141515610f2457600080fd5b610f2e8487611208565b610f378461112c565b610f40886113c1565b6000838152600a6020908152604091829020805463ffffffff8082166001011663ffffffff19909116179055815167ffffffffffffffff808c1682528a169181019190915280820188905260608101879052608081018590529051600160a060020a038616917f8164197de7d3d15daa5d0d29dd095b00933c8b555c354f0100f3d18126f9038d919081900360a00190a25050505050505050505050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b62015180420190565b61101a610ab9565b151561102557600080fd5b610955816113e6565b6000908152600a602052604090205463ffffffff1690565b6000808383111561105657600080fd5b5050900390565b600160a060020a038216151561107257600080fd5b600160a060020a03831660009081526003602052604090205461109b908263ffffffff61104616565b600160a060020a0380851660009081526003602052604080822093909355908416815220546110d0908263ffffffff6111ef16565b600160a060020a0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b611135816109c4565b151561095557600780546001810182557fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68801805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384169081179091559054600082815260086020908152604091829020805463ffffffff191663ffffffff909416939093179092558051928352517f0a26eff3545228b2f2c3c02e546b99ff2efa81379421e118d8a94260769e16519281900390910190a150565b60008282018381101561120157600080fd5b9392505050565b600160a060020a038216151561121d57600080fd5b600554611230908263ffffffff6111ef16565b600555600160a060020a03821660009081526003602052604090205461125c908263ffffffff6111ef16565b600160a060020a03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600160a060020a03821615156112c957600080fd5b6005546112dc908263ffffffff61104616565b600555600160a060020a038216600090815260036020526040902054611308908263ffffffff61104616565b600160a060020a0383166000818152600360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a0382166000908152600460209081526040808320338452909152902054611393908263ffffffff61104616565b600160a060020a0383166000908152600460209081526040808320338452909152902055610aa182826112b4565b67ffffffffffffffff166000908152600960205260409020805460ff19166001179055565b600160a060020a03811615156113fb57600080fd5b600654604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a723058202ee12550b574bf1b8b0860b10251523fc026af09e443e72959c3901fe5a59889002900000000000000000000000059340948a91a1939a8d2519f75448ec651712d75
Deployed Bytecode
0x6080604052600436106101955763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663036c45ed811461019a57806306fdde03146101cb578063095ea7b314610255578063178ef3071461028d57806318160ddd146102bb5780631aab9a9f146102e257806323b872dd146102f75780632a11ced014610321578063313ce56714610339578063395093511461034e57806340c10f191461037257806342966c681461039657806362a5af3b146103b057806365731fe9146103c557806370a08231146103e6578063715018a61461040757806379cc67901461041c57806385acceea146104405780638da5cb5b146104585780638f32d59b1461046d57806395d89b41146104825780639dc29fac14610497578063a43c038a146104bb578063a457c2d7146104d0578063a9059cbb146104f4578063af5b651214610518578063b9469e1a1461053a578063d9ec8f3f1461054f578063dd62ed3e14610599578063f02d17cb146105c0578063f2fde38b146105d5578063f5369256146105f6575b600080fd5b3480156101a657600080fd5b506101af61060e565b60408051600160a060020a039092168252519081900360200190f35b3480156101d757600080fd5b506101e0610625565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561021a578181015183820152602001610202565b50505050905090810190601f1680156102475780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026157600080fd5b50610279600160a060020a03600435166024356106b3565b604080519115158252519081900360200190f35b34801561029957600080fd5b506102a2610731565b6040805163ffffffff9092168252519081900360200190f35b3480156102c757600080fd5b506102d0610737565b60408051918252519081900360200190f35b3480156102ee57600080fd5b506102a261073d565b34801561030357600080fd5b50610279600160a060020a0360043581169060243516604435610765565b34801561032d57600080fd5b506101af6004356107f5565b34801561034557600080fd5b506102a261081d565b34801561035a57600080fd5b50610279600160a060020a0360043516602435610829565b34801561037e57600080fd5b50610279600160a060020a03600435166024356108d9565b3480156103a257600080fd5b506103ae600435610921565b005b3480156103bc57600080fd5b506103ae610958565b3480156103d157600080fd5b50610279600160a060020a03600435166109c4565b3480156103f257600080fd5b506102d0600160a060020a03600435166109e6565b34801561041357600080fd5b506103ae610a01565b34801561042857600080fd5b506103ae600160a060020a0360043516602435610a6b565b34801561044c57600080fd5b50610279600435610aa5565b34801561046457600080fd5b506101af610aaa565b34801561047957600080fd5b50610279610ab9565b34801561048e57600080fd5b506101e0610aca565b3480156104a357600080fd5b506103ae600160a060020a0360043516602435610b25565b3480156104c757600080fd5b506102d0610b59565b3480156104dc57600080fd5b50610279600160a060020a0360043516602435610b5d565b34801561050057600080fd5b50610279600160a060020a0360043516602435610ba8565b34801561052457600080fd5b5061027967ffffffffffffffff60043516610bcd565b34801561054657600080fd5b50610279610bec565b34801561055b57600080fd5b506103ae60ff6004351660243560443567ffffffffffffffff6064358116906084351660a43560c435600160a060020a0360e4351661010435610bfc565b3480156105a557600080fd5b506102d0600160a060020a0360043581169060243516610fde565b3480156105cc57600080fd5b506102d0611009565b3480156105e157600080fd5b506103ae600160a060020a0360043516611012565b34801561060257600080fd5b506102a260043561102e565b600d546401000000009004600160a060020a031681565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106ab5780601f10610680576101008083540402835291602001916106ab565b820191906000526020600020905b81548152906001019060200180831161068e57829003601f168201915b505050505081565b6000600160a060020a03831615156106ca57600080fd5b336000818152600460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60075490565b60055490565b600d547801000000000000000000000000000000000000000000000000900463ffffffff1681565b60065460009060a060020a900460ff161561077f57600080fd5b600160a060020a03841660009081526004602090815260408083203384529091529020546107b3908363ffffffff61104616565b600160a060020a03851660009081526004602090815260408083203384529091529020556107e284848461105d565b6107eb8361112c565b5060019392505050565b600780548290811061080357fe5b600091825260209091200154600160a060020a0316905081565b600d5463ffffffff1681565b6000600160a060020a038316151561084057600080fd5b336000908152600460209081526040808320600160a060020a0387168452909152902054610874908363ffffffff6111ef16565b336000818152600460209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60006108e3610ab9565b15156108ee57600080fd5b60065460a060020a900460ff161561090557600080fd5b61090f8383611208565b6109188361112c565b50600192915050565b610929610ab9565b151561093457600080fd5b60065460a060020a900460ff161561094b57600080fd5b61095533826112b4565b50565b610960610ab9565b151561096b57600080fd5b6006805474ff0000000000000000000000000000000000000000191660a060020a1790556040805133815290517f0de8364a528e5ca2869160b20c375fe85b4e98d24a9cb48b4dc49c5f76d05b249181900360200190a1565b600160a060020a031660009081526008602052604081205463ffffffff161190565b600160a060020a031660009081526003602052604090205490565b610a09610ab9565b1515610a1457600080fd5b600654604051600091600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36006805473ffffffffffffffffffffffffffffffffffffffff19169055565b60065460a060020a900460ff1615610a8257600080fd5b600160a060020a0382161515610a9757600080fd5b610aa1828261135f565b5050565b421190565b600654600160a060020a031690565b600654600160a060020a0316331490565b600c805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106ab5780601f10610680576101008083540402835291602001916106ab565b610b2d610ab9565b1515610b3857600080fd5b60065460a060020a900460ff1615610b4f57600080fd5b610aa182826112b4565b4290565b6000600160a060020a0383161515610b7457600080fd5b336000908152600460209081526040808320600160a060020a0387168452909152902054610874908363ffffffff61104616565b60065460009060a060020a900460ff1615610bc257600080fd5b61090f33848461105d565b67ffffffffffffffff1660009081526009602052604090205460ff1690565b60065460a060020a900460ff1681565b600654606090819060a060020a900460ff1615610c1857600080fd5b610c2188610bcd565b15610c8d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f566f75636865722068617320616c7265616479206265656e20757365642e0000604482015290519081900360640190fd5b610c9685610aa5565b15610d0257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f566f756368657220697320657870697265642e00000000000000000000000000604482015290519081900360640190fd5b6040805190810160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a383000000000815250915081888888886040516020018086805190602001908083835b60208310610d715780518252601f199092019160209182019101610d52565b6001836020036101000a0380198251168184511680821785525050505050509050018567ffffffffffffffff1667ffffffffffffffff1678010000000000000000000000000000000000000000000000000281526008018467ffffffffffffffff1667ffffffffffffffff167801000000000000000000000000000000000000000000000000028152600801838152602001828152602001955050505050506040516020818303038152906040529050610e29610aaa565b600160a060020a03166001826040518082805190602001908083835b60208310610e645780518252601f199092019160209182019101610e45565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390208d8d8d604051600081526020016040526040518085600019166000191681526020018460ff1660ff1681526020018360001916600019168152602001826000191660001916815260200194505050505060206040516020810390808403906000865af1158015610f05573d6000803e3d6000fd5b50505060206040510351600160a060020a0316141515610f2457600080fd5b610f2e8487611208565b610f378461112c565b610f40886113c1565b6000838152600a6020908152604091829020805463ffffffff8082166001011663ffffffff19909116179055815167ffffffffffffffff808c1682528a169181019190915280820188905260608101879052608081018590529051600160a060020a038616917f8164197de7d3d15daa5d0d29dd095b00933c8b555c354f0100f3d18126f9038d919081900360a00190a25050505050505050505050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b62015180420190565b61101a610ab9565b151561102557600080fd5b610955816113e6565b6000908152600a602052604090205463ffffffff1690565b6000808383111561105657600080fd5b5050900390565b600160a060020a038216151561107257600080fd5b600160a060020a03831660009081526003602052604090205461109b908263ffffffff61104616565b600160a060020a0380851660009081526003602052604080822093909355908416815220546110d0908263ffffffff6111ef16565b600160a060020a0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b611135816109c4565b151561095557600780546001810182557fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68801805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384169081179091559054600082815260086020908152604091829020805463ffffffff191663ffffffff909416939093179092558051928352517f0a26eff3545228b2f2c3c02e546b99ff2efa81379421e118d8a94260769e16519281900390910190a150565b60008282018381101561120157600080fd5b9392505050565b600160a060020a038216151561121d57600080fd5b600554611230908263ffffffff6111ef16565b600555600160a060020a03821660009081526003602052604090205461125c908263ffffffff6111ef16565b600160a060020a03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600160a060020a03821615156112c957600080fd5b6005546112dc908263ffffffff61104616565b600555600160a060020a038216600090815260036020526040902054611308908263ffffffff61104616565b600160a060020a0383166000818152600360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a0382166000908152600460209081526040808320338452909152902054611393908263ffffffff61104616565b600160a060020a0383166000908152600460209081526040808320338452909152902055610aa182826112b4565b67ffffffffffffffff166000908152600960205260409020805460ff19166001179055565b600160a060020a03811615156113fb57600080fd5b600654604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a723058202ee12550b574bf1b8b0860b10251523fc026af09e443e72959c3901fe5a598890029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000059340948a91a1939a8d2519f75448ec651712d75
-----Decoded View---------------
Arg [0] : _pktf (address): 0x59340948A91A1939a8D2519F75448ec651712D75
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000059340948a91a1939a8d2519f75448ec651712d75
Swarm Source
bzzr://2ee12550b574bf1b8b0860b10251523fc026af09e443e72959c3901fe5a59889
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.