More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,695 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21320440 | 20 days ago | IN | 0 ETH | 0.0008817 | ||||
Set Approval For... | 21028511 | 61 days ago | IN | 0 ETH | 0.00052897 | ||||
Set Approval For... | 20918060 | 77 days ago | IN | 0 ETH | 0.00026971 | ||||
Set Approval For... | 20713058 | 105 days ago | IN | 0 ETH | 0.00008699 | ||||
Set Approval For... | 20703722 | 106 days ago | IN | 0 ETH | 0.00003088 | ||||
Set Approval For... | 20513528 | 133 days ago | IN | 0 ETH | 0.00060869 | ||||
Set Approval For... | 19870712 | 223 days ago | IN | 0 ETH | 0.00026689 | ||||
Set Approval For... | 19323970 | 299 days ago | IN | 0 ETH | 0.00167442 | ||||
Set Approval For... | 19116187 | 329 days ago | IN | 0 ETH | 0.00083665 | ||||
Set Approval For... | 19052776 | 337 days ago | IN | 0 ETH | 0.00022693 | ||||
Set Approval For... | 18918225 | 356 days ago | IN | 0 ETH | 0.0004553 | ||||
Set Approval For... | 18802549 | 373 days ago | IN | 0 ETH | 0.00085076 | ||||
Set Approval For... | 18799434 | 373 days ago | IN | 0 ETH | 0.00143396 | ||||
Set Approval For... | 18787996 | 375 days ago | IN | 0 ETH | 0.00138711 | ||||
Mint | 18463891 | 420 days ago | IN | 0 ETH | 0.00444616 | ||||
Set Approval For... | 18377465 | 432 days ago | IN | 0 ETH | 0.00054527 | ||||
Set Approval For... | 18377465 | 432 days ago | IN | 0 ETH | 0.00054625 | ||||
Safe Transfer Fr... | 18336179 | 438 days ago | IN | 0 ETH | 0.00048192 | ||||
Mint | 18269268 | 447 days ago | IN | 0 ETH | 0.00114699 | ||||
Mint | 18269154 | 447 days ago | IN | 0 ETH | 0.00127504 | ||||
Set Approval For... | 18025996 | 481 days ago | IN | 0 ETH | 0.00081976 | ||||
Set Approval For... | 17955266 | 491 days ago | IN | 0 ETH | 0.00056894 | ||||
Set Approval For... | 17598269 | 541 days ago | IN | 0 ETH | 0.00067782 | ||||
Set Approval For... | 17519875 | 552 days ago | IN | 0 ETH | 0.00065557 | ||||
Set Approval For... | 17301009 | 583 days ago | IN | 0 ETH | 0.00160112 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
HowlerzChamps
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "./ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; interface IHowlerz { function transferFrom(address from, address to, uint256 tokenId) external; } interface IPrey { function transferFrom(address from, address to, uint256 tokenId) external; } contract HowlerzChamps is ERC721, Ownable { constructor() ERC721("Howlerz Champions", "CHAMPS") {} address howlerzAddress = 0x40Cf6a63C35B6886421988871F6b74cC86309940; address preyAddress = 0x057847A1c11A34d1A92Fb61e87D38707A9eE34C7; string private uri = "ipfs://QmY6KU7h1fNueSffSK3V99xtVK4FnkxjNkHYcM6NnZ73wZ/"; mapping(uint => bool) public inArena; bool public frozen = false; address public constant signerAddress = 0x7d1c1c1Fb80897fa9e08703faedBF8A6A25582f8; mapping(uint => uint[]) public rounds1; mapping(uint => uint[]) public rounds2; mapping(uint => uint[]) public rounds3; mapping(uint => uint[]) public rounds4; mapping(uint => uint) playInChamps; uint[] public registeredChamps; uint[] public finalFour; uint[] public finals; uint[] public winner; using Strings for uint256; using ECDSA for bytes32; function mint(uint howlerid, uint preyid, uint championid, bytes memory signature) public { bytes32 inputHash = keccak256( abi.encodePacked( msg.sender, howlerid, preyid, championid ) ); bytes32 ethSignedMessageHash = inputHash.toEthSignedMessageHash(); address recoveredAddress = ethSignedMessageHash.recover(signature); require(recoveredAddress == signerAddress, 'Bad signature'); IHowlerz(howlerzAddress).transferFrom(msg.sender, address(this), howlerid); IPrey(preyAddress).transferFrom(msg.sender, address(this), preyid); _mint(msg.sender, championid); } function feedHowler(uint howlerid, uint howlerid2, uint championid, bytes memory signature) public { bytes32 inputHash = keccak256( abi.encodePacked( msg.sender, howlerid, howlerid2, championid ) ); bytes32 ethSignedMessageHash = inputHash.toEthSignedMessageHash(); address recoveredAddress = ethSignedMessageHash.recover(signature); require(recoveredAddress == signerAddress, 'Bad signature'); IHowlerz(howlerzAddress).transferFrom(msg.sender, address(this), howlerid); IHowlerz(howlerzAddress).transferFrom(msg.sender, address(this), howlerid2); _mint(msg.sender, championid); } /** TOURNAMENT FUNCTIONS -------------------------- The tournament bracket is structured like march madness, with 4 sub brackets to allow for round execution in smaller chunks. The tournament works as follows: Say there are 1400 Champs participatings. The closest clean bracket is with 1024 Champs, so we need to elimate the rest. This will trigger a play-in scenario. In this case there will be (1400 - 1024) * 2 or 752 participating in the play-in round. The play-in will be randomly selected from rabids first. If there are more play-in slots than Rabids, next Supers will be selected next randomly. After the play-in round, half, or 376 Champions will move on to the bracket stage. Each bracket will consist of 1024/4, or 256 champions. The play-in round and seeding will be done off chain. Code will be available for randomization upon request. We will use the transaction hash of the last registered champion to seed the randomization. Once the play-in round is done, the full tournament bracket will be released. */ function registerChampion(uint tokenId) public { require(_ownerOf[tokenId] == msg.sender, "You don't own this token"); registeredChamps.push(tokenId); inArena[tokenId] = true; } function getRegistered() public view returns (uint[] memory) { return registeredChamps; } function playIn(uint[] calldata random, uint[] calldata health, uint i, uint max) external onlyOwner { uint offset = getOffset(); while (i < max) { uint randomIndex = (offset + i) % max; uint randomIndex2 = (offset + i + 1) % max; if ((health[i] * random[randomIndex]) >= (health[i + 1] * random[randomIndex2])) { inArena[playInChamps[i + 1]] = false; } else { inArena[playInChamps[i]] = false; } i += 2; } } function setPlayIn(uint[] calldata champs, uint i) external onlyOwner { for (uint ind = 0; ind < champs.length; ind++) { playInChamps[i] = champs[ind]; i++; } } function playRound(uint[] calldata random, uint[] calldata health, uint[] storage round, uint[] storage nextround) internal { uint i = 0; uint offset = getOffset(); while (i < round.length) { uint randomIndex = (offset + i) % round.length; uint randomIndex2 = (offset + i + 1) % round.length; if ((health[i] * random[randomIndex]) >= (health[i + 1] * random[randomIndex2])) { inArena[round[i + 1]] = false; nextround.push(round[i]); } else { inArena[round[i]] = false; nextround.push(round[i + 1]); } i = i + 2; } } function playBracket1Round(uint[] calldata random, uint[] calldata health, uint round) public onlyOwner { playRound(random, health, rounds1[round], rounds1[round + 1]); } function setBracket1Round(uint[] calldata champs, uint round) public onlyOwner { for (uint i = 0; i < champs.length; i++) { rounds1[round].push(champs[i]); } } function playBracket2Round(uint[] calldata random, uint[] calldata health, uint round) public onlyOwner { playRound(random, health, rounds2[round], rounds2[round + 1]); } function setBracket2Round(uint[] calldata champs, uint round) public onlyOwner { for (uint i = 0; i < champs.length; i++) { rounds2[round].push(champs[i]); } } function playBracket3Round(uint[] calldata random, uint[] calldata health, uint round) public onlyOwner { playRound(random, health, rounds3[round], rounds3[round + 1]); } function setBracket3Round(uint[] calldata champs, uint round) public onlyOwner { for (uint i = 0; i < champs.length; i++) { rounds3[round].push(champs[i]); } } function playBracket4Round(uint[] calldata random, uint[] calldata health, uint round) public onlyOwner { playRound(random, health, rounds4[round], rounds4[round + 1]); } function setBracket4Round(uint[] calldata champs, uint round) public onlyOwner { for (uint i = 0; i < champs.length; i++) { rounds4[round].push(champs[i]); } } function playFinalFour(uint[] calldata random, uint[] calldata health) public onlyOwner { playRound(random, health, finalFour, finals); } function setFinalFour(uint[] calldata champs) public onlyOwner { for (uint i = 0; i < 4; i++) { finalFour.push(champs[i]); } } function playFinals(uint[] calldata random, uint[] calldata health) public onlyOwner { playRound(random, health, finals, winner); } // function unwrap() public { // // we have so few howler feedz that aren't prey we can probably if them all out and just have 1 unwrap function // } /** OWNER FUNCTIONS */ function ownerMint(uint id) public onlyOwner { _mint(msg.sender, id); } function withdraw() public onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } function setBaseURI(string memory baseURI) public onlyOwner { if (frozen) { revert("Metadata is frozen"); } uri = baseURI; } function freezeMetadata() public onlyOwner { frozen = true; } function setContractAddress(uint identifier, address newaddress) public onlyOwner { if (identifier == 0) { howlerzAddress = newaddress; } else { preyAddress = newaddress; } } /** INTERNAL FUNCTIONS */ function getOffset() internal returns (uint) { uint offsetBlock = block.number - 69; uint offset = uint(blockhash(offsetBlock)); return offset; } /** OVERRIDE FUNCTIONS */ function transferFrom(address from, address to, uint256 id) public virtual override { if (inArena[id]) { revert("Champion is in arena"); } super.transferFrom(from,to,id); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_ownerOf[tokenId] != address(0), "NOT_MINTED"); return string(abi.encodePacked(uri, tokenId.toString())); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) /// edits by jackwb.eth @ layerr.xyz abstract contract ERC721 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC721 BALANCE/OWNER STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) internal _ownerOf; mapping(address => uint256) internal _balanceOf; function ownerOf(uint256 id) public view virtual returns (address owner) { require((owner = _ownerOf[id]) != address(0), "NOT_MINTED"); } function balanceOf(address owner) public view virtual returns (uint256) { require(owner != address(0), "ZERO_ADDRESS"); return _balanceOf[owner]; } /*////////////////////////////////////////////////////////////// ERC721 APPROVAL STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = _ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == _ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _balanceOf[from]--; _balanceOf[to]++; } _ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(_ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { _balanceOf[to]++; } _ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = _ownerOf[id]; require(owner != address(0), "NOT_MINTED"); require( msg.sender == owner || isApprovedForAll[owner][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Ownership check above ensures no underflow. unchecked { _balanceOf[owner]--; } delete _ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721TokenReceiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721TokenReceiver.onERC721Received.selector; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"howlerid","type":"uint256"},{"internalType":"uint256","name":"howlerid2","type":"uint256"},{"internalType":"uint256","name":"championid","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"feedHowler","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"finalFour","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"finals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRegistered","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"inArena","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"howlerid","type":"uint256"},{"internalType":"uint256","name":"preyid","type":"uint256"},{"internalType":"uint256","name":"championid","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"random","type":"uint256[]"},{"internalType":"uint256[]","name":"health","type":"uint256[]"},{"internalType":"uint256","name":"round","type":"uint256"}],"name":"playBracket1Round","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"random","type":"uint256[]"},{"internalType":"uint256[]","name":"health","type":"uint256[]"},{"internalType":"uint256","name":"round","type":"uint256"}],"name":"playBracket2Round","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"random","type":"uint256[]"},{"internalType":"uint256[]","name":"health","type":"uint256[]"},{"internalType":"uint256","name":"round","type":"uint256"}],"name":"playBracket3Round","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"random","type":"uint256[]"},{"internalType":"uint256[]","name":"health","type":"uint256[]"},{"internalType":"uint256","name":"round","type":"uint256"}],"name":"playBracket4Round","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"random","type":"uint256[]"},{"internalType":"uint256[]","name":"health","type":"uint256[]"}],"name":"playFinalFour","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"random","type":"uint256[]"},{"internalType":"uint256[]","name":"health","type":"uint256[]"}],"name":"playFinals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"random","type":"uint256[]"},{"internalType":"uint256[]","name":"health","type":"uint256[]"},{"internalType":"uint256","name":"i","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"playIn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"registerChampion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"registeredChamps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"rounds1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"rounds2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"rounds3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"rounds4","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"champs","type":"uint256[]"},{"internalType":"uint256","name":"round","type":"uint256"}],"name":"setBracket1Round","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"champs","type":"uint256[]"},{"internalType":"uint256","name":"round","type":"uint256"}],"name":"setBracket2Round","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"champs","type":"uint256[]"},{"internalType":"uint256","name":"round","type":"uint256"}],"name":"setBracket3Round","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"champs","type":"uint256[]"},{"internalType":"uint256","name":"round","type":"uint256"}],"name":"setBracket4Round","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"identifier","type":"uint256"},{"internalType":"address","name":"newaddress","type":"address"}],"name":"setContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"champs","type":"uint256[]"}],"name":"setFinalFour","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"champs","type":"uint256[]"},{"internalType":"uint256","name":"i","type":"uint256"}],"name":"setPlayIn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"winner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040527340cf6a63c35b6886421988871f6b74cc86309940600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073057847a1c11a34d1a92fb61e87d38707a9ee34c7600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180606001604052806036815260200162004f676036913960099080519060200190620000df9291906200029d565b506000600b60006101000a81548160ff0219169083151502179055503480156200010857600080fd5b506040518060400160405280601181526020017f486f776c65727a204368616d70696f6e730000000000000000000000000000008152506040518060400160405280600681526020017f4348414d5053000000000000000000000000000000000000000000000000000081525081600090805190602001906200018d9291906200029d565b508060019080519060200190620001a69291906200029d565b505050620001c9620001bd620001cf60201b60201c565b620001d760201b60201c565b620003b1565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002ab906200037c565b90600052602060002090601f016020900481019282620002cf57600085556200031b565b82601f10620002ea57805160ff19168380011785556200031b565b828001600101855582156200031b579182015b828111156200031a578251825591602001919060010190620002fd565b5b5090506200032a91906200032e565b5090565b5b80821115620003495760008160009055506001016200032f565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200039557607f821691505b602082108103620003ab57620003aa6200034d565b5b50919050565b614ba680620003c16000396000f3fe608060405234801561001057600080fd5b50600436106102bb5760003560e01c80636352211e11610182578063c1d26151116100e9578063e985e9c5116100a2578063f1b630691161007c578063f1b6306914610886578063f2fde38b146108b6578063f6b7bc32146108d2578063fbf48e7e146108ee576102bb565b8063e985e9c51461081e578063ef5f86ac1461084e578063f19e75d41461086a576102bb565b8063c1d261511461074c578063c87b56dd14610768578063d111515d14610798578063e2e59f7f146107a2578063e3270b17146107d2578063e94b01c9146107ee576102bb565b80638da5cb5b1161013b5780638da5cb5b146106a057806395d89b41146106be578063a22cb465146106dc578063b3346e7f146106f8578063b88d4fde14610714578063bb0165b114610730576102bb565b80636352211e146105cc5780636cbb78a3146105fc57806370a082311461062c578063715018a61461065c5780637a6543e2146106665780637d18912e14610684576102bb565b80633a6fa433116102265780634d3abc74116101df5780634d3abc74146105225780634ea479541461053e5780634f98f78b1461055a57806355f804b3146105765780635b7633d0146105925780636089e838146105b0576102bb565b80633a6fa433146104785780633b145952146104a85780633ccfd60b146104c45780633f19f768146104ce57806342842e0e146104ea5780634a9eee6914610506576102bb565b80631630cd15116102785780631630cd15146103945780631cbeae5e146103c45780631f49f53e146103f457806322d9d8cb14610424578063230755511461044057806323b872dd1461045c576102bb565b806301ffc9a7146102c0578063054f7d9c146102f057806306fdde031461030e578063081812fc1461032c578063095ea7b31461035c5780630d6b145814610378575b600080fd5b6102da60048036038101906102d59190613275565b61091e565b6040516102e791906132bd565b60405180910390f35b6102f86109b0565b60405161030591906132bd565b60405180910390f35b6103166109c3565b6040516103239190613371565b60405180910390f35b610346600480360381019061034191906133c9565b610a51565b6040516103539190613437565b60405180910390f35b6103766004803603810190610371919061347e565b610a84565b005b610392600480360381019061038d9190613523565b610c6d565b005b6103ae60048036038101906103a991906133c9565b610cdb565b6040516103bb9190613592565b60405180910390f35b6103de60048036038101906103d991906133c9565b610cff565b6040516103eb9190613592565b60405180910390f35b61040e600480360381019061040991906135ad565b610d23565b60405161041b9190613592565b60405180910390f35b61043e600480360381019061043991906133c9565b610d54565b005b61045a60048036038101906104559190613523565b610e4d565b005b610476600480360381019061047191906135ed565b610ecf565b005b610492600480360381019061048d91906133c9565b610f40565b60405161049f9190613592565b60405180910390f35b6104c260048036038101906104bd9190613640565b610f64565b005b6104cc610fb1565b005b6104e860048036038101906104e39190613523565b611008565b005b61050460048036038101906104ff91906135ed565b61108a565b005b610520600480360381019061051b9190613805565b6111c2565b005b61053c60048036038101906105379190613523565b6113ce565b005b61055860048036038101906105539190613888565b611450565b005b610574600480360381019061056f919061392f565b6115eb565b005b610590600480360381019061058b9190613a1d565b611659565b005b61059a6116cb565b6040516105a79190613437565b60405180910390f35b6105ca60048036038101906105c59190613640565b6116e3565b005b6105e660048036038101906105e191906133c9565b611730565b6040516105f39190613437565b60405180910390f35b610616600480360381019061061191906133c9565b6117db565b6040516106239190613592565b60405180910390f35b61064660048036038101906106419190613a66565b6117ff565b6040516106539190613592565b60405180910390f35b6106646118b6565b005b61066e6118ca565b60405161067b9190613b51565b60405180910390f35b61069e60048036038101906106999190613640565b611922565b005b6106a861196f565b6040516106b59190613437565b60405180910390f35b6106c6611999565b6040516106d39190613371565b60405180910390f35b6106f660048036038101906106f19190613b9f565b611a27565b005b610712600480360381019061070d9190613bdf565b611b24565b005b61072e60048036038101906107299190613cb6565b611b42565b005b61074a60048036038101906107459190613d3e565b611c80565b005b61076660048036038101906107619190613523565b611d1c565b005b610782600480360381019061077d91906133c9565b611d9e565b60405161078f9190613371565b60405180910390f35b6107a0611e74565b005b6107bc60048036038101906107b791906135ad565b611e99565b6040516107c99190613592565b60405180910390f35b6107ec60048036038101906107e79190613640565b611eca565b005b610808600480360381019061080391906135ad565b611f17565b6040516108159190613592565b60405180910390f35b61083860048036038101906108339190613d7e565b611f48565b60405161084591906132bd565b60405180910390f35b61086860048036038101906108639190613bdf565b611f77565b005b610884600480360381019061087f91906133c9565b611f95565b005b6108a0600480360381019061089b91906135ad565b611faa565b6040516108ad9190613592565b60405180910390f35b6108d060048036038101906108cb9190613a66565b611fdb565b005b6108ec60048036038101906108e79190613805565b61205e565b005b610908600480360381019061090391906133c9565b61226a565b60405161091591906132bd565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061097957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109a95750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600b60009054906101000a900460ff1681565b600080546109d090613ded565b80601f01602080910402602001604051908101604052809291908181526020018280546109fc90613ded565b8015610a495780601f10610a1e57610100808354040283529160200191610a49565b820191906000526020600020905b815481529060010190602001808311610a2c57829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b7c5750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb290613e6a565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610c7561228a565b60005b83839050811015610cd557838382818110610c9657610c95613e8a565b5b9050602002013560106000848152602001908152602001600020819055508180610cbf90613ee8565b9250508080610ccd90613ee8565b915050610c78565b50505050565b60118181548110610ceb57600080fd5b906000526020600020016000915090505481565b60148181548110610d0f57600080fd5b906000526020600020016000915090505481565b600f6020528160005260406000208181548110610d3f57600080fd5b90600052602060002001600091509150505481565b3373ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dec90613f7c565b60405180910390fd5b60118190806001815401808255809150506001900390600052602060002001600090919091909150556001600a600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610e5561228a565b60005b83839050811015610ec957600e6000838152602001908152602001600020848483818110610e8957610e88613e8a565b5b9050602002013590806001815401808255809150506001900390600052602060002001600090919091909150558080610ec190613ee8565b915050610e58565b50505050565b600a600082815260200190815260200160002060009054906101000a900460ff1615610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2790613fe8565b60405180910390fd5b610f3b838383612308565b505050565b60138181548110610f5057600080fd5b906000526020600020016000915090505481565b610f6c61228a565b610faa85858585600d6000878152602001908152602001600020600d6000600189610f979190614008565b8152602001908152602001600020612707565b5050505050565b610fb961228a565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611004573d6000803e3d6000fd5b5050565b61101061228a565b60005b8383905081101561108457600f600083815260200190815260200160002084848381811061104457611043613e8a565b5b905060200201359080600181540180825580915050600190039060005260206000200160009091909190915055808061107c90613ee8565b915050611013565b50505050565b611095838383610ecf565b60008273ffffffffffffffffffffffffffffffffffffffff163b148061117e575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b815260040161111a93929190614095565b6020604051808303816000875af1158015611139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115d91906140f4565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6111bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b49061416d565b60405180910390fd5b505050565b6000338585856040516020016111db94939291906141f6565b60405160208183030381529060405280519060200120905060006111fe82612952565b90506000611215848361298290919063ffffffff16565b9050737d1c1c1fb80897fa9e08703faedbf8a6a25582f873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611299576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129090614290565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33308a6040518463ffffffff1660e01b81526004016112f8939291906142b0565b600060405180830381600087803b15801561131257600080fd5b505af1158015611326573d6000803e3d6000fd5b50505050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330896040518463ffffffff1660e01b8152600401611389939291906142b0565b600060405180830381600087803b1580156113a357600080fd5b505af11580156113b7573d6000803e3d6000fd5b505050506113c533866129a9565b50505050505050565b6113d661228a565b60005b8383905081101561144a57600d600083815260200190815260200160002084848381811061140a57611409613e8a565b5b905060200201359080600181540180825580915050600190039060005260206000200160009091909190915055808061144290613ee8565b9150506113d9565b50505050565b61145861228a565b6000611462612bbb565b90505b818310156115e257600082848361147c9190614008565b6114869190614316565b9050600083600186856114999190614008565b6114a39190614008565b6114ad9190614316565b90508888828181106114c2576114c1613e8a565b5b9050602002013587876001886114d89190614008565b8181106114e8576114e7613e8a565b5b905060200201356114f99190614347565b89898481811061150c5761150b613e8a565b5b9050602002013588888881811061152657611525613e8a565b5b905060200201356115379190614347565b1061158c576000600a60006010600060018a6115539190614008565b815260200190815260200160002054815260200190815260200160002060006101000a81548160ff0219169083151502179055506115cc565b6000600a60006010600089815260200190815260200160002054815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6002856115d99190614008565b94505050611465565b50505050505050565b6115f361228a565b60005b600481101561165457601283838381811061161457611613613e8a565b5b905060200201359080600181540180825580915050600190039060005260206000200160009091909190915055808061164c90613ee8565b9150506115f6565b505050565b61166161228a565b600b60009054906101000a900460ff16156116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a8906143ed565b60405180910390fd5b80600990805190602001906116c7929190613166565b5050565b737d1c1c1fb80897fa9e08703faedbf8a6a25582f881565b6116eb61228a565b61172985858585600e6000878152602001908152602001600020600e60006001896117169190614008565b8152602001908152602001600020612707565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff16036117d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cd90614459565b60405180910390fd5b919050565b601281815481106117eb57600080fd5b906000526020600020016000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361186f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611866906144c5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118be61228a565b6118c86000612bde565b565b6060601180548060200260200160405190810160405280929190818152602001828054801561191857602002820191906000526020600020905b815481526020019060010190808311611904575b5050505050905090565b61192a61228a565b61196885858585600f6000878152602001908152602001600020600f60006001896119559190614008565b8152602001908152602001600020612707565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600180546119a690613ded565b80601f01602080910402602001604051908101604052809291908181526020018280546119d290613ded565b8015611a1f5780601f106119f457610100808354040283529160200191611a1f565b820191906000526020600020905b815481529060010190602001808311611a0257829003601f168201915b505050505081565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b1891906132bd565b60405180910390a35050565b611b2c61228a565b611b3c8484848460136014612707565b50505050565b611b4d858585610ecf565b60008473ffffffffffffffffffffffffffffffffffffffff163b1480611c3a575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b8152600401611bd6959493929190614512565b6020604051808303816000875af1158015611bf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1991906140f4565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b611c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c709061416d565b60405180910390fd5b5050505050565b611c8861228a565b60008203611cd65780600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611d18565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b611d2461228a565b60005b83839050811015611d9857600c6000838152602001908152602001600020848483818110611d5857611d57613e8a565b5b9050602002013590806001815401808255809150506001900390600052602060002001600090919091909150558080611d9090613ee8565b915050611d27565b50505050565b6060600073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3990614459565b60405180910390fd5b6009611e4d83612ca4565b604051602001611e5e929190614630565b6040516020818303038152906040529050919050565b611e7c61228a565b6001600b60006101000a81548160ff021916908315150217905550565b600e6020528160005260406000208181548110611eb557600080fd5b90600052602060002001600091509150505481565b611ed261228a565b611f1085858585600c6000878152602001908152602001600020600c6000600189611efd9190614008565b8152602001908152602001600020612707565b5050505050565b600c6020528160005260406000208181548110611f3357600080fd5b90600052602060002001600091509150505481565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611f7f61228a565b611f8f8484848460126013612707565b50505050565b611f9d61228a565b611fa733826129a9565b50565b600d6020528160005260406000208181548110611fc657600080fd5b90600052602060002001600091509150505481565b611fe361228a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612052576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612049906146c6565b60405180910390fd5b61205b81612bde565b50565b60003385858560405160200161207794939291906141f6565b604051602081830303815290604052805190602001209050600061209a82612952565b905060006120b1848361298290919063ffffffff16565b9050737d1c1c1fb80897fa9e08703faedbf8a6a25582f873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212c90614290565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33308a6040518463ffffffff1660e01b8152600401612194939291906142b0565b600060405180830381600087803b1580156121ae57600080fd5b505af11580156121c2573d6000803e3d6000fd5b50505050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330896040518463ffffffff1660e01b8152600401612225939291906142b0565b600060405180830381600087803b15801561223f57600080fd5b505af1158015612253573d6000803e3d6000fd5b5050505061226133866129a9565b50505050505050565b600a6020528060005260406000206000915054906101000a900460ff1681565b612292612d72565b73ffffffffffffffffffffffffffffffffffffffff166122b061196f565b73ffffffffffffffffffffffffffffffffffffffff1614612306576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fd90614732565b60405180910390fd5b565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146123a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a09061479e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240f9061480a565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806124d85750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b8061254157506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257790613e6a565b60405180910390fd5b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080612712612bbb565b90505b8380549050821015612948576000848054905083836127349190614008565b61273e9190614316565b905060008580549050600185856127559190614008565b61275f9190614008565b6127699190614316565b905089898281811061277e5761277d613e8a565b5b9050602002013588886001876127949190614008565b8181106127a4576127a3613e8a565b5b905060200201356127b59190614347565b8a8a848181106127c8576127c7613e8a565b5b905060200201358989878181106127e2576127e1613e8a565b5b905060200201356127f39190614347565b10612897576000600a60008860018861280c9190614008565b8154811061281d5761281c613e8a565b5b9060005260206000200154815260200190815260200160002060006101000a81548160ff0219169083151502179055508486858154811061286157612860613e8a565b5b90600052602060002001549080600181540180825580915050600190039060005260206000200160009091909190915055612932565b6000600a60008887815481106128b0576128af613e8a565b5b9060005260206000200154815260200190815260200160002060006101000a81548160ff02191690831515021790555084866001866128ef9190614008565b81548110612900576128ff613e8a565b5b906000526020600020015490806001815401808255809150506001900390600052602060002001600090919091909150555b60028461293f9190614008565b93505050612715565b5050505050505050565b60008160405160200161296591906148a1565b604051602081830303815290604052805190602001209050919050565b60008060006129918585612d7a565b9150915061299e81612dcb565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0f9061480a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab190614913565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080604543612bcb9190614933565b90506000814060001c9050809250505090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b606060006001612cb384612f31565b01905060008167ffffffffffffffff811115612cd257612cd16136da565b5b6040519080825280601f01601f191660200182016040528015612d045781602001600182028036833780820191505090505b509050600082602001820190505b600115612d67578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612d5b57612d5a6142e7565b5b04945060008503612d12575b819350505050919050565b600033905090565b6000806041835103612dbb5760008060006020860151925060408601519150606086015160001a9050612daf87828585613084565b94509450505050612dc4565b60006002915091505b9250929050565b60006004811115612ddf57612dde614967565b5b816004811115612df257612df1614967565b5b0315612f2e5760016004811115612e0c57612e0b614967565b5b816004811115612e1f57612e1e614967565b5b03612e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e56906149e2565b60405180910390fd5b60026004811115612e7357612e72614967565b5b816004811115612e8657612e85614967565b5b03612ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebd90614a4e565b60405180910390fd5b60036004811115612eda57612ed9614967565b5b816004811115612eed57612eec614967565b5b03612f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2490614ae0565b60405180910390fd5b5b50565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612f8f577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612f8557612f846142e7565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612fcc576d04ee2d6d415b85acef81000000008381612fc257612fc16142e7565b5b0492506020810190505b662386f26fc100008310612ffb57662386f26fc100008381612ff157612ff06142e7565b5b0492506010810190505b6305f5e1008310613024576305f5e100838161301a576130196142e7565b5b0492506008810190505b612710831061304957612710838161303f5761303e6142e7565b5b0492506004810190505b6064831061306c5760648381613062576130616142e7565b5b0492506002810190505b600a831061307b576001810190505b80915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156130bf57600060039150915061315d565b6000600187878787604051600081526020016040526040516130e49493929190614b2b565b6020604051602081039080840390855afa158015613106573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036131545760006001925092505061315d565b80600092509250505b94509492505050565b82805461317290613ded565b90600052602060002090601f01602090048101928261319457600085556131db565b82601f106131ad57805160ff19168380011785556131db565b828001600101855582156131db579182015b828111156131da5782518255916020019190600101906131bf565b5b5090506131e891906131ec565b5090565b5b808211156132055760008160009055506001016131ed565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132528161321d565b811461325d57600080fd5b50565b60008135905061326f81613249565b92915050565b60006020828403121561328b5761328a613213565b5b600061329984828501613260565b91505092915050565b60008115159050919050565b6132b7816132a2565b82525050565b60006020820190506132d260008301846132ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133125780820151818401526020810190506132f7565b83811115613321576000848401525b50505050565b6000601f19601f8301169050919050565b6000613343826132d8565b61334d81856132e3565b935061335d8185602086016132f4565b61336681613327565b840191505092915050565b6000602082019050818103600083015261338b8184613338565b905092915050565b6000819050919050565b6133a681613393565b81146133b157600080fd5b50565b6000813590506133c38161339d565b92915050565b6000602082840312156133df576133de613213565b5b60006133ed848285016133b4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613421826133f6565b9050919050565b61343181613416565b82525050565b600060208201905061344c6000830184613428565b92915050565b61345b81613416565b811461346657600080fd5b50565b60008135905061347881613452565b92915050565b6000806040838503121561349557613494613213565b5b60006134a385828601613469565b92505060206134b4858286016133b4565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126134e3576134e26134be565b5b8235905067ffffffffffffffff811115613500576134ff6134c3565b5b60208301915083602082028301111561351c5761351b6134c8565b5b9250929050565b60008060006040848603121561353c5761353b613213565b5b600084013567ffffffffffffffff81111561355a57613559613218565b5b613566868287016134cd565b93509350506020613579868287016133b4565b9150509250925092565b61358c81613393565b82525050565b60006020820190506135a76000830184613583565b92915050565b600080604083850312156135c4576135c3613213565b5b60006135d2858286016133b4565b92505060206135e3858286016133b4565b9150509250929050565b60008060006060848603121561360657613605613213565b5b600061361486828701613469565b935050602061362586828701613469565b9250506040613636868287016133b4565b9150509250925092565b60008060008060006060868803121561365c5761365b613213565b5b600086013567ffffffffffffffff81111561367a57613679613218565b5b613686888289016134cd565b9550955050602086013567ffffffffffffffff8111156136a9576136a8613218565b5b6136b5888289016134cd565b935093505060406136c8888289016133b4565b9150509295509295909350565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61371282613327565b810181811067ffffffffffffffff82111715613731576137306136da565b5b80604052505050565b6000613744613209565b90506137508282613709565b919050565b600067ffffffffffffffff8211156137705761376f6136da565b5b61377982613327565b9050602081019050919050565b82818337600083830152505050565b60006137a86137a384613755565b61373a565b9050828152602081018484840111156137c4576137c36136d5565b5b6137cf848285613786565b509392505050565b600082601f8301126137ec576137eb6134be565b5b81356137fc848260208601613795565b91505092915050565b6000806000806080858703121561381f5761381e613213565b5b600061382d878288016133b4565b945050602061383e878288016133b4565b935050604061384f878288016133b4565b925050606085013567ffffffffffffffff8111156138705761386f613218565b5b61387c878288016137d7565b91505092959194509250565b600080600080600080608087890312156138a5576138a4613213565b5b600087013567ffffffffffffffff8111156138c3576138c2613218565b5b6138cf89828a016134cd565b9650965050602087013567ffffffffffffffff8111156138f2576138f1613218565b5b6138fe89828a016134cd565b9450945050604061391189828a016133b4565b925050606061392289828a016133b4565b9150509295509295509295565b6000806020838503121561394657613945613213565b5b600083013567ffffffffffffffff81111561396457613963613218565b5b613970858286016134cd565b92509250509250929050565b600067ffffffffffffffff821115613997576139966136da565b5b6139a082613327565b9050602081019050919050565b60006139c06139bb8461397c565b61373a565b9050828152602081018484840111156139dc576139db6136d5565b5b6139e7848285613786565b509392505050565b600082601f830112613a0457613a036134be565b5b8135613a148482602086016139ad565b91505092915050565b600060208284031215613a3357613a32613213565b5b600082013567ffffffffffffffff811115613a5157613a50613218565b5b613a5d848285016139ef565b91505092915050565b600060208284031215613a7c57613a7b613213565b5b6000613a8a84828501613469565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ac881613393565b82525050565b6000613ada8383613abf565b60208301905092915050565b6000602082019050919050565b6000613afe82613a93565b613b088185613a9e565b9350613b1383613aaf565b8060005b83811015613b44578151613b2b8882613ace565b9750613b3683613ae6565b925050600181019050613b17565b5085935050505092915050565b60006020820190508181036000830152613b6b8184613af3565b905092915050565b613b7c816132a2565b8114613b8757600080fd5b50565b600081359050613b9981613b73565b92915050565b60008060408385031215613bb657613bb5613213565b5b6000613bc485828601613469565b9250506020613bd585828601613b8a565b9150509250929050565b60008060008060408587031215613bf957613bf8613213565b5b600085013567ffffffffffffffff811115613c1757613c16613218565b5b613c23878288016134cd565b9450945050602085013567ffffffffffffffff811115613c4657613c45613218565b5b613c52878288016134cd565b925092505092959194509250565b60008083601f840112613c7657613c756134be565b5b8235905067ffffffffffffffff811115613c9357613c926134c3565b5b602083019150836001820283011115613caf57613cae6134c8565b5b9250929050565b600080600080600060808688031215613cd257613cd1613213565b5b6000613ce088828901613469565b9550506020613cf188828901613469565b9450506040613d02888289016133b4565b935050606086013567ffffffffffffffff811115613d2357613d22613218565b5b613d2f88828901613c60565b92509250509295509295909350565b60008060408385031215613d5557613d54613213565b5b6000613d63858286016133b4565b9250506020613d7485828601613469565b9150509250929050565b60008060408385031215613d9557613d94613213565b5b6000613da385828601613469565b9250506020613db485828601613469565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e0557607f821691505b602082108103613e1857613e17613dbe565b5b50919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b6000613e54600e836132e3565b9150613e5f82613e1e565b602082019050919050565b60006020820190508181036000830152613e8381613e47565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ef382613393565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613f2557613f24613eb9565b5b600182019050919050565b7f596f7520646f6e2774206f776e207468697320746f6b656e0000000000000000600082015250565b6000613f666018836132e3565b9150613f7182613f30565b602082019050919050565b60006020820190508181036000830152613f9581613f59565b9050919050565b7f4368616d70696f6e20697320696e206172656e61000000000000000000000000600082015250565b6000613fd26014836132e3565b9150613fdd82613f9c565b602082019050919050565b6000602082019050818103600083015261400181613fc5565b9050919050565b600061401382613393565b915061401e83613393565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561405357614052613eb9565b5b828201905092915050565b600082825260208201905092915050565b50565b600061407f60008361405e565b915061408a8261406f565b600082019050919050565b60006080820190506140aa6000830186613428565b6140b76020830185613428565b6140c46040830184613583565b81810360608301526140d581614072565b9050949350505050565b6000815190506140ee81613249565b92915050565b60006020828403121561410a57614109613213565b5b6000614118848285016140df565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b60006141576010836132e3565b915061416282614121565b602082019050919050565b600060208201905081810360008301526141868161414a565b9050919050565b60008160601b9050919050565b60006141a58261418d565b9050919050565b60006141b78261419a565b9050919050565b6141cf6141ca82613416565b6141ac565b82525050565b6000819050919050565b6141f06141eb82613393565b6141d5565b82525050565b600061420282876141be565b60148201915061421282866141df565b60208201915061422282856141df565b60208201915061423282846141df565b60208201915081905095945050505050565b7f426164207369676e617475726500000000000000000000000000000000000000600082015250565b600061427a600d836132e3565b915061428582614244565b602082019050919050565b600060208201905081810360008301526142a98161426d565b9050919050565b60006060820190506142c56000830186613428565b6142d26020830185613428565b6142df6040830184613583565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061432182613393565b915061432c83613393565b92508261433c5761433b6142e7565b5b828206905092915050565b600061435282613393565b915061435d83613393565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561439657614395613eb9565b5b828202905092915050565b7f4d657461646174612069732066726f7a656e0000000000000000000000000000600082015250565b60006143d76012836132e3565b91506143e2826143a1565b602082019050919050565b60006020820190508181036000830152614406816143ca565b9050919050565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b6000614443600a836132e3565b915061444e8261440d565b602082019050919050565b6000602082019050818103600083015261447281614436565b9050919050565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b60006144af600c836132e3565b91506144ba82614479565b602082019050919050565b600060208201905081810360008301526144de816144a2565b9050919050565b60006144f1838561405e565b93506144fe838584613786565b61450783613327565b840190509392505050565b60006080820190506145276000830188613428565b6145346020830187613428565b6145416040830186613583565b81810360608301526145548184866144e5565b90509695505050505050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461458d81613ded565b6145978186614560565b945060018216600081146145b257600181146145c3576145f6565b60ff198316865281860193506145f6565b6145cc8561456b565b60005b838110156145ee578154818901526001820191506020810190506145cf565b838801955050505b50505092915050565b600061460a826132d8565b6146148185614560565b93506146248185602086016132f4565b80840191505092915050565b600061463c8285614580565b915061464882846145ff565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146b06026836132e3565b91506146bb82614654565b604082019050919050565b600060208201905081810360008301526146df816146a3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061471c6020836132e3565b9150614727826146e6565b602082019050919050565b6000602082019050818103600083015261474b8161470f565b9050919050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b6000614788600a836132e3565b915061479382614752565b602082019050919050565b600060208201905081810360008301526147b78161477b565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b60006147f46011836132e3565b91506147ff826147be565b602082019050919050565b60006020820190508181036000830152614823816147e7565b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614860601c83614560565b915061486b8261482a565b601c82019050919050565b6000819050919050565b6000819050919050565b61489b61489682614876565b614880565b82525050565b60006148ac82614853565b91506148b8828461488a565b60208201915081905092915050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b60006148fd600e836132e3565b9150614908826148c7565b602082019050919050565b6000602082019050818103600083015261492c816148f0565b9050919050565b600061493e82613393565b915061494983613393565b92508282101561495c5761495b613eb9565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006149cc6018836132e3565b91506149d782614996565b602082019050919050565b600060208201905081810360008301526149fb816149bf565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614a38601f836132e3565b9150614a4382614a02565b602082019050919050565b60006020820190508181036000830152614a6781614a2b565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614aca6022836132e3565b9150614ad582614a6e565b604082019050919050565b60006020820190508181036000830152614af981614abd565b9050919050565b614b0981614876565b82525050565b600060ff82169050919050565b614b2581614b0f565b82525050565b6000608082019050614b406000830187614b00565b614b4d6020830186614b1c565b614b5a6040830185614b00565b614b676060830184614b00565b9594505050505056fea26469706673582212204e078d108576d14d770cb4326acb2afc0f14017d3a2e4b525513d2d305dd5a3364736f6c634300080d0033697066733a2f2f516d59364b55376831664e7565536666534b335639397874564b34466e6b786a4e6b4859634d364e6e5a3733775a2f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102bb5760003560e01c80636352211e11610182578063c1d26151116100e9578063e985e9c5116100a2578063f1b630691161007c578063f1b6306914610886578063f2fde38b146108b6578063f6b7bc32146108d2578063fbf48e7e146108ee576102bb565b8063e985e9c51461081e578063ef5f86ac1461084e578063f19e75d41461086a576102bb565b8063c1d261511461074c578063c87b56dd14610768578063d111515d14610798578063e2e59f7f146107a2578063e3270b17146107d2578063e94b01c9146107ee576102bb565b80638da5cb5b1161013b5780638da5cb5b146106a057806395d89b41146106be578063a22cb465146106dc578063b3346e7f146106f8578063b88d4fde14610714578063bb0165b114610730576102bb565b80636352211e146105cc5780636cbb78a3146105fc57806370a082311461062c578063715018a61461065c5780637a6543e2146106665780637d18912e14610684576102bb565b80633a6fa433116102265780634d3abc74116101df5780634d3abc74146105225780634ea479541461053e5780634f98f78b1461055a57806355f804b3146105765780635b7633d0146105925780636089e838146105b0576102bb565b80633a6fa433146104785780633b145952146104a85780633ccfd60b146104c45780633f19f768146104ce57806342842e0e146104ea5780634a9eee6914610506576102bb565b80631630cd15116102785780631630cd15146103945780631cbeae5e146103c45780631f49f53e146103f457806322d9d8cb14610424578063230755511461044057806323b872dd1461045c576102bb565b806301ffc9a7146102c0578063054f7d9c146102f057806306fdde031461030e578063081812fc1461032c578063095ea7b31461035c5780630d6b145814610378575b600080fd5b6102da60048036038101906102d59190613275565b61091e565b6040516102e791906132bd565b60405180910390f35b6102f86109b0565b60405161030591906132bd565b60405180910390f35b6103166109c3565b6040516103239190613371565b60405180910390f35b610346600480360381019061034191906133c9565b610a51565b6040516103539190613437565b60405180910390f35b6103766004803603810190610371919061347e565b610a84565b005b610392600480360381019061038d9190613523565b610c6d565b005b6103ae60048036038101906103a991906133c9565b610cdb565b6040516103bb9190613592565b60405180910390f35b6103de60048036038101906103d991906133c9565b610cff565b6040516103eb9190613592565b60405180910390f35b61040e600480360381019061040991906135ad565b610d23565b60405161041b9190613592565b60405180910390f35b61043e600480360381019061043991906133c9565b610d54565b005b61045a60048036038101906104559190613523565b610e4d565b005b610476600480360381019061047191906135ed565b610ecf565b005b610492600480360381019061048d91906133c9565b610f40565b60405161049f9190613592565b60405180910390f35b6104c260048036038101906104bd9190613640565b610f64565b005b6104cc610fb1565b005b6104e860048036038101906104e39190613523565b611008565b005b61050460048036038101906104ff91906135ed565b61108a565b005b610520600480360381019061051b9190613805565b6111c2565b005b61053c60048036038101906105379190613523565b6113ce565b005b61055860048036038101906105539190613888565b611450565b005b610574600480360381019061056f919061392f565b6115eb565b005b610590600480360381019061058b9190613a1d565b611659565b005b61059a6116cb565b6040516105a79190613437565b60405180910390f35b6105ca60048036038101906105c59190613640565b6116e3565b005b6105e660048036038101906105e191906133c9565b611730565b6040516105f39190613437565b60405180910390f35b610616600480360381019061061191906133c9565b6117db565b6040516106239190613592565b60405180910390f35b61064660048036038101906106419190613a66565b6117ff565b6040516106539190613592565b60405180910390f35b6106646118b6565b005b61066e6118ca565b60405161067b9190613b51565b60405180910390f35b61069e60048036038101906106999190613640565b611922565b005b6106a861196f565b6040516106b59190613437565b60405180910390f35b6106c6611999565b6040516106d39190613371565b60405180910390f35b6106f660048036038101906106f19190613b9f565b611a27565b005b610712600480360381019061070d9190613bdf565b611b24565b005b61072e60048036038101906107299190613cb6565b611b42565b005b61074a60048036038101906107459190613d3e565b611c80565b005b61076660048036038101906107619190613523565b611d1c565b005b610782600480360381019061077d91906133c9565b611d9e565b60405161078f9190613371565b60405180910390f35b6107a0611e74565b005b6107bc60048036038101906107b791906135ad565b611e99565b6040516107c99190613592565b60405180910390f35b6107ec60048036038101906107e79190613640565b611eca565b005b610808600480360381019061080391906135ad565b611f17565b6040516108159190613592565b60405180910390f35b61083860048036038101906108339190613d7e565b611f48565b60405161084591906132bd565b60405180910390f35b61086860048036038101906108639190613bdf565b611f77565b005b610884600480360381019061087f91906133c9565b611f95565b005b6108a0600480360381019061089b91906135ad565b611faa565b6040516108ad9190613592565b60405180910390f35b6108d060048036038101906108cb9190613a66565b611fdb565b005b6108ec60048036038101906108e79190613805565b61205e565b005b610908600480360381019061090391906133c9565b61226a565b60405161091591906132bd565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061097957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109a95750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600b60009054906101000a900460ff1681565b600080546109d090613ded565b80601f01602080910402602001604051908101604052809291908181526020018280546109fc90613ded565b8015610a495780601f10610a1e57610100808354040283529160200191610a49565b820191906000526020600020905b815481529060010190602001808311610a2c57829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b7c5750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb290613e6a565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610c7561228a565b60005b83839050811015610cd557838382818110610c9657610c95613e8a565b5b9050602002013560106000848152602001908152602001600020819055508180610cbf90613ee8565b9250508080610ccd90613ee8565b915050610c78565b50505050565b60118181548110610ceb57600080fd5b906000526020600020016000915090505481565b60148181548110610d0f57600080fd5b906000526020600020016000915090505481565b600f6020528160005260406000208181548110610d3f57600080fd5b90600052602060002001600091509150505481565b3373ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dec90613f7c565b60405180910390fd5b60118190806001815401808255809150506001900390600052602060002001600090919091909150556001600a600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610e5561228a565b60005b83839050811015610ec957600e6000838152602001908152602001600020848483818110610e8957610e88613e8a565b5b9050602002013590806001815401808255809150506001900390600052602060002001600090919091909150558080610ec190613ee8565b915050610e58565b50505050565b600a600082815260200190815260200160002060009054906101000a900460ff1615610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2790613fe8565b60405180910390fd5b610f3b838383612308565b505050565b60138181548110610f5057600080fd5b906000526020600020016000915090505481565b610f6c61228a565b610faa85858585600d6000878152602001908152602001600020600d6000600189610f979190614008565b8152602001908152602001600020612707565b5050505050565b610fb961228a565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611004573d6000803e3d6000fd5b5050565b61101061228a565b60005b8383905081101561108457600f600083815260200190815260200160002084848381811061104457611043613e8a565b5b905060200201359080600181540180825580915050600190039060005260206000200160009091909190915055808061107c90613ee8565b915050611013565b50505050565b611095838383610ecf565b60008273ffffffffffffffffffffffffffffffffffffffff163b148061117e575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b815260040161111a93929190614095565b6020604051808303816000875af1158015611139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115d91906140f4565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6111bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b49061416d565b60405180910390fd5b505050565b6000338585856040516020016111db94939291906141f6565b60405160208183030381529060405280519060200120905060006111fe82612952565b90506000611215848361298290919063ffffffff16565b9050737d1c1c1fb80897fa9e08703faedbf8a6a25582f873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611299576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129090614290565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33308a6040518463ffffffff1660e01b81526004016112f8939291906142b0565b600060405180830381600087803b15801561131257600080fd5b505af1158015611326573d6000803e3d6000fd5b50505050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330896040518463ffffffff1660e01b8152600401611389939291906142b0565b600060405180830381600087803b1580156113a357600080fd5b505af11580156113b7573d6000803e3d6000fd5b505050506113c533866129a9565b50505050505050565b6113d661228a565b60005b8383905081101561144a57600d600083815260200190815260200160002084848381811061140a57611409613e8a565b5b905060200201359080600181540180825580915050600190039060005260206000200160009091909190915055808061144290613ee8565b9150506113d9565b50505050565b61145861228a565b6000611462612bbb565b90505b818310156115e257600082848361147c9190614008565b6114869190614316565b9050600083600186856114999190614008565b6114a39190614008565b6114ad9190614316565b90508888828181106114c2576114c1613e8a565b5b9050602002013587876001886114d89190614008565b8181106114e8576114e7613e8a565b5b905060200201356114f99190614347565b89898481811061150c5761150b613e8a565b5b9050602002013588888881811061152657611525613e8a565b5b905060200201356115379190614347565b1061158c576000600a60006010600060018a6115539190614008565b815260200190815260200160002054815260200190815260200160002060006101000a81548160ff0219169083151502179055506115cc565b6000600a60006010600089815260200190815260200160002054815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6002856115d99190614008565b94505050611465565b50505050505050565b6115f361228a565b60005b600481101561165457601283838381811061161457611613613e8a565b5b905060200201359080600181540180825580915050600190039060005260206000200160009091909190915055808061164c90613ee8565b9150506115f6565b505050565b61166161228a565b600b60009054906101000a900460ff16156116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a8906143ed565b60405180910390fd5b80600990805190602001906116c7929190613166565b5050565b737d1c1c1fb80897fa9e08703faedbf8a6a25582f881565b6116eb61228a565b61172985858585600e6000878152602001908152602001600020600e60006001896117169190614008565b8152602001908152602001600020612707565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff16036117d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cd90614459565b60405180910390fd5b919050565b601281815481106117eb57600080fd5b906000526020600020016000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361186f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611866906144c5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118be61228a565b6118c86000612bde565b565b6060601180548060200260200160405190810160405280929190818152602001828054801561191857602002820191906000526020600020905b815481526020019060010190808311611904575b5050505050905090565b61192a61228a565b61196885858585600f6000878152602001908152602001600020600f60006001896119559190614008565b8152602001908152602001600020612707565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600180546119a690613ded565b80601f01602080910402602001604051908101604052809291908181526020018280546119d290613ded565b8015611a1f5780601f106119f457610100808354040283529160200191611a1f565b820191906000526020600020905b815481529060010190602001808311611a0257829003601f168201915b505050505081565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b1891906132bd565b60405180910390a35050565b611b2c61228a565b611b3c8484848460136014612707565b50505050565b611b4d858585610ecf565b60008473ffffffffffffffffffffffffffffffffffffffff163b1480611c3a575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b8152600401611bd6959493929190614512565b6020604051808303816000875af1158015611bf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1991906140f4565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b611c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c709061416d565b60405180910390fd5b5050505050565b611c8861228a565b60008203611cd65780600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611d18565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b611d2461228a565b60005b83839050811015611d9857600c6000838152602001908152602001600020848483818110611d5857611d57613e8a565b5b9050602002013590806001815401808255809150506001900390600052602060002001600090919091909150558080611d9090613ee8565b915050611d27565b50505050565b6060600073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3990614459565b60405180910390fd5b6009611e4d83612ca4565b604051602001611e5e929190614630565b6040516020818303038152906040529050919050565b611e7c61228a565b6001600b60006101000a81548160ff021916908315150217905550565b600e6020528160005260406000208181548110611eb557600080fd5b90600052602060002001600091509150505481565b611ed261228a565b611f1085858585600c6000878152602001908152602001600020600c6000600189611efd9190614008565b8152602001908152602001600020612707565b5050505050565b600c6020528160005260406000208181548110611f3357600080fd5b90600052602060002001600091509150505481565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611f7f61228a565b611f8f8484848460126013612707565b50505050565b611f9d61228a565b611fa733826129a9565b50565b600d6020528160005260406000208181548110611fc657600080fd5b90600052602060002001600091509150505481565b611fe361228a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612052576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612049906146c6565b60405180910390fd5b61205b81612bde565b50565b60003385858560405160200161207794939291906141f6565b604051602081830303815290604052805190602001209050600061209a82612952565b905060006120b1848361298290919063ffffffff16565b9050737d1c1c1fb80897fa9e08703faedbf8a6a25582f873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212c90614290565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33308a6040518463ffffffff1660e01b8152600401612194939291906142b0565b600060405180830381600087803b1580156121ae57600080fd5b505af11580156121c2573d6000803e3d6000fd5b50505050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330896040518463ffffffff1660e01b8152600401612225939291906142b0565b600060405180830381600087803b15801561223f57600080fd5b505af1158015612253573d6000803e3d6000fd5b5050505061226133866129a9565b50505050505050565b600a6020528060005260406000206000915054906101000a900460ff1681565b612292612d72565b73ffffffffffffffffffffffffffffffffffffffff166122b061196f565b73ffffffffffffffffffffffffffffffffffffffff1614612306576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fd90614732565b60405180910390fd5b565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146123a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a09061479e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240f9061480a565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806124d85750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b8061254157506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257790613e6a565b60405180910390fd5b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080612712612bbb565b90505b8380549050821015612948576000848054905083836127349190614008565b61273e9190614316565b905060008580549050600185856127559190614008565b61275f9190614008565b6127699190614316565b905089898281811061277e5761277d613e8a565b5b9050602002013588886001876127949190614008565b8181106127a4576127a3613e8a565b5b905060200201356127b59190614347565b8a8a848181106127c8576127c7613e8a565b5b905060200201358989878181106127e2576127e1613e8a565b5b905060200201356127f39190614347565b10612897576000600a60008860018861280c9190614008565b8154811061281d5761281c613e8a565b5b9060005260206000200154815260200190815260200160002060006101000a81548160ff0219169083151502179055508486858154811061286157612860613e8a565b5b90600052602060002001549080600181540180825580915050600190039060005260206000200160009091909190915055612932565b6000600a60008887815481106128b0576128af613e8a565b5b9060005260206000200154815260200190815260200160002060006101000a81548160ff02191690831515021790555084866001866128ef9190614008565b81548110612900576128ff613e8a565b5b906000526020600020015490806001815401808255809150506001900390600052602060002001600090919091909150555b60028461293f9190614008565b93505050612715565b5050505050505050565b60008160405160200161296591906148a1565b604051602081830303815290604052805190602001209050919050565b60008060006129918585612d7a565b9150915061299e81612dcb565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0f9061480a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab190614913565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080604543612bcb9190614933565b90506000814060001c9050809250505090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b606060006001612cb384612f31565b01905060008167ffffffffffffffff811115612cd257612cd16136da565b5b6040519080825280601f01601f191660200182016040528015612d045781602001600182028036833780820191505090505b509050600082602001820190505b600115612d67578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612d5b57612d5a6142e7565b5b04945060008503612d12575b819350505050919050565b600033905090565b6000806041835103612dbb5760008060006020860151925060408601519150606086015160001a9050612daf87828585613084565b94509450505050612dc4565b60006002915091505b9250929050565b60006004811115612ddf57612dde614967565b5b816004811115612df257612df1614967565b5b0315612f2e5760016004811115612e0c57612e0b614967565b5b816004811115612e1f57612e1e614967565b5b03612e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e56906149e2565b60405180910390fd5b60026004811115612e7357612e72614967565b5b816004811115612e8657612e85614967565b5b03612ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebd90614a4e565b60405180910390fd5b60036004811115612eda57612ed9614967565b5b816004811115612eed57612eec614967565b5b03612f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2490614ae0565b60405180910390fd5b5b50565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612f8f577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612f8557612f846142e7565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612fcc576d04ee2d6d415b85acef81000000008381612fc257612fc16142e7565b5b0492506020810190505b662386f26fc100008310612ffb57662386f26fc100008381612ff157612ff06142e7565b5b0492506010810190505b6305f5e1008310613024576305f5e100838161301a576130196142e7565b5b0492506008810190505b612710831061304957612710838161303f5761303e6142e7565b5b0492506004810190505b6064831061306c5760648381613062576130616142e7565b5b0492506002810190505b600a831061307b576001810190505b80915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156130bf57600060039150915061315d565b6000600187878787604051600081526020016040526040516130e49493929190614b2b565b6020604051602081039080840390855afa158015613106573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036131545760006001925092505061315d565b80600092509250505b94509492505050565b82805461317290613ded565b90600052602060002090601f01602090048101928261319457600085556131db565b82601f106131ad57805160ff19168380011785556131db565b828001600101855582156131db579182015b828111156131da5782518255916020019190600101906131bf565b5b5090506131e891906131ec565b5090565b5b808211156132055760008160009055506001016131ed565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132528161321d565b811461325d57600080fd5b50565b60008135905061326f81613249565b92915050565b60006020828403121561328b5761328a613213565b5b600061329984828501613260565b91505092915050565b60008115159050919050565b6132b7816132a2565b82525050565b60006020820190506132d260008301846132ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133125780820151818401526020810190506132f7565b83811115613321576000848401525b50505050565b6000601f19601f8301169050919050565b6000613343826132d8565b61334d81856132e3565b935061335d8185602086016132f4565b61336681613327565b840191505092915050565b6000602082019050818103600083015261338b8184613338565b905092915050565b6000819050919050565b6133a681613393565b81146133b157600080fd5b50565b6000813590506133c38161339d565b92915050565b6000602082840312156133df576133de613213565b5b60006133ed848285016133b4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613421826133f6565b9050919050565b61343181613416565b82525050565b600060208201905061344c6000830184613428565b92915050565b61345b81613416565b811461346657600080fd5b50565b60008135905061347881613452565b92915050565b6000806040838503121561349557613494613213565b5b60006134a385828601613469565b92505060206134b4858286016133b4565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126134e3576134e26134be565b5b8235905067ffffffffffffffff811115613500576134ff6134c3565b5b60208301915083602082028301111561351c5761351b6134c8565b5b9250929050565b60008060006040848603121561353c5761353b613213565b5b600084013567ffffffffffffffff81111561355a57613559613218565b5b613566868287016134cd565b93509350506020613579868287016133b4565b9150509250925092565b61358c81613393565b82525050565b60006020820190506135a76000830184613583565b92915050565b600080604083850312156135c4576135c3613213565b5b60006135d2858286016133b4565b92505060206135e3858286016133b4565b9150509250929050565b60008060006060848603121561360657613605613213565b5b600061361486828701613469565b935050602061362586828701613469565b9250506040613636868287016133b4565b9150509250925092565b60008060008060006060868803121561365c5761365b613213565b5b600086013567ffffffffffffffff81111561367a57613679613218565b5b613686888289016134cd565b9550955050602086013567ffffffffffffffff8111156136a9576136a8613218565b5b6136b5888289016134cd565b935093505060406136c8888289016133b4565b9150509295509295909350565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61371282613327565b810181811067ffffffffffffffff82111715613731576137306136da565b5b80604052505050565b6000613744613209565b90506137508282613709565b919050565b600067ffffffffffffffff8211156137705761376f6136da565b5b61377982613327565b9050602081019050919050565b82818337600083830152505050565b60006137a86137a384613755565b61373a565b9050828152602081018484840111156137c4576137c36136d5565b5b6137cf848285613786565b509392505050565b600082601f8301126137ec576137eb6134be565b5b81356137fc848260208601613795565b91505092915050565b6000806000806080858703121561381f5761381e613213565b5b600061382d878288016133b4565b945050602061383e878288016133b4565b935050604061384f878288016133b4565b925050606085013567ffffffffffffffff8111156138705761386f613218565b5b61387c878288016137d7565b91505092959194509250565b600080600080600080608087890312156138a5576138a4613213565b5b600087013567ffffffffffffffff8111156138c3576138c2613218565b5b6138cf89828a016134cd565b9650965050602087013567ffffffffffffffff8111156138f2576138f1613218565b5b6138fe89828a016134cd565b9450945050604061391189828a016133b4565b925050606061392289828a016133b4565b9150509295509295509295565b6000806020838503121561394657613945613213565b5b600083013567ffffffffffffffff81111561396457613963613218565b5b613970858286016134cd565b92509250509250929050565b600067ffffffffffffffff821115613997576139966136da565b5b6139a082613327565b9050602081019050919050565b60006139c06139bb8461397c565b61373a565b9050828152602081018484840111156139dc576139db6136d5565b5b6139e7848285613786565b509392505050565b600082601f830112613a0457613a036134be565b5b8135613a148482602086016139ad565b91505092915050565b600060208284031215613a3357613a32613213565b5b600082013567ffffffffffffffff811115613a5157613a50613218565b5b613a5d848285016139ef565b91505092915050565b600060208284031215613a7c57613a7b613213565b5b6000613a8a84828501613469565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ac881613393565b82525050565b6000613ada8383613abf565b60208301905092915050565b6000602082019050919050565b6000613afe82613a93565b613b088185613a9e565b9350613b1383613aaf565b8060005b83811015613b44578151613b2b8882613ace565b9750613b3683613ae6565b925050600181019050613b17565b5085935050505092915050565b60006020820190508181036000830152613b6b8184613af3565b905092915050565b613b7c816132a2565b8114613b8757600080fd5b50565b600081359050613b9981613b73565b92915050565b60008060408385031215613bb657613bb5613213565b5b6000613bc485828601613469565b9250506020613bd585828601613b8a565b9150509250929050565b60008060008060408587031215613bf957613bf8613213565b5b600085013567ffffffffffffffff811115613c1757613c16613218565b5b613c23878288016134cd565b9450945050602085013567ffffffffffffffff811115613c4657613c45613218565b5b613c52878288016134cd565b925092505092959194509250565b60008083601f840112613c7657613c756134be565b5b8235905067ffffffffffffffff811115613c9357613c926134c3565b5b602083019150836001820283011115613caf57613cae6134c8565b5b9250929050565b600080600080600060808688031215613cd257613cd1613213565b5b6000613ce088828901613469565b9550506020613cf188828901613469565b9450506040613d02888289016133b4565b935050606086013567ffffffffffffffff811115613d2357613d22613218565b5b613d2f88828901613c60565b92509250509295509295909350565b60008060408385031215613d5557613d54613213565b5b6000613d63858286016133b4565b9250506020613d7485828601613469565b9150509250929050565b60008060408385031215613d9557613d94613213565b5b6000613da385828601613469565b9250506020613db485828601613469565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e0557607f821691505b602082108103613e1857613e17613dbe565b5b50919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b6000613e54600e836132e3565b9150613e5f82613e1e565b602082019050919050565b60006020820190508181036000830152613e8381613e47565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ef382613393565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613f2557613f24613eb9565b5b600182019050919050565b7f596f7520646f6e2774206f776e207468697320746f6b656e0000000000000000600082015250565b6000613f666018836132e3565b9150613f7182613f30565b602082019050919050565b60006020820190508181036000830152613f9581613f59565b9050919050565b7f4368616d70696f6e20697320696e206172656e61000000000000000000000000600082015250565b6000613fd26014836132e3565b9150613fdd82613f9c565b602082019050919050565b6000602082019050818103600083015261400181613fc5565b9050919050565b600061401382613393565b915061401e83613393565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561405357614052613eb9565b5b828201905092915050565b600082825260208201905092915050565b50565b600061407f60008361405e565b915061408a8261406f565b600082019050919050565b60006080820190506140aa6000830186613428565b6140b76020830185613428565b6140c46040830184613583565b81810360608301526140d581614072565b9050949350505050565b6000815190506140ee81613249565b92915050565b60006020828403121561410a57614109613213565b5b6000614118848285016140df565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b60006141576010836132e3565b915061416282614121565b602082019050919050565b600060208201905081810360008301526141868161414a565b9050919050565b60008160601b9050919050565b60006141a58261418d565b9050919050565b60006141b78261419a565b9050919050565b6141cf6141ca82613416565b6141ac565b82525050565b6000819050919050565b6141f06141eb82613393565b6141d5565b82525050565b600061420282876141be565b60148201915061421282866141df565b60208201915061422282856141df565b60208201915061423282846141df565b60208201915081905095945050505050565b7f426164207369676e617475726500000000000000000000000000000000000000600082015250565b600061427a600d836132e3565b915061428582614244565b602082019050919050565b600060208201905081810360008301526142a98161426d565b9050919050565b60006060820190506142c56000830186613428565b6142d26020830185613428565b6142df6040830184613583565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061432182613393565b915061432c83613393565b92508261433c5761433b6142e7565b5b828206905092915050565b600061435282613393565b915061435d83613393565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561439657614395613eb9565b5b828202905092915050565b7f4d657461646174612069732066726f7a656e0000000000000000000000000000600082015250565b60006143d76012836132e3565b91506143e2826143a1565b602082019050919050565b60006020820190508181036000830152614406816143ca565b9050919050565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b6000614443600a836132e3565b915061444e8261440d565b602082019050919050565b6000602082019050818103600083015261447281614436565b9050919050565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b60006144af600c836132e3565b91506144ba82614479565b602082019050919050565b600060208201905081810360008301526144de816144a2565b9050919050565b60006144f1838561405e565b93506144fe838584613786565b61450783613327565b840190509392505050565b60006080820190506145276000830188613428565b6145346020830187613428565b6145416040830186613583565b81810360608301526145548184866144e5565b90509695505050505050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461458d81613ded565b6145978186614560565b945060018216600081146145b257600181146145c3576145f6565b60ff198316865281860193506145f6565b6145cc8561456b565b60005b838110156145ee578154818901526001820191506020810190506145cf565b838801955050505b50505092915050565b600061460a826132d8565b6146148185614560565b93506146248185602086016132f4565b80840191505092915050565b600061463c8285614580565b915061464882846145ff565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146b06026836132e3565b91506146bb82614654565b604082019050919050565b600060208201905081810360008301526146df816146a3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061471c6020836132e3565b9150614727826146e6565b602082019050919050565b6000602082019050818103600083015261474b8161470f565b9050919050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b6000614788600a836132e3565b915061479382614752565b602082019050919050565b600060208201905081810360008301526147b78161477b565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b60006147f46011836132e3565b91506147ff826147be565b602082019050919050565b60006020820190508181036000830152614823816147e7565b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614860601c83614560565b915061486b8261482a565b601c82019050919050565b6000819050919050565b6000819050919050565b61489b61489682614876565b614880565b82525050565b60006148ac82614853565b91506148b8828461488a565b60208201915081905092915050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b60006148fd600e836132e3565b9150614908826148c7565b602082019050919050565b6000602082019050818103600083015261492c816148f0565b9050919050565b600061493e82613393565b915061494983613393565b92508282101561495c5761495b613eb9565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006149cc6018836132e3565b91506149d782614996565b602082019050919050565b600060208201905081810360008301526149fb816149bf565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614a38601f836132e3565b9150614a4382614a02565b602082019050919050565b60006020820190508181036000830152614a6781614a2b565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614aca6022836132e3565b9150614ad582614a6e565b604082019050919050565b60006020820190508181036000830152614af981614abd565b9050919050565b614b0981614876565b82525050565b600060ff82169050919050565b614b2581614b0f565b82525050565b6000608082019050614b406000830187614b00565b614b4d6020830186614b1c565b614b5a6040830185614b00565b614b676060830184614b00565b9594505050505056fea26469706673582212204e078d108576d14d770cb4326acb2afc0f14017d3a2e4b525513d2d305dd5a3364736f6c634300080d0033
Loading...
Loading
Loading...
Loading
OVERVIEW
HOWLERZ ACT 3: CHAMPIONS is a dynamic collection of up to 5k digital avatars which can only be minted by "feeding" PREY to your HOWLER. BE ADVISED: both tokens are BURNED in the irreversible minting process. CHAMPIONS can eventually be staked for combat in a passive-play brack...Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.