ERC-721
Overview
Max Total Supply
1,541 EPICS
Holders
58
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
15 EPICSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EpicsToken
Compiler Version
v0.5.10+commit.5a6ea5b1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-10-17 */ pragma solidity ^0.5.0; interface IERC165 { function supportsInterface(bytes4 interfaceId) external view returns (bool); } contract IERC721 is IERC165 { event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); function balanceOf(address owner) public view returns (uint256 balance); function ownerOf(uint256 tokenId) public view returns (address owner); function safeTransferFrom(address from, address to, uint256 tokenId) public; function transferFrom(address from, address to, uint256 tokenId) public; function approve(address to, uint256 tokenId) public; function getApproved(uint256 tokenId) public view returns (address operator); function setApprovalForAll(address operator, bool _approved) public; function isApprovedForAll(address owner, address operator) public view returns (bool); function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public; } contract IERC721Receiver { function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data) public returns (bytes4); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); uint256 c = a / b; return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0, "SafeMath: modulo by zero"); return a % b; } } library Address { function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } } library Counters { using SafeMath for uint256; struct Counter { uint256 _value; } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value.sub(1); } } contract ERC165 is IERC165 { bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { _registerInterface(_INTERFACE_ID_ERC165); } function supportsInterface(bytes4 interfaceId) external view returns (bool) { return _supportedInterfaces[interfaceId]; } function _registerInterface(bytes4 interfaceId) internal { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } contract ERC721 is ERC165, IERC721 { using SafeMath for uint256; using Address for address; using Counters for Counters.Counter; bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; mapping (uint256 => address) private _tokenOwner; mapping (uint256 => address) private _tokenApprovals; mapping (address => Counters.Counter) private _ownedTokensCount; mapping (address => mapping (address => bool)) private _operatorApprovals; bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; constructor () public { _registerInterface(_INTERFACE_ID_ERC721); } function balanceOf(address owner) public view returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _ownedTokensCount[owner].current(); } function ownerOf(uint256 tokenId) public view returns (address) { address owner = _tokenOwner[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } function approve(address to, uint256 tokenId) public { address owner = ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(msg.sender == owner || isApprovedForAll(owner, msg.sender), "ERC721: approve caller is not owner nor approved for all" ); _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } function getApproved(uint256 tokenId) public view returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } function setApprovalForAll(address to, bool approved) public { require(to != msg.sender, "ERC721: approve to caller"); _operatorApprovals[msg.sender][to] = approved; emit ApprovalForAll(msg.sender, to, approved); } function isApprovedForAll(address owner, address operator) public view returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom(address from, address to, uint256 tokenId) public { require(_isApprovedOrOwner(msg.sender, tokenId), "ERC721: transfer caller is not owner nor approved"); _transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public { transferFrom(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } function _exists(uint256 tokenId) internal view returns (bool) { address owner = _tokenOwner[tokenId]; return owner != address(0); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _mint(address to, uint256 tokenId) internal { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _tokenOwner[tokenId] = to; _ownedTokensCount[to].increment(); emit Transfer(address(0), to, tokenId); } function _burn(address owner, uint256 tokenId) internal { require(ownerOf(tokenId) == owner, "ERC721: burn of token that is not own"); _clearApproval(tokenId); _ownedTokensCount[owner].decrement(); _tokenOwner[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } function _burn(uint256 tokenId) internal { _burn(ownerOf(tokenId), tokenId); } function _transferFrom(address from, address to, uint256 tokenId) internal { require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _clearApproval(tokenId); _ownedTokensCount[from].decrement(); _ownedTokensCount[to].increment(); _tokenOwner[tokenId] = to; emit Transfer(from, to, tokenId); } function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) internal returns (bool) { if (!to.isContract()) { return true; } bytes4 retval = IERC721Receiver(to).onERC721Received(msg.sender, from, tokenId, _data); return (retval == _ERC721_RECEIVED); } function _clearApproval(uint256 tokenId) private { if (_tokenApprovals[tokenId] != address(0)) { _tokenApprovals[tokenId] = address(0); } } } contract IERC721Enumerable is IERC721 { function totalSupply() public view returns (uint256); function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256 tokenId); function tokenByIndex(uint256 index) public view returns (uint256); } contract ERC721Enumerable is ERC165, ERC721, IERC721Enumerable { mapping(address => uint256[]) private _ownedTokens; mapping(uint256 => uint256) private _ownedTokensIndex; uint256[] private _allTokens; mapping(uint256 => uint256) private _allTokensIndex; bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; constructor () public { _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } function totalSupply() public view returns (uint256) { return _allTokens.length; } function tokenByIndex(uint256 index) public view returns (uint256) { require(index < totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } function _transferFrom(address from, address to, uint256 tokenId) internal { super._transferFrom(from, to, tokenId); _removeTokenFromOwnerEnumeration(from, tokenId); _addTokenToOwnerEnumeration(to, tokenId); } function _mint(address to, uint256 tokenId) internal { super._mint(to, tokenId); _addTokenToOwnerEnumeration(to, tokenId); _addTokenToAllTokensEnumeration(tokenId); } function _burn(address owner, uint256 tokenId) internal { super._burn(owner, tokenId); _removeTokenFromOwnerEnumeration(owner, tokenId); _ownedTokensIndex[tokenId] = 0; _removeTokenFromAllTokensEnumeration(tokenId); } function _tokensOfOwner(address owner) internal view returns (uint256[] storage) { return _ownedTokens[owner]; } function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { _ownedTokensIndex[tokenId] = _ownedTokens[to].length; _ownedTokens[to].push(tokenId); } function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { uint256 lastTokenIndex = _ownedTokens[from].length.sub(1); uint256 tokenIndex = _ownedTokensIndex[tokenId]; if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; _ownedTokensIndex[lastTokenId] = tokenIndex; } _ownedTokens[from].length--; } function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { uint256 lastTokenIndex = _allTokens.length.sub(1); uint256 tokenIndex = _allTokensIndex[tokenId]; uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; _allTokensIndex[lastTokenId] = tokenIndex; _allTokens.length--; _allTokensIndex[tokenId] = 0; } } contract IERC721Metadata is IERC721 { function name() external view returns (string memory); function symbol() external view returns (string memory); function tokenURI(uint256 tokenId) external view returns (string memory); } contract ERC721Metadata is ERC165, ERC721, IERC721Metadata { string private _name; string private _symbol; mapping(uint256 => string) private _tokenURIs; bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _registerInterface(_INTERFACE_ID_ERC721_METADATA); } function name() external view returns (string memory) { return _name; } function symbol() external view returns (string memory) { return _symbol; } function tokenURI(uint256 tokenId) external view returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return _tokenURIs[tokenId]; } function _setTokenURI(uint256 tokenId, string memory uri) internal { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = uri; } function _burn(address owner, uint256 tokenId) internal { super._burn(owner, tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } } contract ERC721Full is ERC721, ERC721Enumerable, ERC721Metadata { constructor (string memory name, string memory symbol) public ERC721Metadata(name, symbol) { } } library Roles { struct Role { mapping (address => bool) bearer; } function add(Role storage role, address account) internal { require(!has(role, account), "Roles: account already has role"); role.bearer[account] = true; } function remove(Role storage role, address account) internal { require(has(role, account), "Roles: account does not have role"); role.bearer[account] = false; } function has(Role storage role, address account) internal view returns (bool) { require(account != address(0), "Roles: account is the zero address"); return role.bearer[account]; } } contract MinterRole { using Roles for Roles.Role; event MinterAdded(address indexed account); event MinterRemoved(address indexed account); Roles.Role private _minters; constructor () internal { _addMinter(msg.sender); } modifier onlyMinter() { require(isMinter(msg.sender), "MinterRole: caller does not have the Minter role"); _; } function isMinter(address account) public view returns (bool) { return _minters.has(account); } function addMinter(address account) public onlyMinter { _addMinter(account); } function renounceMinter() public { _removeMinter(msg.sender); } function _addMinter(address account) internal { _minters.add(account); emit MinterAdded(account); } function _removeMinter(address account) internal { _minters.remove(account); emit MinterRemoved(account); } } contract ERC721Mintable is ERC721, MinterRole { function mint(address to, uint256 tokenId) public onlyMinter returns (bool) { _mint(to, tokenId); return true; } } contract EpicsToken is ERC721Mintable, ERC721Full { using Counters for Counters.Counter; Counters.Counter private _tokenIds; event TokenLock(string uuid); event TokenUnlock(string uuid); event UserVerified(string userToken, address userAddress); event TokenCreated(string uuid, address to); event TokenUpdated(string uuid); event TokenDestroyed(string uuid); event TokenOwnerSet(address from, address to, string uuid); event TradingLock(); event TradingUnlock(); address public escrow; address public admin; bool public tradingLocked; mapping (string => bool) private uuidExists; mapping (uint256 => string) private tokenIdToUuid; mapping (string => uint256) private uuidToTokenId; mapping (uint256 => bool) private lockedTokens; constructor() ERC721Full("Epics", "EPICS") public { escrow = msg.sender; admin = msg.sender; } modifier onlyAdmin() { require(msg.sender == admin, "Only admin can do this."); _; } function verifyUser(string memory userToken) public returns (bool) { emit UserVerified(userToken, msg.sender); return true; } function getOwnerOfUUID(string memory uuid) public view returns (address) { require(uuidExists[uuid], "UUID does not exist."); uint256 tokenId = uuidToTokenId[uuid]; return ownerOf(tokenId); } function getTokenIdOfUUID(string memory uuid) public view returns (uint256) { require(uuidExists[uuid], "UUID does not exist."); return uuidToTokenId[uuid]; } function getUUIDOfTokenId(uint256 tokenId) public view returns (string memory) { require(_exists(tokenId), "Token does not exist."); return tokenIdToUuid[tokenId]; } function isTokenLocked(uint256 tokenId) public view returns (bool) { require(_exists(tokenId), "Token does not exist."); return lockedTokens[tokenId]; } function doesUUIDExist(string memory uuid) public view returns (bool) { return uuidExists[uuid]; } function lockTrading() public onlyAdmin { require(tradingLocked == false, "Trading already locked."); tradingLocked = true; emit TradingLock(); } function unlockTrading() public onlyAdmin { require(tradingLocked == true, "Trading already unlocked."); tradingLocked = false; emit TradingUnlock(); } function removeMinter(address account) public onlyAdmin { _removeMinter(account); } function setEscrowAddress(address newEscrow) public onlyAdmin { require(newEscrow != address(0)); escrow = newEscrow; } function createToken(string memory uuid, address to, string memory uri) public onlyMinter { require(!uuidExists[uuid], "UUID already exists."); _tokenIds.increment(); uint256 tokenId = _tokenIds.current(); mint(to, tokenId); _setTokenURI(tokenId, uri); uuidExists[uuid] = true; uuidToTokenId[uuid] = tokenId; tokenIdToUuid[tokenId] = uuid; lockedTokens[tokenId] = true; emit TokenCreated(uuid, to); } function updateToken(string memory uuid, string memory uri) public onlyMinter { require(uuidExists[uuid], "UUID does not exist."); uint256 tokenId = uuidToTokenId[uuid]; _setTokenURI(tokenId, uri); emit TokenUpdated(uuid); } function destroyToken(uint256 tokenId) public onlyMinter { require(_exists(tokenId), "Token does not exist."); require(lockedTokens[tokenId], "Token must be locked before being destroyed."); string memory uuid = tokenIdToUuid[tokenId]; delete uuidExists[uuid]; delete uuidToTokenId[uuid]; delete lockedTokens[tokenId]; _burn(tokenId); emit TokenDestroyed(uuid); } function lockToken(address owner, uint256 tokenId) public onlyMinter { require(_exists(tokenId), "Token does not exist."); require(!lockedTokens[tokenId], "Token is already locked."); require(ownerOf(tokenId) == owner, "The owner has changed since it was suppose to be locked."); lockedTokens[tokenId] = true; setTokenOwner(escrow, tokenId); string memory uuid = tokenIdToUuid[tokenId]; emit TokenLock(uuid); } function unlockToken(address owner, uint256 tokenId) public onlyMinter { require(_exists(tokenId), "Token does not exist."); require(lockedTokens[tokenId], "Token is already unlocked."); require(ownerOf(tokenId) == escrow, "The owner has changed since it was suppose to be locked."); setTokenOwner(owner, tokenId); lockedTokens[tokenId] = false; string memory uuid = tokenIdToUuid[tokenId]; emit TokenUnlock(uuid); } function setTokenOwner(address to, uint256 tokenId) public onlyMinter { address owner = ownerOf(tokenId); _transferFrom(owner, to, tokenId); string memory uuid = tokenIdToUuid[tokenId]; emit TokenOwnerSet(owner, to, uuid); } function transferFrom(address from, address to, uint256 tokenId) public { require(!tradingLocked && !lockedTokens[tokenId], "Token must be unlocked to be transferred."); super.transferFrom(from, to, tokenId); } function approve(address to, uint256 tokenId) public { require(!tradingLocked && !lockedTokens[tokenId], "Token must be unlocked to be transferred."); super.approve(to, tokenId); } function setApprovalForAll(address to, bool approved) public { require(!tradingLocked, "Trading is locked."); super.setApprovalForAll(to, approved); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"name":"","type":"bool"}],"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":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"tokenId","type":"uint256"}],"name":"getUUIDOfTokenId","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"owner","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"lockToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"isTokenLocked","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"removeMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"owner","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"unlockToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"uuid","type":"string"}],"name":"doesUUIDExist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"setTokenOwner","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":"tradingLocked","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"uuid","type":"string"},{"name":"to","type":"address"},{"name":"uri","type":"string"}],"name":"createToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"uuid","type":"string"}],"name":"getOwnerOfUUID","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"lockTrading","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"destroyToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"uuid","type":"string"}],"name":"getTokenIdOfUUID","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unlockTrading","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newEscrow","type":"address"}],"name":"setEscrowAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"escrow","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"userToken","type":"string"}],"name":"verifyUser","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"uuid","type":"string"},{"name":"uri","type":"string"}],"name":"updateToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"uuid","type":"string"}],"name":"TokenLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"uuid","type":"string"}],"name":"TokenUnlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"userToken","type":"string"},{"indexed":false,"name":"userAddress","type":"address"}],"name":"UserVerified","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"uuid","type":"string"},{"indexed":false,"name":"to","type":"address"}],"name":"TokenCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"uuid","type":"string"}],"name":"TokenUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"uuid","type":"string"}],"name":"TokenDestroyed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"uuid","type":"string"}],"name":"TokenOwnerSet","type":"event"},{"anonymous":false,"inputs":[],"name":"TradingLock","type":"event"},{"anonymous":false,"inputs":[],"name":"TradingUnlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":true,"name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"approved","type":"address"},{"indexed":true,"name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"operator","type":"address"},{"indexed":false,"name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600581526020017f45706963730000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f45504943530000000000000000000000000000000000000000000000000000008152508181620000986301ffc9a760e01b620001a160201b60201c565b620000cc7f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03620001a116565b620000e0336001600160e01b036200027016565b620001147f780e9d63000000000000000000000000000000000000000000000000000000006001600160e01b03620001a116565b81516200012990600a906020850190620003ec565b5080516200013f90600b906020840190620003ec565b50620001747f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03620001a116565b5050600e8054336001600160a01b03199182168117909255600f8054909116909117905550620004919050565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200023357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b6200028b816005620002c260201b620033b51790919060201c565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b620002d782826001600160e01b036200036916565b156200034457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b038216620003cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018062003fe76022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200042f57805160ff19168380011785556200045f565b828001600101855582156200045f579182015b828111156200045f57825182559160200191906001019062000442565b506200046d92915062000471565b5090565b6200048e91905b808211156200046d576000815560010162000478565b90565b613b4680620004a16000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c806370a082311161013b578063aa271e1a116100b8578063e2fdcc171161007c578063e2fdcc1714610a6f578063e600c81714610a77578063e985e9c514610b1b578063f830c32514610b49578063f851a44014610c725761023d565b8063aa271e1a1461093a578063b88d4fde14610960578063c2c68ee114610a24578063c87b56dd14610a2c578063ddeb63b514610a495761023d565b806395d89b41116100ff57806395d89b4114610832578063983b2d561461083a5780639865027514610860578063a22cb46514610868578063a6e23daf146108965761023d565b806370a082311461060957806377eb17b41461062f578063814016161461076957806386afa1101461080d5780638a7d124b146108155761023d565b80632f745c59116101c957806342842e0e1161018d57806342842e0e146105655780634f6ccce71461059b5780634fdc53f6146105b85780636352211e146105e457806367dd7bb4146106015761023d565b80632f745c59146104175780633092afd51461044357806331e9e9c01461046957806337fa492a1461049557806340c10f19146105395761023d565b806314c00ed31161021057806314c00ed31461036157806317be3fa51461037e57806318160ddd146103aa57806323b872dd146103c4578063276a28a3146103fa5761023d565b806301ffc9a71461024257806306fdde031461027d578063081812fc146102fa578063095ea7b314610333575b600080fd5b6102696004803603602081101561025857600080fd5b50356001600160e01b031916610c7a565b604080519115158252519081900360200190f35b610285610c99565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102bf5781810151838201526020016102a7565b50505050905090810190601f1680156102ec5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103176004803603602081101561031057600080fd5b5035610d30565b604080516001600160a01b039092168252519081900360200190f35b61035f6004803603604081101561034957600080fd5b506001600160a01b038135169060200135610d92565b005b6102856004803603602081101561037757600080fd5b5035610e04565b61035f6004803603604081101561039457600080fd5b506001600160a01b038135169060200135610ef7565b6103b26111b2565b60408051918252519081900360200190f35b61035f600480360360608110156103da57600080fd5b506001600160a01b038135811691602081013590911690604001356111b8565b6102696004803603602081101561041057600080fd5b503561122c565b6103b26004803603604081101561042d57600080fd5b506001600160a01b038135169060200135611296565b61035f6004803603602081101561045957600080fd5b50356001600160a01b0316611315565b61035f6004803603604081101561047f57600080fd5b506001600160a01b03813516906020013561137a565b610269600480360360208110156104ab57600080fd5b810190602081018135600160201b8111156104c557600080fd5b8201836020820111156104d757600080fd5b803590602001918460018302840111600160201b831117156104f857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506115e0945050505050565b6102696004803603604081101561054f57600080fd5b506001600160a01b03813516906020013561164b565b61035f6004803603606081101561057b57600080fd5b506001600160a01b038135811691602081013590911690604001356116a4565b6103b2600480360360208110156105b157600080fd5b50356116bf565b61035f600480360360408110156105ce57600080fd5b506001600160a01b038135169060200135611725565b610317600480360360208110156105fa57600080fd5b50356118f0565b61026961194a565b6103b26004803603602081101561061f57600080fd5b50356001600160a01b031661195a565b61035f6004803603606081101561064557600080fd5b810190602081018135600160201b81111561065f57600080fd5b82018360208201111561067157600080fd5b803590602001918460018302840111600160201b8311171561069257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092956001600160a01b03853516959094909350604081019250602001359050600160201b8111156106f557600080fd5b82018360208201111561070757600080fd5b803590602001918460018302840111600160201b8311171561072857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506119c2945050505050565b6103176004803603602081101561077f57600080fd5b810190602081018135600160201b81111561079957600080fd5b8201836020820111156107ab57600080fd5b803590602001918460018302840111600160201b831117156107cc57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611c9e945050505050565b61035f611dc3565b61035f6004803603602081101561082b57600080fd5b5035611eb9565b6102856121bf565b61035f6004803603602081101561085057600080fd5b50356001600160a01b0316612220565b61035f61226d565b61035f6004803603604081101561087e57600080fd5b506001600160a01b0381351690602001351515612278565b6103b2600480360360208110156108ac57600080fd5b810190602081018135600160201b8111156108c657600080fd5b8201836020820111156108d857600080fd5b803590602001918460018302840111600160201b831117156108f957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506122d6945050505050565b6102696004803603602081101561095057600080fd5b50356001600160a01b03166123eb565b61035f6004803603608081101561097657600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b8111156109b057600080fd5b8201836020820111156109c257600080fd5b803590602001918460018302840111600160201b831117156109e357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506123fe945050505050565b61035f612456565b61028560048036036020811015610a4257600080fd5b503561254a565b61035f60048036036020811015610a5f57600080fd5b50356001600160a01b03166125f8565b610317612686565b61026960048036036020811015610a8d57600080fd5b810190602081018135600160201b811115610aa757600080fd5b820183602082011115610ab957600080fd5b803590602001918460018302840111600160201b83111715610ada57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612695945050505050565b61026960048036036040811015610b3157600080fd5b506001600160a01b0381358116916020013516612752565b61035f60048036036040811015610b5f57600080fd5b810190602081018135600160201b811115610b7957600080fd5b820183602082011115610b8b57600080fd5b803590602001918460018302840111600160201b83111715610bac57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610bfe57600080fd5b820183602082011115610c1057600080fd5b803590602001918460018302840111600160201b83111715610c3157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612780945050505050565b61031761293c565b6001600160e01b03191660009081526020819052604090205460ff1690565b600a8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d255780601f10610cfa57610100808354040283529160200191610d25565b820191906000526020600020905b815481529060010190602001808311610d0857829003601f168201915b505050505090505b90565b6000610d3b8261294b565b610d765760405162461bcd60e51b815260040180806020018281038252602c815260200180613910602c913960400191505060405180910390fd5b506000908152600260205260409020546001600160a01b031690565b600f54600160a01b900460ff16158015610dbb575060008181526013602052604090205460ff16155b610df65760405162461bcd60e51b81526004018080602001828103825260298152602001806139e26029913960400191505060405180910390fd5b610e008282612968565b5050565b6060610e0f8261294b565b610e58576040805162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015290519081900360640190fd5b60008281526011602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610eeb5780601f10610ec057610100808354040283529160200191610eeb565b820191906000526020600020905b815481529060010190602001808311610ece57829003601f168201915b50505050509050919050565b610f00336123eb565b610f3b5760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b610f448161294b565b610f8d576040805162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015290519081900360640190fd5b60008181526013602052604090205460ff1615610ff1576040805162461bcd60e51b815260206004820152601860248201527f546f6b656e20697320616c7265616479206c6f636b65642e0000000000000000604482015290519081900360640190fd5b816001600160a01b0316611004826118f0565b6001600160a01b0316146110495760405162461bcd60e51b8152600401808060200182810382526038815260200180613ada6038913960400191505060405180910390fd5b6000818152601360205260409020805460ff19166001179055600e54611078906001600160a01b031682611725565b60008181526011602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084526060939283018282801561110d5780601f106110e25761010080835404028352916020019161110d565b820191906000526020600020905b8154815290600101906020018083116110f057829003601f168201915b505050505090507fb069ec2d5ccbd4a25e6f8ad154a1c62862586f38761b190e08432522a8cfbaae816040518080602001828103825283818151815260200191508051906020019080838360005b8381101561117357818101518382015260200161115b565b50505050905090810190601f1680156111a05780820380516001836020036101000a031916815260200191505b509250505060405180910390a1505050565b60085490565b600f54600160a01b900460ff161580156111e1575060008181526013602052604090205460ff16155b61121c5760405162461bcd60e51b81526004018080602001828103825260298152602001806139e26029913960400191505060405180910390fd5b611227838383612a79565b505050565b60006112378261294b565b611280576040805162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015290519081900360640190fd5b5060009081526013602052604090205460ff1690565b60006112a18361195a565b82106112de5760405162461bcd60e51b815260040180806020018281038252602b815260200180613787602b913960400191505060405180910390fd5b6001600160a01b038316600090815260066020526040902080548390811061130257fe5b9060005260206000200154905092915050565b600f546001600160a01b0316331461136e576040805162461bcd60e51b815260206004820152601760248201527627b7363c9030b236b4b71031b0b7103237903a3434b99760491b604482015290519081900360640190fd5b61137781612ac9565b50565b611383336123eb565b6113be5760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b6113c78161294b565b611410576040805162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015290519081900360640190fd5b60008181526013602052604090205460ff16611473576040805162461bcd60e51b815260206004820152601a60248201527f546f6b656e20697320616c726561647920756e6c6f636b65642e000000000000604482015290519081900360640190fd5b600e546001600160a01b0316611488826118f0565b6001600160a01b0316146114cd5760405162461bcd60e51b8152600401808060200182810382526038815260200180613ada6038913960400191505060405180910390fd5b6114d78282611725565b6000818152601360209081526040808320805460ff19169055601182529182902080548351601f600260001960018516156101000201909316929092049182018490048402810184019094528084526060939283018282801561157b5780601f106115505761010080835404028352916020019161157b565b820191906000526020600020905b81548152906001019060200180831161155e57829003601f168201915b505050505090507f67a92a5e2f011b1c7421a7a9459e87f18b7faad9956deb9e2453cb1cd8c7317c816040518080602001828103825283818151815260200191508051906020019080838360008381101561117357818101518382015260200161115b565b60006010826040518082805190602001908083835b602083106116145780518252601f1990920191602091820191016115f5565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16949350505050565b6000611656336123eb565b6116915760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b61169b8383612b11565b50600192915050565b611227838383604051806020016040528060008152506123fe565b60006116c96111b2565b82106117065760405162461bcd60e51b815260040180806020018281038252602c815260200180613a5d602c913960400191505060405180910390fd5b6008828154811061171357fe5b90600052602060002001549050919050565b61172e336123eb565b6117695760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b6000611774826118f0565b9050611781818484612b2e565b60008281526011602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156118165780601f106117eb57610100808354040283529160200191611816565b820191906000526020600020905b8154815290600101906020018083116117f957829003601f168201915b505050505090507fb16bde656bb957ad96238299544a74793d54c3344824cd5e6f594c7df302ccb182858360405180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156118ae578181015183820152602001611896565b50505050905090810190601f1680156118db5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150505050565b6000818152600160205260408120546001600160a01b0316806119445760405162461bcd60e51b81526004018080602001828103825260298152602001806138966029913960400191505060405180910390fd5b92915050565b600f54600160a01b900460ff1681565b60006001600160a01b0382166119a15760405162461bcd60e51b815260040180806020018281038252602a81526020018061386c602a913960400191505060405180910390fd5b6001600160a01b038216600090815260036020526040902061194490612b4d565b6119cb336123eb565b611a065760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b6010836040518082805190602001908083835b60208310611a385780518252601f199092019160209182019101611a19565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150611ab49050576040805162461bcd60e51b81526020600482015260146024820152732aaaa4a21030b63932b0b23c9032bc34b9ba399760611b604482015290519081900360640190fd5b611abe600d612b51565b6000611aca600d612b4d565b9050611ad6838261164b565b50611ae18183612b5a565b60016010856040518082805190602001908083835b60208310611b155780518252601f199092019160209182019101611af6565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff191695151595909517909455505085518392601292889290918291908401908083835b60208310611b865780518252601f199092019160209182019101611b67565b51815160209384036101000a600019018019909216911617905292019485525060408051948590038201909420949094555050600083815260118352208551611bd19287019061368a565b506000818152601360209081526040808320805460ff1916600117905580516001600160a01b0387168184015281815287519181019190915286517ffdc90d498a1602314464a0907c52c51090745809fb1655b49df42e9333129f7093889388939283926060840192870191908190849084905b83811015611c5d578181015183820152602001611c45565b50505050905090810190601f168015611c8a5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a150505050565b60006010826040518082805190602001908083835b60208310611cd25780518252601f199092019160209182019101611cb3565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150611d4d9050576040805162461bcd60e51b81526020600482015260146024820152732aaaa4a2103237b2b9903737ba1032bc34b9ba1760611b604482015290519081900360640190fd5b60006012836040518082805190602001908083835b60208310611d815780518252601f199092019160209182019101611d62565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549250611dbc91508290506118f0565b9392505050565b600f546001600160a01b03163314611e1c576040805162461bcd60e51b815260206004820152601760248201527627b7363c9030b236b4b71031b0b7103237903a3434b99760491b604482015290519081900360640190fd5b600f54600160a01b900460ff1615611e7b576040805162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c7265616479206c6f636b65642e000000000000000000604482015290519081900360640190fd5b600f805460ff60a01b1916600160a01b1790556040517f0ca95e2edd6ed7fba1d384adb94cd01a3cf994e478d5a00d6f0ee5e523512d2690600090a1565b611ec2336123eb565b611efd5760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b611f068161294b565b611f4f576040805162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015290519081900360640190fd5b60008181526013602052604090205460ff16611f9c5760405162461bcd60e51b815260040180806020018281038252602c815260200180613aae602c913960400191505060405180910390fd5b60008181526011602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156120315780601f1061200657610100808354040283529160200191612031565b820191906000526020600020905b81548152906001019060200180831161201457829003601f168201915b505050505090506010816040518082805190602001908083835b6020831061206a5780518252601f19909201916020918201910161204b565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff191690558451601294869450925082918401908083835b602083106120cf5780518252601f1990920191602091820191016120b0565b51815160209384036101000a600019018019909216911617905292019485525060408051948590038201909420600090819055868152601390915292909220805460ff1916905550612122905082612bbd565b7f8995cdb6bf2110f1c98bd7e40de2b936043ff6a855f056e4ff4f10cfb734a9f3816040518080602001828103825283818151815260200191508051906020019080838360005b83811015612181578181015183820152602001612169565b50505050905090810190601f1680156121ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390a15050565b600b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d255780601f10610cfa57610100808354040283529160200191610d25565b612229336123eb565b6122645760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b61137781612bcf565b61227633612ac9565b565b600f54600160a01b900460ff16156122cc576040805162461bcd60e51b81526020600482015260126024820152712a3930b234b7339034b9903637b1b5b2b21760711b604482015290519081900360640190fd5b610e008282612c17565b60006010826040518082805190602001908083835b6020831061230a5780518252601f1990920191602091820191016122eb565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1691506123859050576040805162461bcd60e51b81526020600482015260146024820152732aaaa4a2103237b2b9903737ba1032bc34b9ba1760611b604482015290519081900360640190fd5b6012826040518082805190602001908083835b602083106123b75780518252601f199092019160209182019101612398565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054949350505050565b600061194460058363ffffffff612ce316565b6124098484846111b8565b61241584848484612d4a565b6124505760405162461bcd60e51b81526004018080602001828103825260328152602001806137b26032913960400191505060405180910390fd5b50505050565b600f546001600160a01b031633146124af576040805162461bcd60e51b815260206004820152601760248201527627b7363c9030b236b4b71031b0b7103237903a3434b99760491b604482015290519081900360640190fd5b600f54600160a01b900460ff161515600114612512576040805162461bcd60e51b815260206004820152601960248201527f54726164696e6720616c726561647920756e6c6f636b65642e00000000000000604482015290519081900360640190fd5b600f805460ff60a01b191690556040517fbc193b38a86259753b2304a3deea58b27801b601536584869dadfeb56c658c0a90600090a1565b60606125558261294b565b6125905760405162461bcd60e51b815260040180806020018281038252602f8152602001806139b3602f913960400191505060405180910390fd5b6000828152600c602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610eeb5780601f10610ec057610100808354040283529160200191610eeb565b600f546001600160a01b03163314612651576040805162461bcd60e51b815260206004820152601760248201527627b7363c9030b236b4b71031b0b7103237903a3434b99760491b604482015290519081900360640190fd5b6001600160a01b03811661266457600080fd5b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b600e546001600160a01b031681565b60007fee1ed0d88ee3dedc04c564df4fe6ca40f422c672318c5621a99fc850ddbc1f5a82336040518080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b8381101561270f5781810151838201526020016126f7565b50505050905090810190601f16801561273c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a1506001919050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b612789336123eb565b6127c45760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b6010826040518082805190602001908083835b602083106127f65780518252601f1990920191602091820191016127d7565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1691506128719050576040805162461bcd60e51b81526020600482015260146024820152732aaaa4a2103237b2b9903737ba1032bc34b9ba1760611b604482015290519081900360640190fd5b60006012836040518082805190602001908083835b602083106128a55780518252601f199092019160209182019101612886565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205492506128e1915082905083612b5a565b60408051602080825285518183015285517f6714407191569b7b9edd5db2d624b8e2281272e577950f0e87ca156570ffe9e493879392839291830191908501908083836000831561117357818101518382015260200161115b565b600f546001600160a01b031681565b6000908152600160205260409020546001600160a01b0316151590565b6000612973826118f0565b9050806001600160a01b0316836001600160a01b031614156129c65760405162461bcd60e51b8152600401808060200182810382526021815260200180613a0b6021913960400191505060405180910390fd5b336001600160a01b03821614806129e257506129e28133612752565b612a1d5760405162461bcd60e51b81526004018080602001828103825260388152602001806138346038913960400191505060405180910390fd5b60008281526002602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b612a833382612e7e565b612abe5760405162461bcd60e51b8152600401808060200182810382526031815260200180613a2c6031913960400191505060405180910390fd5b611227838383612b2e565b612ada60058263ffffffff612f1a16565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b612b1b8282612f81565b612b2582826130b2565b610e00816130f0565b612b39838383613134565b612b438382613278565b61122782826130b2565b5490565b80546001019055565b612b638261294b565b612b9e5760405162461bcd60e51b815260040180806020018281038252602c81526020018061393c602c913960400191505060405180910390fd5b6000828152600c6020908152604090912082516112279284019061368a565b611377612bc9826118f0565b8261336d565b612be060058263ffffffff6133b516565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6001600160a01b038216331415612c75576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b60006001600160a01b038216612d2a5760405162461bcd60e51b81526004018080602001828103825260228152602001806139686022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6000612d5e846001600160a01b0316613436565b612d6a57506001612e76565b604051630a85bd0160e11b815233600482018181526001600160a01b03888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b83811015612de4578181015183820152602001612dcc565b50505050905090810190601f168015612e115780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015612e3357600080fd5b505af1158015612e47573d6000803e3d6000fd5b505050506040513d6020811015612e5d57600080fd5b50516001600160e01b031916630a85bd0160e11b149150505b949350505050565b6000612e898261294b565b612ec45760405162461bcd60e51b815260040180806020018281038252602c815260200180613808602c913960400191505060405180910390fd5b6000612ecf836118f0565b9050806001600160a01b0316846001600160a01b03161480612f0a5750836001600160a01b0316612eff84610d30565b6001600160a01b0316145b80612e765750612e768185612752565b612f248282612ce3565b612f5f5760405162461bcd60e51b81526004018080602001828103825260218152602001806138ef6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6001600160a01b038216612fdc576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612fe58161294b565b15613037576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260016020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526003909152902061307690612b51565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0390911660009081526006602081815260408084208054868652600784529185208290559282526001810183559183529091200155565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b826001600160a01b0316613147826118f0565b6001600160a01b03161461318c5760405162461bcd60e51b815260040180806020018281038252602981526020018061398a6029913960400191505060405180910390fd5b6001600160a01b0382166131d15760405162461bcd60e51b81526004018080602001828103825260248152602001806137e46024913960400191505060405180910390fd5b6131da8161343c565b6001600160a01b03831660009081526003602052604090206131fb90613477565b6001600160a01b038216600090815260036020526040902061321c90612b51565b60008181526001602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166000908152600660205260408120546132a290600163ffffffff61348e16565b60008381526007602052604090205490915080821461333d576001600160a01b03841660009081526006602052604081208054849081106132df57fe5b906000526020600020015490508060066000876001600160a01b03166001600160a01b03168152602001908152602001600020838154811061331d57fe5b600091825260208083209091019290925591825260079052604090208190555b6001600160a01b0384166000908152600660205260409020805490613366906000198301613708565b5050505050565b61337782826134eb565b6000818152600c60205260409020546002600019610100600184161502019091160415610e00576000818152600c60205260408120610e009161372c565b6133bf8282612ce3565b15613411576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b3b151590565b6000818152600260205260409020546001600160a01b03161561137757600090815260026020526040902080546001600160a01b0319169055565b805461348a90600163ffffffff61348e16565b9055565b6000828211156134e5576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6134f58282613517565b6134ff8282613278565b600081815260076020526040812055610e00816135ee565b816001600160a01b031661352a826118f0565b6001600160a01b03161461356f5760405162461bcd60e51b8152600401808060200182810382526025815260200180613a896025913960400191505060405180910390fd5b6135788161343c565b6001600160a01b038216600090815260036020526040902061359990613477565b60008181526001602052604080822080546001600160a01b0319169055518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60085460009061360590600163ffffffff61348e16565b6000838152600960205260408120546008805493945090928490811061362757fe5b90600052602060002001549050806008838154811061364257fe5b60009182526020808320909101929092558281526009909152604090208290556008805490613675906000198301613708565b50505060009182525060096020526040812055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106136cb57805160ff19168380011785556136f8565b828001600101855582156136f8579182015b828111156136f85782518255916020019190600101906136dd565b5061370492915061376c565b5090565b8154818355818111156112275760008381526020902061122791810190830161376c565b50805460018160011615610100020316600290046000825580601f106137525750611377565b601f01602090049060005260206000209081019061137791905b610d2d91905b80821115613704576000815560010161377256fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c654552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e526f6c65733a206163636f756e7420697320746865207a65726f20616464726573734552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e546f6b656e206d75737420626520756e6c6f636b656420746f206265207472616e736665727265642e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e64734552433732313a206275726e206f6620746f6b656e2074686174206973206e6f74206f776e546f6b656e206d757374206265206c6f636b6564206265666f7265206265696e672064657374726f7965642e546865206f776e657220686173206368616e6765642073696e63652069742077617320737570706f736520746f206265206c6f636b65642ea265627a7a7230582072c6ebffbc6c854341e770f524f4b00cadc7d6261ccdc0da356bc91af88aa48564736f6c634300050a0032526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023d5760003560e01c806370a082311161013b578063aa271e1a116100b8578063e2fdcc171161007c578063e2fdcc1714610a6f578063e600c81714610a77578063e985e9c514610b1b578063f830c32514610b49578063f851a44014610c725761023d565b8063aa271e1a1461093a578063b88d4fde14610960578063c2c68ee114610a24578063c87b56dd14610a2c578063ddeb63b514610a495761023d565b806395d89b41116100ff57806395d89b4114610832578063983b2d561461083a5780639865027514610860578063a22cb46514610868578063a6e23daf146108965761023d565b806370a082311461060957806377eb17b41461062f578063814016161461076957806386afa1101461080d5780638a7d124b146108155761023d565b80632f745c59116101c957806342842e0e1161018d57806342842e0e146105655780634f6ccce71461059b5780634fdc53f6146105b85780636352211e146105e457806367dd7bb4146106015761023d565b80632f745c59146104175780633092afd51461044357806331e9e9c01461046957806337fa492a1461049557806340c10f19146105395761023d565b806314c00ed31161021057806314c00ed31461036157806317be3fa51461037e57806318160ddd146103aa57806323b872dd146103c4578063276a28a3146103fa5761023d565b806301ffc9a71461024257806306fdde031461027d578063081812fc146102fa578063095ea7b314610333575b600080fd5b6102696004803603602081101561025857600080fd5b50356001600160e01b031916610c7a565b604080519115158252519081900360200190f35b610285610c99565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102bf5781810151838201526020016102a7565b50505050905090810190601f1680156102ec5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103176004803603602081101561031057600080fd5b5035610d30565b604080516001600160a01b039092168252519081900360200190f35b61035f6004803603604081101561034957600080fd5b506001600160a01b038135169060200135610d92565b005b6102856004803603602081101561037757600080fd5b5035610e04565b61035f6004803603604081101561039457600080fd5b506001600160a01b038135169060200135610ef7565b6103b26111b2565b60408051918252519081900360200190f35b61035f600480360360608110156103da57600080fd5b506001600160a01b038135811691602081013590911690604001356111b8565b6102696004803603602081101561041057600080fd5b503561122c565b6103b26004803603604081101561042d57600080fd5b506001600160a01b038135169060200135611296565b61035f6004803603602081101561045957600080fd5b50356001600160a01b0316611315565b61035f6004803603604081101561047f57600080fd5b506001600160a01b03813516906020013561137a565b610269600480360360208110156104ab57600080fd5b810190602081018135600160201b8111156104c557600080fd5b8201836020820111156104d757600080fd5b803590602001918460018302840111600160201b831117156104f857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506115e0945050505050565b6102696004803603604081101561054f57600080fd5b506001600160a01b03813516906020013561164b565b61035f6004803603606081101561057b57600080fd5b506001600160a01b038135811691602081013590911690604001356116a4565b6103b2600480360360208110156105b157600080fd5b50356116bf565b61035f600480360360408110156105ce57600080fd5b506001600160a01b038135169060200135611725565b610317600480360360208110156105fa57600080fd5b50356118f0565b61026961194a565b6103b26004803603602081101561061f57600080fd5b50356001600160a01b031661195a565b61035f6004803603606081101561064557600080fd5b810190602081018135600160201b81111561065f57600080fd5b82018360208201111561067157600080fd5b803590602001918460018302840111600160201b8311171561069257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092956001600160a01b03853516959094909350604081019250602001359050600160201b8111156106f557600080fd5b82018360208201111561070757600080fd5b803590602001918460018302840111600160201b8311171561072857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506119c2945050505050565b6103176004803603602081101561077f57600080fd5b810190602081018135600160201b81111561079957600080fd5b8201836020820111156107ab57600080fd5b803590602001918460018302840111600160201b831117156107cc57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611c9e945050505050565b61035f611dc3565b61035f6004803603602081101561082b57600080fd5b5035611eb9565b6102856121bf565b61035f6004803603602081101561085057600080fd5b50356001600160a01b0316612220565b61035f61226d565b61035f6004803603604081101561087e57600080fd5b506001600160a01b0381351690602001351515612278565b6103b2600480360360208110156108ac57600080fd5b810190602081018135600160201b8111156108c657600080fd5b8201836020820111156108d857600080fd5b803590602001918460018302840111600160201b831117156108f957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506122d6945050505050565b6102696004803603602081101561095057600080fd5b50356001600160a01b03166123eb565b61035f6004803603608081101561097657600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b8111156109b057600080fd5b8201836020820111156109c257600080fd5b803590602001918460018302840111600160201b831117156109e357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506123fe945050505050565b61035f612456565b61028560048036036020811015610a4257600080fd5b503561254a565b61035f60048036036020811015610a5f57600080fd5b50356001600160a01b03166125f8565b610317612686565b61026960048036036020811015610a8d57600080fd5b810190602081018135600160201b811115610aa757600080fd5b820183602082011115610ab957600080fd5b803590602001918460018302840111600160201b83111715610ada57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612695945050505050565b61026960048036036040811015610b3157600080fd5b506001600160a01b0381358116916020013516612752565b61035f60048036036040811015610b5f57600080fd5b810190602081018135600160201b811115610b7957600080fd5b820183602082011115610b8b57600080fd5b803590602001918460018302840111600160201b83111715610bac57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610bfe57600080fd5b820183602082011115610c1057600080fd5b803590602001918460018302840111600160201b83111715610c3157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612780945050505050565b61031761293c565b6001600160e01b03191660009081526020819052604090205460ff1690565b600a8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d255780601f10610cfa57610100808354040283529160200191610d25565b820191906000526020600020905b815481529060010190602001808311610d0857829003601f168201915b505050505090505b90565b6000610d3b8261294b565b610d765760405162461bcd60e51b815260040180806020018281038252602c815260200180613910602c913960400191505060405180910390fd5b506000908152600260205260409020546001600160a01b031690565b600f54600160a01b900460ff16158015610dbb575060008181526013602052604090205460ff16155b610df65760405162461bcd60e51b81526004018080602001828103825260298152602001806139e26029913960400191505060405180910390fd5b610e008282612968565b5050565b6060610e0f8261294b565b610e58576040805162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015290519081900360640190fd5b60008281526011602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610eeb5780601f10610ec057610100808354040283529160200191610eeb565b820191906000526020600020905b815481529060010190602001808311610ece57829003601f168201915b50505050509050919050565b610f00336123eb565b610f3b5760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b610f448161294b565b610f8d576040805162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015290519081900360640190fd5b60008181526013602052604090205460ff1615610ff1576040805162461bcd60e51b815260206004820152601860248201527f546f6b656e20697320616c7265616479206c6f636b65642e0000000000000000604482015290519081900360640190fd5b816001600160a01b0316611004826118f0565b6001600160a01b0316146110495760405162461bcd60e51b8152600401808060200182810382526038815260200180613ada6038913960400191505060405180910390fd5b6000818152601360205260409020805460ff19166001179055600e54611078906001600160a01b031682611725565b60008181526011602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084526060939283018282801561110d5780601f106110e25761010080835404028352916020019161110d565b820191906000526020600020905b8154815290600101906020018083116110f057829003601f168201915b505050505090507fb069ec2d5ccbd4a25e6f8ad154a1c62862586f38761b190e08432522a8cfbaae816040518080602001828103825283818151815260200191508051906020019080838360005b8381101561117357818101518382015260200161115b565b50505050905090810190601f1680156111a05780820380516001836020036101000a031916815260200191505b509250505060405180910390a1505050565b60085490565b600f54600160a01b900460ff161580156111e1575060008181526013602052604090205460ff16155b61121c5760405162461bcd60e51b81526004018080602001828103825260298152602001806139e26029913960400191505060405180910390fd5b611227838383612a79565b505050565b60006112378261294b565b611280576040805162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015290519081900360640190fd5b5060009081526013602052604090205460ff1690565b60006112a18361195a565b82106112de5760405162461bcd60e51b815260040180806020018281038252602b815260200180613787602b913960400191505060405180910390fd5b6001600160a01b038316600090815260066020526040902080548390811061130257fe5b9060005260206000200154905092915050565b600f546001600160a01b0316331461136e576040805162461bcd60e51b815260206004820152601760248201527627b7363c9030b236b4b71031b0b7103237903a3434b99760491b604482015290519081900360640190fd5b61137781612ac9565b50565b611383336123eb565b6113be5760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b6113c78161294b565b611410576040805162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015290519081900360640190fd5b60008181526013602052604090205460ff16611473576040805162461bcd60e51b815260206004820152601a60248201527f546f6b656e20697320616c726561647920756e6c6f636b65642e000000000000604482015290519081900360640190fd5b600e546001600160a01b0316611488826118f0565b6001600160a01b0316146114cd5760405162461bcd60e51b8152600401808060200182810382526038815260200180613ada6038913960400191505060405180910390fd5b6114d78282611725565b6000818152601360209081526040808320805460ff19169055601182529182902080548351601f600260001960018516156101000201909316929092049182018490048402810184019094528084526060939283018282801561157b5780601f106115505761010080835404028352916020019161157b565b820191906000526020600020905b81548152906001019060200180831161155e57829003601f168201915b505050505090507f67a92a5e2f011b1c7421a7a9459e87f18b7faad9956deb9e2453cb1cd8c7317c816040518080602001828103825283818151815260200191508051906020019080838360008381101561117357818101518382015260200161115b565b60006010826040518082805190602001908083835b602083106116145780518252601f1990920191602091820191016115f5565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16949350505050565b6000611656336123eb565b6116915760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b61169b8383612b11565b50600192915050565b611227838383604051806020016040528060008152506123fe565b60006116c96111b2565b82106117065760405162461bcd60e51b815260040180806020018281038252602c815260200180613a5d602c913960400191505060405180910390fd5b6008828154811061171357fe5b90600052602060002001549050919050565b61172e336123eb565b6117695760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b6000611774826118f0565b9050611781818484612b2e565b60008281526011602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156118165780601f106117eb57610100808354040283529160200191611816565b820191906000526020600020905b8154815290600101906020018083116117f957829003601f168201915b505050505090507fb16bde656bb957ad96238299544a74793d54c3344824cd5e6f594c7df302ccb182858360405180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156118ae578181015183820152602001611896565b50505050905090810190601f1680156118db5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150505050565b6000818152600160205260408120546001600160a01b0316806119445760405162461bcd60e51b81526004018080602001828103825260298152602001806138966029913960400191505060405180910390fd5b92915050565b600f54600160a01b900460ff1681565b60006001600160a01b0382166119a15760405162461bcd60e51b815260040180806020018281038252602a81526020018061386c602a913960400191505060405180910390fd5b6001600160a01b038216600090815260036020526040902061194490612b4d565b6119cb336123eb565b611a065760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b6010836040518082805190602001908083835b60208310611a385780518252601f199092019160209182019101611a19565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150611ab49050576040805162461bcd60e51b81526020600482015260146024820152732aaaa4a21030b63932b0b23c9032bc34b9ba399760611b604482015290519081900360640190fd5b611abe600d612b51565b6000611aca600d612b4d565b9050611ad6838261164b565b50611ae18183612b5a565b60016010856040518082805190602001908083835b60208310611b155780518252601f199092019160209182019101611af6565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff191695151595909517909455505085518392601292889290918291908401908083835b60208310611b865780518252601f199092019160209182019101611b67565b51815160209384036101000a600019018019909216911617905292019485525060408051948590038201909420949094555050600083815260118352208551611bd19287019061368a565b506000818152601360209081526040808320805460ff1916600117905580516001600160a01b0387168184015281815287519181019190915286517ffdc90d498a1602314464a0907c52c51090745809fb1655b49df42e9333129f7093889388939283926060840192870191908190849084905b83811015611c5d578181015183820152602001611c45565b50505050905090810190601f168015611c8a5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a150505050565b60006010826040518082805190602001908083835b60208310611cd25780518252601f199092019160209182019101611cb3565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150611d4d9050576040805162461bcd60e51b81526020600482015260146024820152732aaaa4a2103237b2b9903737ba1032bc34b9ba1760611b604482015290519081900360640190fd5b60006012836040518082805190602001908083835b60208310611d815780518252601f199092019160209182019101611d62565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549250611dbc91508290506118f0565b9392505050565b600f546001600160a01b03163314611e1c576040805162461bcd60e51b815260206004820152601760248201527627b7363c9030b236b4b71031b0b7103237903a3434b99760491b604482015290519081900360640190fd5b600f54600160a01b900460ff1615611e7b576040805162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c7265616479206c6f636b65642e000000000000000000604482015290519081900360640190fd5b600f805460ff60a01b1916600160a01b1790556040517f0ca95e2edd6ed7fba1d384adb94cd01a3cf994e478d5a00d6f0ee5e523512d2690600090a1565b611ec2336123eb565b611efd5760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b611f068161294b565b611f4f576040805162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015290519081900360640190fd5b60008181526013602052604090205460ff16611f9c5760405162461bcd60e51b815260040180806020018281038252602c815260200180613aae602c913960400191505060405180910390fd5b60008181526011602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156120315780601f1061200657610100808354040283529160200191612031565b820191906000526020600020905b81548152906001019060200180831161201457829003601f168201915b505050505090506010816040518082805190602001908083835b6020831061206a5780518252601f19909201916020918201910161204b565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff191690558451601294869450925082918401908083835b602083106120cf5780518252601f1990920191602091820191016120b0565b51815160209384036101000a600019018019909216911617905292019485525060408051948590038201909420600090819055868152601390915292909220805460ff1916905550612122905082612bbd565b7f8995cdb6bf2110f1c98bd7e40de2b936043ff6a855f056e4ff4f10cfb734a9f3816040518080602001828103825283818151815260200191508051906020019080838360005b83811015612181578181015183820152602001612169565b50505050905090810190601f1680156121ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390a15050565b600b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d255780601f10610cfa57610100808354040283529160200191610d25565b612229336123eb565b6122645760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b61137781612bcf565b61227633612ac9565b565b600f54600160a01b900460ff16156122cc576040805162461bcd60e51b81526020600482015260126024820152712a3930b234b7339034b9903637b1b5b2b21760711b604482015290519081900360640190fd5b610e008282612c17565b60006010826040518082805190602001908083835b6020831061230a5780518252601f1990920191602091820191016122eb565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1691506123859050576040805162461bcd60e51b81526020600482015260146024820152732aaaa4a2103237b2b9903737ba1032bc34b9ba1760611b604482015290519081900360640190fd5b6012826040518082805190602001908083835b602083106123b75780518252601f199092019160209182019101612398565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054949350505050565b600061194460058363ffffffff612ce316565b6124098484846111b8565b61241584848484612d4a565b6124505760405162461bcd60e51b81526004018080602001828103825260328152602001806137b26032913960400191505060405180910390fd5b50505050565b600f546001600160a01b031633146124af576040805162461bcd60e51b815260206004820152601760248201527627b7363c9030b236b4b71031b0b7103237903a3434b99760491b604482015290519081900360640190fd5b600f54600160a01b900460ff161515600114612512576040805162461bcd60e51b815260206004820152601960248201527f54726164696e6720616c726561647920756e6c6f636b65642e00000000000000604482015290519081900360640190fd5b600f805460ff60a01b191690556040517fbc193b38a86259753b2304a3deea58b27801b601536584869dadfeb56c658c0a90600090a1565b60606125558261294b565b6125905760405162461bcd60e51b815260040180806020018281038252602f8152602001806139b3602f913960400191505060405180910390fd5b6000828152600c602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610eeb5780601f10610ec057610100808354040283529160200191610eeb565b600f546001600160a01b03163314612651576040805162461bcd60e51b815260206004820152601760248201527627b7363c9030b236b4b71031b0b7103237903a3434b99760491b604482015290519081900360640190fd5b6001600160a01b03811661266457600080fd5b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b600e546001600160a01b031681565b60007fee1ed0d88ee3dedc04c564df4fe6ca40f422c672318c5621a99fc850ddbc1f5a82336040518080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b8381101561270f5781810151838201526020016126f7565b50505050905090810190601f16801561273c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a1506001919050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b612789336123eb565b6127c45760405162461bcd60e51b81526004018080602001828103825260308152602001806138bf6030913960400191505060405180910390fd5b6010826040518082805190602001908083835b602083106127f65780518252601f1990920191602091820191016127d7565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1691506128719050576040805162461bcd60e51b81526020600482015260146024820152732aaaa4a2103237b2b9903737ba1032bc34b9ba1760611b604482015290519081900360640190fd5b60006012836040518082805190602001908083835b602083106128a55780518252601f199092019160209182019101612886565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205492506128e1915082905083612b5a565b60408051602080825285518183015285517f6714407191569b7b9edd5db2d624b8e2281272e577950f0e87ca156570ffe9e493879392839291830191908501908083836000831561117357818101518382015260200161115b565b600f546001600160a01b031681565b6000908152600160205260409020546001600160a01b0316151590565b6000612973826118f0565b9050806001600160a01b0316836001600160a01b031614156129c65760405162461bcd60e51b8152600401808060200182810382526021815260200180613a0b6021913960400191505060405180910390fd5b336001600160a01b03821614806129e257506129e28133612752565b612a1d5760405162461bcd60e51b81526004018080602001828103825260388152602001806138346038913960400191505060405180910390fd5b60008281526002602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b612a833382612e7e565b612abe5760405162461bcd60e51b8152600401808060200182810382526031815260200180613a2c6031913960400191505060405180910390fd5b611227838383612b2e565b612ada60058263ffffffff612f1a16565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b612b1b8282612f81565b612b2582826130b2565b610e00816130f0565b612b39838383613134565b612b438382613278565b61122782826130b2565b5490565b80546001019055565b612b638261294b565b612b9e5760405162461bcd60e51b815260040180806020018281038252602c81526020018061393c602c913960400191505060405180910390fd5b6000828152600c6020908152604090912082516112279284019061368a565b611377612bc9826118f0565b8261336d565b612be060058263ffffffff6133b516565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6001600160a01b038216331415612c75576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b60006001600160a01b038216612d2a5760405162461bcd60e51b81526004018080602001828103825260228152602001806139686022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6000612d5e846001600160a01b0316613436565b612d6a57506001612e76565b604051630a85bd0160e11b815233600482018181526001600160a01b03888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b83811015612de4578181015183820152602001612dcc565b50505050905090810190601f168015612e115780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015612e3357600080fd5b505af1158015612e47573d6000803e3d6000fd5b505050506040513d6020811015612e5d57600080fd5b50516001600160e01b031916630a85bd0160e11b149150505b949350505050565b6000612e898261294b565b612ec45760405162461bcd60e51b815260040180806020018281038252602c815260200180613808602c913960400191505060405180910390fd5b6000612ecf836118f0565b9050806001600160a01b0316846001600160a01b03161480612f0a5750836001600160a01b0316612eff84610d30565b6001600160a01b0316145b80612e765750612e768185612752565b612f248282612ce3565b612f5f5760405162461bcd60e51b81526004018080602001828103825260218152602001806138ef6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6001600160a01b038216612fdc576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612fe58161294b565b15613037576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260016020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526003909152902061307690612b51565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0390911660009081526006602081815260408084208054868652600784529185208290559282526001810183559183529091200155565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b826001600160a01b0316613147826118f0565b6001600160a01b03161461318c5760405162461bcd60e51b815260040180806020018281038252602981526020018061398a6029913960400191505060405180910390fd5b6001600160a01b0382166131d15760405162461bcd60e51b81526004018080602001828103825260248152602001806137e46024913960400191505060405180910390fd5b6131da8161343c565b6001600160a01b03831660009081526003602052604090206131fb90613477565b6001600160a01b038216600090815260036020526040902061321c90612b51565b60008181526001602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166000908152600660205260408120546132a290600163ffffffff61348e16565b60008381526007602052604090205490915080821461333d576001600160a01b03841660009081526006602052604081208054849081106132df57fe5b906000526020600020015490508060066000876001600160a01b03166001600160a01b03168152602001908152602001600020838154811061331d57fe5b600091825260208083209091019290925591825260079052604090208190555b6001600160a01b0384166000908152600660205260409020805490613366906000198301613708565b5050505050565b61337782826134eb565b6000818152600c60205260409020546002600019610100600184161502019091160415610e00576000818152600c60205260408120610e009161372c565b6133bf8282612ce3565b15613411576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b3b151590565b6000818152600260205260409020546001600160a01b03161561137757600090815260026020526040902080546001600160a01b0319169055565b805461348a90600163ffffffff61348e16565b9055565b6000828211156134e5576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6134f58282613517565b6134ff8282613278565b600081815260076020526040812055610e00816135ee565b816001600160a01b031661352a826118f0565b6001600160a01b03161461356f5760405162461bcd60e51b8152600401808060200182810382526025815260200180613a896025913960400191505060405180910390fd5b6135788161343c565b6001600160a01b038216600090815260036020526040902061359990613477565b60008181526001602052604080822080546001600160a01b0319169055518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60085460009061360590600163ffffffff61348e16565b6000838152600960205260408120546008805493945090928490811061362757fe5b90600052602060002001549050806008838154811061364257fe5b60009182526020808320909101929092558281526009909152604090208290556008805490613675906000198301613708565b50505060009182525060096020526040812055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106136cb57805160ff19168380011785556136f8565b828001600101855582156136f8579182015b828111156136f85782518255916020019190600101906136dd565b5061370492915061376c565b5090565b8154818355818111156112275760008381526020902061122791810190830161376c565b50805460018160011615610100020316600290046000825580601f106137525750611377565b601f01602090049060005260206000209081019061137791905b610d2d91905b80821115613704576000815560010161377256fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c654552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e526f6c65733a206163636f756e7420697320746865207a65726f20616464726573734552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e546f6b656e206d75737420626520756e6c6f636b656420746f206265207472616e736665727265642e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e64734552433732313a206275726e206f6620746f6b656e2074686174206973206e6f74206f776e546f6b656e206d757374206265206c6f636b6564206265666f7265206265696e672064657374726f7965642e546865206f776e657220686173206368616e6765642073696e63652069742077617320737570706f736520746f206265206c6f636b65642ea265627a7a7230582072c6ebffbc6c854341e770f524f4b00cadc7d6261ccdc0da356bc91af88aa48564736f6c634300050a0032
Swarm Source
bzzr://72c6ebffbc6c854341e770f524f4b00cadc7d6261ccdc0da356bc91af88aa485
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.