ERC-1155
Overview
Max Total Supply
20,528 WRPP
Holders
2,065
Market
Volume (24H)
0.022 ETH
Min Price (24H)
$7.82 @ 0.002000 ETH
Max Price (24H)
$78.20 @ 0.020000 ETH
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WhiteRabbitProducerPass
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)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; struct ProducerPass { uint256 price; uint256 episodeId; uint256 maxSupply; uint256 maxPerWallet; uint256 openMintTimestamp; // unix timestamp in seconds bytes32 merkleRoot; } contract WhiteRabbitProducerPass is ERC1155, ERC1155Supply, Ownable { using Strings for uint256; // The name of the token ("White Rabbit Producer Pass") string public name; // The token symbol ("WRPP") string public symbol; // The wallet addresses of the two artists creating the film address payable private artistAddress1; address payable private artistAddress2; // The wallet addresses of the three developers managing the film address payable private devAddress1; address payable private devAddress2; address payable private devAddress3; // The royalty percentages for the artists and developers uint256 private constant ARTIST_ROYALTY_PERCENTAGE = 60; uint256 private constant DEV_ROYALTY_PERCENTAGE = 40; // A mapping of the number of Producer Passes minted per episodeId per user // userPassesMintedPerTokenId[msg.sender][episodeId] => number of minted passes mapping(address => mapping(uint256 => uint256)) private userPassesMintedPerTokenId; // A mapping from episodeId to its Producer Pass mapping(uint256 => ProducerPass) private episodeToProducerPass; // Event emitted when a Producer Pass is bought event ProducerPassBought( uint256 episodeId, address indexed account, uint256 amount ); /** * @dev Initializes the contract by setting the name and the token symbol */ constructor(string memory baseURI) ERC1155(baseURI) { name = "White Rabbit Producer Pass"; symbol = "WRPP"; } /** * @dev Checks if the provided Merkle Proof is valid for the given root hash. */ function isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) internal view returns (bool) { return MerkleProof.verify( merkleProof, root, keccak256(abi.encodePacked(msg.sender)) ); } /** * @dev Retrieves the Producer Pass for a given episode. */ function getEpisodeToProducerPass(uint256 episodeId) external view returns (ProducerPass memory) { return episodeToProducerPass[episodeId]; } /** * @dev Contracts the metadata URI for the Producer Pass of the given episodeId. * * Requirements: * * - The Producer Pass exists for the given episode */ function uri(uint256 episodeId) public view override returns (string memory) { require( episodeToProducerPass[episodeId].episodeId != 0, "Invalid episode" ); return string( abi.encodePacked( super.uri(episodeId), episodeId.toString(), ".json" ) ); } /** * Owner-only methods */ /** * @dev Sets the base URI for the Producer Pass metadata. */ function setBaseURI(string memory baseURI) external onlyOwner { _setURI(baseURI); } /** * @dev Sets the parameters on the Producer Pass struct for the given episode. */ function setProducerPass( uint256 price, uint256 episodeId, uint256 maxSupply, uint256 maxPerWallet, uint256 openMintTimestamp, bytes32 merkleRoot ) external onlyOwner { episodeToProducerPass[episodeId] = ProducerPass( price, episodeId, maxSupply, maxPerWallet, openMintTimestamp, merkleRoot ); } /** * @dev Withdraws the balance and distributes it to the artists and developers * based on the `ARTIST_ROYALTY_PERCENTAGE` and `DEV_ROYALTY_PERCENTAGE`. */ function withdraw() external onlyOwner { uint256 balance = address(this).balance; uint256 artistBalance = (balance * ARTIST_ROYALTY_PERCENTAGE) / 100; uint256 balancePerArtist = artistBalance / 2; uint256 devBalance = (balance * DEV_ROYALTY_PERCENTAGE) / 100; uint256 balancePerDev = devBalance / 3; bool success; // Transfer artist balances (success, ) = artistAddress1.call{value: balancePerArtist}(""); require(success, "Withdraw unsuccessful"); (success, ) = artistAddress2.call{value: balancePerArtist}(""); require(success, "Withdraw unsuccessful"); // Transfer dev balances (success, ) = devAddress1.call{value: balancePerDev}(""); require(success, "Withdraw unsuccessful"); (success, ) = devAddress2.call{value: balancePerDev}(""); require(success, "Withdraw unsuccessful"); (success, ) = devAddress3.call{value: balancePerDev}(""); require(success, "Withdraw unsuccessful"); } /** * @dev Sets the royalty addresses for the two artists and three developers. */ function setRoyaltyAddresses( address _a1, address _a2, address _d1, address _d2, address _d3 ) external onlyOwner { artistAddress1 = payable(_a1); artistAddress2 = payable(_a2); devAddress1 = payable(_d1); devAddress2 = payable(_d2); devAddress3 = payable(_d3); } /** * @dev Creates a reserve of Producer Passes to set aside for gifting. * * Requirements: * * - There are enough Producer Passes to mint for the given episode * - The supply for the given episode does not exceed the maxSupply of the Producer Pass */ function reserveProducerPassesForGifting( uint256 episodeId, uint256 amountEachAddress, address[] calldata addresses ) public onlyOwner { ProducerPass memory pass = episodeToProducerPass[episodeId]; require(amountEachAddress > 0, "Amount cannot be 0"); require(totalSupply(episodeId) < pass.maxSupply, "No passes to mint"); require( totalSupply(episodeId) + amountEachAddress * addresses.length <= pass.maxSupply, "Cannot mint that many" ); require(addresses.length > 0, "Need addresses"); for (uint256 i = 0; i < addresses.length; i++) { address add = addresses[i]; _mint(add, episodeId, amountEachAddress, ""); } } /** * @dev Mints a set number of Producer Passes for a given episode. * * Emits a `ProducerPassBought` event indicating the Producer Pass was minted successfully. * * Requirements: * * - The current time is within the minting window for the given episode * - There are Producer Passes available to mint for the given episode * - The user is not trying to mint more than the maxSupply * - The user is not trying to mint more than the maxPerWallet * - The user has enough ETH for the transaction */ function mintProducerPass(uint256 episodeId, uint256 amount) external payable { ProducerPass memory pass = episodeToProducerPass[episodeId]; require( block.timestamp >= pass.openMintTimestamp, "Mint is not available" ); require(totalSupply(episodeId) < pass.maxSupply, "Sold out"); require( totalSupply(episodeId) + amount <= pass.maxSupply, "Cannot mint that many" ); uint256 totalMintedPasses = userPassesMintedPerTokenId[msg.sender][ episodeId ]; require( totalMintedPasses + amount <= pass.maxPerWallet, "Exceeding maximum per wallet" ); require(msg.value == pass.price * amount, "Not enough eth"); userPassesMintedPerTokenId[msg.sender][episodeId] = totalMintedPasses + amount; _mint(msg.sender, episodeId, amount, ""); emit ProducerPassBought(episodeId, msg.sender, amount); } /** * @dev For those on with early access (on the whitelist), * mints a set number of Producer Passes for a given episode. * * Emits a `ProducerPassBought` event indicating the Producer Pass was minted successfully. * * Requirements: * * - Provides a valid Merkle proof, indicating the user is on the whitelist * - There are Producer Passes available to mint for the given episode * - The user is not trying to mint more than the maxSupply * - The user is not trying to mint more than the maxPerWallet * - The user has enough ETH for the transaction */ function earlyMintProducerPass( uint256 episodeId, uint256 amount, bytes32[] calldata merkleProof ) external payable { ProducerPass memory pass = episodeToProducerPass[episodeId]; require( isValidMerkleProof(merkleProof, pass.merkleRoot), "Not authorized to mint" ); require(totalSupply(episodeId) < pass.maxSupply, "Sold out"); require( totalSupply(episodeId) + amount <= pass.maxSupply, "Cannot mint that many" ); uint256 totalMintedPasses = userPassesMintedPerTokenId[msg.sender][ episodeId ]; require( totalMintedPasses + amount <= pass.maxPerWallet, "Exceeding maximum per wallet" ); require(msg.value == pass.price * amount, "Not enough eth"); userPassesMintedPerTokenId[msg.sender][episodeId] = totalMintedPasses + amount; _mint(msg.sender, episodeId, amount, ""); emit ProducerPassBought(episodeId, msg.sender, amount); } /** * @dev Retrieves the number of Producer Passes a user has minted by episodeId. */ function userPassesMintedByEpisodeId(uint256 episodeId) external view returns (uint256) { return userPassesMintedPerTokenId[msg.sender][episodeId]; } /** * @dev Boilerplate override for `_beforeTokenTransfer` */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override(ERC1155, ERC1155Supply) { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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 // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) 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) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { 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)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"episodeId","type":"uint256"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ProducerPassBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"episodeId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"earlyMintProducerPass","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"episodeId","type":"uint256"}],"name":"getEpisodeToProducerPass","outputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"episodeId","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"openMintTimestamp","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"internalType":"struct ProducerPass","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"episodeId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintProducerPass","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"episodeId","type":"uint256"},{"internalType":"uint256","name":"amountEachAddress","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"reserveProducerPassesForGifting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"episodeId","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"openMintTimestamp","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setProducerPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_a1","type":"address"},{"internalType":"address","name":"_a2","type":"address"},{"internalType":"address","name":"_d1","type":"address"},{"internalType":"address","name":"_d2","type":"address"},{"internalType":"address","name":"_d3","type":"address"}],"name":"setRoyaltyAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"episodeId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"episodeId","type":"uint256"}],"name":"userPassesMintedByEpisodeId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620058ce380380620058ce833981810160405281019062000037919062000319565b8062000049816200010d60201b60201c565b506200006a6200005e6200012960201b60201c565b6200013160201b60201c565b6040518060400160405280601a81526020017f5768697465205261626269742050726f6475636572205061737300000000000081525060059080519060200190620000b7929190620001f7565b506040518060400160405280600481526020017f57525050000000000000000000000000000000000000000000000000000000008152506006908051906020019062000105929190620001f7565b50506200048f565b806002908051906020019062000125929190620001f7565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020590620003fb565b90600052602060002090601f01602090048101928262000229576000855562000275565b82601f106200024457805160ff191683800117855562000275565b8280016001018555821562000275579182015b828111156200027457825182559160200191906001019062000257565b5b50905062000284919062000288565b5090565b5b80821115620002a357600081600090555060010162000289565b5090565b6000620002be620002b88462000392565b6200035e565b905082815260208101848484011115620002d757600080fd5b620002e4848285620003c5565b509392505050565b600082601f830112620002fe57600080fd5b815162000310848260208601620002a7565b91505092915050565b6000602082840312156200032c57600080fd5b600082015167ffffffffffffffff8111156200034757600080fd5b6200035584828501620002ec565b91505092915050565b6000604051905081810181811067ffffffffffffffff8211171562000388576200038762000460565b5b8060405250919050565b600067ffffffffffffffff821115620003b057620003af62000460565b5b601f19601f8301169050602081019050919050565b60005b83811015620003e5578082015181840152602081019050620003c8565b83811115620003f5576000848401525b50505050565b600060028204905060018216806200041457607f821691505b602082108114156200042b576200042a62000431565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61542f806200049f6000396000f3fe60806040526004361061014a5760003560e01c8063715018a6116100b6578063bd85b0391161006f578063bd85b03914610471578063bf3b1a6a146104ae578063e985e9c5146104eb578063f242432a14610528578063f2fde38b14610551578063f8424ba11461057a5761014a565b8063715018a6146103895780638da5cb5b146103a057806395d89b41146103cb578063a22cb465146103f6578063a6a468181461041f578063a94ba10c146104485761014a565b80633ccfd60b116101085780633ccfd60b146102765780634e1273f41461028d5780634f558e79146102ca57806355f804b3146103075780635f4385561461033057806360bf2bb31461034c5761014a565b8062fdd58e1461014f57806301ffc9a71461018c57806304c8636b146101c957806306fdde03146101e55780630e89341c146102105780632eb2c2d61461024d575b600080fd5b34801561015b57600080fd5b5061017660048036038101906101719190613b3d565b6105a3565b6040516101839190614d86565b60405180910390f35b34801561019857600080fd5b506101b360048036038101906101ae9190613be5565b61066c565b6040516101c09190614a2e565b60405180910390f35b6101e360048036038101906101de9190613ca1565b61074e565b005b3480156101f157600080fd5b506101fa610a64565b6040516102079190614a49565b60405180910390f35b34801561021c57600080fd5b5061023760048036038101906102329190613c78565b610af2565b6040516102449190614a49565b60405180910390f35b34801561025957600080fd5b50610274600480360381019061026f91906139b3565b610b87565b005b34801561028257600080fd5b5061028b610c28565b005b34801561029957600080fd5b506102b460048036038101906102af9190613b79565b611115565b6040516102c191906149d5565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190613c78565b6112c6565b6040516102fe9190614a2e565b60405180910390f35b34801561031357600080fd5b5061032e60048036038101906103299190613c37565b6112da565b005b61034a60048036038101906103459190613d49565b611362565b005b34801561035857600080fd5b50610373600480360381019061036e9190613c78565b611681565b6040516103809190614d6b565b60405180910390f35b34801561039557600080fd5b5061039e6116ea565b005b3480156103ac57600080fd5b506103b5611772565b6040516103c291906148f8565b60405180910390f35b3480156103d757600080fd5b506103e061179c565b6040516103ed9190614a49565b60405180910390f35b34801561040257600080fd5b5061041d60048036038101906104189190613b01565b61182a565b005b34801561042b57600080fd5b5061044660048036038101906104419190613db5565b611840565b005b34801561045457600080fd5b5061046f600480360381019061046a9190613cdd565b611943565b005b34801561047d57600080fd5b5061049860048036038101906104939190613c78565b611bf3565b6040516104a59190614d86565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613c78565b611c10565b6040516104e29190614d86565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d9190613900565b611c6a565b60405161051f9190614a2e565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a9190613a72565b611cfe565b005b34801561055d57600080fd5b50610578600480360381019061057391906138d7565b611d9f565b005b34801561058657600080fd5b506105a1600480360381019061059c919061393c565b611e97565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060b90614aab565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061073757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061074757506107468261205f565b5b9050919050565b6000600d60008481526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905080608001514210156107f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ea90614b8b565b60405180910390fd5b806040015161080184611bf3565b10610841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083890614cab565b60405180910390fd5b80604001518261085085611bf3565b61085a9190614f3a565b111561089b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089290614d4b565b60405180910390fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858152602001908152602001600020549050816060015183826109019190614f3a565b1115610942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093990614c4b565b60405180910390fd5b8282600001516109529190614fc1565b3414610993576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098a90614b4b565b60405180910390fd5b828161099f9190614f3a565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002081905550610a0e338585604051806020016040528060008152506120c9565b3373ffffffffffffffffffffffffffffffffffffffff167f155f9791f030fe61c9eed627d8d4265ebb9dc398d0483d060294dafe0ab31c8b8585604051610a56929190614da1565b60405180910390a250505050565b60058054610a719061510f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9d9061510f565b8015610aea5780601f10610abf57610100808354040283529160200191610aea565b820191906000526020600020905b815481529060010190602001808311610acd57829003601f168201915b505050505081565b60606000600d6000848152602001908152602001600020600101541415610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4590614b2b565b60405180910390fd5b610b578261225f565b610b60836122f3565b604051602001610b719291906148b4565b6040516020818303038152906040529050919050565b610b8f6124a0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610bd55750610bd485610bcf6124a0565b611c6a565b5b610c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0b90614bcb565b60405180910390fd5b610c2185858585856124a8565b5050505050565b610c306124a0565b73ffffffffffffffffffffffffffffffffffffffff16610c4e611772565b73ffffffffffffffffffffffffffffffffffffffff1614610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90614c0b565b60405180910390fd5b600047905060006064603c83610cba9190614fc1565b610cc49190614f90565b90506000600282610cd59190614f90565b905060006064602885610ce89190614fc1565b610cf29190614f90565b90506000600382610d039190614f90565b90506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1684604051610d4d906148e3565b60006040518083038185875af1925050503d8060008114610d8a576040519150601f19603f3d011682016040523d82523d6000602084013e610d8f565b606091505b50508091505080610dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcc90614c6b565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1684604051610e1b906148e3565b60006040518083038185875af1925050503d8060008114610e58576040519150601f19603f3d011682016040523d82523d6000602084013e610e5d565b606091505b50508091505080610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a90614c6b565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610ee9906148e3565b60006040518083038185875af1925050503d8060008114610f26576040519150601f19603f3d011682016040523d82523d6000602084013e610f2b565b606091505b50508091505080610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6890614c6b565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610fb7906148e3565b60006040518083038185875af1925050503d8060008114610ff4576040519150601f19603f3d011682016040523d82523d6000602084013e610ff9565b606091505b5050809150508061103f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103690614c6b565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611085906148e3565b60006040518083038185875af1925050503d80600081146110c2576040519150601f19603f3d011682016040523d82523d6000602084013e6110c7565b606091505b5050809150508061110d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110490614c6b565b60405180910390fd5b505050505050565b6060815183511461115b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115290614ceb565b60405180910390fd5b6000835167ffffffffffffffff81111561119e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111cc5781602001602082028036833780820191505090505b50905060005b84518110156112bb57611265858281518110611217577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110611258577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516105a3565b82828151811061129e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050806112b490615141565b90506111d2565b508091505092915050565b6000806112d283611bf3565b119050919050565b6112e26124a0565b73ffffffffffffffffffffffffffffffffffffffff16611300611772565b73ffffffffffffffffffffffffffffffffffffffff1614611356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134d90614c0b565b60405180910390fd5b61135f81612808565b50565b6000600d60008681526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815260200160058201548152505090506113cf83838360a00151612822565b61140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590614b6b565b60405180910390fd5b806040015161141c86611bf3565b1061145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145390614cab565b60405180910390fd5b80604001518461146b87611bf3565b6114759190614f3a565b11156114b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ad90614d4b565b60405180910390fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000205490508160600151858261151c9190614f3a565b111561155d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155490614c4b565b60405180910390fd5b84826000015161156d9190614fc1565b34146115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a590614b4b565b60405180910390fd5b84816115ba9190614f3a565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600088815260200190815260200160002081905550611629338787604051806020016040528060008152506120c9565b3373ffffffffffffffffffffffffffffffffffffffff167f155f9791f030fe61c9eed627d8d4265ebb9dc398d0483d060294dafe0ab31c8b8787604051611671929190614da1565b60405180910390a2505050505050565b6116896134ed565b600d60008381526020019081526020016000206040518060c001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815250509050919050565b6116f26124a0565b73ffffffffffffffffffffffffffffffffffffffff16611710611772565b73ffffffffffffffffffffffffffffffffffffffff1614611766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175d90614c0b565b60405180910390fd5b611770600061289f565b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600680546117a99061510f565b80601f01602080910402602001604051908101604052809291908181526020018280546117d59061510f565b80156118225780601f106117f757610100808354040283529160200191611822565b820191906000526020600020905b81548152906001019060200180831161180557829003601f168201915b505050505081565b61183c6118356124a0565b8383612965565b5050565b6118486124a0565b73ffffffffffffffffffffffffffffffffffffffff16611866611772565b73ffffffffffffffffffffffffffffffffffffffff16146118bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b390614c0b565b60405180910390fd5b6040518060c0016040528087815260200186815260200185815260200184815260200183815260200182815250600d6000878152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050155905050505050505050565b61194b6124a0565b73ffffffffffffffffffffffffffffffffffffffff16611969611772565b73ffffffffffffffffffffffffffffffffffffffff16146119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690614c0b565b60405180910390fd5b6000600d60008681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905060008411611a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5790614c2b565b60405180910390fd5b8060400151611a6e86611bf3565b10611aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa590614c8b565b60405180910390fd5b80604001518383905085611ac29190614fc1565b611acb87611bf3565b611ad59190614f3a565b1115611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d90614d4b565b60405180910390fd5b60008383905011611b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5390614aeb565b60405180910390fd5b60005b83839050811015611beb576000848483818110611ba5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611bba91906138d7565b9050611bd7818888604051806020016040528060008152506120c9565b508080611be390615141565b915050611b5f565b505050505050565b600060036000838152602001908152602001600020549050919050565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d066124a0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611d4c5750611d4b85611d466124a0565b611c6a565b5b611d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8290614b0b565b60405180910390fd5b611d988585858585612ad2565b5050505050565b611da76124a0565b73ffffffffffffffffffffffffffffffffffffffff16611dc5611772565b73ffffffffffffffffffffffffffffffffffffffff1614611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1290614c0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8290614acb565b60405180910390fd5b611e948161289f565b50565b611e9f6124a0565b73ffffffffffffffffffffffffffffffffffffffff16611ebd611772565b73ffffffffffffffffffffffffffffffffffffffff1614611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a90614c0b565b60405180910390fd5b84600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612139576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213090614d2b565b60405180910390fd5b60006121436124a0565b90506121648160008761215588612d54565b61215e88612d54565b87612e1a565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121c39190614f3a565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612241929190614da1565b60405180910390a461225881600087878787612e30565b5050505050565b60606002805461226e9061510f565b80601f016020809104026020016040519081016040528092919081815260200182805461229a9061510f565b80156122e75780601f106122bc576101008083540402835291602001916122e7565b820191906000526020600020905b8154815290600101906020018083116122ca57829003601f168201915b50505050509050919050565b6060600082141561233b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061249b565b600082905060005b6000821461236d57808061235690615141565b915050600a826123669190614f90565b9150612343565b60008167ffffffffffffffff8111156123af577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123e15781602001600182028036833780820191505090505b5090505b60008514612494576001826123fa919061501b565b9150600a8561240991906151b8565b60306124159190614f3a565b60f81b818381518110612451577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561248d9190614f90565b94506123e5565b8093505050505b919050565b600033905090565b81518351146124ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e390614d0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561255c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255390614bab565b60405180910390fd5b60006125666124a0565b9050612576818787878787612e1a565b60005b84518110156127735760008582815181106125bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110612602577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156126a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269a90614beb565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127589190614f3a565b925050819055505050508061276c90615141565b9050612579565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516127ea9291906149f7565b60405180910390a4612800818787878787613000565b505050505050565b806002908051906020019061281e929190613526565b5050565b6000612896848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050833360405160200161287b919061486d565b604051602081830303815290604052805190602001206131d0565b90509392505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cb90614ccb565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ac59190614a2e565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3990614bab565b60405180910390fd5b6000612b4c6124a0565b9050612b6c818787612b5d88612d54565b612b6688612d54565b87612e1a565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfa90614beb565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cb89190614f3a565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612d35929190614da1565b60405180910390a4612d4b828888888888612e30565b50505050505050565b60606000600167ffffffffffffffff811115612d99577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612dc75781602001602082028036833780820191505090505b5090508281600081518110612e05577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612e288686868686866131e7565b505050505050565b612e4f8473ffffffffffffffffffffffffffffffffffffffff166133f9565b15612ff8578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612e9595949392919061497b565b602060405180830381600087803b158015612eaf57600080fd5b505af1925050508015612ee057506040513d601f19601f82011682018060405250810190612edd9190613c0e565b60015b612f6f57612eec6152d0565b80612ef75750612f34565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2b9190614a49565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6690614a6b565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fed90614a8b565b60405180910390fd5b505b505050505050565b61301f8473ffffffffffffffffffffffffffffffffffffffff166133f9565b156131c8578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401613065959493929190614913565b602060405180830381600087803b15801561307f57600080fd5b505af19250505080156130b057506040513d601f19601f820116820180604052508101906130ad9190613c0e565b60015b61313f576130bc6152d0565b806130c75750613104565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130fb9190614a49565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313690614a6b565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146131c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bd90614a8b565b60405180910390fd5b505b505050505050565b6000826131dd858461340c565b1490509392505050565b6131f58686868686866134e5565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156132f35760005b83518110156132f15782818151811061326f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600360008684815181106132b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546132d99190614f3a565b92505081905550806132ea90615141565b905061322d565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156133f15760005b83518110156133ef5782818151811061336d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600360008684815181106133b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546133d7919061501b565b92505081905550806133e890615141565b905061332b565b505b505050505050565b600080823b905060008111915050919050565b60008082905060005b84518110156134da576000858281518110613459577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161349a57828160405160200161347d929190614888565b6040516020818303038152906040528051906020012092506134c6565b80836040516020016134ad929190614888565b6040516020818303038152906040528051906020012092505b5080806134d290615141565b915050613415565b508091505092915050565b505050505050565b6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600080191681525090565b8280546135329061510f565b90600052602060002090601f016020900481019282613554576000855561359b565b82601f1061356d57805160ff191683800117855561359b565b8280016001018555821561359b579182015b8281111561359a57825182559160200191906001019061357f565b5b5090506135a891906135ac565b5090565b5b808211156135c55760008160009055506001016135ad565b5090565b60006135dc6135d784614dfb565b614dca565b905080838252602082019050828560208602820111156135fb57600080fd5b60005b8581101561362b5781613611888261371d565b8452602084019350602083019250506001810190506135fe565b5050509392505050565b600061364861364384614e27565b614dca565b9050808382526020820190508285602086028201111561366757600080fd5b60005b85811015613697578161367d88826138c2565b84526020840193506020830192505060018101905061366a565b5050509392505050565b60006136b46136af84614e53565b614dca565b9050828152602081018484840111156136cc57600080fd5b6136d78482856150cd565b509392505050565b60006136f26136ed84614e83565b614dca565b90508281526020810184848401111561370a57600080fd5b6137158482856150cd565b509392505050565b60008135905061372c81615386565b92915050565b60008083601f84011261374457600080fd5b8235905067ffffffffffffffff81111561375d57600080fd5b60208301915083602082028301111561377557600080fd5b9250929050565b600082601f83011261378d57600080fd5b813561379d8482602086016135c9565b91505092915050565b60008083601f8401126137b857600080fd5b8235905067ffffffffffffffff8111156137d157600080fd5b6020830191508360208202830111156137e957600080fd5b9250929050565b600082601f83011261380157600080fd5b8135613811848260208601613635565b91505092915050565b6000813590506138298161539d565b92915050565b60008135905061383e816153b4565b92915050565b600081359050613853816153cb565b92915050565b600081519050613868816153cb565b92915050565b600082601f83011261387f57600080fd5b813561388f8482602086016136a1565b91505092915050565b600082601f8301126138a957600080fd5b81356138b98482602086016136df565b91505092915050565b6000813590506138d1816153e2565b92915050565b6000602082840312156138e957600080fd5b60006138f78482850161371d565b91505092915050565b6000806040838503121561391357600080fd5b60006139218582860161371d565b92505060206139328582860161371d565b9150509250929050565b600080600080600060a0868803121561395457600080fd5b60006139628882890161371d565b95505060206139738882890161371d565b94505060406139848882890161371d565b93505060606139958882890161371d565b92505060806139a68882890161371d565b9150509295509295909350565b600080600080600060a086880312156139cb57600080fd5b60006139d98882890161371d565b95505060206139ea8882890161371d565b945050604086013567ffffffffffffffff811115613a0757600080fd5b613a13888289016137f0565b935050606086013567ffffffffffffffff811115613a3057600080fd5b613a3c888289016137f0565b925050608086013567ffffffffffffffff811115613a5957600080fd5b613a658882890161386e565b9150509295509295909350565b600080600080600060a08688031215613a8a57600080fd5b6000613a988882890161371d565b9550506020613aa98882890161371d565b9450506040613aba888289016138c2565b9350506060613acb888289016138c2565b925050608086013567ffffffffffffffff811115613ae857600080fd5b613af48882890161386e565b9150509295509295909350565b60008060408385031215613b1457600080fd5b6000613b228582860161371d565b9250506020613b338582860161381a565b9150509250929050565b60008060408385031215613b5057600080fd5b6000613b5e8582860161371d565b9250506020613b6f858286016138c2565b9150509250929050565b60008060408385031215613b8c57600080fd5b600083013567ffffffffffffffff811115613ba657600080fd5b613bb28582860161377c565b925050602083013567ffffffffffffffff811115613bcf57600080fd5b613bdb858286016137f0565b9150509250929050565b600060208284031215613bf757600080fd5b6000613c0584828501613844565b91505092915050565b600060208284031215613c2057600080fd5b6000613c2e84828501613859565b91505092915050565b600060208284031215613c4957600080fd5b600082013567ffffffffffffffff811115613c6357600080fd5b613c6f84828501613898565b91505092915050565b600060208284031215613c8a57600080fd5b6000613c98848285016138c2565b91505092915050565b60008060408385031215613cb457600080fd5b6000613cc2858286016138c2565b9250506020613cd3858286016138c2565b9150509250929050565b60008060008060608587031215613cf357600080fd5b6000613d01878288016138c2565b9450506020613d12878288016138c2565b935050604085013567ffffffffffffffff811115613d2f57600080fd5b613d3b87828801613732565b925092505092959194509250565b60008060008060608587031215613d5f57600080fd5b6000613d6d878288016138c2565b9450506020613d7e878288016138c2565b935050604085013567ffffffffffffffff811115613d9b57600080fd5b613da7878288016137a6565b925092505092959194509250565b60008060008060008060c08789031215613dce57600080fd5b6000613ddc89828a016138c2565b9650506020613ded89828a016138c2565b9550506040613dfe89828a016138c2565b9450506060613e0f89828a016138c2565b9350506080613e2089828a016138c2565b92505060a0613e3189828a0161382f565b9150509295509295509295565b6000613e4a838361484f565b60208301905092915050565b613e5f8161504f565b82525050565b613e76613e718261504f565b61518a565b82525050565b6000613e8782614ec3565b613e918185614ef1565b9350613e9c83614eb3565b8060005b83811015613ecd578151613eb48882613e3e565b9750613ebf83614ee4565b925050600181019050613ea0565b5085935050505092915050565b613ee381615061565b82525050565b613ef28161506d565b82525050565b613f09613f048261506d565b61519c565b82525050565b6000613f1a82614ece565b613f248185614f02565b9350613f348185602086016150dc565b613f3d816152a5565b840191505092915050565b6000613f5382614ed9565b613f5d8185614f1e565b9350613f6d8185602086016150dc565b613f76816152a5565b840191505092915050565b6000613f8c82614ed9565b613f968185614f2f565b9350613fa68185602086016150dc565b80840191505092915050565b6000613fbf603483614f1e565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b6000614025602883614f1e565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b600061408b602b83614f1e565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b60006140f1602683614f1e565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614157600e83614f1e565b91507f4e656564206164647265737365730000000000000000000000000000000000006000830152602082019050919050565b6000614197602983614f1e565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b60006141fd600f83614f1e565b91507f496e76616c696420657069736f646500000000000000000000000000000000006000830152602082019050919050565b600061423d600e83614f1e565b91507f4e6f7420656e6f756768206574680000000000000000000000000000000000006000830152602082019050919050565b600061427d601683614f1e565b91507f4e6f7420617574686f72697a656420746f206d696e74000000000000000000006000830152602082019050919050565b60006142bd601583614f1e565b91507f4d696e74206973206e6f7420617661696c61626c6500000000000000000000006000830152602082019050919050565b60006142fd602583614f1e565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614363603283614f1e565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b60006143c9602a83614f1e565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b600061442f600583614f2f565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b600061446f602083614f1e565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006144af601283614f1e565b91507f416d6f756e742063616e6e6f74206265203000000000000000000000000000006000830152602082019050919050565b60006144ef601c83614f1e565b91507f457863656564696e67206d6178696d756d207065722077616c6c6574000000006000830152602082019050919050565b600061452f601583614f1e565b91507f576974686472617720756e7375636365737366756c00000000000000000000006000830152602082019050919050565b600061456f601183614f1e565b91507f4e6f2070617373657320746f206d696e740000000000000000000000000000006000830152602082019050919050565b60006145af600083614f13565b9150600082019050919050565b60006145c9600883614f1e565b91507f536f6c64206f75740000000000000000000000000000000000000000000000006000830152602082019050919050565b6000614609602983614f1e565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b600061466f602983614f1e565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b60006146d5602883614f1e565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b600061473b602183614f1e565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147a1601583614f1e565b91507f43616e6e6f74206d696e742074686174206d616e7900000000000000000000006000830152602082019050919050565b60c0820160008201516147ea600085018261484f565b5060208201516147fd602085018261484f565b506040820151614810604085018261484f565b506060820151614823606085018261484f565b506080820151614836608085018261484f565b5060a082015161484960a0850182613ee9565b50505050565b614858816150c3565b82525050565b614867816150c3565b82525050565b60006148798284613e65565b60148201915081905092915050565b60006148948285613ef8565b6020820191506148a48284613ef8565b6020820191508190509392505050565b60006148c08285613f81565b91506148cc8284613f81565b91506148d782614422565b91508190509392505050565b60006148ee826145a2565b9150819050919050565b600060208201905061490d6000830184613e56565b92915050565b600060a0820190506149286000830188613e56565b6149356020830187613e56565b81810360408301526149478186613e7c565b9050818103606083015261495b8185613e7c565b9050818103608083015261496f8184613f0f565b90509695505050505050565b600060a0820190506149906000830188613e56565b61499d6020830187613e56565b6149aa604083018661485e565b6149b7606083018561485e565b81810360808301526149c98184613f0f565b90509695505050505050565b600060208201905081810360008301526149ef8184613e7c565b905092915050565b60006040820190508181036000830152614a118185613e7c565b90508181036020830152614a258184613e7c565b90509392505050565b6000602082019050614a436000830184613eda565b92915050565b60006020820190508181036000830152614a638184613f48565b905092915050565b60006020820190508181036000830152614a8481613fb2565b9050919050565b60006020820190508181036000830152614aa481614018565b9050919050565b60006020820190508181036000830152614ac48161407e565b9050919050565b60006020820190508181036000830152614ae4816140e4565b9050919050565b60006020820190508181036000830152614b048161414a565b9050919050565b60006020820190508181036000830152614b248161418a565b9050919050565b60006020820190508181036000830152614b44816141f0565b9050919050565b60006020820190508181036000830152614b6481614230565b9050919050565b60006020820190508181036000830152614b8481614270565b9050919050565b60006020820190508181036000830152614ba4816142b0565b9050919050565b60006020820190508181036000830152614bc4816142f0565b9050919050565b60006020820190508181036000830152614be481614356565b9050919050565b60006020820190508181036000830152614c04816143bc565b9050919050565b60006020820190508181036000830152614c2481614462565b9050919050565b60006020820190508181036000830152614c44816144a2565b9050919050565b60006020820190508181036000830152614c64816144e2565b9050919050565b60006020820190508181036000830152614c8481614522565b9050919050565b60006020820190508181036000830152614ca481614562565b9050919050565b60006020820190508181036000830152614cc4816145bc565b9050919050565b60006020820190508181036000830152614ce4816145fc565b9050919050565b60006020820190508181036000830152614d0481614662565b9050919050565b60006020820190508181036000830152614d24816146c8565b9050919050565b60006020820190508181036000830152614d448161472e565b9050919050565b60006020820190508181036000830152614d6481614794565b9050919050565b600060c082019050614d8060008301846147d4565b92915050565b6000602082019050614d9b600083018461485e565b92915050565b6000604082019050614db6600083018561485e565b614dc3602083018461485e565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715614df157614df0615276565b5b8060405250919050565b600067ffffffffffffffff821115614e1657614e15615276565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614e4257614e41615276565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614e6e57614e6d615276565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614e9e57614e9d615276565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f45826150c3565b9150614f50836150c3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f8557614f846151e9565b5b828201905092915050565b6000614f9b826150c3565b9150614fa6836150c3565b925082614fb657614fb5615218565b5b828204905092915050565b6000614fcc826150c3565b9150614fd7836150c3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150105761500f6151e9565b5b828202905092915050565b6000615026826150c3565b9150615031836150c3565b925082821015615044576150436151e9565b5b828203905092915050565b600061505a826150a3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156150fa5780820151818401526020810190506150df565b83811115615109576000848401525b50505050565b6000600282049050600182168061512757607f821691505b6020821081141561513b5761513a615247565b5b50919050565b600061514c826150c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561517f5761517e6151e9565b5b600182019050919050565b6000615195826151a6565b9050919050565b6000819050919050565b60006151b1826152b6565b9050919050565b60006151c3826150c3565b91506151ce836150c3565b9250826151de576151dd615218565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b600060443d10156152e057615383565b60046000803e6152f16000516152c3565b6308c379a081146153025750615383565b60405160043d036004823e80513d602482011167ffffffffffffffff8211171561532e57505050615383565b808201805167ffffffffffffffff81111561534d575050505050615383565b8060208301013d850181111561536857505050505050615383565b615371826152a5565b60208401016040528296505050505050505b90565b61538f8161504f565b811461539a57600080fd5b50565b6153a681615061565b81146153b157600080fd5b50565b6153bd8161506d565b81146153c857600080fd5b50565b6153d481615077565b81146153df57600080fd5b50565b6153eb816150c3565b81146153f657600080fd5b5056fea2646970667358221220a0130b90d507d0712798d573eae0d562607ae76400787b787bf2ae9e224223ad64736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003161723a2f2f655863776c62735631426952474373474b586136304d6a30692d78445a55306b39356c5f79734e77765f772f000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061014a5760003560e01c8063715018a6116100b6578063bd85b0391161006f578063bd85b03914610471578063bf3b1a6a146104ae578063e985e9c5146104eb578063f242432a14610528578063f2fde38b14610551578063f8424ba11461057a5761014a565b8063715018a6146103895780638da5cb5b146103a057806395d89b41146103cb578063a22cb465146103f6578063a6a468181461041f578063a94ba10c146104485761014a565b80633ccfd60b116101085780633ccfd60b146102765780634e1273f41461028d5780634f558e79146102ca57806355f804b3146103075780635f4385561461033057806360bf2bb31461034c5761014a565b8062fdd58e1461014f57806301ffc9a71461018c57806304c8636b146101c957806306fdde03146101e55780630e89341c146102105780632eb2c2d61461024d575b600080fd5b34801561015b57600080fd5b5061017660048036038101906101719190613b3d565b6105a3565b6040516101839190614d86565b60405180910390f35b34801561019857600080fd5b506101b360048036038101906101ae9190613be5565b61066c565b6040516101c09190614a2e565b60405180910390f35b6101e360048036038101906101de9190613ca1565b61074e565b005b3480156101f157600080fd5b506101fa610a64565b6040516102079190614a49565b60405180910390f35b34801561021c57600080fd5b5061023760048036038101906102329190613c78565b610af2565b6040516102449190614a49565b60405180910390f35b34801561025957600080fd5b50610274600480360381019061026f91906139b3565b610b87565b005b34801561028257600080fd5b5061028b610c28565b005b34801561029957600080fd5b506102b460048036038101906102af9190613b79565b611115565b6040516102c191906149d5565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190613c78565b6112c6565b6040516102fe9190614a2e565b60405180910390f35b34801561031357600080fd5b5061032e60048036038101906103299190613c37565b6112da565b005b61034a60048036038101906103459190613d49565b611362565b005b34801561035857600080fd5b50610373600480360381019061036e9190613c78565b611681565b6040516103809190614d6b565b60405180910390f35b34801561039557600080fd5b5061039e6116ea565b005b3480156103ac57600080fd5b506103b5611772565b6040516103c291906148f8565b60405180910390f35b3480156103d757600080fd5b506103e061179c565b6040516103ed9190614a49565b60405180910390f35b34801561040257600080fd5b5061041d60048036038101906104189190613b01565b61182a565b005b34801561042b57600080fd5b5061044660048036038101906104419190613db5565b611840565b005b34801561045457600080fd5b5061046f600480360381019061046a9190613cdd565b611943565b005b34801561047d57600080fd5b5061049860048036038101906104939190613c78565b611bf3565b6040516104a59190614d86565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613c78565b611c10565b6040516104e29190614d86565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d9190613900565b611c6a565b60405161051f9190614a2e565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a9190613a72565b611cfe565b005b34801561055d57600080fd5b50610578600480360381019061057391906138d7565b611d9f565b005b34801561058657600080fd5b506105a1600480360381019061059c919061393c565b611e97565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060b90614aab565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061073757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061074757506107468261205f565b5b9050919050565b6000600d60008481526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905080608001514210156107f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ea90614b8b565b60405180910390fd5b806040015161080184611bf3565b10610841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083890614cab565b60405180910390fd5b80604001518261085085611bf3565b61085a9190614f3a565b111561089b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089290614d4b565b60405180910390fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858152602001908152602001600020549050816060015183826109019190614f3a565b1115610942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093990614c4b565b60405180910390fd5b8282600001516109529190614fc1565b3414610993576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098a90614b4b565b60405180910390fd5b828161099f9190614f3a565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002081905550610a0e338585604051806020016040528060008152506120c9565b3373ffffffffffffffffffffffffffffffffffffffff167f155f9791f030fe61c9eed627d8d4265ebb9dc398d0483d060294dafe0ab31c8b8585604051610a56929190614da1565b60405180910390a250505050565b60058054610a719061510f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9d9061510f565b8015610aea5780601f10610abf57610100808354040283529160200191610aea565b820191906000526020600020905b815481529060010190602001808311610acd57829003601f168201915b505050505081565b60606000600d6000848152602001908152602001600020600101541415610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4590614b2b565b60405180910390fd5b610b578261225f565b610b60836122f3565b604051602001610b719291906148b4565b6040516020818303038152906040529050919050565b610b8f6124a0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610bd55750610bd485610bcf6124a0565b611c6a565b5b610c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0b90614bcb565b60405180910390fd5b610c2185858585856124a8565b5050505050565b610c306124a0565b73ffffffffffffffffffffffffffffffffffffffff16610c4e611772565b73ffffffffffffffffffffffffffffffffffffffff1614610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90614c0b565b60405180910390fd5b600047905060006064603c83610cba9190614fc1565b610cc49190614f90565b90506000600282610cd59190614f90565b905060006064602885610ce89190614fc1565b610cf29190614f90565b90506000600382610d039190614f90565b90506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1684604051610d4d906148e3565b60006040518083038185875af1925050503d8060008114610d8a576040519150601f19603f3d011682016040523d82523d6000602084013e610d8f565b606091505b50508091505080610dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcc90614c6b565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1684604051610e1b906148e3565b60006040518083038185875af1925050503d8060008114610e58576040519150601f19603f3d011682016040523d82523d6000602084013e610e5d565b606091505b50508091505080610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a90614c6b565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610ee9906148e3565b60006040518083038185875af1925050503d8060008114610f26576040519150601f19603f3d011682016040523d82523d6000602084013e610f2b565b606091505b50508091505080610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6890614c6b565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610fb7906148e3565b60006040518083038185875af1925050503d8060008114610ff4576040519150601f19603f3d011682016040523d82523d6000602084013e610ff9565b606091505b5050809150508061103f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103690614c6b565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611085906148e3565b60006040518083038185875af1925050503d80600081146110c2576040519150601f19603f3d011682016040523d82523d6000602084013e6110c7565b606091505b5050809150508061110d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110490614c6b565b60405180910390fd5b505050505050565b6060815183511461115b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115290614ceb565b60405180910390fd5b6000835167ffffffffffffffff81111561119e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111cc5781602001602082028036833780820191505090505b50905060005b84518110156112bb57611265858281518110611217577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110611258577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516105a3565b82828151811061129e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050806112b490615141565b90506111d2565b508091505092915050565b6000806112d283611bf3565b119050919050565b6112e26124a0565b73ffffffffffffffffffffffffffffffffffffffff16611300611772565b73ffffffffffffffffffffffffffffffffffffffff1614611356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134d90614c0b565b60405180910390fd5b61135f81612808565b50565b6000600d60008681526020019081526020016000206040518060c0016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820154815260200160058201548152505090506113cf83838360a00151612822565b61140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590614b6b565b60405180910390fd5b806040015161141c86611bf3565b1061145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145390614cab565b60405180910390fd5b80604001518461146b87611bf3565b6114759190614f3a565b11156114b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ad90614d4b565b60405180910390fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000205490508160600151858261151c9190614f3a565b111561155d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155490614c4b565b60405180910390fd5b84826000015161156d9190614fc1565b34146115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a590614b4b565b60405180910390fd5b84816115ba9190614f3a565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600088815260200190815260200160002081905550611629338787604051806020016040528060008152506120c9565b3373ffffffffffffffffffffffffffffffffffffffff167f155f9791f030fe61c9eed627d8d4265ebb9dc398d0483d060294dafe0ab31c8b8787604051611671929190614da1565b60405180910390a2505050505050565b6116896134ed565b600d60008381526020019081526020016000206040518060c001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815250509050919050565b6116f26124a0565b73ffffffffffffffffffffffffffffffffffffffff16611710611772565b73ffffffffffffffffffffffffffffffffffffffff1614611766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175d90614c0b565b60405180910390fd5b611770600061289f565b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600680546117a99061510f565b80601f01602080910402602001604051908101604052809291908181526020018280546117d59061510f565b80156118225780601f106117f757610100808354040283529160200191611822565b820191906000526020600020905b81548152906001019060200180831161180557829003601f168201915b505050505081565b61183c6118356124a0565b8383612965565b5050565b6118486124a0565b73ffffffffffffffffffffffffffffffffffffffff16611866611772565b73ffffffffffffffffffffffffffffffffffffffff16146118bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b390614c0b565b60405180910390fd5b6040518060c0016040528087815260200186815260200185815260200184815260200183815260200182815250600d6000878152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050155905050505050505050565b61194b6124a0565b73ffffffffffffffffffffffffffffffffffffffff16611969611772565b73ffffffffffffffffffffffffffffffffffffffff16146119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690614c0b565b60405180910390fd5b6000600d60008681526020019081526020016000206040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905060008411611a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5790614c2b565b60405180910390fd5b8060400151611a6e86611bf3565b10611aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa590614c8b565b60405180910390fd5b80604001518383905085611ac29190614fc1565b611acb87611bf3565b611ad59190614f3a565b1115611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d90614d4b565b60405180910390fd5b60008383905011611b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5390614aeb565b60405180910390fd5b60005b83839050811015611beb576000848483818110611ba5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611bba91906138d7565b9050611bd7818888604051806020016040528060008152506120c9565b508080611be390615141565b915050611b5f565b505050505050565b600060036000838152602001908152602001600020549050919050565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d066124a0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611d4c5750611d4b85611d466124a0565b611c6a565b5b611d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8290614b0b565b60405180910390fd5b611d988585858585612ad2565b5050505050565b611da76124a0565b73ffffffffffffffffffffffffffffffffffffffff16611dc5611772565b73ffffffffffffffffffffffffffffffffffffffff1614611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1290614c0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8290614acb565b60405180910390fd5b611e948161289f565b50565b611e9f6124a0565b73ffffffffffffffffffffffffffffffffffffffff16611ebd611772565b73ffffffffffffffffffffffffffffffffffffffff1614611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a90614c0b565b60405180910390fd5b84600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612139576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213090614d2b565b60405180910390fd5b60006121436124a0565b90506121648160008761215588612d54565b61215e88612d54565b87612e1a565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121c39190614f3a565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612241929190614da1565b60405180910390a461225881600087878787612e30565b5050505050565b60606002805461226e9061510f565b80601f016020809104026020016040519081016040528092919081815260200182805461229a9061510f565b80156122e75780601f106122bc576101008083540402835291602001916122e7565b820191906000526020600020905b8154815290600101906020018083116122ca57829003601f168201915b50505050509050919050565b6060600082141561233b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061249b565b600082905060005b6000821461236d57808061235690615141565b915050600a826123669190614f90565b9150612343565b60008167ffffffffffffffff8111156123af577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123e15781602001600182028036833780820191505090505b5090505b60008514612494576001826123fa919061501b565b9150600a8561240991906151b8565b60306124159190614f3a565b60f81b818381518110612451577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561248d9190614f90565b94506123e5565b8093505050505b919050565b600033905090565b81518351146124ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e390614d0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561255c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255390614bab565b60405180910390fd5b60006125666124a0565b9050612576818787878787612e1a565b60005b84518110156127735760008582815181106125bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110612602577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156126a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269a90614beb565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127589190614f3a565b925050819055505050508061276c90615141565b9050612579565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516127ea9291906149f7565b60405180910390a4612800818787878787613000565b505050505050565b806002908051906020019061281e929190613526565b5050565b6000612896848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050833360405160200161287b919061486d565b604051602081830303815290604052805190602001206131d0565b90509392505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cb90614ccb565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ac59190614a2e565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3990614bab565b60405180910390fd5b6000612b4c6124a0565b9050612b6c818787612b5d88612d54565b612b6688612d54565b87612e1a565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfa90614beb565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cb89190614f3a565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612d35929190614da1565b60405180910390a4612d4b828888888888612e30565b50505050505050565b60606000600167ffffffffffffffff811115612d99577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612dc75781602001602082028036833780820191505090505b5090508281600081518110612e05577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612e288686868686866131e7565b505050505050565b612e4f8473ffffffffffffffffffffffffffffffffffffffff166133f9565b15612ff8578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612e9595949392919061497b565b602060405180830381600087803b158015612eaf57600080fd5b505af1925050508015612ee057506040513d601f19601f82011682018060405250810190612edd9190613c0e565b60015b612f6f57612eec6152d0565b80612ef75750612f34565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2b9190614a49565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6690614a6b565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fed90614a8b565b60405180910390fd5b505b505050505050565b61301f8473ffffffffffffffffffffffffffffffffffffffff166133f9565b156131c8578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401613065959493929190614913565b602060405180830381600087803b15801561307f57600080fd5b505af19250505080156130b057506040513d601f19601f820116820180604052508101906130ad9190613c0e565b60015b61313f576130bc6152d0565b806130c75750613104565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130fb9190614a49565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313690614a6b565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146131c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bd90614a8b565b60405180910390fd5b505b505050505050565b6000826131dd858461340c565b1490509392505050565b6131f58686868686866134e5565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156132f35760005b83518110156132f15782818151811061326f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600360008684815181106132b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546132d99190614f3a565b92505081905550806132ea90615141565b905061322d565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156133f15760005b83518110156133ef5782818151811061336d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600360008684815181106133b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546133d7919061501b565b92505081905550806133e890615141565b905061332b565b505b505050505050565b600080823b905060008111915050919050565b60008082905060005b84518110156134da576000858281518110613459577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161349a57828160405160200161347d929190614888565b6040516020818303038152906040528051906020012092506134c6565b80836040516020016134ad929190614888565b6040516020818303038152906040528051906020012092505b5080806134d290615141565b915050613415565b508091505092915050565b505050505050565b6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600080191681525090565b8280546135329061510f565b90600052602060002090601f016020900481019282613554576000855561359b565b82601f1061356d57805160ff191683800117855561359b565b8280016001018555821561359b579182015b8281111561359a57825182559160200191906001019061357f565b5b5090506135a891906135ac565b5090565b5b808211156135c55760008160009055506001016135ad565b5090565b60006135dc6135d784614dfb565b614dca565b905080838252602082019050828560208602820111156135fb57600080fd5b60005b8581101561362b5781613611888261371d565b8452602084019350602083019250506001810190506135fe565b5050509392505050565b600061364861364384614e27565b614dca565b9050808382526020820190508285602086028201111561366757600080fd5b60005b85811015613697578161367d88826138c2565b84526020840193506020830192505060018101905061366a565b5050509392505050565b60006136b46136af84614e53565b614dca565b9050828152602081018484840111156136cc57600080fd5b6136d78482856150cd565b509392505050565b60006136f26136ed84614e83565b614dca565b90508281526020810184848401111561370a57600080fd5b6137158482856150cd565b509392505050565b60008135905061372c81615386565b92915050565b60008083601f84011261374457600080fd5b8235905067ffffffffffffffff81111561375d57600080fd5b60208301915083602082028301111561377557600080fd5b9250929050565b600082601f83011261378d57600080fd5b813561379d8482602086016135c9565b91505092915050565b60008083601f8401126137b857600080fd5b8235905067ffffffffffffffff8111156137d157600080fd5b6020830191508360208202830111156137e957600080fd5b9250929050565b600082601f83011261380157600080fd5b8135613811848260208601613635565b91505092915050565b6000813590506138298161539d565b92915050565b60008135905061383e816153b4565b92915050565b600081359050613853816153cb565b92915050565b600081519050613868816153cb565b92915050565b600082601f83011261387f57600080fd5b813561388f8482602086016136a1565b91505092915050565b600082601f8301126138a957600080fd5b81356138b98482602086016136df565b91505092915050565b6000813590506138d1816153e2565b92915050565b6000602082840312156138e957600080fd5b60006138f78482850161371d565b91505092915050565b6000806040838503121561391357600080fd5b60006139218582860161371d565b92505060206139328582860161371d565b9150509250929050565b600080600080600060a0868803121561395457600080fd5b60006139628882890161371d565b95505060206139738882890161371d565b94505060406139848882890161371d565b93505060606139958882890161371d565b92505060806139a68882890161371d565b9150509295509295909350565b600080600080600060a086880312156139cb57600080fd5b60006139d98882890161371d565b95505060206139ea8882890161371d565b945050604086013567ffffffffffffffff811115613a0757600080fd5b613a13888289016137f0565b935050606086013567ffffffffffffffff811115613a3057600080fd5b613a3c888289016137f0565b925050608086013567ffffffffffffffff811115613a5957600080fd5b613a658882890161386e565b9150509295509295909350565b600080600080600060a08688031215613a8a57600080fd5b6000613a988882890161371d565b9550506020613aa98882890161371d565b9450506040613aba888289016138c2565b9350506060613acb888289016138c2565b925050608086013567ffffffffffffffff811115613ae857600080fd5b613af48882890161386e565b9150509295509295909350565b60008060408385031215613b1457600080fd5b6000613b228582860161371d565b9250506020613b338582860161381a565b9150509250929050565b60008060408385031215613b5057600080fd5b6000613b5e8582860161371d565b9250506020613b6f858286016138c2565b9150509250929050565b60008060408385031215613b8c57600080fd5b600083013567ffffffffffffffff811115613ba657600080fd5b613bb28582860161377c565b925050602083013567ffffffffffffffff811115613bcf57600080fd5b613bdb858286016137f0565b9150509250929050565b600060208284031215613bf757600080fd5b6000613c0584828501613844565b91505092915050565b600060208284031215613c2057600080fd5b6000613c2e84828501613859565b91505092915050565b600060208284031215613c4957600080fd5b600082013567ffffffffffffffff811115613c6357600080fd5b613c6f84828501613898565b91505092915050565b600060208284031215613c8a57600080fd5b6000613c98848285016138c2565b91505092915050565b60008060408385031215613cb457600080fd5b6000613cc2858286016138c2565b9250506020613cd3858286016138c2565b9150509250929050565b60008060008060608587031215613cf357600080fd5b6000613d01878288016138c2565b9450506020613d12878288016138c2565b935050604085013567ffffffffffffffff811115613d2f57600080fd5b613d3b87828801613732565b925092505092959194509250565b60008060008060608587031215613d5f57600080fd5b6000613d6d878288016138c2565b9450506020613d7e878288016138c2565b935050604085013567ffffffffffffffff811115613d9b57600080fd5b613da7878288016137a6565b925092505092959194509250565b60008060008060008060c08789031215613dce57600080fd5b6000613ddc89828a016138c2565b9650506020613ded89828a016138c2565b9550506040613dfe89828a016138c2565b9450506060613e0f89828a016138c2565b9350506080613e2089828a016138c2565b92505060a0613e3189828a0161382f565b9150509295509295509295565b6000613e4a838361484f565b60208301905092915050565b613e5f8161504f565b82525050565b613e76613e718261504f565b61518a565b82525050565b6000613e8782614ec3565b613e918185614ef1565b9350613e9c83614eb3565b8060005b83811015613ecd578151613eb48882613e3e565b9750613ebf83614ee4565b925050600181019050613ea0565b5085935050505092915050565b613ee381615061565b82525050565b613ef28161506d565b82525050565b613f09613f048261506d565b61519c565b82525050565b6000613f1a82614ece565b613f248185614f02565b9350613f348185602086016150dc565b613f3d816152a5565b840191505092915050565b6000613f5382614ed9565b613f5d8185614f1e565b9350613f6d8185602086016150dc565b613f76816152a5565b840191505092915050565b6000613f8c82614ed9565b613f968185614f2f565b9350613fa68185602086016150dc565b80840191505092915050565b6000613fbf603483614f1e565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b6000614025602883614f1e565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b600061408b602b83614f1e565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b60006140f1602683614f1e565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614157600e83614f1e565b91507f4e656564206164647265737365730000000000000000000000000000000000006000830152602082019050919050565b6000614197602983614f1e565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b60006141fd600f83614f1e565b91507f496e76616c696420657069736f646500000000000000000000000000000000006000830152602082019050919050565b600061423d600e83614f1e565b91507f4e6f7420656e6f756768206574680000000000000000000000000000000000006000830152602082019050919050565b600061427d601683614f1e565b91507f4e6f7420617574686f72697a656420746f206d696e74000000000000000000006000830152602082019050919050565b60006142bd601583614f1e565b91507f4d696e74206973206e6f7420617661696c61626c6500000000000000000000006000830152602082019050919050565b60006142fd602583614f1e565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614363603283614f1e565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b60006143c9602a83614f1e565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b600061442f600583614f2f565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b600061446f602083614f1e565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006144af601283614f1e565b91507f416d6f756e742063616e6e6f74206265203000000000000000000000000000006000830152602082019050919050565b60006144ef601c83614f1e565b91507f457863656564696e67206d6178696d756d207065722077616c6c6574000000006000830152602082019050919050565b600061452f601583614f1e565b91507f576974686472617720756e7375636365737366756c00000000000000000000006000830152602082019050919050565b600061456f601183614f1e565b91507f4e6f2070617373657320746f206d696e740000000000000000000000000000006000830152602082019050919050565b60006145af600083614f13565b9150600082019050919050565b60006145c9600883614f1e565b91507f536f6c64206f75740000000000000000000000000000000000000000000000006000830152602082019050919050565b6000614609602983614f1e565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b600061466f602983614f1e565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b60006146d5602883614f1e565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b600061473b602183614f1e565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147a1601583614f1e565b91507f43616e6e6f74206d696e742074686174206d616e7900000000000000000000006000830152602082019050919050565b60c0820160008201516147ea600085018261484f565b5060208201516147fd602085018261484f565b506040820151614810604085018261484f565b506060820151614823606085018261484f565b506080820151614836608085018261484f565b5060a082015161484960a0850182613ee9565b50505050565b614858816150c3565b82525050565b614867816150c3565b82525050565b60006148798284613e65565b60148201915081905092915050565b60006148948285613ef8565b6020820191506148a48284613ef8565b6020820191508190509392505050565b60006148c08285613f81565b91506148cc8284613f81565b91506148d782614422565b91508190509392505050565b60006148ee826145a2565b9150819050919050565b600060208201905061490d6000830184613e56565b92915050565b600060a0820190506149286000830188613e56565b6149356020830187613e56565b81810360408301526149478186613e7c565b9050818103606083015261495b8185613e7c565b9050818103608083015261496f8184613f0f565b90509695505050505050565b600060a0820190506149906000830188613e56565b61499d6020830187613e56565b6149aa604083018661485e565b6149b7606083018561485e565b81810360808301526149c98184613f0f565b90509695505050505050565b600060208201905081810360008301526149ef8184613e7c565b905092915050565b60006040820190508181036000830152614a118185613e7c565b90508181036020830152614a258184613e7c565b90509392505050565b6000602082019050614a436000830184613eda565b92915050565b60006020820190508181036000830152614a638184613f48565b905092915050565b60006020820190508181036000830152614a8481613fb2565b9050919050565b60006020820190508181036000830152614aa481614018565b9050919050565b60006020820190508181036000830152614ac48161407e565b9050919050565b60006020820190508181036000830152614ae4816140e4565b9050919050565b60006020820190508181036000830152614b048161414a565b9050919050565b60006020820190508181036000830152614b248161418a565b9050919050565b60006020820190508181036000830152614b44816141f0565b9050919050565b60006020820190508181036000830152614b6481614230565b9050919050565b60006020820190508181036000830152614b8481614270565b9050919050565b60006020820190508181036000830152614ba4816142b0565b9050919050565b60006020820190508181036000830152614bc4816142f0565b9050919050565b60006020820190508181036000830152614be481614356565b9050919050565b60006020820190508181036000830152614c04816143bc565b9050919050565b60006020820190508181036000830152614c2481614462565b9050919050565b60006020820190508181036000830152614c44816144a2565b9050919050565b60006020820190508181036000830152614c64816144e2565b9050919050565b60006020820190508181036000830152614c8481614522565b9050919050565b60006020820190508181036000830152614ca481614562565b9050919050565b60006020820190508181036000830152614cc4816145bc565b9050919050565b60006020820190508181036000830152614ce4816145fc565b9050919050565b60006020820190508181036000830152614d0481614662565b9050919050565b60006020820190508181036000830152614d24816146c8565b9050919050565b60006020820190508181036000830152614d448161472e565b9050919050565b60006020820190508181036000830152614d6481614794565b9050919050565b600060c082019050614d8060008301846147d4565b92915050565b6000602082019050614d9b600083018461485e565b92915050565b6000604082019050614db6600083018561485e565b614dc3602083018461485e565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715614df157614df0615276565b5b8060405250919050565b600067ffffffffffffffff821115614e1657614e15615276565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614e4257614e41615276565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614e6e57614e6d615276565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614e9e57614e9d615276565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f45826150c3565b9150614f50836150c3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f8557614f846151e9565b5b828201905092915050565b6000614f9b826150c3565b9150614fa6836150c3565b925082614fb657614fb5615218565b5b828204905092915050565b6000614fcc826150c3565b9150614fd7836150c3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150105761500f6151e9565b5b828202905092915050565b6000615026826150c3565b9150615031836150c3565b925082821015615044576150436151e9565b5b828203905092915050565b600061505a826150a3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156150fa5780820151818401526020810190506150df565b83811115615109576000848401525b50505050565b6000600282049050600182168061512757607f821691505b6020821081141561513b5761513a615247565b5b50919050565b600061514c826150c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561517f5761517e6151e9565b5b600182019050919050565b6000615195826151a6565b9050919050565b6000819050919050565b60006151b1826152b6565b9050919050565b60006151c3826150c3565b91506151ce836150c3565b9250826151de576151dd615218565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b600060443d10156152e057615383565b60046000803e6152f16000516152c3565b6308c379a081146153025750615383565b60405160043d036004823e80513d602482011167ffffffffffffffff8211171561532e57505050615383565b808201805167ffffffffffffffff81111561534d575050505050615383565b8060208301013d850181111561536857505050505050615383565b615371826152a5565b60208401016040528296505050505050505b90565b61538f8161504f565b811461539a57600080fd5b50565b6153a681615061565b81146153b157600080fd5b50565b6153bd8161506d565b81146153c857600080fd5b50565b6153d481615077565b81146153df57600080fd5b50565b6153eb816150c3565b81146153f657600080fd5b5056fea2646970667358221220a0130b90d507d0712798d573eae0d562607ae76400787b787bf2ae9e224223ad64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003161723a2f2f655863776c62735631426952474373474b586136304d6a30692d78445a55306b39356c5f79734e77765f772f000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): ar://eXcwlbsV1BiRGCsGKXa60Mj0i-xDZU0k95l_ysNwv_w/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000031
Arg [2] : 61723a2f2f655863776c62735631426952474373474b586136304d6a30692d78
Arg [3] : 445a55306b39356c5f79734e77765f772f000000000000000000000000000000
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.