ERC-721
Overview
Max Total Supply
5,000 8BIT
Holders
976
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 8BITLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BitOutlaws
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-13 */ // SPDX-License-Identifier: MIT // File: contracts/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: contracts/OperatorFilterer.sol pragma solidity ^0.8.13; abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if ( !( operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender) && operatorFilterRegistry.isOperatorAllowed(address(this), from) ) ) { revert OperatorNotAllowed(msg.sender); } } _; } } // File: contracts/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: 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: 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, DefaultOperatorFilterer { // 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 1; } /** * @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 _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721A.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override onlyAllowedOperator(from){ 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 onlyAllowedOperator(from){ 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 onlyAllowedOperator(from){ 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/Math.sol // OpenZeppelin Contracts (last updated v4.8.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) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 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 10, 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: contracts/Strings.sol // OpenZeppelin Contracts (last updated v4.8.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 `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); } } // File: contracts/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: contracts/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.7; contract BitOutlaws is ERC721A, Ownable{ using Strings for uint256; uint public tokenPrice = 0.003 ether; uint public maxSupply = 5000; uint public freeNFT = 1; bool public sale_status = false; bool public isBurnEnabled = false; bool public isRevealed = true; string public baseURI = "ipfs://QmYrzVRcnk7xxiPx6R8kmiviUPVcsrFbvCFeAUaVdgWnvi/"; string public placeholderTokenUri = ""; mapping(uint256 => address) public burnedby; mapping(address => bool) public hasMintedFree; mapping(address => uint256) public addressMintedBalance; uint public maxPerTransaction = 11; //Max Limit for Sale uint public maxPerWallet = 11; //Max Limit for Presale constructor() ERC721A("8 Bit Outlaws", "8BIT"){} function mint(uint _count) public payable{ require(sale_status == true, "Sale is Paused."); require(_count > 0, "mint at least one token"); require(totalSupply() + _count <= maxSupply, "Sold Out!"); require(_count <= maxPerTransaction, "max per transaction 5"); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require(ownerMintedCount + _count <= maxPerWallet, "ERROR: Max NFT per address exceeded"); addressMintedBalance[msg.sender] += _count; // uint count = balanceOf(msg.sender); if (ownerMintedCount < freeNFT) { if (_count > freeNFT - ownerMintedCount) { require(msg.value >= tokenPrice * (_count - (freeNFT - ownerMintedCount)), "Insufficient funds!"); _safeMint(msg.sender, _count); } else { _safeMint(msg.sender, _count); } } else { require(msg.value >= tokenPrice * _count, "You got max free NFTs! Provide funds"); _safeMint(msg.sender, _count); } } function adminMint(uint _count) external onlyOwner{ require(_count > 0, "mint at least one token"); require(totalSupply() + _count <= maxSupply, "Sold Out!"); _safeMint(msg.sender, _count); } function sendGifts(address[] memory _wallets) public onlyOwner{ require(totalSupply() + _wallets.length <= maxSupply, "Sold Out!"); for(uint i = 0; i < _wallets.length; i++) _safeMint(_wallets[i], 1); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if(!isRevealed) { return placeholderTokenUri; } return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : ""; } function setBaseUri(string memory _uri) external onlyOwner { baseURI = _uri; } function setPlaceholderTokenUri(string memory newPlaceholderTokenUri) external onlyOwner { placeholderTokenUri = newPlaceholderTokenUri; } function updateFreeNFT(uint newValue) public onlyOwner { freeNFT = newValue; } function updateMaxSupply(uint _newMaxSupply) public onlyOwner { require(_newMaxSupply > totalSupply(), "New maxSupply should be greater than current totalSupply"); maxSupply = _newMaxSupply; } function updateMaxPerTransaction(uint newMax) public onlyOwner { maxPerTransaction = newMax; } function updateMaxPerWallet(uint newMax) public onlyOwner { maxPerWallet = newMax; } function toggleSaleStatus() external onlyOwner{ sale_status = !sale_status; } function update_burning_status(bool status) external onlyOwner { isBurnEnabled = status; } function bulkBurn(uint256[] memory tokenIds) external { require(isBurnEnabled, "burning disabled"); for (uint i = 0; i < tokenIds.length; i++) { uint256 tokenId = tokenIds[i]; require( _isApprovedOrOwner(msg.sender, tokenId), "burn caller is not approved" ); _burn(tokenId); burnedby[tokenId] = msg.sender; } } function public_sale_price(uint pr) external onlyOwner { tokenPrice = pr; } function toggleReveal() external onlyOwner{ isRevealed = !isRevealed; } function withdraw() external onlyOwner { uint _balance = address(this).balance; payable(owner()).transfer(_balance); } }
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":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"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":"tokenIds","type":"uint256[]"}],"name":"bulkBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"burnedby","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasMintedFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","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":"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":"placeholderTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pr","type":"uint256"}],"name":"public_sale_price","outputs":[],"stateMutability":"nonpayable","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":[],"name":"sale_status","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"}],"name":"sendGifts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newPlaceholderTokenUri","type":"string"}],"name":"setPlaceholderTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateFreeNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"updateMaxPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"updateMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"updateMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"update_burning_status","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
660aa87bee538000600955611388600a556001600b55600c805462ffffff19166201000017905560e0604052603660808181529062002e4760a039600d906200004990826200034d565b50604080516020810190915260008152600e906200006890826200034d565b50600b601255600b6013553480156200008057600080fd5b50604080518082018252600d81526c3820426974204f75746c61777360981b602080830191909152825180840190935260048352630e10925560e21b9083015290733cc6cdda760b79bafa08df41ecfa224f810dceb660016daaeb6d7670e522a718067333cd4e3b156200021d5780156200016b57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014c57600080fd5b505af115801562000161573d6000803e3d6000fd5b505050506200021d565b6001600160a01b03821615620001bc5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000131565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200020357600080fd5b505af115801562000218573d6000803e3d6000fd5b505050505b50600290506200022e83826200034d565b5060036200023d82826200034d565b5050600160005550620002503362000256565b62000419565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002d357607f821691505b602082108103620002f457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200034857600081815260208120601f850160051c81016020861015620003235750805b601f850160051c820191505b8181101562000344578281556001016200032f565b5050505b505050565b81516001600160401b03811115620003695762000369620002a8565b62000381816200037a8454620002be565b84620002fa565b602080601f831160018114620003b95760008415620003a05750858301515b600019600386901b1c1916600185901b17855562000344565b600085815260208120601f198616915b82811015620003ea57888601518255948401946001909101908401620003c9565b5085821015620004095787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612a1e80620004296000396000f3fe6080604052600436106102715760003560e01c806370a082311161014f578063a22cb465116100c1578063c87b56dd1161007a578063c87b56dd146106fe578063d5abeb011461071e578063e985e9c514610734578063f103b43314610754578063f2fde38b14610774578063fecfda491461079457600080fd5b8063a22cb46514610645578063b7002ab414610665578063b88d4fde1461067b578063c1f261231461068e578063c513d029146106ae578063c7381b95146106de57600080fd5b80638da5cb5b116101135780638da5cb5b1461059f57806395d89b41146105bd57806396961a6b146105d25780639e124d69146105f2578063a0712d6814610612578063a0bcfc7f1461062557600080fd5b806370a0823114610514578063715018a6146105345780637c8255db146105495780637ff9b596146105695780638154ecee1461057f57600080fd5b806338164c1e116101e85780634cf5f7a4116101ac5780634cf5f7a41461047557806354214f691461048a57806356faa023146104aa5780635b8ad429146104ca5780636352211e146104df5780636c0360eb146104ff57600080fd5b806338164c1e146104075780633ccfd60b1461042157806342842e0e14610436578063453c2310146104495780634b980d671461045f57600080fd5b8063081812fc1161023a578063081812fc14610351578063095ea7b31461037157806318160ddd1461038457806318cae269146103a75780631d1021a0146103d457806323b872dd146103f457600080fd5b806280f6d51461027657806301ffc9a7146102c9578063049c5c49146102f957806306fdde031461031057806307ebec2714610332575b600080fd5b34801561028257600080fd5b506102ac610291366004612241565b600f602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102d557600080fd5b506102e96102e4366004612270565b6107b4565b60405190151581526020016102c0565b34801561030557600080fd5b5061030e610806565b005b34801561031c57600080fd5b50610325610822565b6040516102c091906122dd565b34801561033e57600080fd5b50600c546102e990610100900460ff1681565b34801561035d57600080fd5b506102ac61036c366004612241565b6108b4565b61030e61037f36600461230c565b6108f8565b34801561039057600080fd5b50610399610998565b6040519081526020016102c0565b3480156103b357600080fd5b506103996103c2366004612336565b60116020526000908152604090205481565b3480156103e057600080fd5b5061030e6103ef36600461235f565b6109a6565b61030e61040236600461237c565b6109c8565b34801561041357600080fd5b50600c546102e99060ff1681565b34801561042d57600080fd5b5061030e610e2e565b61030e61044436600461237c565b610e85565b34801561045557600080fd5b5061039960135481565b34801561046b57600080fd5b5061039960125481565b34801561048157600080fd5b50610325610ffb565b34801561049657600080fd5b50600c546102e99062010000900460ff1681565b3480156104b657600080fd5b5061030e6104c5366004612457565b611089565b3480156104d657600080fd5b5061030e61109d565b3480156104eb57600080fd5b506102ac6104fa366004612241565b6110c4565b34801561050b57600080fd5b506103256110cf565b34801561052057600080fd5b5061039961052f366004612336565b6110dc565b34801561054057600080fd5b5061030e61112b565b34801561055557600080fd5b5061030e6105643660046124c4565b61113f565b34801561057557600080fd5b5061039960095481565b34801561058b57600080fd5b5061030e61059a366004612241565b6111be565b3480156105ab57600080fd5b506008546001600160a01b03166102ac565b3480156105c957600080fd5b506103256111cb565b3480156105de57600080fd5b5061030e6105ed366004612241565b6111da565b3480156105fe57600080fd5b5061030e61060d366004612561565b6111e7565b61030e610620366004612241565b6112ea565b34801561063157600080fd5b5061030e610640366004612457565b611592565b34801561065157600080fd5b5061030e6106603660046125e7565b6115a6565b34801561067157600080fd5b50610399600b5481565b61030e61068936600461261e565b611612565b34801561069a57600080fd5b5061030e6106a9366004612241565b6117e1565b3480156106ba57600080fd5b506102e96106c9366004612336565b60106020526000908152604090205460ff1681565b3480156106ea57600080fd5b5061030e6106f9366004612241565b611874565b34801561070a57600080fd5b50610325610719366004612241565b611881565b34801561072a57600080fd5b50610399600a5481565b34801561074057600080fd5b506102e961074f36600461269a565b6119ee565b34801561076057600080fd5b5061030e61076f366004612241565b611a1c565b34801561078057600080fd5b5061030e61078f366004612336565b611aa5565b3480156107a057600080fd5b5061030e6107af366004612241565b611b1b565b60006301ffc9a760e01b6001600160e01b0319831614806107e557506380ac58cd60e01b6001600160e01b03198316145b806108005750635b5e139f60e01b6001600160e01b03198316145b92915050565b61080e611b28565b600c805460ff19811660ff90911615179055565b606060028054610831906126cd565b80601f016020809104026020016040519081016040528092919081815260200182805461085d906126cd565b80156108aa5780601f1061087f576101008083540402835291602001916108aa565b820191906000526020600020905b81548152906001019060200180831161088d57829003601f168201915b5050505050905090565b60006108bf82611b82565b6108dc576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610903826110c4565b9050336001600160a01b0382161461093c5761091f81336119ee565b61093c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600154600054036000190190565b6109ae611b28565b600c80549115156101000261ff0019909216919091179055565b826daaeb6d7670e522a718067333cd4e3b15610cae57336001600160a01b03821603610b945760006109f983611bb7565b9050846001600160a01b0316816001600160a01b031614610a2c5760405162a1148160e81b815260040160405180910390fd5b60008381526006602052604090208054610a588188335b6001600160a01b039081169116811491141790565b610a8357610a6687336119ee565b610a8357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038616610aaa57604051633a954ecd60e21b815260040160405180910390fd5b8015610ab557600082555b6001600160a01b038781166000908152600560205260408082208054600019019055918816815290812080546001019055610b089087905b600160e11b174260a01b176001600160a01b03919091161790565b600086815260046020526040812091909155600160e11b84169003610b5d57600185016000818152600460205260408120549003610b5b576000548114610b5b5760008181526004602052604090208490555b505b84866001600160a01b0316886001600160a01b03166000805160206129c983398151915260405160405180910390a4505050610e28565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610be3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c079190612707565b8015610c8a5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8a9190612707565b610cae57604051633b79c77360e21b81523360048201526024015b60405180910390fd5b6000610cb983611bb7565b9050846001600160a01b0316816001600160a01b031614610cec5760405162a1148160e81b815260040160405180910390fd5b60008381526006602052604090208054610d07818833610a43565b610d3257610d1587336119ee565b610d3257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038616610d5957604051633a954ecd60e21b815260040160405180910390fd5b8015610d6457600082555b6001600160a01b038781166000908152600560205260408082208054600019019055918816815290812080546001019055610da0908790610aed565b600086815260046020526040812091909155600160e11b84169003610df557600185016000818152600460205260408120549003610df3576000548114610df35760008181526004602052604090208490555b505b84866001600160a01b0316886001600160a01b03166000805160206129c983398151915260405160405180910390a45050505b50505050565b610e36611b28565b47610e496008546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610e81573d6000803e3d6000fd5b5050565b826daaeb6d7670e522a718067333cd4e3b15610fe057336001600160a01b03821603610ecb57610ec684848460405180602001604052806000815250611612565b610e28565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3e9190612707565b8015610fc15750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610f9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc19190612707565b610fe057604051633b79c77360e21b8152336004820152602401610ca5565b610e2884848460405180602001604052806000815250611612565b600e8054611008906126cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611034906126cd565b80156110815780601f1061105657610100808354040283529160200191611081565b820191906000526020600020905b81548152906001019060200180831161106457829003601f168201915b505050505081565b611091611b28565b600e610e818282612772565b6110a5611b28565b600c805462ff0000198116620100009182900460ff1615909102179055565b600061080082611bb7565b600d8054611008906126cd565b60006001600160a01b038216611105576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611133611b28565b61113d6000611c2d565b565b611147611b28565b600a548151611154610998565b61115e9190612848565b111561117c5760405162461bcd60e51b8152600401610ca59061285b565b60005b8151811015610e81576111ac82828151811061119d5761119d61287e565b60200260200101516001611c7f565b806111b681612894565b91505061117f565b6111c6611b28565b600955565b606060038054610831906126cd565b6111e2611b28565b600b55565b600c54610100900460ff166112315760405162461bcd60e51b815260206004820152601060248201526f189d5c9b9a5b99c8191a5cd8589b195960821b6044820152606401610ca5565b60005b8151811015610e815760008282815181106112515761125161287e565b602002602001015190506112653382611c99565b6112b15760405162461bcd60e51b815260206004820152601b60248201527f6275726e2063616c6c6572206973206e6f7420617070726f76656400000000006044820152606401610ca5565b6112ba81611d63565b6000908152600f6020526040902080546001600160a01b03191633179055806112e281612894565b915050611234565b600c5460ff1615156001146113335760405162461bcd60e51b815260206004820152600f60248201526e29b0b6329034b9902830bab9b2b21760891b6044820152606401610ca5565b6000811161137d5760405162461bcd60e51b815260206004820152601760248201527636b4b73a1030ba103632b0b9ba1037b732903a37b5b2b760491b6044820152606401610ca5565b600a5481611389610998565b6113939190612848565b11156113b15760405162461bcd60e51b8152600401610ca59061285b565b6012548111156113fb5760405162461bcd60e51b81526020600482015260156024820152746d617820706572207472616e73616374696f6e203560581b6044820152606401610ca5565b336000908152601160205260409020546013546114188383612848565b11156114725760405162461bcd60e51b815260206004820152602360248201527f4552524f523a204d6178204e465420706572206164647265737320657863656560448201526219195960ea1b6064820152608401610ca5565b3360009081526011602052604081208054849290611491908490612848565b9091555050600b548110156115295780600b546114ae91906128ad565b82111561151f5780600b546114c391906128ad565b6114cd90836128ad565b6009546114da91906128c0565b34101561151f5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610ca5565b610e813383611c7f565b8160095461153791906128c0565b34101561151f5760405162461bcd60e51b8152602060048201526024808201527f596f7520676f74206d61782066726565204e465473212050726f766964652066604482015263756e647360e01b6064820152608401610ca5565b61159a611b28565b600d610e818282612772565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836daaeb6d7670e522a718067333cd4e3b1561179657336001600160a01b03821603611681576116438585856109c8565b6001600160a01b0384163b1561167c5761165f85858585611d6e565b61167c576040516368d2bf6b60e11b815260040160405180910390fd5b6117da565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156116d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f49190612707565b80156117775750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117779190612707565b61179657604051633b79c77360e21b8152336004820152602401610ca5565b6117a18585856109c8565b6001600160a01b0384163b156117da576117bd85858585611d6e565b6117da576040516368d2bf6b60e11b815260040160405180910390fd5b5050505050565b6117e9611b28565b600081116118335760405162461bcd60e51b815260206004820152601760248201527636b4b73a1030ba103632b0b9ba1037b732903a37b5b2b760491b6044820152606401610ca5565b600a548161183f610998565b6118499190612848565b11156118675760405162461bcd60e51b8152600401610ca59061285b565b6118713382611c7f565b50565b61187c611b28565b601255565b606061188c82611b82565b6118f05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ca5565b600c5462010000900460ff1661199257600e805461190d906126cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611939906126cd565b80156119865780601f1061195b57610100808354040283529160200191611986565b820191906000526020600020905b81548152906001019060200180831161196957829003601f168201915b50505050509050919050565b6000600d80546119a1906126cd565b9050116119bd5760405180602001604052806000815250610800565b600d6119c883611e59565b6040516020016119d99291906128d7565b60405160208183030381529060405292915050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611a24611b28565b611a2c610998565b8111611aa05760405162461bcd60e51b815260206004820152603860248201527f4e6577206d6178537570706c792073686f756c6420626520677265617465722060448201527f7468616e2063757272656e7420746f74616c537570706c7900000000000000006064820152608401610ca5565b600a55565b611aad611b28565b6001600160a01b038116611b125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ca5565b61187181611c2d565b611b23611b28565b601355565b6008546001600160a01b0316331461113d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ca5565b600081600111158015611b96575060005482105b8015610800575050600090815260046020526040902054600160e01b161590565b60008180600111611c1457600054811015611c145760008181526004602052604081205490600160e01b82169003611c12575b80600003611c0b575060001901600081815260046020526040902054611bea565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e81828260405180602001604052806000815250611eec565b6000611ca482611b82565b611d055760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610ca5565b6000611d10836110c4565b9050806001600160a01b0316846001600160a01b03161480611d4b5750836001600160a01b0316611d40846108b4565b6001600160a01b0316145b80611d5b5750611d5b81856119ee565b949350505050565b611871816000611f57565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611da390339089908890889060040161296e565b6020604051808303816000875af1925050508015611dde575060408051601f3d908101601f19168201909252611ddb918101906129ab565b60015b611e3c573d808015611e0c576040519150601f19603f3d011682016040523d82523d6000602084013e611e11565b606091505b508051600003611e34576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606000611e668361208f565b600101905060008167ffffffffffffffff811115611e8657611e866123b8565b6040519080825280601f01601f191660200182016040528015611eb0576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611eba57509392505050565b611ef68383612167565b6001600160a01b0383163b15611f52576000548281035b611f206000868380600101945086611d6e565b611f3d576040516368d2bf6b60e11b815260040160405180910390fd5b818110611f0d5781600054146117da57600080fd5b505050565b6000611f6283611bb7565b905080600080611f8086600090815260066020526040902080549091565b915091508415611fc057611f95818433610a43565b611fc057611fa383336119ee565b611fc057604051632ce44b5f60e11b815260040160405180910390fd5b8015611fcb57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b85169003612059576001860160008181526004602052604081205490036120575760005481146120575760008181526004602052604090208590555b505b60405186906000906001600160a01b038616906000805160206129c9833981519152908390a45050600180548101905550505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106120ce5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106120fa576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061211857662386f26fc10000830492506010015b6305f5e1008310612130576305f5e100830492506008015b612710831061214457612710830492506004015b60648310612156576064830492506002015b600a83106108005760010192915050565b600080549082900361218c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206129c98339815191528180a4600183015b81811461221757808360006000805160206129c9833981519152600080a46001016121f1565b508160000361223857604051622e076360e81b815260040160405180910390fd5b60005550505050565b60006020828403121561225357600080fd5b5035919050565b6001600160e01b03198116811461187157600080fd5b60006020828403121561228257600080fd5b8135611c0b8161225a565b60005b838110156122a8578181015183820152602001612290565b50506000910152565b600081518084526122c981602086016020860161228d565b601f01601f19169290920160200192915050565b602081526000611c0b60208301846122b1565b80356001600160a01b038116811461230757600080fd5b919050565b6000806040838503121561231f57600080fd5b612328836122f0565b946020939093013593505050565b60006020828403121561234857600080fd5b611c0b826122f0565b801515811461187157600080fd5b60006020828403121561237157600080fd5b8135611c0b81612351565b60008060006060848603121561239157600080fd5b61239a846122f0565b92506123a8602085016122f0565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156123f7576123f76123b8565b604052919050565b600067ffffffffffffffff831115612419576124196123b8565b61242c601f8401601f19166020016123ce565b905082815283838301111561244057600080fd5b828260208301376000602084830101529392505050565b60006020828403121561246957600080fd5b813567ffffffffffffffff81111561248057600080fd5b8201601f8101841361249157600080fd5b611d5b848235602084016123ff565b600067ffffffffffffffff8211156124ba576124ba6123b8565b5060051b60200190565b600060208083850312156124d757600080fd5b823567ffffffffffffffff8111156124ee57600080fd5b8301601f810185136124ff57600080fd5b803561251261250d826124a0565b6123ce565b81815260059190911b8201830190838101908783111561253157600080fd5b928401925b8284101561255657612547846122f0565b82529284019290840190612536565b979650505050505050565b6000602080838503121561257457600080fd5b823567ffffffffffffffff81111561258b57600080fd5b8301601f8101851361259c57600080fd5b80356125aa61250d826124a0565b81815260059190911b820183019083810190878311156125c957600080fd5b928401925b82841015612556578335825292840192908401906125ce565b600080604083850312156125fa57600080fd5b612603836122f0565b9150602083013561261381612351565b809150509250929050565b6000806000806080858703121561263457600080fd5b61263d856122f0565b935061264b602086016122f0565b925060408501359150606085013567ffffffffffffffff81111561266e57600080fd5b8501601f8101871361267f57600080fd5b61268e878235602084016123ff565b91505092959194509250565b600080604083850312156126ad57600080fd5b6126b6836122f0565b91506126c4602084016122f0565b90509250929050565b600181811c908216806126e157607f821691505b60208210810361270157634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561271957600080fd5b8151611c0b81612351565b601f821115611f5257600081815260208120601f850160051c8101602086101561274b5750805b601f850160051c820191505b8181101561276a57828155600101612757565b505050505050565b815167ffffffffffffffff81111561278c5761278c6123b8565b6127a08161279a84546126cd565b84612724565b602080601f8311600181146127d557600084156127bd5750858301515b600019600386901b1c1916600185901b17855561276a565b600085815260208120601f198616915b82811015612804578886015182559484019460019091019084016127e5565b50858210156128225787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561080057610800612832565b602080825260099082015268536f6c64204f75742160b81b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016128a6576128a6612832565b5060010190565b8181038181111561080057610800612832565b808202811582820484141761080057610800612832565b60008084546128e5816126cd565b600182811680156128fd576001811461291257612941565b60ff1984168752821515830287019450612941565b8860005260208060002060005b858110156129385781548a82015290840190820161291f565b50505082870194505b50505050835161295581836020880161228d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129a1908301846122b1565b9695505050505050565b6000602082840312156129bd57600080fd5b8151611c0b8161225a56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212206eaa9cc6c9ea61b0b31df6e6bd624db8c3e5bcdefad930a6d721b1ea4ca3fca264736f6c63430008120033697066733a2f2f516d59727a5652636e6b3778786950783652386b6d697669555056637372466276434665415561566467576e76692f
Deployed Bytecode
0x6080604052600436106102715760003560e01c806370a082311161014f578063a22cb465116100c1578063c87b56dd1161007a578063c87b56dd146106fe578063d5abeb011461071e578063e985e9c514610734578063f103b43314610754578063f2fde38b14610774578063fecfda491461079457600080fd5b8063a22cb46514610645578063b7002ab414610665578063b88d4fde1461067b578063c1f261231461068e578063c513d029146106ae578063c7381b95146106de57600080fd5b80638da5cb5b116101135780638da5cb5b1461059f57806395d89b41146105bd57806396961a6b146105d25780639e124d69146105f2578063a0712d6814610612578063a0bcfc7f1461062557600080fd5b806370a0823114610514578063715018a6146105345780637c8255db146105495780637ff9b596146105695780638154ecee1461057f57600080fd5b806338164c1e116101e85780634cf5f7a4116101ac5780634cf5f7a41461047557806354214f691461048a57806356faa023146104aa5780635b8ad429146104ca5780636352211e146104df5780636c0360eb146104ff57600080fd5b806338164c1e146104075780633ccfd60b1461042157806342842e0e14610436578063453c2310146104495780634b980d671461045f57600080fd5b8063081812fc1161023a578063081812fc14610351578063095ea7b31461037157806318160ddd1461038457806318cae269146103a75780631d1021a0146103d457806323b872dd146103f457600080fd5b806280f6d51461027657806301ffc9a7146102c9578063049c5c49146102f957806306fdde031461031057806307ebec2714610332575b600080fd5b34801561028257600080fd5b506102ac610291366004612241565b600f602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102d557600080fd5b506102e96102e4366004612270565b6107b4565b60405190151581526020016102c0565b34801561030557600080fd5b5061030e610806565b005b34801561031c57600080fd5b50610325610822565b6040516102c091906122dd565b34801561033e57600080fd5b50600c546102e990610100900460ff1681565b34801561035d57600080fd5b506102ac61036c366004612241565b6108b4565b61030e61037f36600461230c565b6108f8565b34801561039057600080fd5b50610399610998565b6040519081526020016102c0565b3480156103b357600080fd5b506103996103c2366004612336565b60116020526000908152604090205481565b3480156103e057600080fd5b5061030e6103ef36600461235f565b6109a6565b61030e61040236600461237c565b6109c8565b34801561041357600080fd5b50600c546102e99060ff1681565b34801561042d57600080fd5b5061030e610e2e565b61030e61044436600461237c565b610e85565b34801561045557600080fd5b5061039960135481565b34801561046b57600080fd5b5061039960125481565b34801561048157600080fd5b50610325610ffb565b34801561049657600080fd5b50600c546102e99062010000900460ff1681565b3480156104b657600080fd5b5061030e6104c5366004612457565b611089565b3480156104d657600080fd5b5061030e61109d565b3480156104eb57600080fd5b506102ac6104fa366004612241565b6110c4565b34801561050b57600080fd5b506103256110cf565b34801561052057600080fd5b5061039961052f366004612336565b6110dc565b34801561054057600080fd5b5061030e61112b565b34801561055557600080fd5b5061030e6105643660046124c4565b61113f565b34801561057557600080fd5b5061039960095481565b34801561058b57600080fd5b5061030e61059a366004612241565b6111be565b3480156105ab57600080fd5b506008546001600160a01b03166102ac565b3480156105c957600080fd5b506103256111cb565b3480156105de57600080fd5b5061030e6105ed366004612241565b6111da565b3480156105fe57600080fd5b5061030e61060d366004612561565b6111e7565b61030e610620366004612241565b6112ea565b34801561063157600080fd5b5061030e610640366004612457565b611592565b34801561065157600080fd5b5061030e6106603660046125e7565b6115a6565b34801561067157600080fd5b50610399600b5481565b61030e61068936600461261e565b611612565b34801561069a57600080fd5b5061030e6106a9366004612241565b6117e1565b3480156106ba57600080fd5b506102e96106c9366004612336565b60106020526000908152604090205460ff1681565b3480156106ea57600080fd5b5061030e6106f9366004612241565b611874565b34801561070a57600080fd5b50610325610719366004612241565b611881565b34801561072a57600080fd5b50610399600a5481565b34801561074057600080fd5b506102e961074f36600461269a565b6119ee565b34801561076057600080fd5b5061030e61076f366004612241565b611a1c565b34801561078057600080fd5b5061030e61078f366004612336565b611aa5565b3480156107a057600080fd5b5061030e6107af366004612241565b611b1b565b60006301ffc9a760e01b6001600160e01b0319831614806107e557506380ac58cd60e01b6001600160e01b03198316145b806108005750635b5e139f60e01b6001600160e01b03198316145b92915050565b61080e611b28565b600c805460ff19811660ff90911615179055565b606060028054610831906126cd565b80601f016020809104026020016040519081016040528092919081815260200182805461085d906126cd565b80156108aa5780601f1061087f576101008083540402835291602001916108aa565b820191906000526020600020905b81548152906001019060200180831161088d57829003601f168201915b5050505050905090565b60006108bf82611b82565b6108dc576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610903826110c4565b9050336001600160a01b0382161461093c5761091f81336119ee565b61093c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600154600054036000190190565b6109ae611b28565b600c80549115156101000261ff0019909216919091179055565b826daaeb6d7670e522a718067333cd4e3b15610cae57336001600160a01b03821603610b945760006109f983611bb7565b9050846001600160a01b0316816001600160a01b031614610a2c5760405162a1148160e81b815260040160405180910390fd5b60008381526006602052604090208054610a588188335b6001600160a01b039081169116811491141790565b610a8357610a6687336119ee565b610a8357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038616610aaa57604051633a954ecd60e21b815260040160405180910390fd5b8015610ab557600082555b6001600160a01b038781166000908152600560205260408082208054600019019055918816815290812080546001019055610b089087905b600160e11b174260a01b176001600160a01b03919091161790565b600086815260046020526040812091909155600160e11b84169003610b5d57600185016000818152600460205260408120549003610b5b576000548114610b5b5760008181526004602052604090208490555b505b84866001600160a01b0316886001600160a01b03166000805160206129c983398151915260405160405180910390a4505050610e28565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610be3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c079190612707565b8015610c8a5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8a9190612707565b610cae57604051633b79c77360e21b81523360048201526024015b60405180910390fd5b6000610cb983611bb7565b9050846001600160a01b0316816001600160a01b031614610cec5760405162a1148160e81b815260040160405180910390fd5b60008381526006602052604090208054610d07818833610a43565b610d3257610d1587336119ee565b610d3257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038616610d5957604051633a954ecd60e21b815260040160405180910390fd5b8015610d6457600082555b6001600160a01b038781166000908152600560205260408082208054600019019055918816815290812080546001019055610da0908790610aed565b600086815260046020526040812091909155600160e11b84169003610df557600185016000818152600460205260408120549003610df3576000548114610df35760008181526004602052604090208490555b505b84866001600160a01b0316886001600160a01b03166000805160206129c983398151915260405160405180910390a45050505b50505050565b610e36611b28565b47610e496008546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610e81573d6000803e3d6000fd5b5050565b826daaeb6d7670e522a718067333cd4e3b15610fe057336001600160a01b03821603610ecb57610ec684848460405180602001604052806000815250611612565b610e28565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3e9190612707565b8015610fc15750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610f9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc19190612707565b610fe057604051633b79c77360e21b8152336004820152602401610ca5565b610e2884848460405180602001604052806000815250611612565b600e8054611008906126cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611034906126cd565b80156110815780601f1061105657610100808354040283529160200191611081565b820191906000526020600020905b81548152906001019060200180831161106457829003601f168201915b505050505081565b611091611b28565b600e610e818282612772565b6110a5611b28565b600c805462ff0000198116620100009182900460ff1615909102179055565b600061080082611bb7565b600d8054611008906126cd565b60006001600160a01b038216611105576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611133611b28565b61113d6000611c2d565b565b611147611b28565b600a548151611154610998565b61115e9190612848565b111561117c5760405162461bcd60e51b8152600401610ca59061285b565b60005b8151811015610e81576111ac82828151811061119d5761119d61287e565b60200260200101516001611c7f565b806111b681612894565b91505061117f565b6111c6611b28565b600955565b606060038054610831906126cd565b6111e2611b28565b600b55565b600c54610100900460ff166112315760405162461bcd60e51b815260206004820152601060248201526f189d5c9b9a5b99c8191a5cd8589b195960821b6044820152606401610ca5565b60005b8151811015610e815760008282815181106112515761125161287e565b602002602001015190506112653382611c99565b6112b15760405162461bcd60e51b815260206004820152601b60248201527f6275726e2063616c6c6572206973206e6f7420617070726f76656400000000006044820152606401610ca5565b6112ba81611d63565b6000908152600f6020526040902080546001600160a01b03191633179055806112e281612894565b915050611234565b600c5460ff1615156001146113335760405162461bcd60e51b815260206004820152600f60248201526e29b0b6329034b9902830bab9b2b21760891b6044820152606401610ca5565b6000811161137d5760405162461bcd60e51b815260206004820152601760248201527636b4b73a1030ba103632b0b9ba1037b732903a37b5b2b760491b6044820152606401610ca5565b600a5481611389610998565b6113939190612848565b11156113b15760405162461bcd60e51b8152600401610ca59061285b565b6012548111156113fb5760405162461bcd60e51b81526020600482015260156024820152746d617820706572207472616e73616374696f6e203560581b6044820152606401610ca5565b336000908152601160205260409020546013546114188383612848565b11156114725760405162461bcd60e51b815260206004820152602360248201527f4552524f523a204d6178204e465420706572206164647265737320657863656560448201526219195960ea1b6064820152608401610ca5565b3360009081526011602052604081208054849290611491908490612848565b9091555050600b548110156115295780600b546114ae91906128ad565b82111561151f5780600b546114c391906128ad565b6114cd90836128ad565b6009546114da91906128c0565b34101561151f5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610ca5565b610e813383611c7f565b8160095461153791906128c0565b34101561151f5760405162461bcd60e51b8152602060048201526024808201527f596f7520676f74206d61782066726565204e465473212050726f766964652066604482015263756e647360e01b6064820152608401610ca5565b61159a611b28565b600d610e818282612772565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836daaeb6d7670e522a718067333cd4e3b1561179657336001600160a01b03821603611681576116438585856109c8565b6001600160a01b0384163b1561167c5761165f85858585611d6e565b61167c576040516368d2bf6b60e11b815260040160405180910390fd5b6117da565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156116d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f49190612707565b80156117775750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117779190612707565b61179657604051633b79c77360e21b8152336004820152602401610ca5565b6117a18585856109c8565b6001600160a01b0384163b156117da576117bd85858585611d6e565b6117da576040516368d2bf6b60e11b815260040160405180910390fd5b5050505050565b6117e9611b28565b600081116118335760405162461bcd60e51b815260206004820152601760248201527636b4b73a1030ba103632b0b9ba1037b732903a37b5b2b760491b6044820152606401610ca5565b600a548161183f610998565b6118499190612848565b11156118675760405162461bcd60e51b8152600401610ca59061285b565b6118713382611c7f565b50565b61187c611b28565b601255565b606061188c82611b82565b6118f05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610ca5565b600c5462010000900460ff1661199257600e805461190d906126cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611939906126cd565b80156119865780601f1061195b57610100808354040283529160200191611986565b820191906000526020600020905b81548152906001019060200180831161196957829003601f168201915b50505050509050919050565b6000600d80546119a1906126cd565b9050116119bd5760405180602001604052806000815250610800565b600d6119c883611e59565b6040516020016119d99291906128d7565b60405160208183030381529060405292915050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611a24611b28565b611a2c610998565b8111611aa05760405162461bcd60e51b815260206004820152603860248201527f4e6577206d6178537570706c792073686f756c6420626520677265617465722060448201527f7468616e2063757272656e7420746f74616c537570706c7900000000000000006064820152608401610ca5565b600a55565b611aad611b28565b6001600160a01b038116611b125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ca5565b61187181611c2d565b611b23611b28565b601355565b6008546001600160a01b0316331461113d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ca5565b600081600111158015611b96575060005482105b8015610800575050600090815260046020526040902054600160e01b161590565b60008180600111611c1457600054811015611c145760008181526004602052604081205490600160e01b82169003611c12575b80600003611c0b575060001901600081815260046020526040902054611bea565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e81828260405180602001604052806000815250611eec565b6000611ca482611b82565b611d055760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610ca5565b6000611d10836110c4565b9050806001600160a01b0316846001600160a01b03161480611d4b5750836001600160a01b0316611d40846108b4565b6001600160a01b0316145b80611d5b5750611d5b81856119ee565b949350505050565b611871816000611f57565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611da390339089908890889060040161296e565b6020604051808303816000875af1925050508015611dde575060408051601f3d908101601f19168201909252611ddb918101906129ab565b60015b611e3c573d808015611e0c576040519150601f19603f3d011682016040523d82523d6000602084013e611e11565b606091505b508051600003611e34576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606000611e668361208f565b600101905060008167ffffffffffffffff811115611e8657611e866123b8565b6040519080825280601f01601f191660200182016040528015611eb0576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611eba57509392505050565b611ef68383612167565b6001600160a01b0383163b15611f52576000548281035b611f206000868380600101945086611d6e565b611f3d576040516368d2bf6b60e11b815260040160405180910390fd5b818110611f0d5781600054146117da57600080fd5b505050565b6000611f6283611bb7565b905080600080611f8086600090815260066020526040902080549091565b915091508415611fc057611f95818433610a43565b611fc057611fa383336119ee565b611fc057604051632ce44b5f60e11b815260040160405180910390fd5b8015611fcb57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b85169003612059576001860160008181526004602052604081205490036120575760005481146120575760008181526004602052604090208590555b505b60405186906000906001600160a01b038616906000805160206129c9833981519152908390a45050600180548101905550505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106120ce5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106120fa576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061211857662386f26fc10000830492506010015b6305f5e1008310612130576305f5e100830492506008015b612710831061214457612710830492506004015b60648310612156576064830492506002015b600a83106108005760010192915050565b600080549082900361218c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206129c98339815191528180a4600183015b81811461221757808360006000805160206129c9833981519152600080a46001016121f1565b508160000361223857604051622e076360e81b815260040160405180910390fd5b60005550505050565b60006020828403121561225357600080fd5b5035919050565b6001600160e01b03198116811461187157600080fd5b60006020828403121561228257600080fd5b8135611c0b8161225a565b60005b838110156122a8578181015183820152602001612290565b50506000910152565b600081518084526122c981602086016020860161228d565b601f01601f19169290920160200192915050565b602081526000611c0b60208301846122b1565b80356001600160a01b038116811461230757600080fd5b919050565b6000806040838503121561231f57600080fd5b612328836122f0565b946020939093013593505050565b60006020828403121561234857600080fd5b611c0b826122f0565b801515811461187157600080fd5b60006020828403121561237157600080fd5b8135611c0b81612351565b60008060006060848603121561239157600080fd5b61239a846122f0565b92506123a8602085016122f0565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156123f7576123f76123b8565b604052919050565b600067ffffffffffffffff831115612419576124196123b8565b61242c601f8401601f19166020016123ce565b905082815283838301111561244057600080fd5b828260208301376000602084830101529392505050565b60006020828403121561246957600080fd5b813567ffffffffffffffff81111561248057600080fd5b8201601f8101841361249157600080fd5b611d5b848235602084016123ff565b600067ffffffffffffffff8211156124ba576124ba6123b8565b5060051b60200190565b600060208083850312156124d757600080fd5b823567ffffffffffffffff8111156124ee57600080fd5b8301601f810185136124ff57600080fd5b803561251261250d826124a0565b6123ce565b81815260059190911b8201830190838101908783111561253157600080fd5b928401925b8284101561255657612547846122f0565b82529284019290840190612536565b979650505050505050565b6000602080838503121561257457600080fd5b823567ffffffffffffffff81111561258b57600080fd5b8301601f8101851361259c57600080fd5b80356125aa61250d826124a0565b81815260059190911b820183019083810190878311156125c957600080fd5b928401925b82841015612556578335825292840192908401906125ce565b600080604083850312156125fa57600080fd5b612603836122f0565b9150602083013561261381612351565b809150509250929050565b6000806000806080858703121561263457600080fd5b61263d856122f0565b935061264b602086016122f0565b925060408501359150606085013567ffffffffffffffff81111561266e57600080fd5b8501601f8101871361267f57600080fd5b61268e878235602084016123ff565b91505092959194509250565b600080604083850312156126ad57600080fd5b6126b6836122f0565b91506126c4602084016122f0565b90509250929050565b600181811c908216806126e157607f821691505b60208210810361270157634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561271957600080fd5b8151611c0b81612351565b601f821115611f5257600081815260208120601f850160051c8101602086101561274b5750805b601f850160051c820191505b8181101561276a57828155600101612757565b505050505050565b815167ffffffffffffffff81111561278c5761278c6123b8565b6127a08161279a84546126cd565b84612724565b602080601f8311600181146127d557600084156127bd5750858301515b600019600386901b1c1916600185901b17855561276a565b600085815260208120601f198616915b82811015612804578886015182559484019460019091019084016127e5565b50858210156128225787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561080057610800612832565b602080825260099082015268536f6c64204f75742160b81b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016128a6576128a6612832565b5060010190565b8181038181111561080057610800612832565b808202811582820484141761080057610800612832565b60008084546128e5816126cd565b600182811680156128fd576001811461291257612941565b60ff1984168752821515830287019450612941565b8860005260208060002060005b858110156129385781548a82015290840190820161291f565b50505082870194505b50505050835161295581836020880161228d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129a1908301846122b1565b9695505050505050565b6000602082840312156129bd57600080fd5b8151611c0b8161225a56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212206eaa9cc6c9ea61b0b31df6e6bd624db8c3e5bcdefad930a6d721b1ea4ca3fca264736f6c63430008120033
Deployed Bytecode Sourcemap
75274:4707:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75723:43;;;;;;;;;;-1:-1:-1;75723:43:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;75723:43:0;;;;;;-1:-1:-1;;;;;363:32:1;;;345:51;;333:2;318:18;75723:43:0;;;;;;;;23083:639;;;;;;;;;;-1:-1:-1;23083:639:0;;;;;:::i;:::-;;:::i;:::-;;;958:14:1;;951:22;933:41;;921:2;906:18;23083:639:0;793:187:1;79018:91:0;;;;;;;;;;;;;:::i;:::-;;23985:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;75503:33::-;;;;;;;;;;-1:-1:-1;75503:33:0;;;;;;;;;;;30476:218;;;;;;;;;;-1:-1:-1;30476:218:0;;;;;:::i;:::-;;:::i;29909:408::-;;;;;;:::i;:::-;;:::i;19736:323::-;;;;;;;;;;;;;:::i;:::-;;;2324:25:1;;;2312:2;2297:18;19736:323:0;2178:177:1;75825:55:0;;;;;;;;;;-1:-1:-1;75825:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;79121:104;;;;;;;;;;-1:-1:-1;79121:104:0;;;;;:::i;:::-;;:::i;34474:2850::-;;;;;;:::i;:::-;;:::i;75465:31::-;;;;;;;;;;-1:-1:-1;75465:31:0;;;;;;;;79837:141;;;;;;;;;;;;;:::i;37420:218::-;;;;;;:::i;:::-;;:::i;75952:29::-;;;;;;;;;;;;;;;;75889:34;;;;;;;;;;;;;;;;75672:38;;;;;;;;;;;;;:::i;75543:29::-;;;;;;;;;;-1:-1:-1;75543:29:0;;;;;;;;;;;78313:152;;;;;;;;;;-1:-1:-1;78313:152:0;;;;;:::i;:::-;;:::i;79744:85::-;;;;;;;;;;;;;:::i;25378:152::-;;;;;;;;;;-1:-1:-1;25378:152:0;;;;;:::i;:::-;;:::i;75585:80::-;;;;;;;;;;;;;:::i;20920:233::-;;;;;;;;;;-1:-1:-1;20920:233:0;;;;;:::i;:::-;;:::i;74430:103::-;;;;;;;;;;;;;:::i;77463:234::-;;;;;;;;;;-1:-1:-1;77463:234:0;;;;;:::i;:::-;;:::i;75357:36::-;;;;;;;;;;;;;;;;79647:89;;;;;;;;;;-1:-1:-1;79647:89:0;;;;;:::i;:::-;;:::i;73782:87::-;;;;;;;;;;-1:-1:-1;73855:6:0;;-1:-1:-1;;;;;73855:6:0;73782:87;;24161:104;;;;;;;;;;;;;:::i;78473:92::-;;;;;;;;;;-1:-1:-1;78473:92:0;;;;;:::i;:::-;;:::i;79235:405::-;;;;;;;;;;-1:-1:-1;79235:405:0;;;;;:::i;:::-;;:::i;76083:1141::-;;;;;;:::i;:::-;;:::i;78213:92::-;;;;;;;;;;-1:-1:-1;78213:92:0;;;;;:::i;:::-;;:::i;31034:234::-;;;;;;;;;;-1:-1:-1;31034:234:0;;;;;:::i;:::-;;:::i;75435:23::-;;;;;;;;;;;;;;;;38236:432;;;;;;:::i;:::-;;:::i;77232:223::-;;;;;;;;;;-1:-1:-1;77232:223:0;;;;;:::i;:::-;;:::i;75773:45::-;;;;;;;;;;-1:-1:-1;75773:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;78796:108;;;;;;;;;;-1:-1:-1;78796:108:0;;;;;:::i;:::-;;:::i;77821:384::-;;;;;;;;;;-1:-1:-1;77821:384:0;;;;;:::i;:::-;;:::i;75400:28::-;;;;;;;;;;;;;;;;31425:164;;;;;;;;;;-1:-1:-1;31425:164:0;;;;;:::i;:::-;;:::i;78573:215::-;;;;;;;;;;-1:-1:-1;78573:215:0;;;;;:::i;:::-;;:::i;74688:201::-;;;;;;;;;;-1:-1:-1;74688:201:0;;;;;:::i;:::-;;:::i;78912:98::-;;;;;;;;;;-1:-1:-1;78912:98:0;;;;;:::i;:::-;;:::i;23083:639::-;23168:4;-1:-1:-1;;;;;;;;;23492:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;23569:25:0;;;23492:102;:179;;;-1:-1:-1;;;;;;;;;;23646:25:0;;;23492:179;23472:199;23083:639;-1:-1:-1;;23083:639:0:o;79018:91::-;73668:13;:11;:13::i;:::-;79090:11:::1;::::0;;-1:-1:-1;;79075:26:0;::::1;79090:11;::::0;;::::1;79089:12;79075:26;::::0;;79018:91::o;23985:100::-;24039:13;24072:5;24065:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23985:100;:::o;30476:218::-;30552:7;30577:16;30585:7;30577;:16::i;:::-;30572:64;;30602:34;;-1:-1:-1;;;30602:34:0;;;;;;;;;;;30572:64;-1:-1:-1;30656:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;30656:30:0;;30476:218::o;29909:408::-;29998:13;30014:16;30022:7;30014;:16::i;:::-;29998:32;-1:-1:-1;54676:10:0;-1:-1:-1;;;;;30047:28:0;;;30043:175;;30095:44;30112:5;54676:10;31425:164;:::i;30095:44::-;30090:128;;30167:35;;-1:-1:-1;;;30167:35:0;;;;;;;;;;;30090:128;30230:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;30230:35:0;-1:-1:-1;;;;;30230:35:0;;;;;;;;;30281:28;;30230:24;;30281:28;;;;;;;29987:330;29909:408;;:::o;19736:323::-;19335:1;20010:12;19797:7;19994:13;:28;-1:-1:-1;;19994:46:0;;19736:323::o;79121:104::-;73668:13;:11;:13::i;:::-;79195::::1;:22:::0;;;::::1;;;;-1:-1:-1::0;;79195:22:0;;::::1;::::0;;;::::1;::::0;;79121:104::o;34474:2850::-;34625:4;2492:42;3632:43;:47;3628:699;;3919:10;-1:-1:-1;;;;;3911:18:0;;;3907:85;;34641:27:::1;34671;34690:7;34671:18;:27::i;:::-;34641:57;;34756:4;-1:-1:-1::0;;;;;34715:45:0::1;34731:19;-1:-1:-1::0;;;;;34715:45:0::1;;34711:86;;34769:28;;-1:-1:-1::0;;;34769:28:0::1;;;;;;;;;;;34711:86;34811:27;33223:24:::0;;;:15;:24;;;;;33451:26;;35002:68:::1;33451:26:::0;35044:4;54676:10;35050:19:::1;-1:-1:-1::0;;;;;32697:32:0;;;32541:28;;32826:20;;32848:30;;32823:56;;32238:659;35002:68:::1;34997:180;;35090:43;35107:4:::0;54676:10;31425:164;:::i;35090:43::-:1;35085:92;;35142:35;;-1:-1:-1::0;;;35142:35:0::1;;;;;;;;;;;35085:92;-1:-1:-1::0;;;;;35194:16:0;::::1;35190:52;;35219:23;;-1:-1:-1::0;;;35219:23:0::1;;;;;;;;;;;35190:52;35391:15;35388:160;;;35531:1;35510:19;35503:30;35388:160;-1:-1:-1::0;;;;;35928:24:0;;::::1;;::::0;;;:18:::1;:24;::::0;;;;;35926:26;;-1:-1:-1;;35926:26:0;;;35997:22;;::::1;::::0;;;;;35995:24;;-1:-1:-1;35995:24:0::1;::::0;;36319:146:::1;::::0;35997:22;;36405:45:::1;-1:-1:-1::0;;;36377:73:0::1;28767:11:::0;28742:23;28738:41;28735:52;-1:-1:-1;;;;;28593:28:0;;;;28725:63;;28356:450;36319:146:::1;36290:26;::::0;;;:17:::1;:26;::::0;;;;:175;;;;-1:-1:-1;;;36585:47:0;::::1;:52:::0;;36581:627:::1;;36690:1;36680:11:::0;::::1;36658:19;36813:30:::0;;;:17:::1;:30;::::0;;;;;:35;;36809:384:::1;;36951:13;;36936:11;:28;36932:242;;37098:30;::::0;;;:17:::1;:30;::::0;;;;:52;;;36932:242:::1;36639:569;36581:627;37255:7;37251:2;-1:-1:-1::0;;;;;37236:27:0::1;37245:4;-1:-1:-1::0;;;;;37236:27:0::1;-1:-1:-1::0;;;;;;;;;;;37236:27:0::1;;;;;;;;;34630:2694;;;3970:7:::0;;3907:85;4052:67;;-1:-1:-1;;;4052:67:0;;4101:4;4052:67;;;8373:34:1;4108:10:0;8423:18:1;;;8416:43;2492:42:0;;4052:40;;8308:18:1;;4052:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4148:61:0;;-1:-1:-1;;;4148:61:0;;4197:4;4148:61;;;8373:34:1;-1:-1:-1;;;;;8443:15:1;;8423:18;;;8416:43;2492:42:0;;4148:40;;8308:18:1;;4148:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4006:310;;4270:30;;-1:-1:-1;;;4270:30:0;;4289:10;4270:30;;;345:51:1;318:18;;4270:30:0;;;;;;;;4006:310;34641:27:::1;34671;34690:7;34671:18;:27::i;:::-;34641:57;;34756:4;-1:-1:-1::0;;;;;34715:45:0::1;34731:19;-1:-1:-1::0;;;;;34715:45:0::1;;34711:86;;34769:28;;-1:-1:-1::0;;;34769:28:0::1;;;;;;;;;;;34711:86;34811:27;33223:24:::0;;;:15;:24;;;;;33451:26;;35002:68:::1;33451:26:::0;35044:4;54676:10;35050:19:::1;54589:105:::0;35002:68:::1;34997:180;;35090:43;35107:4:::0;54676:10;31425:164;:::i;35090:43::-:1;35085:92;;35142:35;;-1:-1:-1::0;;;35142:35:0::1;;;;;;;;;;;35085:92;-1:-1:-1::0;;;;;35194:16:0;::::1;35190:52;;35219:23;;-1:-1:-1::0;;;35219:23:0::1;;;;;;;;;;;35190:52;35391:15;35388:160;;;35531:1;35510:19;35503:30;35388:160;-1:-1:-1::0;;;;;35928:24:0;;::::1;;::::0;;;:18:::1;:24;::::0;;;;;35926:26;;-1:-1:-1;;35926:26:0;;;35997:22;;::::1;::::0;;;;;35995:24;;-1:-1:-1;35995:24:0::1;::::0;;36319:146:::1;::::0;35997:22;;36405:45:::1;53898:311:::0;36319:146:::1;36290:26;::::0;;;:17:::1;:26;::::0;;;;:175;;;;-1:-1:-1;;;36585:47:0;::::1;:52:::0;;36581:627:::1;;36690:1;36680:11:::0;::::1;36658:19;36813:30:::0;;;:17:::1;:30;::::0;;;;;:35;;36809:384:::1;;36951:13;;36936:11;:28;36932:242;;37098:30;::::0;;;:17:::1;:30;::::0;;;;:52;;;36932:242:::1;36639:569;36581:627;37255:7;37251:2;-1:-1:-1::0;;;;;37236:27:0::1;37245:4;-1:-1:-1::0;;;;;37236:27:0::1;-1:-1:-1::0;;;;;;;;;;;37236:27:0::1;;;;;;;;;34630:2694;;;34474:2850:::0;;;;;:::o;79837:141::-;73668:13;:11;:13::i;:::-;79903:21:::1;79943:7;73855:6:::0;;-1:-1:-1;;;;;73855:6:0;;73782:87;79943:7:::1;-1:-1:-1::0;;;;;79935:25:0::1;:35;79961:8;79935:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;79876:102;79837:141::o:0;37420:218::-;37575:4;2492:42;3632:43;:47;3628:699;;3919:10;-1:-1:-1;;;;;3911:18:0;;;3907:85;;37591:39:::1;37608:4;37614:2;37618:7;37591:39;;;;;;;;;;;::::0;:16:::1;:39::i;:::-;3970:7:::0;;3907:85;4052:67;;-1:-1:-1;;;4052:67:0;;4101:4;4052:67;;;8373:34:1;4108:10:0;8423:18:1;;;8416:43;2492:42:0;;4052:40;;8308:18:1;;4052:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4148:61:0;;-1:-1:-1;;;4148:61:0;;4197:4;4148:61;;;8373:34:1;-1:-1:-1;;;;;8443:15:1;;8423:18;;;8416:43;2492:42:0;;4148:40;;8308:18:1;;4148:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4006:310;;4270:30;;-1:-1:-1;;;4270:30:0;;4289:10;4270:30;;;345:51:1;318:18;;4270:30:0;199:203:1;4006:310:0;37591:39:::1;37608:4;37614:2;37618:7;37591:39;;;;;;;;;;;::::0;:16:::1;:39::i;75672:38::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;78313:152::-;73668:13;:11;:13::i;:::-;78413:19:::1;:44;78435:22:::0;78413:19;:44:::1;:::i;79744:85::-:0;73668:13;:11;:13::i;:::-;79811:10:::1;::::0;;-1:-1:-1;;79797:24:0;::::1;79811:10:::0;;;;::::1;;;79810:11;79797:24:::0;;::::1;;::::0;;79744:85::o;25378:152::-;25450:7;25493:27;25512:7;25493:18;:27::i;75585:80::-;;;;;;;:::i;20920:233::-;20992:7;-1:-1:-1;;;;;21016:19:0;;21012:60;;21044:28;;-1:-1:-1;;;21044:28:0;;;;;;;;;;;21012:60;-1:-1:-1;;;;;;21090:25:0;;;;;:18;:25;;;;;;15079:13;21090:55;;20920:233::o;74430:103::-;73668:13;:11;:13::i;:::-;74495:30:::1;74522:1;74495:18;:30::i;:::-;74430:103::o:0;77463:234::-;73668:13;:11;:13::i;:::-;77579:9:::1;;77560:8;:15;77544:13;:11;:13::i;:::-;:31;;;;:::i;:::-;:44;;77536:66;;;;-1:-1:-1::0;;;77536:66:0::1;;;;;;;:::i;:::-;77617:6;77613:76;77633:8;:15;77629:1;:19;77613:76;;;77664:25;77674:8;77683:1;77674:11;;;;;;;;:::i;:::-;;;;;;;77687:1;77664:9;:25::i;:::-;77650:3:::0;::::1;::::0;::::1;:::i;:::-;;;;77613:76;;79647:89:::0;73668:13;:11;:13::i;:::-;79713:10:::1;:15:::0;79647:89::o;24161:104::-;24217:13;24250:7;24243:14;;;;;:::i;78473:92::-;73668:13;:11;:13::i;:::-;78539:7:::1;:18:::0;78473:92::o;79235:405::-;79308:13;;;;;;;79300:42;;;;-1:-1:-1;;;79300:42:0;;11997:2:1;79300:42:0;;;11979:21:1;12036:2;12016:18;;;12009:30;-1:-1:-1;;;12055:18:1;;;12048:46;12111:18;;79300:42:0;11795:340:1;79300:42:0;79358:6;79353:284;79374:8;:15;79370:1;:19;79353:284;;;79407:15;79425:8;79434:1;79425:11;;;;;;;;:::i;:::-;;;;;;;79407:29;;79469:39;79488:10;79500:7;79469:18;:39::i;:::-;79447:116;;;;-1:-1:-1;;;79447:116:0;;12342:2:1;79447:116:0;;;12324:21:1;12381:2;12361:18;;;12354:30;12420:29;12400:18;;;12393:57;12467:18;;79447:116:0;12140:351:1;79447:116:0;79574:14;79580:7;79574:5;:14::i;:::-;79599:17;;;;:8;:17;;;;;:30;;-1:-1:-1;;;;;;79599:30:0;79619:10;79599:30;;;79391:3;;;;:::i;:::-;;;;79353:284;;76083:1141;76143:11;;;;:19;;:11;:19;76135:47;;;;-1:-1:-1;;;76135:47:0;;12698:2:1;76135:47:0;;;12680:21:1;12737:2;12717:18;;;12710:30;-1:-1:-1;;;12756:18:1;;;12749:45;12811:18;;76135:47:0;12496:339:1;76135:47:0;76210:1;76201:6;:10;76193:46;;;;-1:-1:-1;;;76193:46:0;;13042:2:1;76193:46:0;;;13024:21:1;13081:2;13061:18;;;13054:30;-1:-1:-1;;;13100:18:1;;;13093:53;13163:18;;76193:46:0;12840:347:1;76193:46:0;76284:9;;76274:6;76258:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:35;;76250:57;;;;-1:-1:-1;;;76250:57:0;;;;;;;:::i;:::-;76336:17;;76326:6;:27;;76318:61;;;;-1:-1:-1;;;76318:61:0;;13394:2:1;76318:61:0;;;13376:21:1;13433:2;13413:18;;;13406:30;-1:-1:-1;;;13452:18:1;;;13445:51;13513:18;;76318:61:0;13192:345:1;76318:61:0;76438:10;76390:24;76417:32;;;:20;:32;;;;;;76497:12;;76468:25;76487:6;76417:32;76468:25;:::i;:::-;:41;;76460:89;;;;-1:-1:-1;;;76460:89:0;;13744:2:1;76460:89:0;;;13726:21:1;13783:2;13763:18;;;13756:30;13822:34;13802:18;;;13795:62;-1:-1:-1;;;13873:18:1;;;13866:33;13916:19;;76460:89:0;13542:399:1;76460:89:0;76581:10;76560:32;;;;:20;:32;;;;;:42;;76596:6;;76560:32;:42;;76596:6;;76560:42;:::i;:::-;;;;-1:-1:-1;;76689:7:0;;76670:26;;76666:552;;;76736:16;76726:7;;:26;;;;:::i;:::-;76717:6;:35;76713:318;;;76837:16;76827:7;;:26;;;;:::i;:::-;76817:37;;:6;:37;:::i;:::-;76803:10;;:52;;;;:::i;:::-;76790:9;:65;;76782:97;;;;-1:-1:-1;;;76782:97:0;;14454:2:1;76782:97:0;;;14436:21:1;14493:2;14473:18;;;14466:30;-1:-1:-1;;;14512:18:1;;;14505:49;14571:18;;76782:97:0;14252:343:1;76782:97:0;76894:29;76904:10;76916:6;76894:9;:29::i;76666:552::-;77115:6;77102:10;;:19;;;;:::i;:::-;77089:9;:32;;77081:81;;;;-1:-1:-1;;;77081:81:0;;14802:2:1;77081:81:0;;;14784:21:1;14841:2;14821:18;;;14814:30;14880:34;14860:18;;;14853:62;-1:-1:-1;;;14931:18:1;;;14924:34;14975:19;;77081:81:0;14600:400:1;78213:92:0;73668:13;:11;:13::i;:::-;78283:7:::1;:14;78293:4:::0;78283:7;:14:::1;:::i;31034:234::-:0;54676:10;31129:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;31129:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;31129:60:0;;;;;;;;;;31205:55;;933:41:1;;;31129:49:0;;54676:10;31205:55;;906:18:1;31205:55:0;;;;;;;31034:234;;:::o;38236:432::-;38420:4;2492:42;3632:43;:47;3628:699;;3919:10;-1:-1:-1;;;;;3911:18:0;;;3907:85;;38436:31:::1;38449:4;38455:2;38459:7;38436:12;:31::i;:::-;-1:-1:-1::0;;;;;38482:14:0;::::1;;:19:::0;38478:183:::1;;38521:56;38552:4;38558:2;38562:7;38571:5;38521:30;:56::i;:::-;38516:145;;38605:40;;-1:-1:-1::0;;;38605:40:0::1;;;;;;;;;;;38516:145;3970:7:::0;;3907:85;4052:67;;-1:-1:-1;;;4052:67:0;;4101:4;4052:67;;;8373:34:1;4108:10:0;8423:18:1;;;8416:43;2492:42:0;;4052:40;;8308:18:1;;4052:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4148:61:0;;-1:-1:-1;;;4148:61:0;;4197:4;4148:61;;;8373:34:1;-1:-1:-1;;;;;8443:15:1;;8423:18;;;8416:43;2492:42:0;;4148:40;;8308:18:1;;4148:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4006:310;;4270:30;;-1:-1:-1;;;4270:30:0;;4289:10;4270:30;;;345:51:1;318:18;;4270:30:0;199:203:1;4006:310:0;38436:31:::1;38449:4;38455:2;38459:7;38436:12;:31::i;:::-;-1:-1:-1::0;;;;;38482:14:0;::::1;;:19:::0;38478:183:::1;;38521:56;38552:4;38558:2;38562:7;38571:5;38521:30;:56::i;:::-;38516:145;;38605:40;;-1:-1:-1::0;;;38605:40:0::1;;;;;;;;;;;38516:145;38236:432:::0;;;;;:::o;77232:223::-;73668:13;:11;:13::i;:::-;77310:1:::1;77301:6;:10;77293:46;;;::::0;-1:-1:-1;;;77293:46:0;;13042:2:1;77293:46:0::1;::::0;::::1;13024:21:1::0;13081:2;13061:18;;;13054:30;-1:-1:-1;;;13100:18:1;;;13093:53;13163:18;;77293:46:0::1;12840:347:1::0;77293:46:0::1;77384:9;;77374:6;77358:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:35;;77350:57;;;;-1:-1:-1::0;;;77350:57:0::1;;;;;;;:::i;:::-;77418:29;77428:10;77440:6;77418:9;:29::i;:::-;77232:223:::0;:::o;78796:108::-;73668:13;:11;:13::i;:::-;78870:17:::1;:26:::0;78796:108::o;77821:384::-;77894:13;77928:16;77936:7;77928;:16::i;:::-;77920:76;;;;-1:-1:-1;;;77920:76:0;;15207:2:1;77920:76:0;;;15189:21:1;15246:2;15226:18;;;15219:30;15285:34;15265:18;;;15258:62;-1:-1:-1;;;15336:18:1;;;15329:45;15391:19;;77920:76:0;15005:411:1;77920:76:0;78011:10;;;;;;;78007:78;;78054:19;78047:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77821:384;;;:::o;78007:78::-;78126:1;78108:7;78102:21;;;;;:::i;:::-;;;:25;:95;;;;;;;;;;;;;;;;;78154:7;78163:18;:7;:16;:18::i;:::-;78137:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78095:102;77821:384;-1:-1:-1;;77821:384:0:o;31425:164::-;-1:-1:-1;;;;;31546:25:0;;;31522:4;31546:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31425:164::o;78573:215::-;73668:13;:11;:13::i;:::-;78670::::1;:11;:13::i;:::-;78654;:29;78646:98;;;::::0;-1:-1:-1;;;78646:98:0;;16815:2:1;78646:98:0::1;::::0;::::1;16797:21:1::0;16854:2;16834:18;;;16827:30;16893:34;16873:18;;;16866:62;16964:26;16944:18;;;16937:54;17008:19;;78646:98:0::1;16613:420:1::0;78646:98:0::1;78755:9;:25:::0;78573:215::o;74688:201::-;73668:13;:11;:13::i;:::-;-1:-1:-1;;;;;74777:22:0;::::1;74769:73;;;::::0;-1:-1:-1;;;74769:73:0;;17240:2:1;74769:73:0::1;::::0;::::1;17222:21:1::0;17279:2;17259:18;;;17252:30;17318:34;17298:18;;;17291:62;-1:-1:-1;;;17369:18:1;;;17362:36;17415:19;;74769:73:0::1;17038:402:1::0;74769:73:0::1;74853:28;74872:8;74853:18;:28::i;78912:98::-:0;73668:13;:11;:13::i;:::-;78981:12:::1;:21:::0;78912:98::o;73947:132::-;73855:6;;-1:-1:-1;;;;;73855:6:0;54676:10;74011:23;74003:68;;;;-1:-1:-1;;;74003:68:0;;17647:2:1;74003:68:0;;;17629:21:1;;;17666:18;;;17659:30;17725:34;17705:18;;;17698:62;17777:18;;74003:68:0;17445:356:1;31847:282:0;31912:4;31968:7;19335:1;31949:26;;:66;;;;;32002:13;;31992:7;:23;31949:66;:153;;;;-1:-1:-1;;32053:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;32053:44:0;:49;;31847:282::o;26533:1275::-;26600:7;26635;;19335:1;26684:23;26680:1061;;26737:13;;26730:4;:20;26726:1015;;;26775:14;26792:23;;;:17;:23;;;;;;;-1:-1:-1;;;26881:24:0;;:29;;26877:845;;27546:113;27553:6;27563:1;27553:11;27546:113;;-1:-1:-1;;;27624:6:0;27606:25;;;;:17;:25;;;;;;27546:113;;;27692:6;26533:1275;-1:-1:-1;;;26533:1275:0:o;26877:845::-;26752:989;26726:1015;27769:31;;-1:-1:-1;;;27769:31:0;;;;;;;;;;;75049:191;75142:6;;;-1:-1:-1;;;;;75159:17:0;;;-1:-1:-1;;;;;;75159:17:0;;;;;;;75192:40;;75142:6;;;75159:17;75142:6;;75192:40;;75123:16;;75192:40;75112:128;75049:191;:::o;48421:112::-;48498:27;48508:2;48512:8;48498:27;;;;;;;;;;;;:9;:27::i;34119:349::-;34212:4;34237:16;34245:7;34237;:16::i;:::-;34229:73;;;;-1:-1:-1;;;34229:73:0;;18008:2:1;34229:73:0;;;17990:21:1;18047:2;18027:18;;;18020:30;18086:34;18066:18;;;18059:62;-1:-1:-1;;;18137:18:1;;;18130:42;18189:19;;34229:73:0;17806:408:1;34229:73:0;34313:13;34329:24;34345:7;34329:15;:24::i;:::-;34313:40;;34383:5;-1:-1:-1;;;;;34372:16:0;:7;-1:-1:-1;;;;;34372:16:0;;:51;;;;34416:7;-1:-1:-1;;;;;34392:31:0;:20;34404:7;34392:11;:20::i;:::-;-1:-1:-1;;;;;34392:31:0;;34372:51;:87;;;;34427:32;34444:5;34451:7;34427:16;:32::i;:::-;34364:96;34119:349;-1:-1:-1;;;;34119:349:0:o;48800:89::-;48860:21;48866:7;48875:5;48860;:21::i;40752:716::-;40936:88;;-1:-1:-1;;;40936:88:0;;40915:4;;-1:-1:-1;;;;;40936:45:0;;;;;:88;;54676:10;;41003:4;;41009:7;;41018:5;;40936:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40936:88:0;;;;;;;;-1:-1:-1;;40936:88:0;;;;;;;;;;;;:::i;:::-;;;40932:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41219:6;:13;41236:1;41219:18;41215:235;;41265:40;;-1:-1:-1;;;41265:40:0;;;;;;;;;;;41215:235;41408:6;41402:13;41393:6;41389:2;41385:15;41378:38;40932:529;-1:-1:-1;;;;;;41095:64:0;-1:-1:-1;;;41095:64:0;;-1:-1:-1;40752:716:0;;;;;;:::o;69805:::-;69861:13;69912:14;69929:17;69940:5;69929:10;:17::i;:::-;69949:1;69929:21;69912:38;;69965:20;69999:6;69988:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69988:18:0;-1:-1:-1;69965:41:0;-1:-1:-1;70130:28:0;;;70146:2;70130:28;70187:288;-1:-1:-1;;70219:5:0;-1:-1:-1;;;70356:2:0;70345:14;;70340:30;70219:5;70327:44;70417:2;70408:11;;;-1:-1:-1;70438:21:0;70187:288;70438:21;-1:-1:-1;70496:6:0;69805:716;-1:-1:-1;;;69805:716:0:o;47648:689::-;47779:19;47785:2;47789:8;47779:5;:19::i;:::-;-1:-1:-1;;;;;47840:14:0;;;:19;47836:483;;47880:11;47894:13;47942:14;;;47975:233;48006:62;48045:1;48049:2;48053:7;;;;;;48062:5;48006:30;:62::i;:::-;48001:167;;48104:40;;-1:-1:-1;;;48104:40:0;;;;;;;;;;;48001:167;48203:3;48195:5;:11;47975:233;;48290:3;48273:13;;:20;48269:34;;48295:8;;;47836:483;47648:689;;;:::o;49118:3081::-;49198:27;49228;49247:7;49228:18;:27::i;:::-;49198:57;-1:-1:-1;49198:57:0;49268:12;;49390:35;49417:7;33112:27;33223:24;;;:15;:24;;;;;33451:26;;33223:24;;33010:485;49390:35;49333:92;;;;49442:13;49438:316;;;49563:68;49588:15;49605:4;54676:10;49611:19;54589:105;49563:68;49558:184;;49655:43;49672:4;54676:10;31425:164;:::i;49655:43::-;49650:92;;49707:35;;-1:-1:-1;;;49707:35:0;;;;;;;;;;;49650:92;49910:15;49907:160;;;50050:1;50029:19;50022:30;49907:160;-1:-1:-1;;;;;50669:24:0;;;;;;:18;:24;;;;;:60;;50697:32;50669:60;;;28767:11;28742:23;28738:41;28725:63;-1:-1:-1;;;28725:63:0;50967:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;51292:47:0;;:52;;51288:627;;51397:1;51387:11;;51365:19;51520:30;;;:17;:30;;;;;;:35;;51516:384;;51658:13;;51643:11;:28;51639:242;;51805:30;;;;:17;:30;;;;;:52;;;51639:242;51346:569;51288:627;51943:35;;51970:7;;51966:1;;-1:-1:-1;;;;;51943:35:0;;;-1:-1:-1;;;;;;;;;;;51943:35:0;51966:1;;51943:35;-1:-1:-1;;52166:12:0;:14;;;;;;-1:-1:-1;;;;49118:3081:0:o;66692:922::-;66745:7;;-1:-1:-1;;;66823:15:0;;66819:102;;-1:-1:-1;;;66859:15:0;;;-1:-1:-1;66903:2:0;66893:12;66819:102;66948:6;66939:5;:15;66935:102;;66984:6;66975:15;;;-1:-1:-1;67019:2:0;67009:12;66935:102;67064:6;67055:5;:15;67051:102;;67100:6;67091:15;;;-1:-1:-1;67135:2:0;67125:12;67051:102;67180:5;67171;:14;67167:99;;67215:5;67206:14;;;-1:-1:-1;67249:1:0;67239:11;67167:99;67293:5;67284;:14;67280:99;;67328:5;67319:14;;;-1:-1:-1;67362:1:0;67352:11;67280:99;67406:5;67397;:14;67393:99;;67441:5;67432:14;;;-1:-1:-1;67475:1:0;67465:11;67393:99;67519:5;67510;:14;67506:66;;67555:1;67545:11;67600:6;66692:922;-1:-1:-1;;66692:922:0:o;41930:2966::-;42003:20;42026:13;;;42054;;;42050:44;;42076:18;;-1:-1:-1;;;42076:18:0;;;;;;;;;;;42050:44;-1:-1:-1;;;;;42582:22:0;;;;;;:18;:22;;;;15217:2;42582:22;;;:71;;42620:32;42608:45;;42582:71;;;42896:31;;;:17;:31;;;;;-1:-1:-1;29198:15:0;;29172:24;29168:46;28767:11;28742:23;28738:41;28735:52;28725:63;;42896:173;;43131:23;;;;42896:31;;42582:22;;-1:-1:-1;;;;;;;;;;;42582:22:0;;43749:335;44410:1;44396:12;44392:20;44350:346;44451:3;44442:7;44439:16;44350:346;;44669:7;44659:8;44656:1;-1:-1:-1;;;;;;;;;;;44626:1:0;44623;44618:59;44504:1;44491:15;44350:346;;;44354:77;44729:8;44741:1;44729:13;44725:45;;44751:19;;-1:-1:-1;;;44751:19:0;;;;;;;;;;;44725:45;44787:13;:19;-1:-1:-1;47648:689:0;;;:::o;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;407:131::-;-1:-1:-1;;;;;;481:32:1;;471:43;;461:71;;528:1;525;518:12;543:245;601:6;654:2;642:9;633:7;629:23;625:32;622:52;;;670:1;667;660:12;622:52;709:9;696:23;728:30;752:5;728:30;:::i;985:250::-;1070:1;1080:113;1094:6;1091:1;1088:13;1080:113;;;1170:11;;;1164:18;1151:11;;;1144:39;1116:2;1109:10;1080:113;;;-1:-1:-1;;1227:1:1;1209:16;;1202:27;985:250::o;1240:271::-;1282:3;1320:5;1314:12;1347:6;1342:3;1335:19;1363:76;1432:6;1425:4;1420:3;1416:14;1409:4;1402:5;1398:16;1363:76;:::i;:::-;1493:2;1472:15;-1:-1:-1;;1468:29:1;1459:39;;;;1500:4;1455:50;;1240:271;-1:-1:-1;;1240:271:1:o;1516:220::-;1665:2;1654:9;1647:21;1628:4;1685:45;1726:2;1715:9;1711:18;1703:6;1685:45;:::i;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:186::-;2419:6;2472:2;2460:9;2451:7;2447:23;2443:32;2440:52;;;2488:1;2485;2478:12;2440:52;2511:29;2530:9;2511:29;:::i;2551:118::-;2637:5;2630:13;2623:21;2616:5;2613:32;2603:60;;2659:1;2656;2649:12;2674:241;2730:6;2783:2;2771:9;2762:7;2758:23;2754:32;2751:52;;;2799:1;2796;2789:12;2751:52;2838:9;2825:23;2857:28;2879:5;2857:28;:::i;2920:328::-;2997:6;3005;3013;3066:2;3054:9;3045:7;3041:23;3037:32;3034:52;;;3082:1;3079;3072:12;3034:52;3105:29;3124:9;3105:29;:::i;:::-;3095:39;;3153:38;3187:2;3176:9;3172:18;3153:38;:::i;:::-;3143:48;;3238:2;3227:9;3223:18;3210:32;3200:42;;2920:328;;;;;:::o;3253:127::-;3314:10;3309:3;3305:20;3302:1;3295:31;3345:4;3342:1;3335:15;3369:4;3366:1;3359:15;3385:275;3456:2;3450:9;3521:2;3502:13;;-1:-1:-1;;3498:27:1;3486:40;;3556:18;3541:34;;3577:22;;;3538:62;3535:88;;;3603:18;;:::i;:::-;3639:2;3632:22;3385:275;;-1:-1:-1;3385:275:1:o;3665:407::-;3730:5;3764:18;3756:6;3753:30;3750:56;;;3786:18;;:::i;:::-;3824:57;3869:2;3848:15;;-1:-1:-1;;3844:29:1;3875:4;3840:40;3824:57;:::i;:::-;3815:66;;3904:6;3897:5;3890:21;3944:3;3935:6;3930:3;3926:16;3923:25;3920:45;;;3961:1;3958;3951:12;3920:45;4010:6;4005:3;3998:4;3991:5;3987:16;3974:43;4064:1;4057:4;4048:6;4041:5;4037:18;4033:29;4026:40;3665:407;;;;;:::o;4077:451::-;4146:6;4199:2;4187:9;4178:7;4174:23;4170:32;4167:52;;;4215:1;4212;4205:12;4167:52;4255:9;4242:23;4288:18;4280:6;4277:30;4274:50;;;4320:1;4317;4310:12;4274:50;4343:22;;4396:4;4388:13;;4384:27;-1:-1:-1;4374:55:1;;4425:1;4422;4415:12;4374:55;4448:74;4514:7;4509:2;4496:16;4491:2;4487;4483:11;4448:74;:::i;4533:183::-;4593:4;4626:18;4618:6;4615:30;4612:56;;;4648:18;;:::i;:::-;-1:-1:-1;4693:1:1;4689:14;4705:4;4685:25;;4533:183::o;4721:897::-;4805:6;4836:2;4879;4867:9;4858:7;4854:23;4850:32;4847:52;;;4895:1;4892;4885:12;4847:52;4935:9;4922:23;4968:18;4960:6;4957:30;4954:50;;;5000:1;4997;4990:12;4954:50;5023:22;;5076:4;5068:13;;5064:27;-1:-1:-1;5054:55:1;;5105:1;5102;5095:12;5054:55;5141:2;5128:16;5164:60;5180:43;5220:2;5180:43;:::i;:::-;5164:60;:::i;:::-;5258:15;;;5340:1;5336:10;;;;5328:19;;5324:28;;;5289:12;;;;5364:19;;;5361:39;;;5396:1;5393;5386:12;5361:39;5420:11;;;;5440:148;5456:6;5451:3;5448:15;5440:148;;;5522:23;5541:3;5522:23;:::i;:::-;5510:36;;5473:12;;;;5566;;;;5440:148;;;5607:5;4721:897;-1:-1:-1;;;;;;;4721:897:1:o;5623:891::-;5707:6;5738:2;5781;5769:9;5760:7;5756:23;5752:32;5749:52;;;5797:1;5794;5787:12;5749:52;5837:9;5824:23;5870:18;5862:6;5859:30;5856:50;;;5902:1;5899;5892:12;5856:50;5925:22;;5978:4;5970:13;;5966:27;-1:-1:-1;5956:55:1;;6007:1;6004;5997:12;5956:55;6043:2;6030:16;6066:60;6082:43;6122:2;6082:43;:::i;6066:60::-;6160:15;;;6242:1;6238:10;;;;6230:19;;6226:28;;;6191:12;;;;6266:19;;;6263:39;;;6298:1;6295;6288:12;6263:39;6322:11;;;;6342:142;6358:6;6353:3;6350:15;6342:142;;;6424:17;;6412:30;;6375:12;;;;6462;;;;6342:142;;6519:315;6584:6;6592;6645:2;6633:9;6624:7;6620:23;6616:32;6613:52;;;6661:1;6658;6651:12;6613:52;6684:29;6703:9;6684:29;:::i;:::-;6674:39;;6763:2;6752:9;6748:18;6735:32;6776:28;6798:5;6776:28;:::i;:::-;6823:5;6813:15;;;6519:315;;;;;:::o;6839:667::-;6934:6;6942;6950;6958;7011:3;6999:9;6990:7;6986:23;6982:33;6979:53;;;7028:1;7025;7018:12;6979:53;7051:29;7070:9;7051:29;:::i;:::-;7041:39;;7099:38;7133:2;7122:9;7118:18;7099:38;:::i;:::-;7089:48;;7184:2;7173:9;7169:18;7156:32;7146:42;;7239:2;7228:9;7224:18;7211:32;7266:18;7258:6;7255:30;7252:50;;;7298:1;7295;7288:12;7252:50;7321:22;;7374:4;7366:13;;7362:27;-1:-1:-1;7352:55:1;;7403:1;7400;7393:12;7352:55;7426:74;7492:7;7487:2;7474:16;7469:2;7465;7461:11;7426:74;:::i;:::-;7416:84;;;6839:667;;;;;;;:::o;7511:260::-;7579:6;7587;7640:2;7628:9;7619:7;7615:23;7611:32;7608:52;;;7656:1;7653;7646:12;7608:52;7679:29;7698:9;7679:29;:::i;:::-;7669:39;;7727:38;7761:2;7750:9;7746:18;7727:38;:::i;:::-;7717:48;;7511:260;;;;;:::o;7776:380::-;7855:1;7851:12;;;;7898;;;7919:61;;7973:4;7965:6;7961:17;7951:27;;7919:61;8026:2;8018:6;8015:14;7995:18;7992:38;7989:161;;8072:10;8067:3;8063:20;8060:1;8053:31;8107:4;8104:1;8097:15;8135:4;8132:1;8125:15;7989:161;;7776:380;;;:::o;8470:245::-;8537:6;8590:2;8578:9;8569:7;8565:23;8561:32;8558:52;;;8606:1;8603;8596:12;8558:52;8638:9;8632:16;8657:28;8679:5;8657:28;:::i;8846:545::-;8948:2;8943:3;8940:11;8937:448;;;8984:1;9009:5;9005:2;8998:17;9054:4;9050:2;9040:19;9124:2;9112:10;9108:19;9105:1;9101:27;9095:4;9091:38;9160:4;9148:10;9145:20;9142:47;;;-1:-1:-1;9183:4:1;9142:47;9238:2;9233:3;9229:12;9226:1;9222:20;9216:4;9212:31;9202:41;;9293:82;9311:2;9304:5;9301:13;9293:82;;;9356:17;;;9337:1;9326:13;9293:82;;;9297:3;;;8846:545;;;:::o;9567:1352::-;9693:3;9687:10;9720:18;9712:6;9709:30;9706:56;;;9742:18;;:::i;:::-;9771:97;9861:6;9821:38;9853:4;9847:11;9821:38;:::i;:::-;9815:4;9771:97;:::i;:::-;9923:4;;9987:2;9976:14;;10004:1;9999:663;;;;10706:1;10723:6;10720:89;;;-1:-1:-1;10775:19:1;;;10769:26;10720:89;-1:-1:-1;;9524:1:1;9520:11;;;9516:24;9512:29;9502:40;9548:1;9544:11;;;9499:57;10822:81;;9969:944;;9999:663;8793:1;8786:14;;;8830:4;8817:18;;-1:-1:-1;;10035:20:1;;;10153:236;10167:7;10164:1;10161:14;10153:236;;;10256:19;;;10250:26;10235:42;;10348:27;;;;10316:1;10304:14;;;;10183:19;;10153:236;;;10157:3;10417:6;10408:7;10405:19;10402:201;;;10478:19;;;10472:26;-1:-1:-1;;10561:1:1;10557:14;;;10573:3;10553:24;10549:37;10545:42;10530:58;10515:74;;10402:201;-1:-1:-1;;;;;10649:1:1;10633:14;;;10629:22;10616:36;;-1:-1:-1;9567:1352:1:o;10924:127::-;10985:10;10980:3;10976:20;10973:1;10966:31;11016:4;11013:1;11006:15;11040:4;11037:1;11030:15;11056:125;11121:9;;;11142:10;;;11139:36;;;11155:18;;:::i;11186:332::-;11388:2;11370:21;;;11427:1;11407:18;;;11400:29;-1:-1:-1;;;11460:2:1;11445:18;;11438:39;11509:2;11494:18;;11186:332::o;11523:127::-;11584:10;11579:3;11575:20;11572:1;11565:31;11615:4;11612:1;11605:15;11639:4;11636:1;11629:15;11655:135;11694:3;11715:17;;;11712:43;;11735:18;;:::i;:::-;-1:-1:-1;11782:1:1;11771:13;;11655:135::o;13946:128::-;14013:9;;;14034:11;;;14031:37;;;14048:18;;:::i;14079:168::-;14152:9;;;14183;;14200:15;;;14194:22;;14180:37;14170:71;;14221:18;;:::i;15421:1187::-;15698:3;15727:1;15760:6;15754:13;15790:36;15816:9;15790:36;:::i;:::-;15845:1;15862:18;;;15889:133;;;;16036:1;16031:356;;;;15855:532;;15889:133;-1:-1:-1;;15922:24:1;;15910:37;;15995:14;;15988:22;15976:35;;15967:45;;;-1:-1:-1;15889:133:1;;16031:356;16062:6;16059:1;16052:17;16092:4;16137:2;16134:1;16124:16;16162:1;16176:165;16190:6;16187:1;16184:13;16176:165;;;16268:14;;16255:11;;;16248:35;16311:16;;;;16205:10;;16176:165;;;16180:3;;;16370:6;16365:3;16361:16;16354:23;;15855:532;;;;;16418:6;16412:13;16434:68;16493:8;16488:3;16481:4;16473:6;16469:17;16434:68;:::i;:::-;-1:-1:-1;;;16524:18:1;;16551:22;;;16600:1;16589:13;;15421:1187;-1:-1:-1;;;;15421:1187:1:o;18219:489::-;-1:-1:-1;;;;;18488:15:1;;;18470:34;;18540:15;;18535:2;18520:18;;18513:43;18587:2;18572:18;;18565:34;;;18635:3;18630:2;18615:18;;18608:31;;;18413:4;;18656:46;;18682:19;;18674:6;18656:46;:::i;:::-;18648:54;18219:489;-1:-1:-1;;;;;;18219:489:1:o;18713:249::-;18782:6;18835:2;18823:9;18814:7;18810:23;18806:32;18803:52;;;18851:1;18848;18841:12;18803:52;18883:9;18877:16;18902:30;18926:5;18902:30;:::i
Swarm Source
ipfs://6eaa9cc6c9ea61b0b31df6e6bd624db8c3e5bcdefad930a6d721b1ea4ca3fca2
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.