Source Code
Overview
ETH Balance
0 ETH
Token Holdings
More Info
ContractCreator
TokenTracker
Multi Chain
Multichain Addresses
4 addresses found via
Latest 4 from a total of 4 transactions
Loading...
Loading
Contract Name:
Courage
Compiler Version
v0.8.4+commit.c7e474f2
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; import "./CourageSvgs.sol"; import "./DataURIs.sol"; import "./ERC721ForAll.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract Courage is ERC721ForAll("Carbonated Courage", "COUR") { using Strings for uint256; using DataURIs for string; // Hand-picked to be a pretty good one. uint256 private constant CONTRACT_IMAGE_SEED = 469379910270314646414328754926797194489967926725; function contractURI() public pure returns (string memory) { return string( abi.encodePacked( "{\n" ' "name": "Carbonated Courage",\n' ' "description": "Courage you had it all along, even if you didn\'t know it.",\n', ' "seller_fee_basis_points": 100,\n' ' "fee_recipient": "0xa8Ffa84FE054da6BAb987a8984D4d35f54491A75",\n' ' "image": "', CourageSvgs.generateSvg(CONTRACT_IMAGE_SEED).toSvgURI(), '"\n' "}\n" ) ).toJsonURI(); } function _generateURI(uint256 tokenId) internal view virtual override returns (string memory) { return generateJson(tokenId).toJsonURI(); } function generateJson(uint256 tokenId) private pure returns (string memory) { string memory addr = tokenId.toHexString(20); string memory shortAddr = shortenAddress(addr); return string( abi.encodePacked( "{\n" ' "name": "Courage of ', shortAddr, '",\n' ' "description": "Courage that ', shortAddr, " had all along, even if they didn't know it.\",\n" ' "attributes": [\n' " {\n" ' "trait_type": "Original owner",\n' ' "value": "', addr, '"\n' " }\n" " ],\n" ' "image": "', CourageSvgs.generateSvg(tokenId).toSvgURI(), '"\n' "}\n" ) ); } function shortenAddress(string memory addr) private pure returns (string memory) { return string( abi.encodePacked( slice(addr, 0, 5), "\u2026", slice(addr, 38, 42) ) ); } function slice( string memory s, uint256 start, uint256 end ) private pure returns (string memory) { bytes memory b = new bytes(end - start); for (uint256 i = 0; i < end - start; i++) { b[i] = bytes(s)[start + i]; } return string(b); } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Strings.sol"; library CourageSvgs { using Strings for uint8; using Strings for uint16; struct CircleProps { uint16 cx; uint16 cy; uint8 r; string fill; } function generateSvg(uint256 tokenId) internal pure returns (string memory) { return string( abi.encodePacked( '<svg width="350" height="350" viewbox="0 0 350 350" xmlns="http://www.w3.org/2000/svg">\n' ' <filter id="neon">\n' ' <feFlood flood-color="#FFD54F" flood-opacity="0.5" in="SourceGraphic" />\n' ' <feComposite operator="in" in2="SourceGraphic" />\n' ' <feGaussianBlur stdDeviation="5" />\n' ' <feComponentTransfer result="glow1">\n' ' <feFuncA type="linear" slope="4" intercept="0" />\n' " </feComponentTransfer>\n" " <feMerge>\n" ' <feMergeNode in="glow1" />\n' ' <feMergeNode in="SourceGraphic" />\n' " </feMerge>\n" " </filter>\n" ' <rect width="100%" height="100%" fill="#182026" />\n', generateCircles(tokenId), "</svg>\n" ) ); } function generateCircles(uint256 tokenId) private pure returns (string memory) { CircleProps[8] memory circles; for (uint8 i = 0; i < 8; i++) { circles[i] = readCircleProps(tokenId, i); } // Use separate functions for under- and overlay to dodge "stack too // deep" error. return string( abi.encodePacked( generateUnderlayCircles(circles), generateOverlayCircles(circles) ) ); } function generateUnderlayCircles(CircleProps[8] memory circles) private pure returns (string memory) { return string( abi.encodePacked( generateCircle(circles[0], false), generateCircle(circles[1], false), generateCircle(circles[2], false), generateCircle(circles[3], false), generateCircle(circles[4], false), generateCircle(circles[5], false), generateCircle(circles[6], false), generateCircle(circles[7], false) ) ); } function generateOverlayCircles(CircleProps[8] memory circles) private pure returns (string memory) { return string( abi.encodePacked( generateCircle(circles[7], true), generateCircle(circles[6], true), generateCircle(circles[5], true), generateCircle(circles[4], true), generateCircle(circles[3], true), generateCircle(circles[2], true), generateCircle(circles[1], true), generateCircle(circles[0], true) ) ); } function generateCircle(CircleProps memory circle, bool isOverlay) private pure returns (string memory) { return string( abi.encodePacked( ' <circle cx="', circle.cx.toString(), '" cy="', circle.cy.toString(), '" r="', circle.r.toString(), '" fill="', circle.fill, '" ', isOverlay ? 'filter="url(#neon)" opacity="0.5" ' : "", "/>\n" ) ); } function readCircleProps(uint256 tokenId, uint8 circleIndex) private pure returns (CircleProps memory) { uint8 start = 20 * circleIndex; // Nudges based on circleIndex ensure all images are distinct: we won't // get duplicates by reordering circles. uint8 cxNudge = circleIndex & 3; uint8 cyNudge = circleIndex >> 1; return CircleProps({ cx: readPosition(tokenId, start) + cxNudge, cy: readPosition(tokenId, start + 6) + cyNudge, r: readRadius(tokenId, start), fill: readFill(tokenId, start) }); } function readPosition(uint256 tokenId, uint8 start) private pure returns (uint16) { return 15 + 5 * uint16(readBits(tokenId, start, 6)); } function readRadius(uint256 tokenId, uint8 circleStart) private pure returns (uint8) { uint8 index = uint8(readBits(tokenId, circleStart + 12, 4)); if (index < 8) { // 30,31,...,37 return 30 + index; } else if (index < 14) { // 60,63,...,75 return 36 + 3 * index; } else if (index == 14) { return 120; } else { return 150; } } function readFill(uint256 tokenId, uint8 circleStart) private pure returns (string memory) { uint256 index = readBits(tokenId, circleStart + 16, 4); if (index == 0) { return "#D32F2F"; } else if (index == 1) { return "#D81B60"; } else if (index == 2) { return "#AB47BC"; } else if (index == 3) { return "#7B1FA2"; } else if (index == 4) { return "#7E57C2"; } else if (index == 5) { return "#512DA8"; } else if (index == 6) { return "#5C6BC0"; } else if (index == 7) { return "#303F9F"; } else if (index == 8) { return "#1976D2"; } else if (index == 9) { return "#0277BD"; } else if (index == 10) { return "#006064"; } else if (index == 11) { return "#00796B"; } else if (index == 12) { return "#2E7D32"; } else if (index == 13) { return "#33691E"; } else if (index == 14) { return "#BF360C"; } else { return "#8D6E63"; } } function readBits( uint256 tokenId, uint8 offset, uint8 length ) private pure returns (uint256) { uint256 shift = 160 - offset - length; uint256 mask = ((1 << length) - 1) << shift; return (tokenId & mask) >> shift; } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Base64.sol"; library DataURIs { string private constant JSON_PREFIX = "data:application/json;base64,"; string private constant SVG_PREFIX = "data:image/svg+xml;base64,"; function toJsonURI(string memory json) internal pure returns (string memory) { return toURI(JSON_PREFIX, json); } function toSvgURI(string memory svg) internal pure returns (string memory) { return toURI(SVG_PREFIX, svg); } function toURI(string memory prefix, string memory data) private pure returns (string memory) { return string(abi.encodePacked(prefix, Base64.encode(bytes(data)))); } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract ERC721ForAll is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // We can't indicate burned tokens as those owned by 0, since tokens with // owner 0 are those held by their original owners. Instead, use 1 as the // owner for burned tokens. // // We could have stored the burned tokens in a separate mapping instead, // but that would force a bunch of extra storage reads everywhere which // would raise gas costs. address private constant BURN_ADDRESS = address(1); // The largest possible token ID is the largest possible address. uint256 private constant MAX_TOKEN_ID = (1 << 160) - 1; // Mapping from token ID to owner address, if not their original owner. mapping(uint256 => address) private _owners; // Mapping owner address to number of tokens they own other than their // initial token. mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Mapping from owner to list of owned token IDs, not including their // original token. mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Total number of tokens. Begins at 2^160 - 2, counting all addresses other // than 0 and 1. uint256 _totalSupply = (1 << 160) - 2; // Mapping of tokens by their index in the enumeration, if different from // their initial index. mapping(uint256 => uint256) private _displacedTokensByIndex; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * Emits transfers events for the specified tokens from their owners to * themselves. This can make tokens visible to services like OpenSea that * only recognize a token once it has appeared in a Transfer event. */ function announceTokens(uint256[] calldata tokenIds) public { for (uint256 i = 0; i < tokenIds.length; i++) { uint256 tokenId = tokenIds[i]; address owner = ownerOf(tokenId); emit Transfer(owner, owner, tokenId); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); if (owner == BURN_ADDRESS) { return 0; } return _balances[owner] + (_ownsOriginalToken(owner) ? 1 : 0); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { address originalOwner = _toValidatedAddress(tokenId); address owner = _owners[tokenId]; require( owner != BURN_ADDRESS, "ERC721: owner query for nonexistent token" ); return owner != address(0) ? owner : originalOwner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return _generateURI(tokenId); } function _generateURI(uint256) internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721ForAll.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId != 0 && tokenId <= MAX_TOKEN_ID && _owners[tokenId] != BURN_ADDRESS; } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721ForAll.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal { address originalOwner = _toValidatedAddress(tokenId); address owner = ERC721ForAll.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); if (owner != originalOwner) { _balances[owner] -= 1; } _owners[tokenId] = BURN_ADDRESS; _totalSupply -= 1; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal { require( ERC721ForAll.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner" ); require(to != address(0), "ERC721: transfer to the zero address"); require(to != BURN_ADDRESS, "Invalid recipient address."); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); address originalOwner = _toValidatedAddress(tokenId); if (from != originalOwner) { _balances[from] -= 1; } if (to != originalOwner) { _balances[to] += 1; } _owners[tokenId] = to != originalOwner ? to : address(0); emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal { _tokenApprovals[tokenId] = to; emit Approval(ERC721ForAll.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. This will never * happen in this contract. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal { if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved" ); _burn(tokenId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require( index < ERC721ForAll.balanceOf(owner), "ERC721Enumerable: owner index out of bounds" ); if (!_ownsOriginalToken(owner)) { return _ownedTokens[owner][index]; } // If the address owns its original token, treat it as index 0. if (index == 0) { return _toId(owner); } else { return _ownedTokens[owner][index - 1]; } } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require( index < _totalSupply, "ERC721Enumerable: global index out of bounds" ); uint256 displacedId = _displacedTokensByIndex[index]; return displacedId != 0 ? displacedId : index + 2; } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { if (_toId(to) == tokenId) { // Token is returning to its original owner. return; } uint256 length = _balances[to]; _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { if (_toId(from) == tokenId) { // The original owner is losing their token. return; } // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _balances[from]; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the enumeration. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // This assumes that the last token will never be burned nor any token // that has been displaced. This is quite a safe assumption, as it is // equivalent to assuming that none of the N highest addresses will act, // where N is the total number of tokens burned so far. Since we can // expect N will be **much** smaller than the number of addresses 2^160, // this should be alright. // // We subtract 2 from a token ID to get its index, and add 2 to an index // to get a token ID. This is because there are no tokens 0 and 1. _displacedTokensByIndex[tokenId - 2] = _totalSupply + 1; } function _ownsOriginalToken(address owner) private view returns (bool) { return _owners[_toId(owner)] == address(0); } function _toId(address addr) private pure returns (uint256) { return uint256(uint160(addr)); } function _toValidatedAddress(uint256 tokenId) private pure returns (address) { require(tokenId != 0, "ERC721: nonexistent token"); require(tokenId <= MAX_TOKEN_ID, "ERC721: nonexistent token"); address addr = address(uint160(tokenId)); require(addr != BURN_ADDRESS, "ERC721: nonexistent token"); return addr; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @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] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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 v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"announceTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"tokenId","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":"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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405273fffffffffffffffffffffffffffffffffffffffe6008553480156200002957600080fd5b506040518060400160405280601281526020017f436172626f6e6174656420436f757261676500000000000000000000000000008152506040518060400160405280600481526020017f434f5552000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000ae929190620000d0565b508060019080519060200190620000c7929190620000d0565b505050620001e5565b828054620000de9062000180565b90600052602060002090601f0160209004810192826200010257600085556200014e565b82601f106200011d57805160ff19168380011785556200014e565b828001600101855582156200014e579182015b828111156200014d57825182559160200191906001019062000130565b5b5090506200015d919062000161565b5090565b5b808211156200017c57600081600090555060010162000162565b5090565b600060028204905060018216806200019957607f821691505b60208210811415620001b057620001af620001b6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6155ed80620001f56000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80634f6ccce7116100ad578063a22cb46511610071578063a22cb4651461032c578063b88d4fde14610348578063c87b56dd14610364578063e8a3d48514610394578063e985e9c5146103b257610121565b80634f6ccce7146102625780635dcecf01146102925780636352211e146102ae57806370a08231146102de57806395d89b411461030e57610121565b806318160ddd116100f457806318160ddd146101c057806323b872dd146101de5780632f745c59146101fa57806342842e0e1461022a57806342966c681461024657610121565b806301ffc9a71461012657806306fdde0314610156578063081812fc14610174578063095ea7b3146101a4575b600080fd5b610140600480360381019061013b91906138b2565b6103e2565b60405161014d9190614138565b60405180910390f35b61015e61052c565b60405161016b9190614153565b60405180910390f35b61018e60048036038101906101899190613904565b6105be565b60405161019b91906140d1565b60405180910390f35b6101be60048036038101906101b99190613831565b610643565b005b6101c861075b565b6040516101d591906143b5565b60405180910390f35b6101f860048036038101906101f3919061372b565b610765565b005b610214600480360381019061020f9190613831565b6107c5565b60405161022191906143b5565b60405180910390f35b610244600480360381019061023f919061372b565b6108f5565b005b610260600480360381019061025b9190613904565b610915565b005b61027c60048036038101906102779190613904565b610971565b60405161028991906143b5565b60405180910390f35b6102ac60048036038101906102a7919061386d565b6109f4565b005b6102c860048036038101906102c39190613904565b610ac8565b6040516102d591906140d1565b60405180910390f35b6102f860048036038101906102f391906136c6565b610bc4565b60405161030591906143b5565b60405180910390f35b610316610cdf565b6040516103239190614153565b60405180910390f35b610346600480360381019061034191906137f5565b610d71565b005b610362600480360381019061035d919061377a565b610d87565b005b61037e60048036038101906103799190613904565b610de9565b60405161038b9190614153565b60405180910390f35b61039c610e43565b6040516103a99190614153565b60405180910390f35b6103cc60048036038101906103c791906136ef565b610e96565b6040516103d99190614138565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104ad57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061051557507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610525575061052482610f2a565b5b9050919050565b60606000805461053b90614793565b80601f016020809104026020016040519081016040528092919081815260200182805461056790614793565b80156105b45780601f10610589576101008083540402835291602001916105b4565b820191906000526020600020905b81548152906001019060200180831161059757829003601f168201915b5050505050905090565b60006105c982610f94565b610608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ff906142b5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061064e82610ac8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b690614315565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106de61102d565b73ffffffffffffffffffffffffffffffffffffffff16148061070d575061070c8161070761102d565b610e96565b5b61074c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074390614255565b60405180910390fd5b6107568383611035565b505050565b6000600854905090565b61077661077061102d565b826110ee565b6107b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ac90614335565b60405180910390fd5b6107c08383836111cc565b505050565b60006107d083610bc4565b8210610811576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080890614195565b60405180910390fd5b61081a8361154a565b61087657600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000205490506108ef565b600082141561088f57610888836115bd565b90506108ef565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001846108dd9190614630565b81526020019081526020016000205490505b92915050565b61091083838360405180602001604052806000815250610d87565b505050565b61092661092061102d565b826110ee565b610965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095c90614395565b60405180910390fd5b61096e816115dd565b50565b600060085482106109b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ae90614375565b60405180910390fd5b60006009600084815260200190815260200160002054905060008114156109ea576002836109e591906144a1565b6109ec565b805b915050919050565b60005b82829050811015610ac3576000838383818110610a3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013590506000610a5182610ac8565b9050818173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450508080610abb906147f6565b9150506109f7565b505050565b600080610ad483611767565b905060006002600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590614295565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bb95781610bbb565b805b92505050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2c90614275565b60405180910390fd5b600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c735760009050610cda565b610c7c8261154a565b610c87576000610c8a565b60015b60ff16600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610cd791906144a1565b90505b919050565b606060018054610cee90614793565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1a90614793565b8015610d675780601f10610d3c57610100808354040283529160200191610d67565b820191906000526020600020905b815481529060010190602001808311610d4a57829003601f168201915b5050505050905090565b610d83610d7c61102d565b8383611881565b5050565b610d98610d9261102d565b836110ee565b610dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dce90614335565b60405180910390fd5b610de3848484846119ee565b50505050565b6060610df482610f94565b610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a906142d5565b60405180910390fd5b610e3c82611a4a565b9050919050565b6060610e91610e6d610e68735237b91e47d348bff7ce9e715445c7025e67ddc5611a64565b611a95565b604051602001610e7d919061406c565b604051602081830303815290604052611add565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808214158015610fba575073ffffffffffffffffffffffffffffffffffffffff8211155b80156110265750600173ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166110a883610ac8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006110f982610f94565b611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f90614235565b60405180910390fd5b600061114383610ac8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806111b257508373ffffffffffffffffffffffffffffffffffffffff1661119a846105be565b73ffffffffffffffffffffffffffffffffffffffff16145b806111c357506111c28185610e96565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166111ec82610ac8565b73ffffffffffffffffffffffffffffffffffffffff1614611242576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611239906141d5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a9906141f5565b60405180910390fd5b600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611322576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131990614355565b60405180910390fd5b61132d838383611b25565b611338600082611035565b600061134382611767565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146113d0576001600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113c89190614630565b925050819055505b8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461145b576001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461145391906144a1565b925050819055505b8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611496576000611498565b825b6002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b60008073ffffffffffffffffffffffffffffffffffffffff1660026000611570856115bd565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149050919050565b60008173ffffffffffffffffffffffffffffffffffffffff169050919050565b60006115e882611767565b905060006115f583610ac8565b905061160381600085611b25565b61160e600084611035565b8173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611699576001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116919190614630565b925050819055505b60016002600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600860008282546116ff9190614630565b9250508190555082600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000808214156117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a3906142f5565b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821115611803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fa906142f5565b60405180910390fd5b6000829050600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186f906142f5565b60405180910390fd5b80915050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e790614215565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119e19190614138565b60405180910390a3505050565b6119f98484846111cc565b611a0584848484611bea565b611a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3b906141b5565b60405180910390fd5b50505050565b6060611a5d611a5883611d81565b611add565b9050919050565b6060611a6f82611de7565b604051602001611a7f91906140a4565b6040516020818303038152906040529050919050565b6060611ad66040518060400160405280601a81526020017f646174613a696d6167652f7376672b786d6c3b6261736536342c00000000000081525083611e9c565b9050919050565b6060611b1e6040518060400160405280601d81526020017f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081525083611e9c565b9050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611b6357611b628382611ed0565b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ba657611ba18161207e565b611be5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611be457611be382826120b3565b5b5b505050565b6000611c0b8473ffffffffffffffffffffffffffffffffffffffff1661217f565b15611d74578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c3461102d565b8786866040518563ffffffff1660e01b8152600401611c5694939291906140ec565b602060405180830381600087803b158015611c7057600080fd5b505af1925050508015611ca157506040513d601f19601f82011682018060405250810190611c9e91906138db565b60015b611d24573d8060008114611cd1576040519150601f19603f3d011682016040523d82523d6000602084013e611cd6565b606091505b50600081511415611d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d13906141b5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611d79565b600190505b949350505050565b60606000611d996014846121a290919063ffffffff16565b90506000611da68261249c565b9050808183611dbc611db788611a64565b611a95565b604051602001611dcf9493929190613ff7565b60405160208183030381529060405292505050919050565b6060611df161354a565b60005b60088160ff161015611e6157611e0a84826124df565b828260ff1660088110611e46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052508080611e599061483f565b915050611df4565b50611e6b8161258f565b611e7482612806565b604051602001611e85929190613ea5565b604051602081830303815290604052915050919050565b606082611ea883612a7d565b604051602001611eb9929190613ea5565b604051602081830303815290604052905092915050565b80611eda836115bd565b1415611ee55761207a565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006007600084815260200190815260200160002054905081811461200c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505b5050565b600160085461208d91906144a1565b6009600060028461209e9190614630565b81526020019081526020016000208190555050565b806120bd836115bd565b14156120c85761217b565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600060028360026121b5919061459b565b6121bf91906144a1565b67ffffffffffffffff8111156121fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122305781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061228e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612318577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612358919061459b565b61236291906144a1565b90505b600181111561244e577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106123ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612407577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061244790614769565b9050612365565b5060008414612492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248990614175565b60405180910390fd5b8091505092915050565b60606124ab8260006005612c07565b6124b8836026602a612c07565b6040516020016124c9929190613f3b565b6040516020818303038152906040529050919050565b6124e7613578565b60008260146124f691906145f5565b90506000600384169050600060018560ff16901c905060405180608001604052808360ff166125258987612d77565b61252f9190614469565b61ffff1681526020018260ff166125528960068861254d91906144f7565b612d77565b61255c9190614469565b61ffff16815260200161256f8886612da5565b60ff1681526020016125818886612e32565b815250935050505092915050565b60606125da826000600881106125ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b61262383600160088110612617577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b61266c84600260088110612660577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b6126b5856003600881106126a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b6126fe866004600881106126f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b6127478760056008811061273b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b61279088600660088110612784577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b6127d9896007600881106127cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b6040516020016127f0989796959493929190613ec9565b6040516020818303038152906040529050919050565b606061285182600760088110612845577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b61289a8360066008811061288e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b6128e3846005600881106128d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b61292c85600460088110612920577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b61297586600360088110612969577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b6129be876002600881106129b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b612a07886001600881106129fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b612a5089600060088110612a44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b604051602001612a67989796959493929190613ec9565b6040516020818303038152906040529050919050565b6060600082511415612aa057604051806020016040528060008152509050612c02565b60006040518060600160405280604081526020016155566040913990506000600360028551612acf91906144a1565b612ad9919061452e565b6004612ae5919061459b565b67ffffffffffffffff811115612b24577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b565781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612bc2576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612b67565b5050600386510660018114612bde5760028114612bf157612bf9565b603d6001830353603d6002830353612bf9565b603d60018303535b50505080925050505b919050565b606060008383612c179190614630565b67ffffffffffffffff811115612c56577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c885781602001600182028036833780820191505090505b50905060005b8484612c9a9190614630565b811015612d6b57858186612cae91906144a1565b81518110612ce5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828281518110612d29577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080612d63906147f6565b915050612c8e565b50809150509392505050565b6000612d8583836006613351565b6005612d91919061455f565b600f612d9d9190614469565b905092915050565b600080612dc084600c85612db991906144f7565b6004613351565b905060088160ff161015612de35780601e612ddb91906144f7565b915050612e2c565b600e8160ff161015612e1057806003612dfc91906145f5565b6024612e0891906144f7565b915050612e2c565b600e8160ff161415612e26576078915050612e2c565b60969150505b92915050565b60606000612e4e84601085612e4791906144f7565b6004613351565b90506000811415612e97576040518060400160405280600781526020017f23443332463246000000000000000000000000000000000000000000000000008152509150506132b3565b6001811415612ede576040518060400160405280600781526020017f23443831423630000000000000000000000000000000000000000000000000008152509150506132b3565b6002811415612f25576040518060400160405280600781526020017f23414234374243000000000000000000000000000000000000000000000000008152509150506132b3565b6003811415612f6c576040518060400160405280600781526020017f23374231464132000000000000000000000000000000000000000000000000008152509150506132b3565b6004811415612fb3576040518060400160405280600781526020017f23374535374332000000000000000000000000000000000000000000000000008152509150506132b3565b6005811415612ffa576040518060400160405280600781526020017f23353132444138000000000000000000000000000000000000000000000000008152509150506132b3565b6006811415613041576040518060400160405280600781526020017f23354336424330000000000000000000000000000000000000000000000000008152509150506132b3565b6007811415613088576040518060400160405280600781526020017f23333033463946000000000000000000000000000000000000000000000000008152509150506132b3565b60088114156130cf576040518060400160405280600781526020017f23313937364432000000000000000000000000000000000000000000000000008152509150506132b3565b6009811415613116576040518060400160405280600781526020017f23303237374244000000000000000000000000000000000000000000000000008152509150506132b3565b600a81141561315d576040518060400160405280600781526020017f23303036303634000000000000000000000000000000000000000000000000008152509150506132b3565b600b8114156131a4576040518060400160405280600781526020017f23303037393642000000000000000000000000000000000000000000000000008152509150506132b3565b600c8114156131eb576040518060400160405280600781526020017f23324537443332000000000000000000000000000000000000000000000000008152509150506132b3565b600d811415613232576040518060400160405280600781526020017f23333336393145000000000000000000000000000000000000000000000000008152509150506132b3565b600e811415613279576040518060400160405280600781526020017f23424633363043000000000000000000000000000000000000000000000000008152509150506132b3565b6040518060400160405280600781526020017f23384436453633000000000000000000000000000000000000000000000000008152509150505b92915050565b60606132cc836000015161ffff1661339d565b6132dd846020015161ffff1661339d565b6132ed856040015160ff1661339d565b85606001518561330c5760405180602001604052806000815250613326565b604051806060016040528060228152602001615596602291395b60405160200161333a959493929190613f6a565b604051602081830303815290604052905092915050565b600080828460a06133629190614664565b61336c9190614664565b60ff16905060008160018560ff166001901b6133889190614630565b901b905081818716901c925050509392505050565b606060008214156133e5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613545565b600082905060005b60008214613417578080613400906147f6565b915050600a82613410919061452e565b91506133ed565b60008167ffffffffffffffff811115613459577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561348b5781602001600182028036833780820191505090505b5090505b6000851461353e576001826134a49190614630565b9150600a856134b39190614869565b60306134bf91906144a1565b60f81b8183815181106134fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613537919061452e565b945061348f565b8093505050505b919050565b6040518061010001604052806008905b613562613578565b81526020019060019003908161355a5790505090565b6040518060800160405280600061ffff168152602001600061ffff168152602001600060ff168152602001606081525090565b60006135be6135b9846143f5565b6143d0565b9050828152602081018484840111156135d657600080fd5b6135e1848285614727565b509392505050565b6000813590506135f8816154f9565b92915050565b60008083601f84011261361057600080fd5b8235905067ffffffffffffffff81111561362957600080fd5b60208301915083602082028301111561364157600080fd5b9250929050565b60008135905061365781615510565b92915050565b60008135905061366c81615527565b92915050565b60008151905061368181615527565b92915050565b600082601f83011261369857600080fd5b81356136a88482602086016135ab565b91505092915050565b6000813590506136c08161553e565b92915050565b6000602082840312156136d857600080fd5b60006136e6848285016135e9565b91505092915050565b6000806040838503121561370257600080fd5b6000613710858286016135e9565b9250506020613721858286016135e9565b9150509250929050565b60008060006060848603121561374057600080fd5b600061374e868287016135e9565b935050602061375f868287016135e9565b9250506040613770868287016136b1565b9150509250925092565b6000806000806080858703121561379057600080fd5b600061379e878288016135e9565b94505060206137af878288016135e9565b93505060406137c0878288016136b1565b925050606085013567ffffffffffffffff8111156137dd57600080fd5b6137e987828801613687565b91505092959194509250565b6000806040838503121561380857600080fd5b6000613816858286016135e9565b925050602061382785828601613648565b9150509250929050565b6000806040838503121561384457600080fd5b6000613852858286016135e9565b9250506020613863858286016136b1565b9150509250929050565b6000806020838503121561388057600080fd5b600083013567ffffffffffffffff81111561389a57600080fd5b6138a6858286016135fe565b92509250509250929050565b6000602082840312156138c457600080fd5b60006138d28482850161365d565b91505092915050565b6000602082840312156138ed57600080fd5b60006138fb84828501613672565b91505092915050565b60006020828403121561391657600080fd5b6000613924848285016136b1565b91505092915050565b61393681614698565b82525050565b613945816146aa565b82525050565b600061395682614426565b613960818561443c565b9350613970818560208601614736565b61397981614956565b840191505092915050565b600061398f82614431565b613999818561444d565b93506139a9818560208601614736565b6139b281614956565b840191505092915050565b60006139c882614431565b6139d2818561445e565b93506139e2818560208601614736565b80840191505092915050565b60006139fb60208361444d565b9150613a0682614967565b602082019050919050565b6000613a1e60068361445e565b9150613a2982614990565b600682019050919050565b6000613a41600e8361445e565b9150613a4c826149b9565b600e82019050919050565b6000613a6460038361445e565b9150613a6f826149e2565b600382019050919050565b6000613a87602b8361444d565b9150613a9282614a0b565b604082019050919050565b6000613aaa60328361444d565b9150613ab582614a5a565b604082019050919050565b6000613acd60258361444d565b9150613ad882614aa9565b604082019050919050565b6000613af0606f8361445e565b9150613afb82614af8565b606f82019050919050565b6000613b1360248361444d565b9150613b1e82614b93565b604082019050919050565b6000613b3660198361444d565b9150613b4182614be2565b602082019050919050565b6000613b5960048361445e565b9150613b6482614c0b565b600482019050919050565b6000613b7c60078361445e565b9150613b8782614c34565b600782019050919050565b6000613b9f60028361445e565b9150613baa82614c5d565b600282019050919050565b6000613bc2602c8361444d565b9150613bcd82614c86565b604082019050919050565b6000613be560188361445e565b9150613bf082614cd5565b601882019050919050565b6000613c0860708361445e565b9150613c1382614cfe565b607082019050919050565b6000613c2b60388361444d565b9150613c3682614d99565b604082019050919050565b6000613c4e602a8361444d565b9150613c5982614de8565b604082019050919050565b6000613c7160298361444d565b9150613c7c82614e37565b604082019050919050565b6000613c9460198361445e565b9150613c9f82614e86565b601982019050919050565b6000613cb760058361445e565b9150613cc282614eaf565b600582019050919050565b6000613cdb61023c8361445e565b9150613ce682614ed8565b61023c82019050919050565b6000613cff602c8361444d565b9150613d0a82615191565b604082019050919050565b6000613d2260228361445e565b9150613d2d826151e0565b602282019050919050565b6000613d45602f8361444d565b9150613d508261522f565b604082019050919050565b6000613d6860198361444d565b9150613d738261527e565b602082019050919050565b6000613d8b60218361444d565b9150613d96826152a7565b604082019050919050565b6000613dae60088361445e565b9150613db9826152f6565b600882019050919050565b6000613dd160318361444d565b9150613ddc8261531f565b604082019050919050565b6000613df4601a8361444d565b9150613dff8261536e565b602082019050919050565b6000613e17602c8361444d565b9150613e2282615397565b604082019050919050565b6000613e3a60308361444d565b9150613e45826153e6565b604082019050919050565b6000613e5d60038361445e565b9150613e6882615435565b600382019050919050565b6000613e80607d8361445e565b9150613e8b8261545e565b607d82019050919050565b613e9f81614710565b82525050565b6000613eb182856139bd565b9150613ebd82846139bd565b91508190509392505050565b6000613ed5828b6139bd565b9150613ee1828a6139bd565b9150613eed82896139bd565b9150613ef982886139bd565b9150613f0582876139bd565b9150613f1182866139bd565b9150613f1d82856139bd565b9150613f2982846139bd565b91508190509998505050505050505050565b6000613f4782856139bd565b9150613f5282613a57565b9150613f5e82846139bd565b91508190509392505050565b6000613f7582613a34565b9150613f8182886139bd565b9150613f8c82613a11565b9150613f9882876139bd565b9150613fa382613caa565b9150613faf82866139bd565b9150613fba82613da1565b9150613fc682856139bd565b9150613fd182613b92565b9150613fdd82846139bd565b9150613fe882613e50565b91508190509695505050505050565b600061400282613bd8565b915061400e82876139bd565b915061401982613d15565b915061402582866139bd565b915061403082613e73565b915061403c82856139bd565b915061404782613c87565b915061405382846139bd565b915061405e82613b4c565b915081905095945050505050565b600061407782613bfb565b915061408282613ae3565b915061408e82846139bd565b915061409982613b4c565b915081905092915050565b60006140af82613ccd565b91506140bb82846139bd565b91506140c682613b6f565b915081905092915050565b60006020820190506140e6600083018461392d565b92915050565b6000608082019050614101600083018761392d565b61410e602083018661392d565b61411b6040830185613e96565b818103606083015261412d818461394b565b905095945050505050565b600060208201905061414d600083018461393c565b92915050565b6000602082019050818103600083015261416d8184613984565b905092915050565b6000602082019050818103600083015261418e816139ee565b9050919050565b600060208201905081810360008301526141ae81613a7a565b9050919050565b600060208201905081810360008301526141ce81613a9d565b9050919050565b600060208201905081810360008301526141ee81613ac0565b9050919050565b6000602082019050818103600083015261420e81613b06565b9050919050565b6000602082019050818103600083015261422e81613b29565b9050919050565b6000602082019050818103600083015261424e81613bb5565b9050919050565b6000602082019050818103600083015261426e81613c1e565b9050919050565b6000602082019050818103600083015261428e81613c41565b9050919050565b600060208201905081810360008301526142ae81613c64565b9050919050565b600060208201905081810360008301526142ce81613cf2565b9050919050565b600060208201905081810360008301526142ee81613d38565b9050919050565b6000602082019050818103600083015261430e81613d5b565b9050919050565b6000602082019050818103600083015261432e81613d7e565b9050919050565b6000602082019050818103600083015261434e81613dc4565b9050919050565b6000602082019050818103600083015261436e81613de7565b9050919050565b6000602082019050818103600083015261438e81613e0a565b9050919050565b600060208201905081810360008301526143ae81613e2d565b9050919050565b60006020820190506143ca6000830184613e96565b92915050565b60006143da6143eb565b90506143e682826147c5565b919050565b6000604051905090565b600067ffffffffffffffff8211156144105761440f614927565b5b61441982614956565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614474826146e2565b915061447f836146e2565b92508261ffff038211156144965761449561489a565b5b828201905092915050565b60006144ac82614710565b91506144b783614710565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144ec576144eb61489a565b5b828201905092915050565b60006145028261471a565b915061450d8361471a565b92508260ff038211156145235761452261489a565b5b828201905092915050565b600061453982614710565b915061454483614710565b925082614554576145536148c9565b5b828204905092915050565b600061456a826146e2565b9150614575836146e2565b92508161ffff04831182151516156145905761458f61489a565b5b828202905092915050565b60006145a682614710565b91506145b183614710565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145ea576145e961489a565b5b828202905092915050565b60006146008261471a565b915061460b8361471a565b92508160ff04831182151516156146255761462461489a565b5b828202905092915050565b600061463b82614710565b915061464683614710565b9250828210156146595761465861489a565b5b828203905092915050565b600061466f8261471a565b915061467a8361471a565b92508282101561468d5761468c61489a565b5b828203905092915050565b60006146a3826146f0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614754578082015181840152602081019050614739565b83811115614763576000848401525b50505050565b600061477482614710565b915060008214156147885761478761489a565b5b600182039050919050565b600060028204905060018216806147ab57607f821691505b602082108114156147bf576147be6148f8565b5b50919050565b6147ce82614956565b810181811067ffffffffffffffff821117156147ed576147ec614927565b5b80604052505050565b600061480182614710565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148345761483361489a565b5b600182019050919050565b600061484a8261471a565b915060ff82141561485e5761485d61489a565b5b600182019050919050565b600061487482614710565b915061487f83614710565b92508261488f5761488e6148c9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f222063793d220000000000000000000000000000000000000000000000000000600082015250565b7f20203c636972636c652063783d22000000000000000000000000000000000000600082015250565b7fe280a60000000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f20202273656c6c65725f6665655f62617369735f706f696e7473223a2031303060008201527f2c0a2020226665655f726563697069656e74223a20223078613846666138344660208201527f453035346461364241623938376138393834443464333566353434393141373560408201527f222c0a202022696d616765223a20220000000000000000000000000000000000606082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f220a7d0a00000000000000000000000000000000000000000000000000000000600082015250565b7f3c2f7376673e0a00000000000000000000000000000000000000000000000000600082015250565b7f2220000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f7b0a2020226e616d65223a2022436f7572616765206f66200000000000000000600082015250565b7f7b0a2020226e616d65223a2022436172626f6e6174656420436f75726167652260008201527f2c0a2020226465736372697074696f6e223a2022436f757261676520796f752060208201527f68616420697420616c6c20616c6f6e672c206576656e20696620796f7520646960408201527f646e2774206b6e6f772069742e222c0a00000000000000000000000000000000606082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f220a202020207d0a20205d2c0a202022696d616765223a202200000000000000600082015250565b7f2220723d22000000000000000000000000000000000000000000000000000000600082015250565b7f3c7376672077696474683d2233353022206865696768743d223335302220766960008201527f6577626f783d2230203020333530203335302220786d6c6e733d22687474703a60208201527f2f2f7777772e77332e6f72672f323030302f737667223e0a20203c66696c746560408201527f722069643d226e656f6e223e0a202020203c6665466c6f6f6420666c6f6f642d60608201527f636f6c6f723d22234646443534462220666c6f6f642d6f7061636974793d223060808201527f2e352220696e3d22536f757263654772617068696322202f3e0a202020203c6660a08201527f65436f6d706f73697465206f70657261746f723d22696e2220696e323d22536f60c08201527f757263654772617068696322202f3e0a202020203c6665476175737369616e4260e08201527f6c757220737464446576696174696f6e3d223522202f3e0a202020203c6665436101008201527f6f6d706f6e656e745472616e7366657220726573756c743d22676c6f7731223e6101208201527f0a2020202020203c666546756e634120747970653d226c696e6561722220736c6101408201527f6f70653d22342220696e746572636570743d223022202f3e0a202020203c2f666101608201527f65436f6d706f6e656e745472616e736665723e0a202020203c66654d657267656101808201527f3e0a2020202020203c66654d657267654e6f646520696e3d22676c6f773122206101a08201527f2f3e0a2020202020203c66654d657267654e6f646520696e3d22536f757263656101c08201527f4772617068696322202f3e0a202020203c2f66654d657267653e0a20203c2f666101e08201527f696c7465723e0a20203c726563742077696474683d22313030252220686569676102008201527f68743d2231303025222066696c6c3d222331383230323622202f3e0a0000000061022082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f222c0a2020226465736372697074696f6e223a2022436f75726167652074686160008201527f7420000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a206e6f6e6578697374656e7420746f6b656e00000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f222066696c6c3d22000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f496e76616c696420726563697069656e7420616464726573732e000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f2f3e0a0000000000000000000000000000000000000000000000000000000000600082015250565b7f2068616420616c6c20616c6f6e672c206576656e20696620746865792064696460008201527f6e2774206b6e6f772069742e222c0a20202261747472696275746573223a205b60208201527f0a202020207b0a2020202020202274726169745f74797065223a20224f72696760408201527f696e616c206f776e6572222c0a2020202020202276616c7565223a2022000000606082015250565b61550281614698565b811461550d57600080fd5b50565b615519816146aa565b811461552457600080fd5b50565b615530816146b6565b811461553b57600080fd5b50565b61554781614710565b811461555257600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f66696c7465723d2275726c28236e656f6e2922206f7061636974793d22302e352220a26469706673582212207515490528b7c5e1fb9f41af96f859ea1a096cc501e734c289ef2fa53fdb850a64736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c80634f6ccce7116100ad578063a22cb46511610071578063a22cb4651461032c578063b88d4fde14610348578063c87b56dd14610364578063e8a3d48514610394578063e985e9c5146103b257610121565b80634f6ccce7146102625780635dcecf01146102925780636352211e146102ae57806370a08231146102de57806395d89b411461030e57610121565b806318160ddd116100f457806318160ddd146101c057806323b872dd146101de5780632f745c59146101fa57806342842e0e1461022a57806342966c681461024657610121565b806301ffc9a71461012657806306fdde0314610156578063081812fc14610174578063095ea7b3146101a4575b600080fd5b610140600480360381019061013b91906138b2565b6103e2565b60405161014d9190614138565b60405180910390f35b61015e61052c565b60405161016b9190614153565b60405180910390f35b61018e60048036038101906101899190613904565b6105be565b60405161019b91906140d1565b60405180910390f35b6101be60048036038101906101b99190613831565b610643565b005b6101c861075b565b6040516101d591906143b5565b60405180910390f35b6101f860048036038101906101f3919061372b565b610765565b005b610214600480360381019061020f9190613831565b6107c5565b60405161022191906143b5565b60405180910390f35b610244600480360381019061023f919061372b565b6108f5565b005b610260600480360381019061025b9190613904565b610915565b005b61027c60048036038101906102779190613904565b610971565b60405161028991906143b5565b60405180910390f35b6102ac60048036038101906102a7919061386d565b6109f4565b005b6102c860048036038101906102c39190613904565b610ac8565b6040516102d591906140d1565b60405180910390f35b6102f860048036038101906102f391906136c6565b610bc4565b60405161030591906143b5565b60405180910390f35b610316610cdf565b6040516103239190614153565b60405180910390f35b610346600480360381019061034191906137f5565b610d71565b005b610362600480360381019061035d919061377a565b610d87565b005b61037e60048036038101906103799190613904565b610de9565b60405161038b9190614153565b60405180910390f35b61039c610e43565b6040516103a99190614153565b60405180910390f35b6103cc60048036038101906103c791906136ef565b610e96565b6040516103d99190614138565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104ad57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061051557507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610525575061052482610f2a565b5b9050919050565b60606000805461053b90614793565b80601f016020809104026020016040519081016040528092919081815260200182805461056790614793565b80156105b45780601f10610589576101008083540402835291602001916105b4565b820191906000526020600020905b81548152906001019060200180831161059757829003601f168201915b5050505050905090565b60006105c982610f94565b610608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ff906142b5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061064e82610ac8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b690614315565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106de61102d565b73ffffffffffffffffffffffffffffffffffffffff16148061070d575061070c8161070761102d565b610e96565b5b61074c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074390614255565b60405180910390fd5b6107568383611035565b505050565b6000600854905090565b61077661077061102d565b826110ee565b6107b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ac90614335565b60405180910390fd5b6107c08383836111cc565b505050565b60006107d083610bc4565b8210610811576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080890614195565b60405180910390fd5b61081a8361154a565b61087657600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000205490506108ef565b600082141561088f57610888836115bd565b90506108ef565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001846108dd9190614630565b81526020019081526020016000205490505b92915050565b61091083838360405180602001604052806000815250610d87565b505050565b61092661092061102d565b826110ee565b610965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095c90614395565b60405180910390fd5b61096e816115dd565b50565b600060085482106109b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ae90614375565b60405180910390fd5b60006009600084815260200190815260200160002054905060008114156109ea576002836109e591906144a1565b6109ec565b805b915050919050565b60005b82829050811015610ac3576000838383818110610a3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013590506000610a5182610ac8565b9050818173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450508080610abb906147f6565b9150506109f7565b505050565b600080610ad483611767565b905060006002600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590614295565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bb95781610bbb565b805b92505050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2c90614275565b60405180910390fd5b600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c735760009050610cda565b610c7c8261154a565b610c87576000610c8a565b60015b60ff16600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610cd791906144a1565b90505b919050565b606060018054610cee90614793565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1a90614793565b8015610d675780601f10610d3c57610100808354040283529160200191610d67565b820191906000526020600020905b815481529060010190602001808311610d4a57829003601f168201915b5050505050905090565b610d83610d7c61102d565b8383611881565b5050565b610d98610d9261102d565b836110ee565b610dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dce90614335565b60405180910390fd5b610de3848484846119ee565b50505050565b6060610df482610f94565b610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a906142d5565b60405180910390fd5b610e3c82611a4a565b9050919050565b6060610e91610e6d610e68735237b91e47d348bff7ce9e715445c7025e67ddc5611a64565b611a95565b604051602001610e7d919061406c565b604051602081830303815290604052611add565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808214158015610fba575073ffffffffffffffffffffffffffffffffffffffff8211155b80156110265750600173ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166110a883610ac8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006110f982610f94565b611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f90614235565b60405180910390fd5b600061114383610ac8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806111b257508373ffffffffffffffffffffffffffffffffffffffff1661119a846105be565b73ffffffffffffffffffffffffffffffffffffffff16145b806111c357506111c28185610e96565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166111ec82610ac8565b73ffffffffffffffffffffffffffffffffffffffff1614611242576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611239906141d5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a9906141f5565b60405180910390fd5b600173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611322576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131990614355565b60405180910390fd5b61132d838383611b25565b611338600082611035565b600061134382611767565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146113d0576001600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113c89190614630565b925050819055505b8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461145b576001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461145391906144a1565b925050819055505b8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611496576000611498565b825b6002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b60008073ffffffffffffffffffffffffffffffffffffffff1660026000611570856115bd565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149050919050565b60008173ffffffffffffffffffffffffffffffffffffffff169050919050565b60006115e882611767565b905060006115f583610ac8565b905061160381600085611b25565b61160e600084611035565b8173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611699576001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116919190614630565b925050819055505b60016002600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600860008282546116ff9190614630565b9250508190555082600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000808214156117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a3906142f5565b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821115611803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fa906142f5565b60405180910390fd5b6000829050600173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186f906142f5565b60405180910390fd5b80915050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e790614215565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119e19190614138565b60405180910390a3505050565b6119f98484846111cc565b611a0584848484611bea565b611a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3b906141b5565b60405180910390fd5b50505050565b6060611a5d611a5883611d81565b611add565b9050919050565b6060611a6f82611de7565b604051602001611a7f91906140a4565b6040516020818303038152906040529050919050565b6060611ad66040518060400160405280601a81526020017f646174613a696d6167652f7376672b786d6c3b6261736536342c00000000000081525083611e9c565b9050919050565b6060611b1e6040518060400160405280601d81526020017f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081525083611e9c565b9050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611b6357611b628382611ed0565b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ba657611ba18161207e565b611be5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611be457611be382826120b3565b5b5b505050565b6000611c0b8473ffffffffffffffffffffffffffffffffffffffff1661217f565b15611d74578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c3461102d565b8786866040518563ffffffff1660e01b8152600401611c5694939291906140ec565b602060405180830381600087803b158015611c7057600080fd5b505af1925050508015611ca157506040513d601f19601f82011682018060405250810190611c9e91906138db565b60015b611d24573d8060008114611cd1576040519150601f19603f3d011682016040523d82523d6000602084013e611cd6565b606091505b50600081511415611d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d13906141b5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611d79565b600190505b949350505050565b60606000611d996014846121a290919063ffffffff16565b90506000611da68261249c565b9050808183611dbc611db788611a64565b611a95565b604051602001611dcf9493929190613ff7565b60405160208183030381529060405292505050919050565b6060611df161354a565b60005b60088160ff161015611e6157611e0a84826124df565b828260ff1660088110611e46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052508080611e599061483f565b915050611df4565b50611e6b8161258f565b611e7482612806565b604051602001611e85929190613ea5565b604051602081830303815290604052915050919050565b606082611ea883612a7d565b604051602001611eb9929190613ea5565b604051602081830303815290604052905092915050565b80611eda836115bd565b1415611ee55761207a565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006007600084815260200190815260200160002054905081811461200c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505b5050565b600160085461208d91906144a1565b6009600060028461209e9190614630565b81526020019081526020016000208190555050565b806120bd836115bd565b14156120c85761217b565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600060028360026121b5919061459b565b6121bf91906144a1565b67ffffffffffffffff8111156121fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122305781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061228e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612318577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612358919061459b565b61236291906144a1565b90505b600181111561244e577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106123ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612407577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061244790614769565b9050612365565b5060008414612492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248990614175565b60405180910390fd5b8091505092915050565b60606124ab8260006005612c07565b6124b8836026602a612c07565b6040516020016124c9929190613f3b565b6040516020818303038152906040529050919050565b6124e7613578565b60008260146124f691906145f5565b90506000600384169050600060018560ff16901c905060405180608001604052808360ff166125258987612d77565b61252f9190614469565b61ffff1681526020018260ff166125528960068861254d91906144f7565b612d77565b61255c9190614469565b61ffff16815260200161256f8886612da5565b60ff1681526020016125818886612e32565b815250935050505092915050565b60606125da826000600881106125ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b61262383600160088110612617577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b61266c84600260088110612660577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b6126b5856003600881106126a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b6126fe866004600881106126f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b6127478760056008811061273b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b61279088600660088110612784577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b6127d9896007600881106127cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160006132b9565b6040516020016127f0989796959493929190613ec9565b6040516020818303038152906040529050919050565b606061285182600760088110612845577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b61289a8360066008811061288e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b6128e3846005600881106128d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b61292c85600460088110612920577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b61297586600360088110612969577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b6129be876002600881106129b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b612a07886001600881106129fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b612a5089600060088110612a44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160016132b9565b604051602001612a67989796959493929190613ec9565b6040516020818303038152906040529050919050565b6060600082511415612aa057604051806020016040528060008152509050612c02565b60006040518060600160405280604081526020016155566040913990506000600360028551612acf91906144a1565b612ad9919061452e565b6004612ae5919061459b565b67ffffffffffffffff811115612b24577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b565781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612bc2576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612b67565b5050600386510660018114612bde5760028114612bf157612bf9565b603d6001830353603d6002830353612bf9565b603d60018303535b50505080925050505b919050565b606060008383612c179190614630565b67ffffffffffffffff811115612c56577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c885781602001600182028036833780820191505090505b50905060005b8484612c9a9190614630565b811015612d6b57858186612cae91906144a1565b81518110612ce5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828281518110612d29577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080612d63906147f6565b915050612c8e565b50809150509392505050565b6000612d8583836006613351565b6005612d91919061455f565b600f612d9d9190614469565b905092915050565b600080612dc084600c85612db991906144f7565b6004613351565b905060088160ff161015612de35780601e612ddb91906144f7565b915050612e2c565b600e8160ff161015612e1057806003612dfc91906145f5565b6024612e0891906144f7565b915050612e2c565b600e8160ff161415612e26576078915050612e2c565b60969150505b92915050565b60606000612e4e84601085612e4791906144f7565b6004613351565b90506000811415612e97576040518060400160405280600781526020017f23443332463246000000000000000000000000000000000000000000000000008152509150506132b3565b6001811415612ede576040518060400160405280600781526020017f23443831423630000000000000000000000000000000000000000000000000008152509150506132b3565b6002811415612f25576040518060400160405280600781526020017f23414234374243000000000000000000000000000000000000000000000000008152509150506132b3565b6003811415612f6c576040518060400160405280600781526020017f23374231464132000000000000000000000000000000000000000000000000008152509150506132b3565b6004811415612fb3576040518060400160405280600781526020017f23374535374332000000000000000000000000000000000000000000000000008152509150506132b3565b6005811415612ffa576040518060400160405280600781526020017f23353132444138000000000000000000000000000000000000000000000000008152509150506132b3565b6006811415613041576040518060400160405280600781526020017f23354336424330000000000000000000000000000000000000000000000000008152509150506132b3565b6007811415613088576040518060400160405280600781526020017f23333033463946000000000000000000000000000000000000000000000000008152509150506132b3565b60088114156130cf576040518060400160405280600781526020017f23313937364432000000000000000000000000000000000000000000000000008152509150506132b3565b6009811415613116576040518060400160405280600781526020017f23303237374244000000000000000000000000000000000000000000000000008152509150506132b3565b600a81141561315d576040518060400160405280600781526020017f23303036303634000000000000000000000000000000000000000000000000008152509150506132b3565b600b8114156131a4576040518060400160405280600781526020017f23303037393642000000000000000000000000000000000000000000000000008152509150506132b3565b600c8114156131eb576040518060400160405280600781526020017f23324537443332000000000000000000000000000000000000000000000000008152509150506132b3565b600d811415613232576040518060400160405280600781526020017f23333336393145000000000000000000000000000000000000000000000000008152509150506132b3565b600e811415613279576040518060400160405280600781526020017f23424633363043000000000000000000000000000000000000000000000000008152509150506132b3565b6040518060400160405280600781526020017f23384436453633000000000000000000000000000000000000000000000000008152509150505b92915050565b60606132cc836000015161ffff1661339d565b6132dd846020015161ffff1661339d565b6132ed856040015160ff1661339d565b85606001518561330c5760405180602001604052806000815250613326565b604051806060016040528060228152602001615596602291395b60405160200161333a959493929190613f6a565b604051602081830303815290604052905092915050565b600080828460a06133629190614664565b61336c9190614664565b60ff16905060008160018560ff166001901b6133889190614630565b901b905081818716901c925050509392505050565b606060008214156133e5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613545565b600082905060005b60008214613417578080613400906147f6565b915050600a82613410919061452e565b91506133ed565b60008167ffffffffffffffff811115613459577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561348b5781602001600182028036833780820191505090505b5090505b6000851461353e576001826134a49190614630565b9150600a856134b39190614869565b60306134bf91906144a1565b60f81b8183815181106134fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613537919061452e565b945061348f565b8093505050505b919050565b6040518061010001604052806008905b613562613578565b81526020019060019003908161355a5790505090565b6040518060800160405280600061ffff168152602001600061ffff168152602001600060ff168152602001606081525090565b60006135be6135b9846143f5565b6143d0565b9050828152602081018484840111156135d657600080fd5b6135e1848285614727565b509392505050565b6000813590506135f8816154f9565b92915050565b60008083601f84011261361057600080fd5b8235905067ffffffffffffffff81111561362957600080fd5b60208301915083602082028301111561364157600080fd5b9250929050565b60008135905061365781615510565b92915050565b60008135905061366c81615527565b92915050565b60008151905061368181615527565b92915050565b600082601f83011261369857600080fd5b81356136a88482602086016135ab565b91505092915050565b6000813590506136c08161553e565b92915050565b6000602082840312156136d857600080fd5b60006136e6848285016135e9565b91505092915050565b6000806040838503121561370257600080fd5b6000613710858286016135e9565b9250506020613721858286016135e9565b9150509250929050565b60008060006060848603121561374057600080fd5b600061374e868287016135e9565b935050602061375f868287016135e9565b9250506040613770868287016136b1565b9150509250925092565b6000806000806080858703121561379057600080fd5b600061379e878288016135e9565b94505060206137af878288016135e9565b93505060406137c0878288016136b1565b925050606085013567ffffffffffffffff8111156137dd57600080fd5b6137e987828801613687565b91505092959194509250565b6000806040838503121561380857600080fd5b6000613816858286016135e9565b925050602061382785828601613648565b9150509250929050565b6000806040838503121561384457600080fd5b6000613852858286016135e9565b9250506020613863858286016136b1565b9150509250929050565b6000806020838503121561388057600080fd5b600083013567ffffffffffffffff81111561389a57600080fd5b6138a6858286016135fe565b92509250509250929050565b6000602082840312156138c457600080fd5b60006138d28482850161365d565b91505092915050565b6000602082840312156138ed57600080fd5b60006138fb84828501613672565b91505092915050565b60006020828403121561391657600080fd5b6000613924848285016136b1565b91505092915050565b61393681614698565b82525050565b613945816146aa565b82525050565b600061395682614426565b613960818561443c565b9350613970818560208601614736565b61397981614956565b840191505092915050565b600061398f82614431565b613999818561444d565b93506139a9818560208601614736565b6139b281614956565b840191505092915050565b60006139c882614431565b6139d2818561445e565b93506139e2818560208601614736565b80840191505092915050565b60006139fb60208361444d565b9150613a0682614967565b602082019050919050565b6000613a1e60068361445e565b9150613a2982614990565b600682019050919050565b6000613a41600e8361445e565b9150613a4c826149b9565b600e82019050919050565b6000613a6460038361445e565b9150613a6f826149e2565b600382019050919050565b6000613a87602b8361444d565b9150613a9282614a0b565b604082019050919050565b6000613aaa60328361444d565b9150613ab582614a5a565b604082019050919050565b6000613acd60258361444d565b9150613ad882614aa9565b604082019050919050565b6000613af0606f8361445e565b9150613afb82614af8565b606f82019050919050565b6000613b1360248361444d565b9150613b1e82614b93565b604082019050919050565b6000613b3660198361444d565b9150613b4182614be2565b602082019050919050565b6000613b5960048361445e565b9150613b6482614c0b565b600482019050919050565b6000613b7c60078361445e565b9150613b8782614c34565b600782019050919050565b6000613b9f60028361445e565b9150613baa82614c5d565b600282019050919050565b6000613bc2602c8361444d565b9150613bcd82614c86565b604082019050919050565b6000613be560188361445e565b9150613bf082614cd5565b601882019050919050565b6000613c0860708361445e565b9150613c1382614cfe565b607082019050919050565b6000613c2b60388361444d565b9150613c3682614d99565b604082019050919050565b6000613c4e602a8361444d565b9150613c5982614de8565b604082019050919050565b6000613c7160298361444d565b9150613c7c82614e37565b604082019050919050565b6000613c9460198361445e565b9150613c9f82614e86565b601982019050919050565b6000613cb760058361445e565b9150613cc282614eaf565b600582019050919050565b6000613cdb61023c8361445e565b9150613ce682614ed8565b61023c82019050919050565b6000613cff602c8361444d565b9150613d0a82615191565b604082019050919050565b6000613d2260228361445e565b9150613d2d826151e0565b602282019050919050565b6000613d45602f8361444d565b9150613d508261522f565b604082019050919050565b6000613d6860198361444d565b9150613d738261527e565b602082019050919050565b6000613d8b60218361444d565b9150613d96826152a7565b604082019050919050565b6000613dae60088361445e565b9150613db9826152f6565b600882019050919050565b6000613dd160318361444d565b9150613ddc8261531f565b604082019050919050565b6000613df4601a8361444d565b9150613dff8261536e565b602082019050919050565b6000613e17602c8361444d565b9150613e2282615397565b604082019050919050565b6000613e3a60308361444d565b9150613e45826153e6565b604082019050919050565b6000613e5d60038361445e565b9150613e6882615435565b600382019050919050565b6000613e80607d8361445e565b9150613e8b8261545e565b607d82019050919050565b613e9f81614710565b82525050565b6000613eb182856139bd565b9150613ebd82846139bd565b91508190509392505050565b6000613ed5828b6139bd565b9150613ee1828a6139bd565b9150613eed82896139bd565b9150613ef982886139bd565b9150613f0582876139bd565b9150613f1182866139bd565b9150613f1d82856139bd565b9150613f2982846139bd565b91508190509998505050505050505050565b6000613f4782856139bd565b9150613f5282613a57565b9150613f5e82846139bd565b91508190509392505050565b6000613f7582613a34565b9150613f8182886139bd565b9150613f8c82613a11565b9150613f9882876139bd565b9150613fa382613caa565b9150613faf82866139bd565b9150613fba82613da1565b9150613fc682856139bd565b9150613fd182613b92565b9150613fdd82846139bd565b9150613fe882613e50565b91508190509695505050505050565b600061400282613bd8565b915061400e82876139bd565b915061401982613d15565b915061402582866139bd565b915061403082613e73565b915061403c82856139bd565b915061404782613c87565b915061405382846139bd565b915061405e82613b4c565b915081905095945050505050565b600061407782613bfb565b915061408282613ae3565b915061408e82846139bd565b915061409982613b4c565b915081905092915050565b60006140af82613ccd565b91506140bb82846139bd565b91506140c682613b6f565b915081905092915050565b60006020820190506140e6600083018461392d565b92915050565b6000608082019050614101600083018761392d565b61410e602083018661392d565b61411b6040830185613e96565b818103606083015261412d818461394b565b905095945050505050565b600060208201905061414d600083018461393c565b92915050565b6000602082019050818103600083015261416d8184613984565b905092915050565b6000602082019050818103600083015261418e816139ee565b9050919050565b600060208201905081810360008301526141ae81613a7a565b9050919050565b600060208201905081810360008301526141ce81613a9d565b9050919050565b600060208201905081810360008301526141ee81613ac0565b9050919050565b6000602082019050818103600083015261420e81613b06565b9050919050565b6000602082019050818103600083015261422e81613b29565b9050919050565b6000602082019050818103600083015261424e81613bb5565b9050919050565b6000602082019050818103600083015261426e81613c1e565b9050919050565b6000602082019050818103600083015261428e81613c41565b9050919050565b600060208201905081810360008301526142ae81613c64565b9050919050565b600060208201905081810360008301526142ce81613cf2565b9050919050565b600060208201905081810360008301526142ee81613d38565b9050919050565b6000602082019050818103600083015261430e81613d5b565b9050919050565b6000602082019050818103600083015261432e81613d7e565b9050919050565b6000602082019050818103600083015261434e81613dc4565b9050919050565b6000602082019050818103600083015261436e81613de7565b9050919050565b6000602082019050818103600083015261438e81613e0a565b9050919050565b600060208201905081810360008301526143ae81613e2d565b9050919050565b60006020820190506143ca6000830184613e96565b92915050565b60006143da6143eb565b90506143e682826147c5565b919050565b6000604051905090565b600067ffffffffffffffff8211156144105761440f614927565b5b61441982614956565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614474826146e2565b915061447f836146e2565b92508261ffff038211156144965761449561489a565b5b828201905092915050565b60006144ac82614710565b91506144b783614710565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144ec576144eb61489a565b5b828201905092915050565b60006145028261471a565b915061450d8361471a565b92508260ff038211156145235761452261489a565b5b828201905092915050565b600061453982614710565b915061454483614710565b925082614554576145536148c9565b5b828204905092915050565b600061456a826146e2565b9150614575836146e2565b92508161ffff04831182151516156145905761458f61489a565b5b828202905092915050565b60006145a682614710565b91506145b183614710565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145ea576145e961489a565b5b828202905092915050565b60006146008261471a565b915061460b8361471a565b92508160ff04831182151516156146255761462461489a565b5b828202905092915050565b600061463b82614710565b915061464683614710565b9250828210156146595761465861489a565b5b828203905092915050565b600061466f8261471a565b915061467a8361471a565b92508282101561468d5761468c61489a565b5b828203905092915050565b60006146a3826146f0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614754578082015181840152602081019050614739565b83811115614763576000848401525b50505050565b600061477482614710565b915060008214156147885761478761489a565b5b600182039050919050565b600060028204905060018216806147ab57607f821691505b602082108114156147bf576147be6148f8565b5b50919050565b6147ce82614956565b810181811067ffffffffffffffff821117156147ed576147ec614927565b5b80604052505050565b600061480182614710565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148345761483361489a565b5b600182019050919050565b600061484a8261471a565b915060ff82141561485e5761485d61489a565b5b600182019050919050565b600061487482614710565b915061487f83614710565b92508261488f5761488e6148c9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f222063793d220000000000000000000000000000000000000000000000000000600082015250565b7f20203c636972636c652063783d22000000000000000000000000000000000000600082015250565b7fe280a60000000000000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f20202273656c6c65725f6665655f62617369735f706f696e7473223a2031303060008201527f2c0a2020226665655f726563697069656e74223a20223078613846666138344660208201527f453035346461364241623938376138393834443464333566353434393141373560408201527f222c0a202022696d616765223a20220000000000000000000000000000000000606082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f220a7d0a00000000000000000000000000000000000000000000000000000000600082015250565b7f3c2f7376673e0a00000000000000000000000000000000000000000000000000600082015250565b7f2220000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f7b0a2020226e616d65223a2022436f7572616765206f66200000000000000000600082015250565b7f7b0a2020226e616d65223a2022436172626f6e6174656420436f75726167652260008201527f2c0a2020226465736372697074696f6e223a2022436f757261676520796f752060208201527f68616420697420616c6c20616c6f6e672c206576656e20696620796f7520646960408201527f646e2774206b6e6f772069742e222c0a00000000000000000000000000000000606082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f220a202020207d0a20205d2c0a202022696d616765223a202200000000000000600082015250565b7f2220723d22000000000000000000000000000000000000000000000000000000600082015250565b7f3c7376672077696474683d2233353022206865696768743d223335302220766960008201527f6577626f783d2230203020333530203335302220786d6c6e733d22687474703a60208201527f2f2f7777772e77332e6f72672f323030302f737667223e0a20203c66696c746560408201527f722069643d226e656f6e223e0a202020203c6665466c6f6f6420666c6f6f642d60608201527f636f6c6f723d22234646443534462220666c6f6f642d6f7061636974793d223060808201527f2e352220696e3d22536f757263654772617068696322202f3e0a202020203c6660a08201527f65436f6d706f73697465206f70657261746f723d22696e2220696e323d22536f60c08201527f757263654772617068696322202f3e0a202020203c6665476175737369616e4260e08201527f6c757220737464446576696174696f6e3d223522202f3e0a202020203c6665436101008201527f6f6d706f6e656e745472616e7366657220726573756c743d22676c6f7731223e6101208201527f0a2020202020203c666546756e634120747970653d226c696e6561722220736c6101408201527f6f70653d22342220696e746572636570743d223022202f3e0a202020203c2f666101608201527f65436f6d706f6e656e745472616e736665723e0a202020203c66654d657267656101808201527f3e0a2020202020203c66654d657267654e6f646520696e3d22676c6f773122206101a08201527f2f3e0a2020202020203c66654d657267654e6f646520696e3d22536f757263656101c08201527f4772617068696322202f3e0a202020203c2f66654d657267653e0a20203c2f666101e08201527f696c7465723e0a20203c726563742077696474683d22313030252220686569676102008201527f68743d2231303025222066696c6c3d222331383230323622202f3e0a0000000061022082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f222c0a2020226465736372697074696f6e223a2022436f75726167652074686160008201527f7420000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a206e6f6e6578697374656e7420746f6b656e00000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f222066696c6c3d22000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f496e76616c696420726563697069656e7420616464726573732e000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f2f3e0a0000000000000000000000000000000000000000000000000000000000600082015250565b7f2068616420616c6c20616c6f6e672c206576656e20696620746865792064696460008201527f6e2774206b6e6f772069742e222c0a20202261747472696275746573223a205b60208201527f0a202020207b0a2020202020202274726169745f74797065223a20224f72696760408201527f696e616c206f776e6572222c0a2020202020202276616c7565223a2022000000606082015250565b61550281614698565b811461550d57600080fd5b50565b615519816146aa565b811461552457600080fd5b50565b615530816146b6565b811461553b57600080fd5b50565b61554781614710565b811461555257600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f66696c7465723d2275726c28236e656f6e2922206f7061636974793d22302e352220a26469706673582212207515490528b7c5e1fb9f41af96f859ea1a096cc501e734c289ef2fa53fdb850a64736f6c63430008040033
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.