ERC-721
Overview
Max Total Supply
442 BONHOMME
Holders
440
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BONHOMMELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Bonhomme
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: CC0 pragma solidity ^0.8.14; // Name: Bonhomme 3x3 // Description: Bonhomme is a collection of generated, on-chain, 3x3 grids that represent your wallet address. // Website: https://bonhomme.lol // Twitter: @pixel_arts // Build: himlate.eth // Design: biron.eth // Using to HotChainSVG: 0xa7988c8abb7706e024a8f2a1328e376227aaad18 import 'erc721a/contracts/ERC721A.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import './Utils.sol'; import './SVG.sol'; import './Base64.sol'; contract Bonhomme is ERC721A, Ownable { string[9] public colors = [ '#9b51e0', '#2f80ed', '#56ccf2', '#6fcf97', '#27ae60', '#f2c94c', '#f2994a', '#eb5757', '#ff86dd' ]; uint256 public constant PX_SIZE = 300; string public description = 'Bonhomme is a collection of generated, on-chain, 3x3 grids that represent your wallet address. Only one per wallet. Free forever.'; mapping(address => bool) public hasAddressMinted; mapping(uint256 => address) public seeds; constructor() ERC721A('bonhomme.lol', 'BONHOMME') {} error OnlyOneMintAllowed(); modifier hasNeverMinted(address _address) { if (hasAddressMinted[_address] == true) revert OnlyOneMintAllowed(); _; } function mint() external payable hasNeverMinted(msg.sender) { uint256 _currentTokenId = _nextTokenId(); _mint(msg.sender, 1); hasAddressMinted[msg.sender] = true; seeds[_currentTokenId] = msg.sender; } function airdrop(address _address) external onlyOwner hasNeverMinted(_address) { uint256 _currentTokenId = _nextTokenId(); _mint(_address, 1); hasAddressMinted[_address] = true; seeds[_currentTokenId] = _address; } function getShape( uint256 _seed, uint256 _x, uint256 _y ) internal view returns (string memory) { string memory stringX = utils.uint2str(_x); string memory stringY = utils.uint2str(_y); uint256 color = utils.getRandomInteger( string.concat('color', stringX, stringY), _seed, 0, 9 ); uint256 circleOrRect = utils.getRandomInteger( string.concat('shape', stringX, stringY), _seed, 0, 10 ); string memory shape; if (circleOrRect < 5) { shape = svg.circle( string.concat( svg.prop('fill', colors[color]), svg.prop('cx', utils.uint2str(_x + (PX_SIZE / 2))), svg.prop('cy', utils.uint2str(_y + (PX_SIZE / 2))), svg.prop('r', utils.uint2str(PX_SIZE / 2)), svg.prop('width', utils.uint2str(PX_SIZE)), svg.prop('height', utils.uint2str(PX_SIZE)) ), utils.NULL ); } else { shape = svg.rect( string.concat( svg.prop('fill', colors[color]), svg.prop('x', stringX), svg.prop('y', stringY), svg.prop('width', utils.uint2str(PX_SIZE)), svg.prop('height', utils.uint2str(PX_SIZE)) ), utils.NULL ); } return shape; } function getRow(uint256 _seed, uint256 _y) internal view returns (string memory) { return string.concat( getShape(_seed, 0, _y), getShape(_seed, 300, _y), getShape(_seed, 600, _y) ); } function render(uint256 _seed) public view returns (string memory) { return string.concat( '<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 900 900" width="900" height="900">', getRow(_seed, 0), getRow(_seed, 300), getRow(_seed, 600), '</svg>' ); } function withdraw() external payable onlyOwner { payable(owner()).transfer(address(this).balance); } function tokenURI(uint256 _tokenId) public view override returns (string memory) { uint256 seed = uint256(uint160(seeds[_tokenId])); return string( abi.encodePacked( 'data:application/json;base64,', Base64.encode( bytes( abi.encodePacked( '{"name":"Bonhomme #', utils.uint2str(_tokenId), '", "description":"', description, '", ', '"attributes": [{"trait_type": "seed", "value": "', utils.uint2str(seed), '"}]', ', "image":"', string( abi.encodePacked( 'data:image/svg+xml;base64,', Base64.encode(bytes(render(seed))) ) ), '"}' ) ) ) ) ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ""; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for { } lt(dataPtr, endPtr) { } { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8( resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))) ) resultPtr := add(resultPtr, 1) mstore8( resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))) ) resultPtr := add(resultPtr, 1) mstore8( resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))) ) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for { } lt(dataPtr, endPtr) { } { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl( 18, and( mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF ) ), shl( 12, and( mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF ) ) ), add( shl( 6, and( mload(add(tablePtr, and(shr(8, input), 0xFF))), 0xFF ) ), and(mload(add(tablePtr, and(input, 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import './Utils.sol'; // Core SVG utilitiy library which helps us construct // onchain SVG's with a simple, web-like API. library svg { /* MAIN ELEMENTS */ function circle(string memory _props, string memory _children) internal pure returns (string memory) { return el('circle', _props, _children); } function circle(string memory _props) internal pure returns (string memory) { return el('circle', _props); } function rect(string memory _props, string memory _children) internal pure returns (string memory) { return el('rect', _props, _children); } function rect(string memory _props) internal pure returns (string memory) { return el('rect', _props); } /* COMMON */ // A generic element, can be used to construct any SVG (or HTML) element function el( string memory _tag, string memory _props, string memory _children ) internal pure returns (string memory) { return string.concat( '<', _tag, ' ', _props, '>', _children, '</', _tag, '>' ); } // A generic element, can be used to construct any SVG (or HTML) element without children function el(string memory _tag, string memory _props) internal pure returns (string memory) { return string.concat('<', _tag, ' ', _props, '/>'); } // an SVG attribute function prop(string memory _key, string memory _val) internal pure returns (string memory) { return string.concat(_key, '=', '"', _val, '" '); } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.12; // Core utils used extensively to format CSS and numbers. library utils { // used to simulate empty strings string internal constant NULL = ''; // converts an unsigned integer to a string function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return '0'; } uint256 j = _i; uint256 len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint256 k = len; while (_i != 0) { k = k - 1; uint8 temp = (48 + uint8(_i - (_i / 10) * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } function getRandomInteger( string memory _name, uint256 _seed, uint256 _min, uint256 _max ) internal pure returns (uint256) { if (_max <= _min) return _min; return (uint256(keccak256(abi.encodePacked(_name, _seed))) % (_max - _min)) + _min; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * 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`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// 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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OnlyOneMintAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PX_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"airdrop","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":"","type":"uint256"}],"name":"colors","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"","type":"address"}],"name":"hasAddressMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seed","type":"uint256"}],"name":"render","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"","type":"uint256"}],"name":"seeds","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"_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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526040518061012001604052806040518060400160405280600781526020017f233962353165300000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f233266383065640000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f233536636366320000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f233666636639370000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f233237616536300000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236632633934630000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236632393934610000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236562353735370000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236666383664640000000000000000000000000000000000000000000000000081525081525060099060096200023392919062000423565b506040518060c0016040528060818152602001620041936081913960129080519060200190620002659291906200047d565b503480156200027357600080fd5b506040518060400160405280600c81526020017f626f6e686f6d6d652e6c6f6c00000000000000000000000000000000000000008152506040518060400160405280600881526020017f424f4e484f4d4d450000000000000000000000000000000000000000000000008152508160029080519060200190620002f89291906200047d565b508060039080519060200190620003119291906200047d565b50620003226200035060201b60201c565b60008190555050506200034a6200033e6200035560201b60201c565b6200035d60201b60201c565b620005ff565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82600981019282156200046a579160200282015b8281111562000469578251829080519060200190620004589291906200047d565b509160200191906001019062000437565b5b5090506200047991906200050e565b5090565b8280546200048b90620005ca565b90600052602060002090601f016020900481019282620004af5760008555620004fb565b82601f10620004ca57805160ff1916838001178555620004fb565b82800160010185558215620004fb579182015b82811115620004fa578251825591602001919060010190620004dd565b5b5090506200050a919062000536565b5090565b5b8082111562000532576000818162000528919062000555565b506001016200050f565b5090565b5b808211156200055157600081600090555060010162000537565b5090565b5080546200056390620005ca565b6000825580601f1062000577575062000598565b601f01602090049060005260206000209081019062000597919062000536565b5b50565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005e357607f821691505b602082108103620005f957620005f86200059b565b5b50919050565b613b84806200060f6000396000f3fe6080604052600436106101815760003560e01c80637284e416116100d1578063c321118c1161008a578063d358dc2c11610064578063d358dc2c14610566578063e985e9c514610591578063f0503e80146105ce578063f2fde38b1461060b57610181565b8063c321118c146104af578063c87b56dd146104ec578063c94ccfc71461052957610181565b80637284e4161461039f5780638da5cb5b146103ca57806395d89b41146103f5578063a22cb46514610420578063b88d4fde14610449578063bd11f69d1461047257610181565b806321860a051161013e57806342842e0e1161011857806342842e0e146102e55780636352211e1461030e57806370a082311461034b578063715018a61461038857610181565b806321860a051461028957806323b872dd146102b25780633ccfd60b146102db57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b5780631249c58b1461025457806318160ddd1461025e575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a891906127ea565b610634565b6040516101ba9190612832565b60405180910390f35b3480156101cf57600080fd5b506101d86106c6565b6040516101e591906128e6565b60405180910390f35b3480156101fa57600080fd5b506102156004803603810190610210919061293e565b610758565b60405161022291906129ac565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d91906129f3565b6107d7565b005b61025c61091b565b005b34801561026a57600080fd5b50610273610a6b565b6040516102809190612a42565b60405180910390f35b34801561029557600080fd5b506102b060048036038101906102ab9190612a5d565b610a82565b005b3480156102be57600080fd5b506102d960048036038101906102d49190612a8a565b610bdb565b005b6102e3610efd565b005b3480156102f157600080fd5b5061030c60048036038101906103079190612a8a565b610f55565b005b34801561031a57600080fd5b506103356004803603810190610330919061293e565b610f75565b60405161034291906129ac565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d9190612a5d565b610f87565b60405161037f9190612a42565b60405180910390f35b34801561039457600080fd5b5061039d61103f565b005b3480156103ab57600080fd5b506103b4611053565b6040516103c191906128e6565b60405180910390f35b3480156103d657600080fd5b506103df6110e1565b6040516103ec91906129ac565b60405180910390f35b34801561040157600080fd5b5061040a61110b565b60405161041791906128e6565b60405180910390f35b34801561042c57600080fd5b5061044760048036038101906104429190612b09565b61119d565b005b34801561045557600080fd5b50610470600480360381019061046b9190612c7e565b611314565b005b34801561047e57600080fd5b506104996004803603810190610494919061293e565b611387565b6040516104a691906128e6565b60405180910390f35b3480156104bb57600080fd5b506104d660048036038101906104d1919061293e565b61142a565b6040516104e391906128e6565b60405180910390f35b3480156104f857600080fd5b50610513600480360381019061050e919061293e565b611477565b60405161052091906128e6565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b9190612a5d565b61155c565b60405161055d9190612832565b60405180910390f35b34801561057257600080fd5b5061057b61157c565b6040516105889190612a42565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190612d01565b611582565b6040516105c59190612832565b60405180910390f35b3480156105da57600080fd5b506105f560048036038101906105f0919061293e565b611616565b60405161060291906129ac565b60405180910390f35b34801561061757600080fd5b50610632600480360381019061062d9190612a5d565b611649565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106bf5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546106d590612d70565b80601f016020809104026020016040519081016040528092919081815260200182805461070190612d70565b801561074e5780601f106107235761010080835404028352916020019161074e565b820191906000526020600020905b81548152906001019060200180831161073157829003601f168201915b5050505050905090565b6000610763826116cc565b610799576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107e282610f75565b90508073ffffffffffffffffffffffffffffffffffffffff1661080361172b565b73ffffffffffffffffffffffffffffffffffffffff16146108665761082f8161082a61172b565b611582565b610865576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b3360011515601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515036109a6576040517f88a3951f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006109b0611733565b90506109bd33600161173c565b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550336014600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000610a756118f7565b6001546000540303905090565b610a8a6118fc565b8060011515601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151503610b15576040517f88a3951f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610b1f611733565b9050610b2c83600161173c565b6001601360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550826014600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6000610be68261197a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c4d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c5984611a46565b91509150610c6f8187610c6a61172b565b611a6d565b610cbb57610c8486610c7f61172b565b611582565b610cba576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610d21576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d2e8686866001611ab1565b8015610d3957600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e0785610de3888887611ab7565b7c020000000000000000000000000000000000000000000000000000000017611adf565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610e8d5760006001850190506000600460008381526020019081526020016000205403610e8b576000548114610e8a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ef58686866001611b0a565b505050505050565b610f056118fc565b610f0d6110e1565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f52573d6000803e3d6000fd5b50565b610f7083838360405180602001604052806000815250611314565b505050565b6000610f808261197a565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fee576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6110476118fc565b6110516000611b10565b565b6012805461106090612d70565b80601f016020809104026020016040519081016040528092919081815260200182805461108c90612d70565b80156110d95780601f106110ae576101008083540402835291602001916110d9565b820191906000526020600020905b8154815290600101906020018083116110bc57829003601f168201915b505050505081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461111a90612d70565b80601f016020809104026020016040519081016040528092919081815260200182805461114690612d70565b80156111935780601f1061116857610100808354040283529160200191611193565b820191906000526020600020905b81548152906001019060200180831161117657829003601f168201915b5050505050905090565b6111a561172b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611209576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061121661172b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112c361172b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113089190612832565b60405180910390a35050565b61131f848484610bdb565b60008373ffffffffffffffffffffffffffffffffffffffff163b146113815761134a84848484611bd6565b611380576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6009816009811061139757600080fd5b0160009150905080546113a990612d70565b80601f01602080910402602001604051908101604052809291908181526020018280546113d590612d70565b80156114225780601f106113f757610100808354040283529160200191611422565b820191906000526020600020905b81548152906001019060200180831161140557829003601f168201915b505050505081565b6060611437826000611d26565b6114438361012c611d26565b61144f84610258611d26565b60405160200161146193929190612e9b565b6040516020818303038152906040529050919050565b606060006014600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1690506115356114d384611d77565b60126114de84611d77565b6114ef6114ea8661142a565b611eff565b6040516020016114ff9190612f32565b6040516020818303038152906040526040516020016115219493929190613222565b604051602081830303815290604052611eff565b60405160200161154591906132f9565b604051602081830303815290604052915050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b61012c81565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60146020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6116516118fc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036116c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b79061338d565b60405180910390fd5b6116c981611b10565b50565b6000816116d76118f7565b111580156116e6575060005482105b8015611724575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60008054905090565b6000805490506000820361177c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117896000848385611ab1565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611800836117f16000866000611ab7565b6117fa85612077565b17611adf565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146118a157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611866565b50600082036118dc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506118f26000848385611b0a565b505050565b600090565b611904612087565b73ffffffffffffffffffffffffffffffffffffffff166119226110e1565b73ffffffffffffffffffffffffffffffffffffffff1614611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f906133f9565b60405180910390fd5b565b600080829050806119896118f7565b11611a0f57600054811015611a0e5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611a0c575b60008103611a025760046000836001900393508381526020019081526020016000205490506119d8565b8092505050611a41565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611ace86868461208f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611bfc61172b565b8786866040518563ffffffff1660e01b8152600401611c1e949392919061346e565b6020604051808303816000875af1925050508015611c5a57506040513d601f19601f82011682018060405250810190611c5791906134cf565b60015b611cd3573d8060008114611c8a576040519150601f19603f3d011682016040523d82523d6000602084013e611c8f565b606091505b506000815103611ccb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060611d3483600084612098565b611d418461012c85612098565b611d4e8561025886612098565b604051602001611d60939291906134fc565b604051602081830303815290604052905092915050565b606060008203611dbe576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611efa565b600082905060005b60008214611df0578080611dd99061355c565b915050600a82611de991906135d3565b9150611dc6565b60008167ffffffffffffffff811115611e0c57611e0b612b53565b5b6040519080825280601f01601f191660200182016040528015611e3e5781602001600182028036833780820191505090505b50905060008290505b60008614611ef257600181611e5c9190613604565b90506000600a8088611e6e91906135d3565b611e789190613638565b87611e839190613604565b6030611e8f919061369f565b905060008160f81b905080848481518110611ead57611eac6136d6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88611ee991906135d3565b97505050611e47565b819450505050505b919050565b60606000825103611f2157604051806020016040528060008152509050612072565b6000604051806060016040528060408152602001613b0f6040913990506000600360028551611f509190613705565b611f5a91906135d3565b6004611f669190613638565b90506000602082611f779190613705565b67ffffffffffffffff811115611f9057611f8f612b53565b5b6040519080825280601f01601f191660200182016040528015611fc25781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612031576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050611fd6565b60038951066001811461204b576002811461205b57612066565b613d3d60f01b6002830352612066565b603d60f81b60018303525b50505050508093505050505b919050565b60006001821460e11b9050919050565b600033905090565b60009392505050565b606060006120a584611d77565b905060006120b284611d77565b905060006120e583836040516020016120cc929190613781565b6040516020818303038152906040528860006009612624565b9050600061211884846040516020016120ff9291906137da565b604051602081830303815290604052896000600a612624565b9050606060058210156123eb576123e46122046040518060400160405280600481526020017f66696c6c0000000000000000000000000000000000000000000000000000000081525060098660098110612175576121746136d6565b5b01805461218190612d70565b80601f01602080910402602001604051908101604052809291908181526020018280546121ad90612d70565b80156121fa5780601f106121cf576101008083540402835291602001916121fa565b820191906000526020600020905b8154815290600101906020018083116121dd57829003601f168201915b505050505061268d565b6122646040518060400160405280600281526020017f637800000000000000000000000000000000000000000000000000000000000081525061225f600261012c61224f91906135d3565b8d61225a9190613705565b611d77565b61268d565b6122c46040518060400160405280600281526020017f63790000000000000000000000000000000000000000000000000000000000008152506122bf600261012c6122af91906135d3565b8d6122ba9190613705565b611d77565b61268d565b6123196040518060400160405280600181526020017f7200000000000000000000000000000000000000000000000000000000000000815250612314600261012c61230f91906135d3565b611d77565b61268d565b6123626040518060400160405280600581526020017f776964746800000000000000000000000000000000000000000000000000000081525061235d61012c611d77565b61268d565b6123ab6040518060400160405280600681526020017f68656967687400000000000000000000000000000000000000000000000000008152506123a661012c611d77565b61268d565b6040516020016123c09695949392919061380d565b604051602081830303815290604052604051806020016040528060008152506126b9565b9050612615565b6126126124ca6040518060400160405280600481526020017f66696c6c000000000000000000000000000000000000000000000000000000008152506009866009811061243b5761243a6136d6565b5b01805461244790612d70565b80601f016020809104026020016040519081016040528092919081815260200182805461247390612d70565b80156124c05780601f10612495576101008083540402835291602001916124c0565b820191906000526020600020905b8154815290600101906020018083116124a357829003601f168201915b505050505061268d565b6125096040518060400160405280600181526020017f78000000000000000000000000000000000000000000000000000000000000008152508861268d565b6125486040518060400160405280600181526020017f79000000000000000000000000000000000000000000000000000000000000008152508861268d565b6125916040518060400160405280600581526020017f776964746800000000000000000000000000000000000000000000000000000081525061258c61012c611d77565b61268d565b6125da6040518060400160405280600681526020017f68656967687400000000000000000000000000000000000000000000000000008152506125d561012c611d77565b61268d565b6040516020016125ee959493929190613865565b60405160208183030381529060405260405180602001604052806000815250612703565b90505b80955050505050509392505050565b600082821161263557829050612685565b8283836126429190613604565b86866040516020016126559291906138d1565b6040516020818303038152906040528051906020012060001c61267891906138f9565b6126829190613705565b90505b949350505050565b606082826040516020016126a292919061399c565b604051602081830303815290604052905092915050565b60606126fb6040518060400160405280600681526020017f636972636c650000000000000000000000000000000000000000000000000000815250848461274d565b905092915050565b60606127456040518060400160405280600481526020017f7265637400000000000000000000000000000000000000000000000000000000815250848461274d565b905092915050565b6060838383866040516020016127669493929190613a85565b60405160208183030381529060405290509392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6127c781612792565b81146127d257600080fd5b50565b6000813590506127e4816127be565b92915050565b600060208284031215612800576127ff612788565b5b600061280e848285016127d5565b91505092915050565b60008115159050919050565b61282c81612817565b82525050565b60006020820190506128476000830184612823565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561288757808201518184015260208101905061286c565b83811115612896576000848401525b50505050565b6000601f19601f8301169050919050565b60006128b88261284d565b6128c28185612858565b93506128d2818560208601612869565b6128db8161289c565b840191505092915050565b6000602082019050818103600083015261290081846128ad565b905092915050565b6000819050919050565b61291b81612908565b811461292657600080fd5b50565b60008135905061293881612912565b92915050565b60006020828403121561295457612953612788565b5b600061296284828501612929565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129968261296b565b9050919050565b6129a68161298b565b82525050565b60006020820190506129c1600083018461299d565b92915050565b6129d08161298b565b81146129db57600080fd5b50565b6000813590506129ed816129c7565b92915050565b60008060408385031215612a0a57612a09612788565b5b6000612a18858286016129de565b9250506020612a2985828601612929565b9150509250929050565b612a3c81612908565b82525050565b6000602082019050612a576000830184612a33565b92915050565b600060208284031215612a7357612a72612788565b5b6000612a81848285016129de565b91505092915050565b600080600060608486031215612aa357612aa2612788565b5b6000612ab1868287016129de565b9350506020612ac2868287016129de565b9250506040612ad386828701612929565b9150509250925092565b612ae681612817565b8114612af157600080fd5b50565b600081359050612b0381612add565b92915050565b60008060408385031215612b2057612b1f612788565b5b6000612b2e858286016129de565b9250506020612b3f85828601612af4565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b8b8261289c565b810181811067ffffffffffffffff82111715612baa57612ba9612b53565b5b80604052505050565b6000612bbd61277e565b9050612bc98282612b82565b919050565b600067ffffffffffffffff821115612be957612be8612b53565b5b612bf28261289c565b9050602081019050919050565b82818337600083830152505050565b6000612c21612c1c84612bce565b612bb3565b905082815260208101848484011115612c3d57612c3c612b4e565b5b612c48848285612bff565b509392505050565b600082601f830112612c6557612c64612b49565b5b8135612c75848260208601612c0e565b91505092915050565b60008060008060808587031215612c9857612c97612788565b5b6000612ca6878288016129de565b9450506020612cb7878288016129de565b9350506040612cc887828801612929565b925050606085013567ffffffffffffffff811115612ce957612ce861278d565b5b612cf587828801612c50565b91505092959194509250565b60008060408385031215612d1857612d17612788565b5b6000612d26858286016129de565b9250506020612d37858286016129de565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d8857607f821691505b602082108103612d9b57612d9a612d41565b5b50919050565b600081905092915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667222076696577626f783d2230203020393030203930302220776960208201527f6474683d2239303022206865696768743d22393030223e000000000000000000604082015250565b6000612e2e605783612da1565b9150612e3982612dac565b605782019050919050565b6000612e4f8261284d565b612e598185612da1565b9350612e69818560208601612869565b80840191505092915050565b7f3c2f7376673e0000000000000000000000000000000000000000000000000000815250565b6000612ea682612e21565b9150612eb28286612e44565b9150612ebe8285612e44565b9150612eca8284612e44565b9150612ed582612e75565b600682019150819050949350505050565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600082015250565b6000612f1c601a83612da1565b9150612f2782612ee6565b601a82019050919050565b6000612f3d82612f0f565b9150612f498284612e44565b915081905092915050565b7f7b226e616d65223a22426f6e686f6d6d65202300000000000000000000000000600082015250565b6000612f8a601383612da1565b9150612f9582612f54565b601382019050919050565b7f222c20226465736372697074696f6e223a220000000000000000000000000000600082015250565b6000612fd6601283612da1565b9150612fe182612fa0565b601282019050919050565b60008190508160005260206000209050919050565b6000815461300e81612d70565b6130188186612da1565b94506001821660008114613033576001811461304457613077565b60ff19831686528186019350613077565b61304d85612fec565b60005b8381101561306f57815481890152600182019150602081019050613050565b838801955050505b50505092915050565b7f222c200000000000000000000000000000000000000000000000000000000000600082015250565b60006130b6600383612da1565b91506130c182613080565b600382019050919050565b7f2261747472696275746573223a205b7b2274726169745f74797065223a20227360008201527f656564222c202276616c7565223a202200000000000000000000000000000000602082015250565b6000613128603083612da1565b9150613133826130cc565b603082019050919050565b7f227d5d0000000000000000000000000000000000000000000000000000000000600082015250565b6000613174600383612da1565b915061317f8261313e565b600382019050919050565b7f2c2022696d616765223a22000000000000000000000000000000000000000000600082015250565b60006131c0600b83612da1565b91506131cb8261318a565b600b82019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b600061320c600283612da1565b9150613217826131d6565b600282019050919050565b600061322d82612f7d565b91506132398287612e44565b915061324482612fc9565b91506132508286613001565b915061325b826130a9565b91506132668261311b565b91506132728285612e44565b915061327d82613167565b9150613288826131b3565b91506132948284612e44565b915061329f826131ff565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b60006132e3601d83612da1565b91506132ee826132ad565b601d82019050919050565b6000613304826132d6565b91506133108284612e44565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613377602683612858565b91506133828261331b565b604082019050919050565b600060208201905081810360008301526133a68161336a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006133e3602083612858565b91506133ee826133ad565b602082019050919050565b60006020820190508181036000830152613412816133d6565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061344082613419565b61344a8185613424565b935061345a818560208601612869565b6134638161289c565b840191505092915050565b6000608082019050613483600083018761299d565b613490602083018661299d565b61349d6040830185612a33565b81810360608301526134af8184613435565b905095945050505050565b6000815190506134c9816127be565b92915050565b6000602082840312156134e5576134e4612788565b5b60006134f3848285016134ba565b91505092915050565b60006135088286612e44565b91506135148285612e44565b91506135208284612e44565b9150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061356782612908565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135995761359861352d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135de82612908565b91506135e983612908565b9250826135f9576135f86135a4565b5b828204905092915050565b600061360f82612908565b915061361a83612908565b92508282101561362d5761362c61352d565b5b828203905092915050565b600061364382612908565b915061364e83612908565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136875761368661352d565b5b828202905092915050565b600060ff82169050919050565b60006136aa82613692565b91506136b583613692565b92508260ff038211156136cb576136ca61352d565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061371082612908565b915061371b83612908565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137505761374f61352d565b5b828201905092915050565b7f636f6c6f72000000000000000000000000000000000000000000000000000000815250565b600061378c8261375b565b60058201915061379c8285612e44565b91506137a88284612e44565b91508190509392505050565b7f7368617065000000000000000000000000000000000000000000000000000000815250565b60006137e5826137b4565b6005820191506137f58285612e44565b91506138018284612e44565b91508190509392505050565b60006138198289612e44565b91506138258288612e44565b91506138318287612e44565b915061383d8286612e44565b91506138498285612e44565b91506138558284612e44565b9150819050979650505050505050565b60006138718288612e44565b915061387d8287612e44565b91506138898286612e44565b91506138958285612e44565b91506138a18284612e44565b91508190509695505050505050565b6000819050919050565b6138cb6138c682612908565b6138b0565b82525050565b60006138dd8285612e44565b91506138e982846138ba565b6020820191508190509392505050565b600061390482612908565b915061390f83612908565b92508261391f5761391e6135a4565b5b828206905092915050565b7f3d00000000000000000000000000000000000000000000000000000000000000815250565b7f2200000000000000000000000000000000000000000000000000000000000000815250565b7f2220000000000000000000000000000000000000000000000000000000000000815250565b60006139a88285612e44565b91506139b38261392a565b6001820191506139c282613950565b6001820191506139d28284612e44565b91506139dd82613976565b6002820191508190509392505050565b7f3c00000000000000000000000000000000000000000000000000000000000000815250565b7f2000000000000000000000000000000000000000000000000000000000000000815250565b7f3e00000000000000000000000000000000000000000000000000000000000000815250565b7f3c2f000000000000000000000000000000000000000000000000000000000000815250565b6000613a90826139ed565b600182019150613aa08287612e44565b9150613aab82613a13565b600182019150613abb8286612e44565b9150613ac682613a39565b600182019150613ad68285612e44565b9150613ae182613a5f565b600282019150613af18284612e44565b9150613afc82613a39565b6001820191508190509594505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220b4b9b0d4af99536e82da58181ab6badb31d58c6e5587882a8a5583cbea317b9064736f6c634300080e0033426f6e686f6d6d65206973206120636f6c6c656374696f6e206f662067656e6572617465642c206f6e2d636861696e2c20337833206772696473207468617420726570726573656e7420796f75722077616c6c657420616464726573732e204f6e6c79206f6e65207065722077616c6c65742e204672656520666f72657665722e
Deployed Bytecode
0x6080604052600436106101815760003560e01c80637284e416116100d1578063c321118c1161008a578063d358dc2c11610064578063d358dc2c14610566578063e985e9c514610591578063f0503e80146105ce578063f2fde38b1461060b57610181565b8063c321118c146104af578063c87b56dd146104ec578063c94ccfc71461052957610181565b80637284e4161461039f5780638da5cb5b146103ca57806395d89b41146103f5578063a22cb46514610420578063b88d4fde14610449578063bd11f69d1461047257610181565b806321860a051161013e57806342842e0e1161011857806342842e0e146102e55780636352211e1461030e57806370a082311461034b578063715018a61461038857610181565b806321860a051461028957806323b872dd146102b25780633ccfd60b146102db57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b5780631249c58b1461025457806318160ddd1461025e575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a891906127ea565b610634565b6040516101ba9190612832565b60405180910390f35b3480156101cf57600080fd5b506101d86106c6565b6040516101e591906128e6565b60405180910390f35b3480156101fa57600080fd5b506102156004803603810190610210919061293e565b610758565b60405161022291906129ac565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d91906129f3565b6107d7565b005b61025c61091b565b005b34801561026a57600080fd5b50610273610a6b565b6040516102809190612a42565b60405180910390f35b34801561029557600080fd5b506102b060048036038101906102ab9190612a5d565b610a82565b005b3480156102be57600080fd5b506102d960048036038101906102d49190612a8a565b610bdb565b005b6102e3610efd565b005b3480156102f157600080fd5b5061030c60048036038101906103079190612a8a565b610f55565b005b34801561031a57600080fd5b506103356004803603810190610330919061293e565b610f75565b60405161034291906129ac565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d9190612a5d565b610f87565b60405161037f9190612a42565b60405180910390f35b34801561039457600080fd5b5061039d61103f565b005b3480156103ab57600080fd5b506103b4611053565b6040516103c191906128e6565b60405180910390f35b3480156103d657600080fd5b506103df6110e1565b6040516103ec91906129ac565b60405180910390f35b34801561040157600080fd5b5061040a61110b565b60405161041791906128e6565b60405180910390f35b34801561042c57600080fd5b5061044760048036038101906104429190612b09565b61119d565b005b34801561045557600080fd5b50610470600480360381019061046b9190612c7e565b611314565b005b34801561047e57600080fd5b506104996004803603810190610494919061293e565b611387565b6040516104a691906128e6565b60405180910390f35b3480156104bb57600080fd5b506104d660048036038101906104d1919061293e565b61142a565b6040516104e391906128e6565b60405180910390f35b3480156104f857600080fd5b50610513600480360381019061050e919061293e565b611477565b60405161052091906128e6565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b9190612a5d565b61155c565b60405161055d9190612832565b60405180910390f35b34801561057257600080fd5b5061057b61157c565b6040516105889190612a42565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190612d01565b611582565b6040516105c59190612832565b60405180910390f35b3480156105da57600080fd5b506105f560048036038101906105f0919061293e565b611616565b60405161060291906129ac565b60405180910390f35b34801561061757600080fd5b50610632600480360381019061062d9190612a5d565b611649565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106bf5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546106d590612d70565b80601f016020809104026020016040519081016040528092919081815260200182805461070190612d70565b801561074e5780601f106107235761010080835404028352916020019161074e565b820191906000526020600020905b81548152906001019060200180831161073157829003601f168201915b5050505050905090565b6000610763826116cc565b610799576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107e282610f75565b90508073ffffffffffffffffffffffffffffffffffffffff1661080361172b565b73ffffffffffffffffffffffffffffffffffffffff16146108665761082f8161082a61172b565b611582565b610865576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b3360011515601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515036109a6576040517f88a3951f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006109b0611733565b90506109bd33600161173c565b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550336014600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000610a756118f7565b6001546000540303905090565b610a8a6118fc565b8060011515601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151503610b15576040517f88a3951f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610b1f611733565b9050610b2c83600161173c565b6001601360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550826014600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6000610be68261197a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c4d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c5984611a46565b91509150610c6f8187610c6a61172b565b611a6d565b610cbb57610c8486610c7f61172b565b611582565b610cba576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610d21576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d2e8686866001611ab1565b8015610d3957600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e0785610de3888887611ab7565b7c020000000000000000000000000000000000000000000000000000000017611adf565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610e8d5760006001850190506000600460008381526020019081526020016000205403610e8b576000548114610e8a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ef58686866001611b0a565b505050505050565b610f056118fc565b610f0d6110e1565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f52573d6000803e3d6000fd5b50565b610f7083838360405180602001604052806000815250611314565b505050565b6000610f808261197a565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fee576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6110476118fc565b6110516000611b10565b565b6012805461106090612d70565b80601f016020809104026020016040519081016040528092919081815260200182805461108c90612d70565b80156110d95780601f106110ae576101008083540402835291602001916110d9565b820191906000526020600020905b8154815290600101906020018083116110bc57829003601f168201915b505050505081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461111a90612d70565b80601f016020809104026020016040519081016040528092919081815260200182805461114690612d70565b80156111935780601f1061116857610100808354040283529160200191611193565b820191906000526020600020905b81548152906001019060200180831161117657829003601f168201915b5050505050905090565b6111a561172b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611209576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061121661172b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112c361172b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113089190612832565b60405180910390a35050565b61131f848484610bdb565b60008373ffffffffffffffffffffffffffffffffffffffff163b146113815761134a84848484611bd6565b611380576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6009816009811061139757600080fd5b0160009150905080546113a990612d70565b80601f01602080910402602001604051908101604052809291908181526020018280546113d590612d70565b80156114225780601f106113f757610100808354040283529160200191611422565b820191906000526020600020905b81548152906001019060200180831161140557829003601f168201915b505050505081565b6060611437826000611d26565b6114438361012c611d26565b61144f84610258611d26565b60405160200161146193929190612e9b565b6040516020818303038152906040529050919050565b606060006014600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1690506115356114d384611d77565b60126114de84611d77565b6114ef6114ea8661142a565b611eff565b6040516020016114ff9190612f32565b6040516020818303038152906040526040516020016115219493929190613222565b604051602081830303815290604052611eff565b60405160200161154591906132f9565b604051602081830303815290604052915050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b61012c81565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60146020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6116516118fc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036116c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b79061338d565b60405180910390fd5b6116c981611b10565b50565b6000816116d76118f7565b111580156116e6575060005482105b8015611724575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60008054905090565b6000805490506000820361177c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117896000848385611ab1565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611800836117f16000866000611ab7565b6117fa85612077565b17611adf565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146118a157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611866565b50600082036118dc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506118f26000848385611b0a565b505050565b600090565b611904612087565b73ffffffffffffffffffffffffffffffffffffffff166119226110e1565b73ffffffffffffffffffffffffffffffffffffffff1614611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f906133f9565b60405180910390fd5b565b600080829050806119896118f7565b11611a0f57600054811015611a0e5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611a0c575b60008103611a025760046000836001900393508381526020019081526020016000205490506119d8565b8092505050611a41565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611ace86868461208f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611bfc61172b565b8786866040518563ffffffff1660e01b8152600401611c1e949392919061346e565b6020604051808303816000875af1925050508015611c5a57506040513d601f19601f82011682018060405250810190611c5791906134cf565b60015b611cd3573d8060008114611c8a576040519150601f19603f3d011682016040523d82523d6000602084013e611c8f565b606091505b506000815103611ccb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060611d3483600084612098565b611d418461012c85612098565b611d4e8561025886612098565b604051602001611d60939291906134fc565b604051602081830303815290604052905092915050565b606060008203611dbe576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611efa565b600082905060005b60008214611df0578080611dd99061355c565b915050600a82611de991906135d3565b9150611dc6565b60008167ffffffffffffffff811115611e0c57611e0b612b53565b5b6040519080825280601f01601f191660200182016040528015611e3e5781602001600182028036833780820191505090505b50905060008290505b60008614611ef257600181611e5c9190613604565b90506000600a8088611e6e91906135d3565b611e789190613638565b87611e839190613604565b6030611e8f919061369f565b905060008160f81b905080848481518110611ead57611eac6136d6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88611ee991906135d3565b97505050611e47565b819450505050505b919050565b60606000825103611f2157604051806020016040528060008152509050612072565b6000604051806060016040528060408152602001613b0f6040913990506000600360028551611f509190613705565b611f5a91906135d3565b6004611f669190613638565b90506000602082611f779190613705565b67ffffffffffffffff811115611f9057611f8f612b53565b5b6040519080825280601f01601f191660200182016040528015611fc25781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612031576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050611fd6565b60038951066001811461204b576002811461205b57612066565b613d3d60f01b6002830352612066565b603d60f81b60018303525b50505050508093505050505b919050565b60006001821460e11b9050919050565b600033905090565b60009392505050565b606060006120a584611d77565b905060006120b284611d77565b905060006120e583836040516020016120cc929190613781565b6040516020818303038152906040528860006009612624565b9050600061211884846040516020016120ff9291906137da565b604051602081830303815290604052896000600a612624565b9050606060058210156123eb576123e46122046040518060400160405280600481526020017f66696c6c0000000000000000000000000000000000000000000000000000000081525060098660098110612175576121746136d6565b5b01805461218190612d70565b80601f01602080910402602001604051908101604052809291908181526020018280546121ad90612d70565b80156121fa5780601f106121cf576101008083540402835291602001916121fa565b820191906000526020600020905b8154815290600101906020018083116121dd57829003601f168201915b505050505061268d565b6122646040518060400160405280600281526020017f637800000000000000000000000000000000000000000000000000000000000081525061225f600261012c61224f91906135d3565b8d61225a9190613705565b611d77565b61268d565b6122c46040518060400160405280600281526020017f63790000000000000000000000000000000000000000000000000000000000008152506122bf600261012c6122af91906135d3565b8d6122ba9190613705565b611d77565b61268d565b6123196040518060400160405280600181526020017f7200000000000000000000000000000000000000000000000000000000000000815250612314600261012c61230f91906135d3565b611d77565b61268d565b6123626040518060400160405280600581526020017f776964746800000000000000000000000000000000000000000000000000000081525061235d61012c611d77565b61268d565b6123ab6040518060400160405280600681526020017f68656967687400000000000000000000000000000000000000000000000000008152506123a661012c611d77565b61268d565b6040516020016123c09695949392919061380d565b604051602081830303815290604052604051806020016040528060008152506126b9565b9050612615565b6126126124ca6040518060400160405280600481526020017f66696c6c000000000000000000000000000000000000000000000000000000008152506009866009811061243b5761243a6136d6565b5b01805461244790612d70565b80601f016020809104026020016040519081016040528092919081815260200182805461247390612d70565b80156124c05780601f10612495576101008083540402835291602001916124c0565b820191906000526020600020905b8154815290600101906020018083116124a357829003601f168201915b505050505061268d565b6125096040518060400160405280600181526020017f78000000000000000000000000000000000000000000000000000000000000008152508861268d565b6125486040518060400160405280600181526020017f79000000000000000000000000000000000000000000000000000000000000008152508861268d565b6125916040518060400160405280600581526020017f776964746800000000000000000000000000000000000000000000000000000081525061258c61012c611d77565b61268d565b6125da6040518060400160405280600681526020017f68656967687400000000000000000000000000000000000000000000000000008152506125d561012c611d77565b61268d565b6040516020016125ee959493929190613865565b60405160208183030381529060405260405180602001604052806000815250612703565b90505b80955050505050509392505050565b600082821161263557829050612685565b8283836126429190613604565b86866040516020016126559291906138d1565b6040516020818303038152906040528051906020012060001c61267891906138f9565b6126829190613705565b90505b949350505050565b606082826040516020016126a292919061399c565b604051602081830303815290604052905092915050565b60606126fb6040518060400160405280600681526020017f636972636c650000000000000000000000000000000000000000000000000000815250848461274d565b905092915050565b60606127456040518060400160405280600481526020017f7265637400000000000000000000000000000000000000000000000000000000815250848461274d565b905092915050565b6060838383866040516020016127669493929190613a85565b60405160208183030381529060405290509392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6127c781612792565b81146127d257600080fd5b50565b6000813590506127e4816127be565b92915050565b600060208284031215612800576127ff612788565b5b600061280e848285016127d5565b91505092915050565b60008115159050919050565b61282c81612817565b82525050565b60006020820190506128476000830184612823565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561288757808201518184015260208101905061286c565b83811115612896576000848401525b50505050565b6000601f19601f8301169050919050565b60006128b88261284d565b6128c28185612858565b93506128d2818560208601612869565b6128db8161289c565b840191505092915050565b6000602082019050818103600083015261290081846128ad565b905092915050565b6000819050919050565b61291b81612908565b811461292657600080fd5b50565b60008135905061293881612912565b92915050565b60006020828403121561295457612953612788565b5b600061296284828501612929565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129968261296b565b9050919050565b6129a68161298b565b82525050565b60006020820190506129c1600083018461299d565b92915050565b6129d08161298b565b81146129db57600080fd5b50565b6000813590506129ed816129c7565b92915050565b60008060408385031215612a0a57612a09612788565b5b6000612a18858286016129de565b9250506020612a2985828601612929565b9150509250929050565b612a3c81612908565b82525050565b6000602082019050612a576000830184612a33565b92915050565b600060208284031215612a7357612a72612788565b5b6000612a81848285016129de565b91505092915050565b600080600060608486031215612aa357612aa2612788565b5b6000612ab1868287016129de565b9350506020612ac2868287016129de565b9250506040612ad386828701612929565b9150509250925092565b612ae681612817565b8114612af157600080fd5b50565b600081359050612b0381612add565b92915050565b60008060408385031215612b2057612b1f612788565b5b6000612b2e858286016129de565b9250506020612b3f85828601612af4565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b8b8261289c565b810181811067ffffffffffffffff82111715612baa57612ba9612b53565b5b80604052505050565b6000612bbd61277e565b9050612bc98282612b82565b919050565b600067ffffffffffffffff821115612be957612be8612b53565b5b612bf28261289c565b9050602081019050919050565b82818337600083830152505050565b6000612c21612c1c84612bce565b612bb3565b905082815260208101848484011115612c3d57612c3c612b4e565b5b612c48848285612bff565b509392505050565b600082601f830112612c6557612c64612b49565b5b8135612c75848260208601612c0e565b91505092915050565b60008060008060808587031215612c9857612c97612788565b5b6000612ca6878288016129de565b9450506020612cb7878288016129de565b9350506040612cc887828801612929565b925050606085013567ffffffffffffffff811115612ce957612ce861278d565b5b612cf587828801612c50565b91505092959194509250565b60008060408385031215612d1857612d17612788565b5b6000612d26858286016129de565b9250506020612d37858286016129de565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d8857607f821691505b602082108103612d9b57612d9a612d41565b5b50919050565b600081905092915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667222076696577626f783d2230203020393030203930302220776960208201527f6474683d2239303022206865696768743d22393030223e000000000000000000604082015250565b6000612e2e605783612da1565b9150612e3982612dac565b605782019050919050565b6000612e4f8261284d565b612e598185612da1565b9350612e69818560208601612869565b80840191505092915050565b7f3c2f7376673e0000000000000000000000000000000000000000000000000000815250565b6000612ea682612e21565b9150612eb28286612e44565b9150612ebe8285612e44565b9150612eca8284612e44565b9150612ed582612e75565b600682019150819050949350505050565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600082015250565b6000612f1c601a83612da1565b9150612f2782612ee6565b601a82019050919050565b6000612f3d82612f0f565b9150612f498284612e44565b915081905092915050565b7f7b226e616d65223a22426f6e686f6d6d65202300000000000000000000000000600082015250565b6000612f8a601383612da1565b9150612f9582612f54565b601382019050919050565b7f222c20226465736372697074696f6e223a220000000000000000000000000000600082015250565b6000612fd6601283612da1565b9150612fe182612fa0565b601282019050919050565b60008190508160005260206000209050919050565b6000815461300e81612d70565b6130188186612da1565b94506001821660008114613033576001811461304457613077565b60ff19831686528186019350613077565b61304d85612fec565b60005b8381101561306f57815481890152600182019150602081019050613050565b838801955050505b50505092915050565b7f222c200000000000000000000000000000000000000000000000000000000000600082015250565b60006130b6600383612da1565b91506130c182613080565b600382019050919050565b7f2261747472696275746573223a205b7b2274726169745f74797065223a20227360008201527f656564222c202276616c7565223a202200000000000000000000000000000000602082015250565b6000613128603083612da1565b9150613133826130cc565b603082019050919050565b7f227d5d0000000000000000000000000000000000000000000000000000000000600082015250565b6000613174600383612da1565b915061317f8261313e565b600382019050919050565b7f2c2022696d616765223a22000000000000000000000000000000000000000000600082015250565b60006131c0600b83612da1565b91506131cb8261318a565b600b82019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b600061320c600283612da1565b9150613217826131d6565b600282019050919050565b600061322d82612f7d565b91506132398287612e44565b915061324482612fc9565b91506132508286613001565b915061325b826130a9565b91506132668261311b565b91506132728285612e44565b915061327d82613167565b9150613288826131b3565b91506132948284612e44565b915061329f826131ff565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b60006132e3601d83612da1565b91506132ee826132ad565b601d82019050919050565b6000613304826132d6565b91506133108284612e44565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613377602683612858565b91506133828261331b565b604082019050919050565b600060208201905081810360008301526133a68161336a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006133e3602083612858565b91506133ee826133ad565b602082019050919050565b60006020820190508181036000830152613412816133d6565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061344082613419565b61344a8185613424565b935061345a818560208601612869565b6134638161289c565b840191505092915050565b6000608082019050613483600083018761299d565b613490602083018661299d565b61349d6040830185612a33565b81810360608301526134af8184613435565b905095945050505050565b6000815190506134c9816127be565b92915050565b6000602082840312156134e5576134e4612788565b5b60006134f3848285016134ba565b91505092915050565b60006135088286612e44565b91506135148285612e44565b91506135208284612e44565b9150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061356782612908565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135995761359861352d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135de82612908565b91506135e983612908565b9250826135f9576135f86135a4565b5b828204905092915050565b600061360f82612908565b915061361a83612908565b92508282101561362d5761362c61352d565b5b828203905092915050565b600061364382612908565b915061364e83612908565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136875761368661352d565b5b828202905092915050565b600060ff82169050919050565b60006136aa82613692565b91506136b583613692565b92508260ff038211156136cb576136ca61352d565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061371082612908565b915061371b83612908565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137505761374f61352d565b5b828201905092915050565b7f636f6c6f72000000000000000000000000000000000000000000000000000000815250565b600061378c8261375b565b60058201915061379c8285612e44565b91506137a88284612e44565b91508190509392505050565b7f7368617065000000000000000000000000000000000000000000000000000000815250565b60006137e5826137b4565b6005820191506137f58285612e44565b91506138018284612e44565b91508190509392505050565b60006138198289612e44565b91506138258288612e44565b91506138318287612e44565b915061383d8286612e44565b91506138498285612e44565b91506138558284612e44565b9150819050979650505050505050565b60006138718288612e44565b915061387d8287612e44565b91506138898286612e44565b91506138958285612e44565b91506138a18284612e44565b91508190509695505050505050565b6000819050919050565b6138cb6138c682612908565b6138b0565b82525050565b60006138dd8285612e44565b91506138e982846138ba565b6020820191508190509392505050565b600061390482612908565b915061390f83612908565b92508261391f5761391e6135a4565b5b828206905092915050565b7f3d00000000000000000000000000000000000000000000000000000000000000815250565b7f2200000000000000000000000000000000000000000000000000000000000000815250565b7f2220000000000000000000000000000000000000000000000000000000000000815250565b60006139a88285612e44565b91506139b38261392a565b6001820191506139c282613950565b6001820191506139d28284612e44565b91506139dd82613976565b6002820191508190509392505050565b7f3c00000000000000000000000000000000000000000000000000000000000000815250565b7f2000000000000000000000000000000000000000000000000000000000000000815250565b7f3e00000000000000000000000000000000000000000000000000000000000000815250565b7f3c2f000000000000000000000000000000000000000000000000000000000000815250565b6000613a90826139ed565b600182019150613aa08287612e44565b9150613aab82613a13565b600182019150613abb8286612e44565b9150613ac682613a39565b600182019150613ad68285612e44565b9150613ae182613a5f565b600282019150613af18284612e44565b9150613afc82613a39565b6001820191508190509594505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220b4b9b0d4af99536e82da58181ab6badb31d58c6e5587882a8a5583cbea317b9064736f6c634300080e0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.