Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 129 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 20637499 | 35 mins ago | IN | 0 ETH | 0.00005978 | ||||
Set Approval For... | 20634247 | 11 hrs ago | IN | 0 ETH | 0.00011994 | ||||
Set Approval For... | 20427890 | 29 days ago | IN | 0 ETH | 0.0006829 | ||||
Safe Transfer Fr... | 19184023 | 203 days ago | IN | 0 ETH | 0.00363196 | ||||
Set Approval For... | 19136475 | 210 days ago | IN | 0 ETH | 0.00098962 | ||||
Set Approval For... | 19079769 | 218 days ago | IN | 0 ETH | 0.00050832 | ||||
Safe Transfer Fr... | 19016045 | 226 days ago | IN | 0 ETH | 0.00143908 | ||||
Safe Transfer Fr... | 19016040 | 226 days ago | IN | 0 ETH | 0.00200223 | ||||
Set Approval For... | 19015796 | 226 days ago | IN | 0 ETH | 0.00067787 | ||||
Set Approval For... | 19004072 | 228 days ago | IN | 0 ETH | 0.00218589 | ||||
Set Approval For... | 18837898 | 251 days ago | IN | 0 ETH | 0.00134674 | ||||
Set Approval For... | 18827740 | 253 days ago | IN | 0 ETH | 0.00373938 | ||||
Set Approval For... | 18800002 | 257 days ago | IN | 0 ETH | 0.00285144 | ||||
Set Approval For... | 18798935 | 257 days ago | IN | 0 ETH | 0.00248906 | ||||
Transfer Ownersh... | 18737451 | 266 days ago | IN | 0 ETH | 0.00146933 | ||||
Set Minter | 18737450 | 266 days ago | IN | 0 ETH | 0.00125185 | ||||
Set Approval For... | 18621290 | 282 days ago | IN | 0 ETH | 0.00208931 | ||||
Set Approval For... | 18620903 | 282 days ago | IN | 0 ETH | 0.00220694 | ||||
Safe Transfer Fr... | 18585133 | 287 days ago | IN | 0 ETH | 0.0060853 | ||||
Safe Transfer Fr... | 18558724 | 291 days ago | IN | 0 ETH | 0.00126545 | ||||
Safe Transfer Fr... | 18558696 | 291 days ago | IN | 0 ETH | 0.002589 | ||||
Set Redeem Price | 18558673 | 291 days ago | IN | 0 ETH | 0.00084921 | ||||
Set Approval For... | 18548686 | 292 days ago | IN | 0 ETH | 0.00096369 | ||||
Set Redeem Price | 18543547 | 293 days ago | IN | 0 ETH | 0.00146681 | ||||
Safe Transfer Fr... | 18542324 | 293 days ago | IN | 0 ETH | 0.00312832 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
CEToken
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.21; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/utils/structs/BitMaps.sol"; import "erc721a/contracts/ERC721A.sol"; import "./interfaces/IERC1155.sol"; /** * @dev Implementation of the ERC721A token */ contract CEToken is ERC721A, ERC2981, Ownable { using BitMaps for BitMaps.BitMap; /// @notice Sets when can redeem copy bool public canRedeem; /// @notice Wallet that will receive values from redeem() function address public trustedWallet; /// @dev Price for redeemptions. Set after deploy. uint256 public redeemPrice; /// @notice address that can mint tokens address public minter; /// @notice Uri of metadata. Set after deployment. string private uri; /// @notice Access Pass Token IERC1155 public accessPassToken; /** * @dev It uses a Bitmap to store 1) if a token has a FREE or PAID claim 2) if it was already redeemed or not. * It reuses OpenZeppelin implementation of a Bitmap. The first bit stores if it was claimed already or not. If first * bit is true, it was claimed, if it is false, it wasn't claimed. hasClaimed() function returns if a tokenId were claimed * or not. * * The second bit store if it is a Paid or Free claim. If it is true, it is a paid claim/redeem. * If it is false, it is a free claim/redeem. Functions isPaid() and isFree() returns the claim information of a tokenId. * */ mapping(uint256 => BitMaps.BitMap) private redeemBitmapValues; /// @notice Event OpenSea uses to update a metadata from a token range. event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId); /// @notice Event to store which collection were burned for a cetain token id. event CEMinted( address owner, uint256 tokenId_Issue1, uint256 tokenId_Issue2, uint256 tokenId_Issue3, uint256 tokenId_Issue4, uint256 tokenId_Issue5, uint256 tokenId_Issue6, uint256 tokenId ); /// @notice Event to register token was redeemed event CERedeemed(address owner, uint256 tokenId); /** * Constructor. Sets royalty receiver and Access Pass token address * @param _royaltyReceiver Royalty receiver address * @param _accessPass ERC-1155 Access Pass token address */ constructor( address _royaltyReceiver, address _accessPass ) ERC721A("Huxley C.E.", "C.E.") { _setDefaultRoyalty(_royaltyReceiver, 500); accessPassToken = IERC1155(_accessPass); } /** * @dev Mints <b>_amount</b> tokens. Sender must be the minter address. * @param _account Address that will receive the tokens * @param _amountToMint Amount of CE tokens that will be minted * @param _freeClaimAmount Amount of free Claim CE tokens. Paid Claim is equal to _amountToMint - _freeClaimAmount * @param _tokenIdsBurned Array of tokenIDs that were burned. It is used inside CEMinted event. */ function mint( address _account, uint256 _amountToMint, uint256 _freeClaimAmount, uint256[][] calldata _tokenIdsBurned ) external { require(msg.sender == minter, "CE: Not minter"); // If _freeClaimAmount is greater than _amountToMint, it reverts _mintToken( _account, _amountToMint, _freeClaimAmount, _amountToMint - _freeClaimAmount, _tokenIdsBurned ); } /** * It sets the claim info (if it is free or paid claim), mints CE tokens, mints Access Pass tokens and emit * an event that has all tokenIds burned (a complete Huxley Saga comics collection) and the new CE tokenId * @param _account Account that will get the CE tokens and AccessPass tokens * @param _amountToMint Amountof CE tokens to be minted * @param _freeClaimAmount Amount of free claim tokens * @param _paidClaimAmount Amount of paid claim tokens * @param _tokenIdsBurned Array with the tokens ids from Huxley Saga that were burned */ function _mintToken( address _account, uint256 _amountToMint, uint256 _freeClaimAmount, uint256 _paidClaimAmount, uint256[][] calldata _tokenIdsBurned ) internal { // InitialToken Id is the 1st CE token Id that will be minted in this tx // Since it is known the amount of tokens that will be minted, // it is possible to know the tokenIds range. It is used to emit CEMinted event uint256 initialTokenId = _nextTokenId(); // After setting claim info using a bitmap, it returns the last token id that // had a claim info set to compare after minting all CE tokens. Because // this number must be equal to the _nextTokenId() value uint256 lastTokenIdSet = setClaimInfo( _freeClaimAmount, _paidClaimAmount ); // Mints CE tokens ERC721A _safeMint(_account, _amountToMint); // Minst AccessPass tokens ERC1155 accessPassToken.privateMint(_account, _amountToMint); // Emit event of collections burned and tokenIds for (uint256 i = 0; i < _amountToMint; ) { emit CEMinted( _account, _tokenIdsBurned[i][0], _tokenIdsBurned[i][1], _tokenIdsBurned[i][2], _tokenIdsBurned[i][3], _tokenIdsBurned[i][4], _tokenIdsBurned[i][5], initialTokenId++ ); unchecked { ++i; } } // making sure all tokens were corrected set for Free or Paid Claim assert(lastTokenIdSet == _nextTokenId()); assert(initialTokenId == _nextTokenId()); } /** * Sets if it is paid or free claim. First it sets the Paid Claim tokens and then sets the Free Claim tokens. * * @notice Bitmap Index 0 is if it was claimed. Index 1 is if it is paid or free claim. * * @param _freeClaimAmount Amount of free claim tokens. It can be 0 * @param _paidClaimAmount Amount of paid claim tokens It can be 0 */ function setClaimInfo( uint256 _freeClaimAmount, uint256 _paidClaimAmount ) internal returns (uint256 currentTokenId) { currentTokenId = _nextTokenId(); // set Paid first for (uint256 i; i < _paidClaimAmount; ) { redeemBitmapValues[currentTokenId].setTo(1, true); unchecked { ++i; ++currentTokenId; } } unchecked { currentTokenId = currentTokenId + _freeClaimAmount; } } /** * @notice It isn't necessary to redeem paid and then free claims or vice versa. Wallet has to pay only for the amount * of paid claim tokens multiplied by the redeem price value. * @param _tokenIds Array with tokenIds. It can contaim paid or free tokens. */ function redeem(uint256[] calldata _tokenIds) external payable { require(canRedeem, "CE: Cannot redeem."); uint256 tokenIdsLength = _tokenIds.length; uint256 amountToPay; // total amount of paid claim tokens for (uint256 i = 0; i < tokenIdsLength; ) { uint256 _tokenId = _tokenIds[i]; require(hasClaimed(_tokenId) == false, "CE: Token claimed"); // only token id owner can call redeem() require(ownerOf(_tokenId) == msg.sender, "CE: Not owner to redeem"); // sets to true that it was claimed redeemBitmapValues[_tokenId].setTo(0, true); // if it is a paid claim token, increment by 1 amountToPay value if (this.isPaid(_tokenId)) { ++amountToPay; } emit CERedeemed(msg.sender, _tokenId); unchecked { ++i; } } uint256 totalPaid = redeemPrice * amountToPay; require(msg.value >= totalPaid, "CE: Low value"); unchecked { (bool success, ) = trustedWallet.call{value: msg.value}(""); require(success, "CE: Redeem failed"); } } /** * Returns if _tokenId were already claimed or not * @dev Index 0 is if it was claimed. * @param _tokenId Token ID to check if it was claimed */ function hasClaimed(uint256 _tokenId) public view returns (bool) { return redeemBitmapValues[_tokenId].get(0); } /** * Returns if it is a Paid Claim _tokenId * @dev Index 1 is if it is paid or free claim. * @param _tokenId token id to check if it is a paid claim */ function isPaid(uint256 _tokenId) external view returns (bool) { return redeemBitmapValues[_tokenId].get(1); } /** * Returns if it is a Free Claim _tokenId. * @dev Index 1 is if it is paid or free claim. * @param _tokenId token id to check if it is a free claim */ function isFree(uint256 _tokenId) public view returns (bool) { return !redeemBitmapValues[_tokenId].get(1); } /// @notice Set base uri. OnlyOwner can call it. function setBaseURI(string memory _value) external onlyOwner { uri = _value; } /// @notice Returns base uri function _baseURI() internal view virtual override returns (string memory) { return uri; } /// @notice Set address of Minter function setMinter(address _addr) external onlyOwner { minter = _addr; } function supportsInterface( bytes4 _interfaceId ) public view virtual override(ERC721A, ERC2981) returns (bool) { return super.supportsInterface(_interfaceId); } /** * Sets a new royalty value * @param receiver Address of new royalty receiver * @param numerator New royalty value */ function setDefaultRoyalty( address receiver, uint96 numerator ) external onlyOwner { ERC2981._setDefaultRoyalty(receiver, numerator); } /** * Emits and event to update metadata * * @param _fromTokenId initial token id to be updated * @param _toTokenId last token id to be updated */ function updateMetadata( uint256 _fromTokenId, uint256 _toTokenId ) external onlyOwner { emit BatchMetadataUpdate(_fromTokenId, _toTokenId); } /** * @dev Updates value of 'redeemPrice'. Only Owner can update it. * @param _price New value of 'redeemPrice' */ function setRedeemPrice(uint256 _price) external onlyOwner { redeemPrice = _price; } /** * @dev Updates value of 'canRedeem'. Only Owner can update it. * @param _value New value of 'canRedeem' */ function setCanRedeem(bool _value) external onlyOwner { canRedeem = _value; } /** * @dev Updates address of 'trustedWallet'. Only Owner can update it. * @param _trustedWallet New address for 'trustedWallet */ function setTrustedWallet(address _trustedWallet) external onlyOwner { trustedWallet = _trustedWallet; } /// @notice Override _startTokenId to start token id equal to 1. Default was 0. function _startTokenId() internal view virtual override returns (uint256) { return 1; } /// @dev IP Licenses function IPLicensesIncluded() external pure returns (string memory) { return "Personal Use, Commercial Display, Merchandising"; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/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 // OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/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 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @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) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, 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 _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./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 // 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/BitMaps.sol) pragma solidity ^0.8.0; /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. * Largely inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor]. */ library BitMaps { struct BitMap { mapping(uint256 => uint256) _data; } /** * @dev Returns whether the bit at `index` is set. */ function get(BitMap storage bitmap, uint256 index) internal view returns (bool) { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); return bitmap._data[bucket] & mask != 0; } /** * @dev Sets the bit at `index` to the boolean `value`. */ function setTo(BitMap storage bitmap, uint256 index, bool value) internal { if (value) { set(bitmap, index); } else { unset(bitmap, index); } } /** * @dev Sets the bit at `index`. */ function set(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] |= mask; } /** * @dev Unsets the bit at `index`. */ function unset(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] &= ~mask; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.21; /** * @notice Interface used by AP Token */ interface IERC1155 { function privateMint(address _account, uint256 _amount) external; }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// 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); }
{ "evmVersion": "paris", "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":"_royaltyReceiver","type":"address"},{"internalType":"address","name":"_accessPass","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId_Issue1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId_Issue2","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId_Issue3","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId_Issue4","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId_Issue5","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId_Issue6","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"CEMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"CERedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"IPLicensesIncluded","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"accessPassToken","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canRedeem","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":"uint256","name":"_tokenId","type":"uint256"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isPaid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amountToMint","type":"uint256"},{"internalType":"uint256","name":"_freeClaimAmount","type":"uint256"},{"internalType":"uint256[][]","name":"_tokenIdsBurned","type":"uint256[][]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"redeem","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"redeemPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[{"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":"_value","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_value","type":"bool"}],"name":"setCanRedeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"numerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setRedeemPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_trustedWallet","type":"address"}],"name":"setTrustedWallet","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"trustedWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromTokenId","type":"uint256"},{"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"updateMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200493d3803806200493d83398181016040528101906200003791906200044a565b6040518060400160405280600b81526020017f4875786c657920432e452e0000000000000000000000000000000000000000008152506040518060400160405280600481526020017f432e452e000000000000000000000000000000000000000000000000000000008152508160029081620000b491906200070b565b508060039081620000c691906200070b565b50620000d76200015c60201b60201c565b6000819055505050620000ff620000f36200016560201b60201c565b6200016d60201b60201c565b62000113826101f46200023360201b60201c565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506200090d565b60006001905090565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000243620003d660201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620002a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200029b9062000879565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000316576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030d90620008eb565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200041282620003e5565b9050919050565b620004248162000405565b81146200043057600080fd5b50565b600081519050620004448162000419565b92915050565b60008060408385031215620004645762000463620003e0565b5b6000620004748582860162000433565b9250506020620004878582860162000433565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200051357607f821691505b602082108103620005295762000528620004cb565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000554565b6200059f868362000554565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005ec620005e6620005e084620005b7565b620005c1565b620005b7565b9050919050565b6000819050919050565b6200060883620005cb565b620006206200061782620005f3565b84845462000561565b825550505050565b600090565b6200063762000628565b62000644818484620005fd565b505050565b5b818110156200066c57620006606000826200062d565b6001810190506200064a565b5050565b601f821115620006bb5762000685816200052f565b620006908462000544565b81016020851015620006a0578190505b620006b8620006af8562000544565b83018262000649565b50505b505050565b600082821c905092915050565b6000620006e060001984600802620006c0565b1980831691505092915050565b6000620006fb8383620006cd565b9150826002028217905092915050565b620007168262000491565b67ffffffffffffffff8111156200073257620007316200049c565b5b6200073e8254620004fa565b6200074b82828562000670565b600060209050601f8311600181146200078357600084156200076e578287015190505b6200077a8582620006ed565b865550620007ea565b601f19841662000793866200052f565b60005b82811015620007bd5784890151825560018201915060208501945060208101905062000796565b86831015620007dd5784890151620007d9601f891682620006cd565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000861602a83620007f2565b91506200086e8262000803565b604082019050919050565b60006020820190508181036000830152620008948162000852565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000620008d3601983620007f2565b9150620008e0826200089b565b602082019050919050565b600060208201905081810360008301526200090681620008c4565b9050919050565b614020806200091d6000396000f3fe60806040526004361061020f5760003560e01c8063715018a611610118578063ca6ed8d4116100a0578063e985e9c51161006f578063e985e9c51461078c578063f2fde38b146107c9578063f97ed509146107f2578063f9afb26a1461081d578063fca3b5aa146108395761020f565b8063ca6ed8d4146106ac578063cd392a83146106d5578063ce4400da14610712578063ce5165071461074f5761020f565b806395d89b41116100e757806395d89b41146105d6578063a22cb46514610601578063acf0c28b1461062a578063b88d4fde14610653578063c87b56dd1461066f5761020f565b8063715018a6146105405780637a233fb31461055757806389a56b2f146105825780638da5cb5b146105ab5761020f565b806323b872dd1161019b57806342842e0e1161016a57806342842e0e1461045657806355f804b314610472578063570d2f8f1461049b5780636352211e146104c657806370a08231146105035761020f565b806323b872dd146103a85780632a55205a146103c45780632adf13e9146104025780632fb896761461042b5761020f565b8063081812fc116101e2578063081812fc146102d0578063095ea7b31461030d57806309f3dff31461032957806318160ddd146103525780631a52b7341461037d5761020f565b806301ffc9a71461021457806304634d8d1461025157806306fdde031461027a57806307546172146102a5575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612a7d565b610862565b6040516102489190612ac5565b60405180910390f35b34801561025d57600080fd5b5061027860048036038101906102739190612b82565b610874565b005b34801561028657600080fd5b5061028f61088a565b60405161029c9190612c52565b60405180910390f35b3480156102b157600080fd5b506102ba61091c565b6040516102c79190612c83565b60405180910390f35b3480156102dc57600080fd5b506102f760048036038101906102f29190612cd4565b610942565b6040516103049190612c83565b60405180910390f35b61032760048036038101906103229190612d01565b6109c1565b005b34801561033557600080fd5b50610350600480360381019061034b9190612d41565b610b05565b005b34801561035e57600080fd5b50610367610b4a565b6040516103749190612d90565b60405180910390f35b34801561038957600080fd5b50610392610b61565b60405161039f9190612e0a565b60405180910390f35b6103c260048036038101906103bd9190612e25565b610b87565b005b3480156103d057600080fd5b506103eb60048036038101906103e69190612d41565b610ea9565b6040516103f9929190612e78565b60405180910390f35b34801561040e57600080fd5b5061042960048036038101906104249190612cd4565b611093565b005b34801561043757600080fd5b506104406110a5565b60405161044d9190612c52565b60405180910390f35b610470600480360381019061046b9190612e25565b6110c5565b005b34801561047e57600080fd5b5061049960048036038101906104949190612fd6565b6110e5565b005b3480156104a757600080fd5b506104b0611100565b6040516104bd9190612c83565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190612cd4565b611126565b6040516104fa9190612c83565b60405180910390f35b34801561050f57600080fd5b5061052a6004803603810190610525919061301f565b611138565b6040516105379190612d90565b60405180910390f35b34801561054c57600080fd5b506105556111f0565b005b34801561056357600080fd5b5061056c611204565b6040516105799190612d90565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a4919061301f565b61120a565b005b3480156105b757600080fd5b506105c0611256565b6040516105cd9190612c83565b60405180910390f35b3480156105e257600080fd5b506105eb611280565b6040516105f89190612c52565b60405180910390f35b34801561060d57600080fd5b5061062860048036038101906106239190613078565b611312565b005b34801561063657600080fd5b50610651600480360381019061064c91906130b8565b61141d565b005b61066d60048036038101906106689190613186565b611442565b005b34801561067b57600080fd5b5061069660048036038101906106919190612cd4565b6114b5565b6040516106a39190612c52565b60405180910390f35b3480156106b857600080fd5b506106d360048036038101906106ce9190613269565b611553565b005b3480156106e157600080fd5b506106fc60048036038101906106f79190612cd4565b611603565b6040516107099190612ac5565b60405180910390f35b34801561071e57600080fd5b5061073960048036038101906107349190612cd4565b611632565b6040516107469190612ac5565b60405180910390f35b34801561075b57600080fd5b5061077660048036038101906107719190612cd4565b611662565b6040516107839190612ac5565b60405180910390f35b34801561079857600080fd5b506107b360048036038101906107ae91906132f1565b611691565b6040516107c09190612ac5565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb919061301f565b611725565b005b3480156107fe57600080fd5b506108076117a8565b6040516108149190612ac5565b60405180910390f35b61083760048036038101906108329190613387565b6117bb565b005b34801561084557600080fd5b50610860600480360381019061085b919061301f565b611b2b565b005b600061086d82611b77565b9050919050565b61087c611bf1565b6108868282611c6f565b5050565b60606002805461089990613403565b80601f01602080910402602001604051908101604052809291908181526020018280546108c590613403565b80156109125780601f106108e757610100808354040283529160200191610912565b820191906000526020600020905b8154815290600101906020018083116108f557829003601f168201915b5050505050905090565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061094d82611e04565b610983576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109cc82611126565b90508073ffffffffffffffffffffffffffffffffffffffff166109ed611e63565b73ffffffffffffffffffffffffffffffffffffffff1614610a5057610a1981610a14611e63565b611691565b610a4f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610b0d611bf1565b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c8282604051610b3e929190613434565b60405180910390a15050565b6000610b54611e6b565b6001546000540303905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610b9282611e74565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bf9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c0584611f40565b91509150610c1b8187610c16611e63565b611f67565b610c6757610c3086610c2b611e63565b611691565b610c66576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610ccd576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cda8686866001611fab565b8015610ce557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610db385610d8f888887611fb1565b7c020000000000000000000000000000000000000000000000000000000017611fd9565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610e395760006001850190506000600460008381526020019081526020016000205403610e37576000548114610e36578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ea18686866001612004565b505050505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361103e5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061104861200a565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686611074919061348c565b61107e91906134fd565b90508160000151819350935050509250929050565b61109b611bf1565b80600c8190555050565b60606040518060600160405280602f8152602001613fbc602f9139905090565b6110e083838360405180602001604052806000815250611442565b505050565b6110ed611bf1565b80600e90816110fc91906136d0565b5050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061113182611e74565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361119f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111f8611bf1565b6112026000612014565b565b600c5481565b611212611bf1565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461128f90613403565b80601f01602080910402602001604051908101604052809291908181526020018280546112bb90613403565b80156113085780601f106112dd57610100808354040283529160200191611308565b820191906000526020600020905b8154815290600101906020018083116112eb57829003601f168201915b5050505050905090565b806007600061131f611e63565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113cc611e63565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114119190612ac5565b60405180910390a35050565b611425611bf1565b80600a60146101000a81548160ff02191690831515021790555050565b61144d848484610b87565b60008373ffffffffffffffffffffffffffffffffffffffff163b146114af57611478848484846120da565b6114ae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606114c082611e04565b6114f6576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061150061222a565b90506000815103611520576040518060200160405280600081525061154b565b8061152a846122bc565b60405160200161153b9291906137de565b6040516020818303038152906040525b915050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da9061384e565b60405180910390fd5b6115fc85858586886115f5919061386e565b868661230c565b5050505050565b600061162b6001601060008581526020019081526020016000206125cd90919063ffffffff16565b9050919050565b600061165a6001601060008581526020019081526020016000206125cd90919063ffffffff16565b159050919050565b600061168a6000601060008581526020019081526020016000206125cd90919063ffffffff16565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61172d611bf1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361179c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179390613914565b60405180910390fd5b6117a581612014565b50565b600a60149054906101000a900460ff1681565b600a60149054906101000a900460ff1661180a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180190613980565b60405180910390fd5b6000828290509050600080600090505b828110156119ff576000858583818110611837576118366139a0565b5b9050602002013590506000151561184d82611662565b15151461188f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188690613a1b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166118af82611126565b73ffffffffffffffffffffffffffffffffffffffff1614611905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fc90613a87565b60405180910390fd5b61192e60006001601060008581526020019081526020016000206126099092919063ffffffff16565b3073ffffffffffffffffffffffffffffffffffffffff1663cd392a83826040518263ffffffff1660e01b81526004016119679190612d90565b602060405180830381865afa158015611984573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a89190613abc565b156119ba57826119b790613ae9565b92505b7ff6bbeb81f230729a61b95b009f4cdd60927014654fc83d6bd37bd28574f0f40933826040516119eb929190612e78565b60405180910390a18160010191505061181a565b50600081600c54611a10919061348c565b905080341015611a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4c90613b7d565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1634604051611a9d90613bce565b60006040518083038185875af1925050503d8060008114611ada576040519150601f19603f3d011682016040523d82523d6000602084013e611adf565b606091505b5050905080611b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1a90613c2f565b60405180910390fd5b505050505050565b611b33611bf1565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bea5750611be98261262e565b5b9050919050565b611bf9612698565b73ffffffffffffffffffffffffffffffffffffffff16611c17611256565b73ffffffffffffffffffffffffffffffffffffffff1614611c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6490613c9b565b60405180910390fd5b565b611c7761200a565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccc90613d2d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3b90613d99565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081611e0f611e6b565b11158015611e1e575060005482105b8015611e5c575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b60008082905080611e83611e6b565b11611f0957600054811015611f085760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611f06575b60008103611efc576004600083600190039350838152602001908152602001600020549050611ed2565b8092505050611f3b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611fc88686846126a0565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612100611e63565b8786866040518563ffffffff1660e01b81526004016121229493929190613e0e565b6020604051808303816000875af192505050801561215e57506040513d601f19601f8201168201806040525081019061215b9190613e6f565b60015b6121d7573d806000811461218e576040519150601f19603f3d011682016040523d82523d6000602084013e612193565b606091505b5060008151036121cf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600e805461223990613403565b80601f016020809104026020016040519081016040528092919081815260200182805461226590613403565b80156122b25780601f10612287576101008083540402835291602001916122b2565b820191906000526020600020905b81548152906001019060200180831161229557829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156122f757600184039350600a81066030018453600a81049050806122d5575b50828103602084039350808452505050919050565b60006123166126a9565b9050600061232486866126b2565b9050612330888861270e565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663be62b3c189896040518363ffffffff1660e01b815260040161238d929190612e78565b600060405180830381600087803b1580156123a757600080fd5b505af11580156123bb573d6000803e3d6000fd5b5050505060005b87811015612594577fd702102586e0f5d9b1b2272c56adfb8c014def6f4ac889914e0f6988bff2c5a4898686848181106123ff576123fe6139a0565b5b90506020028101906124119190613eab565b6000818110612423576124226139a0565b5b9050602002013587878581811061243d5761243c6139a0565b5b905060200281019061244f9190613eab565b6001818110612461576124606139a0565b5b9050602002013588888681811061247b5761247a6139a0565b5b905060200281019061248d9190613eab565b600281811061249f5761249e6139a0565b5b905060200201358989878181106124b9576124b86139a0565b5b90506020028101906124cb9190613eab565b60038181106124dd576124dc6139a0565b5b905060200201358a8a888181106124f7576124f66139a0565b5b90506020028101906125099190613eab565b600481811061251b5761251a6139a0565b5b905060200201358b8b89818110612535576125346139a0565b5b90506020028101906125479190613eab565b6005818110612559576125586139a0565b5b905060200201358a8061256b90613ae9565b9b50604051612581989796959493929190613f0e565b60405180910390a18060010190506123c2565b5061259d6126a9565b81146125ac576125ab613f8c565b5b6125b46126a9565b82146125c3576125c2613f8c565b5b5050505050505050565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b801561261e57612619838361272c565b612629565b612628838361276a565b5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b60008054905090565b60006126bc6126a9565b905060005b82811015612702576126f1600180601060008681526020019081526020016000206126099092919063ffffffff16565b8060010190508160010191506126c1565b50828101905092915050565b6127288282604051806020016040528060008152506127a9565b5050565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b6000600882901c9050600060ff83166001901b905080198460000160008481526020019081526020016000206000828254169250508190555050505050565b6127b38383612846565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461284157600080549050600083820390505b6127f360008683806001019450866120da565b612829576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106127e057816000541461283e57600080fd5b50505b505050565b60008054905060008203612886576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128936000848385611fab565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061290a836128fb6000866000611fb1565b61290485612a01565b17611fd9565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146129ab57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612970565b50600082036129e6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506129fc6000848385612004565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a5a81612a25565b8114612a6557600080fd5b50565b600081359050612a7781612a51565b92915050565b600060208284031215612a9357612a92612a1b565b5b6000612aa184828501612a68565b91505092915050565b60008115159050919050565b612abf81612aaa565b82525050565b6000602082019050612ada6000830184612ab6565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b0b82612ae0565b9050919050565b612b1b81612b00565b8114612b2657600080fd5b50565b600081359050612b3881612b12565b92915050565b60006bffffffffffffffffffffffff82169050919050565b612b5f81612b3e565b8114612b6a57600080fd5b50565b600081359050612b7c81612b56565b92915050565b60008060408385031215612b9957612b98612a1b565b5b6000612ba785828601612b29565b9250506020612bb885828601612b6d565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612bfc578082015181840152602081019050612be1565b60008484015250505050565b6000601f19601f8301169050919050565b6000612c2482612bc2565b612c2e8185612bcd565b9350612c3e818560208601612bde565b612c4781612c08565b840191505092915050565b60006020820190508181036000830152612c6c8184612c19565b905092915050565b612c7d81612b00565b82525050565b6000602082019050612c986000830184612c74565b92915050565b6000819050919050565b612cb181612c9e565b8114612cbc57600080fd5b50565b600081359050612cce81612ca8565b92915050565b600060208284031215612cea57612ce9612a1b565b5b6000612cf884828501612cbf565b91505092915050565b60008060408385031215612d1857612d17612a1b565b5b6000612d2685828601612b29565b9250506020612d3785828601612cbf565b9150509250929050565b60008060408385031215612d5857612d57612a1b565b5b6000612d6685828601612cbf565b9250506020612d7785828601612cbf565b9150509250929050565b612d8a81612c9e565b82525050565b6000602082019050612da56000830184612d81565b92915050565b6000819050919050565b6000612dd0612dcb612dc684612ae0565b612dab565b612ae0565b9050919050565b6000612de282612db5565b9050919050565b6000612df482612dd7565b9050919050565b612e0481612de9565b82525050565b6000602082019050612e1f6000830184612dfb565b92915050565b600080600060608486031215612e3e57612e3d612a1b565b5b6000612e4c86828701612b29565b9350506020612e5d86828701612b29565b9250506040612e6e86828701612cbf565b9150509250925092565b6000604082019050612e8d6000830185612c74565b612e9a6020830184612d81565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ee382612c08565b810181811067ffffffffffffffff82111715612f0257612f01612eab565b5b80604052505050565b6000612f15612a11565b9050612f218282612eda565b919050565b600067ffffffffffffffff821115612f4157612f40612eab565b5b612f4a82612c08565b9050602081019050919050565b82818337600083830152505050565b6000612f79612f7484612f26565b612f0b565b905082815260208101848484011115612f9557612f94612ea6565b5b612fa0848285612f57565b509392505050565b600082601f830112612fbd57612fbc612ea1565b5b8135612fcd848260208601612f66565b91505092915050565b600060208284031215612fec57612feb612a1b565b5b600082013567ffffffffffffffff81111561300a57613009612a20565b5b61301684828501612fa8565b91505092915050565b60006020828403121561303557613034612a1b565b5b600061304384828501612b29565b91505092915050565b61305581612aaa565b811461306057600080fd5b50565b6000813590506130728161304c565b92915050565b6000806040838503121561308f5761308e612a1b565b5b600061309d85828601612b29565b92505060206130ae85828601613063565b9150509250929050565b6000602082840312156130ce576130cd612a1b565b5b60006130dc84828501613063565b91505092915050565b600067ffffffffffffffff821115613100576130ff612eab565b5b61310982612c08565b9050602081019050919050565b6000613129613124846130e5565b612f0b565b90508281526020810184848401111561314557613144612ea6565b5b613150848285612f57565b509392505050565b600082601f83011261316d5761316c612ea1565b5b813561317d848260208601613116565b91505092915050565b600080600080608085870312156131a05761319f612a1b565b5b60006131ae87828801612b29565b94505060206131bf87828801612b29565b93505060406131d087828801612cbf565b925050606085013567ffffffffffffffff8111156131f1576131f0612a20565b5b6131fd87828801613158565b91505092959194509250565b600080fd5b600080fd5b60008083601f84011261322957613228612ea1565b5b8235905067ffffffffffffffff81111561324657613245613209565b5b6020830191508360208202830111156132625761326161320e565b5b9250929050565b60008060008060006080868803121561328557613284612a1b565b5b600061329388828901612b29565b95505060206132a488828901612cbf565b94505060406132b588828901612cbf565b935050606086013567ffffffffffffffff8111156132d6576132d5612a20565b5b6132e288828901613213565b92509250509295509295909350565b6000806040838503121561330857613307612a1b565b5b600061331685828601612b29565b925050602061332785828601612b29565b9150509250929050565b60008083601f84011261334757613346612ea1565b5b8235905067ffffffffffffffff81111561336457613363613209565b5b6020830191508360208202830111156133805761337f61320e565b5b9250929050565b6000806020838503121561339e5761339d612a1b565b5b600083013567ffffffffffffffff8111156133bc576133bb612a20565b5b6133c885828601613331565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061341b57607f821691505b60208210810361342e5761342d6133d4565b5b50919050565b60006040820190506134496000830185612d81565b6134566020830184612d81565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061349782612c9e565b91506134a283612c9e565b92508282026134b081612c9e565b915082820484148315176134c7576134c661345d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061350882612c9e565b915061351383612c9e565b925082613523576135226134ce565b5b828204905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026135907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613553565b61359a8683613553565b95508019841693508086168417925050509392505050565b60006135cd6135c86135c384612c9e565b612dab565b612c9e565b9050919050565b6000819050919050565b6135e7836135b2565b6135fb6135f3826135d4565b848454613560565b825550505050565b600090565b613610613603565b61361b8184846135de565b505050565b5b8181101561363f57613634600082613608565b600181019050613621565b5050565b601f821115613684576136558161352e565b61365e84613543565b8101602085101561366d578190505b61368161367985613543565b830182613620565b50505b505050565b600082821c905092915050565b60006136a760001984600802613689565b1980831691505092915050565b60006136c08383613696565b9150826002028217905092915050565b6136d982612bc2565b67ffffffffffffffff8111156136f2576136f1612eab565b5b6136fc8254613403565b613707828285613643565b600060209050601f83116001811461373a5760008415613728578287015190505b61373285826136b4565b86555061379a565b601f1984166137488661352e565b60005b828110156137705784890151825560018201915060208501945060208101905061374b565b8683101561378d5784890151613789601f891682613696565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b60006137b882612bc2565b6137c281856137a2565b93506137d2818560208601612bde565b80840191505092915050565b60006137ea82856137ad565b91506137f682846137ad565b91508190509392505050565b7f43453a204e6f74206d696e746572000000000000000000000000000000000000600082015250565b6000613838600e83612bcd565b915061384382613802565b602082019050919050565b600060208201905081810360008301526138678161382b565b9050919050565b600061387982612c9e565b915061388483612c9e565b925082820390508181111561389c5761389b61345d565b5b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138fe602683612bcd565b9150613909826138a2565b604082019050919050565b6000602082019050818103600083015261392d816138f1565b9050919050565b7f43453a2043616e6e6f742072656465656d2e0000000000000000000000000000600082015250565b600061396a601283612bcd565b915061397582613934565b602082019050919050565b600060208201905081810360008301526139998161395d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f43453a20546f6b656e20636c61696d6564000000000000000000000000000000600082015250565b6000613a05601183612bcd565b9150613a10826139cf565b602082019050919050565b60006020820190508181036000830152613a34816139f8565b9050919050565b7f43453a204e6f74206f776e657220746f2072656465656d000000000000000000600082015250565b6000613a71601783612bcd565b9150613a7c82613a3b565b602082019050919050565b60006020820190508181036000830152613aa081613a64565b9050919050565b600081519050613ab68161304c565b92915050565b600060208284031215613ad257613ad1612a1b565b5b6000613ae084828501613aa7565b91505092915050565b6000613af482612c9e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b2657613b2561345d565b5b600182019050919050565b7f43453a204c6f772076616c756500000000000000000000000000000000000000600082015250565b6000613b67600d83612bcd565b9150613b7282613b31565b602082019050919050565b60006020820190508181036000830152613b9681613b5a565b9050919050565b600081905092915050565b50565b6000613bb8600083613b9d565b9150613bc382613ba8565b600082019050919050565b6000613bd982613bab565b9150819050919050565b7f43453a2052656465656d206661696c6564000000000000000000000000000000600082015250565b6000613c19601183612bcd565b9150613c2482613be3565b602082019050919050565b60006020820190508181036000830152613c4881613c0c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c85602083612bcd565b9150613c9082613c4f565b602082019050919050565b60006020820190508181036000830152613cb481613c78565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000613d17602a83612bcd565b9150613d2282613cbb565b604082019050919050565b60006020820190508181036000830152613d4681613d0a565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000613d83601983612bcd565b9150613d8e82613d4d565b602082019050919050565b60006020820190508181036000830152613db281613d76565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613de082613db9565b613dea8185613dc4565b9350613dfa818560208601612bde565b613e0381612c08565b840191505092915050565b6000608082019050613e236000830187612c74565b613e306020830186612c74565b613e3d6040830185612d81565b8181036060830152613e4f8184613dd5565b905095945050505050565b600081519050613e6981612a51565b92915050565b600060208284031215613e8557613e84612a1b565b5b6000613e9384828501613e5a565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112613ec857613ec7613e9c565b5b80840192508235915067ffffffffffffffff821115613eea57613ee9613ea1565b5b602083019250602082023603831315613f0657613f05613ea6565b5b509250929050565b600061010082019050613f24600083018b612c74565b613f31602083018a612d81565b613f3e6040830189612d81565b613f4b6060830188612d81565b613f586080830187612d81565b613f6560a0830186612d81565b613f7260c0830185612d81565b613f7f60e0830184612d81565b9998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfe506572736f6e616c205573652c20436f6d6d65726369616c20446973706c61792c204d65726368616e646973696e67a26469706673582212200b3678b5d11f35f8b7970afe34ad1fac2d6c34bc62b2654d56b56c16fb41af4e64736f6c63430008150033000000000000000000000000881a5409fa98515b49a20e0e63ace3a4cb1fb255000000000000000000000000dc9d3b61969ddfc332a84522db83a56d67dc1613
Deployed Bytecode
0x60806040526004361061020f5760003560e01c8063715018a611610118578063ca6ed8d4116100a0578063e985e9c51161006f578063e985e9c51461078c578063f2fde38b146107c9578063f97ed509146107f2578063f9afb26a1461081d578063fca3b5aa146108395761020f565b8063ca6ed8d4146106ac578063cd392a83146106d5578063ce4400da14610712578063ce5165071461074f5761020f565b806395d89b41116100e757806395d89b41146105d6578063a22cb46514610601578063acf0c28b1461062a578063b88d4fde14610653578063c87b56dd1461066f5761020f565b8063715018a6146105405780637a233fb31461055757806389a56b2f146105825780638da5cb5b146105ab5761020f565b806323b872dd1161019b57806342842e0e1161016a57806342842e0e1461045657806355f804b314610472578063570d2f8f1461049b5780636352211e146104c657806370a08231146105035761020f565b806323b872dd146103a85780632a55205a146103c45780632adf13e9146104025780632fb896761461042b5761020f565b8063081812fc116101e2578063081812fc146102d0578063095ea7b31461030d57806309f3dff31461032957806318160ddd146103525780631a52b7341461037d5761020f565b806301ffc9a71461021457806304634d8d1461025157806306fdde031461027a57806307546172146102a5575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612a7d565b610862565b6040516102489190612ac5565b60405180910390f35b34801561025d57600080fd5b5061027860048036038101906102739190612b82565b610874565b005b34801561028657600080fd5b5061028f61088a565b60405161029c9190612c52565b60405180910390f35b3480156102b157600080fd5b506102ba61091c565b6040516102c79190612c83565b60405180910390f35b3480156102dc57600080fd5b506102f760048036038101906102f29190612cd4565b610942565b6040516103049190612c83565b60405180910390f35b61032760048036038101906103229190612d01565b6109c1565b005b34801561033557600080fd5b50610350600480360381019061034b9190612d41565b610b05565b005b34801561035e57600080fd5b50610367610b4a565b6040516103749190612d90565b60405180910390f35b34801561038957600080fd5b50610392610b61565b60405161039f9190612e0a565b60405180910390f35b6103c260048036038101906103bd9190612e25565b610b87565b005b3480156103d057600080fd5b506103eb60048036038101906103e69190612d41565b610ea9565b6040516103f9929190612e78565b60405180910390f35b34801561040e57600080fd5b5061042960048036038101906104249190612cd4565b611093565b005b34801561043757600080fd5b506104406110a5565b60405161044d9190612c52565b60405180910390f35b610470600480360381019061046b9190612e25565b6110c5565b005b34801561047e57600080fd5b5061049960048036038101906104949190612fd6565b6110e5565b005b3480156104a757600080fd5b506104b0611100565b6040516104bd9190612c83565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190612cd4565b611126565b6040516104fa9190612c83565b60405180910390f35b34801561050f57600080fd5b5061052a6004803603810190610525919061301f565b611138565b6040516105379190612d90565b60405180910390f35b34801561054c57600080fd5b506105556111f0565b005b34801561056357600080fd5b5061056c611204565b6040516105799190612d90565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a4919061301f565b61120a565b005b3480156105b757600080fd5b506105c0611256565b6040516105cd9190612c83565b60405180910390f35b3480156105e257600080fd5b506105eb611280565b6040516105f89190612c52565b60405180910390f35b34801561060d57600080fd5b5061062860048036038101906106239190613078565b611312565b005b34801561063657600080fd5b50610651600480360381019061064c91906130b8565b61141d565b005b61066d60048036038101906106689190613186565b611442565b005b34801561067b57600080fd5b5061069660048036038101906106919190612cd4565b6114b5565b6040516106a39190612c52565b60405180910390f35b3480156106b857600080fd5b506106d360048036038101906106ce9190613269565b611553565b005b3480156106e157600080fd5b506106fc60048036038101906106f79190612cd4565b611603565b6040516107099190612ac5565b60405180910390f35b34801561071e57600080fd5b5061073960048036038101906107349190612cd4565b611632565b6040516107469190612ac5565b60405180910390f35b34801561075b57600080fd5b5061077660048036038101906107719190612cd4565b611662565b6040516107839190612ac5565b60405180910390f35b34801561079857600080fd5b506107b360048036038101906107ae91906132f1565b611691565b6040516107c09190612ac5565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb919061301f565b611725565b005b3480156107fe57600080fd5b506108076117a8565b6040516108149190612ac5565b60405180910390f35b61083760048036038101906108329190613387565b6117bb565b005b34801561084557600080fd5b50610860600480360381019061085b919061301f565b611b2b565b005b600061086d82611b77565b9050919050565b61087c611bf1565b6108868282611c6f565b5050565b60606002805461089990613403565b80601f01602080910402602001604051908101604052809291908181526020018280546108c590613403565b80156109125780601f106108e757610100808354040283529160200191610912565b820191906000526020600020905b8154815290600101906020018083116108f557829003601f168201915b5050505050905090565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061094d82611e04565b610983576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109cc82611126565b90508073ffffffffffffffffffffffffffffffffffffffff166109ed611e63565b73ffffffffffffffffffffffffffffffffffffffff1614610a5057610a1981610a14611e63565b611691565b610a4f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610b0d611bf1565b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c8282604051610b3e929190613434565b60405180910390a15050565b6000610b54611e6b565b6001546000540303905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610b9282611e74565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bf9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c0584611f40565b91509150610c1b8187610c16611e63565b611f67565b610c6757610c3086610c2b611e63565b611691565b610c66576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610ccd576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cda8686866001611fab565b8015610ce557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610db385610d8f888887611fb1565b7c020000000000000000000000000000000000000000000000000000000017611fd9565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610e395760006001850190506000600460008381526020019081526020016000205403610e37576000548114610e36578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ea18686866001612004565b505050505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361103e5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061104861200a565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686611074919061348c565b61107e91906134fd565b90508160000151819350935050509250929050565b61109b611bf1565b80600c8190555050565b60606040518060600160405280602f8152602001613fbc602f9139905090565b6110e083838360405180602001604052806000815250611442565b505050565b6110ed611bf1565b80600e90816110fc91906136d0565b5050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061113182611e74565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361119f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111f8611bf1565b6112026000612014565b565b600c5481565b611212611bf1565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461128f90613403565b80601f01602080910402602001604051908101604052809291908181526020018280546112bb90613403565b80156113085780601f106112dd57610100808354040283529160200191611308565b820191906000526020600020905b8154815290600101906020018083116112eb57829003601f168201915b5050505050905090565b806007600061131f611e63565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113cc611e63565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114119190612ac5565b60405180910390a35050565b611425611bf1565b80600a60146101000a81548160ff02191690831515021790555050565b61144d848484610b87565b60008373ffffffffffffffffffffffffffffffffffffffff163b146114af57611478848484846120da565b6114ae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606114c082611e04565b6114f6576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061150061222a565b90506000815103611520576040518060200160405280600081525061154b565b8061152a846122bc565b60405160200161153b9291906137de565b6040516020818303038152906040525b915050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da9061384e565b60405180910390fd5b6115fc85858586886115f5919061386e565b868661230c565b5050505050565b600061162b6001601060008581526020019081526020016000206125cd90919063ffffffff16565b9050919050565b600061165a6001601060008581526020019081526020016000206125cd90919063ffffffff16565b159050919050565b600061168a6000601060008581526020019081526020016000206125cd90919063ffffffff16565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61172d611bf1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361179c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179390613914565b60405180910390fd5b6117a581612014565b50565b600a60149054906101000a900460ff1681565b600a60149054906101000a900460ff1661180a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180190613980565b60405180910390fd5b6000828290509050600080600090505b828110156119ff576000858583818110611837576118366139a0565b5b9050602002013590506000151561184d82611662565b15151461188f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188690613a1b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166118af82611126565b73ffffffffffffffffffffffffffffffffffffffff1614611905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fc90613a87565b60405180910390fd5b61192e60006001601060008581526020019081526020016000206126099092919063ffffffff16565b3073ffffffffffffffffffffffffffffffffffffffff1663cd392a83826040518263ffffffff1660e01b81526004016119679190612d90565b602060405180830381865afa158015611984573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a89190613abc565b156119ba57826119b790613ae9565b92505b7ff6bbeb81f230729a61b95b009f4cdd60927014654fc83d6bd37bd28574f0f40933826040516119eb929190612e78565b60405180910390a18160010191505061181a565b50600081600c54611a10919061348c565b905080341015611a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4c90613b7d565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1634604051611a9d90613bce565b60006040518083038185875af1925050503d8060008114611ada576040519150601f19603f3d011682016040523d82523d6000602084013e611adf565b606091505b5050905080611b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1a90613c2f565b60405180910390fd5b505050505050565b611b33611bf1565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bea5750611be98261262e565b5b9050919050565b611bf9612698565b73ffffffffffffffffffffffffffffffffffffffff16611c17611256565b73ffffffffffffffffffffffffffffffffffffffff1614611c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6490613c9b565b60405180910390fd5b565b611c7761200a565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccc90613d2d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3b90613d99565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081611e0f611e6b565b11158015611e1e575060005482105b8015611e5c575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b60008082905080611e83611e6b565b11611f0957600054811015611f085760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611f06575b60008103611efc576004600083600190039350838152602001908152602001600020549050611ed2565b8092505050611f3b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611fc88686846126a0565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612100611e63565b8786866040518563ffffffff1660e01b81526004016121229493929190613e0e565b6020604051808303816000875af192505050801561215e57506040513d601f19601f8201168201806040525081019061215b9190613e6f565b60015b6121d7573d806000811461218e576040519150601f19603f3d011682016040523d82523d6000602084013e612193565b606091505b5060008151036121cf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600e805461223990613403565b80601f016020809104026020016040519081016040528092919081815260200182805461226590613403565b80156122b25780601f10612287576101008083540402835291602001916122b2565b820191906000526020600020905b81548152906001019060200180831161229557829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156122f757600184039350600a81066030018453600a81049050806122d5575b50828103602084039350808452505050919050565b60006123166126a9565b9050600061232486866126b2565b9050612330888861270e565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663be62b3c189896040518363ffffffff1660e01b815260040161238d929190612e78565b600060405180830381600087803b1580156123a757600080fd5b505af11580156123bb573d6000803e3d6000fd5b5050505060005b87811015612594577fd702102586e0f5d9b1b2272c56adfb8c014def6f4ac889914e0f6988bff2c5a4898686848181106123ff576123fe6139a0565b5b90506020028101906124119190613eab565b6000818110612423576124226139a0565b5b9050602002013587878581811061243d5761243c6139a0565b5b905060200281019061244f9190613eab565b6001818110612461576124606139a0565b5b9050602002013588888681811061247b5761247a6139a0565b5b905060200281019061248d9190613eab565b600281811061249f5761249e6139a0565b5b905060200201358989878181106124b9576124b86139a0565b5b90506020028101906124cb9190613eab565b60038181106124dd576124dc6139a0565b5b905060200201358a8a888181106124f7576124f66139a0565b5b90506020028101906125099190613eab565b600481811061251b5761251a6139a0565b5b905060200201358b8b89818110612535576125346139a0565b5b90506020028101906125479190613eab565b6005818110612559576125586139a0565b5b905060200201358a8061256b90613ae9565b9b50604051612581989796959493929190613f0e565b60405180910390a18060010190506123c2565b5061259d6126a9565b81146125ac576125ab613f8c565b5b6125b46126a9565b82146125c3576125c2613f8c565b5b5050505050505050565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b801561261e57612619838361272c565b612629565b612628838361276a565b5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b60008054905090565b60006126bc6126a9565b905060005b82811015612702576126f1600180601060008681526020019081526020016000206126099092919063ffffffff16565b8060010190508160010191506126c1565b50828101905092915050565b6127288282604051806020016040528060008152506127a9565b5050565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b6000600882901c9050600060ff83166001901b905080198460000160008481526020019081526020016000206000828254169250508190555050505050565b6127b38383612846565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461284157600080549050600083820390505b6127f360008683806001019450866120da565b612829576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106127e057816000541461283e57600080fd5b50505b505050565b60008054905060008203612886576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128936000848385611fab565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061290a836128fb6000866000611fb1565b61290485612a01565b17611fd9565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146129ab57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612970565b50600082036129e6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506129fc6000848385612004565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a5a81612a25565b8114612a6557600080fd5b50565b600081359050612a7781612a51565b92915050565b600060208284031215612a9357612a92612a1b565b5b6000612aa184828501612a68565b91505092915050565b60008115159050919050565b612abf81612aaa565b82525050565b6000602082019050612ada6000830184612ab6565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b0b82612ae0565b9050919050565b612b1b81612b00565b8114612b2657600080fd5b50565b600081359050612b3881612b12565b92915050565b60006bffffffffffffffffffffffff82169050919050565b612b5f81612b3e565b8114612b6a57600080fd5b50565b600081359050612b7c81612b56565b92915050565b60008060408385031215612b9957612b98612a1b565b5b6000612ba785828601612b29565b9250506020612bb885828601612b6d565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612bfc578082015181840152602081019050612be1565b60008484015250505050565b6000601f19601f8301169050919050565b6000612c2482612bc2565b612c2e8185612bcd565b9350612c3e818560208601612bde565b612c4781612c08565b840191505092915050565b60006020820190508181036000830152612c6c8184612c19565b905092915050565b612c7d81612b00565b82525050565b6000602082019050612c986000830184612c74565b92915050565b6000819050919050565b612cb181612c9e565b8114612cbc57600080fd5b50565b600081359050612cce81612ca8565b92915050565b600060208284031215612cea57612ce9612a1b565b5b6000612cf884828501612cbf565b91505092915050565b60008060408385031215612d1857612d17612a1b565b5b6000612d2685828601612b29565b9250506020612d3785828601612cbf565b9150509250929050565b60008060408385031215612d5857612d57612a1b565b5b6000612d6685828601612cbf565b9250506020612d7785828601612cbf565b9150509250929050565b612d8a81612c9e565b82525050565b6000602082019050612da56000830184612d81565b92915050565b6000819050919050565b6000612dd0612dcb612dc684612ae0565b612dab565b612ae0565b9050919050565b6000612de282612db5565b9050919050565b6000612df482612dd7565b9050919050565b612e0481612de9565b82525050565b6000602082019050612e1f6000830184612dfb565b92915050565b600080600060608486031215612e3e57612e3d612a1b565b5b6000612e4c86828701612b29565b9350506020612e5d86828701612b29565b9250506040612e6e86828701612cbf565b9150509250925092565b6000604082019050612e8d6000830185612c74565b612e9a6020830184612d81565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ee382612c08565b810181811067ffffffffffffffff82111715612f0257612f01612eab565b5b80604052505050565b6000612f15612a11565b9050612f218282612eda565b919050565b600067ffffffffffffffff821115612f4157612f40612eab565b5b612f4a82612c08565b9050602081019050919050565b82818337600083830152505050565b6000612f79612f7484612f26565b612f0b565b905082815260208101848484011115612f9557612f94612ea6565b5b612fa0848285612f57565b509392505050565b600082601f830112612fbd57612fbc612ea1565b5b8135612fcd848260208601612f66565b91505092915050565b600060208284031215612fec57612feb612a1b565b5b600082013567ffffffffffffffff81111561300a57613009612a20565b5b61301684828501612fa8565b91505092915050565b60006020828403121561303557613034612a1b565b5b600061304384828501612b29565b91505092915050565b61305581612aaa565b811461306057600080fd5b50565b6000813590506130728161304c565b92915050565b6000806040838503121561308f5761308e612a1b565b5b600061309d85828601612b29565b92505060206130ae85828601613063565b9150509250929050565b6000602082840312156130ce576130cd612a1b565b5b60006130dc84828501613063565b91505092915050565b600067ffffffffffffffff821115613100576130ff612eab565b5b61310982612c08565b9050602081019050919050565b6000613129613124846130e5565b612f0b565b90508281526020810184848401111561314557613144612ea6565b5b613150848285612f57565b509392505050565b600082601f83011261316d5761316c612ea1565b5b813561317d848260208601613116565b91505092915050565b600080600080608085870312156131a05761319f612a1b565b5b60006131ae87828801612b29565b94505060206131bf87828801612b29565b93505060406131d087828801612cbf565b925050606085013567ffffffffffffffff8111156131f1576131f0612a20565b5b6131fd87828801613158565b91505092959194509250565b600080fd5b600080fd5b60008083601f84011261322957613228612ea1565b5b8235905067ffffffffffffffff81111561324657613245613209565b5b6020830191508360208202830111156132625761326161320e565b5b9250929050565b60008060008060006080868803121561328557613284612a1b565b5b600061329388828901612b29565b95505060206132a488828901612cbf565b94505060406132b588828901612cbf565b935050606086013567ffffffffffffffff8111156132d6576132d5612a20565b5b6132e288828901613213565b92509250509295509295909350565b6000806040838503121561330857613307612a1b565b5b600061331685828601612b29565b925050602061332785828601612b29565b9150509250929050565b60008083601f84011261334757613346612ea1565b5b8235905067ffffffffffffffff81111561336457613363613209565b5b6020830191508360208202830111156133805761337f61320e565b5b9250929050565b6000806020838503121561339e5761339d612a1b565b5b600083013567ffffffffffffffff8111156133bc576133bb612a20565b5b6133c885828601613331565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061341b57607f821691505b60208210810361342e5761342d6133d4565b5b50919050565b60006040820190506134496000830185612d81565b6134566020830184612d81565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061349782612c9e565b91506134a283612c9e565b92508282026134b081612c9e565b915082820484148315176134c7576134c661345d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061350882612c9e565b915061351383612c9e565b925082613523576135226134ce565b5b828204905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026135907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613553565b61359a8683613553565b95508019841693508086168417925050509392505050565b60006135cd6135c86135c384612c9e565b612dab565b612c9e565b9050919050565b6000819050919050565b6135e7836135b2565b6135fb6135f3826135d4565b848454613560565b825550505050565b600090565b613610613603565b61361b8184846135de565b505050565b5b8181101561363f57613634600082613608565b600181019050613621565b5050565b601f821115613684576136558161352e565b61365e84613543565b8101602085101561366d578190505b61368161367985613543565b830182613620565b50505b505050565b600082821c905092915050565b60006136a760001984600802613689565b1980831691505092915050565b60006136c08383613696565b9150826002028217905092915050565b6136d982612bc2565b67ffffffffffffffff8111156136f2576136f1612eab565b5b6136fc8254613403565b613707828285613643565b600060209050601f83116001811461373a5760008415613728578287015190505b61373285826136b4565b86555061379a565b601f1984166137488661352e565b60005b828110156137705784890151825560018201915060208501945060208101905061374b565b8683101561378d5784890151613789601f891682613696565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b60006137b882612bc2565b6137c281856137a2565b93506137d2818560208601612bde565b80840191505092915050565b60006137ea82856137ad565b91506137f682846137ad565b91508190509392505050565b7f43453a204e6f74206d696e746572000000000000000000000000000000000000600082015250565b6000613838600e83612bcd565b915061384382613802565b602082019050919050565b600060208201905081810360008301526138678161382b565b9050919050565b600061387982612c9e565b915061388483612c9e565b925082820390508181111561389c5761389b61345d565b5b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138fe602683612bcd565b9150613909826138a2565b604082019050919050565b6000602082019050818103600083015261392d816138f1565b9050919050565b7f43453a2043616e6e6f742072656465656d2e0000000000000000000000000000600082015250565b600061396a601283612bcd565b915061397582613934565b602082019050919050565b600060208201905081810360008301526139998161395d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f43453a20546f6b656e20636c61696d6564000000000000000000000000000000600082015250565b6000613a05601183612bcd565b9150613a10826139cf565b602082019050919050565b60006020820190508181036000830152613a34816139f8565b9050919050565b7f43453a204e6f74206f776e657220746f2072656465656d000000000000000000600082015250565b6000613a71601783612bcd565b9150613a7c82613a3b565b602082019050919050565b60006020820190508181036000830152613aa081613a64565b9050919050565b600081519050613ab68161304c565b92915050565b600060208284031215613ad257613ad1612a1b565b5b6000613ae084828501613aa7565b91505092915050565b6000613af482612c9e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b2657613b2561345d565b5b600182019050919050565b7f43453a204c6f772076616c756500000000000000000000000000000000000000600082015250565b6000613b67600d83612bcd565b9150613b7282613b31565b602082019050919050565b60006020820190508181036000830152613b9681613b5a565b9050919050565b600081905092915050565b50565b6000613bb8600083613b9d565b9150613bc382613ba8565b600082019050919050565b6000613bd982613bab565b9150819050919050565b7f43453a2052656465656d206661696c6564000000000000000000000000000000600082015250565b6000613c19601183612bcd565b9150613c2482613be3565b602082019050919050565b60006020820190508181036000830152613c4881613c0c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c85602083612bcd565b9150613c9082613c4f565b602082019050919050565b60006020820190508181036000830152613cb481613c78565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000613d17602a83612bcd565b9150613d2282613cbb565b604082019050919050565b60006020820190508181036000830152613d4681613d0a565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000613d83601983612bcd565b9150613d8e82613d4d565b602082019050919050565b60006020820190508181036000830152613db281613d76565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613de082613db9565b613dea8185613dc4565b9350613dfa818560208601612bde565b613e0381612c08565b840191505092915050565b6000608082019050613e236000830187612c74565b613e306020830186612c74565b613e3d6040830185612d81565b8181036060830152613e4f8184613dd5565b905095945050505050565b600081519050613e6981612a51565b92915050565b600060208284031215613e8557613e84612a1b565b5b6000613e9384828501613e5a565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112613ec857613ec7613e9c565b5b80840192508235915067ffffffffffffffff821115613eea57613ee9613ea1565b5b602083019250602082023603831315613f0657613f05613ea6565b5b509250929050565b600061010082019050613f24600083018b612c74565b613f31602083018a612d81565b613f3e6040830189612d81565b613f4b6060830188612d81565b613f586080830187612d81565b613f6560a0830186612d81565b613f7260c0830185612d81565b613f7f60e0830184612d81565b9998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfe506572736f6e616c205573652c20436f6d6d65726369616c20446973706c61792c204d65726368616e646973696e67a26469706673582212200b3678b5d11f35f8b7970afe34ad1fac2d6c34bc62b2654d56b56c16fb41af4e64736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000881a5409fa98515b49a20e0e63ace3a4cb1fb255000000000000000000000000dc9d3b61969ddfc332a84522db83a56d67dc1613
-----Decoded View---------------
Arg [0] : _royaltyReceiver (address): 0x881a5409fA98515b49a20E0e63acE3a4cb1Fb255
Arg [1] : _accessPass (address): 0xdC9D3B61969DdfC332a84522db83a56d67Dc1613
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000881a5409fa98515b49a20e0e63ace3a4cb1fb255
Arg [1] : 000000000000000000000000dc9d3b61969ddfc332a84522db83a56d67dc1613
Loading...
Loading
Loading...
Loading
OVERVIEW
The HUXLEY Collector’s Edition is the ultimate form of the HUXLEY Saga a glorious graphic novel that encompasses each of the 6 ISSUES of the original story written and illustrated by Ben Mauro.Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.