Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
690 RED
Holders
573
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 REDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Red
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-10-18 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // 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(); /** * 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 payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @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 payable; /** * @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 payable; /** * @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); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @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 { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). 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 payable 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 { _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].value`. 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 payable 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 payable 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 payable 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. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. 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`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. 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 str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/Red.sol pragma solidity ^0.8.9; contract Red is ERC721A, Ownable { using Strings for uint256; uint256 public maxSupply = 690; uint256 public mintPrice = 0.0011 ether; uint256 public maxMintPerTx = 10; uint256 public maxFreeMintPerWallet = 1; bool public mintStarted = false; string public baseURI; mapping(address => uint256) private _mintedFreeAmount; constructor() ERC721A("Red", "RED") {} function mint(uint256 count) external payable { require(mintStarted, "Minting is paused"); require(tx.origin == msg.sender, "No contract mint"); uint256 cost = (msg.value == 0 && (_mintedFreeAmount[msg.sender] + count <= maxFreeMintPerWallet)) ? 0 : mintPrice; require(msg.value >= count * cost, "Wrong mint price"); require(totalSupply() + count <= maxSupply, "Minted out"); require(count <= maxMintPerTx, "Max per transaction exceeded"); if (cost == 0) { _mintedFreeAmount[msg.sender] += count; } _safeMint(msg.sender, count); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function toggleSaleState() external onlyOwner { mintStarted = !mintStarted; } function setPrice(uint256 _newPrice) external onlyOwner { mintPrice = _newPrice; } function setSupply(uint256 _newSupply) external onlyOwner { maxSupply = _newSupply; } function setMaxFreeMintPerWallet(uint256 _maxFreeMintPerWallet) external onlyOwner { maxFreeMintPerWallet = _maxFreeMintPerWallet; } function ownerMint(address _to, uint256 _number) external onlyOwner { _safeMint(_to, _number); } function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success, "Transfer failed"); } }
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":"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMintPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStarted","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":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeMintPerWallet","type":"uint256"}],"name":"setMaxFreeMintPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"setSupply","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":"toggleSaleState","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526102b26009556603e871b540c000600a55600a600b556001600c556000600d60006101000a81548160ff0219169083151502179055503480156200004757600080fd5b506040518060400160405280600381526020017f52656400000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f52454400000000000000000000000000000000000000000000000000000000008152508160029081620000c5919062000467565b508060039081620000d7919062000467565b50620000e86200011660201b60201c565b600081905550505062000110620001046200011f60201b60201c565b6200012760201b60201c565b6200054e565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200026f57607f821691505b60208210810362000285576200028462000227565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002ef7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002b0565b620002fb8683620002b0565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000348620003426200033c8462000313565b6200031d565b62000313565b9050919050565b6000819050919050565b620003648362000327565b6200037c62000373826200034f565b848454620002bd565b825550505050565b600090565b6200039362000384565b620003a081848462000359565b505050565b5b81811015620003c857620003bc60008262000389565b600181019050620003a6565b5050565b601f8211156200041757620003e1816200028b565b620003ec84620002a0565b81016020851015620003fc578190505b620004146200040b85620002a0565b830182620003a5565b50505b505050565b600082821c905092915050565b60006200043c600019846008026200041c565b1980831691505092915050565b600062000457838362000429565b9150826002028217905092915050565b6200047282620001ed565b67ffffffffffffffff8111156200048e576200048d620001f8565b5b6200049a825462000256565b620004a7828285620003cc565b600060209050601f831160018114620004df5760008415620004ca578287015190505b620004d6858262000449565b86555062000546565b601f198416620004ef866200028b565b60005b828110156200051957848901518255600182019150602085019450602081019050620004f2565b8683101562000539578489015162000535601f89168262000429565b8355505b6001600288020188555050505b505050505050565b6130ba806200055e6000396000f3fe6080604052600436106101d85760003560e01c8063715018a611610102578063b88d4fde11610095578063de7fcb1d11610064578063de7fcb1d1461062f578063e985e9c51461065a578063f2fde38b14610697578063f77b1edd146106c0576101d8565b8063b88d4fde14610594578063c87b56dd146105b0578063d5abeb01146105ed578063daaeec8614610618576101d8565b806395d89b41116100d157806395d89b41146104f9578063a0712d6814610524578063a22cb46514610540578063a9722cf314610569576101d8565b8063715018a614610463578063845bb3bb1461047a5780638da5cb5b146104a557806391b7f5ed146104d0576101d8565b80633ccfd60b1161017a5780636352211e116101495780636352211e146103935780636817c76c146103d05780636c0360eb146103fb57806370a0823114610426576101d8565b80633ccfd60b1461030e57806342842e0e14610325578063484b973c1461034157806355f804b31461036a576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd1461029e57806323b872dd146102c95780633b4c4b25146102e5576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff919061201f565b6106e9565b6040516102119190612067565b60405180910390f35b34801561022657600080fd5b5061022f61077b565b60405161023c9190612112565b60405180910390f35b34801561025157600080fd5b5061026c6004803603810190610267919061216a565b61080d565b60405161027991906121d8565b60405180910390f35b61029c6004803603810190610297919061221f565b61088c565b005b3480156102aa57600080fd5b506102b36109d0565b6040516102c0919061226e565b60405180910390f35b6102e360048036038101906102de9190612289565b6109e7565b005b3480156102f157600080fd5b5061030c6004803603810190610307919061216a565b610d09565b005b34801561031a57600080fd5b50610323610d1b565b005b61033f600480360381019061033a9190612289565b610dd2565b005b34801561034d57600080fd5b506103686004803603810190610363919061221f565b610df2565b005b34801561037657600080fd5b50610391600480360381019061038c9190612411565b610e08565b005b34801561039f57600080fd5b506103ba60048036038101906103b5919061216a565b610e23565b6040516103c791906121d8565b60405180910390f35b3480156103dc57600080fd5b506103e5610e35565b6040516103f2919061226e565b60405180910390f35b34801561040757600080fd5b50610410610e3b565b60405161041d9190612112565b60405180910390f35b34801561043257600080fd5b5061044d6004803603810190610448919061245a565b610ec9565b60405161045a919061226e565b60405180910390f35b34801561046f57600080fd5b50610478610f81565b005b34801561048657600080fd5b5061048f610f95565b60405161049c919061226e565b60405180910390f35b3480156104b157600080fd5b506104ba610f9b565b6040516104c791906121d8565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f2919061216a565b610fc5565b005b34801561050557600080fd5b5061050e610fd7565b60405161051b9190612112565b60405180910390f35b61053e6004803603810190610539919061216a565b611069565b005b34801561054c57600080fd5b50610567600480360381019061056291906124b3565b6112eb565b005b34801561057557600080fd5b5061057e6113f6565b60405161058b9190612067565b60405180910390f35b6105ae60048036038101906105a99190612594565b611409565b005b3480156105bc57600080fd5b506105d760048036038101906105d2919061216a565b61147c565b6040516105e49190612112565b60405180910390f35b3480156105f957600080fd5b506106026114f8565b60405161060f919061226e565b60405180910390f35b34801561062457600080fd5b5061062d6114fe565b005b34801561063b57600080fd5b50610644611532565b604051610651919061226e565b60405180910390f35b34801561066657600080fd5b50610681600480360381019061067c9190612617565b611538565b60405161068e9190612067565b60405180910390f35b3480156106a357600080fd5b506106be60048036038101906106b9919061245a565b6115cc565b005b3480156106cc57600080fd5b506106e760048036038101906106e2919061216a565b61164f565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061074457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107745750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461078a90612686565b80601f01602080910402602001604051908101604052809291908181526020018280546107b690612686565b80156108035780601f106107d857610100808354040283529160200191610803565b820191906000526020600020905b8154815290600101906020018083116107e657829003601f168201915b5050505050905090565b600061081882611661565b61084e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061089782610e23565b90508073ffffffffffffffffffffffffffffffffffffffff166108b86116c0565b73ffffffffffffffffffffffffffffffffffffffff161461091b576108e4816108df6116c0565b611538565b61091a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006109da6116c8565b6001546000540303905090565b60006109f2826116d1565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a59576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a658461179d565b91509150610a7b8187610a766116c0565b6117c4565b610ac757610a9086610a8b6116c0565b611538565b610ac6576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b2d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3a8686866001611808565b8015610b4557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c1385610bef88888761180e565b7c020000000000000000000000000000000000000000000000000000000017611836565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610c995760006001850190506000600460008381526020019081526020016000205403610c97576000548114610c96578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d018686866001611861565b505050505050565b610d11611867565b8060098190555050565b610d23611867565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610d49906126e8565b60006040518083038185875af1925050503d8060008114610d86576040519150601f19603f3d011682016040523d82523d6000602084013e610d8b565b606091505b5050905080610dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc690612749565b60405180910390fd5b50565b610ded83838360405180602001604052806000815250611409565b505050565b610dfa611867565b610e0482826118e5565b5050565b610e10611867565b80600e9081610e1f9190612915565b5050565b6000610e2e826116d1565b9050919050565b600a5481565b600e8054610e4890612686565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7490612686565b8015610ec15780601f10610e9657610100808354040283529160200191610ec1565b820191906000526020600020905b815481529060010190602001808311610ea457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f30576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610f89611867565b610f936000611903565b565b600c5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fcd611867565b80600a8190555050565b606060038054610fe690612686565b80601f016020809104026020016040519081016040528092919081815260200182805461101290612686565b801561105f5780601f106110345761010080835404028352916020019161105f565b820191906000526020600020905b81548152906001019060200180831161104257829003601f168201915b5050505050905090565b600d60009054906101000a900460ff166110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110af90612a33565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612a9f565b60405180910390fd5b600080341480156111835750600c5482600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111809190612aee565b11155b61118f57600a54611192565b60005b905080826111a09190612b22565b3410156111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d990612bb0565b60405180910390fd5b600954826111ee6109d0565b6111f89190612aee565b1115611239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123090612c1c565b60405180910390fd5b600b5482111561127e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127590612c88565b60405180910390fd5b600081036112dd5781600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112d59190612aee565b925050819055505b6112e733836118e5565b5050565b80600760006112f86116c0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113a56116c0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113ea9190612067565b60405180910390a35050565b600d60009054906101000a900460ff1681565b6114148484846109e7565b60008373ffffffffffffffffffffffffffffffffffffffff163b146114765761143f848484846119c9565b611475576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061148782611661565b6114c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bd90612d1a565b60405180910390fd5b600e6114d183611b19565b6040516020016114e2929190612e45565b6040516020818303038152906040529050919050565b60095481565b611506611867565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115d4611867565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163a90612ee6565b60405180910390fd5b61164c81611903565b50565b611657611867565b80600c8190555050565b60008161166c6116c8565b1115801561167b575060005482105b80156116b9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080829050806116e06116c8565b11611766576000548110156117655760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611763575b6000810361175957600460008360019003935083815260200190815260200160002054905061172f565b8092505050611798565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611825868684611be7565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61186f611bf0565b73ffffffffffffffffffffffffffffffffffffffff1661188d610f9b565b73ffffffffffffffffffffffffffffffffffffffff16146118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da90612f52565b60405180910390fd5b565b6118ff828260405180602001604052806000815250611bf8565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026119ef6116c0565b8786866040518563ffffffff1660e01b8152600401611a119493929190612fc7565b6020604051808303816000875af1925050508015611a4d57506040513d601f19601f82011682018060405250810190611a4a9190613028565b60015b611ac6573d8060008114611a7d576040519150601f19603f3d011682016040523d82523d6000602084013e611a82565b606091505b506000815103611abe576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060006001611b2884611c95565b01905060008167ffffffffffffffff811115611b4757611b466122e6565b5b6040519080825280601f01601f191660200182016040528015611b795781602001600182028036833780820191505090505b509050600082602001820190505b600115611bdc578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611bd057611bcf613055565b5b04945060008503611b87575b819350505050919050565b60009392505050565b600033905090565b611c028383611de8565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611c9057600080549050600083820390505b611c4260008683806001019450866119c9565b611c78576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611c2f578160005414611c8d57600080fd5b50505b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611cf3577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611ce957611ce8613055565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611d30576d04ee2d6d415b85acef81000000008381611d2657611d25613055565b5b0492506020810190505b662386f26fc100008310611d5f57662386f26fc100008381611d5557611d54613055565b5b0492506010810190505b6305f5e1008310611d88576305f5e1008381611d7e57611d7d613055565b5b0492506008810190505b6127108310611dad576127108381611da357611da2613055565b5b0492506004810190505b60648310611dd05760648381611dc657611dc5613055565b5b0492506002810190505b600a8310611ddf576001810190505b80915050919050565b60008054905060008203611e28576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e356000848385611808565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611eac83611e9d600086600061180e565b611ea685611fa3565b17611836565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611f4d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611f12565b5060008203611f88576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611f9e6000848385611861565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611ffc81611fc7565b811461200757600080fd5b50565b60008135905061201981611ff3565b92915050565b60006020828403121561203557612034611fbd565b5b60006120438482850161200a565b91505092915050565b60008115159050919050565b6120618161204c565b82525050565b600060208201905061207c6000830184612058565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156120bc5780820151818401526020810190506120a1565b60008484015250505050565b6000601f19601f8301169050919050565b60006120e482612082565b6120ee818561208d565b93506120fe81856020860161209e565b612107816120c8565b840191505092915050565b6000602082019050818103600083015261212c81846120d9565b905092915050565b6000819050919050565b61214781612134565b811461215257600080fd5b50565b6000813590506121648161213e565b92915050565b6000602082840312156121805761217f611fbd565b5b600061218e84828501612155565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121c282612197565b9050919050565b6121d2816121b7565b82525050565b60006020820190506121ed60008301846121c9565b92915050565b6121fc816121b7565b811461220757600080fd5b50565b600081359050612219816121f3565b92915050565b6000806040838503121561223657612235611fbd565b5b60006122448582860161220a565b925050602061225585828601612155565b9150509250929050565b61226881612134565b82525050565b6000602082019050612283600083018461225f565b92915050565b6000806000606084860312156122a2576122a1611fbd565b5b60006122b08682870161220a565b93505060206122c18682870161220a565b92505060406122d286828701612155565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61231e826120c8565b810181811067ffffffffffffffff8211171561233d5761233c6122e6565b5b80604052505050565b6000612350611fb3565b905061235c8282612315565b919050565b600067ffffffffffffffff82111561237c5761237b6122e6565b5b612385826120c8565b9050602081019050919050565b82818337600083830152505050565b60006123b46123af84612361565b612346565b9050828152602081018484840111156123d0576123cf6122e1565b5b6123db848285612392565b509392505050565b600082601f8301126123f8576123f76122dc565b5b81356124088482602086016123a1565b91505092915050565b60006020828403121561242757612426611fbd565b5b600082013567ffffffffffffffff81111561244557612444611fc2565b5b612451848285016123e3565b91505092915050565b6000602082840312156124705761246f611fbd565b5b600061247e8482850161220a565b91505092915050565b6124908161204c565b811461249b57600080fd5b50565b6000813590506124ad81612487565b92915050565b600080604083850312156124ca576124c9611fbd565b5b60006124d88582860161220a565b92505060206124e98582860161249e565b9150509250929050565b600067ffffffffffffffff82111561250e5761250d6122e6565b5b612517826120c8565b9050602081019050919050565b6000612537612532846124f3565b612346565b905082815260208101848484011115612553576125526122e1565b5b61255e848285612392565b509392505050565b600082601f83011261257b5761257a6122dc565b5b813561258b848260208601612524565b91505092915050565b600080600080608085870312156125ae576125ad611fbd565b5b60006125bc8782880161220a565b94505060206125cd8782880161220a565b93505060406125de87828801612155565b925050606085013567ffffffffffffffff8111156125ff576125fe611fc2565b5b61260b87828801612566565b91505092959194509250565b6000806040838503121561262e5761262d611fbd565b5b600061263c8582860161220a565b925050602061264d8582860161220a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061269e57607f821691505b6020821081036126b1576126b0612657565b5b50919050565b600081905092915050565b50565b60006126d26000836126b7565b91506126dd826126c2565b600082019050919050565b60006126f3826126c5565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000612733600f8361208d565b915061273e826126fd565b602082019050919050565b6000602082019050818103600083015261276281612726565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026127cb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261278e565b6127d5868361278e565b95508019841693508086168417925050509392505050565b6000819050919050565b600061281261280d61280884612134565b6127ed565b612134565b9050919050565b6000819050919050565b61282c836127f7565b61284061283882612819565b84845461279b565b825550505050565b600090565b612855612848565b612860818484612823565b505050565b5b818110156128845761287960008261284d565b600181019050612866565b5050565b601f8211156128c95761289a81612769565b6128a38461277e565b810160208510156128b2578190505b6128c66128be8561277e565b830182612865565b50505b505050565b600082821c905092915050565b60006128ec600019846008026128ce565b1980831691505092915050565b600061290583836128db565b9150826002028217905092915050565b61291e82612082565b67ffffffffffffffff811115612937576129366122e6565b5b6129418254612686565b61294c828285612888565b600060209050601f83116001811461297f576000841561296d578287015190505b61297785826128f9565b8655506129df565b601f19841661298d86612769565b60005b828110156129b557848901518255600182019150602085019450602081019050612990565b868310156129d257848901516129ce601f8916826128db565b8355505b6001600288020188555050505b505050505050565b7f4d696e74696e6720697320706175736564000000000000000000000000000000600082015250565b6000612a1d60118361208d565b9150612a28826129e7565b602082019050919050565b60006020820190508181036000830152612a4c81612a10565b9050919050565b7f4e6f20636f6e7472616374206d696e7400000000000000000000000000000000600082015250565b6000612a8960108361208d565b9150612a9482612a53565b602082019050919050565b60006020820190508181036000830152612ab881612a7c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612af982612134565b9150612b0483612134565b9250828201905080821115612b1c57612b1b612abf565b5b92915050565b6000612b2d82612134565b9150612b3883612134565b9250828202612b4681612134565b91508282048414831517612b5d57612b5c612abf565b5b5092915050565b7f57726f6e67206d696e7420707269636500000000000000000000000000000000600082015250565b6000612b9a60108361208d565b9150612ba582612b64565b602082019050919050565b60006020820190508181036000830152612bc981612b8d565b9050919050565b7f4d696e746564206f757400000000000000000000000000000000000000000000600082015250565b6000612c06600a8361208d565b9150612c1182612bd0565b602082019050919050565b60006020820190508181036000830152612c3581612bf9565b9050919050565b7f4d617820706572207472616e73616374696f6e20657863656564656400000000600082015250565b6000612c72601c8361208d565b9150612c7d82612c3c565b602082019050919050565b60006020820190508181036000830152612ca181612c65565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000612d04602f8361208d565b9150612d0f82612ca8565b604082019050919050565b60006020820190508181036000830152612d3381612cf7565b9050919050565b600081905092915050565b60008154612d5281612686565b612d5c8186612d3a565b94506001821660008114612d775760018114612d8c57612dbf565b60ff1983168652811515820286019350612dbf565b612d9585612769565b60005b83811015612db757815481890152600182019150602081019050612d98565b838801955050505b50505092915050565b6000612dd382612082565b612ddd8185612d3a565b9350612ded81856020860161209e565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612e2f600583612d3a565b9150612e3a82612df9565b600582019050919050565b6000612e518285612d45565b9150612e5d8284612dc8565b9150612e6882612e22565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612ed060268361208d565b9150612edb82612e74565b604082019050919050565b60006020820190508181036000830152612eff81612ec3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612f3c60208361208d565b9150612f4782612f06565b602082019050919050565b60006020820190508181036000830152612f6b81612f2f565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000612f9982612f72565b612fa38185612f7d565b9350612fb381856020860161209e565b612fbc816120c8565b840191505092915050565b6000608082019050612fdc60008301876121c9565b612fe960208301866121c9565b612ff6604083018561225f565b81810360608301526130088184612f8e565b905095945050505050565b60008151905061302281611ff3565b92915050565b60006020828403121561303e5761303d611fbd565b5b600061304c84828501613013565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea2646970667358221220bcc624cdaad072100d9ce61bcddfb4970135de2187e2e14c6fab67088fe1306664736f6c63430008120033
Deployed Bytecode
0x6080604052600436106101d85760003560e01c8063715018a611610102578063b88d4fde11610095578063de7fcb1d11610064578063de7fcb1d1461062f578063e985e9c51461065a578063f2fde38b14610697578063f77b1edd146106c0576101d8565b8063b88d4fde14610594578063c87b56dd146105b0578063d5abeb01146105ed578063daaeec8614610618576101d8565b806395d89b41116100d157806395d89b41146104f9578063a0712d6814610524578063a22cb46514610540578063a9722cf314610569576101d8565b8063715018a614610463578063845bb3bb1461047a5780638da5cb5b146104a557806391b7f5ed146104d0576101d8565b80633ccfd60b1161017a5780636352211e116101495780636352211e146103935780636817c76c146103d05780636c0360eb146103fb57806370a0823114610426576101d8565b80633ccfd60b1461030e57806342842e0e14610325578063484b973c1461034157806355f804b31461036a576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd1461029e57806323b872dd146102c95780633b4c4b25146102e5576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff919061201f565b6106e9565b6040516102119190612067565b60405180910390f35b34801561022657600080fd5b5061022f61077b565b60405161023c9190612112565b60405180910390f35b34801561025157600080fd5b5061026c6004803603810190610267919061216a565b61080d565b60405161027991906121d8565b60405180910390f35b61029c6004803603810190610297919061221f565b61088c565b005b3480156102aa57600080fd5b506102b36109d0565b6040516102c0919061226e565b60405180910390f35b6102e360048036038101906102de9190612289565b6109e7565b005b3480156102f157600080fd5b5061030c6004803603810190610307919061216a565b610d09565b005b34801561031a57600080fd5b50610323610d1b565b005b61033f600480360381019061033a9190612289565b610dd2565b005b34801561034d57600080fd5b506103686004803603810190610363919061221f565b610df2565b005b34801561037657600080fd5b50610391600480360381019061038c9190612411565b610e08565b005b34801561039f57600080fd5b506103ba60048036038101906103b5919061216a565b610e23565b6040516103c791906121d8565b60405180910390f35b3480156103dc57600080fd5b506103e5610e35565b6040516103f2919061226e565b60405180910390f35b34801561040757600080fd5b50610410610e3b565b60405161041d9190612112565b60405180910390f35b34801561043257600080fd5b5061044d6004803603810190610448919061245a565b610ec9565b60405161045a919061226e565b60405180910390f35b34801561046f57600080fd5b50610478610f81565b005b34801561048657600080fd5b5061048f610f95565b60405161049c919061226e565b60405180910390f35b3480156104b157600080fd5b506104ba610f9b565b6040516104c791906121d8565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f2919061216a565b610fc5565b005b34801561050557600080fd5b5061050e610fd7565b60405161051b9190612112565b60405180910390f35b61053e6004803603810190610539919061216a565b611069565b005b34801561054c57600080fd5b50610567600480360381019061056291906124b3565b6112eb565b005b34801561057557600080fd5b5061057e6113f6565b60405161058b9190612067565b60405180910390f35b6105ae60048036038101906105a99190612594565b611409565b005b3480156105bc57600080fd5b506105d760048036038101906105d2919061216a565b61147c565b6040516105e49190612112565b60405180910390f35b3480156105f957600080fd5b506106026114f8565b60405161060f919061226e565b60405180910390f35b34801561062457600080fd5b5061062d6114fe565b005b34801561063b57600080fd5b50610644611532565b604051610651919061226e565b60405180910390f35b34801561066657600080fd5b50610681600480360381019061067c9190612617565b611538565b60405161068e9190612067565b60405180910390f35b3480156106a357600080fd5b506106be60048036038101906106b9919061245a565b6115cc565b005b3480156106cc57600080fd5b506106e760048036038101906106e2919061216a565b61164f565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061074457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107745750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461078a90612686565b80601f01602080910402602001604051908101604052809291908181526020018280546107b690612686565b80156108035780601f106107d857610100808354040283529160200191610803565b820191906000526020600020905b8154815290600101906020018083116107e657829003601f168201915b5050505050905090565b600061081882611661565b61084e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061089782610e23565b90508073ffffffffffffffffffffffffffffffffffffffff166108b86116c0565b73ffffffffffffffffffffffffffffffffffffffff161461091b576108e4816108df6116c0565b611538565b61091a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006109da6116c8565b6001546000540303905090565b60006109f2826116d1565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a59576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a658461179d565b91509150610a7b8187610a766116c0565b6117c4565b610ac757610a9086610a8b6116c0565b611538565b610ac6576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b2d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3a8686866001611808565b8015610b4557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c1385610bef88888761180e565b7c020000000000000000000000000000000000000000000000000000000017611836565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610c995760006001850190506000600460008381526020019081526020016000205403610c97576000548114610c96578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d018686866001611861565b505050505050565b610d11611867565b8060098190555050565b610d23611867565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610d49906126e8565b60006040518083038185875af1925050503d8060008114610d86576040519150601f19603f3d011682016040523d82523d6000602084013e610d8b565b606091505b5050905080610dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc690612749565b60405180910390fd5b50565b610ded83838360405180602001604052806000815250611409565b505050565b610dfa611867565b610e0482826118e5565b5050565b610e10611867565b80600e9081610e1f9190612915565b5050565b6000610e2e826116d1565b9050919050565b600a5481565b600e8054610e4890612686565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7490612686565b8015610ec15780601f10610e9657610100808354040283529160200191610ec1565b820191906000526020600020905b815481529060010190602001808311610ea457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f30576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610f89611867565b610f936000611903565b565b600c5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fcd611867565b80600a8190555050565b606060038054610fe690612686565b80601f016020809104026020016040519081016040528092919081815260200182805461101290612686565b801561105f5780601f106110345761010080835404028352916020019161105f565b820191906000526020600020905b81548152906001019060200180831161104257829003601f168201915b5050505050905090565b600d60009054906101000a900460ff166110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110af90612a33565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612a9f565b60405180910390fd5b600080341480156111835750600c5482600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111809190612aee565b11155b61118f57600a54611192565b60005b905080826111a09190612b22565b3410156111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d990612bb0565b60405180910390fd5b600954826111ee6109d0565b6111f89190612aee565b1115611239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123090612c1c565b60405180910390fd5b600b5482111561127e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127590612c88565b60405180910390fd5b600081036112dd5781600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112d59190612aee565b925050819055505b6112e733836118e5565b5050565b80600760006112f86116c0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113a56116c0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113ea9190612067565b60405180910390a35050565b600d60009054906101000a900460ff1681565b6114148484846109e7565b60008373ffffffffffffffffffffffffffffffffffffffff163b146114765761143f848484846119c9565b611475576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061148782611661565b6114c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bd90612d1a565b60405180910390fd5b600e6114d183611b19565b6040516020016114e2929190612e45565b6040516020818303038152906040529050919050565b60095481565b611506611867565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115d4611867565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163a90612ee6565b60405180910390fd5b61164c81611903565b50565b611657611867565b80600c8190555050565b60008161166c6116c8565b1115801561167b575060005482105b80156116b9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080829050806116e06116c8565b11611766576000548110156117655760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611763575b6000810361175957600460008360019003935083815260200190815260200160002054905061172f565b8092505050611798565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611825868684611be7565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61186f611bf0565b73ffffffffffffffffffffffffffffffffffffffff1661188d610f9b565b73ffffffffffffffffffffffffffffffffffffffff16146118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da90612f52565b60405180910390fd5b565b6118ff828260405180602001604052806000815250611bf8565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026119ef6116c0565b8786866040518563ffffffff1660e01b8152600401611a119493929190612fc7565b6020604051808303816000875af1925050508015611a4d57506040513d601f19601f82011682018060405250810190611a4a9190613028565b60015b611ac6573d8060008114611a7d576040519150601f19603f3d011682016040523d82523d6000602084013e611a82565b606091505b506000815103611abe576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060006001611b2884611c95565b01905060008167ffffffffffffffff811115611b4757611b466122e6565b5b6040519080825280601f01601f191660200182016040528015611b795781602001600182028036833780820191505090505b509050600082602001820190505b600115611bdc578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611bd057611bcf613055565b5b04945060008503611b87575b819350505050919050565b60009392505050565b600033905090565b611c028383611de8565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611c9057600080549050600083820390505b611c4260008683806001019450866119c9565b611c78576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611c2f578160005414611c8d57600080fd5b50505b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611cf3577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611ce957611ce8613055565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611d30576d04ee2d6d415b85acef81000000008381611d2657611d25613055565b5b0492506020810190505b662386f26fc100008310611d5f57662386f26fc100008381611d5557611d54613055565b5b0492506010810190505b6305f5e1008310611d88576305f5e1008381611d7e57611d7d613055565b5b0492506008810190505b6127108310611dad576127108381611da357611da2613055565b5b0492506004810190505b60648310611dd05760648381611dc657611dc5613055565b5b0492506002810190505b600a8310611ddf576001810190505b80915050919050565b60008054905060008203611e28576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e356000848385611808565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611eac83611e9d600086600061180e565b611ea685611fa3565b17611836565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611f4d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611f12565b5060008203611f88576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611f9e6000848385611861565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611ffc81611fc7565b811461200757600080fd5b50565b60008135905061201981611ff3565b92915050565b60006020828403121561203557612034611fbd565b5b60006120438482850161200a565b91505092915050565b60008115159050919050565b6120618161204c565b82525050565b600060208201905061207c6000830184612058565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156120bc5780820151818401526020810190506120a1565b60008484015250505050565b6000601f19601f8301169050919050565b60006120e482612082565b6120ee818561208d565b93506120fe81856020860161209e565b612107816120c8565b840191505092915050565b6000602082019050818103600083015261212c81846120d9565b905092915050565b6000819050919050565b61214781612134565b811461215257600080fd5b50565b6000813590506121648161213e565b92915050565b6000602082840312156121805761217f611fbd565b5b600061218e84828501612155565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121c282612197565b9050919050565b6121d2816121b7565b82525050565b60006020820190506121ed60008301846121c9565b92915050565b6121fc816121b7565b811461220757600080fd5b50565b600081359050612219816121f3565b92915050565b6000806040838503121561223657612235611fbd565b5b60006122448582860161220a565b925050602061225585828601612155565b9150509250929050565b61226881612134565b82525050565b6000602082019050612283600083018461225f565b92915050565b6000806000606084860312156122a2576122a1611fbd565b5b60006122b08682870161220a565b93505060206122c18682870161220a565b92505060406122d286828701612155565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61231e826120c8565b810181811067ffffffffffffffff8211171561233d5761233c6122e6565b5b80604052505050565b6000612350611fb3565b905061235c8282612315565b919050565b600067ffffffffffffffff82111561237c5761237b6122e6565b5b612385826120c8565b9050602081019050919050565b82818337600083830152505050565b60006123b46123af84612361565b612346565b9050828152602081018484840111156123d0576123cf6122e1565b5b6123db848285612392565b509392505050565b600082601f8301126123f8576123f76122dc565b5b81356124088482602086016123a1565b91505092915050565b60006020828403121561242757612426611fbd565b5b600082013567ffffffffffffffff81111561244557612444611fc2565b5b612451848285016123e3565b91505092915050565b6000602082840312156124705761246f611fbd565b5b600061247e8482850161220a565b91505092915050565b6124908161204c565b811461249b57600080fd5b50565b6000813590506124ad81612487565b92915050565b600080604083850312156124ca576124c9611fbd565b5b60006124d88582860161220a565b92505060206124e98582860161249e565b9150509250929050565b600067ffffffffffffffff82111561250e5761250d6122e6565b5b612517826120c8565b9050602081019050919050565b6000612537612532846124f3565b612346565b905082815260208101848484011115612553576125526122e1565b5b61255e848285612392565b509392505050565b600082601f83011261257b5761257a6122dc565b5b813561258b848260208601612524565b91505092915050565b600080600080608085870312156125ae576125ad611fbd565b5b60006125bc8782880161220a565b94505060206125cd8782880161220a565b93505060406125de87828801612155565b925050606085013567ffffffffffffffff8111156125ff576125fe611fc2565b5b61260b87828801612566565b91505092959194509250565b6000806040838503121561262e5761262d611fbd565b5b600061263c8582860161220a565b925050602061264d8582860161220a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061269e57607f821691505b6020821081036126b1576126b0612657565b5b50919050565b600081905092915050565b50565b60006126d26000836126b7565b91506126dd826126c2565b600082019050919050565b60006126f3826126c5565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000612733600f8361208d565b915061273e826126fd565b602082019050919050565b6000602082019050818103600083015261276281612726565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026127cb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261278e565b6127d5868361278e565b95508019841693508086168417925050509392505050565b6000819050919050565b600061281261280d61280884612134565b6127ed565b612134565b9050919050565b6000819050919050565b61282c836127f7565b61284061283882612819565b84845461279b565b825550505050565b600090565b612855612848565b612860818484612823565b505050565b5b818110156128845761287960008261284d565b600181019050612866565b5050565b601f8211156128c95761289a81612769565b6128a38461277e565b810160208510156128b2578190505b6128c66128be8561277e565b830182612865565b50505b505050565b600082821c905092915050565b60006128ec600019846008026128ce565b1980831691505092915050565b600061290583836128db565b9150826002028217905092915050565b61291e82612082565b67ffffffffffffffff811115612937576129366122e6565b5b6129418254612686565b61294c828285612888565b600060209050601f83116001811461297f576000841561296d578287015190505b61297785826128f9565b8655506129df565b601f19841661298d86612769565b60005b828110156129b557848901518255600182019150602085019450602081019050612990565b868310156129d257848901516129ce601f8916826128db565b8355505b6001600288020188555050505b505050505050565b7f4d696e74696e6720697320706175736564000000000000000000000000000000600082015250565b6000612a1d60118361208d565b9150612a28826129e7565b602082019050919050565b60006020820190508181036000830152612a4c81612a10565b9050919050565b7f4e6f20636f6e7472616374206d696e7400000000000000000000000000000000600082015250565b6000612a8960108361208d565b9150612a9482612a53565b602082019050919050565b60006020820190508181036000830152612ab881612a7c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612af982612134565b9150612b0483612134565b9250828201905080821115612b1c57612b1b612abf565b5b92915050565b6000612b2d82612134565b9150612b3883612134565b9250828202612b4681612134565b91508282048414831517612b5d57612b5c612abf565b5b5092915050565b7f57726f6e67206d696e7420707269636500000000000000000000000000000000600082015250565b6000612b9a60108361208d565b9150612ba582612b64565b602082019050919050565b60006020820190508181036000830152612bc981612b8d565b9050919050565b7f4d696e746564206f757400000000000000000000000000000000000000000000600082015250565b6000612c06600a8361208d565b9150612c1182612bd0565b602082019050919050565b60006020820190508181036000830152612c3581612bf9565b9050919050565b7f4d617820706572207472616e73616374696f6e20657863656564656400000000600082015250565b6000612c72601c8361208d565b9150612c7d82612c3c565b602082019050919050565b60006020820190508181036000830152612ca181612c65565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000612d04602f8361208d565b9150612d0f82612ca8565b604082019050919050565b60006020820190508181036000830152612d3381612cf7565b9050919050565b600081905092915050565b60008154612d5281612686565b612d5c8186612d3a565b94506001821660008114612d775760018114612d8c57612dbf565b60ff1983168652811515820286019350612dbf565b612d9585612769565b60005b83811015612db757815481890152600182019150602081019050612d98565b838801955050505b50505092915050565b6000612dd382612082565b612ddd8185612d3a565b9350612ded81856020860161209e565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612e2f600583612d3a565b9150612e3a82612df9565b600582019050919050565b6000612e518285612d45565b9150612e5d8284612dc8565b9150612e6882612e22565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612ed060268361208d565b9150612edb82612e74565b604082019050919050565b60006020820190508181036000830152612eff81612ec3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612f3c60208361208d565b9150612f4782612f06565b602082019050919050565b60006020820190508181036000830152612f6b81612f2f565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000612f9982612f72565b612fa38185612f7d565b9350612fb381856020860161209e565b612fbc816120c8565b840191505092915050565b6000608082019050612fdc60008301876121c9565b612fe960208301866121c9565b612ff6604083018561225f565b81810360608301526130088184612f8e565b905095945050505050565b60008151905061302281611ff3565b92915050565b60006020828403121561303e5761303d611fbd565b5b600061304c84828501613013565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea2646970667358221220bcc624cdaad072100d9ce61bcddfb4970135de2187e2e14c6fab67088fe1306664736f6c63430008120033
Deployed Bytecode Sourcemap
72437:2573:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39345:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;40247:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46738:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46171:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;35998:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50377:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74423:99;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74802:205;;;;;;;;;;;;;:::i;:::-;;53298:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74684:110;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74124:88;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;41640:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72548:39;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72719:21;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;37182:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20124:103;;;;;;;;;;;;;:::i;:::-;;72633:39;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19483:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;74319:96;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;40423:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72855:678;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;47296:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;72679:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54089:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;73541:350;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72511:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;74220:91;;;;;;;;;;;;;:::i;:::-;;72594:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47687:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20382:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74530:146;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;39345:639;39430:4;39769:10;39754:25;;:11;:25;;;;:102;;;;39846:10;39831:25;;:11;:25;;;;39754:102;:179;;;;39923:10;39908:25;;:11;:25;;;;39754:179;39734:199;;39345:639;;;:::o;40247:100::-;40301:13;40334:5;40327:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40247:100;:::o;46738:218::-;46814:7;46839:16;46847:7;46839;:16::i;:::-;46834:64;;46864:34;;;;;;;;;;;;;;46834:64;46918:15;:24;46934:7;46918:24;;;;;;;;;;;:30;;;;;;;;;;;;46911:37;;46738:218;;;:::o;46171:408::-;46260:13;46276:16;46284:7;46276;:16::i;:::-;46260:32;;46332:5;46309:28;;:19;:17;:19::i;:::-;:28;;;46305:175;;46357:44;46374:5;46381:19;:17;:19::i;:::-;46357:16;:44::i;:::-;46352:128;;46429:35;;;;;;;;;;;;;;46352:128;46305:175;46525:2;46492:15;:24;46508:7;46492:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;46563:7;46559:2;46543:28;;46552:5;46543:28;;;;;;;;;;;;46249:330;46171:408;;:::o;35998:323::-;36059:7;36287:15;:13;:15::i;:::-;36272:12;;36256:13;;:28;:46;36249:53;;35998:323;:::o;50377:2825::-;50519:27;50549;50568:7;50549:18;:27::i;:::-;50519:57;;50634:4;50593:45;;50609:19;50593:45;;;50589:86;;50647:28;;;;;;;;;;;;;;50589:86;50689:27;50718:23;50745:35;50772:7;50745:26;:35::i;:::-;50688:92;;;;50880:68;50905:15;50922:4;50928:19;:17;:19::i;:::-;50880:24;:68::i;:::-;50875:180;;50968:43;50985:4;50991:19;:17;:19::i;:::-;50968:16;:43::i;:::-;50963:92;;51020:35;;;;;;;;;;;;;;50963:92;50875:180;51086:1;51072:16;;:2;:16;;;51068:52;;51097:23;;;;;;;;;;;;;;51068:52;51133:43;51155:4;51161:2;51165:7;51174:1;51133:21;:43::i;:::-;51269:15;51266:160;;;51409:1;51388:19;51381:30;51266:160;51806:18;:24;51825:4;51806:24;;;;;;;;;;;;;;;;51804:26;;;;;;;;;;;;51875:18;:22;51894:2;51875:22;;;;;;;;;;;;;;;;51873:24;;;;;;;;;;;52197:146;52234:2;52283:45;52298:4;52304:2;52308:19;52283:14;:45::i;:::-;32397:8;52255:73;52197:18;:146::i;:::-;52168:17;:26;52186:7;52168:26;;;;;;;;;;;:175;;;;52514:1;32397:8;52463:19;:47;:52;52459:627;;52536:19;52568:1;52558:7;:11;52536:33;;52725:1;52691:17;:30;52709:11;52691:30;;;;;;;;;;;;:35;52687:384;;52829:13;;52814:11;:28;52810:242;;53009:19;52976:17;:30;52994:11;52976:30;;;;;;;;;;;:52;;;;52810:242;52687:384;52517:569;52459:627;53133:7;53129:2;53114:27;;53123:4;53114:27;;;;;;;;;;;;53152:42;53173:4;53179:2;53183:7;53192:1;53152:20;:42::i;:::-;50508:2694;;;50377:2825;;;:::o;74423:99::-;19369:13;:11;:13::i;:::-;74504:10:::1;74492:9;:22;;;;74423:99:::0;:::o;74802:205::-;19369:13;:11;:13::i;:::-;74853:12:::1;74879:10;74871:24;;74917:21;74871:82;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74852:101;;;74972:7;74964:35;;;;;;;;;;;;:::i;:::-;;;;;;;;;74841:166;74802:205::o:0;53298:193::-;53444:39;53461:4;53467:2;53471:7;53444:39;;;;;;;;;;;;:16;:39::i;:::-;53298:193;;;:::o;74684:110::-;19369:13;:11;:13::i;:::-;74763:23:::1;74773:3;74778:7;74763:9;:23::i;:::-;74684:110:::0;;:::o;74124:88::-;19369:13;:11;:13::i;:::-;74201:3:::1;74191:7;:13;;;;;;:::i;:::-;;74124:88:::0;:::o;41640:152::-;41712:7;41755:27;41774:7;41755:18;:27::i;:::-;41732:52;;41640:152;;;:::o;72548:39::-;;;;:::o;72719:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37182:233::-;37254:7;37295:1;37278:19;;:5;:19;;;37274:60;;37306:28;;;;;;;;;;;;;;37274:60;31341:13;37352:18;:25;37371:5;37352:25;;;;;;;;;;;;;;;;:55;37345:62;;37182:233;;;:::o;20124:103::-;19369:13;:11;:13::i;:::-;20189:30:::1;20216:1;20189:18;:30::i;:::-;20124:103::o:0;72633:39::-;;;;:::o;19483:87::-;19529:7;19556:6;;;;;;;;;;;19549:13;;19483:87;:::o;74319:96::-;19369:13;:11;:13::i;:::-;74398:9:::1;74386;:21;;;;74319:96:::0;:::o;40423:104::-;40479:13;40512:7;40505:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40423:104;:::o;72855:678::-;72920:11;;;;;;;;;;;72912:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;72985:10;72972:23;;:9;:23;;;72964:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;73029:12;73058:1;73045:9;:14;:94;;;;;73118:20;;73109:5;73077:17;:29;73095:10;73077:29;;;;;;;;;;;;;;;;:37;;;;:::i;:::-;:61;;73045:94;73044:138;;73173:9;;73044:138;;;73156:1;73044:138;73029:153;;73224:4;73216:5;:12;;;;:::i;:::-;73203:9;:25;;73195:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;73293:9;;73284:5;73268:13;:11;:13::i;:::-;:21;;;;:::i;:::-;:34;;73260:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;73347:12;;73338:5;:21;;73330:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;73417:1;73409:4;:9;73405:80;;73468:5;73435:17;:29;73453:10;73435:29;;;;;;;;;;;;;;;;:38;;;;;;;:::i;:::-;;;;;;;;73405:80;73497:28;73507:10;73519:5;73497:9;:28::i;:::-;72901:632;72855:678;:::o;47296:234::-;47443:8;47391:18;:39;47410:19;:17;:19::i;:::-;47391:39;;;;;;;;;;;;;;;:49;47431:8;47391:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;47503:8;47467:55;;47482:19;:17;:19::i;:::-;47467:55;;;47513:8;47467:55;;;;;;:::i;:::-;;;;;;;;47296:234;;:::o;72679:31::-;;;;;;;;;;;;;:::o;54089:407::-;54264:31;54277:4;54283:2;54287:7;54264:12;:31::i;:::-;54328:1;54310:2;:14;;;:19;54306:183;;54349:56;54380:4;54386:2;54390:7;54399:5;54349:30;:56::i;:::-;54344:145;;54433:40;;;;;;;;;;;;;;54344:145;54306:183;54089:407;;;;:::o;73541:350::-;73659:13;73712:16;73720:7;73712;:16::i;:::-;73690:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;73845:7;73854:18;:7;:16;:18::i;:::-;73828:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;73814:69;;73541:350;;;:::o;72511:30::-;;;;:::o;74220:91::-;19369:13;:11;:13::i;:::-;74292:11:::1;;;;;;;;;;;74291:12;74277:11;;:26;;;;;;;;;;;;;;;;;;74220:91::o:0;72594:32::-;;;;:::o;47687:164::-;47784:4;47808:18;:25;47827:5;47808:25;;;;;;;;;;;;;;;:35;47834:8;47808:35;;;;;;;;;;;;;;;;;;;;;;;;;47801:42;;47687:164;;;;:::o;20382:201::-;19369:13;:11;:13::i;:::-;20491:1:::1;20471:22;;:8;:22;;::::0;20463:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;20547:28;20566:8;20547:18;:28::i;:::-;20382:201:::0;:::o;74530:146::-;19369:13;:11;:13::i;:::-;74647:21:::1;74624:20;:44;;;;74530:146:::0;:::o;48109:282::-;48174:4;48230:7;48211:15;:13;:15::i;:::-;:26;;:66;;;;;48264:13;;48254:7;:23;48211:66;:153;;;;;48363:1;32117:8;48315:17;:26;48333:7;48315:26;;;;;;;;;;;;:44;:49;48211:153;48191:173;;48109:282;;;:::o;70417:105::-;70477:7;70504:10;70497:17;;70417:105;:::o;74015:101::-;74080:7;74107:1;74100:8;;74015:101;:::o;42795:1275::-;42862:7;42882:12;42897:7;42882:22;;42965:4;42946:15;:13;:15::i;:::-;:23;42942:1061;;42999:13;;42992:4;:20;42988:1015;;;43037:14;43054:17;:23;43072:4;43054:23;;;;;;;;;;;;43037:40;;43171:1;32117:8;43143:6;:24;:29;43139:845;;43808:113;43825:1;43815:6;:11;43808:113;;43868:17;:25;43886:6;;;;;;;43868:25;;;;;;;;;;;;43859:34;;43808:113;;;43954:6;43947:13;;;;;;43139:845;43014:989;42988:1015;42942:1061;44031:31;;;;;;;;;;;;;;42795:1275;;;;:::o;49272:485::-;49374:27;49403:23;49444:38;49485:15;:24;49501:7;49485:24;;;;;;;;;;;49444:65;;49662:18;49639:41;;49719:19;49713:26;49694:45;;49624:126;49272:485;;;:::o;48500:659::-;48649:11;48814:16;48807:5;48803:28;48794:37;;48974:16;48963:9;48959:32;48946:45;;49124:15;49113:9;49110:30;49102:5;49091:9;49088:20;49085:56;49075:66;;48500:659;;;;;:::o;55158:159::-;;;;;:::o;69726:311::-;69861:7;69881:16;32521:3;69907:19;:41;;69881:68;;32521:3;69975:31;69986:4;69992:2;69996:9;69975:10;:31::i;:::-;69967:40;;:62;;69960:69;;;69726:311;;;;;:::o;44618:450::-;44698:14;44866:16;44859:5;44855:28;44846:37;;45043:5;45029:11;45004:23;45000:41;44997:52;44990:5;44987:63;44977:73;;44618:450;;;;:::o;55982:158::-;;;;;:::o;19648:132::-;19723:12;:10;:12::i;:::-;19712:23;;:7;:5;:7::i;:::-;:23;;;19704:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;19648:132::o;64249:112::-;64326:27;64336:2;64340:8;64326:27;;;;;;;;;;;;:9;:27::i;:::-;64249:112;;:::o;20743:191::-;20817:16;20836:6;;;;;;;;;;;20817:25;;20862:8;20853:6;;:17;;;;;;;;;;;;;;;;;;20917:8;20886:40;;20907:8;20886:40;;;;;;;;;;;;20806:128;20743:191;:::o;56580:716::-;56743:4;56789:2;56764:45;;;56810:19;:17;:19::i;:::-;56831:4;56837:7;56846:5;56764:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;56760:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57064:1;57047:6;:13;:18;57043:235;;57093:40;;;;;;;;;;;;;;57043:235;57236:6;57230:13;57221:6;57217:2;57213:15;57206:38;56760:529;56933:54;;;56923:64;;;:6;:64;;;;56916:71;;;56580:716;;;;;;:::o;14953:::-;15009:13;15060:14;15097:1;15077:17;15088:5;15077:10;:17::i;:::-;:21;15060:38;;15113:20;15147:6;15136:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15113:41;;15169:11;15298:6;15294:2;15290:15;15282:6;15278:28;15271:35;;15335:288;15342:4;15335:288;;;15367:5;;;;;;;;15509:8;15504:2;15497:5;15493:14;15488:30;15483:3;15475:44;15565:2;15556:11;;;;;;:::i;:::-;;;;;15599:1;15590:5;:10;15335:288;15586:21;15335:288;15644:6;15637:13;;;;;14953:716;;;:::o;69427:147::-;69564:6;69427:147;;;;;:::o;18034:98::-;18087:7;18114:10;18107:17;;18034:98;:::o;63476:689::-;63607:19;63613:2;63617:8;63607:5;:19::i;:::-;63686:1;63668:2;:14;;;:19;63664:483;;63708:11;63722:13;;63708:27;;63754:13;63776:8;63770:3;:14;63754:30;;63803:233;63834:62;63873:1;63877:2;63881:7;;;;;;63890:5;63834:30;:62::i;:::-;63829:167;;63932:40;;;;;;;;;;;;;;63829:167;64031:3;64023:5;:11;63803:233;;64118:3;64101:13;;:20;64097:34;;64123:8;;;64097:34;63689:458;;63664:483;63476:689;;;:::o;11787:948::-;11840:7;11860:14;11877:1;11860:18;;11927:8;11918:5;:17;11914:106;;11965:8;11956:17;;;;;;:::i;:::-;;;;;12002:2;11992:12;;;;11914:106;12047:8;12038:5;:17;12034:106;;12085:8;12076:17;;;;;;:::i;:::-;;;;;12122:2;12112:12;;;;12034:106;12167:8;12158:5;:17;12154:106;;12205:8;12196:17;;;;;;:::i;:::-;;;;;12242:2;12232:12;;;;12154:106;12287:7;12278:5;:16;12274:103;;12324:7;12315:16;;;;;;:::i;:::-;;;;;12360:1;12350:11;;;;12274:103;12404:7;12395:5;:16;12391:103;;12441:7;12432:16;;;;;;:::i;:::-;;;;;12477:1;12467:11;;;;12391:103;12521:7;12512:5;:16;12508:103;;12558:7;12549:16;;;;;;:::i;:::-;;;;;12594:1;12584:11;;;;12508:103;12638:7;12629:5;:16;12625:68;;12676:1;12666:11;;;;12625:68;12721:6;12714:13;;;11787:948;;;:::o;57758:2966::-;57831:20;57854:13;;57831:36;;57894:1;57882:8;:13;57878:44;;57904:18;;;;;;;;;;;;;;57878:44;57935:61;57965:1;57969:2;57973:12;57987:8;57935:21;:61::i;:::-;58479:1;31479:2;58449:1;:26;;58448:32;58436:8;:45;58410:18;:22;58429:2;58410:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;58758:139;58795:2;58849:33;58872:1;58876:2;58880:1;58849:14;:33::i;:::-;58816:30;58837:8;58816:20;:30::i;:::-;:66;58758:18;:139::i;:::-;58724:17;:31;58742:12;58724:31;;;;;;;;;;;:173;;;;58914:16;58945:11;58974:8;58959:12;:23;58945:37;;59495:16;59491:2;59487:25;59475:37;;59867:12;59827:8;59786:1;59724:25;59665:1;59604;59577:335;60238:1;60224:12;60220:20;60178:346;60279:3;60270:7;60267:16;60178:346;;60497:7;60487:8;60484:1;60457:25;60454:1;60451;60446:59;60332:1;60323:7;60319:15;60308:26;;60178:346;;;60182:77;60569:1;60557:8;:13;60553:45;;60579:19;;;;;;;;;;;;;;60553:45;60631:3;60615:13;:19;;;;58184:2462;;60656:60;60685:1;60689:2;60693:12;60707:8;60656:20;:60::i;:::-;57820:2904;57758:2966;;:::o;45170:324::-;45240:14;45473:1;45463:8;45460:15;45434:24;45430:46;45420:56;;45170:324;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:246::-;1879:1;1889:113;1903:6;1900:1;1897:13;1889:113;;;1988:1;1983:3;1979:11;1973:18;1969:1;1964:3;1960:11;1953:39;1925:2;1922:1;1918:10;1913:15;;1889:113;;;2036:1;2027:6;2022:3;2018:16;2011:27;1860:184;1798:246;;;:::o;2050:102::-;2091:6;2142:2;2138:7;2133:2;2126:5;2122:14;2118:28;2108:38;;2050:102;;;:::o;2158:377::-;2246:3;2274:39;2307:5;2274:39;:::i;:::-;2329:71;2393:6;2388:3;2329:71;:::i;:::-;2322:78;;2409:65;2467:6;2462:3;2455:4;2448:5;2444:16;2409:65;:::i;:::-;2499:29;2521:6;2499:29;:::i;:::-;2494:3;2490:39;2483:46;;2250:285;2158:377;;;;:::o;2541:313::-;2654:4;2692:2;2681:9;2677:18;2669:26;;2741:9;2735:4;2731:20;2727:1;2716:9;2712:17;2705:47;2769:78;2842:4;2833:6;2769:78;:::i;:::-;2761:86;;2541:313;;;;:::o;2860:77::-;2897:7;2926:5;2915:16;;2860:77;;;:::o;2943:122::-;3016:24;3034:5;3016:24;:::i;:::-;3009:5;3006:35;2996:63;;3055:1;3052;3045:12;2996:63;2943:122;:::o;3071:139::-;3117:5;3155:6;3142:20;3133:29;;3171:33;3198:5;3171:33;:::i;:::-;3071:139;;;;:::o;3216:329::-;3275:6;3324:2;3312:9;3303:7;3299:23;3295:32;3292:119;;;3330:79;;:::i;:::-;3292:119;3450:1;3475:53;3520:7;3511:6;3500:9;3496:22;3475:53;:::i;:::-;3465:63;;3421:117;3216:329;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:118::-;4977:24;4995:5;4977:24;:::i;:::-;4972:3;4965:37;4890:118;;:::o;5014:222::-;5107:4;5145:2;5134:9;5130:18;5122:26;;5158:71;5226:1;5215:9;5211:17;5202:6;5158:71;:::i;:::-;5014:222;;;;:::o;5242:619::-;5319:6;5327;5335;5384:2;5372:9;5363:7;5359:23;5355:32;5352:119;;;5390:79;;:::i;:::-;5352:119;5510:1;5535:53;5580:7;5571:6;5560:9;5556:22;5535:53;:::i;:::-;5525:63;;5481:117;5637:2;5663:53;5708:7;5699:6;5688:9;5684:22;5663:53;:::i;:::-;5653:63;;5608:118;5765:2;5791:53;5836:7;5827:6;5816:9;5812:22;5791:53;:::i;:::-;5781:63;;5736:118;5242:619;;;;;:::o;5867:117::-;5976:1;5973;5966:12;5990:117;6099:1;6096;6089:12;6113:180;6161:77;6158:1;6151:88;6258:4;6255:1;6248:15;6282:4;6279:1;6272:15;6299:281;6382:27;6404:4;6382:27;:::i;:::-;6374:6;6370:40;6512:6;6500:10;6497:22;6476:18;6464:10;6461:34;6458:62;6455:88;;;6523:18;;:::i;:::-;6455:88;6563:10;6559:2;6552:22;6342:238;6299:281;;:::o;6586:129::-;6620:6;6647:20;;:::i;:::-;6637:30;;6676:33;6704:4;6696:6;6676:33;:::i;:::-;6586:129;;;:::o;6721:308::-;6783:4;6873:18;6865:6;6862:30;6859:56;;;6895:18;;:::i;:::-;6859:56;6933:29;6955:6;6933:29;:::i;:::-;6925:37;;7017:4;7011;7007:15;6999:23;;6721:308;;;:::o;7035:146::-;7132:6;7127:3;7122;7109:30;7173:1;7164:6;7159:3;7155:16;7148:27;7035:146;;;:::o;7187:425::-;7265:5;7290:66;7306:49;7348:6;7306:49;:::i;:::-;7290:66;:::i;:::-;7281:75;;7379:6;7372:5;7365:21;7417:4;7410:5;7406:16;7455:3;7446:6;7441:3;7437:16;7434:25;7431:112;;;7462:79;;:::i;:::-;7431:112;7552:54;7599:6;7594:3;7589;7552:54;:::i;:::-;7271:341;7187:425;;;;;:::o;7632:340::-;7688:5;7737:3;7730:4;7722:6;7718:17;7714:27;7704:122;;7745:79;;:::i;:::-;7704:122;7862:6;7849:20;7887:79;7962:3;7954:6;7947:4;7939:6;7935:17;7887:79;:::i;:::-;7878:88;;7694:278;7632:340;;;;:::o;7978:509::-;8047:6;8096:2;8084:9;8075:7;8071:23;8067:32;8064:119;;;8102:79;;:::i;:::-;8064:119;8250:1;8239:9;8235:17;8222:31;8280:18;8272:6;8269:30;8266:117;;;8302:79;;:::i;:::-;8266:117;8407:63;8462:7;8453:6;8442:9;8438:22;8407:63;:::i;:::-;8397:73;;8193:287;7978:509;;;;:::o;8493:329::-;8552:6;8601:2;8589:9;8580:7;8576:23;8572:32;8569:119;;;8607:79;;:::i;:::-;8569:119;8727:1;8752:53;8797:7;8788:6;8777:9;8773:22;8752:53;:::i;:::-;8742:63;;8698:117;8493:329;;;;:::o;8828:116::-;8898:21;8913:5;8898:21;:::i;:::-;8891:5;8888:32;8878:60;;8934:1;8931;8924:12;8878:60;8828:116;:::o;8950:133::-;8993:5;9031:6;9018:20;9009:29;;9047:30;9071:5;9047:30;:::i;:::-;8950:133;;;;:::o;9089:468::-;9154:6;9162;9211:2;9199:9;9190:7;9186:23;9182:32;9179:119;;;9217:79;;:::i;:::-;9179:119;9337:1;9362:53;9407:7;9398:6;9387:9;9383:22;9362:53;:::i;:::-;9352:63;;9308:117;9464:2;9490:50;9532:7;9523:6;9512:9;9508:22;9490:50;:::i;:::-;9480:60;;9435:115;9089:468;;;;;:::o;9563:307::-;9624:4;9714:18;9706:6;9703:30;9700:56;;;9736:18;;:::i;:::-;9700:56;9774:29;9796:6;9774:29;:::i;:::-;9766:37;;9858:4;9852;9848:15;9840:23;;9563:307;;;:::o;9876:423::-;9953:5;9978:65;9994:48;10035:6;9994:48;:::i;:::-;9978:65;:::i;:::-;9969:74;;10066:6;10059:5;10052:21;10104:4;10097:5;10093:16;10142:3;10133:6;10128:3;10124:16;10121:25;10118:112;;;10149:79;;:::i;:::-;10118:112;10239:54;10286:6;10281:3;10276;10239:54;:::i;:::-;9959:340;9876:423;;;;;:::o;10318:338::-;10373:5;10422:3;10415:4;10407:6;10403:17;10399:27;10389:122;;10430:79;;:::i;:::-;10389:122;10547:6;10534:20;10572:78;10646:3;10638:6;10631:4;10623:6;10619:17;10572:78;:::i;:::-;10563:87;;10379:277;10318:338;;;;:::o;10662:943::-;10757:6;10765;10773;10781;10830:3;10818:9;10809:7;10805:23;10801:33;10798:120;;;10837:79;;:::i;:::-;10798:120;10957:1;10982:53;11027:7;11018:6;11007:9;11003:22;10982:53;:::i;:::-;10972:63;;10928:117;11084:2;11110:53;11155:7;11146:6;11135:9;11131:22;11110:53;:::i;:::-;11100:63;;11055:118;11212:2;11238:53;11283:7;11274:6;11263:9;11259:22;11238:53;:::i;:::-;11228:63;;11183:118;11368:2;11357:9;11353:18;11340:32;11399:18;11391:6;11388:30;11385:117;;;11421:79;;:::i;:::-;11385:117;11526:62;11580:7;11571:6;11560:9;11556:22;11526:62;:::i;:::-;11516:72;;11311:287;10662:943;;;;;;;:::o;11611:474::-;11679:6;11687;11736:2;11724:9;11715:7;11711:23;11707:32;11704:119;;;11742:79;;:::i;:::-;11704:119;11862:1;11887:53;11932:7;11923:6;11912:9;11908:22;11887:53;:::i;:::-;11877:63;;11833:117;11989:2;12015:53;12060:7;12051:6;12040:9;12036:22;12015:53;:::i;:::-;12005:63;;11960:118;11611:474;;;;;:::o;12091:180::-;12139:77;12136:1;12129:88;12236:4;12233:1;12226:15;12260:4;12257:1;12250:15;12277:320;12321:6;12358:1;12352:4;12348:12;12338:22;;12405:1;12399:4;12395:12;12426:18;12416:81;;12482:4;12474:6;12470:17;12460:27;;12416:81;12544:2;12536:6;12533:14;12513:18;12510:38;12507:84;;12563:18;;:::i;:::-;12507:84;12328:269;12277:320;;;:::o;12603:147::-;12704:11;12741:3;12726:18;;12603:147;;;;:::o;12756:114::-;;:::o;12876:398::-;13035:3;13056:83;13137:1;13132:3;13056:83;:::i;:::-;13049:90;;13148:93;13237:3;13148:93;:::i;:::-;13266:1;13261:3;13257:11;13250:18;;12876:398;;;:::o;13280:379::-;13464:3;13486:147;13629:3;13486:147;:::i;:::-;13479:154;;13650:3;13643:10;;13280:379;;;:::o;13665:165::-;13805:17;13801:1;13793:6;13789:14;13782:41;13665:165;:::o;13836:366::-;13978:3;13999:67;14063:2;14058:3;13999:67;:::i;:::-;13992:74;;14075:93;14164:3;14075:93;:::i;:::-;14193:2;14188:3;14184:12;14177:19;;13836:366;;;:::o;14208:419::-;14374:4;14412:2;14401:9;14397:18;14389:26;;14461:9;14455:4;14451:20;14447:1;14436:9;14432:17;14425:47;14489:131;14615:4;14489:131;:::i;:::-;14481:139;;14208:419;;;:::o;14633:141::-;14682:4;14705:3;14697:11;;14728:3;14725:1;14718:14;14762:4;14759:1;14749:18;14741:26;;14633:141;;;:::o;14780:93::-;14817:6;14864:2;14859;14852:5;14848:14;14844:23;14834:33;;14780:93;;;:::o;14879:107::-;14923:8;14973:5;14967:4;14963:16;14942:37;;14879:107;;;;:::o;14992:393::-;15061:6;15111:1;15099:10;15095:18;15134:97;15164:66;15153:9;15134:97;:::i;:::-;15252:39;15282:8;15271:9;15252:39;:::i;:::-;15240:51;;15324:4;15320:9;15313:5;15309:21;15300:30;;15373:4;15363:8;15359:19;15352:5;15349:30;15339:40;;15068:317;;14992:393;;;;;:::o;15391:60::-;15419:3;15440:5;15433:12;;15391:60;;;:::o;15457:142::-;15507:9;15540:53;15558:34;15567:24;15585:5;15567:24;:::i;:::-;15558:34;:::i;:::-;15540:53;:::i;:::-;15527:66;;15457:142;;;:::o;15605:75::-;15648:3;15669:5;15662:12;;15605:75;;;:::o;15686:269::-;15796:39;15827:7;15796:39;:::i;:::-;15857:91;15906:41;15930:16;15906:41;:::i;:::-;15898:6;15891:4;15885:11;15857:91;:::i;:::-;15851:4;15844:105;15762:193;15686:269;;;:::o;15961:73::-;16006:3;15961:73;:::o;16040:189::-;16117:32;;:::i;:::-;16158:65;16216:6;16208;16202:4;16158:65;:::i;:::-;16093:136;16040:189;;:::o;16235:186::-;16295:120;16312:3;16305:5;16302:14;16295:120;;;16366:39;16403:1;16396:5;16366:39;:::i;:::-;16339:1;16332:5;16328:13;16319:22;;16295:120;;;16235:186;;:::o;16427:543::-;16528:2;16523:3;16520:11;16517:446;;;16562:38;16594:5;16562:38;:::i;:::-;16646:29;16664:10;16646:29;:::i;:::-;16636:8;16632:44;16829:2;16817:10;16814:18;16811:49;;;16850:8;16835:23;;16811:49;16873:80;16929:22;16947:3;16929:22;:::i;:::-;16919:8;16915:37;16902:11;16873:80;:::i;:::-;16532:431;;16517:446;16427:543;;;:::o;16976:117::-;17030:8;17080:5;17074:4;17070:16;17049:37;;16976:117;;;;:::o;17099:169::-;17143:6;17176:51;17224:1;17220:6;17212:5;17209:1;17205:13;17176:51;:::i;:::-;17172:56;17257:4;17251;17247:15;17237:25;;17150:118;17099:169;;;;:::o;17273:295::-;17349:4;17495:29;17520:3;17514:4;17495:29;:::i;:::-;17487:37;;17557:3;17554:1;17550:11;17544:4;17541:21;17533:29;;17273:295;;;;:::o;17573:1395::-;17690:37;17723:3;17690:37;:::i;:::-;17792:18;17784:6;17781:30;17778:56;;;17814:18;;:::i;:::-;17778:56;17858:38;17890:4;17884:11;17858:38;:::i;:::-;17943:67;18003:6;17995;17989:4;17943:67;:::i;:::-;18037:1;18061:4;18048:17;;18093:2;18085:6;18082:14;18110:1;18105:618;;;;18767:1;18784:6;18781:77;;;18833:9;18828:3;18824:19;18818:26;18809:35;;18781:77;18884:67;18944:6;18937:5;18884:67;:::i;:::-;18878:4;18871:81;18740:222;18075:887;;18105:618;18157:4;18153:9;18145:6;18141:22;18191:37;18223:4;18191:37;:::i;:::-;18250:1;18264:208;18278:7;18275:1;18272:14;18264:208;;;18357:9;18352:3;18348:19;18342:26;18334:6;18327:42;18408:1;18400:6;18396:14;18386:24;;18455:2;18444:9;18440:18;18427:31;;18301:4;18298:1;18294:12;18289:17;;18264:208;;;18500:6;18491:7;18488:19;18485:179;;;18558:9;18553:3;18549:19;18543:26;18601:48;18643:4;18635:6;18631:17;18620:9;18601:48;:::i;:::-;18593:6;18586:64;18508:156;18485:179;18710:1;18706;18698:6;18694:14;18690:22;18684:4;18677:36;18112:611;;;18075:887;;17665:1303;;;17573:1395;;:::o;18974:167::-;19114:19;19110:1;19102:6;19098:14;19091:43;18974:167;:::o;19147:366::-;19289:3;19310:67;19374:2;19369:3;19310:67;:::i;:::-;19303:74;;19386:93;19475:3;19386:93;:::i;:::-;19504:2;19499:3;19495:12;19488:19;;19147:366;;;:::o;19519:419::-;19685:4;19723:2;19712:9;19708:18;19700:26;;19772:9;19766:4;19762:20;19758:1;19747:9;19743:17;19736:47;19800:131;19926:4;19800:131;:::i;:::-;19792:139;;19519:419;;;:::o;19944:166::-;20084:18;20080:1;20072:6;20068:14;20061:42;19944:166;:::o;20116:366::-;20258:3;20279:67;20343:2;20338:3;20279:67;:::i;:::-;20272:74;;20355:93;20444:3;20355:93;:::i;:::-;20473:2;20468:3;20464:12;20457:19;;20116:366;;;:::o;20488:419::-;20654:4;20692:2;20681:9;20677:18;20669:26;;20741:9;20735:4;20731:20;20727:1;20716:9;20712:17;20705:47;20769:131;20895:4;20769:131;:::i;:::-;20761:139;;20488:419;;;:::o;20913:180::-;20961:77;20958:1;20951:88;21058:4;21055:1;21048:15;21082:4;21079:1;21072:15;21099:191;21139:3;21158:20;21176:1;21158:20;:::i;:::-;21153:25;;21192:20;21210:1;21192:20;:::i;:::-;21187:25;;21235:1;21232;21228:9;21221:16;;21256:3;21253:1;21250:10;21247:36;;;21263:18;;:::i;:::-;21247:36;21099:191;;;;:::o;21296:410::-;21336:7;21359:20;21377:1;21359:20;:::i;:::-;21354:25;;21393:20;21411:1;21393:20;:::i;:::-;21388:25;;21448:1;21445;21441:9;21470:30;21488:11;21470:30;:::i;:::-;21459:41;;21649:1;21640:7;21636:15;21633:1;21630:22;21610:1;21603:9;21583:83;21560:139;;21679:18;;:::i;:::-;21560:139;21344:362;21296:410;;;;:::o;21712:166::-;21852:18;21848:1;21840:6;21836:14;21829:42;21712:166;:::o;21884:366::-;22026:3;22047:67;22111:2;22106:3;22047:67;:::i;:::-;22040:74;;22123:93;22212:3;22123:93;:::i;:::-;22241:2;22236:3;22232:12;22225:19;;21884:366;;;:::o;22256:419::-;22422:4;22460:2;22449:9;22445:18;22437:26;;22509:9;22503:4;22499:20;22495:1;22484:9;22480:17;22473:47;22537:131;22663:4;22537:131;:::i;:::-;22529:139;;22256:419;;;:::o;22681:160::-;22821:12;22817:1;22809:6;22805:14;22798:36;22681:160;:::o;22847:366::-;22989:3;23010:67;23074:2;23069:3;23010:67;:::i;:::-;23003:74;;23086:93;23175:3;23086:93;:::i;:::-;23204:2;23199:3;23195:12;23188:19;;22847:366;;;:::o;23219:419::-;23385:4;23423:2;23412:9;23408:18;23400:26;;23472:9;23466:4;23462:20;23458:1;23447:9;23443:17;23436:47;23500:131;23626:4;23500:131;:::i;:::-;23492:139;;23219:419;;;:::o;23644:178::-;23784:30;23780:1;23772:6;23768:14;23761:54;23644:178;:::o;23828:366::-;23970:3;23991:67;24055:2;24050:3;23991:67;:::i;:::-;23984:74;;24067:93;24156:3;24067:93;:::i;:::-;24185:2;24180:3;24176:12;24169:19;;23828:366;;;:::o;24200:419::-;24366:4;24404:2;24393:9;24389:18;24381:26;;24453:9;24447:4;24443:20;24439:1;24428:9;24424:17;24417:47;24481:131;24607:4;24481:131;:::i;:::-;24473:139;;24200:419;;;:::o;24625:234::-;24765:34;24761:1;24753:6;24749:14;24742:58;24834:17;24829:2;24821:6;24817:15;24810:42;24625:234;:::o;24865:366::-;25007:3;25028:67;25092:2;25087:3;25028:67;:::i;:::-;25021:74;;25104:93;25193:3;25104:93;:::i;:::-;25222:2;25217:3;25213:12;25206:19;;24865:366;;;:::o;25237:419::-;25403:4;25441:2;25430:9;25426:18;25418:26;;25490:9;25484:4;25480:20;25476:1;25465:9;25461:17;25454:47;25518:131;25644:4;25518:131;:::i;:::-;25510:139;;25237:419;;;:::o;25662:148::-;25764:11;25801:3;25786:18;;25662:148;;;;:::o;25840:874::-;25943:3;25980:5;25974:12;26009:36;26035:9;26009:36;:::i;:::-;26061:89;26143:6;26138:3;26061:89;:::i;:::-;26054:96;;26181:1;26170:9;26166:17;26197:1;26192:166;;;;26372:1;26367:341;;;;26159:549;;26192:166;26276:4;26272:9;26261;26257:25;26252:3;26245:38;26338:6;26331:14;26324:22;26316:6;26312:35;26307:3;26303:45;26296:52;;26192:166;;26367:341;26434:38;26466:5;26434:38;:::i;:::-;26494:1;26508:154;26522:6;26519:1;26516:13;26508:154;;;26596:7;26590:14;26586:1;26581:3;26577:11;26570:35;26646:1;26637:7;26633:15;26622:26;;26544:4;26541:1;26537:12;26532:17;;26508:154;;;26691:6;26686:3;26682:16;26675:23;;26374:334;;26159:549;;25947:767;;25840:874;;;;:::o;26720:390::-;26826:3;26854:39;26887:5;26854:39;:::i;:::-;26909:89;26991:6;26986:3;26909:89;:::i;:::-;26902:96;;27007:65;27065:6;27060:3;27053:4;27046:5;27042:16;27007:65;:::i;:::-;27097:6;27092:3;27088:16;27081:23;;26830:280;26720:390;;;;:::o;27116:155::-;27256:7;27252:1;27244:6;27240:14;27233:31;27116:155;:::o;27277:400::-;27437:3;27458:84;27540:1;27535:3;27458:84;:::i;:::-;27451:91;;27551:93;27640:3;27551:93;:::i;:::-;27669:1;27664:3;27660:11;27653:18;;27277:400;;;:::o;27683:695::-;27961:3;27983:92;28071:3;28062:6;27983:92;:::i;:::-;27976:99;;28092:95;28183:3;28174:6;28092:95;:::i;:::-;28085:102;;28204:148;28348:3;28204:148;:::i;:::-;28197:155;;28369:3;28362:10;;27683:695;;;;;:::o;28384:225::-;28524:34;28520:1;28512:6;28508:14;28501:58;28593:8;28588:2;28580:6;28576:15;28569:33;28384:225;:::o;28615:366::-;28757:3;28778:67;28842:2;28837:3;28778:67;:::i;:::-;28771:74;;28854:93;28943:3;28854:93;:::i;:::-;28972:2;28967:3;28963:12;28956:19;;28615:366;;;:::o;28987:419::-;29153:4;29191:2;29180:9;29176:18;29168:26;;29240:9;29234:4;29230:20;29226:1;29215:9;29211:17;29204:47;29268:131;29394:4;29268:131;:::i;:::-;29260:139;;28987:419;;;:::o;29412:182::-;29552:34;29548:1;29540:6;29536:14;29529:58;29412:182;:::o;29600:366::-;29742:3;29763:67;29827:2;29822:3;29763:67;:::i;:::-;29756:74;;29839:93;29928:3;29839:93;:::i;:::-;29957:2;29952:3;29948:12;29941:19;;29600:366;;;:::o;29972:419::-;30138:4;30176:2;30165:9;30161:18;30153:26;;30225:9;30219:4;30215:20;30211:1;30200:9;30196:17;30189:47;30253:131;30379:4;30253:131;:::i;:::-;30245:139;;29972:419;;;:::o;30397:98::-;30448:6;30482:5;30476:12;30466:22;;30397:98;;;:::o;30501:168::-;30584:11;30618:6;30613:3;30606:19;30658:4;30653:3;30649:14;30634:29;;30501:168;;;;:::o;30675:373::-;30761:3;30789:38;30821:5;30789:38;:::i;:::-;30843:70;30906:6;30901:3;30843:70;:::i;:::-;30836:77;;30922:65;30980:6;30975:3;30968:4;30961:5;30957:16;30922:65;:::i;:::-;31012:29;31034:6;31012:29;:::i;:::-;31007:3;31003:39;30996:46;;30765:283;30675:373;;;;:::o;31054:640::-;31249:4;31287:3;31276:9;31272:19;31264:27;;31301:71;31369:1;31358:9;31354:17;31345:6;31301:71;:::i;:::-;31382:72;31450:2;31439:9;31435:18;31426:6;31382:72;:::i;:::-;31464;31532:2;31521:9;31517:18;31508:6;31464:72;:::i;:::-;31583:9;31577:4;31573:20;31568:2;31557:9;31553:18;31546:48;31611:76;31682:4;31673:6;31611:76;:::i;:::-;31603:84;;31054:640;;;;;;;:::o;31700:141::-;31756:5;31787:6;31781:13;31772:22;;31803:32;31829:5;31803:32;:::i;:::-;31700:141;;;;:::o;31847:349::-;31916:6;31965:2;31953:9;31944:7;31940:23;31936:32;31933:119;;;31971:79;;:::i;:::-;31933:119;32091:1;32116:63;32171:7;32162:6;32151:9;32147:22;32116:63;:::i;:::-;32106:73;;32062:127;31847:349;;;;:::o;32202:180::-;32250:77;32247:1;32240:88;32347:4;32344:1;32337:15;32371:4;32368:1;32361:15
Swarm Source
ipfs://bcc624cdaad072100d9ce61bcddfb4970135de2187e2e14c6fab67088fe13066
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.