Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ArtMuseumV2
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2018-07-18
*/
pragma solidity ^0.4.18;
// File: contracts/LikeCoinInterface.sol
// Copyright (C) 2017 LikeCoin Foundation Limited
//
// This file is part of LikeCoin Smart Contract.
//
// LikeCoin Smart Contract is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// LikeCoin Smart Contract is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with LikeCoin Smart Contract. If not, see <http://www.gnu.org/licenses/>.
pragma solidity ^0.4.18;
contract LikeCoinInterface {
function balanceOf(address _owner) public constant returns (uint256 balance);
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
function approve(address _spender, uint256 _value) public returns (bool success);
}
// File: contracts/Ownable.sol
contract Ownable {
address public owner;
address public pendingOwner;
address public operator;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
*/
constructor() public {
owner = msg.sender;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
/**
* @dev Modifier throws if called by any account other than the pendingOwner.
*/
modifier onlyPendingOwner() {
require(msg.sender == pendingOwner);
_;
}
modifier ownerOrOperator {
require(msg.sender == owner || msg.sender == operator);
_;
}
/**
* @dev Allows the current owner to set the pendingOwner address.
* @param newOwner The address to transfer ownership to.
*/
function transferOwnership(address newOwner) onlyOwner public {
pendingOwner = newOwner;
}
/**
* @dev Allows the pendingOwner address to finalize the transfer.
*/
function claimOwnership() onlyPendingOwner public {
emit OwnershipTransferred(owner, pendingOwner);
owner = pendingOwner;
pendingOwner = address(0);
}
function setOperator(address _operator) onlyOwner public {
operator = _operator;
}
}
// File: contracts/ArtMuseumBase.sol
contract ArtMuseumBase is Ownable {
struct Artwork {
uint8 artworkType;
uint32 sequenceNumber;
uint128 value;
address player;
}
LikeCoinInterface public like;
/** array holding ids mapping of the curret artworks*/
uint32[] public ids;
/** the last sequence id to be given to the link artwork **/
uint32 public lastId;
/** the id of the oldest artwork */
uint32 public oldest;
/** the artwork belonging to a given id */
mapping(uint32 => Artwork) artworks;
/** the user purchase sequence number per each artwork type */
mapping(address=>mapping(uint8 => uint32)) userArtworkSequenceNumber;
/** the cost of each artwork type */
uint128[] public costs;
/** the value of each artwork type (cost - fee), so it's not necessary to compute it each time*/
uint128[] public values;
/** the fee to be paid each time an artwork is bought in percent*/
uint8 public fee;
/** total number of artworks in the game (uint32 because of multiplication issues) */
uint32 public numArtworks;
/** The maximum of artworks allowed in the game */
uint16 public maxArtworks;
/** number of artworks per type */
uint32[] numArtworksXType;
/** initializes the contract parameters */
function init(address _likeAddr) public onlyOwner {
require(like==address(0));
like = LikeCoinInterface(_likeAddr);
costs = [800 ether, 2000 ether, 5000 ether, 12000 ether, 25000 ether];
setFee(5);
maxArtworks = 1000;
lastId = 1;
oldest = 0;
}
function deposit() payable public {
}
function withdrawBalance() public onlyOwner returns(bool res) {
owner.transfer(address(this).balance);
return true;
}
/**
* allows the owner to collect the accumulated fees
* sends the given amount to the owner's address if the amount does not exceed the
* fees (cannot touch the players' balances)
* */
function collectFees(uint128 amount) public onlyOwner {
uint collectedFees = getFees();
if (amount <= collectedFees) {
like.transfer(owner,amount);
}
}
function getArtwork(uint32 artworkId) public constant returns(uint8 artworkType, uint32 sequenceNumber, uint128 value, address player) {
return (artworks[artworkId].artworkType, artworks[artworkId].sequenceNumber, artworks[artworkId].value, artworks[artworkId].player);
}
function getAllArtworks() public constant returns(uint32[] artworkIds,uint8[] types,uint32[] sequenceNumbers, uint128[] artworkValues) {
uint32 id;
artworkIds = new uint32[](numArtworks);
types = new uint8[](numArtworks);
sequenceNumbers = new uint32[](numArtworks);
artworkValues = new uint128[](numArtworks);
for (uint16 i = 0; i < numArtworks; i++) {
id = ids[i];
artworkIds[i] = id;
types[i] = artworks[id].artworkType;
sequenceNumbers[i] = artworks[id].sequenceNumber;
artworkValues[i] = artworks[id].value;
}
}
function getAllArtworksByOwner() public constant returns(uint32[] artworkIds,uint8[] types,uint32[] sequenceNumbers, uint128[] artworkValues) {
uint32 id;
uint16 j = 0;
uint16 howmany = 0;
address player = address(msg.sender);
for (uint16 k = 0; k < numArtworks; k++) {
if (artworks[ids[k]].player == player)
howmany++;
}
artworkIds = new uint32[](howmany);
types = new uint8[](howmany);
sequenceNumbers = new uint32[](howmany);
artworkValues = new uint128[](howmany);
for (uint16 i = 0; i < numArtworks; i++) {
if (artworks[ids[i]].player == player) {
id = ids[i];
artworkIds[j] = id;
types[j] = artworks[id].artworkType;
sequenceNumbers[j] = artworks[id].sequenceNumber;
artworkValues[j] = artworks[id].value;
j++;
}
}
}
function setCosts(uint128[] _costs) public onlyOwner {
require(_costs.length >= costs.length);
costs = _costs;
setFee(fee);
}
function setFee(uint8 _fee) public onlyOwner {
fee = _fee;
for (uint8 i = 0; i < costs.length; i++) {
if (i < values.length)
values[i] = costs[i] - costs[i] / 100 * fee;
else {
values.push(costs[i] - costs[i] / 100 * fee);
numArtworksXType.push(0);
}
}
}
function getFees() public constant returns(uint) {
uint reserved = 0;
for (uint16 j = 0; j < numArtworks; j++)
reserved += artworks[ids[j]].value;
return like.balanceOf(this) - reserved;
}
}
// File: contracts/oraclizeAPI.sol
// <ORACLIZE_API>
/*
Copyright (c) 2015-2016 Oraclize SRL
Copyright (c) 2016 Oraclize LTD
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
// This api is currently targeted at 0.4.18, please import oraclizeAPI_pre0.4.sol or oraclizeAPI_0.4 where necessary
pragma solidity ^0.4.20;//<=0.4.20;// Incompatible compiler version... please select one stated within pragma solidity or use different oraclizeAPI version
contract OraclizeI {
address public cbAddress;
function query(uint _timestamp, string _datasource, string _arg) external payable returns (bytes32 _id);
function query_withGasLimit(uint _timestamp, string _datasource, string _arg, uint _gaslimit) external payable returns (bytes32 _id);
function query2(uint _timestamp, string _datasource, string _arg1, string _arg2) public payable returns (bytes32 _id);
function query2_withGasLimit(uint _timestamp, string _datasource, string _arg1, string _arg2, uint _gaslimit) external payable returns (bytes32 _id);
function queryN(uint _timestamp, string _datasource, bytes _argN) public payable returns (bytes32 _id);
function queryN_withGasLimit(uint _timestamp, string _datasource, bytes _argN, uint _gaslimit) external payable returns (bytes32 _id);
function getPrice(string _datasource) public returns (uint _dsprice);
function getPrice(string _datasource, uint gaslimit) public returns (uint _dsprice);
function setProofType(byte _proofType) external;
function setCustomGasPrice(uint _gasPrice) external;
function randomDS_getSessionPubKeyHash() external constant returns(bytes32);
}
contract OraclizeAddrResolverI {
function getAddress() public returns (address _addr);
}
contract usingOraclize { // is ArtMuseumBase {
uint constant day = 60*60*24;
uint constant week = 60*60*24*7;
uint constant month = 60*60*24*30;
byte constant proofType_NONE = 0x00;
byte constant proofType_TLSNotary = 0x10;
byte constant proofType_Android = 0x20;
byte constant proofType_Ledger = 0x30;
byte constant proofType_Native = 0xF0;
byte constant proofStorage_IPFS = 0x01;
uint8 constant networkID_auto = 0;
uint8 constant networkID_mainnet = 1;
uint8 constant networkID_testnet = 2;
uint8 constant networkID_morden = 2;
uint8 constant networkID_consensys = 161;
string oraclize_network_name;
OraclizeAddrResolverI OAR;
OraclizeI oraclize;
modifier oraclizeAPI {
if((address(OAR)==0)||(getCodeSize(address(OAR))==0))
oraclize_setNetwork(networkID_auto);
if(address(oraclize) != OAR.getAddress())
oraclize = OraclizeI(OAR.getAddress());
_;
}
function oraclize_setNetwork(uint8 networkID) internal returns(bool){
return oraclize_setNetwork();
networkID; // silence the warning and remain backwards compatible
}
function oraclize_setNetwork() internal returns(bool){
if (getCodeSize(0x1d3B2638a7cC9f2CB3D298A3DA7a90B67E5506ed)>0){ //mainnet
OAR = OraclizeAddrResolverI(0x1d3B2638a7cC9f2CB3D298A3DA7a90B67E5506ed);
oraclize_setNetworkName("eth_mainnet");
return true;
}
if (getCodeSize(0xc03A2615D5efaf5F49F60B7BB6583eaec212fdf1)>0){ //ropsten testnet
OAR = OraclizeAddrResolverI(0xc03A2615D5efaf5F49F60B7BB6583eaec212fdf1);
oraclize_setNetworkName("eth_ropsten3");
return true;
}
if (getCodeSize(0xB7A07BcF2Ba2f2703b24C0691b5278999C59AC7e)>0){ //kovan testnet
OAR = OraclizeAddrResolverI(0xB7A07BcF2Ba2f2703b24C0691b5278999C59AC7e);
oraclize_setNetworkName("eth_kovan");
return true;
}
if (getCodeSize(0x146500cfd35B22E4A392Fe0aDc06De1a1368Ed48)>0){ //rinkeby testnet
OAR = OraclizeAddrResolverI(0x146500cfd35B22E4A392Fe0aDc06De1a1368Ed48);
oraclize_setNetworkName("eth_rinkeby");
return true;
}
if (getCodeSize(0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475)>0){ //ethereum-bridge
OAR = OraclizeAddrResolverI(0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475);
return true;
}
if (getCodeSize(0x20e12A1F859B3FeaE5Fb2A0A32C18F5a65555bBF)>0){ //ether.camp ide
OAR = OraclizeAddrResolverI(0x20e12A1F859B3FeaE5Fb2A0A32C18F5a65555bBF);
return true;
}
if (getCodeSize(0x51efaF4c8B3C9AfBD5aB9F4bbC82784Ab6ef8fAA)>0){ //browser-solidity
OAR = OraclizeAddrResolverI(0x51efaF4c8B3C9AfBD5aB9F4bbC82784Ab6ef8fAA);
return true;
}
return false;
}
function oraclize_getPrice(string datasource) oraclizeAPI internal returns (uint){
return oraclize.getPrice(datasource);
}
function oraclize_getPrice(string datasource, uint gaslimit) oraclizeAPI internal returns (uint){
return oraclize.getPrice(datasource, gaslimit);
}
function oraclize_query(string datasource, string arg) oraclizeAPI internal returns (bytes32 id){
uint price = oraclize.getPrice(datasource);
if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
return oraclize.query.value(price)(0, datasource, arg);
}
function oraclize_query(uint timestamp, string datasource, string arg) oraclizeAPI internal returns (bytes32 id){
uint price = oraclize.getPrice(datasource);
if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
return oraclize.query.value(price)(timestamp, datasource, arg);
}
function oraclize_query(uint timestamp, string datasource, string arg, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
uint price = oraclize.getPrice(datasource, gaslimit);
if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
return oraclize.query_withGasLimit.value(price)(timestamp, datasource, arg, gaslimit);
}
function oraclize_query(string datasource, string arg, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
uint price = oraclize.getPrice(datasource, gaslimit);
if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
return oraclize.query_withGasLimit.value(price)(0, datasource, arg, gaslimit);
}
function oraclize_query(string datasource, string arg1, string arg2) oraclizeAPI internal returns (bytes32 id){
uint price = oraclize.getPrice(datasource);
if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
return oraclize.query2.value(price)(0, datasource, arg1, arg2);
}
function oraclize_query(uint timestamp, string datasource, string arg1, string arg2) oraclizeAPI internal returns (bytes32 id){
uint price = oraclize.getPrice(datasource);
if (price > 1 ether + tx.gasprice*200000) return 0; // unexpectedly high price
return oraclize.query2.value(price)(timestamp, datasource, arg1, arg2);
}
function oraclize_query(uint timestamp, string datasource, string arg1, string arg2, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
uint price = oraclize.getPrice(datasource, gaslimit);
if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
return oraclize.query2_withGasLimit.value(price)(timestamp, datasource, arg1, arg2, gaslimit);
}
function oraclize_query(string datasource, string arg1, string arg2, uint gaslimit) oraclizeAPI internal returns (bytes32 id){
uint price = oraclize.getPrice(datasource, gaslimit);
if (price > 1 ether + tx.gasprice*gaslimit) return 0; // unexpectedly high price
return oraclize.query2_withGasLimit.value(price)(0, datasource, arg1, arg2, gaslimit);
}
function oraclize_cbAddress() oraclizeAPI internal returns (address){
return oraclize.cbAddress();
}
function oraclize_setCustomGasPrice(uint gasPrice) oraclizeAPI internal {
return oraclize.setCustomGasPrice(gasPrice);
}
function getCodeSize(address _addr) constant internal returns(uint _size) {
assembly {
_size := extcodesize(_addr)
}
}
// parseInt
function parseInt(string _a) internal pure returns (uint) {
return parseInt(_a, 0);
}
// parseInt(parseFloat*10^_b)
function parseInt(string _a, uint _b) internal pure returns (uint) {
bytes memory bresult = bytes(_a);
uint mint = 0;
bool decimals = false;
for (uint i=0; i<bresult.length; i++){
if ((bresult[i] >= 48)&&(bresult[i] <= 57)){
if (decimals){
if (_b == 0) break;
else _b--;
}
mint *= 10;
mint += uint(bresult[i]) - 48;
} else if (bresult[i] == 46) decimals = true;
}
if (_b > 0) mint *= 10**_b;
return mint;
}
function oraclize_setNetworkName(string _network_name) internal {
oraclize_network_name = _network_name;
}
function oraclize_getNetworkName() internal view returns (string) {
return oraclize_network_name;
}
}
// File: contracts/strings.sol
/*
* @title String & slice utility library for Solidity contracts.
* @author Nick Johnson <arachnid@notdot.net>
*
* @dev Functionality in this library is largely implemented using an
* abstraction called a 'slice'. A slice represents a part of a string -
* anything from the entire string to a single character, or even no
* characters at all (a 0-length slice). Since a slice only has to specify
* an offset and a length, copying and manipulating slices is a lot less
* expensive than copying and manipulating the strings they reference.
*
* To further reduce gas costs, most functions on slice that need to return
* a slice modify the original one instead of allocating a new one; for
* instance, `s.split(".")` will return the text up to the first '.',
* modifying s to only contain the remainder of the string after the '.'.
* In situations where you do not want to modify the original slice, you
* can make a copy first with `.copy()`, for example:
* `s.copy().split(".")`. Try and avoid using this idiom in loops; since
* Solidity has no memory management, it will result in allocating many
* short-lived slices that are later discarded.
*
* Functions that return two slices come in two versions: a non-allocating
* version that takes the second slice as an argument, modifying it in
* place, and an allocating version that allocates and returns the second
* slice; see `nextRune` for example.
*
* Functions that have to copy string data will return strings rather than
* slices; these can be cast back to slices for further processing if
* required.
*
* For convenience, some functions are provided with non-modifying
* variants that create a new slice and return both; for instance,
* `s.splitNew('.')` leaves s unmodified, and returns two values
* corresponding to the left and right parts of the string.
*/
pragma solidity ^0.4.14;
library strings {
struct slice {
uint _len;
uint _ptr;
}
function memcpy(uint dest, uint src, uint len) private pure {
// Copy word-length chunks while possible
for(; len >= 32; len -= 32) {
assembly {
mstore(dest, mload(src))
}
dest += 32;
src += 32;
}
// Copy remaining bytes
uint mask = 256 ** (32 - len) - 1;
assembly {
let srcpart := and(mload(src), not(mask))
let destpart := and(mload(dest), mask)
mstore(dest, or(destpart, srcpart))
}
}
/*
* @dev Returns a slice containing the entire string.
* @param self The string to make a slice from.
* @return A newly allocated slice containing the entire string.
*/
function toSlice(string self) internal pure returns (slice) {
uint ptr;
assembly {
ptr := add(self, 0x20)
}
return slice(bytes(self).length, ptr);
}
/*
* @dev Copies a slice to a new string.
* @param self The slice to copy.
* @return A newly allocated string containing the slice's text.
*/
function toString(slice self) internal pure returns (string) {
string memory ret = new string(self._len);
uint retptr;
assembly { retptr := add(ret, 32) }
memcpy(retptr, self._ptr, self._len);
return ret;
}
// Returns the memory address of the first byte of the first occurrence of
// `needle` in `self`, or the first byte after `self` if not found.
function findPtr(uint selflen, uint selfptr, uint needlelen, uint needleptr) private pure returns (uint) {
uint ptr = selfptr;
uint idx;
if (needlelen <= selflen) {
if (needlelen <= 32) {
bytes32 mask = bytes32(~(2 ** (8 * (32 - needlelen)) - 1));
bytes32 needledata;
assembly { needledata := and(mload(needleptr), mask) }
uint end = selfptr + selflen - needlelen;
bytes32 ptrdata;
assembly { ptrdata := and(mload(ptr), mask) }
while (ptrdata != needledata) {
if (ptr >= end)
return selfptr + selflen;
ptr++;
assembly { ptrdata := and(mload(ptr), mask) }
}
return ptr;
} else {
// For long needles, use hashing
bytes32 hash;
assembly { hash := sha3(needleptr, needlelen) }
for (idx = 0; idx <= selflen - needlelen; idx++) {
bytes32 testHash;
assembly { testHash := sha3(ptr, needlelen) }
if (hash == testHash)
return ptr;
ptr += 1;
}
}
}
return selfptr + selflen;
}
/*
* @dev Splits the slice, setting `self` to everything after the first
* occurrence of `needle`, and `token` to everything before it. If
* `needle` does not occur in `self`, `self` is set to the empty slice,
* and `token` is set to the entirety of `self`.
* @param self The slice to split.
* @param needle The text to search for in `self`.
* @param token An output parameter to which the first token is written.
* @return `token`.
*/
function split(slice self, slice needle, slice token) internal pure returns (slice) {
uint ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr);
token._ptr = self._ptr;
token._len = ptr - self._ptr;
if (ptr == self._ptr + self._len) {
// Not found
self._len = 0;
} else {
self._len -= token._len + needle._len;
self._ptr = ptr + needle._len;
}
return token;
}
/*
* @dev Splits the slice, setting `self` to everything after the first
* occurrence of `needle`, and returning everything before it. If
* `needle` does not occur in `self`, `self` is set to the empty slice,
* and the entirety of `self` is returned.
* @param self The slice to split.
* @param needle The text to search for in `self`.
* @return The part of `self` up to the first occurrence of `delim`.
*/
function split(slice self, slice needle) internal pure returns (slice token) {
split(self, needle, token);
}
/*
* @dev Counts the number of nonoverlapping occurrences of `needle` in `self`.
* @param self The slice to search.
* @param needle The text to search for in `self`.
* @return The number of occurrences of `needle` found in `self`.
*/
function count(slice self, slice needle) internal pure returns (uint cnt) {
uint ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr) + needle._len;
while (ptr <= self._ptr + self._len) {
cnt++;
ptr = findPtr(self._len - (ptr - self._ptr), ptr, needle._len, needle._ptr) + needle._len;
}
}
}
// File: contracts/ArtMuseumV1.sol
contract ArtMuseumV1 is ArtMuseumBase, usingOraclize {
//using Strings for string;
using strings for *;
/** num of times oldest artwork get bonus **/
uint32 public lastcombo;
/** last stolen at block number in blockchain **/
uint public lastStealBlockNumber;
/** oldest artwork extra steal probability **/
uint8[] public oldestExtraStealProbability;
/** the query string getting the random numbers from oraclize**/
string randomQuery;
/** the type of the oraclize query**/
string queryType;
/** the timestamp of the next attack **/
uint public nextStealTimestamp;
/** gas provided for oraclize callback (attack)**/
uint32 public oraclizeGas;
/** gas provided for oraclize callback calculate by extra artworks fund likecoin (attack)**/
uint32 public oraclizeGasExtraArtwork;
/** the id of the next oraclize callback**/
uint32 public etherExchangeLikeCoin;
/** the id of oraclize callback**/
bytes32 nextStealId;
/** total number of times steal per day **/
uint8 public numOfTimesSteal;
/** accumulate ether fee for trigger next steal include oraclize fee and trigger gas fee **/
uint public oraclizeFee;
/** is fired when new artworks are purchased (who bought how many artworks of which type?) */
event newPurchase(address player, uint32 startId, uint8[] artworkTypes, uint32[] startSequenceNumbers);
/** is fired when an steal occures */
event newSteal(uint timestamp,uint32[] stolenArtworks,uint8[] artworkTypes,uint32[] sequenceNumbers, uint256[] values,address[] players);
/** is fired when an steal occures */
event newStealRewards(uint128 total,uint128[] values);
/** is fired when a single artwork is sold **/
event newSell(uint32[] artworkId, address player, uint256 value);
/** trigger oraclize **/
event newTriggerOraclize(bytes32 nextStealId, uint waittime, uint gasAmount, uint price, uint balancebefore, uint balance);
/** oraclize callback **/
event newOraclizeCallback(bytes32 nextStealId, string result, uint32 killed, uint128 killedValue, uint128 distValue,uint oraclizeFee,uint gaslimit,uint exchange);
function initOraclize() public onlyOwner {
if((address(OAR)==0)||(getCodeSize(address(OAR))==0))
oraclize_setNetwork();
}
function init1() public onlyOwner {
randomQuery = "10 random numbers between 1 and 100000";
queryType = "WolframAlpha";
oraclizeGas = 150000;
oraclizeGasExtraArtwork = 14000;
etherExchangeLikeCoin = 100000;
oldestExtraStealProbability = [3,5,10,15,30,50];
numOfTimesSteal = 1;
}
/**
* buy artworks when likecoin transfer callback
* */
function giveArtworks(uint8[] artworkTypes, address receiver, uint256 _value) internal {
uint32 len = uint32(artworkTypes.length);
require(numArtworks + len < maxArtworks);
uint256 amount = 0;
for (uint16 i = 0; i < len; i++) {
require(artworkTypes[i] < costs.length);
amount += costs[artworkTypes[i]];
}
require(_value >= amount);
uint8 artworkType;
uint32[] memory seqnolist = new uint32[](len);
for (uint16 j = 0; j < len; j++) {
if (numArtworks < ids.length)
ids[numArtworks] = lastId;
else
ids.push(lastId);
artworkType = artworkTypes[j];
userArtworkSequenceNumber[receiver][artworkType]++;
seqnolist[j] = userArtworkSequenceNumber[receiver][artworkType];
artworks[lastId] = Artwork(artworkTypes[j], userArtworkSequenceNumber[receiver][artworkType], values[artworkType], receiver);
numArtworks++;
lastId++;
numArtworksXType[artworkType]++;
}
// tryAutoTriggerSteal();
emit newPurchase(receiver, lastId - len, artworkTypes, seqnolist);
}
/**
* Replaces the artwork with the given id with the last artwork in the array
* */
function replaceArtwork(uint16 index) internal {
uint32 artworkId = ids[index];
numArtworksXType[artworks[artworkId].artworkType]--;
numArtworks--;
if (artworkId == oldest) oldest = 0;
delete artworks[artworkId];
if (numArtworks>0)
ids[index] = ids[numArtworks];
delete ids[numArtworks];
ids.length = numArtworks;
}
/**
* get the oldest artwork
* */
function getOldest() public constant returns(uint32 artworkId,uint8 artworkType, uint32 sequenceNumber, uint128 value, address player) {
if (numArtworks==0) artworkId = 0;
else {
artworkId = oldest;
if (artworkId==0) {
artworkId = ids[0];
for (uint16 i = 1; i < numArtworks; i++) {
if (ids[i] < artworkId) //the oldest artwork has the lowest id
artworkId = ids[i];
}
}
artworkType = artworks[artworkId].artworkType;
sequenceNumber = artworks[artworkId].sequenceNumber;
value = artworks[artworkId].value;
player = artworks[artworkId].player;
}
}
/**
* set the oldest artwork when steal
* */
function setOldest() internal returns(uint32 artworkId,uint16 index) {
if (numArtworks==0) artworkId = 0;
else {
if (oldest==0) {
oldest = ids[0];
index = 0;
for (uint16 i = 1; i < numArtworks; i++) {
if (ids[i] < oldest) { //the oldest artwork has the lowest id
oldest = ids[i];
index = i;
}
}
} else {
for (uint16 j = 0; j < numArtworks; j++) {
if (ids[j] == oldest) {
index = j;
break;
}
}
}
artworkId = oldest;
}
}
/**
* sell the artwork of the given id
* */
function sellArtwork(uint32 artworkId) public {
require(msg.sender == artworks[artworkId].player);
uint256 val = uint256(artworks[artworkId].value);// - sellfee;
uint16 artworkIndex;
bool found = false;
for (uint16 i = 0; i < numArtworks; i++) {
if (ids[i] == artworkId) {
artworkIndex = i;
found = true;
break;
}
}
require(found == true);
replaceArtwork(artworkIndex);
if (val>0)
like.transfer(msg.sender,val);
uint32[] memory artworkIds = new uint32[](1);
artworkIds[0] = artworkId;
// tryAutoTriggerSteal();
// ids.length = numArtworks;
emit newSell(artworkIds, msg.sender, val);
}
/**
* manually triggers the steal
* */
function triggerStealManually(uint32 inseconds) public payable ownerOrOperator {
require((nextStealTimestamp) < now); // avoid two scheduled callback, asssume max 5mins wait to callback when trigger
triggerSteal(inseconds, (oraclizeGas + oraclizeGasExtraArtwork * numArtworks));
}
/**
* the frequency of the thief steal depends on the number of artworks in the game.
* many artworks -> many thief steal
* */
function timeTillNextSteal() constant internal returns(uint32) {
return (86400 / (1 + numArtworks / 100)) / ( numOfTimesSteal );
}
/**
* sends a query to oraclize in order to get random numbers in 'inseconds' seconds
*/
function triggerSteal(uint32 inseconds, uint gasAmount) internal {
// Check if we have enough remaining funds
uint gaslimit = gasleft();
uint price = oraclize_getPrice(queryType, gasAmount);
uint balancebefore = address(this).balance;
require(price <= address(this).balance);
if (numArtworks<=1) {
removeArtworksByString("",0);
distribute(0);
nextStealId = 0x0;
price = 0;
} else {
nextStealId = oraclize_query(nextStealTimestamp, queryType, randomQuery, gasAmount);
}
emit newTriggerOraclize(nextStealId, inseconds, gasAmount, price, balancebefore, address(this).balance);
oraclizeFee = price + (gaslimit-gasleft() + 200000 /*add gas overhead*/) * tx.gasprice;
}
/**
* convert a random number to index of artworks list
* */
function findIndexFromRandomNumber(uint32 randomNumbers) internal returns (uint32 artworkId, uint16 index) {
uint16 indexOldest;
uint maxNumber;
uint8 extraProbability;
if (oldest==0)
lastcombo = 0;
(artworkId,indexOldest) = setOldest();
if (lastcombo>oldestExtraStealProbability.length-1)
extraProbability = oldestExtraStealProbability[oldestExtraStealProbability.length-1];
else
extraProbability = oldestExtraStealProbability[lastcombo];
maxNumber = 100000 - extraProbability*1000;
if (extraProbability>0 && randomNumbers>maxNumber) {
index = indexOldest;
artworkId = oldest;
} else {
index = mapToNewRange(randomNumbers, numArtworks, maxNumber);
artworkId = ids[index];
}
}
/**
* remove artwork by random number (a string, number list)
* */
function removeArtworksByString(string result,uint32 howmany) internal returns (uint128 pot) {
uint32[] memory stolenArtworks = new uint32[](howmany);
uint8[] memory artworkTypes = new uint8[](howmany);
uint32[] memory sequenceNumbers = new uint32[](howmany);
uint256[] memory artworkValues = new uint256[](howmany);
address[] memory players = new address[](howmany);
if (howmany>0) {
uint32[] memory randomNumbers = getNumbersFromString(result, ",", howmany);
uint16 index;
uint32 artworkId;
Artwork memory artworkData;
pot = 0;
if (oldest!=0)
lastcombo++;
for (uint32 i = 0; i < howmany; i++) {
(artworkId,index) = findIndexFromRandomNumber(randomNumbers[i]);
artworkData = artworks[artworkId];
pot += artworkData.value;
stolenArtworks[i] = artworkId;
artworkTypes[i] = artworkData.artworkType;
sequenceNumbers[i] = artworkData.sequenceNumber;
artworkValues[i] = artworkData.value;
players[i] = artworkData.player;
replaceArtwork(index);
}
} else {
pot = 0;
}
emit newSteal(now,stolenArtworks,artworkTypes,sequenceNumbers,artworkValues,players);
}
/**
* oraclize call back
* */
function __callback(bytes32 myid, string result) public {
uint gaslimit = gasleft();
uint32 howmany;
uint128 pot;
uint gasCost;
uint128 distpot;
uint oraclizeFeeTmp = 0; // for event log
if (msg.sender == oraclize_cbAddress() && myid == nextStealId) {
howmany = numArtworks < 100 ? (numArtworks < 10 ? (numArtworks < 2 ? 0 : 1) : numArtworks / 10) : 10; //do not kill more than 10%, but at least one
pot = removeArtworksByString(result,howmany);
gasCost = ((oraclizeFee * etherExchangeLikeCoin) / 1 ether) * 1 ether + 1 ether/* not floor() */;
if (pot > gasCost)
distpot = uint128(pot - gasCost);
distribute(distpot); //distribute the pot minus the oraclize gas costs
oraclizeFeeTmp = oraclizeFee;
oraclizeFee = 0;
}
emit newOraclizeCallback(myid,result,howmany,pot,distpot,oraclizeFeeTmp,gaslimit,etherExchangeLikeCoin);
}
/**
* change next steal time
* */
function updateNextStealTime(uint32 inseconds) internal {
nextStealTimestamp = now + inseconds;
}
/** distributes the given amount among the surviving artworks*/
function distribute(uint128 totalAmount) internal {
uint32 artworkId;
uint128 amount = ( totalAmount * 60 ) / 100;
uint128 valueSum = 0;
uint128 totalAmountRemain = totalAmount;
uint128[] memory shares = new uint128[](values.length+1);
if (totalAmount>0) {
//distribute the rest according to their type
for (uint8 v = 0; v < values.length; v++) {
if (numArtworksXType[v] > 0) valueSum += values[v];
}
for (uint8 m = 0; m < values.length; m++) {
if (numArtworksXType[m] > 0)
shares[m] = ((amount * (values[m] * 1000 / valueSum) / numArtworksXType[m]) / (1000 ether)) * (1 ether);
}
for (uint16 i = 0; i < numArtworks; i++) {
artworkId = ids[i];
amount = shares[artworks[artworkId].artworkType];
artworks[artworkId].value += amount;
totalAmountRemain -= amount;
}
setOldest();
artworks[oldest].value += totalAmountRemain;
shares[shares.length-1] = totalAmountRemain;
}
lastStealBlockNumber = block.number;
updateNextStealTime(timeTillNextSteal());
emit newStealRewards(totalAmount,shares);
}
/****************** GETTERS *************************/
function getNumArtworksXType() public constant returns(uint32[] _numArtworksXType) {
_numArtworksXType = numArtworksXType;
}
function get30Artworks(uint16 startIndex) public constant returns(uint32[] artworkIds,uint8[] types,uint32[] sequenceNumbers, uint128[] artworkValues,address[] players) {
uint32 endIndex = startIndex + 30 > numArtworks ? numArtworks : startIndex + 30;
uint32 id;
uint32 num = endIndex - startIndex;
artworkIds = new uint32[](num);
types = new uint8[](num);
sequenceNumbers = new uint32[](num);
artworkValues = new uint128[](num);
players = new address[](num);
uint16 j = 0;
for (uint16 i = startIndex; i < endIndex; i++) {
id = ids[i];
artworkIds[j] = id;
types[j] = artworks[id].artworkType;
sequenceNumbers[j] = artworks[id].sequenceNumber;
artworkValues[j] = artworks[id].value;
players[j] = artworks[id].player;
j++;
}
}
function getRemainTime() public constant returns(uint remainTime) {
if (nextStealTimestamp>now) remainTime = nextStealTimestamp - now;
}
/****************** SETTERS *************************/
function setCustomGasPrice(uint gasPrice) public ownerOrOperator {
oraclize_setCustomGasPrice(gasPrice);
}
function setOraclizeGas(uint32 newGas) public ownerOrOperator {
oraclizeGas = newGas;
}
function setOraclizeGasExtraArtwork(uint32 newGas) public ownerOrOperator {
oraclizeGasExtraArtwork = newGas;
}
function setEtherExchangeLikeCoin(uint32 newValue) public ownerOrOperator {
etherExchangeLikeCoin = newValue;
}
function setMaxArtworks(uint16 number) public ownerOrOperator {
maxArtworks = number;
}
function setNumOfTimesSteal(uint8 adjust) public ownerOrOperator {
numOfTimesSteal = adjust;
}
function updateNextStealTimeByOperator(uint32 inseconds) public ownerOrOperator {
nextStealTimestamp = now + inseconds;
}
/************* HELPERS ****************/
/**
* maps a given number to the new range (old range 100000)
* */
function mapToNewRange(uint number, uint range, uint max) pure internal returns(uint16 randomNumber) {
return uint16(number * range / max);
}
/**
* converts a string of numbers being separated by a given delimiter into an array of numbers (#howmany)
*/
function getNumbersFromString(string s, string delimiter, uint32 howmany) public pure returns(uint32[] numbers) {
var s2 = s.toSlice();
var delim = delimiter.toSlice();
string[] memory parts = new string[](s2.count(delim) + 1);
for(uint8 i = 0; i < parts.length; i++) {
parts[i] = s2.split(delim).toString();
}
numbers = new uint32[](howmany);
if (howmany>parts.length) howmany = uint32(parts.length);
for (uint8 j = 0; j < howmany; j++) {
numbers[j] = uint32(parseInt(parts[j]));
}
return numbers;
}
/**
* likecoin transfer callback
*/
function tokenCallback(address _from, uint256 _value, bytes _data) public {
require(msg.sender == address(like));
uint[] memory result;
uint len;
assembly {
len := mload(_data)
let c := 0
result := mload(0x40)
for { let i := 0 } lt(i, len) { i := add(i, 0x20) }
{
mstore(add(result, add(i, 0x20)), mload(add(_data, add(i, 0x20))))
c := add(c, 1)
}
mstore(result, c)
mstore(0x40, add(result , add(0x20, mul(c, 0x20))))
}
uint8[] memory result2 = new uint8[](result.length);
for (uint16 j=0;j<result.length; j++) {
result2[j] = uint8(result[j]);
}
giveArtworks(result2, _from, _value);
}
}
// File: contracts/ArtMuseumV2.sol
contract ArtMuseumV2 is ArtMuseumV1 {
function triggerStealManually2(string result) public payable ownerOrOperator {
uint gaslimit = gasleft();
oraclizeFee = (gaslimit + 200000 /*add gas overhead*/) * tx.gasprice + oraclizeFee;
require(nextStealTimestamp < now); // avoid two scheduled callback, asssume max 5mins wait to callback when trigger
uint32 howmany;
uint128 pot;
uint gasCost;
uint128 distpot;
uint oraclizeFeeTmp = 0; // for event log
if (numArtworks<=1) {
removeArtworksByString("",0);
distribute(0);
oraclizeFeeTmp = oraclizeFee;
} else {
howmany = numArtworks < 100 ? (numArtworks < 10 ? (numArtworks < 2 ? 0 : 1) : numArtworks / 10) : 10; //do not kill more than 10%, but at least one
pot = removeArtworksByString(result,howmany);
gasCost = ((oraclizeFee * etherExchangeLikeCoin) / 1 ether) * 1 ether + 1 ether/* not floor() */;
if (pot > gasCost)
distpot = uint128(pot - gasCost);
distribute(distpot); //distribute the pot minus the oraclize gas costs
oraclizeFeeTmp = oraclizeFee;
oraclizeFee = 0;
}
emit newOraclizeCallback(0x0,result,howmany,pot,distpot,oraclizeFeeTmp,gaslimit,etherExchangeLikeCoin);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":false,"inputs":[],"name":"initOraclize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"oraclizeGasExtraArtwork","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_likeAddr","type":"address"}],"name":"init","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"artworkId","type":"uint32"}],"name":"sellArtwork","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"artworkId","type":"uint32"}],"name":"getArtwork","outputs":[{"name":"artworkType","type":"uint8"},{"name":"sequenceNumber","type":"uint32"},{"name":"value","type":"uint128"},{"name":"player","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"numArtworks","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"adjust","type":"uint8"}],"name":"setNumOfTimesSteal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"myid","type":"bytes32"},{"name":"result","type":"string"}],"name":"__callback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint128"}],"name":"collectFees","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lastcombo","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_costs","type":"uint128[]"}],"name":"setCosts","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"oldest","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"oraclizeGas","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"costs","outputs":[{"name":"","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"oraclizeFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"numOfTimesSteal","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"inseconds","type":"uint32"}],"name":"updateNextStealTimeByOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"operator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getAllArtworksByOwner","outputs":[{"name":"artworkIds","type":"uint32[]"},{"name":"types","type":"uint8[]"},{"name":"sequenceNumbers","type":"uint32[]"},{"name":"artworkValues","type":"uint128[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"values","outputs":[{"name":"","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawBalance","outputs":[{"name":"res","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"etherExchangeLikeCoin","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"tokenCallback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getNumArtworksXType","outputs":[{"name":"_numArtworksXType","type":"uint32[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newGas","type":"uint32"}],"name":"setOraclizeGasExtraArtwork","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getOldest","outputs":[{"name":"artworkId","type":"uint32"},{"name":"artworkType","type":"uint8"},{"name":"sequenceNumber","type":"uint32"},{"name":"value","type":"uint128"},{"name":"player","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newGas","type":"uint32"}],"name":"setOraclizeGas","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getAllArtworks","outputs":[{"name":"artworkIds","type":"uint32[]"},{"name":"types","type":"uint8[]"},{"name":"sequenceNumbers","type":"uint32[]"},{"name":"artworkValues","type":"uint128[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newValue","type":"uint32"}],"name":"setEtherExchangeLikeCoin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"number","type":"uint16"}],"name":"setMaxArtworks","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"result","type":"string"}],"name":"triggerStealManually2","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"maxArtworks","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"like","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nextStealTimestamp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"s","type":"string"},{"name":"delimiter","type":"string"},{"name":"howmany","type":"uint32"}],"name":"getNumbersFromString","outputs":[{"name":"numbers","type":"uint32[]"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"startIndex","type":"uint16"}],"name":"get30Artworks","outputs":[{"name":"artworkIds","type":"uint32[]"},{"name":"types","type":"uint8[]"},{"name":"sequenceNumbers","type":"uint32[]"},{"name":"artworkValues","type":"uint128[]"},{"name":"players","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"oldestExtraStealProbability","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastId","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"gasPrice","type":"uint256"}],"name":"setCustomGasPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_fee","type":"uint8"}],"name":"setFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"getFees","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fee","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"inseconds","type":"uint32"}],"name":"triggerStealManually","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"pendingOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastStealBlockNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"init1","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"ids","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getRemainTime","outputs":[{"name":"remainTime","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"player","type":"address"},{"indexed":false,"name":"startId","type":"uint32"},{"indexed":false,"name":"artworkTypes","type":"uint8[]"},{"indexed":false,"name":"startSequenceNumbers","type":"uint32[]"}],"name":"newPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"stolenArtworks","type":"uint32[]"},{"indexed":false,"name":"artworkTypes","type":"uint8[]"},{"indexed":false,"name":"sequenceNumbers","type":"uint32[]"},{"indexed":false,"name":"values","type":"uint256[]"},{"indexed":false,"name":"players","type":"address[]"}],"name":"newSteal","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"total","type":"uint128"},{"indexed":false,"name":"values","type":"uint128[]"}],"name":"newStealRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"artworkId","type":"uint32[]"},{"indexed":false,"name":"player","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"newSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"nextStealId","type":"bytes32"},{"indexed":false,"name":"waittime","type":"uint256"},{"indexed":false,"name":"gasAmount","type":"uint256"},{"indexed":false,"name":"price","type":"uint256"},{"indexed":false,"name":"balancebefore","type":"uint256"},{"indexed":false,"name":"balance","type":"uint256"}],"name":"newTriggerOraclize","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"nextStealId","type":"bytes32"},{"indexed":false,"name":"result","type":"string"},{"indexed":false,"name":"killed","type":"uint32"},{"indexed":false,"name":"killedValue","type":"uint128"},{"indexed":false,"name":"distValue","type":"uint128"},{"indexed":false,"name":"oraclizeFee","type":"uint256"},{"indexed":false,"name":"gaslimit","type":"uint256"},{"indexed":false,"name":"exchange","type":"uint256"}],"name":"newOraclizeCallback","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]Contract Creation Code
608060405260008054600160a060020a03191633179055615c2d806100256000396000f3006080604052600436106102635763ffffffff60e060020a6000350416631619fc14811461026857806319a5ce511461027f57806319ab453c146102ad5780631b40ee88146102ce57806321db2aa0146102ec578063221325981461034a5780632630ef361461035f57806327dc297e1461037a57806328acb002146103d857806334e23416146103f9578063353db4361461040e5780633c3c22b3146104635780633e9836c61461047857806349b3b29f1461048d5780634c6226fc146104c15780634e71e0c8146104e857806351ab720d146104fd578063528626fc14610528578063570ca735146105465780635afecaaa146105775780635e383d21146106af5780635fd8c710146106c757806366c9bc38146106f05780636be32e7314610705578063765af8bf1461076e5780637cb1bb0b146107d35780637d02bc1c146107f157806389ed0b30146108505780638da5cb5b1461086e5780639c0cc30c146108835780639d1d14e0146108985780639e918c0a146108b6578063a05a1218146108d2578063a163c0901461091e578063a523b88a1461094a578063a80db9fb1461095f578063aff5773614610974578063b3ab15fb14610a13578063bb5e9dec14610a34578063bc8be8e814610bb8578063c1292cc314610bd0578063ca6ad1e414610be5578063cb122a0914610bfd578063d0e30db014610c18578063db8d55f114610c20578063ddca3f4314610c35578063deda2f9d14610c4a578063e30c397814610c5b578063e94aea8a14610c70578063f2eb3e3414610c85578063f2fde38b14610c9a578063fac333ac14610cbb578063fc2615d514610cd3575b600080fd5b34801561027457600080fd5b5061027d610ce8565b005b34801561028b57600080fd5b50610294610d3a565b6040805163ffffffff9092168252519081900360200190f35b3480156102b957600080fd5b5061027d600160a060020a0360043516610d4e565b3480156102da57600080fd5b5061027d63ffffffff60043516610e3d565b3480156102f857600080fd5b5061030a63ffffffff600435166110a3565b6040805160ff909516855263ffffffff90931660208501526001608060020a0390911683830152600160a060020a03166060830152519081900360800190f35b34801561035657600080fd5b506102946110f1565b34801561036b57600080fd5b5061027d60ff60043516611102565b34801561038657600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261027d9583359536956044949193909101919081908401838280828437509497506111469650505050505050565b3480156103e457600080fd5b5061027d6001608060020a0360043516611397565b34801561040557600080fd5b50610294611478565b34801561041a57600080fd5b506040805160206004803580820135838102808601850190965280855261027d9536959394602494938501929182918501908490808284375094975061149c9650505050505050565b34801561046f57600080fd5b506102946114e6565b34801561048457600080fd5b506102946114fa565b34801561049957600080fd5b506104a5600435611506565b604080516001608060020a039092168252519081900360200190f35b3480156104cd57600080fd5b506104d6611541565b60408051918252519081900360200190f35b3480156104f457600080fd5b5061027d611547565b34801561050957600080fd5b506105126115c2565b6040805160ff9092168252519081900360200190f35b34801561053457600080fd5b5061027d63ffffffff600435166115cb565b34801561055257600080fd5b5061055b611606565b60408051600160a060020a039092168252519081900360200190f35b34801561058357600080fd5b5061058c611615565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019060200280838360005b838110156105d85781810151838201526020016105c0565b50505050905001858103845288818151815260200191508051906020019060200280838360005b838110156106175781810151838201526020016105ff565b50505050905001858103835287818151815260200191508051906020019060200280838360005b8381101561065657818101518382015260200161063e565b50505050905001858103825286818151815260200191508051906020019060200280838360005b8381101561069557818101518382015260200161067d565b505050509050019850505050505050505060405180910390f35b3480156106bb57600080fd5b506104a560043561194d565b3480156106d357600080fd5b506106dc61195b565b604080519115158252519081900360200190f35b3480156106fc57600080fd5b506102946119b7565b34801561071157600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261027d948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506119cf9650505050505050565b34801561077a57600080fd5b50610783611acd565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156107bf5781810151838201526020016107a7565b505050509050019250505060405180910390f35b3480156107df57600080fd5b5061027d63ffffffff60043516611b51565b3480156107fd57600080fd5b50610806611ba7565b6040805163ffffffff968716815260ff909516602086015292909416838301526001608060020a03166060830152600160a060020a03909216608082015290519081900360a00190f35b34801561085c57600080fd5b5061027d63ffffffff60043516611d26565b34801561087a57600080fd5b5061055b611d70565b34801561088f57600080fd5b5061058c611d7f565b3480156108a457600080fd5b5061027d63ffffffff60043516612001565b3480156108c257600080fd5b5061027d61ffff6004351661205f565b6040805160206004803580820135601f810184900484028501840190955284845261027d9436949293602493928401919081908401838280828437509497506120b39650505050505050565b34801561092a57600080fd5b50610933612368565b6040805161ffff9092168252519081900360200190f35b34801561095657600080fd5b5061055b61237b565b34801561096b57600080fd5b506104d661238a565b34801561098057600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261078394369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050923563ffffffff16935061239092505050565b348015610a1f57600080fd5b5061027d600160a060020a036004351661250d565b348015610a4057600080fd5b50610a5061ffff60043516612546565b60405180806020018060200180602001806020018060200186810386528b818151815260200191508051906020019060200280838360005b83811015610aa0578181015183820152602001610a88565b5050505090500186810385528a818151815260200191508051906020019060200280838360005b83811015610adf578181015183820152602001610ac7565b50505050905001868103845289818151815260200191508051906020019060200280838360005b83811015610b1e578181015183820152602001610b06565b50505050905001868103835288818151815260200191508051906020019060200280838360005b83811015610b5d578181015183820152602001610b45565b50505050905001868103825287818151815260200191508051906020019060200280838360005b83811015610b9c578181015183820152602001610b84565b505050509050019a505050505050505050505060405180910390f35b348015610bc457600080fd5b5061051260043561285a565b348015610bdc57600080fd5b5061029461288c565b348015610bf157600080fd5b5061027d600435612898565b348015610c0957600080fd5b5061027d60ff600435166128cf565b61027d610d38565b348015610c2c57600080fd5b506104d6612b0b565b348015610c4157600080fd5b50610512612c2b565b61027d63ffffffff60043516612c34565b348015610c6757600080fd5b5061055b612ca2565b348015610c7c57600080fd5b506104d6612cb1565b348015610c9157600080fd5b5061027d612cb7565b348015610ca657600080fd5b5061027d600160a060020a0360043516612e14565b348015610cc757600080fd5b50610294600435612e4d565b348015610cdf57600080fd5b506104d6612e85565b600054600160a060020a03163314610cff57600080fd5b600d54600160a060020a03161580610d295750600d54610d2790600160a060020a0316612e9b565b155b15610d3857610d36612e9f565b505b565b601454640100000000900463ffffffff1681565b600054600160a060020a03163314610d6557600080fd5b600354600160a060020a031615610d7b57600080fd5b60038054600160a060020a031916600160a060020a0383161790556040805160a081018252682b5e3af16b188000008152686c6b935b8bbd400000602082015269010f0cf064dd592000009181019190915269028a857425466f800000606082015269054b40b1f852bda000006080820152610dfb9060089060056158e0565b50610e0660056128cf565b50600a805466ffff000000000019166603e800000000001790556005805463ffffffff191660011767ffffffff0000000019169055565b63ffffffff8116600090815260066020526040812060010154819081908190606090600160a060020a03163314610e7357600080fd5b63ffffffff86166000908152600660205260408120546501000000000090046001608060020a0316955092508291505b600a54610100900463ffffffff1661ffff83161015610f17578563ffffffff1660048361ffff16815481101515610ed657fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161415610f0c5781935060019250610f17565b600190910190610ea3565b600183151514610f2657600080fd5b610f2f846131c7565b6000851115610fd257600354604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018890529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610fa557600080fd5b505af1158015610fb9573d6000803e3d6000fd5b505050506040513d6020811015610fcf57600080fd5b50505b60408051600180825281830190925290602080830190803883390190505090508581600081518110151561100257fe5b63ffffffff90921660209283029091018201526040805133818401819052918101889052606080825284519082015283517fb850c697330ddb9fd4a0cacc92ffdc9cb08c3fe8eb5110e9cddc8a2abe05eb17938593928a92909182916080830191878101910280838360005b8381101561108657818101518382015260200161106e565b5050505090500194505050505060405180910390a1505050505050565b63ffffffff8082166000908152600660205260409020805460019091015460ff821692610100830416916001608060020a03650100000000009091041690600160a060020a03169193509193565b600a54610100900463ffffffff1681565b600054600160a060020a03163314806111255750600254600160a060020a031633145b151561113057600080fd5b6016805460ff191660ff92909216919091179055565b6000806000806000805a95506000905061115e6133ee565b600160a060020a031633600160a060020a031614801561117f575060155488145b1561126c57600a54606461010090910463ffffffff16106111a157600a6111ee565b600a8054610100900463ffffffff16106111ca57600a8054610100900463ffffffff16046111ee565b600a54600261010090910463ffffffff16106111e75760016111ea565b60005b60ff165b94506111fa87866135e3565b601454601754919550670de0b6b3a7640000916801000000000000000090910463ffffffff160204670de0b6b3a764000002670de0b6b3a764000001925082846001608060020a031611156112585782846001608060020a03160391505b61126182613aee565b506017805460009091555b7f8fc2d445e9b326bf7efc597ab3d988a7c4f0c19b52b9e68bd70df171dbd3d98d8888878786868c601460089054906101000a900463ffffffff16604051808960001916600019168152602001806020018863ffffffff1663ffffffff168152602001876001608060020a03166001608060020a03168152602001866001608060020a03166001608060020a031681526020018581526020018481526020018363ffffffff168152602001828103825289818151815260200191508051906020019080838360005b8381101561134c578181015183820152602001611334565b50505050905090810190601f1680156113795780820380516001836020036101000a031916815260200191505b50995050505050505050505060405180910390a15050505050505050565b60008054600160a060020a031633146113af57600080fd5b6113b7612b0b565b90506001608060020a03821681106114745760035460008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526001608060020a03871660248201529051919093169263a9059cbb9260448083019360209390929083900390910190829087803b15801561144757600080fd5b505af115801561145b573d6000803e3d6000fd5b505050506040513d602081101561147157600080fd5b50505b5050565b600e5474010000000000000000000000000000000000000000900463ffffffff1681565b600054600160a060020a031633146114b357600080fd5b600854815110156114c357600080fd5b80516114d690600890602084019061599b565b50600a54610d369060ff166128cf565b600554640100000000900463ffffffff1681565b60145463ffffffff1681565b600880548290811061151457fe5b9060005260206000209060029182820401919006601002915054906101000a90046001608060020a031681565b60175481565b600154600160a060020a0316331461155e57600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36001805460008054600160a060020a0319908116600160a060020a03841617909155169055565b60165460ff1681565b600054600160a060020a03163314806115ee5750600254600160a060020a031633145b15156115f957600080fd5b63ffffffff164201601355565b600254600160a060020a031681565b6060808080600080803381805b600a54610100900463ffffffff1661ffff831610156116b35782600160a060020a03166006600060048561ffff1681548110151561165c57fe5b6000918252602080832060088304015460079092166004026101000a90910463ffffffff168352820192909252604001902060010154600160a060020a031614156116a8576001909301925b600190910190611622565b8361ffff166040519080825280602002602001820160405280156116e1578160200160208202803883390190505b5099508361ffff16604051908082528060200260200182016040528015611712578160200160208202803883390190505b5098508361ffff16604051908082528060200260200182016040528015611743578160200160208202803883390190505b5097508361ffff16604051908082528060200260200182016040528015611774578160200160208202803883390190505b509650600090505b600a54610100900463ffffffff1661ffff821610156119415782600160a060020a03166006600060048461ffff168154811015156117b657fe5b6000918252602080832060088304015460079092166004026101000a90910463ffffffff168352820192909252604001902060010154600160a060020a03161415611939576004805461ffff831690811061180d57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff169550858a8661ffff1681518110151561184857fe5b63ffffffff9283166020918202909201810191909152908716600090815260069091526040902054895160ff909116908a9061ffff881690811061188857fe5b60ff909216602092830290910182015263ffffffff80881660009081526006909252604090912054895161010090910490911690899061ffff88169081106118cc57fe5b63ffffffff9283166020918202929092018101919091529087166000908152600690915260409020548751650100000000009091046001608060020a031690889061ffff881690811061191b57fe5b6001608060020a039092166020928302909101909101526001909401935b60010161177c565b50505050505090919293565b600980548290811061151457fe5b60008054600160a060020a0316331461197357600080fd5b60008054604051600160a060020a0390911691303180156108fc02929091818181858888f193505050501580156119ae573d6000803e3d6000fd5b50600190505b90565b60145468010000000000000000900463ffffffff1681565b60035460609060009082908290600160a060020a031633146119f057600080fd5b845192506000604051945060005b84811015611a2157602081880181015187830182015260019290920191016119fe565b50808552602081026020018501604052508351604051908082528060200260200182016040528015611a5d578160200160208202803883390190505b509150600090505b83518161ffff161015611ab957838161ffff16815181101515611a8457fe5b90602001906020020151828261ffff16815181101515611aa057fe5b60ff909216602092830290910190910152600101611a65565b611ac4828888613f65565b50505050505050565b6060600b805480602002602001604051908101604052809291908181526020018280548015611b4757602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff1681526020019060040190602082600301049283019260010382029150808411611b0a5790505b5050505050905090565b600054600160a060020a0316331480611b745750600254600160a060020a031633145b1515611b7f57600080fd5b6014805463ffffffff9092166401000000000267ffffffff0000000019909216919091179055565b600080600080600080600a60019054906101000a900463ffffffff1663ffffffff1660001415611bda5760009550611d1e565b600554640100000000900463ffffffff169550851515611cd057600480546000908110611c0357fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff169550600190505b600a54610100900463ffffffff1661ffff82161015611cd0578563ffffffff1660048261ffff16815481101515611c6357fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161015611cc8576004805461ffff8316908110611c9f57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1695505b600101611c30565b63ffffffff8681166000908152600660205260409020805460019091015460ff82169750610100820490921695506501000000000090046001608060020a03169350600160a060020a031691505b509091929394565b600054600160a060020a0316331480611d495750600254600160a060020a031633145b1515611d5457600080fd5b6014805463ffffffff191663ffffffff92909216919091179055565b600054600160a060020a031681565b606080606080600080600a60019054906101000a900463ffffffff1663ffffffff16604051908082528060200260200182016040528015611dca578160200160208202803883390190505b509550600a60019054906101000a900463ffffffff1663ffffffff16604051908082528060200260200182016040528015611e0f578160200160208202803883390190505b509450600a60019054906101000a900463ffffffff1663ffffffff16604051908082528060200260200182016040528015611e54578160200160208202803883390190505b509350600a60019054906101000a900463ffffffff1663ffffffff16604051908082528060200260200182016040528015611e99578160200160208202803883390190505b509250600090505b600a54610100900463ffffffff1661ffff82161015611ff9576004805461ffff8316908110611ecc57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff16915081868261ffff16815181101515611f0757fe5b63ffffffff9283166020918202909201810191909152908316600090815260069091526040902054855160ff90911690869061ffff8416908110611f4757fe5b60ff909216602092830290910182015263ffffffff80841660009081526006909252604090912054855161010090910490911690859061ffff8416908110611f8b57fe5b63ffffffff9283166020918202929092018101919091529083166000908152600690915260409020548351650100000000009091046001608060020a031690849061ffff8416908110611fda57fe5b6001608060020a03909216602092830290910190910152600101611ea1565b505090919293565b600054600160a060020a03163314806120245750600254600160a060020a031633145b151561202f57600080fd5b6014805463ffffffff90921668010000000000000000026bffffffff000000000000000019909216919091179055565b600054600160a060020a03163314806120825750600254600160a060020a031633145b151561208d57600080fd5b600a805461ffff909216650100000000000266ffff000000000019909216919091179055565b6000805481908190819081908190600160a060020a03163314806120e15750600254600160a060020a031633145b15156120ec57600080fd5b5a6017805462030d4083013a02019055601354909650421161210d57600080fd5b50600a54600090600161010090910463ffffffff161161215657612142602060405190810160405280600081525060006135e3565b5061214d6000613aee565b5060175461223e565b600a54606461010090910463ffffffff161061217357600a6121c0565b600a8054610100900463ffffffff161061219c57600a8054610100900463ffffffff16046121c0565b600a54600261010090910463ffffffff16106121b95760016121bc565b60005b60ff165b94506121cc87866135e3565b601454601754919550670de0b6b3a7640000916801000000000000000090910463ffffffff160204670de0b6b3a764000002670de0b6b3a764000001925082846001608060020a0316111561222a5782846001608060020a03160391505b61223382613aee565b506017805460009091555b7f8fc2d445e9b326bf7efc597ab3d988a7c4f0c19b52b9e68bd70df171dbd3d98d600088878786868c601460089054906101000a900463ffffffff166040518089600102600019168152602001806020018863ffffffff1663ffffffff168152602001876001608060020a03166001608060020a03168152602001866001608060020a03166001608060020a031681526020018581526020018481526020018363ffffffff168152602001828103825289818151815260200191508051906020019080838360005b8381101561231e578181015183820152602001612306565b50505050905090810190601f16801561234b5780820380516001836020036101000a031916815260200191505b50995050505050505050505060405180910390a150505050505050565b600a5465010000000000900461ffff1681565b600354600160a060020a031681565b60135481565b606061239a615a0e565b6123a2615a0e565b60606000806123b08961455d565b94506123bb8861455d565b93506123cd858563ffffffff61458316565b60010160405190808252806020026020018201604052801561240357816020015b60608152602001906001900390816123ee5790505b509250600091505b82518260ff1610156124555761242f61242a868663ffffffff6145f016565b614603565b838360ff1681518110151561244057fe5b6020908102909101015260019091019061240b565b8663ffffffff16604051908082528060200260200182016040528015612485578160200160208202803883390190505b50955082518763ffffffff16111561249c57825196505b5060005b8663ffffffff168160ff161015612501576124d4838260ff168151811015156124c557fe5b90602001906020020151614656565b868260ff168151811015156124e557fe5b63ffffffff9092166020928302909101909101526001016124a0565b50505050509392505050565b600054600160a060020a0316331461252457600080fd5b60028054600160a060020a031916600160a060020a0392909216919091179055565b60608060608060606000806000806000600a60019054906101000a900463ffffffff1663ffffffff168b601e0161ffff1611612589578a601e0161ffff16612598565b600a54610100900463ffffffff165b94508a61ffff16850392508263ffffffff166040519080825280602002602001820160405280156125d3578160200160208202803883390190505b5099508263ffffffff16604051908082528060200260200182016040528015612606578160200160208202803883390190505b5098508263ffffffff16604051908082528060200260200182016040528015612639578160200160208202803883390190505b5097508263ffffffff1660405190808252806020026020018201604052801561266c578160200160208202803883390190505b5096508263ffffffff1660405190808252806020026020018201604052801561269f578160200160208202803883390190505b509550600091508a90505b8463ffffffff168161ffff16101561284c576004805461ffff83169081106126ce57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff169350838a8361ffff1681518110151561270957fe5b63ffffffff9283166020918202909201810191909152908516600090815260069091526040902054895160ff909116908a9061ffff851690811061274957fe5b60ff909216602092830290910182015263ffffffff80861660009081526006909252604090912054895161010090910490911690899061ffff851690811061278d57fe5b63ffffffff9283166020918202929092018101919091529085166000908152600690915260409020548751650100000000009091046001608060020a031690889061ffff85169081106127dc57fe5b6001608060020a03909216602092830290910182015263ffffffff85166000908152600690915260409020600101548651600160a060020a0390911690879061ffff851690811061282957fe5b600160a060020a03909216602092830290910190910152600191820191016126aa565b505050505091939590929450565b601080548290811061286857fe5b9060005260206000209060209182820401919006915054906101000a900460ff1681565b60055463ffffffff1681565b600054600160a060020a03163314806128bb5750600254600160a060020a031633145b15156128c657600080fd5b610d3681614669565b60008054600160a060020a031633146128e757600080fd5b50600a805460ff191660ff831617905560005b60085460ff821610156114745760095460ff821610156129ef57600a546008805460ff928316926064929190851690811061293157fe5b6000918252602090912060028204015460019091166010026101000a90046001608060020a031681151561296157fe5b040260088260ff1681548110151561297557fe5b90600052602060002090600291828204019190066010029054906101000a90046001608060020a03160360098260ff168154811015156129b157fe5b90600052602060002090600291828204019190066010026101000a8154816001608060020a0302191690836001608060020a03160217905550612b03565b600a546008805460099260ff9081169260649290918616908110612a0f57fe5b6000918252602090912060028204015460019091166010026101000a90046001608060020a0316811515612a3f57fe5b040260088360ff16815481101515612a5357fe5b6000918252602080832060028084049091015486546001818101895597865292852091830490910180546001608060020a036010958916860261010090810a9094048116979097038716938816909402820a928302929095021990921617909255600b805493840181559052600882047f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db901805463ffffffff600460079095169490940290920a92909202191690555b6001016128fa565b600080805b600a54610100900463ffffffff1661ffff82161015612b92576006600060048361ffff16815481101515612b4057fe5b6000918252602080832060088304015460079092166004026101000a90910463ffffffff1683528201929092526040019020546501000000000090046001608060020a03169190910190600101612b10565b600354604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518492600160a060020a0316916370a082319160248083019260209291908290030181600087803b158015612bf757600080fd5b505af1158015612c0b573d6000803e3d6000fd5b505050506040513d6020811015612c2157600080fd5b5051039250505090565b600a5460ff1681565b600054600160a060020a0316331480612c575750600254600160a060020a031633145b1515612c6257600080fd5b6013544211612c7057600080fd5b600a54601454610d3691839163ffffffff81811664010000000090920481166101009093048116929092020116614858565b600154600160a060020a031681565b600f5481565b600054600160a060020a03163314612cce57600080fd5b6040805160608101825260268082527f31302072616e646f6d206e756d62657273206265747765656e203120616e6420602083019081527f31303030303000000000000000000000000000000000000000000000000000009290930191909152612d3a91601191615a25565b5060408051808201909152600c8082527f576f6c6672616d416c70686100000000000000000000000000000000000000006020909201918252612d7f91601291615a25565b5060148054620249f063ffffffff199091161767ffffffff0000000019166536b000000000176bffffffff000000000000000019166a0186a000000000000000001790556040805160c0810182526003815260056020820152600a91810191909152600f6060820152601e6080820152603260a0820152612e04906010906006615a9f565b506016805460ff19166001179055565b600054600160a060020a03163314612e2b57600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b6004805482908110612e5b57fe5b9060005260206000209060089182820401919006600402915054906101000a900463ffffffff1681565b60004260135411156119b4574260135403905090565b3b90565b600080612ebf731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed612e9b565b1115612f3057600d8054600160a060020a031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed17905560408051808201909152600b81527f6574685f6d61696e6e65740000000000000000000000000000000000000000006020820152612f2890614af7565b5060016119b4565b6000612f4f73c03a2615d5efaf5f49f60b7bb6583eaec212fdf1612e9b565b1115612fb857600d8054600160a060020a03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf117905560408051808201909152600c81527f6574685f726f707374656e3300000000000000000000000000000000000000006020820152612f2890614af7565b6000612fd773b7a07bcf2ba2f2703b24c0691b5278999c59ac7e612e9b565b111561304057600d8054600160a060020a03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e17905560408051808201909152600981527f6574685f6b6f76616e00000000000000000000000000000000000000000000006020820152612f2890614af7565b600061305f73146500cfd35b22e4a392fe0adc06de1a1368ed48612e9b565b11156130c857600d8054600160a060020a03191673146500cfd35b22e4a392fe0adc06de1a1368ed4817905560408051808201909152600b81527f6574685f72696e6b6562790000000000000000000000000000000000000000006020820152612f2890614af7565b60006130e7736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475612e9b565b111561311b5750600d8054600160a060020a031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb47517905560016119b4565b600061313a7320e12a1f859b3feae5fb2a0a32c18f5a65555bbf612e9b565b111561316e5750600d8054600160a060020a0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf17905560016119b4565b600061318d7351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa612e9b565b11156131c15750600d8054600160a060020a0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa17905560016119b4565b50600090565b600060048261ffff168154811015156131dc57fe5b6000918252602080832060088304015460079092166004026101000a90910463ffffffff168083526006909152604090912054600b80549293509160ff90911690811061322557fe5b6000918252602090912060088204018054600790921660040261010090810a63ffffffff818102198516948290048116600019908101821690920294909417909255600a805464ffffffff0019811690839004851690930184169091029190911790556005546401000000009004811690821614156132b0576005805467ffffffff00000000191690555b63ffffffff8082166000908152600660205260408120805474ffffffffffffffffffffffffffffffffffffffffff191681556001018054600160a060020a0319169055600a546101009004909116111561338e57600a54600480549091610100900463ffffffff1690811061332157fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1660048361ffff1681548110151561335a57fe5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908363ffffffff1602179055505b600a54600480549091610100900463ffffffff169081106133ab57fe5b600091825260209091206008820401805463ffffffff60046007909416840261010090810a820219909216909255600a540416906133e99082615b41565b505050565b600d54600090600160a060020a0316158061341b5750600d5461341990600160a060020a0316612e9b565b155b1561342c5761342a6000614b0a565b505b600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561347f57600080fd5b505af1158015613493573d6000803e3d6000fd5b505050506040513d60208110156134a957600080fd5b5051600e54600160a060020a0390811691161461355f57600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561351357600080fd5b505af1158015613527573d6000803e3d6000fd5b505050506040513d602081101561353d57600080fd5b5051600e8054600160a060020a031916600160a060020a039092169190911790555b600e60009054906101000a9004600160a060020a0316600160a060020a031663c281d19e6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156135b257600080fd5b505af11580156135c6573d6000803e3d6000fd5b505050506040513d60208110156135dc57600080fd5b5051905090565b60006060806060806060806000806135f9615b75565b60008b63ffffffff1660405190808252806020026020018201604052801561362b578160200160208202803883390190505b5099508b63ffffffff1660405190808252806020026020018201604052801561365e578160200160208202803883390190505b5098508b63ffffffff16604051908082528060200260200182016040528015613691578160200160208202803883390190505b5097508b63ffffffff166040519080825280602002602001820160405280156136c4578160200160208202803883390190505b5096508b63ffffffff166040519080825280602002602001820160405280156136f7578160200160208202803883390190505b50955060008c63ffffffff161115613944576137498d6040805190810160405280600181526020017f2c000000000000000000000000000000000000000000000000000000000000008152508e612390565b60055460009c50909550640100000000900463ffffffff16156137b357600e8054600163ffffffff74010000000000000000000000000000000000000000808404821692909201160277ffffffff0000000000000000000000000000000000000000199091161790555b5060005b8b63ffffffff168163ffffffff16101561393f576137f1858263ffffffff168151811015156137e257fe5b90602001906020020151614b14565b63ffffffff8281166000908152600660209081526040918290208251608081018452815460ff811682526101008104861693820193909352650100000000009092046001608060020a031692820183905260010154600160a060020a031660608201528e519f9091019e92975092955091935084918c9190841690811061387457fe5b63ffffffff9283166020918202909201015282518a5190918b9190841690811061389a57fe5b60ff90921660209283029091018201528201518851899063ffffffff84169081106138c157fe5b63ffffffff92831660209182029092010152604083015188516001608060020a039091169189919084169081106138f457fe5b6020908102909101015260608201518651879063ffffffff841690811061391757fe5b600160a060020a03909216602092830290910190910152613937846131c7565b6001016137b7565b613949565b60009a505b7f87cbfb0b0e90893ded1b9e7d755df7d28ba11fa38221171cbc9c97cb0ed728d8428b8b8b8b8b60405180878152602001806020018060200180602001806020018060200186810386528b818151815260200191508051906020019060200280838360005b838110156139c65781810151838201526020016139ae565b5050505090500186810385528a818151815260200191508051906020019060200280838360005b83811015613a055781810151838201526020016139ed565b50505050905001868103845289818151815260200191508051906020019060200280838360005b83811015613a44578181015183820152602001613a2c565b50505050905001868103835288818151815260200191508051906020019060200280838360005b83811015613a83578181015183820152602001613a6b565b50505050905001868103825287818151815260200191508051906020019060200280838360005b83811015613ac2578181015183820152602001613aaa565b505050509050019b50505050505050505050505060405180910390a15050505050505050505092915050565b60095460408051600190920180835260208082028401019091526000916064603c85026001608060020a03160491839185916060918491829182918015613b3f578160200160208202803883390190505b5093506000896001608060020a03161115613eb757600092505b60095460ff84161015613bee576000600b8460ff16815481101515613b7a57fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161115613be3576009805460ff8516908110613bb557fe5b90600052602060002090600291828204019190066010029054906101000a90046001608060020a0316860195505b600190920191613b59565b600091505b60095460ff83161015613d48576000600b8360ff16815481101515613c1457fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161115613d3d57683635c9adc5dea00000600b8360ff16815481101515613c5a57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff16876001608060020a031660098560ff16815481101515613ca257fe5b90600052602060002090600291828204019190066010029054906101000a90046001608060020a03166103e8026001608060020a0316811515613ce157fe5b0489026001608060020a0316811515613cf657fe5b046001608060020a0316811515613d0957fe5b04670de0b6b3a764000002848360ff16815181101515613d2557fe5b6001608060020a039092166020928302909101909101525b600190910190613bf3565b5060005b600a54610100900463ffffffff1661ffff82161015613e28576004805461ffff8316908110613d7757fe5b6000918252602080832060088304015460079092166004026101000a90910463ffffffff1680835260069091526040909120548551919950859160ff909116908110613dbf57fe5b602090810290910181015163ffffffff8a1660009081526006909252604090912080546001608060020a0365010000000000808304821685019091160274ffffffffffffffffffffffffffffffff00000000001990911617905596509386900393600101613d4c565b613e30614cd5565b505060055463ffffffff64010000000090910416600090815260066020526040902080546001608060020a0365010000000000808304821689019091160274ffffffffffffffffffffffffffffffff0000000000199091161790558351859085906000198101908110613e9f57fe5b6001608060020a039092166020928302909101909101525b43600f55613ecb613ec6614eda565b6115f9565b7fe3779f7668882aec21cad5e600467d0e0a189ec39c7311ff0ff7500d67d2345a898560405180836001608060020a03166001608060020a0316815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015613f46578181015183820152602001613f2e565b50505050905001935050505060405180910390a1505050505050505050565b8251600a5460009081908190606090829065010000000000810461ffff1661010090910463ffffffff90811688011610613f9e57600080fd5b60009450600093505b8563ffffffff168461ffff1610156140485760085489518a9061ffff8716908110613fce57fe5b6020908102909101015160ff1610613fe557600080fd5b6008898561ffff16815181101515613ff957fe5b9060200190602002015160ff1681548110151561401257fe5b6000918252602090912060028204015460019182166010026101000a90046001608060020a031695909501949390930192613fa7565b8487101561405557600080fd5b8563ffffffff16604051908082528060200260200182016040528015614085578160200160208202803883390190505b509150600090505b8563ffffffff168161ffff16101561445557600454600a54610100900463ffffffff16101561411457600554600a546004805463ffffffff93841693919261010090049091169081106140dc57fe5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908363ffffffff16021790555061416f565b600554600480546001810182556000829052600881047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805460079092169092026101000a63ffffffff9384168102930219169190911790555b888161ffff1681518110151561418157fe5b602090810291909101810151600160a060020a038a16600090815260078352604080822060ff8416835290935291909120805463ffffffff198116600163ffffffff928316018216179182905584519295501690839061ffff84169081106141e557fe5b63ffffffff9092166020928302909101909101526040805160808101909152895181908b9061ffff851690811061421857fe5b602090810290910181015160ff9081168352600160a060020a038c166000908152600783526040808220928916808352928452908190205463ffffffff169284019290925260098054929093019291811061426f57fe5b90600052602060002090600291828204019190066010029054906101000a90046001608060020a03166001608060020a0316815260200189600160a060020a031681525060066000600560009054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160056101000a8154816001608060020a0302191690836001608060020a0316021790555060608201518160010160006101000a815481600160a060020a030219169083600160a060020a03160217905550905050600a600181819054906101000a900463ffffffff168092919060010191906101000a81548163ffffffff021916908363ffffffff160217905550506005600081819054906101000a900463ffffffff168092919060010191906101000a81548163ffffffff021916908363ffffffff16021790555050600b8360ff1681548110151561441157fe5b6000918252602090912060088204018054600163ffffffff60046007909516949094026101000a80830485168201851681029402199091169290921790550161408d565b7f570bd8ad82b219ca5bce00cd9ae0c759a2772336d3d18964d98d07848e5b2b578887600560009054906101000a900463ffffffff16038b856040518085600160a060020a0316600160a060020a031681526020018463ffffffff1663ffffffff1681526020018060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156144fc5781810151838201526020016144e4565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561453b578181015183820152602001614523565b50505050905001965050505050505060405180910390a1505050505050505050565b614565615a0e565b50604080518082019091528151815260209182019181019190915290565b60008082600001516145a78560000151866020015186600001518760200151614f22565b0190505b835160208501510181116145e95782516020808601518651918601516001909501946145e1929185039091039084908490614f22565b0190506145ab565b5092915050565b6145f8615a0e565b6145e9838383614fe2565b606080600083600001516040519080825280601f01601f19166020018201604052801561463a578160200160208202803883390190505b5091506020820190506145e98185602001518660000151615053565b6000614663826000615097565b92915050565b600d54600160a060020a031615806146935750600d5461469190600160a060020a0316612e9b565b155b156146a4576146a26000614b0a565b505b600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156146f757600080fd5b505af115801561470b573d6000803e3d6000fd5b505050506040513d602081101561472157600080fd5b5051600e54600160a060020a039081169116146147d757600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561478b57600080fd5b505af115801561479f573d6000803e3d6000fd5b505050506040513d60208110156147b557600080fd5b5051600e8054600160a060020a031916600160a060020a039092169190911790555b600e54604080517fca6ad1e4000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a039092169163ca6ad1e49160248082019260009290919082900301818387803b15801561483d57600080fd5b505af1158015614851573d6000803e3d6000fd5b5050505050565b60008060005a6012805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529396506148f69392918301828280156148eb5780601f106148c0576101008083540402835291602001916148eb565b820191906000526020600020905b8154815290600101906020018083116148ce57829003601f168201915b505050505085615251565b915050308031903182111561490a57600080fd5b600a54600161010090910463ffffffff16116149545761493b602060405190810160405280600081525060006135e3565b506149466000613aee565b600060158190559150614a82565b60135460128054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152614a7e9493909290918301828280156149e55780601f106149ba576101008083540402835291602001916149e5565b820191906000526020600020905b8154815290600101906020018083116149c857829003601f168201915b505060118054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815295509193509150830182828015614a735780601f10614a4857610100808354040283529160200191614a73565b820191906000526020600020905b815481529060010190602001808311614a5657829003601f168201915b5050505050876154c2565b6015555b6015546040805191825263ffffffff871660208301528181018690526060820184905260808201839052303160a0830152517f47249bc85fbe7d3a1c6751a7987a148ba54b6a80a477805355901788f4568fa79181900360c00190a13a5a840362030d40010282016017819055505050505050565b805161147490600c906020840190615a25565b6000614663612e9f565b6005546000908190819081908190640100000000900463ffffffff161515614b5857600e805477ffffffff0000000000000000000000000000000000000000191690555b614b60614cd5565b601054600e54929750909450600019017401000000000000000000000000000000000000000090910463ffffffff161115614bce57601080546000198101908110614ba757fe5b90600052602060002090602091828204019190069054906101000a900460ff169050614c21565b600e5460108054909174010000000000000000000000000000000000000000900463ffffffff16908110614bfe57fe5b90600052602060002090602091828204019190069054906101000a900460ff1690505b8060ff166103e80261ffff16620186a00362ffffff16915060008160ff16118015614c515750818663ffffffff16115b15614c7357600554640100000000900463ffffffff1694509192508291614ccd565b600a54614c8f9063ffffffff80891691610100900416846158c8565b935060048461ffff16815481101515614ca457fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1694505b505050915091565b600a54600090819081908190610100900463ffffffff161515614cfb5760009350614ed4565b600554640100000000900463ffffffff161515614e4457600480546000908110614d2157fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff16600560046101000a81548163ffffffff021916908363ffffffff16021790555060009250600191505b600a54610100900463ffffffff1661ffff83161015614e3f576005546004805464010000000090920463ffffffff169161ffff8516908110614dae57fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161015614e34576004805461ffff8416908110614dea57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff16600560046101000a81548163ffffffff021916908363ffffffff1602179055508192505b600190910190614d70565b614ec0565b5060005b600a54610100900463ffffffff1661ffff82161015614ec0576005546004805464010000000090920463ffffffff169161ffff8416908110614e8657fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161415614eb857809250614ec0565b600101614e48565b600554640100000000900463ffffffff1693505b50509091565b601654600a5460009160ff1690606490610100900463ffffffff160460010163ffffffff1662015180811515614f0c57fe5b0463ffffffff16811515614f1c57fe5b04905090565b600083818080808080808c8b11614fcc5760208b11614f955760018b60200360080260020a03196001029550858a511694508a8d8d010393508588511692505b828514614f8d57838810614f7a578c8c019850614fd2565b8780600101985050858851169250614f62565b879850614fd2565b8a8a209150600096505b8a8d038711614fcc575089872081811415614fbc57879850614fd2565b6001978801979690960195614f9f565b8c8c0198505b5050505050505050949350505050565b614fea615a0e565b60006150088560000151866020015186600001518760200151614f22565b60208087018051918601919091528051820385528651905191925001811415615034576000855261504a565b8351835186519101900385528351810160208601525b50909392505050565b60005b60208210615078578251845260209384019390920191601f1990910190615056565b50905182516020929092036101000a6000190180199091169116179052565b6000828180805b83518110156152345783517f3000000000000000000000000000000000000000000000000000000000000000908590839081106150d757fe5b90602001015160f860020a900460f860020a027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561517d575083517f39000000000000000000000000000000000000000000000000000000000000009085908390811061514557fe5b90602001015160f860020a900460f860020a027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b156151d657811561519c5785151561519457615234565b600019909501945b600a83029250603084828151811015156151b257fe5b90602001015160f860020a900460f860020a0260f860020a9004038301925061522c565b83818151811015156151e457fe5b90602001015160f860020a900460f860020a027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916602e60f860020a02141561522c57600191505b60010161509e565b60008611156152465785600a0a830292505b509095945050505050565b600d54600090600160a060020a0316158061527e5750600d5461527c90600160a060020a0316612e9b565b155b1561528f5761528d6000614b0a565b505b600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156152e257600080fd5b505af11580156152f6573d6000803e3d6000fd5b505050506040513d602081101561530c57600080fd5b5051600e54600160a060020a039081169116146153c257600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561537657600080fd5b505af115801561538a573d6000803e3d6000fd5b505050506040513d60208110156153a057600080fd5b5051600e8054600160a060020a031916600160a060020a039092169190911790555b600e54604080517f2ef3accc0000000000000000000000000000000000000000000000000000000081526024810185905260048101918252855160448201528551600160a060020a0390931692632ef3accc9287928792829160640190602086019080838360005b8381101561544257818101518382015260200161542a565b50505050905090810190601f16801561546f5780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b15801561548f57600080fd5b505af11580156154a3573d6000803e3d6000fd5b505050506040513d60208110156154b957600080fd5b50519392505050565b600d546000908190600160a060020a031615806154f15750600d546154ef90600160a060020a0316612e9b565b155b15615502576155006000614b0a565b505b600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561555557600080fd5b505af1158015615569573d6000803e3d6000fd5b505050506040513d602081101561557f57600080fd5b5051600e54600160a060020a0390811691161461563557600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156155e957600080fd5b505af11580156155fd573d6000803e3d6000fd5b505050506040513d602081101561561357600080fd5b5051600e8054600160a060020a031916600160a060020a039092169190911790555b600e54604080517f2ef3accc0000000000000000000000000000000000000000000000000000000081526024810186905260048101918252875160448201528751600160a060020a0390931692632ef3accc9289928892829160640190602086019080838360005b838110156156b557818101518382015260200161569d565b50505050905090810190601f1680156156e25780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b15801561570257600080fd5b505af1158015615716573d6000803e3d6000fd5b505050506040513d602081101561572c57600080fd5b50519050670de0b6b3a76400003a84020181111561574d57600091506158bf565b600e546040517fc51be90f0000000000000000000000000000000000000000000000000000000081526004810188815260648201869052608060248301908152885160848401528851600160a060020a039094169363c51be90f9386938c938c938c938c939291604482019160a40190602088019080838360005b838110156157e05781810151838201526020016157c8565b50505050905090810190601f16801561580d5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015615840578181015183820152602001615828565b50505050905090810190601f16801561586d5780820380516001836020036101000a031916815260200191505b5096505050505050506020604051808303818588803b15801561588f57600080fd5b505af11580156158a3573d6000803e3d6000fd5b50505050506040513d60208110156158ba57600080fd5b505191505b50949350505050565b6000818385028115156158d757fe5b04949350505050565b8280548282559060005260206000209060010160029004810192821561598b5791602002820160005b8382111561595657835183826101000a8154816001608060020a03021916908369ffffffffffffffffffff1602179055509260200192601001602081600f01049283019260010302615909565b80156159895782816101000a8154906001608060020a030219169055601001602081600f01049283019260010302615956565b505b50615997929150615b9c565b5090565b8280548282559060005260206000209060010160029004810192821561598b5791602002820160005b8382111561595657835183826101000a8154816001608060020a0302191690836001608060020a031602179055509260200192601001602081600f010492830192600103026159c4565b604080518082019091526000808252602082015290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10615a6657805160ff1916838001178555615a93565b82800160010185558215615a93579182015b82811115615a93578251825591602001919060010190615a78565b50615997929150615bc9565b82805482825590600052602060002090601f01602090048101928215615b355791602002820160005b83821115615b0657835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302615ac8565b8015615b335782816101000a81549060ff0219169055600101602081600001049283019260010302615b06565b505b50615997929150615be3565b8154818355818111156133e95760070160089004816007016008900483600052602060002091820191016133e99190615bc9565b60408051608081018252600080825260208201819052918101829052606081019190915290565b6119b491905b808211156159975780546fffffffffffffffffffffffffffffffff19168155600101615ba2565b6119b491905b808211156159975760008155600101615bcf565b6119b491905b8082111561599757805460ff19168155600101615be95600a165627a7a7230582011438aaeed80800f48b4e25ac84baad191e510de52cac226ee706b5ac1b6b7020029
Deployed Bytecode
0x6080604052600436106102635763ffffffff60e060020a6000350416631619fc14811461026857806319a5ce511461027f57806319ab453c146102ad5780631b40ee88146102ce57806321db2aa0146102ec578063221325981461034a5780632630ef361461035f57806327dc297e1461037a57806328acb002146103d857806334e23416146103f9578063353db4361461040e5780633c3c22b3146104635780633e9836c61461047857806349b3b29f1461048d5780634c6226fc146104c15780634e71e0c8146104e857806351ab720d146104fd578063528626fc14610528578063570ca735146105465780635afecaaa146105775780635e383d21146106af5780635fd8c710146106c757806366c9bc38146106f05780636be32e7314610705578063765af8bf1461076e5780637cb1bb0b146107d35780637d02bc1c146107f157806389ed0b30146108505780638da5cb5b1461086e5780639c0cc30c146108835780639d1d14e0146108985780639e918c0a146108b6578063a05a1218146108d2578063a163c0901461091e578063a523b88a1461094a578063a80db9fb1461095f578063aff5773614610974578063b3ab15fb14610a13578063bb5e9dec14610a34578063bc8be8e814610bb8578063c1292cc314610bd0578063ca6ad1e414610be5578063cb122a0914610bfd578063d0e30db014610c18578063db8d55f114610c20578063ddca3f4314610c35578063deda2f9d14610c4a578063e30c397814610c5b578063e94aea8a14610c70578063f2eb3e3414610c85578063f2fde38b14610c9a578063fac333ac14610cbb578063fc2615d514610cd3575b600080fd5b34801561027457600080fd5b5061027d610ce8565b005b34801561028b57600080fd5b50610294610d3a565b6040805163ffffffff9092168252519081900360200190f35b3480156102b957600080fd5b5061027d600160a060020a0360043516610d4e565b3480156102da57600080fd5b5061027d63ffffffff60043516610e3d565b3480156102f857600080fd5b5061030a63ffffffff600435166110a3565b6040805160ff909516855263ffffffff90931660208501526001608060020a0390911683830152600160a060020a03166060830152519081900360800190f35b34801561035657600080fd5b506102946110f1565b34801561036b57600080fd5b5061027d60ff60043516611102565b34801561038657600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261027d9583359536956044949193909101919081908401838280828437509497506111469650505050505050565b3480156103e457600080fd5b5061027d6001608060020a0360043516611397565b34801561040557600080fd5b50610294611478565b34801561041a57600080fd5b506040805160206004803580820135838102808601850190965280855261027d9536959394602494938501929182918501908490808284375094975061149c9650505050505050565b34801561046f57600080fd5b506102946114e6565b34801561048457600080fd5b506102946114fa565b34801561049957600080fd5b506104a5600435611506565b604080516001608060020a039092168252519081900360200190f35b3480156104cd57600080fd5b506104d6611541565b60408051918252519081900360200190f35b3480156104f457600080fd5b5061027d611547565b34801561050957600080fd5b506105126115c2565b6040805160ff9092168252519081900360200190f35b34801561053457600080fd5b5061027d63ffffffff600435166115cb565b34801561055257600080fd5b5061055b611606565b60408051600160a060020a039092168252519081900360200190f35b34801561058357600080fd5b5061058c611615565b6040518080602001806020018060200180602001858103855289818151815260200191508051906020019060200280838360005b838110156105d85781810151838201526020016105c0565b50505050905001858103845288818151815260200191508051906020019060200280838360005b838110156106175781810151838201526020016105ff565b50505050905001858103835287818151815260200191508051906020019060200280838360005b8381101561065657818101518382015260200161063e565b50505050905001858103825286818151815260200191508051906020019060200280838360005b8381101561069557818101518382015260200161067d565b505050509050019850505050505050505060405180910390f35b3480156106bb57600080fd5b506104a560043561194d565b3480156106d357600080fd5b506106dc61195b565b604080519115158252519081900360200190f35b3480156106fc57600080fd5b506102946119b7565b34801561071157600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261027d948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506119cf9650505050505050565b34801561077a57600080fd5b50610783611acd565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156107bf5781810151838201526020016107a7565b505050509050019250505060405180910390f35b3480156107df57600080fd5b5061027d63ffffffff60043516611b51565b3480156107fd57600080fd5b50610806611ba7565b6040805163ffffffff968716815260ff909516602086015292909416838301526001608060020a03166060830152600160a060020a03909216608082015290519081900360a00190f35b34801561085c57600080fd5b5061027d63ffffffff60043516611d26565b34801561087a57600080fd5b5061055b611d70565b34801561088f57600080fd5b5061058c611d7f565b3480156108a457600080fd5b5061027d63ffffffff60043516612001565b3480156108c257600080fd5b5061027d61ffff6004351661205f565b6040805160206004803580820135601f810184900484028501840190955284845261027d9436949293602493928401919081908401838280828437509497506120b39650505050505050565b34801561092a57600080fd5b50610933612368565b6040805161ffff9092168252519081900360200190f35b34801561095657600080fd5b5061055b61237b565b34801561096b57600080fd5b506104d661238a565b34801561098057600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261078394369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050923563ffffffff16935061239092505050565b348015610a1f57600080fd5b5061027d600160a060020a036004351661250d565b348015610a4057600080fd5b50610a5061ffff60043516612546565b60405180806020018060200180602001806020018060200186810386528b818151815260200191508051906020019060200280838360005b83811015610aa0578181015183820152602001610a88565b5050505090500186810385528a818151815260200191508051906020019060200280838360005b83811015610adf578181015183820152602001610ac7565b50505050905001868103845289818151815260200191508051906020019060200280838360005b83811015610b1e578181015183820152602001610b06565b50505050905001868103835288818151815260200191508051906020019060200280838360005b83811015610b5d578181015183820152602001610b45565b50505050905001868103825287818151815260200191508051906020019060200280838360005b83811015610b9c578181015183820152602001610b84565b505050509050019a505050505050505050505060405180910390f35b348015610bc457600080fd5b5061051260043561285a565b348015610bdc57600080fd5b5061029461288c565b348015610bf157600080fd5b5061027d600435612898565b348015610c0957600080fd5b5061027d60ff600435166128cf565b61027d610d38565b348015610c2c57600080fd5b506104d6612b0b565b348015610c4157600080fd5b50610512612c2b565b61027d63ffffffff60043516612c34565b348015610c6757600080fd5b5061055b612ca2565b348015610c7c57600080fd5b506104d6612cb1565b348015610c9157600080fd5b5061027d612cb7565b348015610ca657600080fd5b5061027d600160a060020a0360043516612e14565b348015610cc757600080fd5b50610294600435612e4d565b348015610cdf57600080fd5b506104d6612e85565b600054600160a060020a03163314610cff57600080fd5b600d54600160a060020a03161580610d295750600d54610d2790600160a060020a0316612e9b565b155b15610d3857610d36612e9f565b505b565b601454640100000000900463ffffffff1681565b600054600160a060020a03163314610d6557600080fd5b600354600160a060020a031615610d7b57600080fd5b60038054600160a060020a031916600160a060020a0383161790556040805160a081018252682b5e3af16b188000008152686c6b935b8bbd400000602082015269010f0cf064dd592000009181019190915269028a857425466f800000606082015269054b40b1f852bda000006080820152610dfb9060089060056158e0565b50610e0660056128cf565b50600a805466ffff000000000019166603e800000000001790556005805463ffffffff191660011767ffffffff0000000019169055565b63ffffffff8116600090815260066020526040812060010154819081908190606090600160a060020a03163314610e7357600080fd5b63ffffffff86166000908152600660205260408120546501000000000090046001608060020a0316955092508291505b600a54610100900463ffffffff1661ffff83161015610f17578563ffffffff1660048361ffff16815481101515610ed657fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161415610f0c5781935060019250610f17565b600190910190610ea3565b600183151514610f2657600080fd5b610f2f846131c7565b6000851115610fd257600354604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018890529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610fa557600080fd5b505af1158015610fb9573d6000803e3d6000fd5b505050506040513d6020811015610fcf57600080fd5b50505b60408051600180825281830190925290602080830190803883390190505090508581600081518110151561100257fe5b63ffffffff90921660209283029091018201526040805133818401819052918101889052606080825284519082015283517fb850c697330ddb9fd4a0cacc92ffdc9cb08c3fe8eb5110e9cddc8a2abe05eb17938593928a92909182916080830191878101910280838360005b8381101561108657818101518382015260200161106e565b5050505090500194505050505060405180910390a1505050505050565b63ffffffff8082166000908152600660205260409020805460019091015460ff821692610100830416916001608060020a03650100000000009091041690600160a060020a03169193509193565b600a54610100900463ffffffff1681565b600054600160a060020a03163314806111255750600254600160a060020a031633145b151561113057600080fd5b6016805460ff191660ff92909216919091179055565b6000806000806000805a95506000905061115e6133ee565b600160a060020a031633600160a060020a031614801561117f575060155488145b1561126c57600a54606461010090910463ffffffff16106111a157600a6111ee565b600a8054610100900463ffffffff16106111ca57600a8054610100900463ffffffff16046111ee565b600a54600261010090910463ffffffff16106111e75760016111ea565b60005b60ff165b94506111fa87866135e3565b601454601754919550670de0b6b3a7640000916801000000000000000090910463ffffffff160204670de0b6b3a764000002670de0b6b3a764000001925082846001608060020a031611156112585782846001608060020a03160391505b61126182613aee565b506017805460009091555b7f8fc2d445e9b326bf7efc597ab3d988a7c4f0c19b52b9e68bd70df171dbd3d98d8888878786868c601460089054906101000a900463ffffffff16604051808960001916600019168152602001806020018863ffffffff1663ffffffff168152602001876001608060020a03166001608060020a03168152602001866001608060020a03166001608060020a031681526020018581526020018481526020018363ffffffff168152602001828103825289818151815260200191508051906020019080838360005b8381101561134c578181015183820152602001611334565b50505050905090810190601f1680156113795780820380516001836020036101000a031916815260200191505b50995050505050505050505060405180910390a15050505050505050565b60008054600160a060020a031633146113af57600080fd5b6113b7612b0b565b90506001608060020a03821681106114745760035460008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526001608060020a03871660248201529051919093169263a9059cbb9260448083019360209390929083900390910190829087803b15801561144757600080fd5b505af115801561145b573d6000803e3d6000fd5b505050506040513d602081101561147157600080fd5b50505b5050565b600e5474010000000000000000000000000000000000000000900463ffffffff1681565b600054600160a060020a031633146114b357600080fd5b600854815110156114c357600080fd5b80516114d690600890602084019061599b565b50600a54610d369060ff166128cf565b600554640100000000900463ffffffff1681565b60145463ffffffff1681565b600880548290811061151457fe5b9060005260206000209060029182820401919006601002915054906101000a90046001608060020a031681565b60175481565b600154600160a060020a0316331461155e57600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36001805460008054600160a060020a0319908116600160a060020a03841617909155169055565b60165460ff1681565b600054600160a060020a03163314806115ee5750600254600160a060020a031633145b15156115f957600080fd5b63ffffffff164201601355565b600254600160a060020a031681565b6060808080600080803381805b600a54610100900463ffffffff1661ffff831610156116b35782600160a060020a03166006600060048561ffff1681548110151561165c57fe5b6000918252602080832060088304015460079092166004026101000a90910463ffffffff168352820192909252604001902060010154600160a060020a031614156116a8576001909301925b600190910190611622565b8361ffff166040519080825280602002602001820160405280156116e1578160200160208202803883390190505b5099508361ffff16604051908082528060200260200182016040528015611712578160200160208202803883390190505b5098508361ffff16604051908082528060200260200182016040528015611743578160200160208202803883390190505b5097508361ffff16604051908082528060200260200182016040528015611774578160200160208202803883390190505b509650600090505b600a54610100900463ffffffff1661ffff821610156119415782600160a060020a03166006600060048461ffff168154811015156117b657fe5b6000918252602080832060088304015460079092166004026101000a90910463ffffffff168352820192909252604001902060010154600160a060020a03161415611939576004805461ffff831690811061180d57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff169550858a8661ffff1681518110151561184857fe5b63ffffffff9283166020918202909201810191909152908716600090815260069091526040902054895160ff909116908a9061ffff881690811061188857fe5b60ff909216602092830290910182015263ffffffff80881660009081526006909252604090912054895161010090910490911690899061ffff88169081106118cc57fe5b63ffffffff9283166020918202929092018101919091529087166000908152600690915260409020548751650100000000009091046001608060020a031690889061ffff881690811061191b57fe5b6001608060020a039092166020928302909101909101526001909401935b60010161177c565b50505050505090919293565b600980548290811061151457fe5b60008054600160a060020a0316331461197357600080fd5b60008054604051600160a060020a0390911691303180156108fc02929091818181858888f193505050501580156119ae573d6000803e3d6000fd5b50600190505b90565b60145468010000000000000000900463ffffffff1681565b60035460609060009082908290600160a060020a031633146119f057600080fd5b845192506000604051945060005b84811015611a2157602081880181015187830182015260019290920191016119fe565b50808552602081026020018501604052508351604051908082528060200260200182016040528015611a5d578160200160208202803883390190505b509150600090505b83518161ffff161015611ab957838161ffff16815181101515611a8457fe5b90602001906020020151828261ffff16815181101515611aa057fe5b60ff909216602092830290910190910152600101611a65565b611ac4828888613f65565b50505050505050565b6060600b805480602002602001604051908101604052809291908181526020018280548015611b4757602002820191906000526020600020906000905b82829054906101000a900463ffffffff1663ffffffff1681526020019060040190602082600301049283019260010382029150808411611b0a5790505b5050505050905090565b600054600160a060020a0316331480611b745750600254600160a060020a031633145b1515611b7f57600080fd5b6014805463ffffffff9092166401000000000267ffffffff0000000019909216919091179055565b600080600080600080600a60019054906101000a900463ffffffff1663ffffffff1660001415611bda5760009550611d1e565b600554640100000000900463ffffffff169550851515611cd057600480546000908110611c0357fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff169550600190505b600a54610100900463ffffffff1661ffff82161015611cd0578563ffffffff1660048261ffff16815481101515611c6357fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161015611cc8576004805461ffff8316908110611c9f57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1695505b600101611c30565b63ffffffff8681166000908152600660205260409020805460019091015460ff82169750610100820490921695506501000000000090046001608060020a03169350600160a060020a031691505b509091929394565b600054600160a060020a0316331480611d495750600254600160a060020a031633145b1515611d5457600080fd5b6014805463ffffffff191663ffffffff92909216919091179055565b600054600160a060020a031681565b606080606080600080600a60019054906101000a900463ffffffff1663ffffffff16604051908082528060200260200182016040528015611dca578160200160208202803883390190505b509550600a60019054906101000a900463ffffffff1663ffffffff16604051908082528060200260200182016040528015611e0f578160200160208202803883390190505b509450600a60019054906101000a900463ffffffff1663ffffffff16604051908082528060200260200182016040528015611e54578160200160208202803883390190505b509350600a60019054906101000a900463ffffffff1663ffffffff16604051908082528060200260200182016040528015611e99578160200160208202803883390190505b509250600090505b600a54610100900463ffffffff1661ffff82161015611ff9576004805461ffff8316908110611ecc57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff16915081868261ffff16815181101515611f0757fe5b63ffffffff9283166020918202909201810191909152908316600090815260069091526040902054855160ff90911690869061ffff8416908110611f4757fe5b60ff909216602092830290910182015263ffffffff80841660009081526006909252604090912054855161010090910490911690859061ffff8416908110611f8b57fe5b63ffffffff9283166020918202929092018101919091529083166000908152600690915260409020548351650100000000009091046001608060020a031690849061ffff8416908110611fda57fe5b6001608060020a03909216602092830290910190910152600101611ea1565b505090919293565b600054600160a060020a03163314806120245750600254600160a060020a031633145b151561202f57600080fd5b6014805463ffffffff90921668010000000000000000026bffffffff000000000000000019909216919091179055565b600054600160a060020a03163314806120825750600254600160a060020a031633145b151561208d57600080fd5b600a805461ffff909216650100000000000266ffff000000000019909216919091179055565b6000805481908190819081908190600160a060020a03163314806120e15750600254600160a060020a031633145b15156120ec57600080fd5b5a6017805462030d4083013a02019055601354909650421161210d57600080fd5b50600a54600090600161010090910463ffffffff161161215657612142602060405190810160405280600081525060006135e3565b5061214d6000613aee565b5060175461223e565b600a54606461010090910463ffffffff161061217357600a6121c0565b600a8054610100900463ffffffff161061219c57600a8054610100900463ffffffff16046121c0565b600a54600261010090910463ffffffff16106121b95760016121bc565b60005b60ff165b94506121cc87866135e3565b601454601754919550670de0b6b3a7640000916801000000000000000090910463ffffffff160204670de0b6b3a764000002670de0b6b3a764000001925082846001608060020a0316111561222a5782846001608060020a03160391505b61223382613aee565b506017805460009091555b7f8fc2d445e9b326bf7efc597ab3d988a7c4f0c19b52b9e68bd70df171dbd3d98d600088878786868c601460089054906101000a900463ffffffff166040518089600102600019168152602001806020018863ffffffff1663ffffffff168152602001876001608060020a03166001608060020a03168152602001866001608060020a03166001608060020a031681526020018581526020018481526020018363ffffffff168152602001828103825289818151815260200191508051906020019080838360005b8381101561231e578181015183820152602001612306565b50505050905090810190601f16801561234b5780820380516001836020036101000a031916815260200191505b50995050505050505050505060405180910390a150505050505050565b600a5465010000000000900461ffff1681565b600354600160a060020a031681565b60135481565b606061239a615a0e565b6123a2615a0e565b60606000806123b08961455d565b94506123bb8861455d565b93506123cd858563ffffffff61458316565b60010160405190808252806020026020018201604052801561240357816020015b60608152602001906001900390816123ee5790505b509250600091505b82518260ff1610156124555761242f61242a868663ffffffff6145f016565b614603565b838360ff1681518110151561244057fe5b6020908102909101015260019091019061240b565b8663ffffffff16604051908082528060200260200182016040528015612485578160200160208202803883390190505b50955082518763ffffffff16111561249c57825196505b5060005b8663ffffffff168160ff161015612501576124d4838260ff168151811015156124c557fe5b90602001906020020151614656565b868260ff168151811015156124e557fe5b63ffffffff9092166020928302909101909101526001016124a0565b50505050509392505050565b600054600160a060020a0316331461252457600080fd5b60028054600160a060020a031916600160a060020a0392909216919091179055565b60608060608060606000806000806000600a60019054906101000a900463ffffffff1663ffffffff168b601e0161ffff1611612589578a601e0161ffff16612598565b600a54610100900463ffffffff165b94508a61ffff16850392508263ffffffff166040519080825280602002602001820160405280156125d3578160200160208202803883390190505b5099508263ffffffff16604051908082528060200260200182016040528015612606578160200160208202803883390190505b5098508263ffffffff16604051908082528060200260200182016040528015612639578160200160208202803883390190505b5097508263ffffffff1660405190808252806020026020018201604052801561266c578160200160208202803883390190505b5096508263ffffffff1660405190808252806020026020018201604052801561269f578160200160208202803883390190505b509550600091508a90505b8463ffffffff168161ffff16101561284c576004805461ffff83169081106126ce57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff169350838a8361ffff1681518110151561270957fe5b63ffffffff9283166020918202909201810191909152908516600090815260069091526040902054895160ff909116908a9061ffff851690811061274957fe5b60ff909216602092830290910182015263ffffffff80861660009081526006909252604090912054895161010090910490911690899061ffff851690811061278d57fe5b63ffffffff9283166020918202929092018101919091529085166000908152600690915260409020548751650100000000009091046001608060020a031690889061ffff85169081106127dc57fe5b6001608060020a03909216602092830290910182015263ffffffff85166000908152600690915260409020600101548651600160a060020a0390911690879061ffff851690811061282957fe5b600160a060020a03909216602092830290910190910152600191820191016126aa565b505050505091939590929450565b601080548290811061286857fe5b9060005260206000209060209182820401919006915054906101000a900460ff1681565b60055463ffffffff1681565b600054600160a060020a03163314806128bb5750600254600160a060020a031633145b15156128c657600080fd5b610d3681614669565b60008054600160a060020a031633146128e757600080fd5b50600a805460ff191660ff831617905560005b60085460ff821610156114745760095460ff821610156129ef57600a546008805460ff928316926064929190851690811061293157fe5b6000918252602090912060028204015460019091166010026101000a90046001608060020a031681151561296157fe5b040260088260ff1681548110151561297557fe5b90600052602060002090600291828204019190066010029054906101000a90046001608060020a03160360098260ff168154811015156129b157fe5b90600052602060002090600291828204019190066010026101000a8154816001608060020a0302191690836001608060020a03160217905550612b03565b600a546008805460099260ff9081169260649290918616908110612a0f57fe5b6000918252602090912060028204015460019091166010026101000a90046001608060020a0316811515612a3f57fe5b040260088360ff16815481101515612a5357fe5b6000918252602080832060028084049091015486546001818101895597865292852091830490910180546001608060020a036010958916860261010090810a9094048116979097038716938816909402820a928302929095021990921617909255600b805493840181559052600882047f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db901805463ffffffff600460079095169490940290920a92909202191690555b6001016128fa565b600080805b600a54610100900463ffffffff1661ffff82161015612b92576006600060048361ffff16815481101515612b4057fe5b6000918252602080832060088304015460079092166004026101000a90910463ffffffff1683528201929092526040019020546501000000000090046001608060020a03169190910190600101612b10565b600354604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518492600160a060020a0316916370a082319160248083019260209291908290030181600087803b158015612bf757600080fd5b505af1158015612c0b573d6000803e3d6000fd5b505050506040513d6020811015612c2157600080fd5b5051039250505090565b600a5460ff1681565b600054600160a060020a0316331480612c575750600254600160a060020a031633145b1515612c6257600080fd5b6013544211612c7057600080fd5b600a54601454610d3691839163ffffffff81811664010000000090920481166101009093048116929092020116614858565b600154600160a060020a031681565b600f5481565b600054600160a060020a03163314612cce57600080fd5b6040805160608101825260268082527f31302072616e646f6d206e756d62657273206265747765656e203120616e6420602083019081527f31303030303000000000000000000000000000000000000000000000000000009290930191909152612d3a91601191615a25565b5060408051808201909152600c8082527f576f6c6672616d416c70686100000000000000000000000000000000000000006020909201918252612d7f91601291615a25565b5060148054620249f063ffffffff199091161767ffffffff0000000019166536b000000000176bffffffff000000000000000019166a0186a000000000000000001790556040805160c0810182526003815260056020820152600a91810191909152600f6060820152601e6080820152603260a0820152612e04906010906006615a9f565b506016805460ff19166001179055565b600054600160a060020a03163314612e2b57600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b6004805482908110612e5b57fe5b9060005260206000209060089182820401919006600402915054906101000a900463ffffffff1681565b60004260135411156119b4574260135403905090565b3b90565b600080612ebf731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed612e9b565b1115612f3057600d8054600160a060020a031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed17905560408051808201909152600b81527f6574685f6d61696e6e65740000000000000000000000000000000000000000006020820152612f2890614af7565b5060016119b4565b6000612f4f73c03a2615d5efaf5f49f60b7bb6583eaec212fdf1612e9b565b1115612fb857600d8054600160a060020a03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf117905560408051808201909152600c81527f6574685f726f707374656e3300000000000000000000000000000000000000006020820152612f2890614af7565b6000612fd773b7a07bcf2ba2f2703b24c0691b5278999c59ac7e612e9b565b111561304057600d8054600160a060020a03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e17905560408051808201909152600981527f6574685f6b6f76616e00000000000000000000000000000000000000000000006020820152612f2890614af7565b600061305f73146500cfd35b22e4a392fe0adc06de1a1368ed48612e9b565b11156130c857600d8054600160a060020a03191673146500cfd35b22e4a392fe0adc06de1a1368ed4817905560408051808201909152600b81527f6574685f72696e6b6562790000000000000000000000000000000000000000006020820152612f2890614af7565b60006130e7736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475612e9b565b111561311b5750600d8054600160a060020a031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb47517905560016119b4565b600061313a7320e12a1f859b3feae5fb2a0a32c18f5a65555bbf612e9b565b111561316e5750600d8054600160a060020a0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf17905560016119b4565b600061318d7351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa612e9b565b11156131c15750600d8054600160a060020a0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa17905560016119b4565b50600090565b600060048261ffff168154811015156131dc57fe5b6000918252602080832060088304015460079092166004026101000a90910463ffffffff168083526006909152604090912054600b80549293509160ff90911690811061322557fe5b6000918252602090912060088204018054600790921660040261010090810a63ffffffff818102198516948290048116600019908101821690920294909417909255600a805464ffffffff0019811690839004851690930184169091029190911790556005546401000000009004811690821614156132b0576005805467ffffffff00000000191690555b63ffffffff8082166000908152600660205260408120805474ffffffffffffffffffffffffffffffffffffffffff191681556001018054600160a060020a0319169055600a546101009004909116111561338e57600a54600480549091610100900463ffffffff1690811061332157fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1660048361ffff1681548110151561335a57fe5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908363ffffffff1602179055505b600a54600480549091610100900463ffffffff169081106133ab57fe5b600091825260209091206008820401805463ffffffff60046007909416840261010090810a820219909216909255600a540416906133e99082615b41565b505050565b600d54600090600160a060020a0316158061341b5750600d5461341990600160a060020a0316612e9b565b155b1561342c5761342a6000614b0a565b505b600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561347f57600080fd5b505af1158015613493573d6000803e3d6000fd5b505050506040513d60208110156134a957600080fd5b5051600e54600160a060020a0390811691161461355f57600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561351357600080fd5b505af1158015613527573d6000803e3d6000fd5b505050506040513d602081101561353d57600080fd5b5051600e8054600160a060020a031916600160a060020a039092169190911790555b600e60009054906101000a9004600160a060020a0316600160a060020a031663c281d19e6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156135b257600080fd5b505af11580156135c6573d6000803e3d6000fd5b505050506040513d60208110156135dc57600080fd5b5051905090565b60006060806060806060806000806135f9615b75565b60008b63ffffffff1660405190808252806020026020018201604052801561362b578160200160208202803883390190505b5099508b63ffffffff1660405190808252806020026020018201604052801561365e578160200160208202803883390190505b5098508b63ffffffff16604051908082528060200260200182016040528015613691578160200160208202803883390190505b5097508b63ffffffff166040519080825280602002602001820160405280156136c4578160200160208202803883390190505b5096508b63ffffffff166040519080825280602002602001820160405280156136f7578160200160208202803883390190505b50955060008c63ffffffff161115613944576137498d6040805190810160405280600181526020017f2c000000000000000000000000000000000000000000000000000000000000008152508e612390565b60055460009c50909550640100000000900463ffffffff16156137b357600e8054600163ffffffff74010000000000000000000000000000000000000000808404821692909201160277ffffffff0000000000000000000000000000000000000000199091161790555b5060005b8b63ffffffff168163ffffffff16101561393f576137f1858263ffffffff168151811015156137e257fe5b90602001906020020151614b14565b63ffffffff8281166000908152600660209081526040918290208251608081018452815460ff811682526101008104861693820193909352650100000000009092046001608060020a031692820183905260010154600160a060020a031660608201528e519f9091019e92975092955091935084918c9190841690811061387457fe5b63ffffffff9283166020918202909201015282518a5190918b9190841690811061389a57fe5b60ff90921660209283029091018201528201518851899063ffffffff84169081106138c157fe5b63ffffffff92831660209182029092010152604083015188516001608060020a039091169189919084169081106138f457fe5b6020908102909101015260608201518651879063ffffffff841690811061391757fe5b600160a060020a03909216602092830290910190910152613937846131c7565b6001016137b7565b613949565b60009a505b7f87cbfb0b0e90893ded1b9e7d755df7d28ba11fa38221171cbc9c97cb0ed728d8428b8b8b8b8b60405180878152602001806020018060200180602001806020018060200186810386528b818151815260200191508051906020019060200280838360005b838110156139c65781810151838201526020016139ae565b5050505090500186810385528a818151815260200191508051906020019060200280838360005b83811015613a055781810151838201526020016139ed565b50505050905001868103845289818151815260200191508051906020019060200280838360005b83811015613a44578181015183820152602001613a2c565b50505050905001868103835288818151815260200191508051906020019060200280838360005b83811015613a83578181015183820152602001613a6b565b50505050905001868103825287818151815260200191508051906020019060200280838360005b83811015613ac2578181015183820152602001613aaa565b505050509050019b50505050505050505050505060405180910390a15050505050505050505092915050565b60095460408051600190920180835260208082028401019091526000916064603c85026001608060020a03160491839185916060918491829182918015613b3f578160200160208202803883390190505b5093506000896001608060020a03161115613eb757600092505b60095460ff84161015613bee576000600b8460ff16815481101515613b7a57fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161115613be3576009805460ff8516908110613bb557fe5b90600052602060002090600291828204019190066010029054906101000a90046001608060020a0316860195505b600190920191613b59565b600091505b60095460ff83161015613d48576000600b8360ff16815481101515613c1457fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161115613d3d57683635c9adc5dea00000600b8360ff16815481101515613c5a57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff16876001608060020a031660098560ff16815481101515613ca257fe5b90600052602060002090600291828204019190066010029054906101000a90046001608060020a03166103e8026001608060020a0316811515613ce157fe5b0489026001608060020a0316811515613cf657fe5b046001608060020a0316811515613d0957fe5b04670de0b6b3a764000002848360ff16815181101515613d2557fe5b6001608060020a039092166020928302909101909101525b600190910190613bf3565b5060005b600a54610100900463ffffffff1661ffff82161015613e28576004805461ffff8316908110613d7757fe5b6000918252602080832060088304015460079092166004026101000a90910463ffffffff1680835260069091526040909120548551919950859160ff909116908110613dbf57fe5b602090810290910181015163ffffffff8a1660009081526006909252604090912080546001608060020a0365010000000000808304821685019091160274ffffffffffffffffffffffffffffffff00000000001990911617905596509386900393600101613d4c565b613e30614cd5565b505060055463ffffffff64010000000090910416600090815260066020526040902080546001608060020a0365010000000000808304821689019091160274ffffffffffffffffffffffffffffffff0000000000199091161790558351859085906000198101908110613e9f57fe5b6001608060020a039092166020928302909101909101525b43600f55613ecb613ec6614eda565b6115f9565b7fe3779f7668882aec21cad5e600467d0e0a189ec39c7311ff0ff7500d67d2345a898560405180836001608060020a03166001608060020a0316815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015613f46578181015183820152602001613f2e565b50505050905001935050505060405180910390a1505050505050505050565b8251600a5460009081908190606090829065010000000000810461ffff1661010090910463ffffffff90811688011610613f9e57600080fd5b60009450600093505b8563ffffffff168461ffff1610156140485760085489518a9061ffff8716908110613fce57fe5b6020908102909101015160ff1610613fe557600080fd5b6008898561ffff16815181101515613ff957fe5b9060200190602002015160ff1681548110151561401257fe5b6000918252602090912060028204015460019182166010026101000a90046001608060020a031695909501949390930192613fa7565b8487101561405557600080fd5b8563ffffffff16604051908082528060200260200182016040528015614085578160200160208202803883390190505b509150600090505b8563ffffffff168161ffff16101561445557600454600a54610100900463ffffffff16101561411457600554600a546004805463ffffffff93841693919261010090049091169081106140dc57fe5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908363ffffffff16021790555061416f565b600554600480546001810182556000829052600881047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805460079092169092026101000a63ffffffff9384168102930219169190911790555b888161ffff1681518110151561418157fe5b602090810291909101810151600160a060020a038a16600090815260078352604080822060ff8416835290935291909120805463ffffffff198116600163ffffffff928316018216179182905584519295501690839061ffff84169081106141e557fe5b63ffffffff9092166020928302909101909101526040805160808101909152895181908b9061ffff851690811061421857fe5b602090810290910181015160ff9081168352600160a060020a038c166000908152600783526040808220928916808352928452908190205463ffffffff169284019290925260098054929093019291811061426f57fe5b90600052602060002090600291828204019190066010029054906101000a90046001608060020a03166001608060020a0316815260200189600160a060020a031681525060066000600560009054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160056101000a8154816001608060020a0302191690836001608060020a0316021790555060608201518160010160006101000a815481600160a060020a030219169083600160a060020a03160217905550905050600a600181819054906101000a900463ffffffff168092919060010191906101000a81548163ffffffff021916908363ffffffff160217905550506005600081819054906101000a900463ffffffff168092919060010191906101000a81548163ffffffff021916908363ffffffff16021790555050600b8360ff1681548110151561441157fe5b6000918252602090912060088204018054600163ffffffff60046007909516949094026101000a80830485168201851681029402199091169290921790550161408d565b7f570bd8ad82b219ca5bce00cd9ae0c759a2772336d3d18964d98d07848e5b2b578887600560009054906101000a900463ffffffff16038b856040518085600160a060020a0316600160a060020a031681526020018463ffffffff1663ffffffff1681526020018060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156144fc5781810151838201526020016144e4565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561453b578181015183820152602001614523565b50505050905001965050505050505060405180910390a1505050505050505050565b614565615a0e565b50604080518082019091528151815260209182019181019190915290565b60008082600001516145a78560000151866020015186600001518760200151614f22565b0190505b835160208501510181116145e95782516020808601518651918601516001909501946145e1929185039091039084908490614f22565b0190506145ab565b5092915050565b6145f8615a0e565b6145e9838383614fe2565b606080600083600001516040519080825280601f01601f19166020018201604052801561463a578160200160208202803883390190505b5091506020820190506145e98185602001518660000151615053565b6000614663826000615097565b92915050565b600d54600160a060020a031615806146935750600d5461469190600160a060020a0316612e9b565b155b156146a4576146a26000614b0a565b505b600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156146f757600080fd5b505af115801561470b573d6000803e3d6000fd5b505050506040513d602081101561472157600080fd5b5051600e54600160a060020a039081169116146147d757600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561478b57600080fd5b505af115801561479f573d6000803e3d6000fd5b505050506040513d60208110156147b557600080fd5b5051600e8054600160a060020a031916600160a060020a039092169190911790555b600e54604080517fca6ad1e4000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a039092169163ca6ad1e49160248082019260009290919082900301818387803b15801561483d57600080fd5b505af1158015614851573d6000803e3d6000fd5b5050505050565b60008060005a6012805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529396506148f69392918301828280156148eb5780601f106148c0576101008083540402835291602001916148eb565b820191906000526020600020905b8154815290600101906020018083116148ce57829003601f168201915b505050505085615251565b915050308031903182111561490a57600080fd5b600a54600161010090910463ffffffff16116149545761493b602060405190810160405280600081525060006135e3565b506149466000613aee565b600060158190559150614a82565b60135460128054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152614a7e9493909290918301828280156149e55780601f106149ba576101008083540402835291602001916149e5565b820191906000526020600020905b8154815290600101906020018083116149c857829003601f168201915b505060118054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815295509193509150830182828015614a735780601f10614a4857610100808354040283529160200191614a73565b820191906000526020600020905b815481529060010190602001808311614a5657829003601f168201915b5050505050876154c2565b6015555b6015546040805191825263ffffffff871660208301528181018690526060820184905260808201839052303160a0830152517f47249bc85fbe7d3a1c6751a7987a148ba54b6a80a477805355901788f4568fa79181900360c00190a13a5a840362030d40010282016017819055505050505050565b805161147490600c906020840190615a25565b6000614663612e9f565b6005546000908190819081908190640100000000900463ffffffff161515614b5857600e805477ffffffff0000000000000000000000000000000000000000191690555b614b60614cd5565b601054600e54929750909450600019017401000000000000000000000000000000000000000090910463ffffffff161115614bce57601080546000198101908110614ba757fe5b90600052602060002090602091828204019190069054906101000a900460ff169050614c21565b600e5460108054909174010000000000000000000000000000000000000000900463ffffffff16908110614bfe57fe5b90600052602060002090602091828204019190069054906101000a900460ff1690505b8060ff166103e80261ffff16620186a00362ffffff16915060008160ff16118015614c515750818663ffffffff16115b15614c7357600554640100000000900463ffffffff1694509192508291614ccd565b600a54614c8f9063ffffffff80891691610100900416846158c8565b935060048461ffff16815481101515614ca457fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1694505b505050915091565b600a54600090819081908190610100900463ffffffff161515614cfb5760009350614ed4565b600554640100000000900463ffffffff161515614e4457600480546000908110614d2157fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff16600560046101000a81548163ffffffff021916908363ffffffff16021790555060009250600191505b600a54610100900463ffffffff1661ffff83161015614e3f576005546004805464010000000090920463ffffffff169161ffff8516908110614dae57fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161015614e34576004805461ffff8416908110614dea57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff16600560046101000a81548163ffffffff021916908363ffffffff1602179055508192505b600190910190614d70565b614ec0565b5060005b600a54610100900463ffffffff1661ffff82161015614ec0576005546004805464010000000090920463ffffffff169161ffff8416908110614e8657fe5b6000918252602090912060088204015460079091166004026101000a900463ffffffff161415614eb857809250614ec0565b600101614e48565b600554640100000000900463ffffffff1693505b50509091565b601654600a5460009160ff1690606490610100900463ffffffff160460010163ffffffff1662015180811515614f0c57fe5b0463ffffffff16811515614f1c57fe5b04905090565b600083818080808080808c8b11614fcc5760208b11614f955760018b60200360080260020a03196001029550858a511694508a8d8d010393508588511692505b828514614f8d57838810614f7a578c8c019850614fd2565b8780600101985050858851169250614f62565b879850614fd2565b8a8a209150600096505b8a8d038711614fcc575089872081811415614fbc57879850614fd2565b6001978801979690960195614f9f565b8c8c0198505b5050505050505050949350505050565b614fea615a0e565b60006150088560000151866020015186600001518760200151614f22565b60208087018051918601919091528051820385528651905191925001811415615034576000855261504a565b8351835186519101900385528351810160208601525b50909392505050565b60005b60208210615078578251845260209384019390920191601f1990910190615056565b50905182516020929092036101000a6000190180199091169116179052565b6000828180805b83518110156152345783517f3000000000000000000000000000000000000000000000000000000000000000908590839081106150d757fe5b90602001015160f860020a900460f860020a027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561517d575083517f39000000000000000000000000000000000000000000000000000000000000009085908390811061514557fe5b90602001015160f860020a900460f860020a027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b156151d657811561519c5785151561519457615234565b600019909501945b600a83029250603084828151811015156151b257fe5b90602001015160f860020a900460f860020a0260f860020a9004038301925061522c565b83818151811015156151e457fe5b90602001015160f860020a900460f860020a027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916602e60f860020a02141561522c57600191505b60010161509e565b60008611156152465785600a0a830292505b509095945050505050565b600d54600090600160a060020a0316158061527e5750600d5461527c90600160a060020a0316612e9b565b155b1561528f5761528d6000614b0a565b505b600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156152e257600080fd5b505af11580156152f6573d6000803e3d6000fd5b505050506040513d602081101561530c57600080fd5b5051600e54600160a060020a039081169116146153c257600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561537657600080fd5b505af115801561538a573d6000803e3d6000fd5b505050506040513d60208110156153a057600080fd5b5051600e8054600160a060020a031916600160a060020a039092169190911790555b600e54604080517f2ef3accc0000000000000000000000000000000000000000000000000000000081526024810185905260048101918252855160448201528551600160a060020a0390931692632ef3accc9287928792829160640190602086019080838360005b8381101561544257818101518382015260200161542a565b50505050905090810190601f16801561546f5780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b15801561548f57600080fd5b505af11580156154a3573d6000803e3d6000fd5b505050506040513d60208110156154b957600080fd5b50519392505050565b600d546000908190600160a060020a031615806154f15750600d546154ef90600160a060020a0316612e9b565b155b15615502576155006000614b0a565b505b600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561555557600080fd5b505af1158015615569573d6000803e3d6000fd5b505050506040513d602081101561557f57600080fd5b5051600e54600160a060020a0390811691161461563557600d60009054906101000a9004600160a060020a0316600160a060020a03166338cc48316040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156155e957600080fd5b505af11580156155fd573d6000803e3d6000fd5b505050506040513d602081101561561357600080fd5b5051600e8054600160a060020a031916600160a060020a039092169190911790555b600e54604080517f2ef3accc0000000000000000000000000000000000000000000000000000000081526024810186905260048101918252875160448201528751600160a060020a0390931692632ef3accc9289928892829160640190602086019080838360005b838110156156b557818101518382015260200161569d565b50505050905090810190601f1680156156e25780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b15801561570257600080fd5b505af1158015615716573d6000803e3d6000fd5b505050506040513d602081101561572c57600080fd5b50519050670de0b6b3a76400003a84020181111561574d57600091506158bf565b600e546040517fc51be90f0000000000000000000000000000000000000000000000000000000081526004810188815260648201869052608060248301908152885160848401528851600160a060020a039094169363c51be90f9386938c938c938c938c939291604482019160a40190602088019080838360005b838110156157e05781810151838201526020016157c8565b50505050905090810190601f16801561580d5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015615840578181015183820152602001615828565b50505050905090810190601f16801561586d5780820380516001836020036101000a031916815260200191505b5096505050505050506020604051808303818588803b15801561588f57600080fd5b505af11580156158a3573d6000803e3d6000fd5b50505050506040513d60208110156158ba57600080fd5b505191505b50949350505050565b6000818385028115156158d757fe5b04949350505050565b8280548282559060005260206000209060010160029004810192821561598b5791602002820160005b8382111561595657835183826101000a8154816001608060020a03021916908369ffffffffffffffffffff1602179055509260200192601001602081600f01049283019260010302615909565b80156159895782816101000a8154906001608060020a030219169055601001602081600f01049283019260010302615956565b505b50615997929150615b9c565b5090565b8280548282559060005260206000209060010160029004810192821561598b5791602002820160005b8382111561595657835183826101000a8154816001608060020a0302191690836001608060020a031602179055509260200192601001602081600f010492830192600103026159c4565b604080518082019091526000808252602082015290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10615a6657805160ff1916838001178555615a93565b82800160010185558215615a93579182015b82811115615a93578251825591602001919060010190615a78565b50615997929150615bc9565b82805482825590600052602060002090601f01602090048101928215615b355791602002820160005b83821115615b0657835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302615ac8565b8015615b335782816101000a81549060ff0219169055600101602081600001049283019260010302615b06565b505b50615997929150615be3565b8154818355818111156133e95760070160089004816007016008900483600052602060002091820191016133e99190615bc9565b60408051608081018252600080825260208201819052918101829052606081019190915290565b6119b491905b808211156159975780546fffffffffffffffffffffffffffffffff19168155600101615ba2565b6119b491905b808211156159975760008155600101615bcf565b6119b491905b8082111561599757805460ff19168155600101615be95600a165627a7a7230582011438aaeed80800f48b4e25ac84baad191e510de52cac226ee706b5ac1b6b7020029
Swarm Source
bzzr://11438aaeed80800f48b4e25ac84baad191e510de52cac226ee706b5ac1b6b702
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.