Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
5,994 BRZ
Holders
999
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BRZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BoobyBearz
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.4; import "./Utils/Stakable.sol"; import "./Utils/Signature.sol"; import "./ERC/ERC173.sol"; import "./ERC/ERC721A.sol"; import "./ERC/ERC2981.sol"; import "./Opeartor-Filter/DefaultOperatorFilterer.sol"; contract BoobyBearz is ERC173, DefaultOperatorFilterer, ERC2981, ERC721A, Signature, Stakable { error GiftAlreadyReceived(); error PublicMintNotActive(); error PrivateListMintsNotActive(); error SoldOut(); error LimitPerWalletExceeded(); error LimitPerTxnExceeded(); error InvalidSignature(); error IncorrectPrice(); error InvalidBatchMint(); error CannotTransferStakedToken(); error NotUser(); error NotAnTokenOwner(); error FailedToWithdrawEther(); bool public publicMintActive; bool public privateListMintsActive; string public _baseTokenURI; /* MINT DETAILS */ uint256 public constant maxSupply = 5999; uint256 public constant RESERVED_TEAM = 300; uint256 public allowlistMintPrice = 0.005 ether; uint256 public whitelistMintPrice = 0.0069 ether; uint256 public publicMintPrice = 0.009 ether; uint96 public mintLimitPerTx = 3; uint96 public mintLimitPerWallet = 3; /* EVENT */ event Minted(address indexed receiver, uint256 quantity); event PublicMintStateChange(bool active); event PrivateListMintStateChange(bool active); modifier OnlyWhilePublicMint() { if (msg.sender != tx.origin) revert NotUser(); if (!publicMintActive) revert PublicMintNotActive(); _; } modifier OnlyWhilePrivateMints() { if (msg.sender != tx.origin) revert NotUser(); if (!privateListMintsActive) revert PrivateListMintsNotActive(); _; } modifier onlyTokenOwner(uint256 tokenId) { if (msg.sender != ownerOf(tokenId)) revert NotAnTokenOwner(); _; } constructor( address _owner, address _signer, string memory _name, string memory _symbol, string memory _tokenUri, address _royaltyReceiver, uint96 _royaltyFraction ) ERC721A(_name, _symbol) ERC2981(_royaltyReceiver, _royaltyFraction) ERC173(_owner) Signature(_signer) { _baseTokenURI = _tokenUri; } function supportsInterface( bytes4 interfaceId ) public view override(ERC721A, ERC2981, ERC173) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId) || ERC173.supportsInterface(interfaceId); } /* ROYALTY */ function setRoyaltyInfo( address receiver, uint96 feeBasisPoints ) external onlyOwner { _setRoyaltyInfo(receiver, feeBasisPoints); } /* URI */ function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string memory baseURI) external onlyOwner { _baseTokenURI = baseURI; } /* STAKE */ function stake( uint256 tokenId ) public override(Stakable) onlyTokenOwner(tokenId) { super.stake(tokenId); } function unstake( uint256 tokenId ) public override(Stakable) onlyTokenOwner(tokenId) { super.unstake(tokenId); } function ownerUnstake(uint256 tokenId) external onlyOwner { super.unstake(tokenId); } function setCanStake(bool _canStake) external onlyOwner { canStake = _canStake; } /* MINT SETTINGS */ function setPrivateListMintsState(bool active) external onlyOwner { privateListMintsActive = active; emit PrivateListMintStateChange(active); } function setPublicMintState(bool active) external onlyOwner { publicMintActive = active; emit PublicMintStateChange(active); } function setMintPrices( uint256 _publicMintPrice, uint256 _whitelistMintPrice, uint256 _allowlistMintPrice ) external onlyOwner { publicMintPrice = _publicMintPrice; whitelistMintPrice = _whitelistMintPrice; allowlistMintPrice = _allowlistMintPrice; } function setMintLimitPerWallet(uint96 limit) external onlyOwner { mintLimitPerWallet = limit; } function setMintLimitPerTx(uint96 limit) external onlyOwner { mintLimitPerTx = limit; } function setSignerAddress( address _signerAddress ) public override onlyOwner { super.setSignerAddress(_signerAddress); } /* MINT */ function publicMint(uint256 quantity) external payable OnlyWhilePublicMint { if (maxSupply - _totalMinted() - RESERVED_TEAM < quantity) revert SoldOut(); if (_numberMinted(msg.sender) + quantity > mintLimitPerWallet) revert LimitPerWalletExceeded(); if (msg.value != quantity * publicMintPrice) revert IncorrectPrice(); if (quantity > mintLimitPerTx) revert LimitPerTxnExceeded(); _mint(msg.sender, quantity); emit Minted(msg.sender, quantity); } function whitelistMint( uint256 quantity, bytes calldata signature_ ) external payable OnlyWhilePrivateMints { if (maxSupply - _totalMinted() - RESERVED_TEAM < quantity) revert SoldOut(); if (_numberMinted(msg.sender) + quantity > mintLimitPerWallet) revert LimitPerWalletExceeded(); if (!verifySignature(signature_, 0)) revert InvalidSignature(); if (msg.value != quantity * whitelistMintPrice) revert IncorrectPrice(); if (quantity > mintLimitPerTx) revert LimitPerTxnExceeded(); _mint(msg.sender, quantity); emit Minted(msg.sender, quantity); } function allowlistMint( uint256 quantity, bytes calldata signature_ ) external payable OnlyWhilePrivateMints { if (maxSupply - _totalMinted() - RESERVED_TEAM < quantity) revert SoldOut(); if (_numberMinted(msg.sender) + quantity > mintLimitPerWallet) revert LimitPerWalletExceeded(); if (!verifySignature(signature_, 1)) revert InvalidSignature(); if (msg.value != quantity * allowlistMintPrice) revert IncorrectPrice(); if (quantity > mintLimitPerTx) revert LimitPerTxnExceeded(); _mint(msg.sender, quantity); emit Minted(msg.sender, quantity); } function allowlistMintWithGift( uint256 quantity, bytes calldata signature_ ) external payable OnlyWhilePrivateMints { if (maxSupply - _totalMinted() - RESERVED_TEAM < quantity) revert SoldOut(); if (_numberMinted(msg.sender) > 0) revert GiftAlreadyReceived(); if (msg.value != (quantity - 1) * allowlistMintPrice) revert IncorrectPrice(); if (_numberMinted(msg.sender) + quantity > mintLimitPerWallet) revert LimitPerWalletExceeded(); if (!verifySignature(signature_, 1)) revert InvalidSignature(); if (quantity > mintLimitPerTx) revert LimitPerTxnExceeded(); _mint(msg.sender, quantity); emit Minted(msg.sender, quantity); } function receiveGift( bytes calldata signature_ ) external payable OnlyWhilePrivateMints { if (maxSupply - _totalMinted() - RESERVED_TEAM < 1) revert SoldOut(); if (_numberMinted(msg.sender) > 0) revert GiftAlreadyReceived(); if (!verifySignature(signature_, 1)) revert InvalidSignature(); if (_numberMinted(msg.sender) + 1 > mintLimitPerWallet) revert LimitPerWalletExceeded(); _mint(msg.sender, 1); emit Minted(msg.sender, 1); } function batchMint( uint64[] calldata quantities, address[] calldata recipients ) external onlyOwner { uint256 numRecipients = recipients.length; if (numRecipients != quantities.length) revert InvalidBatchMint(); for (uint256 i = 0; i < numRecipients; ) { if (_totalMinted() + quantities[i] > maxSupply) revert SoldOut(); _safeMint(recipients[i], quantities[i]); emit Minted(recipients[i], quantities[i]); unchecked { i++; } } } function numberMinted(address account) external view returns (uint256) { return _numberMinted(account); } function totalMinted() external view virtual returns (uint256) { return _totalMinted(); } function transferFrom( address from, address to, uint256 tokenId ) public payable override(ERC721A) onlyAllowedOperator(from) { if (tokensLastStakedAt[tokenId] != 0) revert CannotTransferStakedToken(); super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override(ERC721A) onlyAllowedOperator(from) { if (tokensLastStakedAt[tokenId] != 0) revert CannotTransferStakedToken(); super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable override(ERC721A) onlyAllowedOperator(from) { if (tokensLastStakedAt[tokenId] != 0) revert CannotTransferStakedToken(); super.safeTransferFrom(from, to, tokenId, _data); } function withdraw(address _address, uint256 _amount) external onlyOwner { (bool success, ) = _address.call{value: _amount}(""); if (success != true) revert FailedToWithdrawEther(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "../Interfaces/IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface( bytes4 interfaceId ) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../Interfaces/IERC173.sol"; import "../Utils/Context.sol"; abstract contract ERC173 is Context { error NotAnOwner(); address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor(address ownerOnDeploy) { _owner = ownerOnDeploy; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { if (_msgSender() != owner()) revert NotAnOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) external virtual onlyOwner { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface( bytes4 interfaceId ) public view virtual returns (bool) { return interfaceId == type(IERC173).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../Interfaces/IERC2981.sol"; import "./ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { address public royaltyReceiver; uint96 public royaltyFraction; constructor(address _royaltyReceiver, uint96 _royaltyFraction) { _setRoyaltyInfo(_royaltyReceiver, _royaltyFraction); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface( bytes4 interfaceId ) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) public view virtual override returns (address, uint256) { uint256 royaltyAmount = (salePrice * royaltyFraction) / _feeDenominator(); return (royaltyReceiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setRoyaltyInfo( address receiver, uint96 feeNumerator ) internal virtual { require( feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice" ); require(receiver != address(0), "ERC2981: invalid receiver"); royaltyReceiver = receiver; royaltyFraction = feeNumerator; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import "../Interfaces/IERC721A.sol"; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf( address owner ) public view virtual override returns (uint256) { if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector); 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.selector); 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 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // 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, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; return packed; } } // Otherwise, the data exists and is not burned. We can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. return packed; } } _revert(OwnerQueryForNonexistentToken.selector); } /** * @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. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve( address to, uint256 tokenId ) public payable virtual override { _approve(to, tokenId, true); } /** * @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.selector); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll( address operator, bool approved ) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll( address owner, address operator ) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress( uint256 tokenId ) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); ( 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.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // 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. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } /** * @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.selector); } 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.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; do { assembly { // 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`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _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.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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.selector ); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) _revert(bytes4(0)); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ""); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // 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.selector); } _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.selector); 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) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
/// @title ERC-173 Contract Ownership Standard /// Note: the ERC-165 identifier for this interface is 0x7f5828d0 interface IERC173 { /// @dev This emits when ownership of a contract changes. event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /// @notice Get the address of the owner /// @return The address of the owner. function owner() external view returns (address); /// @notice Set the address of the new owner of the contract /// @dev Set _newOwner to address(0) to renounce any ownership. /// @param _newOwner The address of the new owner of the contract function transferOwnership(address _newOwner) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../Interfaces/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // 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 ); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); /// @dev The constructor that is called when the contract is being deployed. 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(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe( address(this), subscriptionOrRegistrantToCopy ); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries( address(this), subscriptionOrRegistrantToCopy ); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { if (address(OPERATOR_FILTER_REGISTRY).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 ( !(OPERATOR_FILTER_REGISTRY.isOperatorAllowed( address(this), msg.sender ) && OPERATOR_FILTER_REGISTRY.isOperatorAllowed( address(this), from )) ) { revert OperatorNotAllowed(msg.sender); } } _; } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "./Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes memory signature ) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover( bytes32 hash, bytes memory signature ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32( 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if ( uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 ) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash( bytes32 hash ) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n32", hash) ); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash( bytes memory s ) internal pure returns (bytes32) { return keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n", Strings.toString(s.length), s ) ); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash( bytes32 domainSeparator, bytes32 structHash ) internal pure returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", domainSeparator, structHash) ); } }
pragma solidity ^0.8.4; import "./ECDSA.sol"; error ZeroAddress(); contract Signature { /* SIGNATURE */ using ECDSA for bytes32; address public signerAddress; constructor(address _signerAddress) { signerAddress = _signerAddress; } function verifySignature( bytes memory signature, uint256 mintType ) internal view returns (bool) { return signerAddress == keccak256(abi.encodePacked(msg.sender, mintType, address(this))) .toEthSignedMessageHash() .recover(signature); } function setSignerAddress(address _signerAddress) public virtual { if (_signerAddress == address(0)) revert ZeroAddress(); signerAddress = _signerAddress; } }
pragma solidity ^0.8.4; contract Stakable { error AlreadyStaked(); error NotStaked(); error StakingNotOpen(); bool public canStake; event Stake(uint256 indexed tokenId, address indexed by, uint256 stakedAt); event Unstake( uint256 indexed tokenId, address indexed by, uint256 stakedAt, uint256 unstakedAt ); mapping(uint256 => uint256) public tokensLastStakedAt; // tokenId => timestamp function stake(uint256 tokenId) public virtual { if (canStake != true) revert StakingNotOpen(); if (tokensLastStakedAt[tokenId] != 0) revert AlreadyStaked(); tokensLastStakedAt[tokenId] = block.timestamp; emit Stake(tokenId, msg.sender, tokensLastStakedAt[tokenId]); } function unstake(uint256 tokenId) public virtual { if (tokensLastStakedAt[tokenId] == 0) revert NotStaked(); uint256 tokenLastStakedAt = tokensLastStakedAt[tokenId]; tokensLastStakedAt[tokenId] = 0; emit Unstake(tokenId, msg.sender, tokenLastStakedAt, block.timestamp); } }
// SPDX-License-Identifier: MIT // taken from openzeppelin pragma solidity ^0.8.0; library Strings { function toString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_signer","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_tokenUri","type":"string"},{"internalType":"address","name":"_royaltyReceiver","type":"address"},{"internalType":"uint96","name":"_royaltyFraction","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyStaked","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CannotTransferStakedToken","type":"error"},{"inputs":[],"name":"FailedToWithdrawEther","type":"error"},{"inputs":[],"name":"GiftAlreadyReceived","type":"error"},{"inputs":[],"name":"IncorrectPrice","type":"error"},{"inputs":[],"name":"InvalidBatchMint","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"LimitPerTxnExceeded","type":"error"},{"inputs":[],"name":"LimitPerWalletExceeded","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotAnOwner","type":"error"},{"inputs":[],"name":"NotAnTokenOwner","type":"error"},{"inputs":[],"name":"NotStaked","type":"error"},{"inputs":[],"name":"NotUser","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":"PrivateListMintsNotActive","type":"error"},{"inputs":[],"name":"PublicMintNotActive","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[],"name":"StakingNotOpen","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"},{"inputs":[],"name":"ZeroAddress","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":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"Minted","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":false,"internalType":"bool","name":"active","type":"bool"}],"name":"PrivateListMintStateChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"PublicMintStateChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"by","type":"address"},{"indexed":false,"internalType":"uint256","name":"stakedAt","type":"uint256"}],"name":"Stake","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"by","type":"address"},{"indexed":false,"internalType":"uint256","name":"stakedAt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"unstakedAt","type":"uint256"}],"name":"Unstake","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_TEAM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"signature_","type":"bytes"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"allowlistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"signature_","type":"bytes"}],"name":"allowlistMintWithGift","outputs":[],"stateMutability":"payable","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":[{"internalType":"uint64[]","name":"quantities","type":"uint64[]"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canStake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimitPerTx","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimitPerWallet","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerUnstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"privateListMintsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature_","type":"bytes"}],"name":"receiveGift","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"royaltyFraction","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_canStake","type":"bool"}],"name":"setCanStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"limit","type":"uint96"}],"name":"setMintLimitPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"limit","type":"uint96"}],"name":"setMintLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicMintPrice","type":"uint256"},{"internalType":"uint256","name":"_whitelistMintPrice","type":"uint256"},{"internalType":"uint256","name":"_allowlistMintPrice","type":"uint256"}],"name":"setMintPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setPrivateListMintsState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setPublicMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signerAddress","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokensLastStakedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokenId","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"signature_","type":"bytes"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526611c37937e08000600e556618838370f34000600f55661ff973cafa80006010556003601160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060036011600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055503480156200009657600080fd5b5060405162006aa938038062006aa98339818101604052810190620000bc91906200083b565b8585858484733cc6cdda760b79bafa08df41ecfa224f810dceb660018d806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200030f578015620001d5576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200019b9291906200095c565b600060405180830381600087803b158015620001b657600080fd5b505af1158015620001cb573d6000803e3d6000fd5b505050506200030e565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200028f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002559291906200095c565b600060405180830381600087803b1580156200027057600080fd5b505af115801562000285573d6000803e3d6000fd5b505050506200030d565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002d8919062000989565b600060405180830381600087803b158015620002f357600080fd5b505af115801562000308573d6000803e3d6000fd5b505050505b5b5b5050620003238282620003d760201b60201c565b505081600490805190602001906200033d92919062000540565b5080600590805190602001906200035692919062000540565b50620003676200053160201b60201c565b600281905550505080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505082600d9080519060200190620003c992919062000540565b505050505050505062000b26565b620003e76200053660201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000448576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200043f9062000a2d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004b29062000a9f565b60405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050565b600090565b6000612710905090565b8280546200054e9062000af0565b90600052602060002090601f016020900481019282620005725760008555620005be565b82601f106200058d57805160ff1916838001178555620005be565b82800160010185558215620005be579182015b82811115620005bd578251825591602001919060010190620005a0565b5b509050620005cd9190620005d1565b5090565b5b80821115620005ec576000816000905550600101620005d2565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006318262000604565b9050919050565b620006438162000624565b81146200064f57600080fd5b50565b600081519050620006638162000638565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006be8262000673565b810181811067ffffffffffffffff82111715620006e057620006df62000684565b5b80604052505050565b6000620006f5620005f0565b9050620007038282620006b3565b919050565b600067ffffffffffffffff82111562000726576200072562000684565b5b620007318262000673565b9050602081019050919050565b60005b838110156200075e57808201518184015260208101905062000741565b838111156200076e576000848401525b50505050565b60006200078b620007858462000708565b620006e9565b905082815260208101848484011115620007aa57620007a96200066e565b5b620007b78482856200073e565b509392505050565b600082601f830112620007d757620007d662000669565b5b8151620007e984826020860162000774565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b6200081581620007f2565b81146200082157600080fd5b50565b60008151905062000835816200080a565b92915050565b600080600080600080600060e0888a0312156200085d576200085c620005fa565b5b60006200086d8a828b0162000652565b9750506020620008808a828b0162000652565b965050604088015167ffffffffffffffff811115620008a457620008a3620005ff565b5b620008b28a828b01620007bf565b955050606088015167ffffffffffffffff811115620008d657620008d5620005ff565b5b620008e48a828b01620007bf565b945050608088015167ffffffffffffffff811115620009085762000907620005ff565b5b620009168a828b01620007bf565b93505060a0620009298a828b0162000652565b92505060c06200093c8a828b0162000824565b91505092959891949750929550565b620009568162000624565b82525050565b60006040820190506200097360008301856200094b565b6200098260208301846200094b565b9392505050565b6000602082019050620009a060008301846200094b565b92915050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000a15602a83620009a6565b915062000a2282620009b7565b604082019050919050565b6000602082019050818103600083015262000a488162000a06565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000a87601983620009a6565b915062000a948262000a4f565b602082019050919050565b6000602082019050818103600083015262000aba8162000a78565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000b0957607f821691505b6020821081141562000b205762000b1f62000ac1565b5b50919050565b615f738062000b366000396000f3fe6080604052600436106103355760003560e01c806392439fe5116101ab578063b88d4fde116100f7578063e0f9b47911610095578063e985e9c51161006f578063e985e9c514610b8e578063f2fde38b14610bcb578063f3fef3a314610bf4578063f49ed4e714610c1d57610335565b8063e0f9b47914610b0f578063e7dee99f14610b3a578063e886718014610b6557610335565b8063cfc86f7b116100d1578063cfc86f7b14610a51578063d5abeb0114610a7c578063dc33e68114610aa7578063dc53fd9214610ae457610335565b8063b88d4fde146109dc578063bc5f9528146109f8578063c87b56dd14610a1457610335565b80639ed2780911610164578063a2309ff81161013e578063a2309ff814610941578063a694fc3a1461096c578063ab95e6a014610995578063b67c25a3146109b157610335565b80639ed27809146108c25780639fbc8713146108ed578063a22cb4651461091857610335565b806392439fe5146107d3578063938ea644146107fc57806395d89b411461082757806399f7b5d8146108525780639c3491c21461087b5780639e852f75146108a657610335565b806335b504c5116102855780636352211e1161022357806370a08231116101fd57806370a0823114610719578063737e5b8014610756578063879fbedf1461077f5780638da5cb5b146107a857610335565b80636352211e1461068a5780636752656b146106c75780636fb081a4146106f057610335565b806341f434341161025f57806341f43434146105ef57806342842e0e1461061a57806355f804b3146106365780635b7633d01461065f57610335565b806335b504c51461055e57806335c6aaf81461059b5780633ad566a4146105c657610335565b8063095ea7b3116102f257806323b872dd116102cc57806323b872dd146104bf5780632a55205a146104db5780632db11544146105195780632e17de781461053557610335565b8063095ea7b31461045c57806315c8f1061461047857806318160ddd1461049457610335565b806301ffc9a71461033a57806302fa7c4714610377578063046dc166146103a0578063068b2fec146103c957806306fdde03146103f4578063081812fc1461041f575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c9190614b0b565b610c48565b60405161036e9190614b53565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190614c10565b610c7a565b005b3480156103ac57600080fd5b506103c760048036038101906103c29190614c50565b610cfb565b005b3480156103d557600080fd5b506103de610d7a565b6040516103eb9190614c8c565b60405180910390f35b34801561040057600080fd5b50610409610d98565b6040516104169190614d40565b60405180910390f35b34801561042b57600080fd5b5061044660048036038101906104419190614d98565b610e2a565b6040516104539190614dd4565b60405180910390f35b61047660048036038101906104719190614def565b610e88565b005b610492600480360381019061048d9190614e94565b610e98565b005b3480156104a057600080fd5b506104a961119d565b6040516104b69190614f03565b60405180910390f35b6104d960048036038101906104d49190614f1e565b6111b4565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190614f71565b61144f565b604051610510929190614fb1565b60405180910390f35b610533600480360381019061052e9190614d98565b6114da565b005b34801561054157600080fd5b5061055c60048036038101906105579190614d98565b611758565b005b34801561056a57600080fd5b5061058560048036038101906105809190614d98565b6117d3565b6040516105929190614f03565b60405180910390f35b3480156105a757600080fd5b506105b06117eb565b6040516105bd9190614f03565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190614fda565b6117f1565b005b3480156105fb57600080fd5b50610604611898565b6040516106119190615066565b60405180910390f35b610634600480360381019061062f9190614f1e565b6118aa565b005b34801561064257600080fd5b5061065d600480360381019061065891906151b1565b611b45565b005b34801561066b57600080fd5b50610674611bd2565b6040516106819190614dd4565b60405180910390f35b34801561069657600080fd5b506106b160048036038101906106ac9190614d98565b611bf8565b6040516106be9190614dd4565b60405180910390f35b3480156106d357600080fd5b506106ee60048036038101906106e991906152a6565b611c0a565b005b3480156106fc57600080fd5b5061071760048036038101906107129190615327565b611e5e565b005b34801561072557600080fd5b50610740600480360381019061073b9190614c50565b611eeb565b60405161074d9190614f03565b60405180910390f35b34801561076257600080fd5b5061077d60048036038101906107789190614fda565b611f83565b005b34801561078b57600080fd5b506107a660048036038101906107a191906153a6565b61202a565b005b3480156107b457600080fd5b506107bd6120f1565b6040516107ca9190614dd4565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f59190614d98565b61211a565b005b34801561080857600080fd5b50610811612199565b60405161081e9190614b53565b60405180910390f35b34801561083357600080fd5b5061083c6121ac565b6040516108499190614d40565b60405180910390f35b34801561085e57600080fd5b50610879600480360381019061087491906153a6565b61223e565b005b34801561088757600080fd5b50610890612305565b60405161089d9190614f03565b60405180910390f35b6108c060048036038101906108bb9190614e94565b61230b565b005b3480156108ce57600080fd5b506108d7612610565b6040516108e49190614b53565b60405180910390f35b3480156108f957600080fd5b50610902612623565b60405161090f9190614dd4565b60405180910390f35b34801561092457600080fd5b5061093f600480360381019061093a91906153d3565b612649565b005b34801561094d57600080fd5b50610956612754565b6040516109639190614f03565b60405180910390f35b34801561097857600080fd5b50610993600480360381019061098e9190614d98565b612763565b005b6109af60048036038101906109aa9190614e94565b6127de565b005b3480156109bd57600080fd5b506109c6612b32565b6040516109d39190614b53565b60405180910390f35b6109f660048036038101906109f191906154b4565b612b45565b005b610a126004803603810190610a0d9190615537565b612de3565b005b348015610a2057600080fd5b50610a3b6004803603810190610a369190614d98565b613086565b604051610a489190614d40565b60405180910390f35b348015610a5d57600080fd5b50610a66613104565b604051610a739190614d40565b60405180910390f35b348015610a8857600080fd5b50610a91613192565b604051610a9e9190614f03565b60405180910390f35b348015610ab357600080fd5b50610ace6004803603810190610ac99190614c50565b613198565b604051610adb9190614f03565b60405180910390f35b348015610af057600080fd5b50610af96131aa565b604051610b069190614f03565b60405180910390f35b348015610b1b57600080fd5b50610b246131b0565b604051610b319190614c8c565b60405180910390f35b348015610b4657600080fd5b50610b4f6131ce565b604051610b5c9190614c8c565b60405180910390f35b348015610b7157600080fd5b50610b8c6004803603810190610b8791906153a6565b6131ec565b005b348015610b9a57600080fd5b50610bb56004803603810190610bb09190615584565b61327c565b604051610bc29190614b53565b60405180910390f35b348015610bd757600080fd5b50610bf26004803603810190610bed9190614c50565b613310565b005b348015610c0057600080fd5b50610c1b6004803603810190610c169190614def565b613447565b005b348015610c2957600080fd5b50610c32613569565b604051610c3f9190614f03565b60405180910390f35b6000610c538261356f565b80610c635750610c6282613601565b5b80610c735750610c728261367b565b5b9050919050565b610c826120f1565b73ffffffffffffffffffffffffffffffffffffffff16610ca06136e5565b73ffffffffffffffffffffffffffffffffffffffff1614610ced576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cf782826136ed565b5050565b610d036120f1565b73ffffffffffffffffffffffffffffffffffffffff16610d216136e5565b73ffffffffffffffffffffffffffffffffffffffff1614610d6e576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d7781613839565b50565b601160009054906101000a90046bffffffffffffffffffffffff1681565b606060048054610da7906155f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd3906155f3565b8015610e205780601f10610df557610100808354040283529160200191610e20565b820191906000526020600020905b815481529060010190602001808311610e0357829003601f168201915b5050505050905090565b6000610e35826138e4565b610e4a57610e4963cf4700e460e01b613943565b5b6008600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610e948282600161394d565b5050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610efd576040517f7aafae9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60019054906101000a900460ff16610f43576040517f671e6b3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8261012c610f4f613a7c565b61176f610f5c9190615654565b610f669190615654565b1015610f9e576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6011600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1683610fd133613a8f565b610fdb9190615688565b1115611013576040517f4fe6c97400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61106282828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506001613ae6565b611098576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e54836110a691906156de565b34146110de576040517f99b5cb1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16831115611140576040517f562fe6ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61114a3384613b85565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe846040516111909190614f03565b60405180910390a2505050565b60006111a7613cec565b6003546002540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156113f0573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611274576000600b60008481526020019081526020016000205414611264576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61126f848484613cf1565b611449565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112bd929190615738565b60206040518083038186803b1580156112d557600080fd5b505afa1580156112e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130d9190615776565b80156113ae57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161135d929190615738565b60206040518083038186803b15801561137557600080fd5b505afa158015611389573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ad9190615776565b5b6113ef57336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016113e69190614dd4565b60405180910390fd5b5b6000600b6000848152602001908152602001600020541461143d576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611448848484613cf1565b5b50505050565b600080600061145c613fb5565b6bffffffffffffffffffffffff16600160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168561149e91906156de565b6114a891906157d2565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461153f576040517f7aafae9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900460ff16611585576040517fcd967e3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8061012c611591613a7c565b61176f61159e9190615654565b6115a89190615654565b10156115e0576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6011600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168161161333613a8f565b61161d9190615688565b1115611655576040517f4fe6c97400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010548161166391906156de565b341461169b576040517f99b5cb1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168111156116fd576040517f562fe6ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117073382613b85565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe8260405161174d9190614f03565b60405180910390a250565b8061176281611bf8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117c6576040517f432208b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117cf82613fbf565b5050565b600b6020528060005260406000206000915090505481565b600f5481565b6117f96120f1565b73ffffffffffffffffffffffffffffffffffffffff166118176136e5565b73ffffffffffffffffffffffffffffffffffffffff1614611864576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806011600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611ae6573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561196a576000600b6000848152602001908152602001600020541461195a576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611965848484614093565b611b3f565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016119b3929190615738565b60206040518083038186803b1580156119cb57600080fd5b505afa1580156119df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a039190615776565b8015611aa457506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611a53929190615738565b60206040518083038186803b158015611a6b57600080fd5b505afa158015611a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa39190615776565b5b611ae557336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611adc9190614dd4565b60405180910390fd5b5b6000600b60008481526020019081526020016000205414611b33576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b3e848484614093565b5b50505050565b611b4d6120f1565b73ffffffffffffffffffffffffffffffffffffffff16611b6b6136e5565b73ffffffffffffffffffffffffffffffffffffffff1614611bb8576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d9080519060200190611bce9291906149fc565b5050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611c03826140b3565b9050919050565b611c126120f1565b73ffffffffffffffffffffffffffffffffffffffff16611c306136e5565b73ffffffffffffffffffffffffffffffffffffffff1614611c7d576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828290509050848490508114611cc1576040517ffc6234ca00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015611e565761176f868683818110611ce257611ce1615803565b5b9050602002016020810190611cf79190615872565b67ffffffffffffffff16611d09613a7c565b611d139190615688565b1115611d4b576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611dad848483818110611d6157611d60615803565b5b9050602002016020810190611d769190614c50565b878784818110611d8957611d88615803565b5b9050602002016020810190611d9e9190615872565b67ffffffffffffffff16614176565b838382818110611dc057611dbf615803565b5b9050602002016020810190611dd59190614c50565b73ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe878784818110611e1f57611e1e615803565b5b9050602002016020810190611e349190615872565b604051611e4191906158d0565b60405180910390a28080600101915050611cc4565b505050505050565b611e666120f1565b73ffffffffffffffffffffffffffffffffffffffff16611e846136e5565b73ffffffffffffffffffffffffffffffffffffffff1614611ed1576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8260108190555081600f8190555080600e81905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f3257611f31638f4eb60460e01b613943565b5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611f8b6120f1565b73ffffffffffffffffffffffffffffffffffffffff16611fa96136e5565b73ffffffffffffffffffffffffffffffffffffffff1614611ff6576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b6120326120f1565b73ffffffffffffffffffffffffffffffffffffffff166120506136e5565b73ffffffffffffffffffffffffffffffffffffffff161461209d576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c60006101000a81548160ff0219169083151502179055507faef4094647efd65fa9ec458cca07a4b14ab68c9b20c565dd2109184ee74281d2816040516120e69190614b53565b60405180910390a150565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6121226120f1565b73ffffffffffffffffffffffffffffffffffffffff166121406136e5565b73ffffffffffffffffffffffffffffffffffffffff161461218d576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61219681613fbf565b50565b600c60019054906101000a900460ff1681565b6060600580546121bb906155f3565b80601f01602080910402602001604051908101604052809291908181526020018280546121e7906155f3565b80156122345780601f1061220957610100808354040283529160200191612234565b820191906000526020600020905b81548152906001019060200180831161221757829003601f168201915b5050505050905090565b6122466120f1565b73ffffffffffffffffffffffffffffffffffffffff166122646136e5565b73ffffffffffffffffffffffffffffffffffffffff16146122b1576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c60016101000a81548160ff0219169083151502179055507f91feff7d3a27559542ee662610e00d8e1144490e37a0390c4acd4257b5650070816040516122fa9190614b53565b60405180910390a150565b61012c81565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612370576040517f7aafae9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60019054906101000a900460ff166123b6576040517f671e6b3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8261012c6123c2613a7c565b61176f6123cf9190615654565b6123d99190615654565b1015612411576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6011600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168361244433613a8f565b61244e9190615688565b1115612486576040517f4fe6c97400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124d582828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506000613ae6565b61250b576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f548361251991906156de565b3414612551576040517f99b5cb1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168311156125b3576040517f562fe6ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125bd3384613b85565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe846040516126039190614f03565b60405180910390a2505050565b600a60149054906101000a900460ff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8060096000612656614194565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612703614194565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127489190614b53565b60405180910390a35050565b600061275e613a7c565b905090565b8061276d81611bf8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146127d1576040517f432208b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127da8261419c565b5050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612843576040517f7aafae9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60019054906101000a900460ff16612889576040517f671e6b3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8261012c612895613a7c565b61176f6128a29190615654565b6128ac9190615654565b10156128e4576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128ef33613a8f565b1115612927576040517f93a9d77e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e546001846129379190615654565b61294191906156de565b3414612979576040517f99b5cb1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6011600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16836129ac33613a8f565b6129b69190615688565b11156129ee576040517f4fe6c97400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a3d82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506001613ae6565b612a73576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16831115612ad5576040517f562fe6ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612adf3384613b85565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe84604051612b259190614f03565b60405180910390a2505050565b600c60009054906101000a900460ff1681565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612d82573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c06576000600b60008581526020019081526020016000205414612bf5576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c01858585856142b3565b612ddc565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612c4f929190615738565b60206040518083038186803b158015612c6757600080fd5b505afa158015612c7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9f9190615776565b8015612d4057506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612cef929190615738565b60206040518083038186803b158015612d0757600080fd5b505afa158015612d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3f9190615776565b5b612d8157336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612d789190614dd4565b60405180910390fd5b5b6000600b60008581526020019081526020016000205414612dcf576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ddb858585856142b3565b5b5050505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e48576040517f7aafae9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60019054906101000a900460ff16612e8e576040517f671e6b3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600161012c612e9b613a7c565b61176f612ea89190615654565b612eb29190615654565b1015612eea576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612ef533613a8f565b1115612f2d576040517f93a9d77e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f7c82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506001613ae6565b612fb2576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6011600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166001612fe633613a8f565b612ff09190615688565b1115613028576040517f4fe6c97400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613033336001613b85565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe600160405161307a9190615926565b60405180910390a25050565b6060613091826138e4565b6130a6576130a563a14c4b5060e01b613943565b5b60006130b0614305565b90506000815114156130d157604051806020016040528060008152506130fc565b806130db84614397565b6040516020016130ec92919061597d565b6040516020818303038152906040525b915050919050565b600d8054613111906155f3565b80601f016020809104026020016040519081016040528092919081815260200182805461313d906155f3565b801561318a5780601f1061315f5761010080835404028352916020019161318a565b820191906000526020600020905b81548152906001019060200180831161316d57829003601f168201915b505050505081565b61176f81565b60006131a382613a8f565b9050919050565b60105481565b6011600c9054906101000a90046bffffffffffffffffffffffff1681565b600160149054906101000a90046bffffffffffffffffffffffff1681565b6131f46120f1565b73ffffffffffffffffffffffffffffffffffffffff166132126136e5565b73ffffffffffffffffffffffffffffffffffffffff161461325f576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a60146101000a81548160ff02191690831515021790555050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6133186120f1565b73ffffffffffffffffffffffffffffffffffffffff166133366136e5565b73ffffffffffffffffffffffffffffffffffffffff1614613383576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61344f6120f1565b73ffffffffffffffffffffffffffffffffffffffff1661346d6136e5565b73ffffffffffffffffffffffffffffffffffffffff16146134ba576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516134e0906159d2565b60006040518083038185875af1925050503d806000811461351d576040519150601f19603f3d011682016040523d82523d6000602084013e613522565b606091505b505090506001151581151514613564576040517f25177cfc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b600e5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806135ca57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806135fa5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806136745750613673826143f0565b5b9050919050565b60007f7f5828d0000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6136f5613fb5565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115613753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374a90615a59565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ba90615ac5565b60405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156138a0576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000816138ef613cec565b111580156138fe575060025482105b801561393c575060007c0100000000000000000000000000000000000000000000000000000000600660008581526020019081526020016000205416145b9050919050565b8060005260046000fd5b600061395883611bf8565b905081801561399a57508073ffffffffffffffffffffffffffffffffffffffff16613981614194565b73ffffffffffffffffffffffffffffffffffffffff1614155b156139c6576139b0816139ab614194565b61327c565b6139c5576139c463cfb3b94260e01b613943565b5b5b836008600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b6000613a86613cec565b60025403905090565b600067ffffffffffffffff6040600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6000613b2d83613b1f338530604051602001613b0493929190615b4e565b6040516020818303038152906040528051906020012061445a565b61448a90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600060025490506000821415613ba657613ba563b562e8dd60e01b613943565b5b613bb360008483856144b1565b613bd383613bc460008660006144b7565b613bcd856144df565b176144ef565b6006600083815260200190815260200160002081905550600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690506000811415613c8c57613c8b632e07630060e01b613943565b5b6000838301905060008390505b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a481816001019150811415613c995781600281905550505050613ce7600084838561451a565b505050565b600090565b6000613cfc826140b3565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614613d7157613d7063a114810060e01b613943565b5b600080613d7d84614520565b91509150613d938187613d8e614194565b614547565b613dbe57613da886613da3614194565b61327c565b613dbd57613dbc6359c896be60e01b613943565b5b5b613dcb86868660016144b1565b8015613dd657600082555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550613ea485613e808888876144b7565b7c0200000000000000000000000000000000000000000000000000000000176144ef565b600660008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415613f2c576000600185019050600060066000838152602001908152602001600020541415613f2a576002548114613f29578360066000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46000811415613f9f57613f9e63ea553b3460e01b613943565b5b613fac878787600161451a565b50505050505050565b6000612710905090565b6000600b600083815260200190815260200160002054141561400d576040517f039f2e1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600b60008381526020019081526020016000205490506000600b6000848152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff16827fc1e00202ee2c06861d326fc6374026b751863ff64218ccbaa38c3e603a8e72c28342604051614087929190615b8b565b60405180910390a35050565b6140ae83838360405180602001604052806000815250612b45565b505050565b6000816140be613cec565b11614160576006600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561415f57600081141561415a5760025482106141245761412363df2d9b4260e01b613943565b5b5b6006600083600190039350838152602001908152602001600020549050600081141561415057614155565b614171565b614125565b614171565b5b61417063df2d9b4260e01b613943565b5b919050565b61419082826040518060200160405280600081525061458b565b5050565b600033905090565b60011515600a60149054906101000a900460ff161515146141e9576040517fe14162d600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600b60008381526020019081526020016000205414614236576040517f0ae3514d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b42600b6000838152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff16817f02567b2553aeb44e4ddd5d68462774dc3de158cb0f2c2da1740e729b22086aff600b6000858152602001908152602001600020546040516142a89190614f03565b60405180910390a350565b6142be8484846111b4565b60008373ffffffffffffffffffffffffffffffffffffffff163b146142ff576142e984848484614611565b6142fe576142fd63d1a57ed660e01b613943565b5b5b50505050565b6060600d8054614314906155f3565b80601f0160208091040260200160405190810160405280929190818152602001828054614340906155f3565b801561438d5780601f106143625761010080835404028352916020019161438d565b820191906000526020600020905b81548152906001019060200180831161437057829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156143db57600184039350600a81066030018453600a81049050806143d6576143db565b6143b0565b50828103602084039350808452505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008160405160200161446d9190615c2b565b604051602081830303815290604052805190602001209050919050565b60008060006144998585614750565b915091506144a6816147a2565b819250505092915050565b50505050565b60008060e883901c905060e86144ce868684614910565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008060006008600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b6145958383613b85565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461460c5760006002549050600083820390505b6145d66000868380600101945086614611565b6145eb576145ea63d1a57ed660e01b613943565b5b8181106145c357816002541461460957614608600060e01b613943565b5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02614637614194565b8786866040518563ffffffff1660e01b81526004016146599493929190615ca6565b602060405180830381600087803b15801561467357600080fd5b505af19250505080156146a457506040513d601f19601f820116820180604052508101906146a19190615d07565b60015b6146fd573d80600081146146d4576040519150601f19603f3d011682016040523d82523d6000602084013e6146d9565b606091505b506000815114156146f5576146f463d1a57ed660e01b613943565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000806041835114156147925760008060006020860151925060408601519150606086015160001a905061478687828585614919565b9450945050505061479b565b60006002915091505b9250929050565b600060048111156147b6576147b5615d34565b5b8160048111156147c9576147c8615d34565b5b14156147d45761490d565b600160048111156147e8576147e7615d34565b5b8160048111156147fb576147fa615d34565b5b141561483c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161483390615daf565b60405180910390fd5b600260048111156148505761484f615d34565b5b81600481111561486357614862615d34565b5b14156148a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161489b90615e1b565b60405180910390fd5b600360048111156148b8576148b7615d34565b5b8160048111156148cb576148ca615d34565b5b141561490c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161490390615ead565b60405180910390fd5b5b50565b60009392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156149545760006003915091506149f3565b6000600187878787604051600081526020016040526040516149799493929190615ef8565b6020604051602081039080840390855afa15801561499b573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156149ea576000600192509250506149f3565b80600092509250505b94509492505050565b828054614a08906155f3565b90600052602060002090601f016020900481019282614a2a5760008555614a71565b82601f10614a4357805160ff1916838001178555614a71565b82800160010185558215614a71579182015b82811115614a70578251825591602001919060010190614a55565b5b509050614a7e9190614a82565b5090565b5b80821115614a9b576000816000905550600101614a83565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b614ae881614ab3565b8114614af357600080fd5b50565b600081359050614b0581614adf565b92915050565b600060208284031215614b2157614b20614aa9565b5b6000614b2f84828501614af6565b91505092915050565b60008115159050919050565b614b4d81614b38565b82525050565b6000602082019050614b686000830184614b44565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614b9982614b6e565b9050919050565b614ba981614b8e565b8114614bb457600080fd5b50565b600081359050614bc681614ba0565b92915050565b60006bffffffffffffffffffffffff82169050919050565b614bed81614bcc565b8114614bf857600080fd5b50565b600081359050614c0a81614be4565b92915050565b60008060408385031215614c2757614c26614aa9565b5b6000614c3585828601614bb7565b9250506020614c4685828601614bfb565b9150509250929050565b600060208284031215614c6657614c65614aa9565b5b6000614c7484828501614bb7565b91505092915050565b614c8681614bcc565b82525050565b6000602082019050614ca16000830184614c7d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614ce1578082015181840152602081019050614cc6565b83811115614cf0576000848401525b50505050565b6000601f19601f8301169050919050565b6000614d1282614ca7565b614d1c8185614cb2565b9350614d2c818560208601614cc3565b614d3581614cf6565b840191505092915050565b60006020820190508181036000830152614d5a8184614d07565b905092915050565b6000819050919050565b614d7581614d62565b8114614d8057600080fd5b50565b600081359050614d9281614d6c565b92915050565b600060208284031215614dae57614dad614aa9565b5b6000614dbc84828501614d83565b91505092915050565b614dce81614b8e565b82525050565b6000602082019050614de96000830184614dc5565b92915050565b60008060408385031215614e0657614e05614aa9565b5b6000614e1485828601614bb7565b9250506020614e2585828601614d83565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112614e5457614e53614e2f565b5b8235905067ffffffffffffffff811115614e7157614e70614e34565b5b602083019150836001820283011115614e8d57614e8c614e39565b5b9250929050565b600080600060408486031215614ead57614eac614aa9565b5b6000614ebb86828701614d83565b935050602084013567ffffffffffffffff811115614edc57614edb614aae565b5b614ee886828701614e3e565b92509250509250925092565b614efd81614d62565b82525050565b6000602082019050614f186000830184614ef4565b92915050565b600080600060608486031215614f3757614f36614aa9565b5b6000614f4586828701614bb7565b9350506020614f5686828701614bb7565b9250506040614f6786828701614d83565b9150509250925092565b60008060408385031215614f8857614f87614aa9565b5b6000614f9685828601614d83565b9250506020614fa785828601614d83565b9150509250929050565b6000604082019050614fc66000830185614dc5565b614fd36020830184614ef4565b9392505050565b600060208284031215614ff057614fef614aa9565b5b6000614ffe84828501614bfb565b91505092915050565b6000819050919050565b600061502c61502761502284614b6e565b615007565b614b6e565b9050919050565b600061503e82615011565b9050919050565b600061505082615033565b9050919050565b61506081615045565b82525050565b600060208201905061507b6000830184615057565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6150be82614cf6565b810181811067ffffffffffffffff821117156150dd576150dc615086565b5b80604052505050565b60006150f0614a9f565b90506150fc82826150b5565b919050565b600067ffffffffffffffff82111561511c5761511b615086565b5b61512582614cf6565b9050602081019050919050565b82818337600083830152505050565b600061515461514f84615101565b6150e6565b9050828152602081018484840111156151705761516f615081565b5b61517b848285615132565b509392505050565b600082601f83011261519857615197614e2f565b5b81356151a8848260208601615141565b91505092915050565b6000602082840312156151c7576151c6614aa9565b5b600082013567ffffffffffffffff8111156151e5576151e4614aae565b5b6151f184828501615183565b91505092915050565b60008083601f8401126152105761520f614e2f565b5b8235905067ffffffffffffffff81111561522d5761522c614e34565b5b60208301915083602082028301111561524957615248614e39565b5b9250929050565b60008083601f84011261526657615265614e2f565b5b8235905067ffffffffffffffff81111561528357615282614e34565b5b60208301915083602082028301111561529f5761529e614e39565b5b9250929050565b600080600080604085870312156152c0576152bf614aa9565b5b600085013567ffffffffffffffff8111156152de576152dd614aae565b5b6152ea878288016151fa565b9450945050602085013567ffffffffffffffff81111561530d5761530c614aae565b5b61531987828801615250565b925092505092959194509250565b6000806000606084860312156153405761533f614aa9565b5b600061534e86828701614d83565b935050602061535f86828701614d83565b925050604061537086828701614d83565b9150509250925092565b61538381614b38565b811461538e57600080fd5b50565b6000813590506153a08161537a565b92915050565b6000602082840312156153bc576153bb614aa9565b5b60006153ca84828501615391565b91505092915050565b600080604083850312156153ea576153e9614aa9565b5b60006153f885828601614bb7565b925050602061540985828601615391565b9150509250929050565b600067ffffffffffffffff82111561542e5761542d615086565b5b61543782614cf6565b9050602081019050919050565b600061545761545284615413565b6150e6565b90508281526020810184848401111561547357615472615081565b5b61547e848285615132565b509392505050565b600082601f83011261549b5761549a614e2f565b5b81356154ab848260208601615444565b91505092915050565b600080600080608085870312156154ce576154cd614aa9565b5b60006154dc87828801614bb7565b94505060206154ed87828801614bb7565b93505060406154fe87828801614d83565b925050606085013567ffffffffffffffff81111561551f5761551e614aae565b5b61552b87828801615486565b91505092959194509250565b6000806020838503121561554e5761554d614aa9565b5b600083013567ffffffffffffffff81111561556c5761556b614aae565b5b61557885828601614e3e565b92509250509250929050565b6000806040838503121561559b5761559a614aa9565b5b60006155a985828601614bb7565b92505060206155ba85828601614bb7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061560b57607f821691505b6020821081141561561f5761561e6155c4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061565f82614d62565b915061566a83614d62565b92508282101561567d5761567c615625565b5b828203905092915050565b600061569382614d62565b915061569e83614d62565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156156d3576156d2615625565b5b828201905092915050565b60006156e982614d62565b91506156f483614d62565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561572d5761572c615625565b5b828202905092915050565b600060408201905061574d6000830185614dc5565b61575a6020830184614dc5565b9392505050565b6000815190506157708161537a565b92915050565b60006020828403121561578c5761578b614aa9565b5b600061579a84828501615761565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006157dd82614d62565b91506157e883614d62565b9250826157f8576157f76157a3565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600067ffffffffffffffff82169050919050565b61584f81615832565b811461585a57600080fd5b50565b60008135905061586c81615846565b92915050565b60006020828403121561588857615887614aa9565b5b60006158968482850161585d565b91505092915050565b60006158ba6158b56158b084615832565b615007565b614d62565b9050919050565b6158ca8161589f565b82525050565b60006020820190506158e560008301846158c1565b92915050565b6000819050919050565b600061591061590b615906846158eb565b615007565b614d62565b9050919050565b615920816158f5565b82525050565b600060208201905061593b6000830184615917565b92915050565b600081905092915050565b600061595782614ca7565b6159618185615941565b9350615971818560208601614cc3565b80840191505092915050565b6000615989828561594c565b9150615995828461594c565b91508190509392505050565b600081905092915050565b50565b60006159bc6000836159a1565b91506159c7826159ac565b600082019050919050565b60006159dd826159af565b9150819050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615a43602a83614cb2565b9150615a4e826159e7565b604082019050919050565b60006020820190508181036000830152615a7281615a36565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615aaf601983614cb2565b9150615aba82615a79565b602082019050919050565b60006020820190508181036000830152615ade81615aa2565b9050919050565b60008160601b9050919050565b6000615afd82615ae5565b9050919050565b6000615b0f82615af2565b9050919050565b615b27615b2282614b8e565b615b04565b82525050565b6000819050919050565b615b48615b4382614d62565b615b2d565b82525050565b6000615b5a8286615b16565b601482019150615b6a8285615b37565b602082019150615b7a8284615b16565b601482019150819050949350505050565b6000604082019050615ba06000830185614ef4565b615bad6020830184614ef4565b9392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615bea601c83615941565b9150615bf582615bb4565b601c82019050919050565b6000819050919050565b6000819050919050565b615c25615c2082615c00565b615c0a565b82525050565b6000615c3682615bdd565b9150615c428284615c14565b60208201915081905092915050565b600081519050919050565b600082825260208201905092915050565b6000615c7882615c51565b615c828185615c5c565b9350615c92818560208601614cc3565b615c9b81614cf6565b840191505092915050565b6000608082019050615cbb6000830187614dc5565b615cc86020830186614dc5565b615cd56040830185614ef4565b8181036060830152615ce78184615c6d565b905095945050505050565b600081519050615d0181614adf565b92915050565b600060208284031215615d1d57615d1c614aa9565b5b6000615d2b84828501615cf2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615d99601883614cb2565b9150615da482615d63565b602082019050919050565b60006020820190508181036000830152615dc881615d8c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615e05601f83614cb2565b9150615e1082615dcf565b602082019050919050565b60006020820190508181036000830152615e3481615df8565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e97602283614cb2565b9150615ea282615e3b565b604082019050919050565b60006020820190508181036000830152615ec681615e8a565b9050919050565b615ed681615c00565b82525050565b600060ff82169050919050565b615ef281615edc565b82525050565b6000608082019050615f0d6000830187615ecd565b615f1a6020830186615ee9565b615f276040830185615ecd565b615f346060830184615ecd565b9594505050505056fea26469706673582212202745df9f03bedc95fbe1ff3deea34c5190d32b1cecc88202517ba47387e0cbda64736f6c63430008090033000000000000000000000000e4bd764e46d89a600172f3f094feaee0d65944ab0000000000000000000000007a34b21c4cee2d0bc7ee882b1802d9358d2640a600000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000e4bd764e46d89a600172f3f094feaee0d65944ab00000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000000a426f6f6279426561727a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342525a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d523771476a627534565079396264727135324851314e6b59726b7574367a414e42443557773833756d6767692f00000000000000000000
Deployed Bytecode
0x6080604052600436106103355760003560e01c806392439fe5116101ab578063b88d4fde116100f7578063e0f9b47911610095578063e985e9c51161006f578063e985e9c514610b8e578063f2fde38b14610bcb578063f3fef3a314610bf4578063f49ed4e714610c1d57610335565b8063e0f9b47914610b0f578063e7dee99f14610b3a578063e886718014610b6557610335565b8063cfc86f7b116100d1578063cfc86f7b14610a51578063d5abeb0114610a7c578063dc33e68114610aa7578063dc53fd9214610ae457610335565b8063b88d4fde146109dc578063bc5f9528146109f8578063c87b56dd14610a1457610335565b80639ed2780911610164578063a2309ff81161013e578063a2309ff814610941578063a694fc3a1461096c578063ab95e6a014610995578063b67c25a3146109b157610335565b80639ed27809146108c25780639fbc8713146108ed578063a22cb4651461091857610335565b806392439fe5146107d3578063938ea644146107fc57806395d89b411461082757806399f7b5d8146108525780639c3491c21461087b5780639e852f75146108a657610335565b806335b504c5116102855780636352211e1161022357806370a08231116101fd57806370a0823114610719578063737e5b8014610756578063879fbedf1461077f5780638da5cb5b146107a857610335565b80636352211e1461068a5780636752656b146106c75780636fb081a4146106f057610335565b806341f434341161025f57806341f43434146105ef57806342842e0e1461061a57806355f804b3146106365780635b7633d01461065f57610335565b806335b504c51461055e57806335c6aaf81461059b5780633ad566a4146105c657610335565b8063095ea7b3116102f257806323b872dd116102cc57806323b872dd146104bf5780632a55205a146104db5780632db11544146105195780632e17de781461053557610335565b8063095ea7b31461045c57806315c8f1061461047857806318160ddd1461049457610335565b806301ffc9a71461033a57806302fa7c4714610377578063046dc166146103a0578063068b2fec146103c957806306fdde03146103f4578063081812fc1461041f575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c9190614b0b565b610c48565b60405161036e9190614b53565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190614c10565b610c7a565b005b3480156103ac57600080fd5b506103c760048036038101906103c29190614c50565b610cfb565b005b3480156103d557600080fd5b506103de610d7a565b6040516103eb9190614c8c565b60405180910390f35b34801561040057600080fd5b50610409610d98565b6040516104169190614d40565b60405180910390f35b34801561042b57600080fd5b5061044660048036038101906104419190614d98565b610e2a565b6040516104539190614dd4565b60405180910390f35b61047660048036038101906104719190614def565b610e88565b005b610492600480360381019061048d9190614e94565b610e98565b005b3480156104a057600080fd5b506104a961119d565b6040516104b69190614f03565b60405180910390f35b6104d960048036038101906104d49190614f1e565b6111b4565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190614f71565b61144f565b604051610510929190614fb1565b60405180910390f35b610533600480360381019061052e9190614d98565b6114da565b005b34801561054157600080fd5b5061055c60048036038101906105579190614d98565b611758565b005b34801561056a57600080fd5b5061058560048036038101906105809190614d98565b6117d3565b6040516105929190614f03565b60405180910390f35b3480156105a757600080fd5b506105b06117eb565b6040516105bd9190614f03565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190614fda565b6117f1565b005b3480156105fb57600080fd5b50610604611898565b6040516106119190615066565b60405180910390f35b610634600480360381019061062f9190614f1e565b6118aa565b005b34801561064257600080fd5b5061065d600480360381019061065891906151b1565b611b45565b005b34801561066b57600080fd5b50610674611bd2565b6040516106819190614dd4565b60405180910390f35b34801561069657600080fd5b506106b160048036038101906106ac9190614d98565b611bf8565b6040516106be9190614dd4565b60405180910390f35b3480156106d357600080fd5b506106ee60048036038101906106e991906152a6565b611c0a565b005b3480156106fc57600080fd5b5061071760048036038101906107129190615327565b611e5e565b005b34801561072557600080fd5b50610740600480360381019061073b9190614c50565b611eeb565b60405161074d9190614f03565b60405180910390f35b34801561076257600080fd5b5061077d60048036038101906107789190614fda565b611f83565b005b34801561078b57600080fd5b506107a660048036038101906107a191906153a6565b61202a565b005b3480156107b457600080fd5b506107bd6120f1565b6040516107ca9190614dd4565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f59190614d98565b61211a565b005b34801561080857600080fd5b50610811612199565b60405161081e9190614b53565b60405180910390f35b34801561083357600080fd5b5061083c6121ac565b6040516108499190614d40565b60405180910390f35b34801561085e57600080fd5b50610879600480360381019061087491906153a6565b61223e565b005b34801561088757600080fd5b50610890612305565b60405161089d9190614f03565b60405180910390f35b6108c060048036038101906108bb9190614e94565b61230b565b005b3480156108ce57600080fd5b506108d7612610565b6040516108e49190614b53565b60405180910390f35b3480156108f957600080fd5b50610902612623565b60405161090f9190614dd4565b60405180910390f35b34801561092457600080fd5b5061093f600480360381019061093a91906153d3565b612649565b005b34801561094d57600080fd5b50610956612754565b6040516109639190614f03565b60405180910390f35b34801561097857600080fd5b50610993600480360381019061098e9190614d98565b612763565b005b6109af60048036038101906109aa9190614e94565b6127de565b005b3480156109bd57600080fd5b506109c6612b32565b6040516109d39190614b53565b60405180910390f35b6109f660048036038101906109f191906154b4565b612b45565b005b610a126004803603810190610a0d9190615537565b612de3565b005b348015610a2057600080fd5b50610a3b6004803603810190610a369190614d98565b613086565b604051610a489190614d40565b60405180910390f35b348015610a5d57600080fd5b50610a66613104565b604051610a739190614d40565b60405180910390f35b348015610a8857600080fd5b50610a91613192565b604051610a9e9190614f03565b60405180910390f35b348015610ab357600080fd5b50610ace6004803603810190610ac99190614c50565b613198565b604051610adb9190614f03565b60405180910390f35b348015610af057600080fd5b50610af96131aa565b604051610b069190614f03565b60405180910390f35b348015610b1b57600080fd5b50610b246131b0565b604051610b319190614c8c565b60405180910390f35b348015610b4657600080fd5b50610b4f6131ce565b604051610b5c9190614c8c565b60405180910390f35b348015610b7157600080fd5b50610b8c6004803603810190610b8791906153a6565b6131ec565b005b348015610b9a57600080fd5b50610bb56004803603810190610bb09190615584565b61327c565b604051610bc29190614b53565b60405180910390f35b348015610bd757600080fd5b50610bf26004803603810190610bed9190614c50565b613310565b005b348015610c0057600080fd5b50610c1b6004803603810190610c169190614def565b613447565b005b348015610c2957600080fd5b50610c32613569565b604051610c3f9190614f03565b60405180910390f35b6000610c538261356f565b80610c635750610c6282613601565b5b80610c735750610c728261367b565b5b9050919050565b610c826120f1565b73ffffffffffffffffffffffffffffffffffffffff16610ca06136e5565b73ffffffffffffffffffffffffffffffffffffffff1614610ced576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cf782826136ed565b5050565b610d036120f1565b73ffffffffffffffffffffffffffffffffffffffff16610d216136e5565b73ffffffffffffffffffffffffffffffffffffffff1614610d6e576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d7781613839565b50565b601160009054906101000a90046bffffffffffffffffffffffff1681565b606060048054610da7906155f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd3906155f3565b8015610e205780601f10610df557610100808354040283529160200191610e20565b820191906000526020600020905b815481529060010190602001808311610e0357829003601f168201915b5050505050905090565b6000610e35826138e4565b610e4a57610e4963cf4700e460e01b613943565b5b6008600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610e948282600161394d565b5050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610efd576040517f7aafae9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60019054906101000a900460ff16610f43576040517f671e6b3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8261012c610f4f613a7c565b61176f610f5c9190615654565b610f669190615654565b1015610f9e576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6011600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1683610fd133613a8f565b610fdb9190615688565b1115611013576040517f4fe6c97400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61106282828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506001613ae6565b611098576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e54836110a691906156de565b34146110de576040517f99b5cb1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16831115611140576040517f562fe6ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61114a3384613b85565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe846040516111909190614f03565b60405180910390a2505050565b60006111a7613cec565b6003546002540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156113f0573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611274576000600b60008481526020019081526020016000205414611264576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61126f848484613cf1565b611449565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112bd929190615738565b60206040518083038186803b1580156112d557600080fd5b505afa1580156112e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130d9190615776565b80156113ae57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161135d929190615738565b60206040518083038186803b15801561137557600080fd5b505afa158015611389573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ad9190615776565b5b6113ef57336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016113e69190614dd4565b60405180910390fd5b5b6000600b6000848152602001908152602001600020541461143d576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611448848484613cf1565b5b50505050565b600080600061145c613fb5565b6bffffffffffffffffffffffff16600160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168561149e91906156de565b6114a891906157d2565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461153f576040517f7aafae9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900460ff16611585576040517fcd967e3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8061012c611591613a7c565b61176f61159e9190615654565b6115a89190615654565b10156115e0576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6011600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168161161333613a8f565b61161d9190615688565b1115611655576040517f4fe6c97400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010548161166391906156de565b341461169b576040517f99b5cb1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168111156116fd576040517f562fe6ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117073382613b85565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe8260405161174d9190614f03565b60405180910390a250565b8061176281611bf8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117c6576040517f432208b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117cf82613fbf565b5050565b600b6020528060005260406000206000915090505481565b600f5481565b6117f96120f1565b73ffffffffffffffffffffffffffffffffffffffff166118176136e5565b73ffffffffffffffffffffffffffffffffffffffff1614611864576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806011600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611ae6573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561196a576000600b6000848152602001908152602001600020541461195a576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611965848484614093565b611b3f565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016119b3929190615738565b60206040518083038186803b1580156119cb57600080fd5b505afa1580156119df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a039190615776565b8015611aa457506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611a53929190615738565b60206040518083038186803b158015611a6b57600080fd5b505afa158015611a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa39190615776565b5b611ae557336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611adc9190614dd4565b60405180910390fd5b5b6000600b60008481526020019081526020016000205414611b33576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b3e848484614093565b5b50505050565b611b4d6120f1565b73ffffffffffffffffffffffffffffffffffffffff16611b6b6136e5565b73ffffffffffffffffffffffffffffffffffffffff1614611bb8576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d9080519060200190611bce9291906149fc565b5050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611c03826140b3565b9050919050565b611c126120f1565b73ffffffffffffffffffffffffffffffffffffffff16611c306136e5565b73ffffffffffffffffffffffffffffffffffffffff1614611c7d576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828290509050848490508114611cc1576040517ffc6234ca00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015611e565761176f868683818110611ce257611ce1615803565b5b9050602002016020810190611cf79190615872565b67ffffffffffffffff16611d09613a7c565b611d139190615688565b1115611d4b576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611dad848483818110611d6157611d60615803565b5b9050602002016020810190611d769190614c50565b878784818110611d8957611d88615803565b5b9050602002016020810190611d9e9190615872565b67ffffffffffffffff16614176565b838382818110611dc057611dbf615803565b5b9050602002016020810190611dd59190614c50565b73ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe878784818110611e1f57611e1e615803565b5b9050602002016020810190611e349190615872565b604051611e4191906158d0565b60405180910390a28080600101915050611cc4565b505050505050565b611e666120f1565b73ffffffffffffffffffffffffffffffffffffffff16611e846136e5565b73ffffffffffffffffffffffffffffffffffffffff1614611ed1576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8260108190555081600f8190555080600e81905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f3257611f31638f4eb60460e01b613943565b5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611f8b6120f1565b73ffffffffffffffffffffffffffffffffffffffff16611fa96136e5565b73ffffffffffffffffffffffffffffffffffffffff1614611ff6576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b6120326120f1565b73ffffffffffffffffffffffffffffffffffffffff166120506136e5565b73ffffffffffffffffffffffffffffffffffffffff161461209d576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c60006101000a81548160ff0219169083151502179055507faef4094647efd65fa9ec458cca07a4b14ab68c9b20c565dd2109184ee74281d2816040516120e69190614b53565b60405180910390a150565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6121226120f1565b73ffffffffffffffffffffffffffffffffffffffff166121406136e5565b73ffffffffffffffffffffffffffffffffffffffff161461218d576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61219681613fbf565b50565b600c60019054906101000a900460ff1681565b6060600580546121bb906155f3565b80601f01602080910402602001604051908101604052809291908181526020018280546121e7906155f3565b80156122345780601f1061220957610100808354040283529160200191612234565b820191906000526020600020905b81548152906001019060200180831161221757829003601f168201915b5050505050905090565b6122466120f1565b73ffffffffffffffffffffffffffffffffffffffff166122646136e5565b73ffffffffffffffffffffffffffffffffffffffff16146122b1576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c60016101000a81548160ff0219169083151502179055507f91feff7d3a27559542ee662610e00d8e1144490e37a0390c4acd4257b5650070816040516122fa9190614b53565b60405180910390a150565b61012c81565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612370576040517f7aafae9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60019054906101000a900460ff166123b6576040517f671e6b3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8261012c6123c2613a7c565b61176f6123cf9190615654565b6123d99190615654565b1015612411576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6011600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168361244433613a8f565b61244e9190615688565b1115612486576040517f4fe6c97400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124d582828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506000613ae6565b61250b576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f548361251991906156de565b3414612551576040517f99b5cb1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff168311156125b3576040517f562fe6ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125bd3384613b85565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe846040516126039190614f03565b60405180910390a2505050565b600a60149054906101000a900460ff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8060096000612656614194565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612703614194565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127489190614b53565b60405180910390a35050565b600061275e613a7c565b905090565b8061276d81611bf8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146127d1576040517f432208b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127da8261419c565b5050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612843576040517f7aafae9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60019054906101000a900460ff16612889576040517f671e6b3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8261012c612895613a7c565b61176f6128a29190615654565b6128ac9190615654565b10156128e4576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128ef33613a8f565b1115612927576040517f93a9d77e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e546001846129379190615654565b61294191906156de565b3414612979576040517f99b5cb1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6011600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16836129ac33613a8f565b6129b69190615688565b11156129ee576040517f4fe6c97400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a3d82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506001613ae6565b612a73576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16831115612ad5576040517f562fe6ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612adf3384613b85565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe84604051612b259190614f03565b60405180910390a2505050565b600c60009054906101000a900460ff1681565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612d82573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c06576000600b60008581526020019081526020016000205414612bf5576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c01858585856142b3565b612ddc565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612c4f929190615738565b60206040518083038186803b158015612c6757600080fd5b505afa158015612c7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9f9190615776565b8015612d4057506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612cef929190615738565b60206040518083038186803b158015612d0757600080fd5b505afa158015612d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3f9190615776565b5b612d8157336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612d789190614dd4565b60405180910390fd5b5b6000600b60008581526020019081526020016000205414612dcf576040517f1577f91500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ddb858585856142b3565b5b5050505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e48576040517f7aafae9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60019054906101000a900460ff16612e8e576040517f671e6b3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600161012c612e9b613a7c565b61176f612ea89190615654565b612eb29190615654565b1015612eea576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612ef533613a8f565b1115612f2d576040517f93a9d77e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f7c82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506001613ae6565b612fb2576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6011600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166001612fe633613a8f565b612ff09190615688565b1115613028576040517f4fe6c97400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613033336001613b85565b3373ffffffffffffffffffffffffffffffffffffffff167f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe600160405161307a9190615926565b60405180910390a25050565b6060613091826138e4565b6130a6576130a563a14c4b5060e01b613943565b5b60006130b0614305565b90506000815114156130d157604051806020016040528060008152506130fc565b806130db84614397565b6040516020016130ec92919061597d565b6040516020818303038152906040525b915050919050565b600d8054613111906155f3565b80601f016020809104026020016040519081016040528092919081815260200182805461313d906155f3565b801561318a5780601f1061315f5761010080835404028352916020019161318a565b820191906000526020600020905b81548152906001019060200180831161316d57829003601f168201915b505050505081565b61176f81565b60006131a382613a8f565b9050919050565b60105481565b6011600c9054906101000a90046bffffffffffffffffffffffff1681565b600160149054906101000a90046bffffffffffffffffffffffff1681565b6131f46120f1565b73ffffffffffffffffffffffffffffffffffffffff166132126136e5565b73ffffffffffffffffffffffffffffffffffffffff161461325f576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a60146101000a81548160ff02191690831515021790555050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6133186120f1565b73ffffffffffffffffffffffffffffffffffffffff166133366136e5565b73ffffffffffffffffffffffffffffffffffffffff1614613383576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61344f6120f1565b73ffffffffffffffffffffffffffffffffffffffff1661346d6136e5565b73ffffffffffffffffffffffffffffffffffffffff16146134ba576040517feea91ff800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516134e0906159d2565b60006040518083038185875af1925050503d806000811461351d576040519150601f19603f3d011682016040523d82523d6000602084013e613522565b606091505b505090506001151581151514613564576040517f25177cfc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b600e5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806135ca57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806135fa5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806136745750613673826143f0565b5b9050919050565b60007f7f5828d0000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6136f5613fb5565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115613753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374a90615a59565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ba90615ac5565b60405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156138a0576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000816138ef613cec565b111580156138fe575060025482105b801561393c575060007c0100000000000000000000000000000000000000000000000000000000600660008581526020019081526020016000205416145b9050919050565b8060005260046000fd5b600061395883611bf8565b905081801561399a57508073ffffffffffffffffffffffffffffffffffffffff16613981614194565b73ffffffffffffffffffffffffffffffffffffffff1614155b156139c6576139b0816139ab614194565b61327c565b6139c5576139c463cfb3b94260e01b613943565b5b5b836008600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b6000613a86613cec565b60025403905090565b600067ffffffffffffffff6040600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6000613b2d83613b1f338530604051602001613b0493929190615b4e565b6040516020818303038152906040528051906020012061445a565b61448a90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600060025490506000821415613ba657613ba563b562e8dd60e01b613943565b5b613bb360008483856144b1565b613bd383613bc460008660006144b7565b613bcd856144df565b176144ef565b6006600083815260200190815260200160002081905550600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690506000811415613c8c57613c8b632e07630060e01b613943565b5b6000838301905060008390505b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a481816001019150811415613c995781600281905550505050613ce7600084838561451a565b505050565b600090565b6000613cfc826140b3565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614613d7157613d7063a114810060e01b613943565b5b600080613d7d84614520565b91509150613d938187613d8e614194565b614547565b613dbe57613da886613da3614194565b61327c565b613dbd57613dbc6359c896be60e01b613943565b5b5b613dcb86868660016144b1565b8015613dd657600082555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550613ea485613e808888876144b7565b7c0200000000000000000000000000000000000000000000000000000000176144ef565b600660008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415613f2c576000600185019050600060066000838152602001908152602001600020541415613f2a576002548114613f29578360066000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46000811415613f9f57613f9e63ea553b3460e01b613943565b5b613fac878787600161451a565b50505050505050565b6000612710905090565b6000600b600083815260200190815260200160002054141561400d576040517f039f2e1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600b60008381526020019081526020016000205490506000600b6000848152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff16827fc1e00202ee2c06861d326fc6374026b751863ff64218ccbaa38c3e603a8e72c28342604051614087929190615b8b565b60405180910390a35050565b6140ae83838360405180602001604052806000815250612b45565b505050565b6000816140be613cec565b11614160576006600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561415f57600081141561415a5760025482106141245761412363df2d9b4260e01b613943565b5b5b6006600083600190039350838152602001908152602001600020549050600081141561415057614155565b614171565b614125565b614171565b5b61417063df2d9b4260e01b613943565b5b919050565b61419082826040518060200160405280600081525061458b565b5050565b600033905090565b60011515600a60149054906101000a900460ff161515146141e9576040517fe14162d600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600b60008381526020019081526020016000205414614236576040517f0ae3514d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b42600b6000838152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff16817f02567b2553aeb44e4ddd5d68462774dc3de158cb0f2c2da1740e729b22086aff600b6000858152602001908152602001600020546040516142a89190614f03565b60405180910390a350565b6142be8484846111b4565b60008373ffffffffffffffffffffffffffffffffffffffff163b146142ff576142e984848484614611565b6142fe576142fd63d1a57ed660e01b613943565b5b5b50505050565b6060600d8054614314906155f3565b80601f0160208091040260200160405190810160405280929190818152602001828054614340906155f3565b801561438d5780601f106143625761010080835404028352916020019161438d565b820191906000526020600020905b81548152906001019060200180831161437057829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156143db57600184039350600a81066030018453600a81049050806143d6576143db565b6143b0565b50828103602084039350808452505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008160405160200161446d9190615c2b565b604051602081830303815290604052805190602001209050919050565b60008060006144998585614750565b915091506144a6816147a2565b819250505092915050565b50505050565b60008060e883901c905060e86144ce868684614910565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008060006008600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b6145958383613b85565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461460c5760006002549050600083820390505b6145d66000868380600101945086614611565b6145eb576145ea63d1a57ed660e01b613943565b5b8181106145c357816002541461460957614608600060e01b613943565b5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02614637614194565b8786866040518563ffffffff1660e01b81526004016146599493929190615ca6565b602060405180830381600087803b15801561467357600080fd5b505af19250505080156146a457506040513d601f19601f820116820180604052508101906146a19190615d07565b60015b6146fd573d80600081146146d4576040519150601f19603f3d011682016040523d82523d6000602084013e6146d9565b606091505b506000815114156146f5576146f463d1a57ed660e01b613943565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000806041835114156147925760008060006020860151925060408601519150606086015160001a905061478687828585614919565b9450945050505061479b565b60006002915091505b9250929050565b600060048111156147b6576147b5615d34565b5b8160048111156147c9576147c8615d34565b5b14156147d45761490d565b600160048111156147e8576147e7615d34565b5b8160048111156147fb576147fa615d34565b5b141561483c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161483390615daf565b60405180910390fd5b600260048111156148505761484f615d34565b5b81600481111561486357614862615d34565b5b14156148a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161489b90615e1b565b60405180910390fd5b600360048111156148b8576148b7615d34565b5b8160048111156148cb576148ca615d34565b5b141561490c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161490390615ead565b60405180910390fd5b5b50565b60009392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156149545760006003915091506149f3565b6000600187878787604051600081526020016040526040516149799493929190615ef8565b6020604051602081039080840390855afa15801561499b573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156149ea576000600192509250506149f3565b80600092509250505b94509492505050565b828054614a08906155f3565b90600052602060002090601f016020900481019282614a2a5760008555614a71565b82601f10614a4357805160ff1916838001178555614a71565b82800160010185558215614a71579182015b82811115614a70578251825591602001919060010190614a55565b5b509050614a7e9190614a82565b5090565b5b80821115614a9b576000816000905550600101614a83565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b614ae881614ab3565b8114614af357600080fd5b50565b600081359050614b0581614adf565b92915050565b600060208284031215614b2157614b20614aa9565b5b6000614b2f84828501614af6565b91505092915050565b60008115159050919050565b614b4d81614b38565b82525050565b6000602082019050614b686000830184614b44565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614b9982614b6e565b9050919050565b614ba981614b8e565b8114614bb457600080fd5b50565b600081359050614bc681614ba0565b92915050565b60006bffffffffffffffffffffffff82169050919050565b614bed81614bcc565b8114614bf857600080fd5b50565b600081359050614c0a81614be4565b92915050565b60008060408385031215614c2757614c26614aa9565b5b6000614c3585828601614bb7565b9250506020614c4685828601614bfb565b9150509250929050565b600060208284031215614c6657614c65614aa9565b5b6000614c7484828501614bb7565b91505092915050565b614c8681614bcc565b82525050565b6000602082019050614ca16000830184614c7d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614ce1578082015181840152602081019050614cc6565b83811115614cf0576000848401525b50505050565b6000601f19601f8301169050919050565b6000614d1282614ca7565b614d1c8185614cb2565b9350614d2c818560208601614cc3565b614d3581614cf6565b840191505092915050565b60006020820190508181036000830152614d5a8184614d07565b905092915050565b6000819050919050565b614d7581614d62565b8114614d8057600080fd5b50565b600081359050614d9281614d6c565b92915050565b600060208284031215614dae57614dad614aa9565b5b6000614dbc84828501614d83565b91505092915050565b614dce81614b8e565b82525050565b6000602082019050614de96000830184614dc5565b92915050565b60008060408385031215614e0657614e05614aa9565b5b6000614e1485828601614bb7565b9250506020614e2585828601614d83565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112614e5457614e53614e2f565b5b8235905067ffffffffffffffff811115614e7157614e70614e34565b5b602083019150836001820283011115614e8d57614e8c614e39565b5b9250929050565b600080600060408486031215614ead57614eac614aa9565b5b6000614ebb86828701614d83565b935050602084013567ffffffffffffffff811115614edc57614edb614aae565b5b614ee886828701614e3e565b92509250509250925092565b614efd81614d62565b82525050565b6000602082019050614f186000830184614ef4565b92915050565b600080600060608486031215614f3757614f36614aa9565b5b6000614f4586828701614bb7565b9350506020614f5686828701614bb7565b9250506040614f6786828701614d83565b9150509250925092565b60008060408385031215614f8857614f87614aa9565b5b6000614f9685828601614d83565b9250506020614fa785828601614d83565b9150509250929050565b6000604082019050614fc66000830185614dc5565b614fd36020830184614ef4565b9392505050565b600060208284031215614ff057614fef614aa9565b5b6000614ffe84828501614bfb565b91505092915050565b6000819050919050565b600061502c61502761502284614b6e565b615007565b614b6e565b9050919050565b600061503e82615011565b9050919050565b600061505082615033565b9050919050565b61506081615045565b82525050565b600060208201905061507b6000830184615057565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6150be82614cf6565b810181811067ffffffffffffffff821117156150dd576150dc615086565b5b80604052505050565b60006150f0614a9f565b90506150fc82826150b5565b919050565b600067ffffffffffffffff82111561511c5761511b615086565b5b61512582614cf6565b9050602081019050919050565b82818337600083830152505050565b600061515461514f84615101565b6150e6565b9050828152602081018484840111156151705761516f615081565b5b61517b848285615132565b509392505050565b600082601f83011261519857615197614e2f565b5b81356151a8848260208601615141565b91505092915050565b6000602082840312156151c7576151c6614aa9565b5b600082013567ffffffffffffffff8111156151e5576151e4614aae565b5b6151f184828501615183565b91505092915050565b60008083601f8401126152105761520f614e2f565b5b8235905067ffffffffffffffff81111561522d5761522c614e34565b5b60208301915083602082028301111561524957615248614e39565b5b9250929050565b60008083601f84011261526657615265614e2f565b5b8235905067ffffffffffffffff81111561528357615282614e34565b5b60208301915083602082028301111561529f5761529e614e39565b5b9250929050565b600080600080604085870312156152c0576152bf614aa9565b5b600085013567ffffffffffffffff8111156152de576152dd614aae565b5b6152ea878288016151fa565b9450945050602085013567ffffffffffffffff81111561530d5761530c614aae565b5b61531987828801615250565b925092505092959194509250565b6000806000606084860312156153405761533f614aa9565b5b600061534e86828701614d83565b935050602061535f86828701614d83565b925050604061537086828701614d83565b9150509250925092565b61538381614b38565b811461538e57600080fd5b50565b6000813590506153a08161537a565b92915050565b6000602082840312156153bc576153bb614aa9565b5b60006153ca84828501615391565b91505092915050565b600080604083850312156153ea576153e9614aa9565b5b60006153f885828601614bb7565b925050602061540985828601615391565b9150509250929050565b600067ffffffffffffffff82111561542e5761542d615086565b5b61543782614cf6565b9050602081019050919050565b600061545761545284615413565b6150e6565b90508281526020810184848401111561547357615472615081565b5b61547e848285615132565b509392505050565b600082601f83011261549b5761549a614e2f565b5b81356154ab848260208601615444565b91505092915050565b600080600080608085870312156154ce576154cd614aa9565b5b60006154dc87828801614bb7565b94505060206154ed87828801614bb7565b93505060406154fe87828801614d83565b925050606085013567ffffffffffffffff81111561551f5761551e614aae565b5b61552b87828801615486565b91505092959194509250565b6000806020838503121561554e5761554d614aa9565b5b600083013567ffffffffffffffff81111561556c5761556b614aae565b5b61557885828601614e3e565b92509250509250929050565b6000806040838503121561559b5761559a614aa9565b5b60006155a985828601614bb7565b92505060206155ba85828601614bb7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061560b57607f821691505b6020821081141561561f5761561e6155c4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061565f82614d62565b915061566a83614d62565b92508282101561567d5761567c615625565b5b828203905092915050565b600061569382614d62565b915061569e83614d62565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156156d3576156d2615625565b5b828201905092915050565b60006156e982614d62565b91506156f483614d62565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561572d5761572c615625565b5b828202905092915050565b600060408201905061574d6000830185614dc5565b61575a6020830184614dc5565b9392505050565b6000815190506157708161537a565b92915050565b60006020828403121561578c5761578b614aa9565b5b600061579a84828501615761565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006157dd82614d62565b91506157e883614d62565b9250826157f8576157f76157a3565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600067ffffffffffffffff82169050919050565b61584f81615832565b811461585a57600080fd5b50565b60008135905061586c81615846565b92915050565b60006020828403121561588857615887614aa9565b5b60006158968482850161585d565b91505092915050565b60006158ba6158b56158b084615832565b615007565b614d62565b9050919050565b6158ca8161589f565b82525050565b60006020820190506158e560008301846158c1565b92915050565b6000819050919050565b600061591061590b615906846158eb565b615007565b614d62565b9050919050565b615920816158f5565b82525050565b600060208201905061593b6000830184615917565b92915050565b600081905092915050565b600061595782614ca7565b6159618185615941565b9350615971818560208601614cc3565b80840191505092915050565b6000615989828561594c565b9150615995828461594c565b91508190509392505050565b600081905092915050565b50565b60006159bc6000836159a1565b91506159c7826159ac565b600082019050919050565b60006159dd826159af565b9150819050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615a43602a83614cb2565b9150615a4e826159e7565b604082019050919050565b60006020820190508181036000830152615a7281615a36565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615aaf601983614cb2565b9150615aba82615a79565b602082019050919050565b60006020820190508181036000830152615ade81615aa2565b9050919050565b60008160601b9050919050565b6000615afd82615ae5565b9050919050565b6000615b0f82615af2565b9050919050565b615b27615b2282614b8e565b615b04565b82525050565b6000819050919050565b615b48615b4382614d62565b615b2d565b82525050565b6000615b5a8286615b16565b601482019150615b6a8285615b37565b602082019150615b7a8284615b16565b601482019150819050949350505050565b6000604082019050615ba06000830185614ef4565b615bad6020830184614ef4565b9392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615bea601c83615941565b9150615bf582615bb4565b601c82019050919050565b6000819050919050565b6000819050919050565b615c25615c2082615c00565b615c0a565b82525050565b6000615c3682615bdd565b9150615c428284615c14565b60208201915081905092915050565b600081519050919050565b600082825260208201905092915050565b6000615c7882615c51565b615c828185615c5c565b9350615c92818560208601614cc3565b615c9b81614cf6565b840191505092915050565b6000608082019050615cbb6000830187614dc5565b615cc86020830186614dc5565b615cd56040830185614ef4565b8181036060830152615ce78184615c6d565b905095945050505050565b600081519050615d0181614adf565b92915050565b600060208284031215615d1d57615d1c614aa9565b5b6000615d2b84828501615cf2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615d99601883614cb2565b9150615da482615d63565b602082019050919050565b60006020820190508181036000830152615dc881615d8c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615e05601f83614cb2565b9150615e1082615dcf565b602082019050919050565b60006020820190508181036000830152615e3481615df8565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e97602283614cb2565b9150615ea282615e3b565b604082019050919050565b60006020820190508181036000830152615ec681615e8a565b9050919050565b615ed681615c00565b82525050565b600060ff82169050919050565b615ef281615edc565b82525050565b6000608082019050615f0d6000830187615ecd565b615f1a6020830186615ee9565b615f276040830185615ecd565b615f346060830184615ecd565b9594505050505056fea26469706673582212202745df9f03bedc95fbe1ff3deea34c5190d32b1cecc88202517ba47387e0cbda64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e4bd764e46d89a600172f3f094feaee0d65944ab0000000000000000000000007a34b21c4cee2d0bc7ee882b1802d9358d2640a600000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000e4bd764e46d89a600172f3f094feaee0d65944ab00000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000000a426f6f6279426561727a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342525a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d523771476a627534565079396264727135324851314e6b59726b7574367a414e42443557773833756d6767692f00000000000000000000
-----Decoded View---------------
Arg [0] : _owner (address): 0xe4bd764e46d89A600172f3F094FEAeE0D65944aB
Arg [1] : _signer (address): 0x7a34B21c4cEe2D0bc7eE882b1802D9358d2640A6
Arg [2] : _name (string): BoobyBearz
Arg [3] : _symbol (string): BRZ
Arg [4] : _tokenUri (string): ipfs://QmR7qGjbu4VPy9bdrq52HQ1NkYrkut6zANBD5Ww83umggi/
Arg [5] : _royaltyReceiver (address): 0xe4bd764e46d89A600172f3F094FEAeE0D65944aB
Arg [6] : _royaltyFraction (uint96): 500
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 000000000000000000000000e4bd764e46d89a600172f3f094feaee0d65944ab
Arg [1] : 0000000000000000000000007a34b21c4cee2d0bc7ee882b1802d9358d2640a6
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [5] : 000000000000000000000000e4bd764e46d89a600172f3f094feaee0d65944ab
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [8] : 426f6f6279426561727a00000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 42525a0000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [12] : 697066733a2f2f516d523771476a627534565079396264727135324851314e6b
Arg [13] : 59726b7574367a414e42443557773833756d6767692f00000000000000000000
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.