ERC-20
Overview
Max Total Supply
5,000 KJC
Holders
40
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KimContract
Compiler Version
v0.4.20+commit.3155dd80
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-02-15 */ pragma solidity ^0.4.18; contract KimAccessControl { // The addresses of the accounts (or contracts) that can execute actions within each roles. address public ceoAddress; address public cfoAddress; address public cooAddress; /// @dev Access modifier for CEO-only functionality modifier onlyCEO() { require(msg.sender == ceoAddress); _; } /// @dev Access modifier for CFO-only functionality modifier onlyCFO() { require(msg.sender == cfoAddress); _; } /// @dev Access modifier for COO-only functionality modifier onlyCOO() { require(msg.sender == cooAddress); _; } /// @dev Assigns a new address to act as the CEO. Only available to the current CEO. /// @param _newCEO The address of the new CEO function setCEO(address _newCEO) external onlyCEO { require(_newCEO != address(0)); ceoAddress = _newCEO; } /// @dev Assigns a new address to act as the CFO. Only available to the current CEO. /// @param _newCFO The address of the new CFO function setCFO(address _newCFO) external onlyCEO { require(_newCFO != address(0)); cfoAddress = _newCFO; } /// @dev Assigns a new address to act as the COO. Only available to the current CEO. /// @param _newCOO The address of the new COO function setCOO(address _newCOO) external onlyCEO { require(_newCOO != address(0)); cooAddress = _newCOO; } } contract KimContract is KimAccessControl{ // DECLARING BASIC VARIABLES, TOKEN SYMBOLS, AND CONSTANTS // Public variables of the token string public name; string public symbol; // total supply of kims ever to be in circulation uint256 public totalSupply; // Total Kims "released" into the market uint256 public kimsCreated; // Total Kims on sale at any given time uint256 public kimsOnAuction; // This is the cut each seller will take on the sale of a KIM uint256 public sellerCut; // A variable to house mathematic function used in _computeCut function uint constant feeDivisor = 100; // Map an owners address to the total amount of KIMS that they own mapping (address => uint256) public balanceOf; // Map the KIM to the owner, "Who owns this Kim?" mapping (uint => address) public tokenToOwner; // This creates a mapping of the tokenId to an Auction mapping (uint256 => TokenAuction) public tokenAuction; // How much ether does this wallet have to withdraw? mapping (address => uint) public pendingWithdrawals; // This generates a public event on the blockchain that will notify clients event Transfer(address indexed from, address indexed to, uint256 value); event TokenAuctionCreated(uint256 tokenIndex, address seller, uint256 sellPrice); event TokenAuctionCompleted(uint256 tokenIndex, address seller, address buyer, uint256 sellPrice); event Withdrawal(address to, uint256 amount); /* Initializes contract with initial supply tokens to the creator of the contract */ function KimContract() public { // the creator of the contract is the initial CEO ceoAddress = msg.sender; // the creator of the contract is also the initial COO cooAddress = msg.sender; // Initiate the contract with inital supply of Kims totalSupply = 5000; // Give all initial kims to the contract itself balanceOf[this] = totalSupply; // Give the creator all initial tokens // This is what we will call KIMs name = "KimJongCrypto"; symbol = "KJC"; // Declaring seller cut on initalization of the contract sellerCut = 95; } // contstruct the array struct struct TokenAuction { bool isForSale; uint256 tokenIndex; address seller; uint256 sellPrice; uint256 startedAt; } // Only the COO can release new KIMS into the market // We do not have power over the MAXIMUM amount of KIMS that will exist in the future // That was declared when we created the contract // KIMJONGCRYPTO.COM will release KIMS periodically to maintain a healthy market flow function releaseSomeKims(uint256 howMany) external onlyCOO { // We promise not to manipulate the markets, so we take an // average of all the KIMS on sale at any given time uint256 marketAverage = averageKimSalePrice(); for(uint256 counter = 0; counter < howMany; counter++) { // map the token to the tokenOwner tokenToOwner[counter] = this; // Put the KIM out on the market for sale _tokenAuction(kimsCreated, this, marketAverage); // Record the amount of KIMS released kimsCreated++; } } // Don't want to keep this KIM? // Sell KIM then... function sellToken(uint256 tokenIndex, uint256 sellPrice) public { // Which KIM are you selling? TokenAuction storage tokenOnAuction = tokenAuction[tokenIndex]; // Who's selling the KIM, stored into seller variable address seller = msg.sender; // Do you own this kim? require(_owns(seller, tokenIndex)); // Is the KIM already on sale? Can't sell twice! require(tokenOnAuction.isForSale == false); // CLEAR! Send that KIM to Auction! _tokenAuction(tokenIndex, seller, sellPrice); } // INTERNAL FUNCTION, USED ONLY FROM WITHIN THE CONTRACT function _tokenAuction(uint256 tokenIndex, address seller, uint256 sellPrice) internal { // Set the Auction Struct to ON SALE tokenAuction[tokenIndex] = TokenAuction(true, tokenIndex, seller, sellPrice, now); // Fire the Auction Created Event, tell the whole wide world! TokenAuctionCreated(tokenIndex, seller, sellPrice); // Increase the amount of KIMS being sold! kimsOnAuction++; } // Like a KIM? // BUY IT! function buyKim(uint256 tokenIndex) public payable { // Store the KIM in question into tokenOnAuction variable TokenAuction storage tokenOnAuction = tokenAuction[tokenIndex]; // How much is this KIM on sale for? uint256 sellPrice = tokenOnAuction.sellPrice; // Is the KIM even on sale? No monkey business! require(tokenOnAuction.isForSale == true); // You are going to have to pay for this KIM! make sure you send enough ether! require(msg.value >= sellPrice); // Who's selling their KIM? address seller = tokenOnAuction.seller; // Who's trying to buy this KIM? address buyer = msg.sender; // CLEAR! // Complete the auction! And transfer the KIM! _completeAuction(tokenIndex, seller, buyer, sellPrice); } // INTERNAL FUNCTION, USED ONLY FROM WITHIN THE CONTRACT function _completeAuction(uint256 tokenIndex, address seller, address buyer, uint256 sellPrice) internal { // Store the contract address address thisContract = this; // How much commision will the Auction House take? uint256 auctioneerCut = _computeCut(sellPrice); // How much will the seller take home? uint256 sellerProceeds = sellPrice - auctioneerCut; // If the KIM is being sold by the Auction House, then do this... if (seller == thisContract) { // Give the funds to the House pendingWithdrawals[seller] += sellerProceeds + auctioneerCut; // Close the Auction tokenAuction[tokenIndex] = TokenAuction(false, tokenIndex, 0, 0, 0); // Anounce it to the world! TokenAuctionCompleted(tokenIndex, seller, buyer, sellPrice); } else { // If the KIM is being sold by an Individual, then do this... // Give the funds to the seller pendingWithdrawals[seller] += sellerProceeds; // Give the funds to the House pendingWithdrawals[this] += auctioneerCut; // Close the Auction tokenAuction[tokenIndex] = TokenAuction(false, tokenIndex, 0, 0, 0); // Anounce it to the world! TokenAuctionCompleted(tokenIndex, seller, buyer, sellPrice); } _transfer(seller, buyer, tokenIndex); kimsOnAuction--; } // Don't want to sell KIM anymore? // Cancel Auction function cancelKimAuction(uint kimIndex) public { require(_owns(msg.sender, kimIndex)); // Store the KIM in question into tokenOnAuction variable TokenAuction storage tokenOnAuction = tokenAuction[kimIndex]; // Is the KIM even on sale? No monkey business! require(tokenOnAuction.isForSale == true); // Close the Auction tokenAuction[kimIndex] = TokenAuction(false, kimIndex, 0, 0, 0); } // INTERNAL FUNCTION, USED ONLY FROM WITHIN THE CONTRACT // Use this function to find out how much the AuctionHouse will take from this Transaction // All funds go to KIMJONGCRYPTO BCD(BLOCKCHAIN DEVS)! function _computeCut(uint256 sellPrice) internal view returns (uint) { return sellPrice * sellerCut / 1000; } // INTERNAL FUNCTION, USED ONLY FROM WITHIN THE CONTRACT function _transfer(address _from, address _to, uint _value) internal { // Prevent transfer to 0x0 address. Use burn() instead require(_to != 0x0); // Subtract from the sender balanceOf[_from]--; // Add to the reciever balanceOf[_to]++; // map the token to the tokenOwner tokenToOwner[_value] = _to; Transfer(_from, _to, 1); } /** * Transfer tokens * * Send `_value` tokens to `_to` from your account * * @param _to The address of the recipient * @param _value the amount to send */ // Go ahead and give away a KIM as a gift! function transfer(address _to, uint256 _value) public { require(_owns(msg.sender, _value)); _transfer(msg.sender, _to, _value); } // this function returns bool of owenrship over the token. function _owns(address _claimant, uint256 _tokenId) internal view returns (bool) { return tokenToOwner[_tokenId] == _claimant; } // How much are KIMS really going for now a days? // Run this function and find out! function averageKimSalePrice() public view returns (uint256) { uint256 sumOfAllKimAuctions = 0; if (kimsOnAuction == 0){ return 0; } else { for (uint256 i = 0; i <= kimsOnAuction; i++) { sumOfAllKimAuctions += tokenAuction[i].sellPrice; } return sumOfAllKimAuctions / kimsOnAuction; } } // this function serves for users to withdraw their ethereum function withdraw() { uint amount = pendingWithdrawals[msg.sender]; require(amount > 0); // Remember to zero the pending refund before // sending to prevent re-entrancy attacks pendingWithdrawals[msg.sender] = 0; msg.sender.transfer(amount); Withdrawal(msg.sender, amount); } // @dev Allows the CFO to capture the balance available to the contract. function withdrawBalance() external onlyCFO { uint balance = pendingWithdrawals[this]; pendingWithdrawals[this] = 0; cfoAddress.transfer(balance); Withdrawal(cfoAddress, balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"cfoAddress","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":true,"inputs":[],"name":"ceoAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokenIndex","type":"uint256"},{"name":"sellPrice","type":"uint256"}],"name":"sellToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"kimsCreated","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newCEO","type":"address"}],"name":"setCEO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newCOO","type":"address"}],"name":"setCOO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"howMany","type":"uint256"}],"name":"releaseSomeKims","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newCFO","type":"address"}],"name":"setCFO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"kimIndex","type":"uint256"}],"name":"cancelKimAuction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"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":"tokenIndex","type":"uint256"}],"name":"buyKim","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"kimsOnAuction","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"averageKimSalePrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cooAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sellerCut","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenToOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenAuction","outputs":[{"name":"isForSale","type":"bool"},{"name":"tokenIndex","type":"uint256"},{"name":"seller","type":"address"},{"name":"sellPrice","type":"uint256"},{"name":"startedAt","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"pendingWithdrawals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenIndex","type":"uint256"},{"indexed":false,"name":"seller","type":"address"},{"indexed":false,"name":"sellPrice","type":"uint256"}],"name":"TokenAuctionCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenIndex","type":"uint256"},{"indexed":false,"name":"seller","type":"address"},{"indexed":false,"name":"buyer","type":"address"},{"indexed":false,"name":"sellPrice","type":"uint256"}],"name":"TokenAuctionCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Withdrawal","type":"event"}]
Contract Creation Code
606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611388600581905550600554600960003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506040805190810160405280600d81526020017f4b696d4a6f6e6743727970746f00000000000000000000000000000000000000815250600390805190602001906200012d9291906200018a565b506040805190810160405280600381526020017f4b4a430000000000000000000000000000000000000000000000000000000000815250600490805190602001906200017b9291906200018a565b50605f60088190555062000239565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001cd57805160ff1916838001178555620001fe565b82800160010185558215620001fe579182015b82811115620001fd578251825591602001919060010190620001e0565b5b5090506200020d919062000211565b5090565b6200023691905b808211156200023257600081600090555060010162000218565b5090565b90565b611b3e80620002496000396000f30060606040526004361061013e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630519ce791461014357806306fdde03146101985780630a0f81681461022657806318160ddd1461027b5780631897bcf3146102a45780631ac58dd5146102d057806327d7874c146102f95780632ba73c1514610332578063316416291461036b5780633ccfd60b1461038e5780634e0a3379146103a35780635fd8c710146103dc578063674ebb3e146103f157806370a082311461041457806395d89b4114610461578063987e565d146104ef578063a9059cbb14610507578063ab630fc414610549578063adcde05f14610572578063b047fb501461059b578063bba33ace146105f0578063cc0b2c9f14610619578063ed111e1c1461067c578063f3f43703146106ff575b600080fd5b341561014e57600080fd5b61015661074c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156101a357600080fd5b6101ab610772565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101eb5780820151818401526020810190506101d0565b50505050905090810190601f1680156102185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023157600080fd5b610239610810565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561028657600080fd5b61028e610835565b6040518082815260200191505060405180910390f35b34156102af57600080fd5b6102ce600480803590602001909190803590602001909190505061083b565b005b34156102db57600080fd5b6102e36108a0565b6040518082815260200191505060405180910390f35b341561030457600080fd5b610330600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108a6565b005b341561033d57600080fd5b610369600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610980565b005b341561037657600080fd5b61038c6004808035906020019091905050610a5b565b005b341561039957600080fd5b6103a1610b54565b005b34156103ae57600080fd5b6103da600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c9a565b005b34156103e757600080fd5b6103ef610d75565b005b34156103fc57600080fd5b6104126004808035906020019091905050610f4c565b005b341561041f57600080fd5b61044b600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061107f565b6040518082815260200191505060405180910390f35b341561046c57600080fd5b610474611097565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104b4578082015181840152602081019050610499565b50505050905090810190601f1680156104e15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6105056004808035906020019091905050611135565b005b341561051257600080fd5b610547600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506111c7565b005b341561055457600080fd5b61055c6111eb565b6040518082815260200191505060405180910390f35b341561057d57600080fd5b6105856111f1565b6040518082815260200191505060405180910390f35b34156105a657600080fd5b6105ae61125b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105fb57600080fd5b610603611281565b6040518082815260200191505060405180910390f35b341561062457600080fd5b61063a6004808035906020019091905050611287565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561068757600080fd5b61069d60048080359060200190919050506112ba565b60405180861515151581526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019550505050505060405180910390f35b341561070a57600080fd5b610736600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061131d565b6040518082815260200191505060405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108085780601f106107dd57610100808354040283529160200191610808565b820191906000526020600020905b8154815290600101906020018083116107eb57829003601f168201915b505050505081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b600080600b600085815260200190815260200160002091503390506108608185611335565b151561086b57600080fd5b600015158260000160009054906101000a900460ff16151514151561088f57600080fd5b61089a8482856113a1565b50505050565b60065481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561090157600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561093d57600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109db57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610a1757600080fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610aba57600080fd5b610ac26111f1565b9150600090505b82811015610b4f5730600a600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610b3060065430846113a1565b6006600081548092919060010191905055508080600101915050610ac9565b505050565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081111515610ba757600080fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610c2c57600080fd5b7f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b653382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610cf557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610d3157600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610dd357600080fd5b600c60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600c60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610ebc57600080fd5b7f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b6000610f583383611335565b1515610f6357600080fd5b600b60008381526020019081526020016000209050600115158160000160009054906101000a900460ff161515141515610f9c57600080fd5b60a060405190810160405280600015158152602001838152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815250600b600084815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155608082015181600401559050505050565b60096020528060005260406000206000915090505481565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561112d5780601f106111025761010080835404028352916020019161112d565b820191906000526020600020905b81548152906001019060200180831161111057829003601f168201915b505050505081565b600080600080600b6000868152602001908152602001600020935083600301549250600115158460000160009054906101000a900460ff16151514151561117b57600080fd5b82341015151561118a57600080fd5b8360020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691503390506111c085838386611507565b5050505050565b6111d13382611335565b15156111dc57600080fd5b6111e7338383611975565b5050565b60075481565b60008060008091506000600754141561120d5760009250611256565b600090505b6007548111151561124557600b600082815260200190815260200160002060030154820191508080600101915050611212565b6007548281151561125257fe5b0492505b505090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b600a6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030154908060040154905085565b600c6020528060005260406000206000915090505481565b60008273ffffffffffffffffffffffffffffffffffffffff16600a600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60a0604051908101604052806001151581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200142815250600b600085815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155608082015181600401559050507f6a9b515d7b2c8aed5c967841075e2118e476620baa7908bf3fa07dee9fac9cec838383604051808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a1600760008154809291906001019190505550505050565b600080600030925061151884611af7565b915081840390508273ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561172d57818101600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060a060405190810160405280600015158152602001888152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815250600b600089815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155608082015181600401559050507f30cd9ac672c4470393d0f788886e19a03363be76bc45b339b53d6682d73ca1cb87878787604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390a161194e565b80600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600c60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060a060405190810160405280600015158152602001888152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815250600b600089815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155608082015181600401559050507f30cd9ac672c4470393d0f788886e19a03363be76bc45b339b53d6682d73ca1cb87878787604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390a15b611959868689611975565b6007600081548092919060019003919050555050505050505050565b60008273ffffffffffffffffffffffffffffffffffffffff161415151561199b57600080fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600101919050555081600a600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60016040518082815260200191505060405180910390a3505050565b60006103e86008548302811515611b0a57fe5b0490509190505600a165627a7a7230582071b88a1699907102d9ceec59b956ca3ca3ce594fb598dfbf28562d9d8f5c66820029
Deployed Bytecode
0x60606040526004361061013e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630519ce791461014357806306fdde03146101985780630a0f81681461022657806318160ddd1461027b5780631897bcf3146102a45780631ac58dd5146102d057806327d7874c146102f95780632ba73c1514610332578063316416291461036b5780633ccfd60b1461038e5780634e0a3379146103a35780635fd8c710146103dc578063674ebb3e146103f157806370a082311461041457806395d89b4114610461578063987e565d146104ef578063a9059cbb14610507578063ab630fc414610549578063adcde05f14610572578063b047fb501461059b578063bba33ace146105f0578063cc0b2c9f14610619578063ed111e1c1461067c578063f3f43703146106ff575b600080fd5b341561014e57600080fd5b61015661074c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156101a357600080fd5b6101ab610772565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101eb5780820151818401526020810190506101d0565b50505050905090810190601f1680156102185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023157600080fd5b610239610810565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561028657600080fd5b61028e610835565b6040518082815260200191505060405180910390f35b34156102af57600080fd5b6102ce600480803590602001909190803590602001909190505061083b565b005b34156102db57600080fd5b6102e36108a0565b6040518082815260200191505060405180910390f35b341561030457600080fd5b610330600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108a6565b005b341561033d57600080fd5b610369600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610980565b005b341561037657600080fd5b61038c6004808035906020019091905050610a5b565b005b341561039957600080fd5b6103a1610b54565b005b34156103ae57600080fd5b6103da600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c9a565b005b34156103e757600080fd5b6103ef610d75565b005b34156103fc57600080fd5b6104126004808035906020019091905050610f4c565b005b341561041f57600080fd5b61044b600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061107f565b6040518082815260200191505060405180910390f35b341561046c57600080fd5b610474611097565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104b4578082015181840152602081019050610499565b50505050905090810190601f1680156104e15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6105056004808035906020019091905050611135565b005b341561051257600080fd5b610547600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506111c7565b005b341561055457600080fd5b61055c6111eb565b6040518082815260200191505060405180910390f35b341561057d57600080fd5b6105856111f1565b6040518082815260200191505060405180910390f35b34156105a657600080fd5b6105ae61125b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105fb57600080fd5b610603611281565b6040518082815260200191505060405180910390f35b341561062457600080fd5b61063a6004808035906020019091905050611287565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561068757600080fd5b61069d60048080359060200190919050506112ba565b60405180861515151581526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019550505050505060405180910390f35b341561070a57600080fd5b610736600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061131d565b6040518082815260200191505060405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108085780601f106107dd57610100808354040283529160200191610808565b820191906000526020600020905b8154815290600101906020018083116107eb57829003601f168201915b505050505081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b600080600b600085815260200190815260200160002091503390506108608185611335565b151561086b57600080fd5b600015158260000160009054906101000a900460ff16151514151561088f57600080fd5b61089a8482856113a1565b50505050565b60065481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561090157600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561093d57600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109db57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610a1757600080fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610aba57600080fd5b610ac26111f1565b9150600090505b82811015610b4f5730600a600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610b3060065430846113a1565b6006600081548092919060010191905055508080600101915050610ac9565b505050565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081111515610ba757600080fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610c2c57600080fd5b7f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b653382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610cf557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610d3157600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610dd357600080fd5b600c60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600c60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610ebc57600080fd5b7f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b6000610f583383611335565b1515610f6357600080fd5b600b60008381526020019081526020016000209050600115158160000160009054906101000a900460ff161515141515610f9c57600080fd5b60a060405190810160405280600015158152602001838152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815250600b600084815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155608082015181600401559050505050565b60096020528060005260406000206000915090505481565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561112d5780601f106111025761010080835404028352916020019161112d565b820191906000526020600020905b81548152906001019060200180831161111057829003601f168201915b505050505081565b600080600080600b6000868152602001908152602001600020935083600301549250600115158460000160009054906101000a900460ff16151514151561117b57600080fd5b82341015151561118a57600080fd5b8360020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691503390506111c085838386611507565b5050505050565b6111d13382611335565b15156111dc57600080fd5b6111e7338383611975565b5050565b60075481565b60008060008091506000600754141561120d5760009250611256565b600090505b6007548111151561124557600b600082815260200190815260200160002060030154820191508080600101915050611212565b6007548281151561125257fe5b0492505b505090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b600a6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030154908060040154905085565b600c6020528060005260406000206000915090505481565b60008273ffffffffffffffffffffffffffffffffffffffff16600a600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60a0604051908101604052806001151581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200142815250600b600085815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155608082015181600401559050507f6a9b515d7b2c8aed5c967841075e2118e476620baa7908bf3fa07dee9fac9cec838383604051808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a1600760008154809291906001019190505550505050565b600080600030925061151884611af7565b915081840390508273ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561172d57818101600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060a060405190810160405280600015158152602001888152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815250600b600089815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155608082015181600401559050507f30cd9ac672c4470393d0f788886e19a03363be76bc45b339b53d6682d73ca1cb87878787604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390a161194e565b80600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600c60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060a060405190810160405280600015158152602001888152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815250600b600089815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155608082015181600401559050507f30cd9ac672c4470393d0f788886e19a03363be76bc45b339b53d6682d73ca1cb87878787604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390a15b611959868689611975565b6007600081548092919060019003919050555050505050505050565b60008273ffffffffffffffffffffffffffffffffffffffff161415151561199b57600080fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600101919050555081600a600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60016040518082815260200191505060405180910390a3505050565b60006103e86008548302811515611b0a57fe5b0490509190505600a165627a7a7230582071b88a1699907102d9ceec59b956ca3ca3ce594fb598dfbf28562d9d8f5c66820029
Swarm Source
bzzr://71b88a1699907102d9ceec59b956ca3ca3ce594fb598dfbf28562d9d8f5c6682
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.