ERC-721
NFT
Overview
Max Total Supply
8,664 PGJ
Holders
3,666
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 PGJLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Jiraverse
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.15; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract Jiraverse is ERC721A, Ownable { using Strings for uint256; bool public private_sale_running; bool public refund_started; uint public public_sale_start_time = 2**255; mapping(uint => bytes32) public gen1_merkle_roots; mapping(uint => bytes32) public gen2_merkle_roots; mapping(address => uint) public gen1_claimed; mapping(address => uint) public gen2_claimed; string public base_uri = "https://jiraverseapi.xyz/api/wl/Meta/"; address public constant JIRA_TOKEN_ADDRESS = 0x517AB044bda9629E785657DbbCae95C40C8f452C; // MAINNET // address public constant JIRA_TOKEN_ADDRESS = 0xb9E87970fD098aF6ca0361C3356435dB31e7Cdb5; // RINKEBY uint256 constant JIRA_PRICE = 200 ether; uint256 constant time_until_decrease = 15 minutes; uint256 constant decrease_amount = 0.025 ether; uint256 constant max_price = 0.55 ether; uint256 constant min_price = 0; uint256 constant time_to_start_decreasing = 30 minutes; uint256 public refund_price = 0.55 ether; mapping(address => uint) public total_paid; constructor () ERC721A("Jiraverse", "PGJ") { } function getCurrentMintingPrice() view public returns(uint256) { if (block.timestamp - public_sale_start_time <= time_to_start_decreasing) { return max_price; } uint decrease_start_time = public_sale_start_time + time_to_start_decreasing; if (((block.timestamp - decrease_start_time) / time_until_decrease) * decrease_amount >= max_price) { return min_price; } return max_price - (((block.timestamp - decrease_start_time) / time_until_decrease) * decrease_amount); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { return string(abi.encodePacked(base_uri, tokenId.toString())); } function changeUri(string memory _new_uri) external onlyOwner { base_uri = _new_uri; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function isGen1Whitelisted(address _user, bytes32 [] calldata _merkleProof, uint _allocation) public view returns(bool) { bytes32 leaf = keccak256(abi.encodePacked(_user)); return MerkleProof.verifyCalldata(_merkleProof, gen1_merkle_roots[_allocation], leaf); } function isGen2Whitelisted(address _user, bytes32 [] calldata _merkleProof, uint _allocation) public view returns(bool) { bytes32 leaf = keccak256(abi.encodePacked(_user)); return MerkleProof.verifyCalldata(_merkleProof, gen2_merkle_roots[_allocation], leaf); } function gen1Mint(uint _quantity, bytes32 [] calldata _gen1_merkle_proof, uint _gen1_allocation) external { require(tx.origin == msg.sender); require(private_sale_running, "Private sale is not running"); require(_totalMinted() + _quantity * 2 < 10001, "Not enough tokens left to mint"); require(isGen1Whitelisted(msg.sender, _gen1_merkle_proof, _gen1_allocation), "Invalid proof"); uint num_claimed = gen1_claimed[msg.sender]; require(num_claimed + _quantity <= _gen1_allocation, "You cannot claim that many tokens"); IERC20(JIRA_TOKEN_ADDRESS).transferFrom(msg.sender, address(this), JIRA_PRICE * _quantity); gen1_claimed[msg.sender] += _quantity; _mint(msg.sender, _quantity * 2); } function gen2Mint(uint _quantity, bytes32 [] calldata _gen2_merkle_proof, uint _gen2_allocation) external { require(tx.origin == msg.sender); require(private_sale_running, "Private sale is not running"); require(_totalMinted() + _quantity < 10001, "Not enough tokens left to mint"); require(isGen2Whitelisted(msg.sender, _gen2_merkle_proof, _gen2_allocation), "Invalid proof"); uint num_claimed = gen2_claimed[msg.sender]; require(num_claimed + _quantity <= _gen2_allocation, "You cannot claim that many tokens"); IERC20(JIRA_TOKEN_ADDRESS).transferFrom(msg.sender, address(this), JIRA_PRICE * _quantity); gen2_claimed[msg.sender] += _quantity; _mint(msg.sender, _quantity); } function publicMint(uint _quantity) external payable { require(tx.origin == msg.sender); require(public_sale_start_time < block.timestamp, "Public sale is not running"); require(_totalMinted() + _quantity < 6002, "Not enough tokens left to mint"); require(msg.value >= _quantity * getCurrentMintingPrice(), "Incorrect ETH sent to mint"); require(_getAux(msg.sender) + uint64(_quantity) < 4, "Cannot mint more than 3 during public"); total_paid[msg.sender] += msg.value; _setAux(msg.sender, _getAux(msg.sender) + uint64(_quantity)); _mint(msg.sender, _quantity); if (_totalMinted() == 6001) { refund_price = getCurrentMintingPrice(); } } function claimRefund() external { require(total_paid[msg.sender] >= uint256(_getAux(msg.sender)) * refund_price, "Already claimed or did not mint"); require(refund_started, "Refund period is not active yet"); uint amount_owed = total_paid[msg.sender] - uint256(_getAux(msg.sender)) * refund_price; total_paid[msg.sender] = 0; payable(msg.sender).transfer(amount_owed); } function burn(uint _token_id) external { _burn(_token_id, true); } function updateGen1MerkleRoot(uint _allocation, bytes32 _new_root) external onlyOwner { gen1_merkle_roots[_allocation] = _new_root; } function updateGen2MerkleRoot(uint _allocation, bytes32 _new_root) external onlyOwner { gen2_merkle_roots[_allocation] = _new_root; } function togglePrivateSale() external onlyOwner { private_sale_running = !private_sale_running; } function enablePublicSale() external onlyOwner { public_sale_start_time = block.timestamp; } function disablePublicSale() external onlyOwner { public_sale_start_time = 2**255 - 1; } function toggleRefund() external onlyOwner { refund_started = !refund_started; } function adminMint(address _destination, uint _quantity) external onlyOwner { require(_totalMinted() + _quantity < 10001, "Not enough tokens left to mint"); _mint(_destination, _quantity); } function withdrawETH(address _to) external onlyOwner { payable(_to).transfer(address(this).balance); } function withdrawJIRA(address _to, uint _quantity) external onlyOwner { IERC20(JIRA_TOKEN_ADDRESS).transfer(_to, _quantity); } function deposit() external payable {} } interface IERC20 { function transfer(address to, uint256 amount) external returns (bool); function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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":"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":"JIRA_TOKEN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_destination","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"adminMint","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":[],"name":"base_uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_token_id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_new_uri","type":"string"}],"name":"changeUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"disablePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enablePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_gen1_merkle_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_gen1_allocation","type":"uint256"}],"name":"gen1Mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"gen1_claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"gen1_merkle_roots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_gen2_merkle_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_gen2_allocation","type":"uint256"}],"name":"gen2Mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"gen2_claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"gen2_merkle_roots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentMintingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_allocation","type":"uint256"}],"name":"isGen1Whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_allocation","type":"uint256"}],"name":"isGen2Whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"private_sale_running","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"public_sale_start_time","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refund_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refund_started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"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":[],"name":"togglePrivateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleRefund","outputs":[],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"total_paid","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":[{"internalType":"uint256","name":"_allocation","type":"uint256"},{"internalType":"bytes32","name":"_new_root","type":"bytes32"}],"name":"updateGen1MerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocation","type":"uint256"},{"internalType":"bytes32","name":"_new_root","type":"bytes32"}],"name":"updateGen2MerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"withdrawJIRA","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040527f800000000000000000000000000000000000000000000000000000000000000060095560405180606001604052806025815260200162004c0960259139600e90816200005291906200048c565b506707a1fe1602770000600f553480156200006c57600080fd5b506040518060400160405280600981526020017f4a697261766572736500000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f50474a00000000000000000000000000000000000000000000000000000000008152508160029081620000ea91906200048c565b508060039081620000fc91906200048c565b506200010d6200013b60201b60201c565b600081905550505062000135620001296200014460201b60201c565b6200014c60201b60201c565b62000573565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200029457607f821691505b602082108103620002aa57620002a96200024c565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003147fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002d5565b620003208683620002d5565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200036d62000367620003618462000338565b62000342565b62000338565b9050919050565b6000819050919050565b62000389836200034c565b620003a1620003988262000374565b848454620002e2565b825550505050565b600090565b620003b8620003a9565b620003c58184846200037e565b505050565b5b81811015620003ed57620003e1600082620003ae565b600181019050620003cb565b5050565b601f8211156200043c576200040681620002b0565b6200041184620002c5565b8101602085101562000421578190505b620004396200043085620002c5565b830182620003ca565b50505b505050565b600082821c905092915050565b6000620004616000198460080262000441565b1980831691505092915050565b60006200047c83836200044e565b9150826002028217905092915050565b620004978262000212565b67ffffffffffffffff811115620004b357620004b26200021d565b5b620004bf82546200027b565b620004cc828285620003f1565b600060209050601f831160018114620005045760008415620004ef578287015190505b620004fb85826200046e565b8655506200056b565b601f1984166200051486620002b0565b60005b828110156200053e5784890151825560018201915060208501945060208101905062000517565b868310156200055e57848901516200055a601f8916826200044e565b8355505b6001600288020188555050505b505050505050565b61468680620005836000396000f3fe6080604052600436106102885760003560e01c806370a082311161015a578063b2bf9783116100c1578063dfe5dd681161007a578063dfe5dd68146109b0578063e58306f9146109c7578063e985e9c5146109f0578063eb1f9f6e14610a2d578063ec8db81714610a56578063f2fde38b14610a6d57610288565b8063b2bf9783146108c3578063b5545a3c146108ec578063b88d4fde14610903578063c718dc8f1461092c578063c87b56dd14610969578063d0e30db0146109a657610288565b80638e6297ea116101135780638e6297ea146107c557806390a13279146107f05780639168e23e1461081957806395d89b4114610844578063a22cb4651461086f578063a52df3311461089857610288565b806370a08231146106a1578063715018a6146106de57806376506a1c146106f5578063786f291014610732578063831c47301461075d5780638da5cb5b1461079a57610288565b80632316b4da116101fe57806342966c68116101b757806342966c681461057f57806343721746146105a8578063566b6ba5146105d35780636352211e146105fe578063690d83201461063b5780636e15b3c71461066457610288565b80632316b4da146104a657806323b872dd146104bd578063253f5854146104e65780632db115441461050f5780632e3fbba21461052b57806342842e0e1461055657610288565b80631624822e116102505780631624822e146103985780631705e2d1146103c157806318160ddd146103ea578063188ef7b71461041557806318d789bd146104525780631a2d94561461046957610288565b806301e89d0b1461028d57806301ffc9a7146102ca57806306fdde0314610307578063081812fc14610332578063095ea7b31461036f575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af91906130d9565b610a96565b6040516102c1919061311f565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190613192565b610aae565b6040516102fe91906131da565b60405180910390f35b34801561031357600080fd5b5061031c610b40565b604051610329919061328e565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906130d9565b610bd2565b60405161036691906132f1565b60405180910390f35b34801561037b57600080fd5b5061039660048036038101906103919190613338565b610c51565b005b3480156103a457600080fd5b506103bf60048036038101906103ba91906133a4565b610d95565b005b3480156103cd57600080fd5b506103e860048036038101906103e391906133a4565b610db9565b005b3480156103f657600080fd5b506103ff610ddd565b60405161040c91906133f3565b60405180910390f35b34801561042157600080fd5b5061043c6004803603810190610437919061340e565b610df4565b60405161044991906133f3565b60405180910390f35b34801561045e57600080fd5b50610467610e0c565b005b34801561047557600080fd5b50610490600480360381019061048b919061340e565b610e40565b60405161049d91906133f3565b60405180910390f35b3480156104b257600080fd5b506104bb610e58565b005b3480156104c957600080fd5b506104e460048036038101906104df919061343b565b610e69565b005b3480156104f257600080fd5b5061050d600480360381019061050891906134f3565b61118b565b005b610529600480360381019061052491906130d9565b61146d565b005b34801561053757600080fd5b50610540611693565b60405161054d91906133f3565b60405180910390f35b34801561056257600080fd5b5061057d6004803603810190610578919061343b565b611699565b005b34801561058b57600080fd5b506105a660048036038101906105a191906130d9565b6116b9565b005b3480156105b457600080fd5b506105bd6116c7565b6040516105ca91906133f3565b60405180910390f35b3480156105df57600080fd5b506105e86116cd565b6040516105f591906132f1565b60405180910390f35b34801561060a57600080fd5b50610625600480360381019061062091906130d9565b6116e5565b60405161063291906132f1565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d919061340e565b6116f7565b005b34801561067057600080fd5b5061068b60048036038101906106869190613567565b611749565b60405161069891906131da565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c3919061340e565b61179f565b6040516106d591906133f3565b60405180910390f35b3480156106ea57600080fd5b506106f3611857565b005b34801561070157600080fd5b5061071c600480360381019061071791906130d9565b61186b565b604051610729919061311f565b60405180910390f35b34801561073e57600080fd5b50610747611883565b604051610754919061328e565b60405180910390f35b34801561076957600080fd5b50610784600480360381019061077f919061340e565b611911565b60405161079191906133f3565b60405180910390f35b3480156107a657600080fd5b506107af611929565b6040516107bc91906132f1565b60405180910390f35b3480156107d157600080fd5b506107da611953565b6040516107e791906133f3565b60405180910390f35b3480156107fc57600080fd5b5061081760048036038101906108129190613338565b611a17565b005b34801561082557600080fd5b5061082e611ab6565b60405161083b91906131da565b60405180910390f35b34801561085057600080fd5b50610859611ac9565b604051610866919061328e565b60405180910390f35b34801561087b57600080fd5b5061089660048036038101906108919190613607565b611b5b565b005b3480156108a457600080fd5b506108ad611cd2565b6040516108ba91906131da565b60405180910390f35b3480156108cf57600080fd5b506108ea60048036038101906108e591906134f3565b611ce5565b005b3480156108f857600080fd5b50610901611faf565b005b34801561090f57600080fd5b5061092a60048036038101906109259190613777565b61219c565b005b34801561093857600080fd5b50610953600480360381019061094e9190613567565b61220f565b60405161096091906131da565b60405180910390f35b34801561097557600080fd5b50610990600480360381019061098b91906130d9565b612265565b60405161099d919061328e565b60405180910390f35b6109ae612299565b005b3480156109bc57600080fd5b506109c561229b565b005b3480156109d357600080fd5b506109ee60048036038101906109e99190613338565b6122cf565b005b3480156109fc57600080fd5b50610a176004803603810190610a1291906137fa565b61233b565b604051610a2491906131da565b60405180910390f35b348015610a3957600080fd5b50610a546004803603810190610a4f91906138db565b6123cf565b005b348015610a6257600080fd5b50610a6b6123ea565b005b348015610a7957600080fd5b50610a946004803603810190610a8f919061340e565b61241b565b005b600a6020528060005260406000206000915090505481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b0957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b395750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b4f90613953565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7b90613953565b8015610bc85780601f10610b9d57610100808354040283529160200191610bc8565b820191906000526020600020905b815481529060010190602001808311610bab57829003601f168201915b5050505050905090565b6000610bdd8261249e565b610c13576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c5c826116e5565b90508073ffffffffffffffffffffffffffffffffffffffff16610c7d6124fd565b73ffffffffffffffffffffffffffffffffffffffff1614610ce057610ca981610ca46124fd565b61233b565b610cdf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610d9d612505565b80600a6000848152602001908152602001600020819055505050565b610dc1612505565b80600b6000848152602001908152602001600020819055505050565b6000610de7612583565b6001546000540303905090565b60106020528060005260406000206000915090505481565b610e14612505565b600860159054906101000a900460ff1615600860156101000a81548160ff021916908315150217905550565b600d6020528060005260406000206000915090505481565b610e60612505565b42600981905550565b6000610e748261258c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610edb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610ee784612658565b91509150610efd8187610ef86124fd565b61267f565b610f4957610f1286610f0d6124fd565b61233b565b610f48576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610faf576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fbc86868660016126c3565b8015610fc757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611095856110718888876126c9565b7c0200000000000000000000000000000000000000000000000000000000176126f1565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361111b5760006001850190506000600460008381526020019081526020016000205403611119576000548114611118578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611183868686600161271c565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146111c357600080fd5b600860149054906101000a900460ff16611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906139d0565b60405180910390fd5b6127116002856112229190613a1f565b61122a612722565b6112349190613a79565b10611274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126b90613b1b565b60405180910390fd5b6112803384848461220f565b6112bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b690613b87565b60405180910390fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508185826113109190613a79565b1115611351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134890613c19565b60405180910390fd5b73517ab044bda9629e785657dbbcae95c40c8f452c73ffffffffffffffffffffffffffffffffffffffff166323b872dd333088680ad78ebc5ac62000006113989190613a1f565b6040518463ffffffff1660e01b81526004016113b693929190613c39565b6020604051808303816000875af11580156113d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f99190613c85565b5084600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114499190613a79565b92505081905550611466336002876114619190613a1f565b612735565b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146114a557600080fd5b42600954106114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e090613cfe565b60405180910390fd5b611772816114f5612722565b6114ff9190613a79565b1061153f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153690613b1b565b60405180910390fd5b611547611953565b816115529190613a1f565b341015611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b90613d6a565b60405180910390fd5b6004816115a0336128f0565b6115aa9190613d9e565b67ffffffffffffffff16106115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb90613e4e565b60405180910390fd5b34601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116439190613a79565b925050819055506116673382611658336128f0565b6116629190613d9e565b61293d565b6116713382612735565b61177161167c612722565b0361169057611689611953565b600f819055505b50565b60095481565b6116b48383836040518060200160405280600081525061219c565b505050565b6116c48160016129f3565b50565b600f5481565b73517ab044bda9629e785657dbbcae95c40c8f452c81565b60006116f08261258c565b9050919050565b6116ff612505565b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611745573d6000803e3d6000fd5b5050565b6000808560405160200161175d9190613eb6565b6040516020818303038152906040528051906020012090506117948585600b60008781526020019081526020016000205484612c45565b915050949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611806576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61185f612505565b6118696000612c5e565b565b600b6020528060005260406000206000915090505481565b600e805461189090613953565b80601f01602080910402602001604051908101604052809291908181526020018280546118bc90613953565b80156119095780601f106118de57610100808354040283529160200191611909565b820191906000526020600020905b8154815290600101906020018083116118ec57829003601f168201915b505050505081565b600c6020528060005260406000206000915090505481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610708600954426119669190613ed1565b1161197b576707a1fe16027700009050611a14565b600061070860095461198d9190613a79565b90506707a1fe16027700006658d15e1762800061038483426119af9190613ed1565b6119b99190613f34565b6119c39190613a1f565b106119d2576000915050611a14565b6658d15e1762800061038482426119e99190613ed1565b6119f39190613f34565b6119fd9190613a1f565b6707a1fe1602770000611a109190613ed1565b9150505b90565b611a1f612505565b73517ab044bda9629e785657dbbcae95c40c8f452c73ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401611a6e929190613f65565b6020604051808303816000875af1158015611a8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab19190613c85565b505050565b600860149054906101000a900460ff1681565b606060038054611ad890613953565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0490613953565b8015611b515780601f10611b2657610100808354040283529160200191611b51565b820191906000526020600020905b815481529060010190602001808311611b3457829003601f168201915b5050505050905090565b611b636124fd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bc7576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611bd46124fd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c816124fd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cc691906131da565b60405180910390a35050565b600860159054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611d1d57600080fd5b600860149054906101000a900460ff16611d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d63906139d0565b60405180910390fd5b61271184611d78612722565b611d829190613a79565b10611dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db990613b1b565b60405180910390fd5b611dce33848484611749565b611e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0490613b87565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818582611e5e9190613a79565b1115611e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9690613c19565b60405180910390fd5b73517ab044bda9629e785657dbbcae95c40c8f452c73ffffffffffffffffffffffffffffffffffffffff166323b872dd333088680ad78ebc5ac6200000611ee69190613a1f565b6040518463ffffffff1660e01b8152600401611f0493929190613c39565b6020604051808303816000875af1158015611f23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f479190613c85565b5084600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f979190613a79565b92505081905550611fa83386612735565b5050505050565b600f54611fbb336128f0565b67ffffffffffffffff16611fcf9190613a1f565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204790613fda565b60405180910390fd5b600860159054906101000a900460ff1661209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690614046565b60405180910390fd5b6000600f546120ad336128f0565b67ffffffffffffffff166120c19190613a1f565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461210b9190613ed1565b90506000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612198573d6000803e3d6000fd5b5050565b6121a7848484610e69565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612209576121d284848484612d24565b612208576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600080856040516020016122239190613eb6565b60405160208183030381529060405280519060200120905061225a8585600a60008781526020019081526020016000205484612c45565b915050949350505050565b6060600e61227283612e74565b60405160200161228392919061413a565b6040516020818303038152906040529050919050565b565b6122a3612505565b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b6122d7612505565b612711816122e3612722565b6122ed9190613a79565b1061232d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232490613b1b565b60405180910390fd5b6123378282612735565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123d7612505565b80600e90816123e691906142f5565b5050565b6123f2612505565b7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600981905550565b612423612505565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248990614439565b60405180910390fd5b61249b81612c5e565b50565b6000816124a9612583565b111580156124b8575060005482105b80156124f6575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61250d612fd4565b73ffffffffffffffffffffffffffffffffffffffff1661252b611929565b73ffffffffffffffffffffffffffffffffffffffff1614612581576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612578906144a5565b60405180910390fd5b565b60006001905090565b6000808290508061259b612583565b11612621576000548110156126205760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361261e575b600081036126145760046000836001900393508381526020019081526020016000205490506125ea565b8092505050612653565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86126e0868684612fdc565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061272c612583565b60005403905090565b60008054905060008203612775576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61278260008483856126c3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506127f9836127ea60008660006126c9565b6127f385612fe5565b176126f1565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461289a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061285f565b50600082036128d5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506128eb600084838561271c565b505050565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b60006129fe8361258c565b90506000819050600080612a1186612658565b915091508415612a7a57612a2d8184612a286124fd565b61267f565b612a7957612a4283612a3d6124fd565b61233b565b612a78576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612a888360008860016126c3565b8015612a9357600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b3b83612af8856000886126c9565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176126f1565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603612bc15760006001870190506000600460008381526020019081526020016000205403612bbf576000548114612bbe578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c2b83600088600161271c565b600160008154809291906001019190505550505050505050565b600082612c53868685612ff5565b149050949350505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d4a6124fd565b8786866040518563ffffffff1660e01b8152600401612d6c949392919061451a565b6020604051808303816000875af1925050508015612da857506040513d601f19601f82011682018060405250810190612da5919061457b565b60015b612e21573d8060008114612dd8576040519150601f19603f3d011682016040523d82523d6000602084013e612ddd565b606091505b506000815103612e19576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612ebb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fcf565b600082905060005b60008214612eed578080612ed6906145a8565b915050600a82612ee69190613f34565b9150612ec3565b60008167ffffffffffffffff811115612f0957612f0861364c565b5b6040519080825280601f01601f191660200182016040528015612f3b5781602001600182028036833780820191505090505b5090505b60008514612fc857600182612f549190613ed1565b9150600a85612f6391906145f0565b6030612f6f9190613a79565b60f81b818381518110612f8557612f84614621565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fc19190613f34565b9450612f3f565b8093505050505b919050565b600033905090565b60009392505050565b60006001821460e11b9050919050565b60008082905060005b858590508110156130415761302c828787848181106130205761301f614621565b5b9050602002013561304d565b91508080613039906145a8565b915050612ffe565b50809150509392505050565b6000818310613065576130608284613078565b613070565b61306f8383613078565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6130b6816130a3565b81146130c157600080fd5b50565b6000813590506130d3816130ad565b92915050565b6000602082840312156130ef576130ee613099565b5b60006130fd848285016130c4565b91505092915050565b6000819050919050565b61311981613106565b82525050565b60006020820190506131346000830184613110565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61316f8161313a565b811461317a57600080fd5b50565b60008135905061318c81613166565b92915050565b6000602082840312156131a8576131a7613099565b5b60006131b68482850161317d565b91505092915050565b60008115159050919050565b6131d4816131bf565b82525050565b60006020820190506131ef60008301846131cb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561322f578082015181840152602081019050613214565b8381111561323e576000848401525b50505050565b6000601f19601f8301169050919050565b6000613260826131f5565b61326a8185613200565b935061327a818560208601613211565b61328381613244565b840191505092915050565b600060208201905081810360008301526132a88184613255565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132db826132b0565b9050919050565b6132eb816132d0565b82525050565b600060208201905061330660008301846132e2565b92915050565b613315816132d0565b811461332057600080fd5b50565b6000813590506133328161330c565b92915050565b6000806040838503121561334f5761334e613099565b5b600061335d85828601613323565b925050602061336e858286016130c4565b9150509250929050565b61338181613106565b811461338c57600080fd5b50565b60008135905061339e81613378565b92915050565b600080604083850312156133bb576133ba613099565b5b60006133c9858286016130c4565b92505060206133da8582860161338f565b9150509250929050565b6133ed816130a3565b82525050565b600060208201905061340860008301846133e4565b92915050565b60006020828403121561342457613423613099565b5b600061343284828501613323565b91505092915050565b60008060006060848603121561345457613453613099565b5b600061346286828701613323565b935050602061347386828701613323565b9250506040613484868287016130c4565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126134b3576134b261348e565b5b8235905067ffffffffffffffff8111156134d0576134cf613493565b5b6020830191508360208202830111156134ec576134eb613498565b5b9250929050565b6000806000806060858703121561350d5761350c613099565b5b600061351b878288016130c4565b945050602085013567ffffffffffffffff81111561353c5761353b61309e565b5b6135488782880161349d565b9350935050604061355b878288016130c4565b91505092959194509250565b6000806000806060858703121561358157613580613099565b5b600061358f87828801613323565b945050602085013567ffffffffffffffff8111156135b0576135af61309e565b5b6135bc8782880161349d565b935093505060406135cf878288016130c4565b91505092959194509250565b6135e4816131bf565b81146135ef57600080fd5b50565b600081359050613601816135db565b92915050565b6000806040838503121561361e5761361d613099565b5b600061362c85828601613323565b925050602061363d858286016135f2565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61368482613244565b810181811067ffffffffffffffff821117156136a3576136a261364c565b5b80604052505050565b60006136b661308f565b90506136c2828261367b565b919050565b600067ffffffffffffffff8211156136e2576136e161364c565b5b6136eb82613244565b9050602081019050919050565b82818337600083830152505050565b600061371a613715846136c7565b6136ac565b90508281526020810184848401111561373657613735613647565b5b6137418482856136f8565b509392505050565b600082601f83011261375e5761375d61348e565b5b813561376e848260208601613707565b91505092915050565b6000806000806080858703121561379157613790613099565b5b600061379f87828801613323565b94505060206137b087828801613323565b93505060406137c1878288016130c4565b925050606085013567ffffffffffffffff8111156137e2576137e161309e565b5b6137ee87828801613749565b91505092959194509250565b6000806040838503121561381157613810613099565b5b600061381f85828601613323565b925050602061383085828601613323565b9150509250929050565b600067ffffffffffffffff8211156138555761385461364c565b5b61385e82613244565b9050602081019050919050565b600061387e6138798461383a565b6136ac565b90508281526020810184848401111561389a57613899613647565b5b6138a58482856136f8565b509392505050565b600082601f8301126138c2576138c161348e565b5b81356138d284826020860161386b565b91505092915050565b6000602082840312156138f1576138f0613099565b5b600082013567ffffffffffffffff81111561390f5761390e61309e565b5b61391b848285016138ad565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061396b57607f821691505b60208210810361397e5761397d613924565b5b50919050565b7f507269766174652073616c65206973206e6f742072756e6e696e670000000000600082015250565b60006139ba601b83613200565b91506139c582613984565b602082019050919050565b600060208201905081810360008301526139e9816139ad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a2a826130a3565b9150613a35836130a3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a6e57613a6d6139f0565b5b828202905092915050565b6000613a84826130a3565b9150613a8f836130a3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ac457613ac36139f0565b5b828201905092915050565b7f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e740000600082015250565b6000613b05601e83613200565b9150613b1082613acf565b602082019050919050565b60006020820190508181036000830152613b3481613af8565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000613b71600d83613200565b9150613b7c82613b3b565b602082019050919050565b60006020820190508181036000830152613ba081613b64565b9050919050565b7f596f752063616e6e6f7420636c61696d2074686174206d616e7920746f6b656e60008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c03602183613200565b9150613c0e82613ba7565b604082019050919050565b60006020820190508181036000830152613c3281613bf6565b9050919050565b6000606082019050613c4e60008301866132e2565b613c5b60208301856132e2565b613c6860408301846133e4565b949350505050565b600081519050613c7f816135db565b92915050565b600060208284031215613c9b57613c9a613099565b5b6000613ca984828501613c70565b91505092915050565b7f5075626c69632073616c65206973206e6f742072756e6e696e67000000000000600082015250565b6000613ce8601a83613200565b9150613cf382613cb2565b602082019050919050565b60006020820190508181036000830152613d1781613cdb565b9050919050565b7f496e636f7272656374204554482073656e7420746f206d696e74000000000000600082015250565b6000613d54601a83613200565b9150613d5f82613d1e565b602082019050919050565b60006020820190508181036000830152613d8381613d47565b9050919050565b600067ffffffffffffffff82169050919050565b6000613da982613d8a565b9150613db483613d8a565b92508267ffffffffffffffff03821115613dd157613dd06139f0565b5b828201905092915050565b7f43616e6e6f74206d696e74206d6f7265207468616e203320647572696e67207060008201527f75626c6963000000000000000000000000000000000000000000000000000000602082015250565b6000613e38602583613200565b9150613e4382613ddc565b604082019050919050565b60006020820190508181036000830152613e6781613e2b565b9050919050565b60008160601b9050919050565b6000613e8682613e6e565b9050919050565b6000613e9882613e7b565b9050919050565b613eb0613eab826132d0565b613e8d565b82525050565b6000613ec28284613e9f565b60148201915081905092915050565b6000613edc826130a3565b9150613ee7836130a3565b925082821015613efa57613ef96139f0565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f3f826130a3565b9150613f4a836130a3565b925082613f5a57613f59613f05565b5b828204905092915050565b6000604082019050613f7a60008301856132e2565b613f8760208301846133e4565b9392505050565b7f416c726561647920636c61696d6564206f7220646964206e6f74206d696e7400600082015250565b6000613fc4601f83613200565b9150613fcf82613f8e565b602082019050919050565b60006020820190508181036000830152613ff381613fb7565b9050919050565b7f526566756e6420706572696f64206973206e6f74206163746976652079657400600082015250565b6000614030601f83613200565b915061403b82613ffa565b602082019050919050565b6000602082019050818103600083015261405f81614023565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461409381613953565b61409d8186614066565b945060018216600081146140b857600181146140cd57614100565b60ff1983168652811515820286019350614100565b6140d685614071565b60005b838110156140f8578154818901526001820191506020810190506140d9565b838801955050505b50505092915050565b6000614114826131f5565b61411e8185614066565b935061412e818560208601613211565b80840191505092915050565b60006141468285614086565b91506141528284614109565b91508190509392505050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026141ab7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261416e565b6141b5868361416e565b95508019841693508086168417925050509392505050565b6000819050919050565b60006141f26141ed6141e8846130a3565b6141cd565b6130a3565b9050919050565b6000819050919050565b61420c836141d7565b614220614218826141f9565b84845461417b565b825550505050565b600090565b614235614228565b614240818484614203565b505050565b5b818110156142645761425960008261422d565b600181019050614246565b5050565b601f8211156142a95761427a81614071565b6142838461415e565b81016020851015614292578190505b6142a661429e8561415e565b830182614245565b50505b505050565b600082821c905092915050565b60006142cc600019846008026142ae565b1980831691505092915050565b60006142e583836142bb565b9150826002028217905092915050565b6142fe826131f5565b67ffffffffffffffff8111156143175761431661364c565b5b6143218254613953565b61432c828285614268565b600060209050601f83116001811461435f576000841561434d578287015190505b61435785826142d9565b8655506143bf565b601f19841661436d86614071565b60005b8281101561439557848901518255600182019150602085019450602081019050614370565b868310156143b257848901516143ae601f8916826142bb565b8355505b6001600288020188555050505b505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614423602683613200565b915061442e826143c7565b604082019050919050565b6000602082019050818103600083015261445281614416565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061448f602083613200565b915061449a82614459565b602082019050919050565b600060208201905081810360008301526144be81614482565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006144ec826144c5565b6144f681856144d0565b9350614506818560208601613211565b61450f81613244565b840191505092915050565b600060808201905061452f60008301876132e2565b61453c60208301866132e2565b61454960408301856133e4565b818103606083015261455b81846144e1565b905095945050505050565b60008151905061457581613166565b92915050565b60006020828403121561459157614590613099565b5b600061459f84828501614566565b91505092915050565b60006145b3826130a3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036145e5576145e46139f0565b5b600182019050919050565b60006145fb826130a3565b9150614606836130a3565b92508261461657614615613f05565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212200c67f0cc6dda00ccebb1e34ecea07eeafd8daa115d423d5f8890e13874c90a6464736f6c634300080f003368747470733a2f2f6a69726176657273656170692e78797a2f6170692f776c2f4d6574612f
Deployed Bytecode
0x6080604052600436106102885760003560e01c806370a082311161015a578063b2bf9783116100c1578063dfe5dd681161007a578063dfe5dd68146109b0578063e58306f9146109c7578063e985e9c5146109f0578063eb1f9f6e14610a2d578063ec8db81714610a56578063f2fde38b14610a6d57610288565b8063b2bf9783146108c3578063b5545a3c146108ec578063b88d4fde14610903578063c718dc8f1461092c578063c87b56dd14610969578063d0e30db0146109a657610288565b80638e6297ea116101135780638e6297ea146107c557806390a13279146107f05780639168e23e1461081957806395d89b4114610844578063a22cb4651461086f578063a52df3311461089857610288565b806370a08231146106a1578063715018a6146106de57806376506a1c146106f5578063786f291014610732578063831c47301461075d5780638da5cb5b1461079a57610288565b80632316b4da116101fe57806342966c68116101b757806342966c681461057f57806343721746146105a8578063566b6ba5146105d35780636352211e146105fe578063690d83201461063b5780636e15b3c71461066457610288565b80632316b4da146104a657806323b872dd146104bd578063253f5854146104e65780632db115441461050f5780632e3fbba21461052b57806342842e0e1461055657610288565b80631624822e116102505780631624822e146103985780631705e2d1146103c157806318160ddd146103ea578063188ef7b71461041557806318d789bd146104525780631a2d94561461046957610288565b806301e89d0b1461028d57806301ffc9a7146102ca57806306fdde0314610307578063081812fc14610332578063095ea7b31461036f575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af91906130d9565b610a96565b6040516102c1919061311f565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190613192565b610aae565b6040516102fe91906131da565b60405180910390f35b34801561031357600080fd5b5061031c610b40565b604051610329919061328e565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906130d9565b610bd2565b60405161036691906132f1565b60405180910390f35b34801561037b57600080fd5b5061039660048036038101906103919190613338565b610c51565b005b3480156103a457600080fd5b506103bf60048036038101906103ba91906133a4565b610d95565b005b3480156103cd57600080fd5b506103e860048036038101906103e391906133a4565b610db9565b005b3480156103f657600080fd5b506103ff610ddd565b60405161040c91906133f3565b60405180910390f35b34801561042157600080fd5b5061043c6004803603810190610437919061340e565b610df4565b60405161044991906133f3565b60405180910390f35b34801561045e57600080fd5b50610467610e0c565b005b34801561047557600080fd5b50610490600480360381019061048b919061340e565b610e40565b60405161049d91906133f3565b60405180910390f35b3480156104b257600080fd5b506104bb610e58565b005b3480156104c957600080fd5b506104e460048036038101906104df919061343b565b610e69565b005b3480156104f257600080fd5b5061050d600480360381019061050891906134f3565b61118b565b005b610529600480360381019061052491906130d9565b61146d565b005b34801561053757600080fd5b50610540611693565b60405161054d91906133f3565b60405180910390f35b34801561056257600080fd5b5061057d6004803603810190610578919061343b565b611699565b005b34801561058b57600080fd5b506105a660048036038101906105a191906130d9565b6116b9565b005b3480156105b457600080fd5b506105bd6116c7565b6040516105ca91906133f3565b60405180910390f35b3480156105df57600080fd5b506105e86116cd565b6040516105f591906132f1565b60405180910390f35b34801561060a57600080fd5b50610625600480360381019061062091906130d9565b6116e5565b60405161063291906132f1565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d919061340e565b6116f7565b005b34801561067057600080fd5b5061068b60048036038101906106869190613567565b611749565b60405161069891906131da565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c3919061340e565b61179f565b6040516106d591906133f3565b60405180910390f35b3480156106ea57600080fd5b506106f3611857565b005b34801561070157600080fd5b5061071c600480360381019061071791906130d9565b61186b565b604051610729919061311f565b60405180910390f35b34801561073e57600080fd5b50610747611883565b604051610754919061328e565b60405180910390f35b34801561076957600080fd5b50610784600480360381019061077f919061340e565b611911565b60405161079191906133f3565b60405180910390f35b3480156107a657600080fd5b506107af611929565b6040516107bc91906132f1565b60405180910390f35b3480156107d157600080fd5b506107da611953565b6040516107e791906133f3565b60405180910390f35b3480156107fc57600080fd5b5061081760048036038101906108129190613338565b611a17565b005b34801561082557600080fd5b5061082e611ab6565b60405161083b91906131da565b60405180910390f35b34801561085057600080fd5b50610859611ac9565b604051610866919061328e565b60405180910390f35b34801561087b57600080fd5b5061089660048036038101906108919190613607565b611b5b565b005b3480156108a457600080fd5b506108ad611cd2565b6040516108ba91906131da565b60405180910390f35b3480156108cf57600080fd5b506108ea60048036038101906108e591906134f3565b611ce5565b005b3480156108f857600080fd5b50610901611faf565b005b34801561090f57600080fd5b5061092a60048036038101906109259190613777565b61219c565b005b34801561093857600080fd5b50610953600480360381019061094e9190613567565b61220f565b60405161096091906131da565b60405180910390f35b34801561097557600080fd5b50610990600480360381019061098b91906130d9565b612265565b60405161099d919061328e565b60405180910390f35b6109ae612299565b005b3480156109bc57600080fd5b506109c561229b565b005b3480156109d357600080fd5b506109ee60048036038101906109e99190613338565b6122cf565b005b3480156109fc57600080fd5b50610a176004803603810190610a1291906137fa565b61233b565b604051610a2491906131da565b60405180910390f35b348015610a3957600080fd5b50610a546004803603810190610a4f91906138db565b6123cf565b005b348015610a6257600080fd5b50610a6b6123ea565b005b348015610a7957600080fd5b50610a946004803603810190610a8f919061340e565b61241b565b005b600a6020528060005260406000206000915090505481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b0957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b395750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b4f90613953565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7b90613953565b8015610bc85780601f10610b9d57610100808354040283529160200191610bc8565b820191906000526020600020905b815481529060010190602001808311610bab57829003601f168201915b5050505050905090565b6000610bdd8261249e565b610c13576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c5c826116e5565b90508073ffffffffffffffffffffffffffffffffffffffff16610c7d6124fd565b73ffffffffffffffffffffffffffffffffffffffff1614610ce057610ca981610ca46124fd565b61233b565b610cdf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610d9d612505565b80600a6000848152602001908152602001600020819055505050565b610dc1612505565b80600b6000848152602001908152602001600020819055505050565b6000610de7612583565b6001546000540303905090565b60106020528060005260406000206000915090505481565b610e14612505565b600860159054906101000a900460ff1615600860156101000a81548160ff021916908315150217905550565b600d6020528060005260406000206000915090505481565b610e60612505565b42600981905550565b6000610e748261258c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610edb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610ee784612658565b91509150610efd8187610ef86124fd565b61267f565b610f4957610f1286610f0d6124fd565b61233b565b610f48576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610faf576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fbc86868660016126c3565b8015610fc757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611095856110718888876126c9565b7c0200000000000000000000000000000000000000000000000000000000176126f1565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361111b5760006001850190506000600460008381526020019081526020016000205403611119576000548114611118578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611183868686600161271c565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146111c357600080fd5b600860149054906101000a900460ff16611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906139d0565b60405180910390fd5b6127116002856112229190613a1f565b61122a612722565b6112349190613a79565b10611274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126b90613b1b565b60405180910390fd5b6112803384848461220f565b6112bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b690613b87565b60405180910390fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508185826113109190613a79565b1115611351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134890613c19565b60405180910390fd5b73517ab044bda9629e785657dbbcae95c40c8f452c73ffffffffffffffffffffffffffffffffffffffff166323b872dd333088680ad78ebc5ac62000006113989190613a1f565b6040518463ffffffff1660e01b81526004016113b693929190613c39565b6020604051808303816000875af11580156113d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f99190613c85565b5084600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114499190613a79565b92505081905550611466336002876114619190613a1f565b612735565b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146114a557600080fd5b42600954106114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e090613cfe565b60405180910390fd5b611772816114f5612722565b6114ff9190613a79565b1061153f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153690613b1b565b60405180910390fd5b611547611953565b816115529190613a1f565b341015611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b90613d6a565b60405180910390fd5b6004816115a0336128f0565b6115aa9190613d9e565b67ffffffffffffffff16106115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb90613e4e565b60405180910390fd5b34601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116439190613a79565b925050819055506116673382611658336128f0565b6116629190613d9e565b61293d565b6116713382612735565b61177161167c612722565b0361169057611689611953565b600f819055505b50565b60095481565b6116b48383836040518060200160405280600081525061219c565b505050565b6116c48160016129f3565b50565b600f5481565b73517ab044bda9629e785657dbbcae95c40c8f452c81565b60006116f08261258c565b9050919050565b6116ff612505565b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611745573d6000803e3d6000fd5b5050565b6000808560405160200161175d9190613eb6565b6040516020818303038152906040528051906020012090506117948585600b60008781526020019081526020016000205484612c45565b915050949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611806576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61185f612505565b6118696000612c5e565b565b600b6020528060005260406000206000915090505481565b600e805461189090613953565b80601f01602080910402602001604051908101604052809291908181526020018280546118bc90613953565b80156119095780601f106118de57610100808354040283529160200191611909565b820191906000526020600020905b8154815290600101906020018083116118ec57829003601f168201915b505050505081565b600c6020528060005260406000206000915090505481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610708600954426119669190613ed1565b1161197b576707a1fe16027700009050611a14565b600061070860095461198d9190613a79565b90506707a1fe16027700006658d15e1762800061038483426119af9190613ed1565b6119b99190613f34565b6119c39190613a1f565b106119d2576000915050611a14565b6658d15e1762800061038482426119e99190613ed1565b6119f39190613f34565b6119fd9190613a1f565b6707a1fe1602770000611a109190613ed1565b9150505b90565b611a1f612505565b73517ab044bda9629e785657dbbcae95c40c8f452c73ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401611a6e929190613f65565b6020604051808303816000875af1158015611a8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab19190613c85565b505050565b600860149054906101000a900460ff1681565b606060038054611ad890613953565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0490613953565b8015611b515780601f10611b2657610100808354040283529160200191611b51565b820191906000526020600020905b815481529060010190602001808311611b3457829003601f168201915b5050505050905090565b611b636124fd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bc7576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611bd46124fd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c816124fd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cc691906131da565b60405180910390a35050565b600860159054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611d1d57600080fd5b600860149054906101000a900460ff16611d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d63906139d0565b60405180910390fd5b61271184611d78612722565b611d829190613a79565b10611dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db990613b1b565b60405180910390fd5b611dce33848484611749565b611e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0490613b87565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818582611e5e9190613a79565b1115611e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9690613c19565b60405180910390fd5b73517ab044bda9629e785657dbbcae95c40c8f452c73ffffffffffffffffffffffffffffffffffffffff166323b872dd333088680ad78ebc5ac6200000611ee69190613a1f565b6040518463ffffffff1660e01b8152600401611f0493929190613c39565b6020604051808303816000875af1158015611f23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f479190613c85565b5084600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f979190613a79565b92505081905550611fa83386612735565b5050505050565b600f54611fbb336128f0565b67ffffffffffffffff16611fcf9190613a1f565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204790613fda565b60405180910390fd5b600860159054906101000a900460ff1661209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690614046565b60405180910390fd5b6000600f546120ad336128f0565b67ffffffffffffffff166120c19190613a1f565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461210b9190613ed1565b90506000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612198573d6000803e3d6000fd5b5050565b6121a7848484610e69565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612209576121d284848484612d24565b612208576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600080856040516020016122239190613eb6565b60405160208183030381529060405280519060200120905061225a8585600a60008781526020019081526020016000205484612c45565b915050949350505050565b6060600e61227283612e74565b60405160200161228392919061413a565b6040516020818303038152906040529050919050565b565b6122a3612505565b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b6122d7612505565b612711816122e3612722565b6122ed9190613a79565b1061232d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232490613b1b565b60405180910390fd5b6123378282612735565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123d7612505565b80600e90816123e691906142f5565b5050565b6123f2612505565b7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600981905550565b612423612505565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248990614439565b60405180910390fd5b61249b81612c5e565b50565b6000816124a9612583565b111580156124b8575060005482105b80156124f6575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b61250d612fd4565b73ffffffffffffffffffffffffffffffffffffffff1661252b611929565b73ffffffffffffffffffffffffffffffffffffffff1614612581576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612578906144a5565b60405180910390fd5b565b60006001905090565b6000808290508061259b612583565b11612621576000548110156126205760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361261e575b600081036126145760046000836001900393508381526020019081526020016000205490506125ea565b8092505050612653565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86126e0868684612fdc565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061272c612583565b60005403905090565b60008054905060008203612775576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61278260008483856126c3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506127f9836127ea60008660006126c9565b6127f385612fe5565b176126f1565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461289a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905061285f565b50600082036128d5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506128eb600084838561271c565b505050565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b60006129fe8361258c565b90506000819050600080612a1186612658565b915091508415612a7a57612a2d8184612a286124fd565b61267f565b612a7957612a4283612a3d6124fd565b61233b565b612a78576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612a888360008860016126c3565b8015612a9357600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b3b83612af8856000886126c9565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176126f1565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603612bc15760006001870190506000600460008381526020019081526020016000205403612bbf576000548114612bbe578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c2b83600088600161271c565b600160008154809291906001019190505550505050505050565b600082612c53868685612ff5565b149050949350505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d4a6124fd565b8786866040518563ffffffff1660e01b8152600401612d6c949392919061451a565b6020604051808303816000875af1925050508015612da857506040513d601f19601f82011682018060405250810190612da5919061457b565b60015b612e21573d8060008114612dd8576040519150601f19603f3d011682016040523d82523d6000602084013e612ddd565b606091505b506000815103612e19576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612ebb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fcf565b600082905060005b60008214612eed578080612ed6906145a8565b915050600a82612ee69190613f34565b9150612ec3565b60008167ffffffffffffffff811115612f0957612f0861364c565b5b6040519080825280601f01601f191660200182016040528015612f3b5781602001600182028036833780820191505090505b5090505b60008514612fc857600182612f549190613ed1565b9150600a85612f6391906145f0565b6030612f6f9190613a79565b60f81b818381518110612f8557612f84614621565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fc19190613f34565b9450612f3f565b8093505050505b919050565b600033905090565b60009392505050565b60006001821460e11b9050919050565b60008082905060005b858590508110156130415761302c828787848181106130205761301f614621565b5b9050602002013561304d565b91508080613039906145a8565b915050612ffe565b50809150509392505050565b6000818310613065576130608284613078565b613070565b61306f8383613078565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6130b6816130a3565b81146130c157600080fd5b50565b6000813590506130d3816130ad565b92915050565b6000602082840312156130ef576130ee613099565b5b60006130fd848285016130c4565b91505092915050565b6000819050919050565b61311981613106565b82525050565b60006020820190506131346000830184613110565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61316f8161313a565b811461317a57600080fd5b50565b60008135905061318c81613166565b92915050565b6000602082840312156131a8576131a7613099565b5b60006131b68482850161317d565b91505092915050565b60008115159050919050565b6131d4816131bf565b82525050565b60006020820190506131ef60008301846131cb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561322f578082015181840152602081019050613214565b8381111561323e576000848401525b50505050565b6000601f19601f8301169050919050565b6000613260826131f5565b61326a8185613200565b935061327a818560208601613211565b61328381613244565b840191505092915050565b600060208201905081810360008301526132a88184613255565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132db826132b0565b9050919050565b6132eb816132d0565b82525050565b600060208201905061330660008301846132e2565b92915050565b613315816132d0565b811461332057600080fd5b50565b6000813590506133328161330c565b92915050565b6000806040838503121561334f5761334e613099565b5b600061335d85828601613323565b925050602061336e858286016130c4565b9150509250929050565b61338181613106565b811461338c57600080fd5b50565b60008135905061339e81613378565b92915050565b600080604083850312156133bb576133ba613099565b5b60006133c9858286016130c4565b92505060206133da8582860161338f565b9150509250929050565b6133ed816130a3565b82525050565b600060208201905061340860008301846133e4565b92915050565b60006020828403121561342457613423613099565b5b600061343284828501613323565b91505092915050565b60008060006060848603121561345457613453613099565b5b600061346286828701613323565b935050602061347386828701613323565b9250506040613484868287016130c4565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126134b3576134b261348e565b5b8235905067ffffffffffffffff8111156134d0576134cf613493565b5b6020830191508360208202830111156134ec576134eb613498565b5b9250929050565b6000806000806060858703121561350d5761350c613099565b5b600061351b878288016130c4565b945050602085013567ffffffffffffffff81111561353c5761353b61309e565b5b6135488782880161349d565b9350935050604061355b878288016130c4565b91505092959194509250565b6000806000806060858703121561358157613580613099565b5b600061358f87828801613323565b945050602085013567ffffffffffffffff8111156135b0576135af61309e565b5b6135bc8782880161349d565b935093505060406135cf878288016130c4565b91505092959194509250565b6135e4816131bf565b81146135ef57600080fd5b50565b600081359050613601816135db565b92915050565b6000806040838503121561361e5761361d613099565b5b600061362c85828601613323565b925050602061363d858286016135f2565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61368482613244565b810181811067ffffffffffffffff821117156136a3576136a261364c565b5b80604052505050565b60006136b661308f565b90506136c2828261367b565b919050565b600067ffffffffffffffff8211156136e2576136e161364c565b5b6136eb82613244565b9050602081019050919050565b82818337600083830152505050565b600061371a613715846136c7565b6136ac565b90508281526020810184848401111561373657613735613647565b5b6137418482856136f8565b509392505050565b600082601f83011261375e5761375d61348e565b5b813561376e848260208601613707565b91505092915050565b6000806000806080858703121561379157613790613099565b5b600061379f87828801613323565b94505060206137b087828801613323565b93505060406137c1878288016130c4565b925050606085013567ffffffffffffffff8111156137e2576137e161309e565b5b6137ee87828801613749565b91505092959194509250565b6000806040838503121561381157613810613099565b5b600061381f85828601613323565b925050602061383085828601613323565b9150509250929050565b600067ffffffffffffffff8211156138555761385461364c565b5b61385e82613244565b9050602081019050919050565b600061387e6138798461383a565b6136ac565b90508281526020810184848401111561389a57613899613647565b5b6138a58482856136f8565b509392505050565b600082601f8301126138c2576138c161348e565b5b81356138d284826020860161386b565b91505092915050565b6000602082840312156138f1576138f0613099565b5b600082013567ffffffffffffffff81111561390f5761390e61309e565b5b61391b848285016138ad565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061396b57607f821691505b60208210810361397e5761397d613924565b5b50919050565b7f507269766174652073616c65206973206e6f742072756e6e696e670000000000600082015250565b60006139ba601b83613200565b91506139c582613984565b602082019050919050565b600060208201905081810360008301526139e9816139ad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a2a826130a3565b9150613a35836130a3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a6e57613a6d6139f0565b5b828202905092915050565b6000613a84826130a3565b9150613a8f836130a3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ac457613ac36139f0565b5b828201905092915050565b7f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e740000600082015250565b6000613b05601e83613200565b9150613b1082613acf565b602082019050919050565b60006020820190508181036000830152613b3481613af8565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000613b71600d83613200565b9150613b7c82613b3b565b602082019050919050565b60006020820190508181036000830152613ba081613b64565b9050919050565b7f596f752063616e6e6f7420636c61696d2074686174206d616e7920746f6b656e60008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c03602183613200565b9150613c0e82613ba7565b604082019050919050565b60006020820190508181036000830152613c3281613bf6565b9050919050565b6000606082019050613c4e60008301866132e2565b613c5b60208301856132e2565b613c6860408301846133e4565b949350505050565b600081519050613c7f816135db565b92915050565b600060208284031215613c9b57613c9a613099565b5b6000613ca984828501613c70565b91505092915050565b7f5075626c69632073616c65206973206e6f742072756e6e696e67000000000000600082015250565b6000613ce8601a83613200565b9150613cf382613cb2565b602082019050919050565b60006020820190508181036000830152613d1781613cdb565b9050919050565b7f496e636f7272656374204554482073656e7420746f206d696e74000000000000600082015250565b6000613d54601a83613200565b9150613d5f82613d1e565b602082019050919050565b60006020820190508181036000830152613d8381613d47565b9050919050565b600067ffffffffffffffff82169050919050565b6000613da982613d8a565b9150613db483613d8a565b92508267ffffffffffffffff03821115613dd157613dd06139f0565b5b828201905092915050565b7f43616e6e6f74206d696e74206d6f7265207468616e203320647572696e67207060008201527f75626c6963000000000000000000000000000000000000000000000000000000602082015250565b6000613e38602583613200565b9150613e4382613ddc565b604082019050919050565b60006020820190508181036000830152613e6781613e2b565b9050919050565b60008160601b9050919050565b6000613e8682613e6e565b9050919050565b6000613e9882613e7b565b9050919050565b613eb0613eab826132d0565b613e8d565b82525050565b6000613ec28284613e9f565b60148201915081905092915050565b6000613edc826130a3565b9150613ee7836130a3565b925082821015613efa57613ef96139f0565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f3f826130a3565b9150613f4a836130a3565b925082613f5a57613f59613f05565b5b828204905092915050565b6000604082019050613f7a60008301856132e2565b613f8760208301846133e4565b9392505050565b7f416c726561647920636c61696d6564206f7220646964206e6f74206d696e7400600082015250565b6000613fc4601f83613200565b9150613fcf82613f8e565b602082019050919050565b60006020820190508181036000830152613ff381613fb7565b9050919050565b7f526566756e6420706572696f64206973206e6f74206163746976652079657400600082015250565b6000614030601f83613200565b915061403b82613ffa565b602082019050919050565b6000602082019050818103600083015261405f81614023565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461409381613953565b61409d8186614066565b945060018216600081146140b857600181146140cd57614100565b60ff1983168652811515820286019350614100565b6140d685614071565b60005b838110156140f8578154818901526001820191506020810190506140d9565b838801955050505b50505092915050565b6000614114826131f5565b61411e8185614066565b935061412e818560208601613211565b80840191505092915050565b60006141468285614086565b91506141528284614109565b91508190509392505050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026141ab7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261416e565b6141b5868361416e565b95508019841693508086168417925050509392505050565b6000819050919050565b60006141f26141ed6141e8846130a3565b6141cd565b6130a3565b9050919050565b6000819050919050565b61420c836141d7565b614220614218826141f9565b84845461417b565b825550505050565b600090565b614235614228565b614240818484614203565b505050565b5b818110156142645761425960008261422d565b600181019050614246565b5050565b601f8211156142a95761427a81614071565b6142838461415e565b81016020851015614292578190505b6142a661429e8561415e565b830182614245565b50505b505050565b600082821c905092915050565b60006142cc600019846008026142ae565b1980831691505092915050565b60006142e583836142bb565b9150826002028217905092915050565b6142fe826131f5565b67ffffffffffffffff8111156143175761431661364c565b5b6143218254613953565b61432c828285614268565b600060209050601f83116001811461435f576000841561434d578287015190505b61435785826142d9565b8655506143bf565b601f19841661436d86614071565b60005b8281101561439557848901518255600182019150602085019450602081019050614370565b868310156143b257848901516143ae601f8916826142bb565b8355505b6001600288020188555050505b505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614423602683613200565b915061442e826143c7565b604082019050919050565b6000602082019050818103600083015261445281614416565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061448f602083613200565b915061449a82614459565b602082019050919050565b600060208201905081810360008301526144be81614482565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006144ec826144c5565b6144f681856144d0565b9350614506818560208601613211565b61450f81613244565b840191505092915050565b600060808201905061452f60008301876132e2565b61453c60208301866132e2565b61454960408301856133e4565b818103606083015261455b81846144e1565b905095945050505050565b60008151905061457581613166565b92915050565b60006020828403121561459157614590613099565b5b600061459f84828501614566565b91505092915050565b60006145b3826130a3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036145e5576145e46139f0565b5b600182019050919050565b60006145fb826130a3565b9150614606836130a3565b92508261461657614615613f05565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212200c67f0cc6dda00ccebb1e34ecea07eeafd8daa115d423d5f8890e13874c90a6464736f6c634300080f0033
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.