Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 785 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw Rent | 22227698 | 301 days ago | IN | 0 ETH | 0.00002709 | ||||
| Update Payout | 22227694 | 301 days ago | IN | 0 ETH | 0.00014829 | ||||
| Purchase Country | 6896634 | 2607 days ago | IN | 0 ETH | 0.002 | ||||
| Withdraw Rent | 6749711 | 2631 days ago | IN | 0 ETH | 0.00025408 | ||||
| Withdraw Rent | 6698367 | 2639 days ago | IN | 0 ETH | 0.00016939 | ||||
| Purchase Country | 6658342 | 2646 days ago | IN | 0.04665403 ETH | 0.00090065 | ||||
| Purchase Country | 6655617 | 2646 days ago | IN | 0 ETH | 0.0028 | ||||
| Purchase Country | 6655594 | 2646 days ago | IN | 0 ETH | 0.002 | ||||
| Withdraw Rent | 5339069 | 2869 days ago | IN | 0 ETH | 0.00009809 | ||||
| Withdraw Rent | 5304175 | 2875 days ago | IN | 0 ETH | 0.00006985 | ||||
| Withdraw Rent | 5297132 | 2876 days ago | IN | 0 ETH | 0.00003 | ||||
| Withdraw Rent | 5273323 | 2880 days ago | IN | 0 ETH | 0.00009207 | ||||
| Withdraw Rent | 5273321 | 2880 days ago | IN | 0 ETH | 0.00004636 | ||||
| Withdraw Rent | 5273321 | 2880 days ago | IN | 0 ETH | 0.00004636 | ||||
| Withdraw Rent | 5272887 | 2880 days ago | IN | 0 ETH | 0.00018259 | ||||
| Withdraw Rent | 5258935 | 2883 days ago | IN | 0 ETH | 0.00024524 | ||||
| Withdraw Rent | 5232933 | 2887 days ago | IN | 0 ETH | 0.00012265 | ||||
| Purchase Country | 5231105 | 2887 days ago | IN | 0 ETH | 0.002 | ||||
| Withdraw Rent | 5219632 | 2889 days ago | IN | 0 ETH | 0.00015147 | ||||
| Withdraw Rent | 5204639 | 2892 days ago | IN | 0 ETH | 0.00019619 | ||||
| Withdraw Rent | 5198949 | 2893 days ago | IN | 0 ETH | 0.00013619 | ||||
| Withdraw Rent | 5198773 | 2893 days ago | IN | 0 ETH | 0.00028433 | ||||
| Withdraw Rent | 5197593 | 2893 days ago | IN | 0 ETH | 0.00019619 | ||||
| Withdraw Rent | 5197412 | 2893 days ago | IN | 0 ETH | 0.00006809 | ||||
| Withdraw Rent | 5197410 | 2893 days ago | IN | 0 ETH | 0.0001115 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 23656367 | 101 days ago | 0.00225377 ETH | ||||
| Transfer | 6658342 | 2646 days ago | 0.04280507 ETH | ||||
| Transfer | 5339069 | 2869 days ago | 0.00307444 ETH | ||||
| Transfer | 5304175 | 2875 days ago | 0.00614888 ETH | ||||
| Transfer | 5297132 | 2876 days ago | 0.00148804 ETH | ||||
| Transfer | 5273323 | 2880 days ago | 0.07101276 ETH | ||||
| Transfer | 5273321 | 2880 days ago | 0.03415831 ETH | ||||
| Transfer | 5273321 | 2880 days ago | 0.01934279 ETH | ||||
| Transfer | 5272887 | 2880 days ago | 0.00341266 ETH | ||||
| Transfer | 5258935 | 2883 days ago | 0.00211817 ETH | ||||
| Transfer | 5232933 | 2887 days ago | 0.00153722 ETH | ||||
| Transfer | 5219632 | 2889 days ago | 0.00513454 ETH | ||||
| Transfer | 5204639 | 2892 days ago | 0.0076861 ETH | ||||
| Transfer | 5198949 | 2893 days ago | 0.00922332 ETH | ||||
| Transfer | 5198773 | 2893 days ago | 0.00238827 ETH | ||||
| Transfer | 5197593 | 2893 days ago | 0.00269013 ETH | ||||
| Transfer | 5197412 | 2893 days ago | 0.00317593 ETH | ||||
| Transfer | 5197410 | 2893 days ago | 0.01076054 ETH | ||||
| Transfer | 5197322 | 2893 days ago | 0.01229776 ETH | ||||
| Transfer | 5197305 | 2893 days ago | 0.03535607 ETH | ||||
| Transfer | 5197302 | 2893 days ago | 0.75887111 ETH | ||||
| Transfer | 5197248 | 2893 days ago | 0.00606644 ETH | ||||
| Transfer | 5197244 | 2893 days ago | 1.09462505 ETH | ||||
| Transfer | 5197244 | 2893 days ago | 0.00475121 ETH | ||||
| Transfer | 5197230 | 2893 days ago | 0.0203324 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
CountryToken
Compiler Version
v0.4.19+commit.c4cbbb05
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2018-02-25
*/
pragma solidity ^0.4.18;
/**
* @title ERC721 interface
* @dev see https://github.com/ethereum/eips/issues/721
*/
contract ERC721 {
event Transfer(address indexed _from, address indexed _to, uint256 _tokenId);
event Approval(address indexed _owner, address indexed _approved, uint256 _tokenId);
function balanceOf(address _owner) public view returns (uint256 _balance);
function ownerOf(uint256 _tokenId) public view returns (address _owner);
function transfer(address _to, uint256 _tokenId) public;
function approve(address _to, uint256 _tokenId) public;
function takeOwnership(uint256 _tokenId) public;
}
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
*/
function Ownable() public {
owner = msg.sender;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
/**
* @dev Allows the current owner to transfer control of the contract to a newOwner.
* @param newOwner The address to transfer ownership to.
*/
function transferOwnership(address newOwner) onlyOwner public {
require(newOwner != address(0));
OwnershipTransferred(owner, newOwner);
owner = newOwner;
}
}
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal constant returns (uint256) {
// assert(b > 0); // Solidity automatically throws when dividing by 0
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
function sub(uint256 a, uint256 b) internal constant returns (uint256) {
assert(b <= a);
return a - b;
}
function add(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
}
/**
* @title ERC721Token
* Generic implementation for the required functionality of the ERC721 standard
*/
contract CountryToken is ERC721, Ownable {
using SafeMath for uint256;
// Total amount of tokens
uint256 private totalTokens;
uint256[] private listedCountries;
uint256 public devOwed;
uint256 public poolTotal;
uint256 public lastPurchase;
// Country Data
mapping (uint256 => Country) public countryData;
// Mapping from token ID to owner
mapping (uint256 => address) private tokenOwner;
// Mapping from token ID to approved address
mapping (uint256 => address) private tokenApprovals;
// Mapping from owner to list of owned token IDs
mapping (address => uint256[]) private ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private ownedTokensIndex;
// Balances from % payouts.
mapping (address => uint256) private payoutBalances;
// Events
event CountryPurchased(uint256 indexed _tokenId, address indexed _owner, uint256 _purchasePrice);
// Purchasing Caps for Determining Next Pool Cut
uint256 private firstCap = 0.5 ether;
uint256 private secondCap = 1.0 ether;
uint256 private thirdCap = 3.0 ether;
uint256 private finalCap = 5.0 ether;
// Struct to store Country Data
struct Country {
uint256 startingPrice; // Price the item started at.
uint256 price; // Current price of the item.
uint256 lastPrice; // lastPrice this was sold for, used for adding to pool.
uint256 payout; // The percent of the pool rewarded.
uint256 withdrawn; // The amount of Eth this country has withdrawn from the pool.
address owner; // Current owner of the item.
}
/**
* @dev createListing Adds new ERC721 Token
* @param _tokenId uint256 ID of new token
* @param _startingPrice uint256 starting price in wei
* @param _payoutPercentage uint256 payout percentage (divisible by 10)
* @param _owner address of new owner
*/
function createListing(uint256 _tokenId, uint256 _startingPrice, uint256 _payoutPercentage, address _owner) onlyOwner() public {
// make sure price > 0
require(_startingPrice > 0);
// make sure token hasn't been used yet
require(countryData[_tokenId].price == 0);
// create new token
Country storage newCountry = countryData[_tokenId];
newCountry.owner = _owner;
newCountry.price = getNextPrice(_startingPrice);
newCountry.lastPrice = _startingPrice;
newCountry.payout = _payoutPercentage;
newCountry.startingPrice = _startingPrice;
// store country in storage
listedCountries.push(_tokenId);
// mint new token
_mint(_owner, _tokenId);
}
function createMultiple (uint256[] _itemIds, uint256[] _prices, uint256[] _payouts, address[] _owners) onlyOwner() external {
for (uint256 i = 0; i < _itemIds.length; i++) {
createListing(_itemIds[i], _prices[i], _payouts[i], _owners[i]);
}
}
/**
* @dev Determines next price of token
* @param _price uint256 ID of current price
*/
function getNextPrice (uint256 _price) private view returns (uint256 _nextPrice) {
if (_price < firstCap) {
return _price.mul(200).div(95);
} else if (_price < secondCap) {
return _price.mul(135).div(96);
} else if (_price < thirdCap) {
return _price.mul(125).div(97);
} else if (_price < finalCap) {
return _price.mul(117).div(97);
} else {
return _price.mul(115).div(98);
}
}
function calculatePoolCut (uint256 _price) public view returns (uint256 _poolCut) {
if (_price < firstCap) {
return _price.mul(10).div(100); // 5%
} else if (_price < secondCap) {
return _price.mul(9).div(100); // 4%
} else if (_price < thirdCap) {
return _price.mul(8).div(100); // 3%
} else if (_price < finalCap) {
return _price.mul(7).div(100); // 3%
} else {
return _price.mul(5).div(100); // 2%
}
}
/**
* @dev Purchase country from previous owner
* @param _tokenId uint256 of token
*/
function purchaseCountry(uint256 _tokenId) public
payable
isNotContract(msg.sender)
{
// get data from storage
Country storage country = countryData[_tokenId];
uint256 price = country.price;
address oldOwner = country.owner;
address newOwner = msg.sender;
uint256 excess = msg.value.sub(price);
// revert checks
require(price > 0);
require(msg.value >= price);
require(oldOwner != msg.sender);
// Calculate pool cut for taxes.
uint256 profit = price.sub(country.lastPrice);
uint256 poolCut = calculatePoolCut(profit);
poolTotal += poolCut;
// 3% goes to developers
uint256 devCut = price.mul(3).div(100);
devOwed = devOwed.add(devCut);
transferCountry(oldOwner, newOwner, _tokenId);
// set new prices
country.lastPrice = price;
country.price = getNextPrice(price);
// raise event
CountryPurchased(_tokenId, newOwner, price);
// Transfer payment to old owner minus the developer's and pool's cut.
oldOwner.transfer(price.sub(devCut.add(poolCut)));
// Send refund to owner if needed
if (excess > 0) {
newOwner.transfer(excess);
}
// set last purchase price to storage
lastPurchase = now;
}
/**
* @dev Transfer Country from Previous Owner to New Owner
* @param _from previous owner address
* @param _to new owner address
* @param _tokenId uint256 ID of token
*/
function transferCountry(address _from, address _to, uint256 _tokenId) internal {
// check token exists
require(tokenExists(_tokenId));
// make sure previous owner is correct
require(countryData[_tokenId].owner == _from);
require(_to != address(0));
require(_to != address(this));
// pay any unpaid payouts to previous owner of country
updateSinglePayout(_from, _tokenId);
// clear approvals linked to this token
clearApproval(_from, _tokenId);
// remove token from previous owner
removeToken(_from, _tokenId);
// update owner and add token to new owner
countryData[_tokenId].owner = _to;
addToken(_to, _tokenId);
//raise event
Transfer(_from, _to, _tokenId);
}
/**
* @dev Withdraw dev's cut
*/
function withdraw() onlyOwner public {
owner.transfer(devOwed);
devOwed = 0;
}
/**
* @dev Updates the payout for the countrys the owner has
* @param _owner address of token owner
*/
function updatePayout(address _owner) public {
uint256[] memory countrys = ownedTokens[_owner];
uint256 owed;
for (uint256 i = 0; i < countrys.length; i++) {
uint256 totalCountryOwed = poolTotal * countryData[countrys[i]].payout / 10000;
uint256 countryOwed = totalCountryOwed.sub(countryData[countrys[i]].withdrawn);
owed += countryOwed;
countryData[countrys[i]].withdrawn += countryOwed;
}
payoutBalances[_owner] += owed;
}
/**
* @dev Update a single country payout for transfers.
* @param _owner Address of the owner of the country.
* @param _itemId Unique Id of the token.
**/
function updateSinglePayout(address _owner, uint256 _itemId) internal {
uint256 totalCountryOwed = poolTotal * countryData[_itemId].payout / 10000;
uint256 countryOwed = totalCountryOwed.sub(countryData[_itemId].withdrawn);
countryData[_itemId].withdrawn += countryOwed;
payoutBalances[_owner] += countryOwed;
}
/**
* @dev Owner can withdraw their accumulated payouts
* @param _owner address of token owner
*/
function withdrawRent(address _owner) public {
updatePayout(_owner);
uint256 payout = payoutBalances[_owner];
payoutBalances[_owner] = 0;
_owner.transfer(payout);
}
function getRentOwed(address _owner) public view returns (uint256 owed) {
updatePayout(_owner);
return payoutBalances[_owner];
}
/**
* @dev Return all country data
* @param _tokenId uint256 of token
*/
function getCountryData (uint256 _tokenId) external view
returns (address _owner, uint256 _startingPrice, uint256 _price, uint256 _nextPrice, uint256 _payout)
{
Country memory country = countryData[_tokenId];
return (country.owner, country.startingPrice, country.price, getNextPrice(country.price), country.payout);
}
/**
* @dev Determines if token exists by checking it's price
* @param _tokenId uint256 ID of token
*/
function tokenExists (uint256 _tokenId) public view returns (bool _exists) {
return countryData[_tokenId].price > 0;
}
/**
* @dev Guarantees msg.sender is owner of the given token
* @param _tokenId uint256 ID of the token to validate its ownership belongs to msg.sender
*/
modifier onlyOwnerOf(uint256 _tokenId) {
require(ownerOf(_tokenId) == msg.sender);
_;
}
/**
* @dev Guarantees msg.sender is not a contract
* @param _buyer address of person buying country
*/
modifier isNotContract(address _buyer) {
uint size;
assembly { size := extcodesize(_buyer) }
require(size == 0);
_;
}
/**
* @dev Gets the total amount of tokens stored by the contract
* @return uint256 representing the total amount of tokens
*/
function totalSupply() public view returns (uint256) {
return totalTokens;
}
/**
* @dev Gets the balance of the specified address
* @param _owner address to query the balance of
* @return uint256 representing the amount owned by the passed address
*/
function balanceOf(address _owner) public view returns (uint256) {
return ownedTokens[_owner].length;
}
/**
* @dev Gets the list of tokens owned by a given address
* @param _owner address to query the tokens of
* @return uint256[] representing the list of tokens owned by the passed address
*/
function tokensOf(address _owner) public view returns (uint256[]) {
return ownedTokens[_owner];
}
/**
* @dev Gets the owner of the specified token ID
* @param _tokenId uint256 ID of the token to query the owner of
* @return owner address currently marked as the owner of the given token ID
*/
function ownerOf(uint256 _tokenId) public view returns (address) {
address owner = tokenOwner[_tokenId];
require(owner != address(0));
return owner;
}
/**
* @dev Gets the approved address to take ownership of a given token ID
* @param _tokenId uint256 ID of the token to query the approval of
* @return address currently approved to take ownership of the given token ID
*/
function approvedFor(uint256 _tokenId) public view returns (address) {
return tokenApprovals[_tokenId];
}
/**
* @dev Transfers the ownership of a given token ID to another address
* @param _to address to receive the ownership of the given token ID
* @param _tokenId uint256 ID of the token to be transferred
*/
function transfer(address _to, uint256 _tokenId) public onlyOwnerOf(_tokenId) {
clearApprovalAndTransfer(msg.sender, _to, _tokenId);
}
/**
* @dev Approves another address to claim for the ownership of the given token ID
* @param _to address to be approved for the given token ID
* @param _tokenId uint256 ID of the token to be approved
*/
function approve(address _to, uint256 _tokenId) public onlyOwnerOf(_tokenId) {
address owner = ownerOf(_tokenId);
require(_to != owner);
if (approvedFor(_tokenId) != 0 || _to != 0) {
tokenApprovals[_tokenId] = _to;
Approval(owner, _to, _tokenId);
}
}
/**
* @dev Claims the ownership of a given token ID
* @param _tokenId uint256 ID of the token being claimed by the msg.sender
*/
function takeOwnership(uint256 _tokenId) public {
require(isApprovedFor(msg.sender, _tokenId));
clearApprovalAndTransfer(ownerOf(_tokenId), msg.sender, _tokenId);
}
/**
* @dev Tells whether the msg.sender is approved for the given token ID or not
* This function is not private so it can be extended in further implementations like the operatable ERC721
* @param _owner address of the owner to query the approval of
* @param _tokenId uint256 ID of the token to query the approval of
* @return bool whether the msg.sender is approved for the given token ID or not
*/
function isApprovedFor(address _owner, uint256 _tokenId) internal view returns (bool) {
return approvedFor(_tokenId) == _owner;
}
/**
* @dev Internal function to clear current approval and transfer the ownership of a given token ID
* @param _from address which you want to send tokens from
* @param _to address which you want to transfer the token to
* @param _tokenId uint256 ID of the token to be transferred
*/
function clearApprovalAndTransfer(address _from, address _to, uint256 _tokenId) internal isNotContract(_to) {
require(_to != address(0));
require(_to != ownerOf(_tokenId));
require(ownerOf(_tokenId) == _from);
clearApproval(_from, _tokenId);
updateSinglePayout(_from, _tokenId);
removeToken(_from, _tokenId);
addToken(_to, _tokenId);
Transfer(_from, _to, _tokenId);
}
/**
* @dev Internal function to clear current approval of a given token ID
* @param _tokenId uint256 ID of the token to be transferred
*/
function clearApproval(address _owner, uint256 _tokenId) private {
require(ownerOf(_tokenId) == _owner);
tokenApprovals[_tokenId] = 0;
Approval(_owner, 0, _tokenId);
}
/**
* @dev Mint token function
* @param _to The address that will own the minted token
* @param _tokenId uint256 ID of the token to be minted by the msg.sender
*/
function _mint(address _to, uint256 _tokenId) internal {
require(_to != address(0));
addToken(_to, _tokenId);
Transfer(0x0, _to, _tokenId);
}
/**
* @dev Internal function to add a token ID to the list of a given address
* @param _to address representing the new owner of the given token ID
* @param _tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function addToken(address _to, uint256 _tokenId) private {
require(tokenOwner[_tokenId] == address(0));
tokenOwner[_tokenId] = _to;
countryData[_tokenId].owner = _to;
uint256 length = balanceOf(_to);
ownedTokens[_to].push(_tokenId);
ownedTokensIndex[_tokenId] = length;
totalTokens = totalTokens.add(1);
}
/**
* @dev Internal function to remove a token ID from the list of a given address
* @param _from address representing the previous owner of the given token ID
* @param _tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function removeToken(address _from, uint256 _tokenId) private {
require(ownerOf(_tokenId) == _from);
uint256 tokenIndex = ownedTokensIndex[_tokenId];
uint256 lastTokenIndex = balanceOf(_from).sub(1);
uint256 lastToken = ownedTokens[_from][lastTokenIndex];
tokenOwner[_tokenId] = 0;
ownedTokens[_from][tokenIndex] = lastToken;
ownedTokens[_from][lastTokenIndex] = 0;
// Note that this will handle single-element arrays. In that case, both tokenIndex and lastTokenIndex are going to
// be zero. Then we can make sure that we will remove _tokenId from the ownedTokens list since we are first swapping
// the lastToken to the first position, and then dropping the element placed in the last position of the list
ownedTokens[_from].length--;
ownedTokensIndex[_tokenId] = 0;
ownedTokensIndex[lastToken] = tokenIndex;
totalTokens = totalTokens.sub(1);
}
function name() public pure returns (string _name) {
return "EtherCountries.io Country";
}
function symbol() public pure returns (string _symbol) {
return "EC";
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"tokenExists","outputs":[{"name":"_exists","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"getRentOwed","outputs":[{"name":"owed","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"_name","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"purchaseCountry","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"approvedFor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lastPurchase","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_price","type":"uint256"}],"name":"calculatePoolCut","outputs":[{"name":"_poolCut","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"countryData","outputs":[{"name":"startingPrice","type":"uint256"},{"name":"price","type":"uint256"},{"name":"lastPrice","type":"uint256"},{"name":"payout","type":"uint256"},{"name":"withdrawn","type":"uint256"},{"name":"owner","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"tokensOf","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"withdrawRent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"poolTotal","outputs":[{"name":"","type":"uint256"}],"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":"_itemIds","type":"uint256[]"},{"name":"_prices","type":"uint256[]"},{"name":"_payouts","type":"uint256[]"},{"name":"_owners","type":"address[]"}],"name":"createMultiple","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"},{"name":"_startingPrice","type":"uint256"},{"name":"_payoutPercentage","type":"uint256"},{"name":"_owner","type":"address"}],"name":"createListing","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"_symbol","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getCountryData","outputs":[{"name":"_owner","type":"address"},{"name":"_startingPrice","type":"uint256"},{"name":"_price","type":"uint256"},{"name":"_nextPrice","type":"uint256"},{"name":"_payout","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"takeOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"devOwed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"updatePayout","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_tokenId","type":"uint256"},{"indexed":true,"name":"_owner","type":"address"},{"indexed":false,"name":"_purchasePrice","type":"uint256"}],"name":"CountryPurchased","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":"_tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_approved","type":"address"},{"indexed":false,"name":"_tokenId","type":"uint256"}],"name":"Approval","type":"event"}]Contract Creation Code
60606040526706f05b59d3b20000600c55670de0b6b3a7640000600d556729a2241af62c0000600e55674563918244f40000600f5560008054600160a060020a033316600160a060020a031990911617905561178c806100606000396000f3006060604052600436106101525763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041662923f9e811461015757806303dec4631461018157806306fdde03146101b2578063095ea7b31461023c57806318160ddd1461026057806320dfcd27146102735780632a6dd48f1461027e5780633ccfd60b146102b05780634528f3ec146102c35780634ba336e5146102d65780634e6b0158146102ec5780635a3f2672146103435780635a5ebebf146103b55780636352211e146103d4578063704d4db0146103ea57806370a08231146103fd5780637ecaf6961461041c5780638da5cb5b1461045e5780638ebaae081461047157806395d89b4114610499578063a9059cbb146104ac578063acf36037146104ce578063b2e6ceeb1461051f578063bf37b8f114610535578063edcb9e9e14610548578063f2fde38b14610567575b600080fd5b341561016257600080fd5b61016d600435610586565b604051901515815260200160405180910390f35b341561018c57600080fd5b6101a0600160a060020a036004351661059f565b60405190815260200160405180910390f35b34156101bd57600080fd5b6101c56105c6565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102015780820151838201526020016101e9565b50505050905090810190601f16801561022e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561024757600080fd5b61025e600160a060020a0360043516602435610608565b005b341561026b57600080fd5b6101a06106ed565b61025e6004356106f3565b341561028957600080fd5b6102946004356108e4565b604051600160a060020a03909116815260200160405180910390f35b34156102bb57600080fd5b61025e6108ff565b34156102ce57600080fd5b6101a061095a565b34156102e157600080fd5b6101a0600435610960565b34156102f757600080fd5b6103026004356109ff565b604051958652602086019490945260408086019390935260608501919091526080840152600160a060020a0390911660a083015260c0909101905180910390f35b341561034e57600080fd5b610362600160a060020a0360043516610a3d565b60405160208082528190810183818151815260200191508051906020019060200280838360005b838110156103a1578082015183820152602001610389565b505050509050019250505060405180910390f35b34156103c057600080fd5b61025e600160a060020a0360043516610ac0565b34156103df57600080fd5b610294600435610b18565b34156103f557600080fd5b6101a0610b42565b341561040857600080fd5b6101a0600160a060020a0360043516610b48565b341561042757600080fd5b61025e6024600480358281019290820135918135808301929082013591604435808301929082013591606435918201910135610b63565b341561046957600080fd5b610294610c01565b341561047c57600080fd5b61025e600435602435604435600160a060020a0360643516610c10565b34156104a457600080fd5b6101c5610cd5565b34156104b757600080fd5b61025e600160a060020a0360043516602435610d16565b34156104d957600080fd5b6104e4600435610d4d565b604051600160a060020a03909516855260208501939093526040808501929092526060840152608083019190915260a0909101905180910390f35b341561052a57600080fd5b61025e600435610deb565b341561054057600080fd5b6101a0610e16565b341561055357600080fd5b61025e600160a060020a0360043516610e1c565b341561057257600080fd5b61025e600160a060020a0360043516610f99565b600081815260066020526040812060010154115b919050565b60006105aa82610e1c565b50600160a060020a03166000908152600b602052604090205490565b6105ce6116cc565b60408051908101604052601981527f4574686572436f756e74726965732e696f20436f756e74727900000000000000602082015290505b90565b60008133600160a060020a031661061e82610b18565b600160a060020a03161461063157600080fd5b61063a83610b18565b9150600160a060020a03848116908316141561065557600080fd5b61065e836108e4565b600160a060020a031615158061067c5750600160a060020a03841615155b156106e757600083815260086020526040908190208054600160a060020a031916600160a060020a0387811691821790925591908416907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259086905190815260200160405180910390a35b50505050565b60015490565b60008080808080808033803b801561070a57600080fd5b60008b815260066020526040902060018101546005820154919b509950600160a060020a03169750339650610745348a63ffffffff61102716565b95506000891161075457600080fd5b348990101561076257600080fd5b33600160a060020a031688600160a060020a03161415151561078357600080fd5b60028a0154610799908a9063ffffffff61102716565b94506107a485610960565b600480548201905593506107d060646107c48b600363ffffffff61103916565b9063ffffffff61106416565b6003549093506107e6908463ffffffff61107b16565b6003556107f488888d61108a565b60028a018990556108048961119b565b60018b0155600160a060020a0387168b7f92885e862859e3e4b54e5d2aaa970b3948196f02f9b73eb282205aaea561b7a48b60405190815260200160405180910390a3600160a060020a0388166108fc610874610867868863ffffffff61107b16565b8c9063ffffffff61102716565b9081150290604051600060405180830381858888f19350505050151561089957600080fd5b60008611156108d357600160a060020a03871686156108fc0287604051600060405180830381858888f1935050505015156108d357600080fd5b505042600555505050505050505050565b600090815260086020526040902054600160a060020a031690565b60005433600160a060020a0390811691161461091a57600080fd5b600054600354600160a060020a039091169080156108fc0290604051600060405180830381858888f19350505050151561095357600080fd5b6000600355565b60055481565b6000600c548210156109895761098260646107c484600a63ffffffff61103916565b905061059a565b600d548210156109a95761098260646107c484600963ffffffff61103916565b600e548210156109c95761098260646107c484600863ffffffff61103916565b600f548210156109e95761098260646107c484600763ffffffff61103916565b61098260646107c484600563ffffffff61103916565b6006602052600090815260409020805460018201546002830154600384015460048501546005909501549394929391929091600160a060020a031686565b610a456116cc565b6009600083600160a060020a0316600160a060020a03168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610ab457602002820191906000526020600020905b815481526020019060010190808311610aa0575b50505050509050919050565b6000610acb82610e1c565b50600160a060020a0381166000818152600b6020526040808220805492905590919082156108fc0290839051600060405180830381858888f193505050501515610b1457600080fd5b5050565b600081815260076020526040812054600160a060020a0316801515610b3c57600080fd5b92915050565b60045481565b600160a060020a031660009081526009602052604090205490565b6000805433600160a060020a03908116911614610b7f57600080fd5b5060005b87811015610bf657610bee898983818110610b9a57fe5b905060200201358888848181101515610baf57fe5b905060200201358787858181101515610bc457fe5b905060200201358686868181101515610bd957fe5b90506020020135600160a060020a0316610c10565b600101610b83565b505050505050505050565b600054600160a060020a031681565b6000805433600160a060020a03908116911614610c2c57600080fd5b60008411610c3957600080fd5b60008581526006602052604090206001015415610c5557600080fd5b506000848152600660205260409020600581018054600160a060020a031916600160a060020a038416179055610c8a8461119b565b600180830191909155600280830186905560038301859055858355805490918101610cb583826116de565b506000918252602090912001859055610cce8286611233565b5050505050565b610cdd6116cc565b60408051908101604052600281527f45430000000000000000000000000000000000000000000000000000000000006020820152905090565b8033600160a060020a0316610d2a82610b18565b600160a060020a031614610d3d57600080fd5b610d48338484611295565b505050565b6000806000806000610d5d611702565b600087815260066020526040908190209060c09051908101604090815282548252600183015460208301526002830154908201526003820154606082015260048201546080820152600590910154600160a060020a031660a082019081529091505181518260200151610dd3846020015161119b565b8460600151939b929a50909850965090945092505050565b610df53382611375565b1515610e0057600080fd5b610e13610e0c82610b18565b3383611295565b50565b60035481565b610e246116cc565b6000806000806009600087600160a060020a0316600160a060020a03168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610e9957602002820191906000526020600020905b815481526020019060010190808311610e85575b50505050509450600092505b8451831015610f725761271060066000878681518110610ec157fe5b9060200190602002015181526020019081526020016000206003015460045402811515610eea57fe5b049150610f2b60066000878681518110610f0057fe5b906020019060200201518152602001908152602001600020600401548361102790919063ffffffff16565b9384019390508060066000878681518110610f4257fe5b90602001906020020151815260208101919091526040016000206004018054909101905560019290920191610ea5565b505050600160a060020a039092166000908152600b60205260409020805490920190915550565b60005433600160a060020a03908116911614610fb457600080fd5b600160a060020a0381161515610fc957600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60008282111561103357fe5b50900390565b6000828202831580611055575082848281151561105257fe5b04145b151561105d57fe5b9392505050565b600080828481151561107257fe5b04949350505050565b60008282018381101561105d57fe5b61109381610586565b151561109e57600080fd5b600081815260066020526040902060050154600160a060020a038481169116146110c757600080fd5b600160a060020a03821615156110dc57600080fd5b30600160a060020a031682600160a060020a0316141515156110fd57600080fd5b611107838261139b565b6111118382611408565b61111b838261148d565b60008181526006602052604090206005018054600160a060020a031916600160a060020a03841617905561114f82826115f8565b81600160a060020a031683600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a3505050565b6000600c548210156111bd57610982605f6107c48460c863ffffffff61103916565b600d548210156111dd5761098260606107c484608763ffffffff61103916565b600e548210156111fd5761098260616107c484607d63ffffffff61103916565b600f5482101561121d5761098260616107c484607563ffffffff61103916565b61098260626107c484607363ffffffff61103916565b600160a060020a038216151561124857600080fd5b61125282826115f8565b81600160a060020a031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35050565b81803b80156112a357600080fd5b600160a060020a03841615156112b857600080fd5b6112c183610b18565b600160a060020a03858116911614156112d957600080fd5b84600160a060020a03166112ec84610b18565b600160a060020a0316146112ff57600080fd5b6113098584611408565b611313858461139b565b61131d858461148d565b61132784846115f8565b83600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405190815260200160405180910390a35050505050565b600082600160a060020a031661138a836108e4565b600160a060020a0316149392505050565b6000818152600660205260408120600381015460048054920154612710929091029190910491906113cd908390611027565b6000938452600660209081526040808620600401805484019055600160a060020a039096168552600b90529390922080549093019092555050565b81600160a060020a031661141b82610b18565b600160a060020a03161461142e57600080fd5b6000818152600860205260408082208054600160a060020a0319169055600160a060020a038416907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259084905190815260200160405180910390a35050565b600080600084600160a060020a03166114a585610b18565b600160a060020a0316146114b857600080fd5b6000848152600a602052604090205492506114e360016114d787610b48565b9063ffffffff61102716565b600160a060020a03861660009081526009602052604090208054919350908390811061150b57fe5b60009182526020808320909101548683526007825260408084208054600160a060020a0319169055600160a060020a038916845260099092529120805491925082918590811061155757fe5b6000918252602080832090910192909255600160a060020a038716815260099091526040812080548490811061158957fe5b6000918252602080832090910192909255600160a060020a03871681526009909152604090208054906115c09060001983016116de565b506000848152600a60205260408082208290558282529020839055600180546115ee9163ffffffff61102716565b6001555050505050565b600081815260076020526040812054600160a060020a03161561161a57600080fd5b60008281526007602090815260408083208054600160a060020a038816600160a060020a03199182168117909255600690935292206005018054909116909117905561166583610b48565b600160a060020a03841660009081526009602052604090208054919250906001810161169183826116de565b506000918252602080832091909101849055838252600a905260409020819055600180546116c49163ffffffff61107b16565b600155505050565b60206040519081016040526000815290565b815481835581811511610d4857600083815260209020610d48918101908301611742565b60c06040519081016040528060008152602001600081526020016000815260200160008152602001600081526020016000600160a060020a031681525090565b61060591905b8082111561175c5760008155600101611748565b50905600a165627a7a72305820b540d430fab7d771a2fad4b2c2ea57216f49e76d4c9ec385835d31644d942a900029
Deployed Bytecode
0x6060604052600436106101525763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041662923f9e811461015757806303dec4631461018157806306fdde03146101b2578063095ea7b31461023c57806318160ddd1461026057806320dfcd27146102735780632a6dd48f1461027e5780633ccfd60b146102b05780634528f3ec146102c35780634ba336e5146102d65780634e6b0158146102ec5780635a3f2672146103435780635a5ebebf146103b55780636352211e146103d4578063704d4db0146103ea57806370a08231146103fd5780637ecaf6961461041c5780638da5cb5b1461045e5780638ebaae081461047157806395d89b4114610499578063a9059cbb146104ac578063acf36037146104ce578063b2e6ceeb1461051f578063bf37b8f114610535578063edcb9e9e14610548578063f2fde38b14610567575b600080fd5b341561016257600080fd5b61016d600435610586565b604051901515815260200160405180910390f35b341561018c57600080fd5b6101a0600160a060020a036004351661059f565b60405190815260200160405180910390f35b34156101bd57600080fd5b6101c56105c6565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102015780820151838201526020016101e9565b50505050905090810190601f16801561022e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561024757600080fd5b61025e600160a060020a0360043516602435610608565b005b341561026b57600080fd5b6101a06106ed565b61025e6004356106f3565b341561028957600080fd5b6102946004356108e4565b604051600160a060020a03909116815260200160405180910390f35b34156102bb57600080fd5b61025e6108ff565b34156102ce57600080fd5b6101a061095a565b34156102e157600080fd5b6101a0600435610960565b34156102f757600080fd5b6103026004356109ff565b604051958652602086019490945260408086019390935260608501919091526080840152600160a060020a0390911660a083015260c0909101905180910390f35b341561034e57600080fd5b610362600160a060020a0360043516610a3d565b60405160208082528190810183818151815260200191508051906020019060200280838360005b838110156103a1578082015183820152602001610389565b505050509050019250505060405180910390f35b34156103c057600080fd5b61025e600160a060020a0360043516610ac0565b34156103df57600080fd5b610294600435610b18565b34156103f557600080fd5b6101a0610b42565b341561040857600080fd5b6101a0600160a060020a0360043516610b48565b341561042757600080fd5b61025e6024600480358281019290820135918135808301929082013591604435808301929082013591606435918201910135610b63565b341561046957600080fd5b610294610c01565b341561047c57600080fd5b61025e600435602435604435600160a060020a0360643516610c10565b34156104a457600080fd5b6101c5610cd5565b34156104b757600080fd5b61025e600160a060020a0360043516602435610d16565b34156104d957600080fd5b6104e4600435610d4d565b604051600160a060020a03909516855260208501939093526040808501929092526060840152608083019190915260a0909101905180910390f35b341561052a57600080fd5b61025e600435610deb565b341561054057600080fd5b6101a0610e16565b341561055357600080fd5b61025e600160a060020a0360043516610e1c565b341561057257600080fd5b61025e600160a060020a0360043516610f99565b600081815260066020526040812060010154115b919050565b60006105aa82610e1c565b50600160a060020a03166000908152600b602052604090205490565b6105ce6116cc565b60408051908101604052601981527f4574686572436f756e74726965732e696f20436f756e74727900000000000000602082015290505b90565b60008133600160a060020a031661061e82610b18565b600160a060020a03161461063157600080fd5b61063a83610b18565b9150600160a060020a03848116908316141561065557600080fd5b61065e836108e4565b600160a060020a031615158061067c5750600160a060020a03841615155b156106e757600083815260086020526040908190208054600160a060020a031916600160a060020a0387811691821790925591908416907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259086905190815260200160405180910390a35b50505050565b60015490565b60008080808080808033803b801561070a57600080fd5b60008b815260066020526040902060018101546005820154919b509950600160a060020a03169750339650610745348a63ffffffff61102716565b95506000891161075457600080fd5b348990101561076257600080fd5b33600160a060020a031688600160a060020a03161415151561078357600080fd5b60028a0154610799908a9063ffffffff61102716565b94506107a485610960565b600480548201905593506107d060646107c48b600363ffffffff61103916565b9063ffffffff61106416565b6003549093506107e6908463ffffffff61107b16565b6003556107f488888d61108a565b60028a018990556108048961119b565b60018b0155600160a060020a0387168b7f92885e862859e3e4b54e5d2aaa970b3948196f02f9b73eb282205aaea561b7a48b60405190815260200160405180910390a3600160a060020a0388166108fc610874610867868863ffffffff61107b16565b8c9063ffffffff61102716565b9081150290604051600060405180830381858888f19350505050151561089957600080fd5b60008611156108d357600160a060020a03871686156108fc0287604051600060405180830381858888f1935050505015156108d357600080fd5b505042600555505050505050505050565b600090815260086020526040902054600160a060020a031690565b60005433600160a060020a0390811691161461091a57600080fd5b600054600354600160a060020a039091169080156108fc0290604051600060405180830381858888f19350505050151561095357600080fd5b6000600355565b60055481565b6000600c548210156109895761098260646107c484600a63ffffffff61103916565b905061059a565b600d548210156109a95761098260646107c484600963ffffffff61103916565b600e548210156109c95761098260646107c484600863ffffffff61103916565b600f548210156109e95761098260646107c484600763ffffffff61103916565b61098260646107c484600563ffffffff61103916565b6006602052600090815260409020805460018201546002830154600384015460048501546005909501549394929391929091600160a060020a031686565b610a456116cc565b6009600083600160a060020a0316600160a060020a03168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610ab457602002820191906000526020600020905b815481526020019060010190808311610aa0575b50505050509050919050565b6000610acb82610e1c565b50600160a060020a0381166000818152600b6020526040808220805492905590919082156108fc0290839051600060405180830381858888f193505050501515610b1457600080fd5b5050565b600081815260076020526040812054600160a060020a0316801515610b3c57600080fd5b92915050565b60045481565b600160a060020a031660009081526009602052604090205490565b6000805433600160a060020a03908116911614610b7f57600080fd5b5060005b87811015610bf657610bee898983818110610b9a57fe5b905060200201358888848181101515610baf57fe5b905060200201358787858181101515610bc457fe5b905060200201358686868181101515610bd957fe5b90506020020135600160a060020a0316610c10565b600101610b83565b505050505050505050565b600054600160a060020a031681565b6000805433600160a060020a03908116911614610c2c57600080fd5b60008411610c3957600080fd5b60008581526006602052604090206001015415610c5557600080fd5b506000848152600660205260409020600581018054600160a060020a031916600160a060020a038416179055610c8a8461119b565b600180830191909155600280830186905560038301859055858355805490918101610cb583826116de565b506000918252602090912001859055610cce8286611233565b5050505050565b610cdd6116cc565b60408051908101604052600281527f45430000000000000000000000000000000000000000000000000000000000006020820152905090565b8033600160a060020a0316610d2a82610b18565b600160a060020a031614610d3d57600080fd5b610d48338484611295565b505050565b6000806000806000610d5d611702565b600087815260066020526040908190209060c09051908101604090815282548252600183015460208301526002830154908201526003820154606082015260048201546080820152600590910154600160a060020a031660a082019081529091505181518260200151610dd3846020015161119b565b8460600151939b929a50909850965090945092505050565b610df53382611375565b1515610e0057600080fd5b610e13610e0c82610b18565b3383611295565b50565b60035481565b610e246116cc565b6000806000806009600087600160a060020a0316600160a060020a03168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610e9957602002820191906000526020600020905b815481526020019060010190808311610e85575b50505050509450600092505b8451831015610f725761271060066000878681518110610ec157fe5b9060200190602002015181526020019081526020016000206003015460045402811515610eea57fe5b049150610f2b60066000878681518110610f0057fe5b906020019060200201518152602001908152602001600020600401548361102790919063ffffffff16565b9384019390508060066000878681518110610f4257fe5b90602001906020020151815260208101919091526040016000206004018054909101905560019290920191610ea5565b505050600160a060020a039092166000908152600b60205260409020805490920190915550565b60005433600160a060020a03908116911614610fb457600080fd5b600160a060020a0381161515610fc957600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60008282111561103357fe5b50900390565b6000828202831580611055575082848281151561105257fe5b04145b151561105d57fe5b9392505050565b600080828481151561107257fe5b04949350505050565b60008282018381101561105d57fe5b61109381610586565b151561109e57600080fd5b600081815260066020526040902060050154600160a060020a038481169116146110c757600080fd5b600160a060020a03821615156110dc57600080fd5b30600160a060020a031682600160a060020a0316141515156110fd57600080fd5b611107838261139b565b6111118382611408565b61111b838261148d565b60008181526006602052604090206005018054600160a060020a031916600160a060020a03841617905561114f82826115f8565b81600160a060020a031683600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a3505050565b6000600c548210156111bd57610982605f6107c48460c863ffffffff61103916565b600d548210156111dd5761098260606107c484608763ffffffff61103916565b600e548210156111fd5761098260616107c484607d63ffffffff61103916565b600f5482101561121d5761098260616107c484607563ffffffff61103916565b61098260626107c484607363ffffffff61103916565b600160a060020a038216151561124857600080fd5b61125282826115f8565b81600160a060020a031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35050565b81803b80156112a357600080fd5b600160a060020a03841615156112b857600080fd5b6112c183610b18565b600160a060020a03858116911614156112d957600080fd5b84600160a060020a03166112ec84610b18565b600160a060020a0316146112ff57600080fd5b6113098584611408565b611313858461139b565b61131d858461148d565b61132784846115f8565b83600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405190815260200160405180910390a35050505050565b600082600160a060020a031661138a836108e4565b600160a060020a0316149392505050565b6000818152600660205260408120600381015460048054920154612710929091029190910491906113cd908390611027565b6000938452600660209081526040808620600401805484019055600160a060020a039096168552600b90529390922080549093019092555050565b81600160a060020a031661141b82610b18565b600160a060020a03161461142e57600080fd5b6000818152600860205260408082208054600160a060020a0319169055600160a060020a038416907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259084905190815260200160405180910390a35050565b600080600084600160a060020a03166114a585610b18565b600160a060020a0316146114b857600080fd5b6000848152600a602052604090205492506114e360016114d787610b48565b9063ffffffff61102716565b600160a060020a03861660009081526009602052604090208054919350908390811061150b57fe5b60009182526020808320909101548683526007825260408084208054600160a060020a0319169055600160a060020a038916845260099092529120805491925082918590811061155757fe5b6000918252602080832090910192909255600160a060020a038716815260099091526040812080548490811061158957fe5b6000918252602080832090910192909255600160a060020a03871681526009909152604090208054906115c09060001983016116de565b506000848152600a60205260408082208290558282529020839055600180546115ee9163ffffffff61102716565b6001555050505050565b600081815260076020526040812054600160a060020a03161561161a57600080fd5b60008281526007602090815260408083208054600160a060020a038816600160a060020a03199182168117909255600690935292206005018054909116909117905561166583610b48565b600160a060020a03841660009081526009602052604090208054919250906001810161169183826116de565b506000918252602080832091909101849055838252600a905260409020819055600180546116c49163ffffffff61107b16565b600155505050565b60206040519081016040526000815290565b815481835581811511610d4857600083815260209020610d48918101908301611742565b60c06040519081016040528060008152602001600081526020016000815260200160008152602001600081526020016000600160a060020a031681525090565b61060591905b8082111561175c5760008155600101611748565b50905600a165627a7a72305820b540d430fab7d771a2fad4b2c2ea57216f49e76d4c9ec385835d31644d942a900029
Swarm Source
bzzr://b540d430fab7d771a2fad4b2c2ea57216f49e76d4c9ec385835d31644d942a90
Loading...
Loading
Loading...
Loading
Net Worth in USD
$582.67
Net Worth in ETH
0.260348
Token Allocations
ETH
100.00%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,237.61 | 0.2604 | $582.67 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.