ERC-721
Overview
Max Total Supply
5,049 RLGAZETTE
Holders
1,040
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
30 RLGAZETTELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RedlionGazette
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/structs/BitMaps.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./ERC2981.sol"; interface IRedlionSubscriptions { function isExpired(uint) external view returns (bool); function balanceOf(address) external view returns (uint); function tokenOfOwnerByIndex(address, uint) external view returns (uint); function expirations(uint) external view returns (uint); function whichType(uint) external view returns (uint); } contract RedlionGazette is Context, Ownable, ERC2981, ERC721, ERC721Enumerable { using BitMaps for BitMaps.BitMap; event MintedIssue(address user, uint issue, uint tokenId); IRedlionSubscriptions public subs; struct Issue { uint circulating; uint onSale; // quantity of issues to sell } mapping (uint => string) public issueToIPFS; mapping (uint => Issue) public issues; mapping (uint => uint) public tokenIdToIssue; mapping (uint => uint) public issuingTimes; uint public mintingPrice = 0.05 ether; uint public limitPerBuy = 5; mapping (uint => bytes32) public issueToMerkleRoot; string private _baseTokenURI; uint private royaltyFee = 1000; // 10000 * percentage (ex : 0.5% -> 0.005) mapping (address => BitMaps.BitMap) private _claimedAirdrop; mapping (address => BitMaps.BitMap) private _claimedIssues; BitMaps.BitMap private _isIssuePaused; constructor( string memory name, string memory symbol, string memory baseTokenURI, address deployedSubs ) ERC721(name, symbol) { _baseTokenURI = baseTokenURI; subs = IRedlionSubscriptions(deployedSubs); } function getCreationTimeOfSub(uint subId) public view returns (uint) { uint subType = subs.whichType(subId); uint expirationTime = subs.expirations(subId); if (subType == 0) { return expirationTime - 13 weeks; } else if (subType == 1) { return expirationTime - 26 weeks; } else { return expirationTime - 52 weeks; } } function getValidSubs(address user, uint issue) public view returns (uint) { uint balance = subs.balanceOf(user); uint validSubs = 0; for(uint i = 0; i < balance; i++) { uint subId = subs.tokenOfOwnerByIndex(user, i); if (withinAllowedWindow(subId, issue)) validSubs++; } return validSubs; } function withinAllowedWindow(uint subId, uint issue) public view returns (bool) { uint subExpirationTime = subs.expirations(subId); uint creationTime = getCreationTimeOfSub(subId); return (creationTime <= issuingTimes[issue]) && (block.timestamp <= issuingTimes[issue] + 8 weeks) && (issuingTimes[issue] <= subExpirationTime); } function withdraw() onlyOwner public { uint amount = address(this).balance; payable(owner()).transfer(amount); } function pause(uint issue, bool shouldPause) onlyOwner public { if (shouldPause) _isIssuePaused.set(issue); else _isIssuePaused.unset(issue); } modifier whenNotPaused(uint issue) { require(!_isIssuePaused.get(issue), "Issue paused"); _; } function changeBaseURI(string memory baseTokenURI) onlyOwner public { _baseTokenURI = baseTokenURI; } function setMintingPrice(uint price) onlyOwner public { mintingPrice = price; } function setLimitPerBuy(uint limit) onlyOwner public { limitPerBuy = limit; } function setRoyaltyFee(uint fee) onlyOwner public { royaltyFee = fee; } function changeDeployedSubs(address deployedSubs) onlyOwner public { subs = IRedlionSubscriptions(deployedSubs); } function changeIPFS(uint issue, string memory ipfs) onlyOwner public { issueToIPFS[issue] = ipfs; } function launchNewIssue(uint issue, uint saleSize, string memory ipfs) onlyOwner public { issuingTimes[issue] = block.timestamp; issues[issue].onSale = saleSize; issueToIPFS[issue] = ipfs; } function addMerkleAirdrop(uint issue, bytes32 root) onlyOwner public { issueToMerkleRoot[issue] = root; } function ownerMint(uint issue, address[] calldata recipients) onlyOwner public { for(uint i = 0; i < recipients.length; i++) { uint256 tokenId = (issue * (10**6)) + (issues[issue].circulating++); tokenIdToIssue[tokenId] = issue; _safeMint(recipients[i], tokenId); emit MintedIssue(msg.sender, issue, tokenId); } } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public override view returns ( address receiver, uint256 royaltyAmount ) { return (owner(), (_salePrice*royaltyFee)/10000); } function claim(uint issue, bytes32[] calldata proof, uint amount) whenNotPaused(issue) public { require(!_claimedAirdrop[msg.sender].get(issue), "ALREADY CLAIMED FOR ISSUE"); _claimedAirdrop[msg.sender].set(issue); require(MerkleProof.verify(proof, issueToMerkleRoot[issue], keccak256(abi.encodePacked(msg.sender, amount))), "INVALID PROOF"); for(uint i = 0; i < amount; i++) { uint256 tokenId = (issue * (10**6)) + (issues[issue].circulating++); tokenIdToIssue[tokenId] = issue; _safeMint(msg.sender, tokenId); emit MintedIssue(msg.sender, issue, tokenId); } } function mint(uint issue, uint amount) whenNotPaused(issue) public payable { uint toMint = msg.value == 0 ? getValidSubs(msg.sender, issue) : amount; //sub claiming if (msg.value == 0) { require(!_claimedIssues[msg.sender].get(issue), "ALREADY CLAIMED"); require(toMint > 0, "NO VALID SUBSCRIPTION"); _claimedIssues[msg.sender].set(issue); } else { //regular buy require(msg.value == mintingPrice * amount, "INCORRECT PRICE"); require(amount <= limitPerBuy, "OVER LIMIT"); require(issuingTimes[issue] + 6 days >= block.timestamp, "SALE EXPIRED"); issues[issue].onSale -= amount; } for(uint i = 0; i < toMint; i++) { uint256 tokenId = (issue * (10**6)) + (issues[issue].circulating++); tokenIdToIssue[tokenId] = issue; _safeMint(msg.sender, tokenId); emit MintedIssue(msg.sender, issue, tokenId); } } function isAirdropClaimed(address user, uint issue) public view returns (bool) { return _claimedAirdrop[user].get(issue); } function isClaimed(address user, uint issue) public view returns (bool) { return _claimedIssues[user].get(issue); } function isIssuePaused(uint issue) public view returns (bool) { return _isIssuePaused.get(issue); } function tokenURI(uint256 tokenId) public override(ERC721) view returns (string memory) { return string(abi.encodePacked(_baseURI(), issueToIPFS[tokenIdToIssue[tokenId]])); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC2981, ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /// /// @dev Interface for the NFT Royalty Standard /// abstract contract ERC2981 is IERC165 { bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; /// ERC165 bytes to add to interface array - set in parent contract /// implementing this standard /// /// bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a /// bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; /// _registerInterface(_INTERFACE_ID_ERC2981); /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _salePrice - the sale price of the NFT asset specified by _tokenId /// @return receiver - address of who should be sent the royalty payment /// @return royaltyAmount - the royalty payment amount for _salePrice function royaltyInfo( uint256 _tokenId, uint256 _salePrice ) public virtual view returns ( address receiver, uint256 royaltyAmount ); /// @notice Informs callers that this contract supports ERC2981 /// @dev If `_registerInterface(_INTERFACE_ID_ERC2981)` is called /// in the initializer, this should be automatic /// @param interfaceID The interface identifier, as specified in ERC-165 /// @return `true` if the contract implements /// `_INTERFACE_ID_ERC2981` and `false` otherwise function supportsInterface(bytes4 interfaceID) public virtual override view returns (bool) { return (interfaceID == _INTERFACE_ID_ERC2981); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. * Largelly 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.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 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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 (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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 ) external; /** * @dev Transfers `tokenId` token 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; /** * @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; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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 calldata data ) external; }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address","name":"deployedSubs","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"issue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MintedIssue","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"addMerkleAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"deployedSubs","type":"address"}],"name":"changeDeployedSubs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"string","name":"ipfs","type":"string"}],"name":"changeIPFS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","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":"subId","type":"uint256"}],"name":"getCreationTimeOfSub","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"issue","type":"uint256"}],"name":"getValidSubs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"issue","type":"uint256"}],"name":"isAirdropClaimed","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":"address","name":"user","type":"address"},{"internalType":"uint256","name":"issue","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"}],"name":"isIssuePaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"issueToIPFS","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"issueToMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"issues","outputs":[{"internalType":"uint256","name":"circulating","type":"uint256"},{"internalType":"uint256","name":"onSale","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"issuingTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"uint256","name":"saleSize","type":"uint256"},{"internalType":"string","name":"ipfs","type":"string"}],"name":"launchNewIssue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitPerBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"issue","type":"uint256"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"bool","name":"shouldPause","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","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":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setLimitPerBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintingPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"subs","outputs":[{"internalType":"contract IRedlionSubscriptions","name":"","type":"address"}],"stateMutability":"view","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToIssue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"subId","type":"uint256"},{"internalType":"uint256","name":"issue","type":"uint256"}],"name":"withinAllowedWindow","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405266b1a2bc2ec5000060105560056011556103e86014553480156200002757600080fd5b5060405162005e1338038062005e1383398181016040528101906200004d91906200030c565b83836200006f620000636200010760201b60201c565b6200010f60201b60201c565b816001908051906020019062000087929190620001d3565b508060029080519060200190620000a0929190620001d3565b5050508160139080519060200190620000bb929190620001d3565b5080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000542565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001e19062000494565b90600052602060002090601f01602090048101928262000205576000855562000251565b82601f106200022057805160ff191683800117855562000251565b8280016001018555821562000251579182015b828111156200025057825182559160200191906001019062000233565b5b50905062000260919062000264565b5090565b5b808211156200027f57600081600090555060010162000265565b5090565b60006200029a6200029484620003f7565b620003c3565b905082815260208101848484011115620002b357600080fd5b620002c08482856200045e565b509392505050565b600081519050620002d98162000528565b92915050565b600082601f830112620002f157600080fd5b81516200030384826020860162000283565b91505092915050565b600080600080608085870312156200032357600080fd5b600085015167ffffffffffffffff8111156200033e57600080fd5b6200034c87828801620002df565b945050602085015167ffffffffffffffff8111156200036a57600080fd5b6200037887828801620002df565b935050604085015167ffffffffffffffff8111156200039657600080fd5b620003a487828801620002df565b9250506060620003b787828801620002c8565b91505092959194509250565b6000604051905081810181811067ffffffffffffffff82111715620003ed57620003ec620004f9565b5b8060405250919050565b600067ffffffffffffffff821115620004155762000414620004f9565b5b601f19601f8301169050602081019050919050565b600062000437826200043e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200047e57808201518184015260208101905062000461565b838111156200048e576000848401525b50505050565b60006002820490506001821680620004ad57607f821691505b60208210811415620004c457620004c3620004ca565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000533816200042a565b81146200053f57600080fd5b50565b6158c180620005526000396000f3fe6080604052600436106102885760003560e01c80636d8485c51161015a578063b5914ec1116100c1578063f004685a1161007a578063f004685a14610a79578063f2fde38b14610aa2578063f339f52614610acb578063f354f46d14610af4578063fa055b5e14610b31578063fb2f6cce14610b5a57610288565b8063b5914ec114610945578063b88d4fde14610970578063c5c1f0f214610999578063c87b56dd146109d6578063e985e9c514610a13578063ed20990714610a5057610288565b80638417b47f116101135780638417b47f146108375780638da5cb5b1461086057806393578b041461088b57806395d89b41146108b45780639ee84eda146108df578063a22cb4651461091c57610288565b80636d8485c51461070357806370a0823114610740578063715018a61461077d578063746cf628146107945780637b9c0551146107bd5780637e4e88a2146107fa57610288565b806323b872dd116101fe5780633e4086e5116101b75780633e4086e5146105bd57806342842e0e146105e65780634f6ccce71461060f57806355e1932b1461064c578063562beba8146106895780636352211e146106c657610288565b806323b872dd146104ae5780632a55205a146104d75780632f745c591461051557806335db70b51461055257806339a0c6f91461057d5780633ccfd60b146105a657610288565b8063081812fc11610250578063081812fc1461039b578063095ea7b3146103d8578063151f77b41461040157806318160ddd1461043e5780631b2ef1ca1461046957806322e866311461048557610288565b806301109e331461028d57806301ffc9a7146102b857806304e15de5146102f557806306a55a021461033357806306fdde0314610370575b600080fd5b34801561029957600080fd5b506102a2610b83565b6040516102af9190615365565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da9190614197565b610b89565b6040516102ec9190614fd2565b60405180910390f35b34801561030157600080fd5b5061031c6004803603810190610317919061422a565b610b9b565b60405161032a929190615380565b60405180910390f35b34801561033f57600080fd5b5061035a6004803603810190610355919061415b565b610bbf565b6040516103679190614fd2565b60405180910390f35b34801561037c57600080fd5b50610385610c1a565b6040516103929190615023565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd919061422a565b610cac565b6040516103cf9190614f0b565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa919061415b565b610d31565b005b34801561040d57600080fd5b506104286004803603810190610423919061422a565b610e49565b6040516104359190614fd2565b60405180910390f35b34801561044a57600080fd5b50610453610e66565b6040516104609190615365565b60405180910390f35b610483600480360381019061047e919061440c565b610e73565b005b34801561049157600080fd5b506104ac60048036038101906104a79190613ff0565b611208565b005b3480156104ba57600080fd5b506104d560048036038101906104d09190614055565b6112c8565b005b3480156104e357600080fd5b506104fe60048036038101906104f9919061440c565b611328565b60405161050c929190614f72565b60405180910390f35b34801561052157600080fd5b5061053c6004803603810190610537919061415b565b611359565b6040516105499190615365565b60405180910390f35b34801561055e57600080fd5b506105676113fe565b6040516105749190615365565b60405180910390f35b34801561058957600080fd5b506105a4600480360381019061059f91906141e9565b611404565b005b3480156105b257600080fd5b506105bb61149a565b005b3480156105c957600080fd5b506105e460048036038101906105df919061422a565b61156c565b005b3480156105f257600080fd5b5061060d60048036038101906106089190614055565b6115f2565b005b34801561061b57600080fd5b506106366004803603810190610631919061422a565b611612565b6040516106439190615365565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e919061422a565b6116a9565b6040516106809190614fed565b60405180910390f35b34801561069557600080fd5b506106b060048036038101906106ab919061415b565b6116c1565b6040516106bd9190614fd2565b60405180910390f35b3480156106d257600080fd5b506106ed60048036038101906106e8919061422a565b61171c565b6040516106fa9190614f0b565b60405180910390f35b34801561070f57600080fd5b5061072a6004803603810190610725919061422a565b6117ce565b6040516107379190615365565b60405180910390f35b34801561074c57600080fd5b5061076760048036038101906107629190613ff0565b6117e6565b6040516107749190615365565b60405180910390f35b34801561078957600080fd5b5061079261189e565b005b3480156107a057600080fd5b506107bb60048036038101906107b6919061427c565b611926565b005b3480156107c957600080fd5b506107e460048036038101906107df919061415b565b611abc565b6040516107f19190615365565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c919061422a565b611c67565b60405161082e9190615365565b60405180910390f35b34801561084357600080fd5b5061085e6004803603810190610859919061422a565b611e22565b005b34801561086c57600080fd5b50610875611ea8565b6040516108829190614f0b565b60405180910390f35b34801561089757600080fd5b506108b260048036038101906108ad9190614340565b611ed1565b005b3480156108c057600080fd5b506108c9611f85565b6040516108d69190615023565b60405180910390f35b3480156108eb57600080fd5b506109066004803603810190610901919061422a565b612017565b6040516109139190615365565b60405180910390f35b34801561092857600080fd5b50610943600480360381019061093e919061411f565b61202f565b005b34801561095157600080fd5b5061095a6121b0565b6040516109679190615008565b60405180910390f35b34801561097c57600080fd5b50610997600480360381019061099291906140a4565b6121d6565b005b3480156109a557600080fd5b506109c060048036038101906109bb919061440c565b612238565b6040516109cd9190614fd2565b60405180910390f35b3480156109e257600080fd5b506109fd60048036038101906109f8919061422a565b612362565b604051610a0a9190615023565b60405180910390f35b348015610a1f57600080fd5b50610a3a6004803603810190610a359190614019565b6123b9565b604051610a479190614fd2565b60405180910390f35b348015610a5c57600080fd5b50610a776004803603810190610a729190614448565b61244d565b005b348015610a8557600080fd5b50610aa06004803603810190610a9b919061422a565b612529565b005b348015610aae57600080fd5b50610ac96004803603810190610ac49190613ff0565b6125af565b005b348015610ad757600080fd5b50610af26004803603810190610aed91906142d4565b6126a7565b005b348015610b0057600080fd5b50610b1b6004803603810190610b16919061422a565b612970565b604051610b289190615023565b60405180910390f35b348015610b3d57600080fd5b50610b586004803603810190610b5391906143b8565b612a10565b005b348015610b6657600080fd5b50610b816004803603810190610b7c919061437c565b612ab8565b005b60115481565b6000610b9482612b50565b9050919050565b600d6020528060005260406000206000915090508060000154908060010154905082565b6000610c1282601560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612bca90919063ffffffff16565b905092915050565b606060018054610c299061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c559061568b565b8015610ca25780601f10610c7757610100808354040283529160200191610ca2565b820191906000526020600020905b815481529060010190602001808311610c8557829003601f168201915b5050505050905090565b6000610cb782612c06565b610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced90615225565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d3c8261171c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da4906152c5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dcc612c72565b73ffffffffffffffffffffffffffffffffffffffff161480610dfb5750610dfa81610df5612c72565b6123b9565b5b610e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3190615165565b60405180910390fd5b610e448383612c7a565b505050565b6000610e5f826017612bca90919063ffffffff16565b9050919050565b6000600980549050905090565b81610e88816017612bca90919063ffffffff16565b15610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf90615145565b60405180910390fd5b6000803414610ed75782610ee2565b610ee13385611abc565b5b9050600034141561101757610f3e84601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612bca90919063ffffffff16565b15610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f75906150c5565b60405180910390fd5b60008111610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb890615325565b60405180910390fd5b61101284601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612d3390919063ffffffff16565b61113d565b826010546110259190615519565b3414611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d90615345565b60405180910390fd5b6011548311156110ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a2906151e5565b60405180910390fd5b426207e900600f6000878152602001908152602001600020546110ce9190615492565b101561110f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110690615185565b60405180910390fd5b82600d600086815260200190815260200160002060010160008282546111359190615573565b925050819055505b60005b81811015611201576000600d60008781526020019081526020016000206000016000815480929190611171906156bd565b91905055620f4240876111849190615519565b61118e9190615492565b905085600e6000838152602001908152602001600020819055506111b23382612d71565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df3387836040516111e593929190614f9b565b60405180910390a15080806111f9906156bd565b915050611140565b5050505050565b611210612c72565b73ffffffffffffffffffffffffffffffffffffffff1661122e611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127b90615245565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6112d96112d3612c72565b82612d8f565b611318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130f906152e5565b60405180910390fd5b611323838383612e6d565b505050565b600080611333611ea8565b612710601454856113449190615519565b61134e91906154e8565b915091509250929050565b6000611364836117e6565b82106113a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139c90615045565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60105481565b61140c612c72565b73ffffffffffffffffffffffffffffffffffffffff1661142a611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147790615245565b60405180910390fd5b8060139080519060200190611496929190613d56565b5050565b6114a2612c72565b73ffffffffffffffffffffffffffffffffffffffff166114c0611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90615245565b60405180910390fd5b6000479050611523611ea8565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611568573d6000803e3d6000fd5b5050565b611574612c72565b73ffffffffffffffffffffffffffffffffffffffff16611592611ea8565b73ffffffffffffffffffffffffffffffffffffffff16146115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df90615245565b60405180910390fd5b8060148190555050565b61160d838383604051806020016040528060008152506121d6565b505050565b600061161c610e66565b821061165d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165490615305565b60405180910390fd5b60098281548110611697577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60126020528060005260406000206000915090505481565b600061171482601660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612bca90919063ffffffff16565b905092915050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bc906151c5565b60405180910390fd5b80915050919050565b600f6020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e906151a5565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118a6612c72565b73ffffffffffffffffffffffffffffffffffffffff166118c4611ea8565b73ffffffffffffffffffffffffffffffffffffffff161461191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190615245565b60405180910390fd5b61192460006130c9565b565b61192e612c72565b73ffffffffffffffffffffffffffffffffffffffff1661194c611ea8565b73ffffffffffffffffffffffffffffffffffffffff16146119a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199990615245565b60405180910390fd5b60005b82829050811015611ab6576000600d600086815260200190815260200160002060000160008154809291906119d9906156bd565b91905055620f4240866119ec9190615519565b6119f69190615492565b905084600e600083815260200190815260200160002081905550611a67848484818110611a4c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a619190613ff0565b82612d71565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df338683604051611a9a93929190614f9b565b60405180910390a1508080611aae906156bd565b9150506119a5565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401611b1a9190614f0b565b60206040518083038186803b158015611b3257600080fd5b505afa158015611b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6a9190614253565b90506000805b82811015611c5b576000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5988846040518363ffffffff1660e01b8152600401611bd7929190614f72565b60206040518083038186803b158015611bef57600080fd5b505afa158015611c03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c279190614253565b9050611c338187612238565b15611c47578280611c43906156bd565b9350505b508080611c53906156bd565b915050611b70565b50809250505092915050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d7de5725846040518263ffffffff1660e01b8152600401611cc59190615365565b60206040518083038186803b158015611cdd57600080fd5b505afa158015611cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d159190614253565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b8152600401611d749190615365565b60206040518083038186803b158015611d8c57600080fd5b505afa158015611da0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc49190614253565b90506000821415611de7576277f88081611dde9190615573565b92505050611e1d565b6001821415611e085762eff10081611dff9190615573565b92505050611e1d565b6301dfe20081611e189190615573565b925050505b919050565b611e2a612c72565b73ffffffffffffffffffffffffffffffffffffffff16611e48611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9590615245565b60405180910390fd5b8060108190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ed9612c72565b73ffffffffffffffffffffffffffffffffffffffff16611ef7611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4490615245565b60405180910390fd5b8015611f6c57611f67826017612d3390919063ffffffff16565b611f81565b611f8082601761318d90919063ffffffff16565b5b5050565b606060028054611f949061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054611fc09061568b565b801561200d5780601f10611fe25761010080835404028352916020019161200d565b820191906000526020600020905b815481529060010190602001808311611ff057829003601f168201915b5050505050905090565b600e6020528060005260406000206000915090505481565b612037612c72565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209c90615105565b60405180910390fd5b80600660006120b2612c72565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661215f612c72565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121a49190614fd2565b60405180910390a35050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6121e76121e1612c72565b83612d8f565b612226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221d906152e5565b60405180910390fd5b612232848484846131cc565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b81526004016122969190615365565b60206040518083038186803b1580156122ae57600080fd5b505afa1580156122c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e69190614253565b905060006122f385611c67565b9050600f600085815260200190815260200160002054811115801561233957506249d400600f6000868152602001908152602001600020546123359190615492565b4211155b8015612358575081600f60008681526020019081526020016000205411155b9250505092915050565b606061236c613228565b600c6000600e60008681526020019081526020016000205481526020019081526020016000206040516020016123a3929190614ee7565b6040516020818303038152906040529050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612455612c72565b73ffffffffffffffffffffffffffffffffffffffff16612473611ea8565b73ffffffffffffffffffffffffffffffffffffffff16146124c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c090615245565b60405180910390fd5b42600f60008581526020019081526020016000208190555081600d60008581526020019081526020016000206001018190555080600c60008581526020019081526020016000209080519060200190612523929190613d56565b50505050565b612531612c72565b73ffffffffffffffffffffffffffffffffffffffff1661254f611ea8565b73ffffffffffffffffffffffffffffffffffffffff16146125a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259c90615245565b60405180910390fd5b8060118190555050565b6125b7612c72565b73ffffffffffffffffffffffffffffffffffffffff166125d5611ea8565b73ffffffffffffffffffffffffffffffffffffffff161461262b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262290615245565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561269b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269290615085565b60405180910390fd5b6126a4816130c9565b50565b836126bc816017612bca90919063ffffffff16565b156126fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f390615145565b60405180910390fd5b61274d85601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612bca90919063ffffffff16565b1561278d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278490615265565b60405180910390fd5b6127de85601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612d3390919063ffffffff16565b612865848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506012600088815260200190815260200160002054338560405160200161284a929190614e8f565b604051602081830303815290604052805190602001206132ba565b6128a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289b906152a5565b60405180910390fd5b60005b82811015612968576000600d600088815260200190815260200160002060000160008154809291906128d8906156bd565b91905055620f4240886128eb9190615519565b6128f59190615492565b905086600e6000838152602001908152602001600020819055506129193382612d71565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df33888360405161294c93929190614f9b565b60405180910390a1508080612960906156bd565b9150506128a7565b505050505050565b600c602052806000526040600020600091509050805461298f9061568b565b80601f01602080910402602001604051908101604052809291908181526020018280546129bb9061568b565b8015612a085780601f106129dd57610100808354040283529160200191612a08565b820191906000526020600020905b8154815290600101906020018083116129eb57829003601f168201915b505050505081565b612a18612c72565b73ffffffffffffffffffffffffffffffffffffffff16612a36611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614612a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8390615245565b60405180910390fd5b80600c60008481526020019081526020016000209080519060200190612ab3929190613d56565b505050565b612ac0612c72565b73ffffffffffffffffffffffffffffffffffffffff16612ade611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614612b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2b90615245565b60405180910390fd5b8060126000848152602001908152602001600020819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612bc35750612bc282613396565b5b9050919050565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ced8361171c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b612d8b828260405180602001604052806000815250613478565b5050565b6000612d9a82612c06565b612dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd090615125565b60405180910390fd5b6000612de48361171c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e5357508373ffffffffffffffffffffffffffffffffffffffff16612e3b84610cac565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e645750612e6381856123b9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e8d8261171c565b73ffffffffffffffffffffffffffffffffffffffff1614612ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eda90615285565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4a906150e5565b60405180910390fd5b612f5e8383836134d3565b612f69600082612c7a565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fb99190615573565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130109190615492565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600882901c9050600060ff83166001901b905080198460000160008481526020019081526020016000206000828254169250508190555050505050565b6131d7848484612e6d565b6131e3848484846134e3565b613222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161321990615065565b60405180910390fd5b50505050565b6060601380546132379061568b565b80601f01602080910402602001604051908101604052809291908181526020018280546132639061568b565b80156132b05780601f10613285576101008083540402835291602001916132b0565b820191906000526020600020905b81548152906001019060200180831161329357829003601f168201915b5050505050905090565b60008082905060005b8551811015613388576000868281518110613307577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161334857828160405160200161332b929190614ebb565b604051602081830303815290604052805190602001209250613374565b808360405160200161335b929190614ebb565b6040516020818303038152906040528051906020012092505b508080613380906156bd565b9150506132c3565b508381149150509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061346157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061347157506134708261367a565b5b9050919050565b61348283836136e4565b61348f60008484846134e3565b6134ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c590615065565b60405180910390fd5b505050565b6134de8383836138b2565b505050565b60006135048473ffffffffffffffffffffffffffffffffffffffff166139c6565b1561366d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261352d612c72565b8786866040518563ffffffff1660e01b815260040161354f9493929190614f26565b602060405180830381600087803b15801561356957600080fd5b505af192505050801561359a57506040513d601f19601f8201168201806040525081019061359791906141c0565b60015b61361d573d80600081146135ca576040519150601f19603f3d011682016040523d82523d6000602084013e6135cf565b606091505b50600081511415613615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161360c90615065565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613672565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374b90615205565b60405180910390fd5b61375d81612c06565b1561379d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613794906150a5565b60405180910390fd5b6137a9600083836134d3565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137f99190615492565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6138bd8383836139d9565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613900576138fb816139de565b61393f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461393e5761393d8382613a27565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139825761397d81613b94565b6139c1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146139c0576139bf8282613cd7565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a34846117e6565b613a3e9190615573565b9050600060086000848152602001908152602001600020549050818114613b23576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613ba89190615573565b90506000600a6000848152602001908152602001600020549050600060098381548110613bfe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613c46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613cbb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ce2836117e6565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613d629061568b565b90600052602060002090601f016020900481019282613d845760008555613dcb565b82601f10613d9d57805160ff1916838001178555613dcb565b82800160010185558215613dcb579182015b82811115613dca578251825591602001919060010190613daf565b5b509050613dd89190613ddc565b5090565b5b80821115613df5576000816000905550600101613ddd565b5090565b6000613e0c613e07846153da565b6153a9565b905082815260208101848484011115613e2457600080fd5b613e2f848285615649565b509392505050565b6000613e4a613e458461540a565b6153a9565b905082815260208101848484011115613e6257600080fd5b613e6d848285615649565b509392505050565b600081359050613e8481615818565b92915050565b60008083601f840112613e9c57600080fd5b8235905067ffffffffffffffff811115613eb557600080fd5b602083019150836020820283011115613ecd57600080fd5b9250929050565b60008083601f840112613ee657600080fd5b8235905067ffffffffffffffff811115613eff57600080fd5b602083019150836020820283011115613f1757600080fd5b9250929050565b600081359050613f2d8161582f565b92915050565b600081359050613f4281615846565b92915050565b600081359050613f578161585d565b92915050565b600081519050613f6c8161585d565b92915050565b600082601f830112613f8357600080fd5b8135613f93848260208601613df9565b91505092915050565b600082601f830112613fad57600080fd5b8135613fbd848260208601613e37565b91505092915050565b600081359050613fd581615874565b92915050565b600081519050613fea81615874565b92915050565b60006020828403121561400257600080fd5b600061401084828501613e75565b91505092915050565b6000806040838503121561402c57600080fd5b600061403a85828601613e75565b925050602061404b85828601613e75565b9150509250929050565b60008060006060848603121561406a57600080fd5b600061407886828701613e75565b935050602061408986828701613e75565b925050604061409a86828701613fc6565b9150509250925092565b600080600080608085870312156140ba57600080fd5b60006140c887828801613e75565b94505060206140d987828801613e75565b93505060406140ea87828801613fc6565b925050606085013567ffffffffffffffff81111561410757600080fd5b61411387828801613f72565b91505092959194509250565b6000806040838503121561413257600080fd5b600061414085828601613e75565b925050602061415185828601613f1e565b9150509250929050565b6000806040838503121561416e57600080fd5b600061417c85828601613e75565b925050602061418d85828601613fc6565b9150509250929050565b6000602082840312156141a957600080fd5b60006141b784828501613f48565b91505092915050565b6000602082840312156141d257600080fd5b60006141e084828501613f5d565b91505092915050565b6000602082840312156141fb57600080fd5b600082013567ffffffffffffffff81111561421557600080fd5b61422184828501613f9c565b91505092915050565b60006020828403121561423c57600080fd5b600061424a84828501613fc6565b91505092915050565b60006020828403121561426557600080fd5b600061427384828501613fdb565b91505092915050565b60008060006040848603121561429157600080fd5b600061429f86828701613fc6565b935050602084013567ffffffffffffffff8111156142bc57600080fd5b6142c886828701613e8a565b92509250509250925092565b600080600080606085870312156142ea57600080fd5b60006142f887828801613fc6565b945050602085013567ffffffffffffffff81111561431557600080fd5b61432187828801613ed4565b9350935050604061433487828801613fc6565b91505092959194509250565b6000806040838503121561435357600080fd5b600061436185828601613fc6565b925050602061437285828601613f1e565b9150509250929050565b6000806040838503121561438f57600080fd5b600061439d85828601613fc6565b92505060206143ae85828601613f33565b9150509250929050565b600080604083850312156143cb57600080fd5b60006143d985828601613fc6565b925050602083013567ffffffffffffffff8111156143f657600080fd5b61440285828601613f9c565b9150509250929050565b6000806040838503121561441f57600080fd5b600061442d85828601613fc6565b925050602061443e85828601613fc6565b9150509250929050565b60008060006060848603121561445d57600080fd5b600061446b86828701613fc6565b935050602061447c86828701613fc6565b925050604084013567ffffffffffffffff81111561449957600080fd5b6144a586828701613f9c565b9150509250925092565b6144b8816155a7565b82525050565b6144cf6144ca826155a7565b615706565b82525050565b6144de816155b9565b82525050565b6144ed816155c5565b82525050565b6145046144ff826155c5565b615718565b82525050565b60006145158261544f565b61451f8185615465565b935061452f818560208601615658565b614538816157fa565b840191505092915050565b61454c81615625565b82525050565b600061455d8261545a565b6145678185615476565b9350614577818560208601615658565b614580816157fa565b840191505092915050565b60006145968261545a565b6145a08185615487565b93506145b0818560208601615658565b80840191505092915050565b600081546145c98161568b565b6145d38186615487565b945060018216600081146145ee57600181146145ff57614632565b60ff19831686528186019350614632565b6146088561543a565b60005b8381101561462a5781548189015260018201915060208101905061460b565b838801955050505b50505092915050565b6000614648602b83615476565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006146ae603283615476565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614714602683615476565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061477a601c83615476565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006147ba600f83615476565b91507f414c524541445920434c41494d454400000000000000000000000000000000006000830152602082019050919050565b60006147fa602483615476565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614860601983615476565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006148a0602c83615476565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614906600c83615476565b91507f49737375652070617573656400000000000000000000000000000000000000006000830152602082019050919050565b6000614946603883615476565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006149ac600c83615476565b91507f53414c45204558504952454400000000000000000000000000000000000000006000830152602082019050919050565b60006149ec602a83615476565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614a52602983615476565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614ab8600a83615476565b91507f4f564552204c494d4954000000000000000000000000000000000000000000006000830152602082019050919050565b6000614af8602083615476565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614b38602c83615476565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614b9e602083615476565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614bde601983615476565b91507f414c524541445920434c41494d454420464f52204953535545000000000000006000830152602082019050919050565b6000614c1e602983615476565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c84600d83615476565b91507f494e56414c49442050524f4f46000000000000000000000000000000000000006000830152602082019050919050565b6000614cc4602183615476565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614d2a603183615476565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614d90602c83615476565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614df6601583615476565b91507f4e4f2056414c494420535542534352495054494f4e00000000000000000000006000830152602082019050919050565b6000614e36600f83615476565b91507f494e434f525245435420505249434500000000000000000000000000000000006000830152602082019050919050565b614e728161561b565b82525050565b614e89614e848261561b565b615734565b82525050565b6000614e9b82856144be565b601482019150614eab8284614e78565b6020820191508190509392505050565b6000614ec782856144f3565b602082019150614ed782846144f3565b6020820191508190509392505050565b6000614ef3828561458b565b9150614eff82846145bc565b91508190509392505050565b6000602082019050614f2060008301846144af565b92915050565b6000608082019050614f3b60008301876144af565b614f4860208301866144af565b614f556040830185614e69565b8181036060830152614f67818461450a565b905095945050505050565b6000604082019050614f8760008301856144af565b614f946020830184614e69565b9392505050565b6000606082019050614fb060008301866144af565b614fbd6020830185614e69565b614fca6040830184614e69565b949350505050565b6000602082019050614fe760008301846144d5565b92915050565b600060208201905061500260008301846144e4565b92915050565b600060208201905061501d6000830184614543565b92915050565b6000602082019050818103600083015261503d8184614552565b905092915050565b6000602082019050818103600083015261505e8161463b565b9050919050565b6000602082019050818103600083015261507e816146a1565b9050919050565b6000602082019050818103600083015261509e81614707565b9050919050565b600060208201905081810360008301526150be8161476d565b9050919050565b600060208201905081810360008301526150de816147ad565b9050919050565b600060208201905081810360008301526150fe816147ed565b9050919050565b6000602082019050818103600083015261511e81614853565b9050919050565b6000602082019050818103600083015261513e81614893565b9050919050565b6000602082019050818103600083015261515e816148f9565b9050919050565b6000602082019050818103600083015261517e81614939565b9050919050565b6000602082019050818103600083015261519e8161499f565b9050919050565b600060208201905081810360008301526151be816149df565b9050919050565b600060208201905081810360008301526151de81614a45565b9050919050565b600060208201905081810360008301526151fe81614aab565b9050919050565b6000602082019050818103600083015261521e81614aeb565b9050919050565b6000602082019050818103600083015261523e81614b2b565b9050919050565b6000602082019050818103600083015261525e81614b91565b9050919050565b6000602082019050818103600083015261527e81614bd1565b9050919050565b6000602082019050818103600083015261529e81614c11565b9050919050565b600060208201905081810360008301526152be81614c77565b9050919050565b600060208201905081810360008301526152de81614cb7565b9050919050565b600060208201905081810360008301526152fe81614d1d565b9050919050565b6000602082019050818103600083015261531e81614d83565b9050919050565b6000602082019050818103600083015261533e81614de9565b9050919050565b6000602082019050818103600083015261535e81614e29565b9050919050565b600060208201905061537a6000830184614e69565b92915050565b60006040820190506153956000830185614e69565b6153a26020830184614e69565b9392505050565b6000604051905081810181811067ffffffffffffffff821117156153d0576153cf6157cb565b5b8060405250919050565b600067ffffffffffffffff8211156153f5576153f46157cb565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115615425576154246157cb565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061549d8261561b565b91506154a88361561b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154dd576154dc61573e565b5b828201905092915050565b60006154f38261561b565b91506154fe8361561b565b92508261550e5761550d61576d565b5b828204905092915050565b60006155248261561b565b915061552f8361561b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156155685761556761573e565b5b828202905092915050565b600061557e8261561b565b91506155898361561b565b92508282101561559c5761559b61573e565b5b828203905092915050565b60006155b2826155fb565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061563082615637565b9050919050565b6000615642826155fb565b9050919050565b82818337600083830152505050565b60005b8381101561567657808201518184015260208101905061565b565b83811115615685576000848401525b50505050565b600060028204905060018216806156a357607f821691505b602082108114156156b7576156b661579c565b5b50919050565b60006156c88261561b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156fb576156fa61573e565b5b600182019050919050565b600061571182615722565b9050919050565b6000819050919050565b600061572d8261580b565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615821816155a7565b811461582c57600080fd5b50565b615838816155b9565b811461584357600080fd5b50565b61584f816155c5565b811461585a57600080fd5b50565b615866816155cf565b811461587157600080fd5b50565b61587d8161561b565b811461588857600080fd5b5056fea26469706673582212205c33c368455a39512f211e2f93fae12cae524033af1e60712b5dace5a00918e164736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000004123d3da0f4d1e82196e4ff27b39461cb2a86a14000000000000000000000000000000000000000000000000000000000000000f5265646c696f6e2047617a6574746500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009524c47415a455454450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6e66742e7265646c696f6e2e6e6577732f67617a65747465732f69737375652f000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102885760003560e01c80636d8485c51161015a578063b5914ec1116100c1578063f004685a1161007a578063f004685a14610a79578063f2fde38b14610aa2578063f339f52614610acb578063f354f46d14610af4578063fa055b5e14610b31578063fb2f6cce14610b5a57610288565b8063b5914ec114610945578063b88d4fde14610970578063c5c1f0f214610999578063c87b56dd146109d6578063e985e9c514610a13578063ed20990714610a5057610288565b80638417b47f116101135780638417b47f146108375780638da5cb5b1461086057806393578b041461088b57806395d89b41146108b45780639ee84eda146108df578063a22cb4651461091c57610288565b80636d8485c51461070357806370a0823114610740578063715018a61461077d578063746cf628146107945780637b9c0551146107bd5780637e4e88a2146107fa57610288565b806323b872dd116101fe5780633e4086e5116101b75780633e4086e5146105bd57806342842e0e146105e65780634f6ccce71461060f57806355e1932b1461064c578063562beba8146106895780636352211e146106c657610288565b806323b872dd146104ae5780632a55205a146104d75780632f745c591461051557806335db70b51461055257806339a0c6f91461057d5780633ccfd60b146105a657610288565b8063081812fc11610250578063081812fc1461039b578063095ea7b3146103d8578063151f77b41461040157806318160ddd1461043e5780631b2ef1ca1461046957806322e866311461048557610288565b806301109e331461028d57806301ffc9a7146102b857806304e15de5146102f557806306a55a021461033357806306fdde0314610370575b600080fd5b34801561029957600080fd5b506102a2610b83565b6040516102af9190615365565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da9190614197565b610b89565b6040516102ec9190614fd2565b60405180910390f35b34801561030157600080fd5b5061031c6004803603810190610317919061422a565b610b9b565b60405161032a929190615380565b60405180910390f35b34801561033f57600080fd5b5061035a6004803603810190610355919061415b565b610bbf565b6040516103679190614fd2565b60405180910390f35b34801561037c57600080fd5b50610385610c1a565b6040516103929190615023565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd919061422a565b610cac565b6040516103cf9190614f0b565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa919061415b565b610d31565b005b34801561040d57600080fd5b506104286004803603810190610423919061422a565b610e49565b6040516104359190614fd2565b60405180910390f35b34801561044a57600080fd5b50610453610e66565b6040516104609190615365565b60405180910390f35b610483600480360381019061047e919061440c565b610e73565b005b34801561049157600080fd5b506104ac60048036038101906104a79190613ff0565b611208565b005b3480156104ba57600080fd5b506104d560048036038101906104d09190614055565b6112c8565b005b3480156104e357600080fd5b506104fe60048036038101906104f9919061440c565b611328565b60405161050c929190614f72565b60405180910390f35b34801561052157600080fd5b5061053c6004803603810190610537919061415b565b611359565b6040516105499190615365565b60405180910390f35b34801561055e57600080fd5b506105676113fe565b6040516105749190615365565b60405180910390f35b34801561058957600080fd5b506105a4600480360381019061059f91906141e9565b611404565b005b3480156105b257600080fd5b506105bb61149a565b005b3480156105c957600080fd5b506105e460048036038101906105df919061422a565b61156c565b005b3480156105f257600080fd5b5061060d60048036038101906106089190614055565b6115f2565b005b34801561061b57600080fd5b506106366004803603810190610631919061422a565b611612565b6040516106439190615365565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e919061422a565b6116a9565b6040516106809190614fed565b60405180910390f35b34801561069557600080fd5b506106b060048036038101906106ab919061415b565b6116c1565b6040516106bd9190614fd2565b60405180910390f35b3480156106d257600080fd5b506106ed60048036038101906106e8919061422a565b61171c565b6040516106fa9190614f0b565b60405180910390f35b34801561070f57600080fd5b5061072a6004803603810190610725919061422a565b6117ce565b6040516107379190615365565b60405180910390f35b34801561074c57600080fd5b5061076760048036038101906107629190613ff0565b6117e6565b6040516107749190615365565b60405180910390f35b34801561078957600080fd5b5061079261189e565b005b3480156107a057600080fd5b506107bb60048036038101906107b6919061427c565b611926565b005b3480156107c957600080fd5b506107e460048036038101906107df919061415b565b611abc565b6040516107f19190615365565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c919061422a565b611c67565b60405161082e9190615365565b60405180910390f35b34801561084357600080fd5b5061085e6004803603810190610859919061422a565b611e22565b005b34801561086c57600080fd5b50610875611ea8565b6040516108829190614f0b565b60405180910390f35b34801561089757600080fd5b506108b260048036038101906108ad9190614340565b611ed1565b005b3480156108c057600080fd5b506108c9611f85565b6040516108d69190615023565b60405180910390f35b3480156108eb57600080fd5b506109066004803603810190610901919061422a565b612017565b6040516109139190615365565b60405180910390f35b34801561092857600080fd5b50610943600480360381019061093e919061411f565b61202f565b005b34801561095157600080fd5b5061095a6121b0565b6040516109679190615008565b60405180910390f35b34801561097c57600080fd5b50610997600480360381019061099291906140a4565b6121d6565b005b3480156109a557600080fd5b506109c060048036038101906109bb919061440c565b612238565b6040516109cd9190614fd2565b60405180910390f35b3480156109e257600080fd5b506109fd60048036038101906109f8919061422a565b612362565b604051610a0a9190615023565b60405180910390f35b348015610a1f57600080fd5b50610a3a6004803603810190610a359190614019565b6123b9565b604051610a479190614fd2565b60405180910390f35b348015610a5c57600080fd5b50610a776004803603810190610a729190614448565b61244d565b005b348015610a8557600080fd5b50610aa06004803603810190610a9b919061422a565b612529565b005b348015610aae57600080fd5b50610ac96004803603810190610ac49190613ff0565b6125af565b005b348015610ad757600080fd5b50610af26004803603810190610aed91906142d4565b6126a7565b005b348015610b0057600080fd5b50610b1b6004803603810190610b16919061422a565b612970565b604051610b289190615023565b60405180910390f35b348015610b3d57600080fd5b50610b586004803603810190610b5391906143b8565b612a10565b005b348015610b6657600080fd5b50610b816004803603810190610b7c919061437c565b612ab8565b005b60115481565b6000610b9482612b50565b9050919050565b600d6020528060005260406000206000915090508060000154908060010154905082565b6000610c1282601560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612bca90919063ffffffff16565b905092915050565b606060018054610c299061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c559061568b565b8015610ca25780601f10610c7757610100808354040283529160200191610ca2565b820191906000526020600020905b815481529060010190602001808311610c8557829003601f168201915b5050505050905090565b6000610cb782612c06565b610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced90615225565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d3c8261171c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da4906152c5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dcc612c72565b73ffffffffffffffffffffffffffffffffffffffff161480610dfb5750610dfa81610df5612c72565b6123b9565b5b610e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3190615165565b60405180910390fd5b610e448383612c7a565b505050565b6000610e5f826017612bca90919063ffffffff16565b9050919050565b6000600980549050905090565b81610e88816017612bca90919063ffffffff16565b15610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf90615145565b60405180910390fd5b6000803414610ed75782610ee2565b610ee13385611abc565b5b9050600034141561101757610f3e84601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612bca90919063ffffffff16565b15610f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f75906150c5565b60405180910390fd5b60008111610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb890615325565b60405180910390fd5b61101284601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612d3390919063ffffffff16565b61113d565b826010546110259190615519565b3414611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d90615345565b60405180910390fd5b6011548311156110ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a2906151e5565b60405180910390fd5b426207e900600f6000878152602001908152602001600020546110ce9190615492565b101561110f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110690615185565b60405180910390fd5b82600d600086815260200190815260200160002060010160008282546111359190615573565b925050819055505b60005b81811015611201576000600d60008781526020019081526020016000206000016000815480929190611171906156bd565b91905055620f4240876111849190615519565b61118e9190615492565b905085600e6000838152602001908152602001600020819055506111b23382612d71565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df3387836040516111e593929190614f9b565b60405180910390a15080806111f9906156bd565b915050611140565b5050505050565b611210612c72565b73ffffffffffffffffffffffffffffffffffffffff1661122e611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127b90615245565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6112d96112d3612c72565b82612d8f565b611318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130f906152e5565b60405180910390fd5b611323838383612e6d565b505050565b600080611333611ea8565b612710601454856113449190615519565b61134e91906154e8565b915091509250929050565b6000611364836117e6565b82106113a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139c90615045565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60105481565b61140c612c72565b73ffffffffffffffffffffffffffffffffffffffff1661142a611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147790615245565b60405180910390fd5b8060139080519060200190611496929190613d56565b5050565b6114a2612c72565b73ffffffffffffffffffffffffffffffffffffffff166114c0611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90615245565b60405180910390fd5b6000479050611523611ea8565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611568573d6000803e3d6000fd5b5050565b611574612c72565b73ffffffffffffffffffffffffffffffffffffffff16611592611ea8565b73ffffffffffffffffffffffffffffffffffffffff16146115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df90615245565b60405180910390fd5b8060148190555050565b61160d838383604051806020016040528060008152506121d6565b505050565b600061161c610e66565b821061165d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165490615305565b60405180910390fd5b60098281548110611697577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60126020528060005260406000206000915090505481565b600061171482601660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612bca90919063ffffffff16565b905092915050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bc906151c5565b60405180910390fd5b80915050919050565b600f6020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e906151a5565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118a6612c72565b73ffffffffffffffffffffffffffffffffffffffff166118c4611ea8565b73ffffffffffffffffffffffffffffffffffffffff161461191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190615245565b60405180910390fd5b61192460006130c9565b565b61192e612c72565b73ffffffffffffffffffffffffffffffffffffffff1661194c611ea8565b73ffffffffffffffffffffffffffffffffffffffff16146119a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199990615245565b60405180910390fd5b60005b82829050811015611ab6576000600d600086815260200190815260200160002060000160008154809291906119d9906156bd565b91905055620f4240866119ec9190615519565b6119f69190615492565b905084600e600083815260200190815260200160002081905550611a67848484818110611a4c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a619190613ff0565b82612d71565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df338683604051611a9a93929190614f9b565b60405180910390a1508080611aae906156bd565b9150506119a5565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401611b1a9190614f0b565b60206040518083038186803b158015611b3257600080fd5b505afa158015611b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6a9190614253565b90506000805b82811015611c5b576000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5988846040518363ffffffff1660e01b8152600401611bd7929190614f72565b60206040518083038186803b158015611bef57600080fd5b505afa158015611c03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c279190614253565b9050611c338187612238565b15611c47578280611c43906156bd565b9350505b508080611c53906156bd565b915050611b70565b50809250505092915050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d7de5725846040518263ffffffff1660e01b8152600401611cc59190615365565b60206040518083038186803b158015611cdd57600080fd5b505afa158015611cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d159190614253565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b8152600401611d749190615365565b60206040518083038186803b158015611d8c57600080fd5b505afa158015611da0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc49190614253565b90506000821415611de7576277f88081611dde9190615573565b92505050611e1d565b6001821415611e085762eff10081611dff9190615573565b92505050611e1d565b6301dfe20081611e189190615573565b925050505b919050565b611e2a612c72565b73ffffffffffffffffffffffffffffffffffffffff16611e48611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9590615245565b60405180910390fd5b8060108190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ed9612c72565b73ffffffffffffffffffffffffffffffffffffffff16611ef7611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4490615245565b60405180910390fd5b8015611f6c57611f67826017612d3390919063ffffffff16565b611f81565b611f8082601761318d90919063ffffffff16565b5b5050565b606060028054611f949061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054611fc09061568b565b801561200d5780601f10611fe25761010080835404028352916020019161200d565b820191906000526020600020905b815481529060010190602001808311611ff057829003601f168201915b5050505050905090565b600e6020528060005260406000206000915090505481565b612037612c72565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209c90615105565b60405180910390fd5b80600660006120b2612c72565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661215f612c72565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121a49190614fd2565b60405180910390a35050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6121e76121e1612c72565b83612d8f565b612226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221d906152e5565b60405180910390fd5b612232848484846131cc565b50505050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c251ddf8856040518263ffffffff1660e01b81526004016122969190615365565b60206040518083038186803b1580156122ae57600080fd5b505afa1580156122c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e69190614253565b905060006122f385611c67565b9050600f600085815260200190815260200160002054811115801561233957506249d400600f6000868152602001908152602001600020546123359190615492565b4211155b8015612358575081600f60008681526020019081526020016000205411155b9250505092915050565b606061236c613228565b600c6000600e60008681526020019081526020016000205481526020019081526020016000206040516020016123a3929190614ee7565b6040516020818303038152906040529050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612455612c72565b73ffffffffffffffffffffffffffffffffffffffff16612473611ea8565b73ffffffffffffffffffffffffffffffffffffffff16146124c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c090615245565b60405180910390fd5b42600f60008581526020019081526020016000208190555081600d60008581526020019081526020016000206001018190555080600c60008581526020019081526020016000209080519060200190612523929190613d56565b50505050565b612531612c72565b73ffffffffffffffffffffffffffffffffffffffff1661254f611ea8565b73ffffffffffffffffffffffffffffffffffffffff16146125a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259c90615245565b60405180910390fd5b8060118190555050565b6125b7612c72565b73ffffffffffffffffffffffffffffffffffffffff166125d5611ea8565b73ffffffffffffffffffffffffffffffffffffffff161461262b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262290615245565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561269b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269290615085565b60405180910390fd5b6126a4816130c9565b50565b836126bc816017612bca90919063ffffffff16565b156126fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f390615145565b60405180910390fd5b61274d85601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612bca90919063ffffffff16565b1561278d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278490615265565b60405180910390fd5b6127de85601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612d3390919063ffffffff16565b612865848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506012600088815260200190815260200160002054338560405160200161284a929190614e8f565b604051602081830303815290604052805190602001206132ba565b6128a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289b906152a5565b60405180910390fd5b60005b82811015612968576000600d600088815260200190815260200160002060000160008154809291906128d8906156bd565b91905055620f4240886128eb9190615519565b6128f59190615492565b905086600e6000838152602001908152602001600020819055506129193382612d71565b7f966d62c0a408368c656346fe829fad3f53d4436857794a7356a71fa3fe8e53df33888360405161294c93929190614f9b565b60405180910390a1508080612960906156bd565b9150506128a7565b505050505050565b600c602052806000526040600020600091509050805461298f9061568b565b80601f01602080910402602001604051908101604052809291908181526020018280546129bb9061568b565b8015612a085780601f106129dd57610100808354040283529160200191612a08565b820191906000526020600020905b8154815290600101906020018083116129eb57829003601f168201915b505050505081565b612a18612c72565b73ffffffffffffffffffffffffffffffffffffffff16612a36611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614612a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8390615245565b60405180910390fd5b80600c60008481526020019081526020016000209080519060200190612ab3929190613d56565b505050565b612ac0612c72565b73ffffffffffffffffffffffffffffffffffffffff16612ade611ea8565b73ffffffffffffffffffffffffffffffffffffffff1614612b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2b90615245565b60405180910390fd5b8060126000848152602001908152602001600020819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612bc35750612bc282613396565b5b9050919050565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ced8361171c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b612d8b828260405180602001604052806000815250613478565b5050565b6000612d9a82612c06565b612dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd090615125565b60405180910390fd5b6000612de48361171c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e5357508373ffffffffffffffffffffffffffffffffffffffff16612e3b84610cac565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e645750612e6381856123b9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e8d8261171c565b73ffffffffffffffffffffffffffffffffffffffff1614612ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eda90615285565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4a906150e5565b60405180910390fd5b612f5e8383836134d3565b612f69600082612c7a565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fb99190615573565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130109190615492565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600882901c9050600060ff83166001901b905080198460000160008481526020019081526020016000206000828254169250508190555050505050565b6131d7848484612e6d565b6131e3848484846134e3565b613222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161321990615065565b60405180910390fd5b50505050565b6060601380546132379061568b565b80601f01602080910402602001604051908101604052809291908181526020018280546132639061568b565b80156132b05780601f10613285576101008083540402835291602001916132b0565b820191906000526020600020905b81548152906001019060200180831161329357829003601f168201915b5050505050905090565b60008082905060005b8551811015613388576000868281518110613307577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161334857828160405160200161332b929190614ebb565b604051602081830303815290604052805190602001209250613374565b808360405160200161335b929190614ebb565b6040516020818303038152906040528051906020012092505b508080613380906156bd565b9150506132c3565b508381149150509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061346157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061347157506134708261367a565b5b9050919050565b61348283836136e4565b61348f60008484846134e3565b6134ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c590615065565b60405180910390fd5b505050565b6134de8383836138b2565b505050565b60006135048473ffffffffffffffffffffffffffffffffffffffff166139c6565b1561366d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261352d612c72565b8786866040518563ffffffff1660e01b815260040161354f9493929190614f26565b602060405180830381600087803b15801561356957600080fd5b505af192505050801561359a57506040513d601f19601f8201168201806040525081019061359791906141c0565b60015b61361d573d80600081146135ca576040519150601f19603f3d011682016040523d82523d6000602084013e6135cf565b606091505b50600081511415613615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161360c90615065565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613672565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374b90615205565b60405180910390fd5b61375d81612c06565b1561379d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613794906150a5565b60405180910390fd5b6137a9600083836134d3565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137f99190615492565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6138bd8383836139d9565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613900576138fb816139de565b61393f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461393e5761393d8382613a27565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139825761397d81613b94565b6139c1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146139c0576139bf8282613cd7565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a34846117e6565b613a3e9190615573565b9050600060086000848152602001908152602001600020549050818114613b23576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613ba89190615573565b90506000600a6000848152602001908152602001600020549050600060098381548110613bfe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613c46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613cbb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ce2836117e6565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613d629061568b565b90600052602060002090601f016020900481019282613d845760008555613dcb565b82601f10613d9d57805160ff1916838001178555613dcb565b82800160010185558215613dcb579182015b82811115613dca578251825591602001919060010190613daf565b5b509050613dd89190613ddc565b5090565b5b80821115613df5576000816000905550600101613ddd565b5090565b6000613e0c613e07846153da565b6153a9565b905082815260208101848484011115613e2457600080fd5b613e2f848285615649565b509392505050565b6000613e4a613e458461540a565b6153a9565b905082815260208101848484011115613e6257600080fd5b613e6d848285615649565b509392505050565b600081359050613e8481615818565b92915050565b60008083601f840112613e9c57600080fd5b8235905067ffffffffffffffff811115613eb557600080fd5b602083019150836020820283011115613ecd57600080fd5b9250929050565b60008083601f840112613ee657600080fd5b8235905067ffffffffffffffff811115613eff57600080fd5b602083019150836020820283011115613f1757600080fd5b9250929050565b600081359050613f2d8161582f565b92915050565b600081359050613f4281615846565b92915050565b600081359050613f578161585d565b92915050565b600081519050613f6c8161585d565b92915050565b600082601f830112613f8357600080fd5b8135613f93848260208601613df9565b91505092915050565b600082601f830112613fad57600080fd5b8135613fbd848260208601613e37565b91505092915050565b600081359050613fd581615874565b92915050565b600081519050613fea81615874565b92915050565b60006020828403121561400257600080fd5b600061401084828501613e75565b91505092915050565b6000806040838503121561402c57600080fd5b600061403a85828601613e75565b925050602061404b85828601613e75565b9150509250929050565b60008060006060848603121561406a57600080fd5b600061407886828701613e75565b935050602061408986828701613e75565b925050604061409a86828701613fc6565b9150509250925092565b600080600080608085870312156140ba57600080fd5b60006140c887828801613e75565b94505060206140d987828801613e75565b93505060406140ea87828801613fc6565b925050606085013567ffffffffffffffff81111561410757600080fd5b61411387828801613f72565b91505092959194509250565b6000806040838503121561413257600080fd5b600061414085828601613e75565b925050602061415185828601613f1e565b9150509250929050565b6000806040838503121561416e57600080fd5b600061417c85828601613e75565b925050602061418d85828601613fc6565b9150509250929050565b6000602082840312156141a957600080fd5b60006141b784828501613f48565b91505092915050565b6000602082840312156141d257600080fd5b60006141e084828501613f5d565b91505092915050565b6000602082840312156141fb57600080fd5b600082013567ffffffffffffffff81111561421557600080fd5b61422184828501613f9c565b91505092915050565b60006020828403121561423c57600080fd5b600061424a84828501613fc6565b91505092915050565b60006020828403121561426557600080fd5b600061427384828501613fdb565b91505092915050565b60008060006040848603121561429157600080fd5b600061429f86828701613fc6565b935050602084013567ffffffffffffffff8111156142bc57600080fd5b6142c886828701613e8a565b92509250509250925092565b600080600080606085870312156142ea57600080fd5b60006142f887828801613fc6565b945050602085013567ffffffffffffffff81111561431557600080fd5b61432187828801613ed4565b9350935050604061433487828801613fc6565b91505092959194509250565b6000806040838503121561435357600080fd5b600061436185828601613fc6565b925050602061437285828601613f1e565b9150509250929050565b6000806040838503121561438f57600080fd5b600061439d85828601613fc6565b92505060206143ae85828601613f33565b9150509250929050565b600080604083850312156143cb57600080fd5b60006143d985828601613fc6565b925050602083013567ffffffffffffffff8111156143f657600080fd5b61440285828601613f9c565b9150509250929050565b6000806040838503121561441f57600080fd5b600061442d85828601613fc6565b925050602061443e85828601613fc6565b9150509250929050565b60008060006060848603121561445d57600080fd5b600061446b86828701613fc6565b935050602061447c86828701613fc6565b925050604084013567ffffffffffffffff81111561449957600080fd5b6144a586828701613f9c565b9150509250925092565b6144b8816155a7565b82525050565b6144cf6144ca826155a7565b615706565b82525050565b6144de816155b9565b82525050565b6144ed816155c5565b82525050565b6145046144ff826155c5565b615718565b82525050565b60006145158261544f565b61451f8185615465565b935061452f818560208601615658565b614538816157fa565b840191505092915050565b61454c81615625565b82525050565b600061455d8261545a565b6145678185615476565b9350614577818560208601615658565b614580816157fa565b840191505092915050565b60006145968261545a565b6145a08185615487565b93506145b0818560208601615658565b80840191505092915050565b600081546145c98161568b565b6145d38186615487565b945060018216600081146145ee57600181146145ff57614632565b60ff19831686528186019350614632565b6146088561543a565b60005b8381101561462a5781548189015260018201915060208101905061460b565b838801955050505b50505092915050565b6000614648602b83615476565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006146ae603283615476565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614714602683615476565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061477a601c83615476565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006147ba600f83615476565b91507f414c524541445920434c41494d454400000000000000000000000000000000006000830152602082019050919050565b60006147fa602483615476565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614860601983615476565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006148a0602c83615476565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614906600c83615476565b91507f49737375652070617573656400000000000000000000000000000000000000006000830152602082019050919050565b6000614946603883615476565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006149ac600c83615476565b91507f53414c45204558504952454400000000000000000000000000000000000000006000830152602082019050919050565b60006149ec602a83615476565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614a52602983615476565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614ab8600a83615476565b91507f4f564552204c494d4954000000000000000000000000000000000000000000006000830152602082019050919050565b6000614af8602083615476565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614b38602c83615476565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614b9e602083615476565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614bde601983615476565b91507f414c524541445920434c41494d454420464f52204953535545000000000000006000830152602082019050919050565b6000614c1e602983615476565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c84600d83615476565b91507f494e56414c49442050524f4f46000000000000000000000000000000000000006000830152602082019050919050565b6000614cc4602183615476565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614d2a603183615476565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614d90602c83615476565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614df6601583615476565b91507f4e4f2056414c494420535542534352495054494f4e00000000000000000000006000830152602082019050919050565b6000614e36600f83615476565b91507f494e434f525245435420505249434500000000000000000000000000000000006000830152602082019050919050565b614e728161561b565b82525050565b614e89614e848261561b565b615734565b82525050565b6000614e9b82856144be565b601482019150614eab8284614e78565b6020820191508190509392505050565b6000614ec782856144f3565b602082019150614ed782846144f3565b6020820191508190509392505050565b6000614ef3828561458b565b9150614eff82846145bc565b91508190509392505050565b6000602082019050614f2060008301846144af565b92915050565b6000608082019050614f3b60008301876144af565b614f4860208301866144af565b614f556040830185614e69565b8181036060830152614f67818461450a565b905095945050505050565b6000604082019050614f8760008301856144af565b614f946020830184614e69565b9392505050565b6000606082019050614fb060008301866144af565b614fbd6020830185614e69565b614fca6040830184614e69565b949350505050565b6000602082019050614fe760008301846144d5565b92915050565b600060208201905061500260008301846144e4565b92915050565b600060208201905061501d6000830184614543565b92915050565b6000602082019050818103600083015261503d8184614552565b905092915050565b6000602082019050818103600083015261505e8161463b565b9050919050565b6000602082019050818103600083015261507e816146a1565b9050919050565b6000602082019050818103600083015261509e81614707565b9050919050565b600060208201905081810360008301526150be8161476d565b9050919050565b600060208201905081810360008301526150de816147ad565b9050919050565b600060208201905081810360008301526150fe816147ed565b9050919050565b6000602082019050818103600083015261511e81614853565b9050919050565b6000602082019050818103600083015261513e81614893565b9050919050565b6000602082019050818103600083015261515e816148f9565b9050919050565b6000602082019050818103600083015261517e81614939565b9050919050565b6000602082019050818103600083015261519e8161499f565b9050919050565b600060208201905081810360008301526151be816149df565b9050919050565b600060208201905081810360008301526151de81614a45565b9050919050565b600060208201905081810360008301526151fe81614aab565b9050919050565b6000602082019050818103600083015261521e81614aeb565b9050919050565b6000602082019050818103600083015261523e81614b2b565b9050919050565b6000602082019050818103600083015261525e81614b91565b9050919050565b6000602082019050818103600083015261527e81614bd1565b9050919050565b6000602082019050818103600083015261529e81614c11565b9050919050565b600060208201905081810360008301526152be81614c77565b9050919050565b600060208201905081810360008301526152de81614cb7565b9050919050565b600060208201905081810360008301526152fe81614d1d565b9050919050565b6000602082019050818103600083015261531e81614d83565b9050919050565b6000602082019050818103600083015261533e81614de9565b9050919050565b6000602082019050818103600083015261535e81614e29565b9050919050565b600060208201905061537a6000830184614e69565b92915050565b60006040820190506153956000830185614e69565b6153a26020830184614e69565b9392505050565b6000604051905081810181811067ffffffffffffffff821117156153d0576153cf6157cb565b5b8060405250919050565b600067ffffffffffffffff8211156153f5576153f46157cb565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115615425576154246157cb565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061549d8261561b565b91506154a88361561b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154dd576154dc61573e565b5b828201905092915050565b60006154f38261561b565b91506154fe8361561b565b92508261550e5761550d61576d565b5b828204905092915050565b60006155248261561b565b915061552f8361561b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156155685761556761573e565b5b828202905092915050565b600061557e8261561b565b91506155898361561b565b92508282101561559c5761559b61573e565b5b828203905092915050565b60006155b2826155fb565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061563082615637565b9050919050565b6000615642826155fb565b9050919050565b82818337600083830152505050565b60005b8381101561567657808201518184015260208101905061565b565b83811115615685576000848401525b50505050565b600060028204905060018216806156a357607f821691505b602082108114156156b7576156b661579c565b5b50919050565b60006156c88261561b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156fb576156fa61573e565b5b600182019050919050565b600061571182615722565b9050919050565b6000819050919050565b600061572d8261580b565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615821816155a7565b811461582c57600080fd5b50565b615838816155b9565b811461584357600080fd5b50565b61584f816155c5565b811461585a57600080fd5b50565b615866816155cf565b811461587157600080fd5b50565b61587d8161561b565b811461588857600080fd5b5056fea26469706673582212205c33c368455a39512f211e2f93fae12cae524033af1e60712b5dace5a00918e164736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000004123d3da0f4d1e82196e4ff27b39461cb2a86a14000000000000000000000000000000000000000000000000000000000000000f5265646c696f6e2047617a6574746500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009524c47415a455454450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6e66742e7265646c696f6e2e6e6577732f67617a65747465732f69737375652f000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Redlion Gazette
Arg [1] : symbol (string): RLGAZETTE
Arg [2] : baseTokenURI (string): https://nft.redlion.news/gazettes/issue/
Arg [3] : deployedSubs (address): 0x4123d3Da0f4d1E82196E4fF27B39461Cb2A86A14
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000004123d3da0f4d1e82196e4ff27b39461cb2a86a14
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [5] : 5265646c696f6e2047617a657474650000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [7] : 524c47415a455454450000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [9] : 68747470733a2f2f6e66742e7265646c696f6e2e6e6577732f67617a65747465
Arg [10] : 732f69737375652f000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.