Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,000 BM
Holders
216
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
20 BMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Bearishmigos
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-10-14 */ // 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/Bearishmigos.sol pragma solidity ^0.8.9; contract Bearishmigos is ERC721A, Ownable { using Strings for uint256; uint256 public maxSupply = 2000; uint256 public mintPrice = 0.001 ether; uint256 public maxMintPerTx = 10; uint256 public maxFreeMintPerWallet = 2; bool public mintStarted = false; string public baseURI = "ipfs://QmdE8TzJUhmbwyRpUU2kbtaWrZT7dtsXuGGvousKM5Hj4w/"; mapping(address => uint256) private _mintedFreeAmount; constructor() ERC721A("Bearishmigos", "BM") {} function mint(uint256 count) external payable { require(mintStarted, "Minting is not live yet."); 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, "Please send the exact amount."); require(totalSupply() + count <= maxSupply, "Sold out!"); require(count <= maxMintPerTx, "Max per tx reached."); 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 setSaleState() 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 teamMint(uint256 _number) external onlyOwner { _safeMint(_msgSender(), _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":"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":[],"name":"setSaleState","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":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"teamMint","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
60806040526107d060095566038d7ea4c68000600a55600a600b556002600c555f600d5f6101000a81548160ff021916908315150217905550604051806060016040528060368152602001620034ea60369139600e908162000062919062000473565b503480156200006f575f80fd5b506040518060400160405280600c81526020017f426561726973686d69676f7300000000000000000000000000000000000000008152506040518060400160405280600281526020017f424d0000000000000000000000000000000000000000000000000000000000008152508160029081620000ed919062000473565b508060039081620000ff919062000473565b50620001106200013d60201b60201c565b5f819055505050620001376200012b6200014560201b60201c565b6200014c60201b60201c565b62000557565b5f6001905090565b5f33905090565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200028b57607f821691505b602082108103620002a157620002a062000246565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620003057fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002c8565b620003118683620002c8565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6200035b620003556200034f8462000329565b62000332565b62000329565b9050919050565b5f819050919050565b62000376836200033b565b6200038e620003858262000362565b848454620002d4565b825550505050565b5f90565b620003a462000396565b620003b18184846200036b565b505050565b5b81811015620003d857620003cc5f826200039a565b600181019050620003b7565b5050565b601f8211156200042757620003f181620002a7565b620003fc84620002b9565b810160208510156200040c578190505b620004246200041b85620002b9565b830182620003b6565b50505b505050565b5f82821c905092915050565b5f620004495f19846008026200042c565b1980831691505092915050565b5f62000463838362000438565b9150826002028217905092915050565b6200047e826200020f565b67ffffffffffffffff8111156200049a576200049962000219565b5b620004a6825462000273565b620004b3828285620003dc565b5f60209050601f831160018114620004e9575f8415620004d4578287015190505b620004e0858262000456565b8655506200054f565b601f198416620004f986620002a7565b5f5b828110156200052257848901518255600182019150602085019450602081019050620004fb565b868310156200054257848901516200053e601f89168262000438565b8355505b6001600288020188555050505b505050505050565b612f8580620005655f395ff3fe6080604052600436106101d7575f3560e01c806370a0823111610101578063a9722cf311610094578063de7fcb1d11610063578063de7fcb1d14610617578063e985e9c514610641578063f2fde38b1461067d578063f77b1edd146106a5576101d7565b8063a9722cf31461056b578063b88d4fde14610595578063c87b56dd146105b1578063d5abeb01146105ed576101d7565b806391b7f5ed116100d057806391b7f5ed146104d557806395d89b41146104fd578063a0712d6814610527578063a22cb46514610543576101d7565b806370a082311461042f578063715018a61461046b578063845bb3bb146104815780638da5cb5b146104ab576101d7565b80632fbba1151161017957806355f804b31161014857806355f804b3146103775780636352211e1461039f5780636817c76c146103db5780636c0360eb14610405576101d7565b80632fbba115146102f55780633b4c4b251461031d5780633ccfd60b1461034557806342842e0e1461035b576101d7565b8063095ea7b3116101b5578063095ea7b31461027d57806318160ddd146102995780631ed40559146102c357806323b872dd146102d9576101d7565b806301ffc9a7146101db57806306fdde0314610217578063081812fc14610241575b5f80fd5b3480156101e6575f80fd5b5061020160048036038101906101fc9190611f76565b6106cd565b60405161020e9190611fbb565b60405180910390f35b348015610222575f80fd5b5061022b61075e565b604051610238919061205e565b60405180910390f35b34801561024c575f80fd5b50610267600480360381019061026291906120b1565b6107ee565b604051610274919061211b565b60405180910390f35b6102976004803603810190610292919061215e565b610868565b005b3480156102a4575f80fd5b506102ad6109a7565b6040516102ba91906121ab565b60405180910390f35b3480156102ce575f80fd5b506102d76109bc565b005b6102f360048036038101906102ee91906121c4565b6109ee565b005b348015610300575f80fd5b5061031b600480360381019061031691906120b1565b610cfc565b005b348015610328575f80fd5b50610343600480360381019061033e91906120b1565b610d18565b005b348015610350575f80fd5b50610359610d2a565b005b610375600480360381019061037091906121c4565b610ddd565b005b348015610382575f80fd5b5061039d60048036038101906103989190612340565b610dfc565b005b3480156103aa575f80fd5b506103c560048036038101906103c091906120b1565b610e17565b6040516103d2919061211b565b60405180910390f35b3480156103e6575f80fd5b506103ef610e28565b6040516103fc91906121ab565b60405180910390f35b348015610410575f80fd5b50610419610e2e565b604051610426919061205e565b60405180910390f35b34801561043a575f80fd5b5061045560048036038101906104509190612387565b610eba565b60405161046291906121ab565b60405180910390f35b348015610476575f80fd5b5061047f610f6f565b005b34801561048c575f80fd5b50610495610f82565b6040516104a291906121ab565b60405180910390f35b3480156104b6575f80fd5b506104bf610f88565b6040516104cc919061211b565b60405180910390f35b3480156104e0575f80fd5b506104fb60048036038101906104f691906120b1565b610fb0565b005b348015610508575f80fd5b50610511610fc2565b60405161051e919061205e565b60405180910390f35b610541600480360381019061053c91906120b1565b611052565b005b34801561054e575f80fd5b50610569600480360381019061056491906123dc565b6112cb565b005b348015610576575f80fd5b5061057f6113d1565b60405161058c9190611fbb565b60405180910390f35b6105af60048036038101906105aa91906124b8565b6113e3565b005b3480156105bc575f80fd5b506105d760048036038101906105d291906120b1565b611455565b6040516105e4919061205e565b60405180910390f35b3480156105f8575f80fd5b506106016114d1565b60405161060e91906121ab565b60405180910390f35b348015610622575f80fd5b5061062b6114d7565b60405161063891906121ab565b60405180910390f35b34801561064c575f80fd5b5061066760048036038101906106629190612538565b6114dd565b6040516106749190611fbb565b60405180910390f35b348015610688575f80fd5b506106a3600480360381019061069e9190612387565b61156b565b005b3480156106b0575f80fd5b506106cb60048036038101906106c691906120b1565b6115ed565b005b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061072757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107575750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461076d906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610799906125a3565b80156107e45780601f106107bb576101008083540402835291602001916107e4565b820191905f5260205f20905b8154815290600101906020018083116107c757829003601f168201915b5050505050905090565b5f6107f8826115ff565b61082e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f61087282610e17565b90508073ffffffffffffffffffffffffffffffffffffffff16610893611659565b73ffffffffffffffffffffffffffffffffffffffff16146108f6576108bf816108ba611659565b6114dd565b6108f5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f6109b0611660565b6001545f540303905090565b6109c4611668565b600d5f9054906101000a900460ff1615600d5f6101000a81548160ff021916908315150217905550565b5f6109f8826116e6565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a5f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610a6a846117a9565b91509150610a808187610a7b611659565b6117cc565b610acc57610a9586610a90611659565b6114dd565b610acb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b31576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3e868686600161180f565b8015610b48575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610c1085610bec888887611815565b7c02000000000000000000000000000000000000000000000000000000001761183c565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610c8c575f6001850190505f60045f8381526020019081526020015f205403610c8a575f548114610c89578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610cf48686866001611866565b505050505050565b610d04611668565b610d15610d0f61186c565b82611873565b50565b610d20611668565b8060098190555050565b610d32611668565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610d5790612600565b5f6040518083038185875af1925050503d805f8114610d91576040519150601f19603f3d011682016040523d82523d5f602084013e610d96565b606091505b5050905080610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd19061265e565b60405180910390fd5b50565b610df783838360405180602001604052805f8152506113e3565b505050565b610e04611668565b80600e9081610e139190612819565b5050565b5f610e21826116e6565b9050919050565b600a5481565b600e8054610e3b906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610e67906125a3565b8015610eb25780601f10610e8957610100808354040283529160200191610eb2565b820191905f5260205f20905b815481529060010190602001808311610e9557829003601f168201915b505050505081565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f20576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610f77611668565b610f805f611890565b565b600c5481565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fb8611668565b80600a8190555050565b606060038054610fd1906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ffd906125a3565b80156110485780601f1061101f57610100808354040283529160200191611048565b820191905f5260205f20905b81548152906001019060200180831161102b57829003601f168201915b5050505050905090565b600d5f9054906101000a900460ff166110a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109790612932565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461110e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111059061299a565b60405180910390fd5b5f80341480156111685750600c5482600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461116591906129e5565b11155b61117457600a54611176565b5f5b905080826111849190612a18565b3410156111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd90612aa3565b60405180910390fd5b600954826111d26109a7565b6111dc91906129e5565b111561121d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121490612b0b565b60405180910390fd5b600b54821115611262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125990612b73565b60405180910390fd5b5f81036112bd5781600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546112b591906129e5565b925050819055505b6112c73383611873565b5050565b8060075f6112d7611659565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611380611659565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113c59190611fbb565b60405180910390a35050565b600d5f9054906101000a900460ff1681565b6113ee8484846109ee565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1461144f5761141884848484611953565b61144e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611460826115ff565b61149f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149690612c01565b60405180910390fd5b600e6114aa83611a9e565b6040516020016114bb929190612d23565b6040516020818303038152906040529050919050565b60095481565b600b5481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611573611668565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d890612dc1565b60405180910390fd5b6115ea81611890565b50565b6115f5611668565b80600c8190555050565b5f81611609611660565b1115801561161757505f5482105b801561165257505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b61167061186c565b73ffffffffffffffffffffffffffffffffffffffff1661168e610f88565b73ffffffffffffffffffffffffffffffffffffffff16146116e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116db90612e29565b60405180910390fd5b565b5f80829050806116f4611660565b11611772575f54811015611771575f60045f8381526020019081526020015f205490505f7c010000000000000000000000000000000000000000000000000000000082160361176f575b5f81036117655760045f836001900393508381526020019081526020015f2054905061173e565b80925050506117a4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e861182b868684611b68565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f33905090565b61188c828260405180602001604052805f815250611b70565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611978611659565b8786866040518563ffffffff1660e01b815260040161199a9493929190612e99565b6020604051808303815f875af19250505080156119d557506040513d601f19601f820116820180604052508101906119d29190612ef7565b60015b611a4b573d805f8114611a03576040519150601f19603f3d011682016040523d82523d5f602084013e611a08565b606091505b505f815103611a43576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611aac84611c07565b0190505f8167ffffffffffffffff811115611aca57611ac961221c565b5b6040519080825280601f01601f191660200182016040528015611afc5781602001600182028036833780820191505090505b5090505f82602001820190505b600115611b5d578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611b5257611b51612f22565b5b0494505f8503611b09575b819350505050919050565b5f9392505050565b611b7a8383611d58565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611c02575f805490505f83820390505b611bb65f868380600101945086611953565b611bec576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611ba457815f5414611bff575f80fd5b50505b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611c63577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611c5957611c58612f22565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611ca0576d04ee2d6d415b85acef81000000008381611c9657611c95612f22565b5b0492506020810190505b662386f26fc100008310611ccf57662386f26fc100008381611cc557611cc4612f22565b5b0492506010810190505b6305f5e1008310611cf8576305f5e1008381611cee57611ced612f22565b5b0492506008810190505b6127108310611d1d576127108381611d1357611d12612f22565b5b0492506004810190505b60648310611d405760648381611d3657611d35612f22565b5b0492506002810190505b600a8310611d4f576001810190505b80915050919050565b5f805490505f8203611d96576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611da25f84838561180f565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550611e1483611e055f865f611815565b611e0e85611f01565b1761183c565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114611eae5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050611e75565b505f8203611ee8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050611efc5f848385611866565b505050565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611f5581611f21565b8114611f5f575f80fd5b50565b5f81359050611f7081611f4c565b92915050565b5f60208284031215611f8b57611f8a611f19565b5b5f611f9884828501611f62565b91505092915050565b5f8115159050919050565b611fb581611fa1565b82525050565b5f602082019050611fce5f830184611fac565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561200b578082015181840152602081019050611ff0565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61203082611fd4565b61203a8185611fde565b935061204a818560208601611fee565b61205381612016565b840191505092915050565b5f6020820190508181035f8301526120768184612026565b905092915050565b5f819050919050565b6120908161207e565b811461209a575f80fd5b50565b5f813590506120ab81612087565b92915050565b5f602082840312156120c6576120c5611f19565b5b5f6120d38482850161209d565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612105826120dc565b9050919050565b612115816120fb565b82525050565b5f60208201905061212e5f83018461210c565b92915050565b61213d816120fb565b8114612147575f80fd5b50565b5f8135905061215881612134565b92915050565b5f806040838503121561217457612173611f19565b5b5f6121818582860161214a565b92505060206121928582860161209d565b9150509250929050565b6121a58161207e565b82525050565b5f6020820190506121be5f83018461219c565b92915050565b5f805f606084860312156121db576121da611f19565b5b5f6121e88682870161214a565b93505060206121f98682870161214a565b925050604061220a8682870161209d565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61225282612016565b810181811067ffffffffffffffff821117156122715761227061221c565b5b80604052505050565b5f612283611f10565b905061228f8282612249565b919050565b5f67ffffffffffffffff8211156122ae576122ad61221c565b5b6122b782612016565b9050602081019050919050565b828183375f83830152505050565b5f6122e46122df84612294565b61227a565b905082815260208101848484011115612300576122ff612218565b5b61230b8482856122c4565b509392505050565b5f82601f83011261232757612326612214565b5b81356123378482602086016122d2565b91505092915050565b5f6020828403121561235557612354611f19565b5b5f82013567ffffffffffffffff81111561237257612371611f1d565b5b61237e84828501612313565b91505092915050565b5f6020828403121561239c5761239b611f19565b5b5f6123a98482850161214a565b91505092915050565b6123bb81611fa1565b81146123c5575f80fd5b50565b5f813590506123d6816123b2565b92915050565b5f80604083850312156123f2576123f1611f19565b5b5f6123ff8582860161214a565b9250506020612410858286016123c8565b9150509250929050565b5f67ffffffffffffffff8211156124345761243361221c565b5b61243d82612016565b9050602081019050919050565b5f61245c6124578461241a565b61227a565b90508281526020810184848401111561247857612477612218565b5b6124838482856122c4565b509392505050565b5f82601f83011261249f5761249e612214565b5b81356124af84826020860161244a565b91505092915050565b5f805f80608085870312156124d0576124cf611f19565b5b5f6124dd8782880161214a565b94505060206124ee8782880161214a565b93505060406124ff8782880161209d565b925050606085013567ffffffffffffffff8111156125205761251f611f1d565b5b61252c8782880161248b565b91505092959194509250565b5f806040838503121561254e5761254d611f19565b5b5f61255b8582860161214a565b925050602061256c8582860161214a565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806125ba57607f821691505b6020821081036125cd576125cc612576565b5b50919050565b5f81905092915050565b50565b5f6125eb5f836125d3565b91506125f6826125dd565b5f82019050919050565b5f61260a826125e0565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f612648601083611fde565b915061265382612614565b602082019050919050565b5f6020820190508181035f8301526126758161263c565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026126d87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261269d565b6126e2868361269d565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61271d6127186127138461207e565b6126fa565b61207e565b9050919050565b5f819050919050565b61273683612703565b61274a61274282612724565b8484546126a9565b825550505050565b5f90565b61275e612752565b61276981848461272d565b505050565b5b8181101561278c576127815f82612756565b60018101905061276f565b5050565b601f8211156127d1576127a28161267c565b6127ab8461268e565b810160208510156127ba578190505b6127ce6127c68561268e565b83018261276e565b50505b505050565b5f82821c905092915050565b5f6127f15f19846008026127d6565b1980831691505092915050565b5f61280983836127e2565b9150826002028217905092915050565b61282282611fd4565b67ffffffffffffffff81111561283b5761283a61221c565b5b61284582546125a3565b612850828285612790565b5f60209050601f831160018114612881575f841561286f578287015190505b61287985826127fe565b8655506128e0565b601f19841661288f8661267c565b5f5b828110156128b657848901518255600182019150602085019450602081019050612891565b868310156128d357848901516128cf601f8916826127e2565b8355505b6001600288020188555050505b505050505050565b7f4d696e74696e67206973206e6f74206c697665207965742e00000000000000005f82015250565b5f61291c601883611fde565b9150612927826128e8565b602082019050919050565b5f6020820190508181035f83015261294981612910565b9050919050565b7f4e6f20636f6e7472616374206d696e74210000000000000000000000000000005f82015250565b5f612984601183611fde565b915061298f82612950565b602082019050919050565b5f6020820190508181035f8301526129b181612978565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6129ef8261207e565b91506129fa8361207e565b9250828201905080821115612a1257612a116129b8565b5b92915050565b5f612a228261207e565b9150612a2d8361207e565b9250828202612a3b8161207e565b91508282048414831517612a5257612a516129b8565b5b5092915050565b7f506c656173652073656e642074686520657861637420616d6f756e742e0000005f82015250565b5f612a8d601d83611fde565b9150612a9882612a59565b602082019050919050565b5f6020820190508181035f830152612aba81612a81565b9050919050565b7f536f6c64206f75742100000000000000000000000000000000000000000000005f82015250565b5f612af5600983611fde565b9150612b0082612ac1565b602082019050919050565b5f6020820190508181035f830152612b2281612ae9565b9050919050565b7f4d61782070657220747820726561636865642e000000000000000000000000005f82015250565b5f612b5d601383611fde565b9150612b6882612b29565b602082019050919050565b5f6020820190508181035f830152612b8a81612b51565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f612beb602f83611fde565b9150612bf682612b91565b604082019050919050565b5f6020820190508181035f830152612c1881612bdf565b9050919050565b5f81905092915050565b5f8154612c35816125a3565b612c3f8186612c1f565b9450600182165f8114612c595760018114612c6e57612ca0565b60ff1983168652811515820286019350612ca0565b612c778561267c565b5f5b83811015612c9857815481890152600182019150602081019050612c79565b838801955050505b50505092915050565b5f612cb382611fd4565b612cbd8185612c1f565b9350612ccd818560208601611fee565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f612d0d600583612c1f565b9150612d1882612cd9565b600582019050919050565b5f612d2e8285612c29565b9150612d3a8284612ca9565b9150612d4582612d01565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612dab602683611fde565b9150612db682612d51565b604082019050919050565b5f6020820190508181035f830152612dd881612d9f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612e13602083611fde565b9150612e1e82612ddf565b602082019050919050565b5f6020820190508181035f830152612e4081612e07565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f612e6b82612e47565b612e758185612e51565b9350612e85818560208601611fee565b612e8e81612016565b840191505092915050565b5f608082019050612eac5f83018761210c565b612eb9602083018661210c565b612ec6604083018561219c565b8181036060830152612ed88184612e61565b905095945050505050565b5f81519050612ef181611f4c565b92915050565b5f60208284031215612f0c57612f0b611f19565b5b5f612f1984828501612ee3565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220a32723a223dbe65ad99b83591a00a5ef52eb283edaee48b5cc7b77629fae98cd64736f6c63430008150033697066733a2f2f516d644538547a4a55686d62777952705555326b62746157725a543764747358754747766f75734b4d35486a34772f
Deployed Bytecode
0x6080604052600436106101d7575f3560e01c806370a0823111610101578063a9722cf311610094578063de7fcb1d11610063578063de7fcb1d14610617578063e985e9c514610641578063f2fde38b1461067d578063f77b1edd146106a5576101d7565b8063a9722cf31461056b578063b88d4fde14610595578063c87b56dd146105b1578063d5abeb01146105ed576101d7565b806391b7f5ed116100d057806391b7f5ed146104d557806395d89b41146104fd578063a0712d6814610527578063a22cb46514610543576101d7565b806370a082311461042f578063715018a61461046b578063845bb3bb146104815780638da5cb5b146104ab576101d7565b80632fbba1151161017957806355f804b31161014857806355f804b3146103775780636352211e1461039f5780636817c76c146103db5780636c0360eb14610405576101d7565b80632fbba115146102f55780633b4c4b251461031d5780633ccfd60b1461034557806342842e0e1461035b576101d7565b8063095ea7b3116101b5578063095ea7b31461027d57806318160ddd146102995780631ed40559146102c357806323b872dd146102d9576101d7565b806301ffc9a7146101db57806306fdde0314610217578063081812fc14610241575b5f80fd5b3480156101e6575f80fd5b5061020160048036038101906101fc9190611f76565b6106cd565b60405161020e9190611fbb565b60405180910390f35b348015610222575f80fd5b5061022b61075e565b604051610238919061205e565b60405180910390f35b34801561024c575f80fd5b50610267600480360381019061026291906120b1565b6107ee565b604051610274919061211b565b60405180910390f35b6102976004803603810190610292919061215e565b610868565b005b3480156102a4575f80fd5b506102ad6109a7565b6040516102ba91906121ab565b60405180910390f35b3480156102ce575f80fd5b506102d76109bc565b005b6102f360048036038101906102ee91906121c4565b6109ee565b005b348015610300575f80fd5b5061031b600480360381019061031691906120b1565b610cfc565b005b348015610328575f80fd5b50610343600480360381019061033e91906120b1565b610d18565b005b348015610350575f80fd5b50610359610d2a565b005b610375600480360381019061037091906121c4565b610ddd565b005b348015610382575f80fd5b5061039d60048036038101906103989190612340565b610dfc565b005b3480156103aa575f80fd5b506103c560048036038101906103c091906120b1565b610e17565b6040516103d2919061211b565b60405180910390f35b3480156103e6575f80fd5b506103ef610e28565b6040516103fc91906121ab565b60405180910390f35b348015610410575f80fd5b50610419610e2e565b604051610426919061205e565b60405180910390f35b34801561043a575f80fd5b5061045560048036038101906104509190612387565b610eba565b60405161046291906121ab565b60405180910390f35b348015610476575f80fd5b5061047f610f6f565b005b34801561048c575f80fd5b50610495610f82565b6040516104a291906121ab565b60405180910390f35b3480156104b6575f80fd5b506104bf610f88565b6040516104cc919061211b565b60405180910390f35b3480156104e0575f80fd5b506104fb60048036038101906104f691906120b1565b610fb0565b005b348015610508575f80fd5b50610511610fc2565b60405161051e919061205e565b60405180910390f35b610541600480360381019061053c91906120b1565b611052565b005b34801561054e575f80fd5b50610569600480360381019061056491906123dc565b6112cb565b005b348015610576575f80fd5b5061057f6113d1565b60405161058c9190611fbb565b60405180910390f35b6105af60048036038101906105aa91906124b8565b6113e3565b005b3480156105bc575f80fd5b506105d760048036038101906105d291906120b1565b611455565b6040516105e4919061205e565b60405180910390f35b3480156105f8575f80fd5b506106016114d1565b60405161060e91906121ab565b60405180910390f35b348015610622575f80fd5b5061062b6114d7565b60405161063891906121ab565b60405180910390f35b34801561064c575f80fd5b5061066760048036038101906106629190612538565b6114dd565b6040516106749190611fbb565b60405180910390f35b348015610688575f80fd5b506106a3600480360381019061069e9190612387565b61156b565b005b3480156106b0575f80fd5b506106cb60048036038101906106c691906120b1565b6115ed565b005b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061072757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107575750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461076d906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610799906125a3565b80156107e45780601f106107bb576101008083540402835291602001916107e4565b820191905f5260205f20905b8154815290600101906020018083116107c757829003601f168201915b5050505050905090565b5f6107f8826115ff565b61082e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f61087282610e17565b90508073ffffffffffffffffffffffffffffffffffffffff16610893611659565b73ffffffffffffffffffffffffffffffffffffffff16146108f6576108bf816108ba611659565b6114dd565b6108f5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f6109b0611660565b6001545f540303905090565b6109c4611668565b600d5f9054906101000a900460ff1615600d5f6101000a81548160ff021916908315150217905550565b5f6109f8826116e6565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a5f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610a6a846117a9565b91509150610a808187610a7b611659565b6117cc565b610acc57610a9586610a90611659565b6114dd565b610acb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b31576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3e868686600161180f565b8015610b48575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610c1085610bec888887611815565b7c02000000000000000000000000000000000000000000000000000000001761183c565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610c8c575f6001850190505f60045f8381526020019081526020015f205403610c8a575f548114610c89578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610cf48686866001611866565b505050505050565b610d04611668565b610d15610d0f61186c565b82611873565b50565b610d20611668565b8060098190555050565b610d32611668565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610d5790612600565b5f6040518083038185875af1925050503d805f8114610d91576040519150601f19603f3d011682016040523d82523d5f602084013e610d96565b606091505b5050905080610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd19061265e565b60405180910390fd5b50565b610df783838360405180602001604052805f8152506113e3565b505050565b610e04611668565b80600e9081610e139190612819565b5050565b5f610e21826116e6565b9050919050565b600a5481565b600e8054610e3b906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610e67906125a3565b8015610eb25780601f10610e8957610100808354040283529160200191610eb2565b820191905f5260205f20905b815481529060010190602001808311610e9557829003601f168201915b505050505081565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f20576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610f77611668565b610f805f611890565b565b600c5481565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fb8611668565b80600a8190555050565b606060038054610fd1906125a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ffd906125a3565b80156110485780601f1061101f57610100808354040283529160200191611048565b820191905f5260205f20905b81548152906001019060200180831161102b57829003601f168201915b5050505050905090565b600d5f9054906101000a900460ff166110a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109790612932565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461110e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111059061299a565b60405180910390fd5b5f80341480156111685750600c5482600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461116591906129e5565b11155b61117457600a54611176565b5f5b905080826111849190612a18565b3410156111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd90612aa3565b60405180910390fd5b600954826111d26109a7565b6111dc91906129e5565b111561121d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121490612b0b565b60405180910390fd5b600b54821115611262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125990612b73565b60405180910390fd5b5f81036112bd5781600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546112b591906129e5565b925050819055505b6112c73383611873565b5050565b8060075f6112d7611659565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611380611659565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113c59190611fbb565b60405180910390a35050565b600d5f9054906101000a900460ff1681565b6113ee8484846109ee565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1461144f5761141884848484611953565b61144e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611460826115ff565b61149f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149690612c01565b60405180910390fd5b600e6114aa83611a9e565b6040516020016114bb929190612d23565b6040516020818303038152906040529050919050565b60095481565b600b5481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611573611668565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d890612dc1565b60405180910390fd5b6115ea81611890565b50565b6115f5611668565b80600c8190555050565b5f81611609611660565b1115801561161757505f5482105b801561165257505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b61167061186c565b73ffffffffffffffffffffffffffffffffffffffff1661168e610f88565b73ffffffffffffffffffffffffffffffffffffffff16146116e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116db90612e29565b60405180910390fd5b565b5f80829050806116f4611660565b11611772575f54811015611771575f60045f8381526020019081526020015f205490505f7c010000000000000000000000000000000000000000000000000000000082160361176f575b5f81036117655760045f836001900393508381526020019081526020015f2054905061173e565b80925050506117a4565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e861182b868684611b68565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f33905090565b61188c828260405180602001604052805f815250611b70565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611978611659565b8786866040518563ffffffff1660e01b815260040161199a9493929190612e99565b6020604051808303815f875af19250505080156119d557506040513d601f19601f820116820180604052508101906119d29190612ef7565b60015b611a4b573d805f8114611a03576040519150601f19603f3d011682016040523d82523d5f602084013e611a08565b606091505b505f815103611a43576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611aac84611c07565b0190505f8167ffffffffffffffff811115611aca57611ac961221c565b5b6040519080825280601f01601f191660200182016040528015611afc5781602001600182028036833780820191505090505b5090505f82602001820190505b600115611b5d578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611b5257611b51612f22565b5b0494505f8503611b09575b819350505050919050565b5f9392505050565b611b7a8383611d58565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611c02575f805490505f83820390505b611bb65f868380600101945086611953565b611bec576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611ba457815f5414611bff575f80fd5b50505b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611c63577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611c5957611c58612f22565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611ca0576d04ee2d6d415b85acef81000000008381611c9657611c95612f22565b5b0492506020810190505b662386f26fc100008310611ccf57662386f26fc100008381611cc557611cc4612f22565b5b0492506010810190505b6305f5e1008310611cf8576305f5e1008381611cee57611ced612f22565b5b0492506008810190505b6127108310611d1d576127108381611d1357611d12612f22565b5b0492506004810190505b60648310611d405760648381611d3657611d35612f22565b5b0492506002810190505b600a8310611d4f576001810190505b80915050919050565b5f805490505f8203611d96576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611da25f84838561180f565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550611e1483611e055f865f611815565b611e0e85611f01565b1761183c565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114611eae5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050611e75565b505f8203611ee8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050611efc5f848385611866565b505050565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611f5581611f21565b8114611f5f575f80fd5b50565b5f81359050611f7081611f4c565b92915050565b5f60208284031215611f8b57611f8a611f19565b5b5f611f9884828501611f62565b91505092915050565b5f8115159050919050565b611fb581611fa1565b82525050565b5f602082019050611fce5f830184611fac565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561200b578082015181840152602081019050611ff0565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61203082611fd4565b61203a8185611fde565b935061204a818560208601611fee565b61205381612016565b840191505092915050565b5f6020820190508181035f8301526120768184612026565b905092915050565b5f819050919050565b6120908161207e565b811461209a575f80fd5b50565b5f813590506120ab81612087565b92915050565b5f602082840312156120c6576120c5611f19565b5b5f6120d38482850161209d565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612105826120dc565b9050919050565b612115816120fb565b82525050565b5f60208201905061212e5f83018461210c565b92915050565b61213d816120fb565b8114612147575f80fd5b50565b5f8135905061215881612134565b92915050565b5f806040838503121561217457612173611f19565b5b5f6121818582860161214a565b92505060206121928582860161209d565b9150509250929050565b6121a58161207e565b82525050565b5f6020820190506121be5f83018461219c565b92915050565b5f805f606084860312156121db576121da611f19565b5b5f6121e88682870161214a565b93505060206121f98682870161214a565b925050604061220a8682870161209d565b9150509250925092565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61225282612016565b810181811067ffffffffffffffff821117156122715761227061221c565b5b80604052505050565b5f612283611f10565b905061228f8282612249565b919050565b5f67ffffffffffffffff8211156122ae576122ad61221c565b5b6122b782612016565b9050602081019050919050565b828183375f83830152505050565b5f6122e46122df84612294565b61227a565b905082815260208101848484011115612300576122ff612218565b5b61230b8482856122c4565b509392505050565b5f82601f83011261232757612326612214565b5b81356123378482602086016122d2565b91505092915050565b5f6020828403121561235557612354611f19565b5b5f82013567ffffffffffffffff81111561237257612371611f1d565b5b61237e84828501612313565b91505092915050565b5f6020828403121561239c5761239b611f19565b5b5f6123a98482850161214a565b91505092915050565b6123bb81611fa1565b81146123c5575f80fd5b50565b5f813590506123d6816123b2565b92915050565b5f80604083850312156123f2576123f1611f19565b5b5f6123ff8582860161214a565b9250506020612410858286016123c8565b9150509250929050565b5f67ffffffffffffffff8211156124345761243361221c565b5b61243d82612016565b9050602081019050919050565b5f61245c6124578461241a565b61227a565b90508281526020810184848401111561247857612477612218565b5b6124838482856122c4565b509392505050565b5f82601f83011261249f5761249e612214565b5b81356124af84826020860161244a565b91505092915050565b5f805f80608085870312156124d0576124cf611f19565b5b5f6124dd8782880161214a565b94505060206124ee8782880161214a565b93505060406124ff8782880161209d565b925050606085013567ffffffffffffffff8111156125205761251f611f1d565b5b61252c8782880161248b565b91505092959194509250565b5f806040838503121561254e5761254d611f19565b5b5f61255b8582860161214a565b925050602061256c8582860161214a565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806125ba57607f821691505b6020821081036125cd576125cc612576565b5b50919050565b5f81905092915050565b50565b5f6125eb5f836125d3565b91506125f6826125dd565b5f82019050919050565b5f61260a826125e0565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f612648601083611fde565b915061265382612614565b602082019050919050565b5f6020820190508181035f8301526126758161263c565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026126d87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261269d565b6126e2868361269d565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61271d6127186127138461207e565b6126fa565b61207e565b9050919050565b5f819050919050565b61273683612703565b61274a61274282612724565b8484546126a9565b825550505050565b5f90565b61275e612752565b61276981848461272d565b505050565b5b8181101561278c576127815f82612756565b60018101905061276f565b5050565b601f8211156127d1576127a28161267c565b6127ab8461268e565b810160208510156127ba578190505b6127ce6127c68561268e565b83018261276e565b50505b505050565b5f82821c905092915050565b5f6127f15f19846008026127d6565b1980831691505092915050565b5f61280983836127e2565b9150826002028217905092915050565b61282282611fd4565b67ffffffffffffffff81111561283b5761283a61221c565b5b61284582546125a3565b612850828285612790565b5f60209050601f831160018114612881575f841561286f578287015190505b61287985826127fe565b8655506128e0565b601f19841661288f8661267c565b5f5b828110156128b657848901518255600182019150602085019450602081019050612891565b868310156128d357848901516128cf601f8916826127e2565b8355505b6001600288020188555050505b505050505050565b7f4d696e74696e67206973206e6f74206c697665207965742e00000000000000005f82015250565b5f61291c601883611fde565b9150612927826128e8565b602082019050919050565b5f6020820190508181035f83015261294981612910565b9050919050565b7f4e6f20636f6e7472616374206d696e74210000000000000000000000000000005f82015250565b5f612984601183611fde565b915061298f82612950565b602082019050919050565b5f6020820190508181035f8301526129b181612978565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6129ef8261207e565b91506129fa8361207e565b9250828201905080821115612a1257612a116129b8565b5b92915050565b5f612a228261207e565b9150612a2d8361207e565b9250828202612a3b8161207e565b91508282048414831517612a5257612a516129b8565b5b5092915050565b7f506c656173652073656e642074686520657861637420616d6f756e742e0000005f82015250565b5f612a8d601d83611fde565b9150612a9882612a59565b602082019050919050565b5f6020820190508181035f830152612aba81612a81565b9050919050565b7f536f6c64206f75742100000000000000000000000000000000000000000000005f82015250565b5f612af5600983611fde565b9150612b0082612ac1565b602082019050919050565b5f6020820190508181035f830152612b2281612ae9565b9050919050565b7f4d61782070657220747820726561636865642e000000000000000000000000005f82015250565b5f612b5d601383611fde565b9150612b6882612b29565b602082019050919050565b5f6020820190508181035f830152612b8a81612b51565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f612beb602f83611fde565b9150612bf682612b91565b604082019050919050565b5f6020820190508181035f830152612c1881612bdf565b9050919050565b5f81905092915050565b5f8154612c35816125a3565b612c3f8186612c1f565b9450600182165f8114612c595760018114612c6e57612ca0565b60ff1983168652811515820286019350612ca0565b612c778561267c565b5f5b83811015612c9857815481890152600182019150602081019050612c79565b838801955050505b50505092915050565b5f612cb382611fd4565b612cbd8185612c1f565b9350612ccd818560208601611fee565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f612d0d600583612c1f565b9150612d1882612cd9565b600582019050919050565b5f612d2e8285612c29565b9150612d3a8284612ca9565b9150612d4582612d01565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612dab602683611fde565b9150612db682612d51565b604082019050919050565b5f6020820190508181035f830152612dd881612d9f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612e13602083611fde565b9150612e1e82612ddf565b602082019050919050565b5f6020820190508181035f830152612e4081612e07565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f612e6b82612e47565b612e758185612e51565b9350612e85818560208601611fee565b612e8e81612016565b840191505092915050565b5f608082019050612eac5f83018761210c565b612eb9602083018661210c565b612ec6604083018561219c565b8181036060830152612ed88184612e61565b905095945050505050565b5f81519050612ef181611f4c565b92915050565b5f60208284031215612f0c57612f0b611f19565b5b5f612f1984828501612ee3565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220a32723a223dbe65ad99b83591a00a5ef52eb283edaee48b5cc7b77629fae98cd64736f6c63430008150033
Deployed Bytecode Sourcemap
72452:2662:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39345:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;40247:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46738:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46171:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;35998:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;74331:88;;;;;;;;;;;;;:::i;:::-;;50377:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74792:105;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74531:99;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74905:206;;;;;;;;;;;;;:::i;:::-;;53298:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74235:88;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;41640:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72573:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72743:89;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;37182:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20124:103;;;;;;;;;;;;;:::i;:::-;;72657:39;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19483:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;74427:96;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;40423:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72955:689;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;47296:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;72703:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54089:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;73652:350;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72535:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;72618:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47687:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20382:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74638: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;74331:88::-;19369:13;:11;:13::i;:::-;74400:11:::1;;;;;;;;;;;74399:12;74385:11;;:26;;;;;;;;;;;;;;;;;;74331:88::o:0;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;74792:105::-;19369:13;:11;:13::i;:::-;74857:32:::1;74867:12;:10;:12::i;:::-;74881:7;74857:9;:32::i;:::-;74792:105:::0;:::o;74531:99::-;19369:13;:11;:13::i;:::-;74612:10:::1;74600:9;:22;;;;74531:99:::0;:::o;74905:206::-;19369:13;:11;:13::i;:::-;74956:12:::1;74982:10;74974:24;;75020:21;74974:82;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74955:101;;;75075:7;75067:36;;;;;;;;;;;;:::i;:::-;;;;;;;;;74944:167;74905:206::o:0;53298:193::-;53444:39;53461:4;53467:2;53471:7;53444:39;;;;;;;;;;;;:16;:39::i;:::-;53298:193;;;:::o;74235:88::-;19369:13;:11;:13::i;:::-;74312:3:::1;74302:7;:13;;;;;;:::i;:::-;;74235:88:::0;:::o;41640:152::-;41712:7;41755:27;41774:7;41755:18;:27::i;:::-;41732:52;;41640:152;;;:::o;72573:38::-;;;;:::o;72743:89::-;;;;;;;:::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;72657:39::-;;;;:::o;19483:87::-;19529:7;19556:6;;;;;;;;;;;19549:13;;19483:87;:::o;74427:96::-;19369:13;:11;:13::i;:::-;74506:9:::1;74494;:21;;;;74427:96:::0;:::o;40423:104::-;40479:13;40512:7;40505:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40423:104;:::o;72955:689::-;73020:11;;;;;;;;;;;73012:48;;;;;;;;;;;;:::i;:::-;;;;;;;;;73092:10;73079:23;;:9;:23;;;73071:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;73137:12;73166:1;73153:9;:14;:94;;;;;73226:20;;73217:5;73185:17;:29;73203:10;73185:29;;;;;;;;;;;;;;;;:37;;;;:::i;:::-;:61;;73153:94;73152:138;;73281:9;;73152:138;;;73264:1;73152:138;73137:153;;73332:4;73324:5;:12;;;;:::i;:::-;73311:9;:25;;73303:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;73414:9;;73405:5;73389:13;:11;:13::i;:::-;:21;;;;:::i;:::-;:34;;73381:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;73467:12;;73458:5;:21;;73450:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;73528:1;73520:4;:9;73516:80;;73579:5;73546:17;:29;73564:10;73546:29;;;;;;;;;;;;;;;;:38;;;;;;;:::i;:::-;;;;;;;;73516:80;73608:28;73618:10;73630:5;73608:9;:28::i;:::-;73001:643;72955:689;:::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;72703: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;73652:350::-;73770:13;73823:16;73831:7;73823;:16::i;:::-;73801:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;73956:7;73965:18;:7;:16;:18::i;:::-;73939:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;73925:69;;73652:350;;;:::o;72535:31::-;;;;:::o;72618: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;74638:146::-;19369:13;:11;:13::i;:::-;74755:21:::1;74732:20;:44;;;;74638: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;74126:101::-;74191:7;74218:1;74211:8;;74126:101;:::o;19648:132::-;19723:12;:10;:12::i;:::-;19712:23;;:7;:5;:7::i;:::-;:23;;;19704:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;19648:132::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;18034:98::-;18087:7;18114:10;18107:17;;18034:98;:::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;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:166::-;13805:18;13801:1;13793:6;13789:14;13782:42;13665:166;:::o;13837:366::-;13979:3;14000:67;14064:2;14059:3;14000:67;:::i;:::-;13993:74;;14076:93;14165:3;14076:93;:::i;:::-;14194:2;14189:3;14185:12;14178:19;;13837:366;;;:::o;14209:419::-;14375:4;14413:2;14402:9;14398:18;14390:26;;14462:9;14456:4;14452:20;14448:1;14437:9;14433:17;14426:47;14490:131;14616:4;14490:131;:::i;:::-;14482:139;;14209:419;;;:::o;14634:141::-;14683:4;14706:3;14698:11;;14729:3;14726:1;14719:14;14763:4;14760:1;14750:18;14742:26;;14634:141;;;:::o;14781:93::-;14818:6;14865:2;14860;14853:5;14849:14;14845:23;14835:33;;14781:93;;;:::o;14880:107::-;14924:8;14974:5;14968:4;14964:16;14943:37;;14880:107;;;;:::o;14993:393::-;15062:6;15112:1;15100:10;15096:18;15135:97;15165:66;15154:9;15135:97;:::i;:::-;15253:39;15283:8;15272:9;15253:39;:::i;:::-;15241:51;;15325:4;15321:9;15314:5;15310:21;15301:30;;15374:4;15364:8;15360:19;15353:5;15350:30;15340:40;;15069:317;;14993:393;;;;;:::o;15392:60::-;15420:3;15441:5;15434:12;;15392:60;;;:::o;15458:142::-;15508:9;15541:53;15559:34;15568:24;15586:5;15568:24;:::i;:::-;15559:34;:::i;:::-;15541:53;:::i;:::-;15528:66;;15458:142;;;:::o;15606:75::-;15649:3;15670:5;15663:12;;15606:75;;;:::o;15687:269::-;15797:39;15828:7;15797:39;:::i;:::-;15858:91;15907:41;15931:16;15907:41;:::i;:::-;15899:6;15892:4;15886:11;15858:91;:::i;:::-;15852:4;15845:105;15763:193;15687:269;;;:::o;15962:73::-;16007:3;15962:73;:::o;16041:189::-;16118:32;;:::i;:::-;16159:65;16217:6;16209;16203:4;16159:65;:::i;:::-;16094:136;16041:189;;:::o;16236:186::-;16296:120;16313:3;16306:5;16303:14;16296:120;;;16367:39;16404:1;16397:5;16367:39;:::i;:::-;16340:1;16333:5;16329:13;16320:22;;16296:120;;;16236:186;;:::o;16428:543::-;16529:2;16524:3;16521:11;16518:446;;;16563:38;16595:5;16563:38;:::i;:::-;16647:29;16665:10;16647:29;:::i;:::-;16637:8;16633:44;16830:2;16818:10;16815:18;16812:49;;;16851:8;16836:23;;16812:49;16874:80;16930:22;16948:3;16930:22;:::i;:::-;16920:8;16916:37;16903:11;16874:80;:::i;:::-;16533:431;;16518:446;16428:543;;;:::o;16977:117::-;17031:8;17081:5;17075:4;17071:16;17050:37;;16977:117;;;;:::o;17100:169::-;17144:6;17177:51;17225:1;17221:6;17213:5;17210:1;17206:13;17177:51;:::i;:::-;17173:56;17258:4;17252;17248:15;17238:25;;17151:118;17100:169;;;;:::o;17274:295::-;17350:4;17496:29;17521:3;17515:4;17496:29;:::i;:::-;17488:37;;17558:3;17555:1;17551:11;17545:4;17542:21;17534:29;;17274:295;;;;:::o;17574:1395::-;17691:37;17724:3;17691:37;:::i;:::-;17793:18;17785:6;17782:30;17779:56;;;17815:18;;:::i;:::-;17779:56;17859:38;17891:4;17885:11;17859:38;:::i;:::-;17944:67;18004:6;17996;17990:4;17944:67;:::i;:::-;18038:1;18062:4;18049:17;;18094:2;18086:6;18083:14;18111:1;18106:618;;;;18768:1;18785:6;18782:77;;;18834:9;18829:3;18825:19;18819:26;18810:35;;18782:77;18885:67;18945:6;18938:5;18885:67;:::i;:::-;18879:4;18872:81;18741:222;18076:887;;18106:618;18158:4;18154:9;18146:6;18142:22;18192:37;18224:4;18192:37;:::i;:::-;18251:1;18265:208;18279:7;18276:1;18273:14;18265:208;;;18358:9;18353:3;18349:19;18343:26;18335:6;18328:42;18409:1;18401:6;18397:14;18387:24;;18456:2;18445:9;18441:18;18428:31;;18302:4;18299:1;18295:12;18290:17;;18265:208;;;18501:6;18492:7;18489:19;18486:179;;;18559:9;18554:3;18550:19;18544:26;18602:48;18644:4;18636:6;18632:17;18621:9;18602:48;:::i;:::-;18594:6;18587:64;18509:156;18486:179;18711:1;18707;18699:6;18695:14;18691:22;18685:4;18678:36;18113:611;;;18076:887;;17666:1303;;;17574:1395;;:::o;18975:174::-;19115:26;19111:1;19103:6;19099:14;19092:50;18975:174;:::o;19155:366::-;19297:3;19318:67;19382:2;19377:3;19318:67;:::i;:::-;19311:74;;19394:93;19483:3;19394:93;:::i;:::-;19512:2;19507:3;19503:12;19496:19;;19155:366;;;:::o;19527:419::-;19693:4;19731:2;19720:9;19716:18;19708:26;;19780:9;19774:4;19770:20;19766:1;19755:9;19751:17;19744:47;19808:131;19934:4;19808:131;:::i;:::-;19800:139;;19527:419;;;:::o;19952:167::-;20092:19;20088:1;20080:6;20076:14;20069:43;19952:167;:::o;20125:366::-;20267:3;20288:67;20352:2;20347:3;20288:67;:::i;:::-;20281:74;;20364:93;20453:3;20364:93;:::i;:::-;20482:2;20477:3;20473:12;20466:19;;20125:366;;;:::o;20497:419::-;20663:4;20701:2;20690:9;20686:18;20678:26;;20750:9;20744:4;20740:20;20736:1;20725:9;20721:17;20714:47;20778:131;20904:4;20778:131;:::i;:::-;20770:139;;20497:419;;;:::o;20922:180::-;20970:77;20967:1;20960:88;21067:4;21064:1;21057:15;21091:4;21088:1;21081:15;21108:191;21148:3;21167:20;21185:1;21167:20;:::i;:::-;21162:25;;21201:20;21219:1;21201:20;:::i;:::-;21196:25;;21244:1;21241;21237:9;21230:16;;21265:3;21262:1;21259:10;21256:36;;;21272:18;;:::i;:::-;21256:36;21108:191;;;;:::o;21305:410::-;21345:7;21368:20;21386:1;21368:20;:::i;:::-;21363:25;;21402:20;21420:1;21402:20;:::i;:::-;21397:25;;21457:1;21454;21450:9;21479:30;21497:11;21479:30;:::i;:::-;21468:41;;21658:1;21649:7;21645:15;21642:1;21639:22;21619:1;21612:9;21592:83;21569:139;;21688:18;;:::i;:::-;21569:139;21353:362;21305:410;;;;:::o;21721:179::-;21861:31;21857:1;21849:6;21845:14;21838:55;21721:179;:::o;21906:366::-;22048:3;22069:67;22133:2;22128:3;22069:67;:::i;:::-;22062:74;;22145:93;22234:3;22145:93;:::i;:::-;22263:2;22258:3;22254:12;22247:19;;21906:366;;;:::o;22278:419::-;22444:4;22482:2;22471:9;22467:18;22459:26;;22531:9;22525:4;22521:20;22517:1;22506:9;22502:17;22495:47;22559:131;22685:4;22559:131;:::i;:::-;22551:139;;22278:419;;;:::o;22703:159::-;22843:11;22839:1;22831:6;22827:14;22820:35;22703:159;:::o;22868:365::-;23010:3;23031:66;23095:1;23090:3;23031:66;:::i;:::-;23024:73;;23106:93;23195:3;23106:93;:::i;:::-;23224:2;23219:3;23215:12;23208:19;;22868:365;;;:::o;23239:419::-;23405:4;23443:2;23432:9;23428:18;23420:26;;23492:9;23486:4;23482:20;23478:1;23467:9;23463:17;23456:47;23520:131;23646:4;23520:131;:::i;:::-;23512:139;;23239:419;;;:::o;23664:169::-;23804:21;23800:1;23792:6;23788:14;23781:45;23664:169;:::o;23839:366::-;23981:3;24002:67;24066:2;24061:3;24002:67;:::i;:::-;23995:74;;24078:93;24167:3;24078:93;:::i;:::-;24196:2;24191:3;24187:12;24180:19;;23839:366;;;:::o;24211:419::-;24377:4;24415:2;24404:9;24400:18;24392:26;;24464:9;24458:4;24454:20;24450:1;24439:9;24435:17;24428:47;24492:131;24618:4;24492:131;:::i;:::-;24484:139;;24211:419;;;:::o;24636:234::-;24776:34;24772:1;24764:6;24760:14;24753:58;24845:17;24840:2;24832:6;24828:15;24821:42;24636:234;:::o;24876:366::-;25018:3;25039:67;25103:2;25098:3;25039:67;:::i;:::-;25032:74;;25115:93;25204:3;25115:93;:::i;:::-;25233:2;25228:3;25224:12;25217:19;;24876:366;;;:::o;25248:419::-;25414:4;25452:2;25441:9;25437:18;25429:26;;25501:9;25495:4;25491:20;25487:1;25476:9;25472:17;25465:47;25529:131;25655:4;25529:131;:::i;:::-;25521:139;;25248:419;;;:::o;25673:148::-;25775:11;25812:3;25797:18;;25673:148;;;;:::o;25851:874::-;25954:3;25991:5;25985:12;26020:36;26046:9;26020:36;:::i;:::-;26072:89;26154:6;26149:3;26072:89;:::i;:::-;26065:96;;26192:1;26181:9;26177:17;26208:1;26203:166;;;;26383:1;26378:341;;;;26170:549;;26203:166;26287:4;26283:9;26272;26268:25;26263:3;26256:38;26349:6;26342:14;26335:22;26327:6;26323:35;26318:3;26314:45;26307:52;;26203:166;;26378:341;26445:38;26477:5;26445:38;:::i;:::-;26505:1;26519:154;26533:6;26530:1;26527:13;26519:154;;;26607:7;26601:14;26597:1;26592:3;26588:11;26581:35;26657:1;26648:7;26644:15;26633:26;;26555:4;26552:1;26548:12;26543:17;;26519:154;;;26702:6;26697:3;26693:16;26686:23;;26385:334;;26170:549;;25958:767;;25851:874;;;;:::o;26731:390::-;26837:3;26865:39;26898:5;26865:39;:::i;:::-;26920:89;27002:6;26997:3;26920:89;:::i;:::-;26913:96;;27018:65;27076:6;27071:3;27064:4;27057:5;27053:16;27018:65;:::i;:::-;27108:6;27103:3;27099:16;27092:23;;26841:280;26731:390;;;;:::o;27127:155::-;27267:7;27263:1;27255:6;27251:14;27244:31;27127:155;:::o;27288:400::-;27448:3;27469:84;27551:1;27546:3;27469:84;:::i;:::-;27462:91;;27562:93;27651:3;27562:93;:::i;:::-;27680:1;27675:3;27671:11;27664:18;;27288:400;;;:::o;27694:695::-;27972:3;27994:92;28082:3;28073:6;27994:92;:::i;:::-;27987:99;;28103:95;28194:3;28185:6;28103:95;:::i;:::-;28096:102;;28215:148;28359:3;28215:148;:::i;:::-;28208:155;;28380:3;28373:10;;27694:695;;;;;:::o;28395:225::-;28535:34;28531:1;28523:6;28519:14;28512:58;28604:8;28599:2;28591:6;28587:15;28580:33;28395:225;:::o;28626:366::-;28768:3;28789:67;28853:2;28848:3;28789:67;:::i;:::-;28782:74;;28865:93;28954:3;28865:93;:::i;:::-;28983:2;28978:3;28974:12;28967:19;;28626:366;;;:::o;28998:419::-;29164:4;29202:2;29191:9;29187:18;29179:26;;29251:9;29245:4;29241:20;29237:1;29226:9;29222:17;29215:47;29279:131;29405:4;29279:131;:::i;:::-;29271:139;;28998:419;;;:::o;29423:182::-;29563:34;29559:1;29551:6;29547:14;29540:58;29423:182;:::o;29611:366::-;29753:3;29774:67;29838:2;29833:3;29774:67;:::i;:::-;29767:74;;29850:93;29939:3;29850:93;:::i;:::-;29968:2;29963:3;29959:12;29952:19;;29611:366;;;:::o;29983:419::-;30149:4;30187:2;30176:9;30172:18;30164:26;;30236:9;30230:4;30226:20;30222:1;30211:9;30207:17;30200:47;30264:131;30390:4;30264:131;:::i;:::-;30256:139;;29983:419;;;:::o;30408:98::-;30459:6;30493:5;30487:12;30477:22;;30408:98;;;:::o;30512:168::-;30595:11;30629:6;30624:3;30617:19;30669:4;30664:3;30660:14;30645:29;;30512:168;;;;:::o;30686:373::-;30772:3;30800:38;30832:5;30800:38;:::i;:::-;30854:70;30917:6;30912:3;30854:70;:::i;:::-;30847:77;;30933:65;30991:6;30986:3;30979:4;30972:5;30968:16;30933:65;:::i;:::-;31023:29;31045:6;31023:29;:::i;:::-;31018:3;31014:39;31007:46;;30776:283;30686:373;;;;:::o;31065:640::-;31260:4;31298:3;31287:9;31283:19;31275:27;;31312:71;31380:1;31369:9;31365:17;31356:6;31312:71;:::i;:::-;31393:72;31461:2;31450:9;31446:18;31437:6;31393:72;:::i;:::-;31475;31543:2;31532:9;31528:18;31519:6;31475:72;:::i;:::-;31594:9;31588:4;31584:20;31579:2;31568:9;31564:18;31557:48;31622:76;31693:4;31684:6;31622:76;:::i;:::-;31614:84;;31065:640;;;;;;;:::o;31711:141::-;31767:5;31798:6;31792:13;31783:22;;31814:32;31840:5;31814:32;:::i;:::-;31711:141;;;;:::o;31858:349::-;31927:6;31976:2;31964:9;31955:7;31951:23;31947:32;31944:119;;;31982:79;;:::i;:::-;31944:119;32102:1;32127:63;32182:7;32173:6;32162:9;32158:22;32127:63;:::i;:::-;32117:73;;32073:127;31858:349;;;;:::o;32213:180::-;32261:77;32258:1;32251:88;32358:4;32355:1;32348:15;32382:4;32379:1;32372:15
Swarm Source
ipfs://a32723a223dbe65ad99b83591a00a5ef52eb283edaee48b5cc7b77629fae98cd
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.