ERC-1155
Overview
Max Total Supply
1,807 MORPEU5SERIES
Holders
531
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Morpheu5Series
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // By @marcu5aurelius pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; contract Morpheu5Series is ERC1155Supply, Ownable { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private seriesCounter; // Public mapping(uint256 => Series) public series; struct Series { bytes32 merkleRoot; bool paused; uint256 mintPrice; uint256 maxSupply; uint256 maxPerWallet; uint256 maxMintPerTxn; string metadataLink; bool isWhitelist; mapping(address => uint256) hasMinted; } string public _contractURI; string public name_; string public symbol_; constructor(string memory _name, string memory _symbol) ERC1155("Series") { name_ = _name; symbol_ = _symbol; } function addSeries( bytes32 _merkleRoot, uint256 _mintPrice, uint256 _maxSupply, uint256 _maxMintPerTxn, string memory _metadataLink, uint256 _maxPerWallet, bool _isWhitelist ) external onlyOwner { Series storage current = series[seriesCounter.current()]; current.paused = true; current.merkleRoot = _merkleRoot; current.mintPrice = _mintPrice; current.maxSupply = _maxSupply; current.maxMintPerTxn = _maxMintPerTxn; current.maxPerWallet = _maxPerWallet; current.metadataLink = _metadataLink; current.isWhitelist = _isWhitelist; seriesCounter.increment(); } function editSeries( uint256 _seriesIndex, bytes32 _merkleRoot, uint256 _mintPrice, uint256 _maxSupply, uint256 _maxMintPerTxn, string memory _metadataLink, uint256 _maxPerWallet, bool _isWhitelist, bool _paused ) external onlyOwner { series[_seriesIndex].merkleRoot = _merkleRoot; series[_seriesIndex].mintPrice = _mintPrice; series[_seriesIndex].maxSupply = _maxSupply; series[_seriesIndex].maxMintPerTxn = _maxMintPerTxn; series[_seriesIndex].metadataLink = _metadataLink; series[_seriesIndex].maxPerWallet = _maxPerWallet; series[_seriesIndex].isWhitelist = _isWhitelist; series[_seriesIndex].paused = _paused; } function toggleSeriesPaused(uint256 _seriesIndex) external onlyOwner { series[_seriesIndex].paused = !series[_seriesIndex].paused; } function mintWhitelist( uint256 seriesIndex, uint256 amount, bytes32[] calldata _proof ) external payable { isValidMint(seriesIndex, amount, false); isAllowedToMint(seriesIndex, _proof); require( msg.value >= amount.mul(series[seriesIndex].mintPrice), "Insufficient funds" ); _mint(msg.sender, seriesIndex, amount, ""); series[seriesIndex].hasMinted[msg.sender] = series[seriesIndex] .hasMinted[msg.sender] .add(amount); } function mintPublic(uint256[] memory seriesIndexes, uint256 amount) external payable { uint256 totalCost = 0; for (uint256 i = 0; i < seriesIndexes.length; i++) { isValidMint(seriesIndexes[i], amount, true); totalCost = totalCost + amount.mul(series[seriesIndexes[i]].mintPrice); } require(msg.value >= totalCost, "Insufficient funds"); for (uint256 i = 0; i < seriesIndexes.length; i++) { _mint(msg.sender, seriesIndexes[i], amount, ""); series[seriesIndexes[i]].hasMinted[msg.sender] = series[ seriesIndexes[i] ].hasMinted[msg.sender].add(amount); } } function isAllowedToMint(uint256 seriesIndex, bytes32[] memory _proof) internal view { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(_proof, series[seriesIndex].merkleRoot, leaf), "Invalid proof" ); } function isValidMint( uint256 seriesIndex, uint256 amount, bool publicMint ) internal view { require(series[seriesIndex].maxSupply != 0, "Series does not exist"); require(!series[seriesIndex].paused, "Series is paused"); require( series[seriesIndex].hasMinted[msg.sender].add(amount) <= series[seriesIndex].maxPerWallet, "Exceeds maximum per wallet" ); require( amount <= series[seriesIndex].maxMintPerTxn, "Exceeds maximum per transaction" ); require( totalSupply(seriesIndex) + amount <= series[seriesIndex].maxSupply, "Exceeds maximum token supply" ); if (series[seriesIndex].isWhitelist) { require(!publicMint, "Whitelist minting only"); } } function uri(uint256 _id) public view override returns (string memory) { require(totalSupply(_id) > 0, "Token doesn't exist"); return string(series[_id].metadataLink); } function name() public view returns (string memory) { return name_; } function symbol() public view returns (string memory) { return symbol_; } // For Opensea function contractURI() public view returns (string memory) { return _contractURI; } // Only owner function setContractURI(string memory newURI) external onlyOwner { _contractURI = newURI; } // Only owner function withdraw(address payable _to, uint256 _amount) public onlyOwner { _to.transfer(_amount); } // based on contracts by @georgefatlion, @bitcoinski and @ultra_dao }
// 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 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// 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 (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/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/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 (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/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 (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":"_name","type":"string"},{"internalType":"string","name":"_symbol","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":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":[],"name":"_contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintPerTxn","type":"uint256"},{"internalType":"string","name":"_metadataLink","type":"string"},{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"},{"internalType":"bool","name":"_isWhitelist","type":"bool"}],"name":"addSeries","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seriesIndex","type":"uint256"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintPerTxn","type":"uint256"},{"internalType":"string","name":"_metadataLink","type":"string"},{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"},{"internalType":"bool","name":"_isWhitelist","type":"bool"},{"internalType":"bool","name":"_paused","type":"bool"}],"name":"editSeries","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"seriesIndexes","type":"uint256[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"seriesIndex","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name_","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"uint256","name":"","type":"uint256"}],"name":"series","outputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxMintPerTxn","type":"uint256"},{"internalType":"string","name":"metadataLink","type":"string"},{"internalType":"bool","name":"isWhitelist","type":"bool"}],"stateMutability":"view","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":"newURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol_","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seriesIndex","type":"uint256"}],"name":"toggleSeriesPaused","outputs":[],"stateMutability":"nonpayable","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":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620054eb380380620054eb8339818101604052810190620000379190620002e5565b6040518060400160405280600681526020017f53657269657300000000000000000000000000000000000000000000000000008152506200007e81620000d960201b60201c565b506200009f62000093620000f560201b60201c565b620000fd60201b60201c565b8160089080519060200190620000b7929190620001c3565b508060099080519060200190620000d0929190620001c3565b505050620004c8565b8060029080519060200190620000f1929190620001c3565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001d190620003ed565b90600052602060002090601f016020900481019282620001f5576000855562000241565b82601f106200021057805160ff191683800117855562000241565b8280016001018555821562000241579182015b828111156200024057825182559160200191906001019062000223565b5b50905062000250919062000254565b5090565b5b808211156200026f57600081600090555060010162000255565b5090565b60006200028a620002848462000381565b62000358565b905082815260208101848484011115620002a357600080fd5b620002b0848285620003b7565b509392505050565b600082601f830112620002ca57600080fd5b8151620002dc84826020860162000273565b91505092915050565b60008060408385031215620002f957600080fd5b600083015167ffffffffffffffff8111156200031457600080fd5b6200032285828601620002b8565b925050602083015167ffffffffffffffff8111156200034057600080fd5b6200034e85828601620002b8565b9150509250929050565b60006200036462000377565b905062000372828262000423565b919050565b6000604051905090565b600067ffffffffffffffff8211156200039f576200039e62000488565b5b620003aa82620004b7565b9050602081019050919050565b60005b83811015620003d7578082015181840152602081019050620003ba565b83811115620003e7576000848401525b50505050565b600060028204905060018216806200040657607f821691505b602082108114156200041d576200041c62000459565b5b50919050565b6200042e82620004b7565b810181811067ffffffffffffffff8211171562000450576200044f62000488565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61501380620004d86000396000f3fe60806040526004361061019b5760003560e01c80639e8061c7116100ec578063e2b9e1861161008a578063ee49382411610064578063ee493824146105e5578063f242432a14610601578063f2fde38b1461062a578063f3fef3a3146106535761019b565b8063e2b9e18614610552578063e8a3d4851461057d578063e985e9c5146105a85761019b565b8063bd85b039116100c6578063bd85b0391461047d578063c0e72740146104ba578063ca66a5f9146104e5578063dc22cb6a1461050e5761019b565b80639e8061c714610400578063a22cb46514610429578063af17dea6146104525761019b565b80634e1273f4116101595780637a1f0e2a116101335780637a1f0e2a146103655780638da5cb5b14610381578063938e3d7b146103ac57806395d89b41146103d55761019b565b80634e1273f4146102d45780634f558e7914610311578063715018a61461034e5761019b565b8062fdd58e146101a057806301ffc9a7146101dd57806306fdde031461021a5780630e89341c146102455780632eb2c2d6146102825780633a8e010d146102ab575b600080fd5b3480156101ac57600080fd5b506101c760048036038101906101c29190613757565b61067c565b6040516101d49190614471565b60405180910390f35b3480156101e957600080fd5b5061020460048036038101906101ff9190613909565b610745565b60405161021191906140ef565b60405180910390f35b34801561022657600080fd5b5061022f610827565b60405161023c919061418f565b60405180910390f35b34801561025157600080fd5b5061026c6004803603810190610267919061399c565b6108b9565b604051610279919061418f565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a491906135cd565b6109ac565b005b3480156102b757600080fd5b506102d260048036038101906102cd919061399c565b610a4d565b005b3480156102e057600080fd5b506102fb60048036038101906102f69190613793565b610b1e565b6040516103089190614096565b60405180910390f35b34801561031d57600080fd5b506103386004803603810190610333919061399c565b610ccf565b60405161034591906140ef565b60405180910390f35b34801561035a57600080fd5b50610363610ce3565b005b61037f600480360381019061037a91906137ff565b610d6b565b005b34801561038d57600080fd5b5061039661104e565b6040516103a39190613fb9565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce919061395b565b611078565b005b3480156103e157600080fd5b506103ea61110e565b6040516103f7919061418f565b60405180910390f35b34801561040c57600080fd5b50610427600480360381019061042291906139c5565b6111a0565b005b34801561043557600080fd5b50610450600480360381019061044b919061371b565b611335565b005b34801561045e57600080fd5b5061046761134b565b604051610474919061418f565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f919061399c565b6113d9565b6040516104b19190614471565b60405180910390f35b3480156104c657600080fd5b506104cf6113f6565b6040516104dc919061418f565b60405180910390f35b3480156104f157600080fd5b5061050c60048036038101906105079190613853565b611484565b005b34801561051a57600080fd5b506105356004803603810190610530919061399c565b6115b3565b60405161054998979695949392919061410a565b60405180910390f35b34801561055e57600080fd5b5061056761169d565b604051610574919061418f565b60405180910390f35b34801561058957600080fd5b5061059261172b565b60405161059f919061418f565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190613591565b6117bd565b6040516105dc91906140ef565b60405180910390f35b6105ff60048036038101906105fa9190613aa3565b611851565b005b34801561060d57600080fd5b506106286004803603810190610623919061368c565b6119f1565b005b34801561063657600080fd5b50610651600480360381019061064c919061352c565b611a92565b005b34801561065f57600080fd5b5061067a60048036038101906106759190613555565b611b8a565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e490614231565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610820575061081f82611c51565b5b9050919050565b606060088054610836906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610862906147bb565b80156108af5780601f10610884576101008083540402835291602001916108af565b820191906000526020600020905b81548152906001019060200180831161089257829003601f168201915b5050505050905090565b606060006108c6836113d9565b11610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd906141d1565b60405180910390fd5b600660008381526020019081526020016000206006018054610927906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610953906147bb565b80156109a05780601f10610975576101008083540402835291602001916109a0565b820191906000526020600020905b81548152906001019060200180831161098357829003601f168201915b50505050509050919050565b6109b4611cbb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806109fa57506109f9856109f4611cbb565b6117bd565b5b610a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a30906142f1565b60405180910390fd5b610a468585858585611cc3565b5050505050565b610a55611cbb565b73ffffffffffffffffffffffffffffffffffffffff16610a7361104e565b73ffffffffffffffffffffffffffffffffffffffff1614610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac090614331565b60405180910390fd5b6006600082815260200190815260200160002060010160009054906101000a900460ff16156006600083815260200190815260200160002060010160006101000a81548160ff02191690831515021790555050565b60608151835114610b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5b906143f1565b60405180910390fd5b6000835167ffffffffffffffff811115610ba7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610bd55781602001602082028036833780820191505090505b50905060005b8451811015610cc457610c6e858281518110610c20577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610c61577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161067c565b828281518110610ca7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610cbd9061481e565b9050610bdb565b508091505092915050565b600080610cdb836113d9565b119050919050565b610ceb611cbb565b73ffffffffffffffffffffffffffffffffffffffff16610d0961104e565b73ffffffffffffffffffffffffffffffffffffffff1614610d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5690614331565b60405180910390fd5b610d696000612023565b565b6000805b8351811015610e4d57610dc4848281518110610db4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518460016120e9565b610e2d60066000868481518110610e04577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020600201548461239a90919063ffffffff16565b82610e389190614605565b91508080610e459061481e565b915050610d6f565b5080341015610e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e88906142b1565b60405180910390fd5b60005b835181101561104857610ef833858381518110610eda577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185604051806020016040528060008152506123b0565b610f9e8360066000878581518110610f39577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461254690919063ffffffff16565b60066000868481518110610fdb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806110409061481e565b915050610e94565b50505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611080611cbb565b73ffffffffffffffffffffffffffffffffffffffff1661109e61104e565b73ffffffffffffffffffffffffffffffffffffffff16146110f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110eb90614331565b60405180910390fd5b806007908051906020019061110a9291906131b0565b5050565b60606009805461111d906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611149906147bb565b80156111965780601f1061116b57610100808354040283529160200191611196565b820191906000526020600020905b81548152906001019060200180831161117957829003601f168201915b5050505050905090565b6111a8611cbb565b73ffffffffffffffffffffffffffffffffffffffff166111c661104e565b73ffffffffffffffffffffffffffffffffffffffff161461121c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121390614331565b60405180910390fd5b87600660008b81526020019081526020016000206000018190555086600660008b81526020019081526020016000206002018190555085600660008b81526020019081526020016000206003018190555084600660008b81526020019081526020016000206005018190555083600660008b815260200190815260200160002060060190805190602001906112b29291906131b0565b5082600660008b81526020019081526020016000206004018190555081600660008b815260200190815260200160002060070160006101000a81548160ff02191690831515021790555080600660008b815260200190815260200160002060010160006101000a81548160ff021916908315150217905550505050505050505050565b611347611340611cbb565b838361255c565b5050565b60098054611358906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611384906147bb565b80156113d15780601f106113a6576101008083540402835291602001916113d1565b820191906000526020600020905b8154815290600101906020018083116113b457829003601f168201915b505050505081565b600060036000838152602001908152602001600020549050919050565b60078054611403906147bb565b80601f016020809104026020016040519081016040528092919081815260200182805461142f906147bb565b801561147c5780601f106114515761010080835404028352916020019161147c565b820191906000526020600020905b81548152906001019060200180831161145f57829003601f168201915b505050505081565b61148c611cbb565b73ffffffffffffffffffffffffffffffffffffffff166114aa61104e565b73ffffffffffffffffffffffffffffffffffffffff1614611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f790614331565b60405180910390fd5b60006006600061151060056126c9565b8152602001908152602001600020905060018160010160006101000a81548160ff021916908315150217905550878160000181905550868160020181905550858160030181905550848160050181905550828160040181905550838160060190805190602001906115829291906131b0565b50818160070160006101000a81548160ff0219169083151502179055506115a960056126d7565b5050505050505050565b60066020528060005260406000206000915090508060000154908060010160009054906101000a900460ff1690806002015490806003015490806004015490806005015490806006018054611607906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611633906147bb565b80156116805780601f1061165557610100808354040283529160200191611680565b820191906000526020600020905b81548152906001019060200180831161166357829003601f168201915b5050505050908060070160009054906101000a900460ff16905088565b600880546116aa906147bb565b80601f01602080910402602001604051908101604052809291908181526020018280546116d6906147bb565b80156117235780601f106116f857610100808354040283529160200191611723565b820191906000526020600020905b81548152906001019060200180831161170657829003601f168201915b505050505081565b60606007805461173a906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611766906147bb565b80156117b35780601f10611788576101008083540402835291602001916117b3565b820191906000526020600020905b81548152906001019060200180831161179657829003601f168201915b5050505050905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61185d848460006120e9565b6118a884838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506126ed565b6118d160066000868152602001908152602001600020600201548461239a90919063ffffffff16565b341015611913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190a906142b1565b60405180910390fd5b61192e338585604051806020016040528060008152506123b0565b611994836006600087815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461254690919063ffffffff16565b6006600086815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b6119f9611cbb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611a3f5750611a3e85611a39611cbb565b6117bd565b5b611a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7590614271565b60405180910390fd5b611a8b858585858561277d565b5050505050565b611a9a611cbb565b73ffffffffffffffffffffffffffffffffffffffff16611ab861104e565b73ffffffffffffffffffffffffffffffffffffffff1614611b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0590614331565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7590614251565b60405180910390fd5b611b8781612023565b50565b611b92611cbb565b73ffffffffffffffffffffffffffffffffffffffff16611bb061104e565b73ffffffffffffffffffffffffffffffffffffffff1614611c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfd90614331565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c4c573d6000803e3d6000fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8151835114611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe90614411565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6e906142d1565b60405180910390fd5b6000611d81611cbb565b9050611d918187878787876129ff565b60005b8451811015611f8e576000858281518110611dd8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611e1d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb590614311565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f739190614605565b9250508190555050505080611f879061481e565b9050611d94565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516120059291906140b8565b60405180910390a461201b818787878787612c11565b505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060066000858152602001908152602001600020600301541415612143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213a90614371565b60405180910390fd5b6006600084815260200190815260200160002060010160009054906101000a900460ff16156121a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219e90614291565b60405180910390fd5b6006600084815260200190815260200160002060040154612224836006600087815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461254690919063ffffffff16565b1115612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c90614431565b60405180910390fd5b60066000848152602001908152602001600020600501548211156122be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b5906143d1565b60405180910390fd5b6006600084815260200190815260200160002060030154826122df856113d9565b6122e99190614605565b111561232a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232190614211565b60405180910390fd5b6006600084815260200190815260200160002060070160009054906101000a900460ff1615612395578015612394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238b90614351565b60405180910390fd5b5b505050565b600081836123a8919061465b565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241790614451565b60405180910390fd5b600061242a611cbb565b905061244b8160008761243c88612df8565b61244588612df8565b876129ff565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124aa9190614605565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161252892919061448c565b60405180910390a461253f81600087878787612ebe565b5050505050565b600081836125549190614605565b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c2906143b1565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126bc91906140ef565b60405180910390a3505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6000336040516020016127009190613f72565b604051602081830303815290604052805190602001209050612739826006600086815260200190815260200160002060000154836130a5565b612778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276f90614391565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e4906142d1565b60405180910390fd5b60006127f7611cbb565b905061281781878761280888612df8565b61281188612df8565b876129ff565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156128ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a590614311565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129639190614605565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516129e092919061448c565b60405180910390a46129f6828888888888612ebe565b50505050505050565b612a0d8686868686866130bc565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612b0b5760005b8351811015612b0957828181518110612a87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000868481518110612acc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612af19190614605565b9250508190555080612b029061481e565b9050612a45565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c095760005b8351811015612c0757828181518110612b85577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000868481518110612bca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612bef91906146b5565b9250508190555080612c009061481e565b9050612b43565b505b505050505050565b612c308473ffffffffffffffffffffffffffffffffffffffff166130c4565b15612df0578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612c76959493929190613fd4565b602060405180830381600087803b158015612c9057600080fd5b505af1925050508015612cc157506040513d601f19601f82011682018060405250810190612cbe9190613932565b60015b612d6757612ccd614922565b806308c379a01415612d2a5750612ce2614ebd565b80612ced5750612d2c565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d21919061418f565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5e906141b1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de5906141f1565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612e3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612e6b5781602001602082028036833780820191505090505b5090508281600081518110612ea9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612edd8473ffffffffffffffffffffffffffffffffffffffff166130c4565b1561309d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612f2395949392919061403c565b602060405180830381600087803b158015612f3d57600080fd5b505af1925050508015612f6e57506040513d601f19601f82011682018060405250810190612f6b9190613932565b60015b61301457612f7a614922565b806308c379a01415612fd75750612f8f614ebd565b80612f9a5750612fd9565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fce919061418f565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300b906141b1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461309b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613092906141f1565b60405180910390fd5b505b505050505050565b6000826130b285846130d7565b1490509392505050565b505050505050565b600080823b905060008111915050919050565b60008082905060005b84518110156131a5576000858281518110613124577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311613165578281604051602001613148929190613f8d565b604051602081830303815290604052805190602001209250613191565b8083604051602001613178929190613f8d565b6040516020818303038152906040528051906020012092505b50808061319d9061481e565b9150506130e0565b508091505092915050565b8280546131bc906147bb565b90600052602060002090601f0160209004810192826131de5760008555613225565b82601f106131f757805160ff1916838001178555613225565b82800160010185558215613225579182015b82811115613224578251825591602001919060010190613209565b5b5090506132329190613236565b5090565b5b8082111561324f576000816000905550600101613237565b5090565b6000613266613261846144da565b6144b5565b9050808382526020820190508285602086028201111561328557600080fd5b60005b858110156132b5578161329b88826133a7565b845260208401935060208301925050600181019050613288565b5050509392505050565b60006132d26132cd84614506565b6144b5565b905080838252602082019050828560208602820111156132f157600080fd5b60005b8581101561332157816133078882613517565b8452602084019350602083019250506001810190506132f4565b5050509392505050565b600061333e61333984614532565b6144b5565b90508281526020810184848401111561335657600080fd5b613361848285614779565b509392505050565b600061337c61337784614563565b6144b5565b90508281526020810184848401111561339457600080fd5b61339f848285614779565b509392505050565b6000813590506133b681614f53565b92915050565b6000813590506133cb81614f6a565b92915050565b600082601f8301126133e257600080fd5b81356133f2848260208601613253565b91505092915050565b60008083601f84011261340d57600080fd5b8235905067ffffffffffffffff81111561342657600080fd5b60208301915083602082028301111561343e57600080fd5b9250929050565b600082601f83011261345657600080fd5b81356134668482602086016132bf565b91505092915050565b60008135905061347e81614f81565b92915050565b60008135905061349381614f98565b92915050565b6000813590506134a881614faf565b92915050565b6000815190506134bd81614faf565b92915050565b600082601f8301126134d457600080fd5b81356134e484826020860161332b565b91505092915050565b600082601f8301126134fe57600080fd5b813561350e848260208601613369565b91505092915050565b60008135905061352681614fc6565b92915050565b60006020828403121561353e57600080fd5b600061354c848285016133a7565b91505092915050565b6000806040838503121561356857600080fd5b6000613576858286016133bc565b925050602061358785828601613517565b9150509250929050565b600080604083850312156135a457600080fd5b60006135b2858286016133a7565b92505060206135c3858286016133a7565b9150509250929050565b600080600080600060a086880312156135e557600080fd5b60006135f3888289016133a7565b9550506020613604888289016133a7565b945050604086013567ffffffffffffffff81111561362157600080fd5b61362d88828901613445565b935050606086013567ffffffffffffffff81111561364a57600080fd5b61365688828901613445565b925050608086013567ffffffffffffffff81111561367357600080fd5b61367f888289016134c3565b9150509295509295909350565b600080600080600060a086880312156136a457600080fd5b60006136b2888289016133a7565b95505060206136c3888289016133a7565b94505060406136d488828901613517565b93505060606136e588828901613517565b925050608086013567ffffffffffffffff81111561370257600080fd5b61370e888289016134c3565b9150509295509295909350565b6000806040838503121561372e57600080fd5b600061373c858286016133a7565b925050602061374d8582860161346f565b9150509250929050565b6000806040838503121561376a57600080fd5b6000613778858286016133a7565b925050602061378985828601613517565b9150509250929050565b600080604083850312156137a657600080fd5b600083013567ffffffffffffffff8111156137c057600080fd5b6137cc858286016133d1565b925050602083013567ffffffffffffffff8111156137e957600080fd5b6137f585828601613445565b9150509250929050565b6000806040838503121561381257600080fd5b600083013567ffffffffffffffff81111561382c57600080fd5b61383885828601613445565b925050602061384985828601613517565b9150509250929050565b600080600080600080600060e0888a03121561386e57600080fd5b600061387c8a828b01613484565b975050602061388d8a828b01613517565b965050604061389e8a828b01613517565b95505060606138af8a828b01613517565b945050608088013567ffffffffffffffff8111156138cc57600080fd5b6138d88a828b016134ed565b93505060a06138e98a828b01613517565b92505060c06138fa8a828b0161346f565b91505092959891949750929550565b60006020828403121561391b57600080fd5b600061392984828501613499565b91505092915050565b60006020828403121561394457600080fd5b6000613952848285016134ae565b91505092915050565b60006020828403121561396d57600080fd5b600082013567ffffffffffffffff81111561398757600080fd5b613993848285016134ed565b91505092915050565b6000602082840312156139ae57600080fd5b60006139bc84828501613517565b91505092915050565b60008060008060008060008060006101208a8c0312156139e457600080fd5b60006139f28c828d01613517565b9950506020613a038c828d01613484565b9850506040613a148c828d01613517565b9750506060613a258c828d01613517565b9650506080613a368c828d01613517565b95505060a08a013567ffffffffffffffff811115613a5357600080fd5b613a5f8c828d016134ed565b94505060c0613a708c828d01613517565b93505060e0613a818c828d0161346f565b925050610100613a938c828d0161346f565b9150509295985092959850929598565b60008060008060608587031215613ab957600080fd5b6000613ac787828801613517565b9450506020613ad887828801613517565b935050604085013567ffffffffffffffff811115613af557600080fd5b613b01878288016133fb565b925092505092959194509250565b6000613b1b8383613f54565b60208301905092915050565b613b30816146e9565b82525050565b613b47613b42826146e9565b614867565b82525050565b6000613b58826145a4565b613b6281856145d2565b9350613b6d83614594565b8060005b83811015613b9e578151613b858882613b0f565b9750613b90836145c5565b925050600181019050613b71565b5085935050505092915050565b613bb48161470d565b82525050565b613bc381614719565b82525050565b613bda613bd582614719565b614879565b82525050565b6000613beb826145af565b613bf581856145e3565b9350613c05818560208601614788565b613c0e81614944565b840191505092915050565b6000613c24826145ba565b613c2e81856145f4565b9350613c3e818560208601614788565b613c4781614944565b840191505092915050565b6000613c5f6034836145f4565b9150613c6a8261496f565b604082019050919050565b6000613c826013836145f4565b9150613c8d826149be565b602082019050919050565b6000613ca56028836145f4565b9150613cb0826149e7565b604082019050919050565b6000613cc8601c836145f4565b9150613cd382614a36565b602082019050919050565b6000613ceb602b836145f4565b9150613cf682614a5f565b604082019050919050565b6000613d0e6026836145f4565b9150613d1982614aae565b604082019050919050565b6000613d316029836145f4565b9150613d3c82614afd565b604082019050919050565b6000613d546010836145f4565b9150613d5f82614b4c565b602082019050919050565b6000613d776012836145f4565b9150613d8282614b75565b602082019050919050565b6000613d9a6025836145f4565b9150613da582614b9e565b604082019050919050565b6000613dbd6032836145f4565b9150613dc882614bed565b604082019050919050565b6000613de0602a836145f4565b9150613deb82614c3c565b604082019050919050565b6000613e036020836145f4565b9150613e0e82614c8b565b602082019050919050565b6000613e266016836145f4565b9150613e3182614cb4565b602082019050919050565b6000613e496015836145f4565b9150613e5482614cdd565b602082019050919050565b6000613e6c600d836145f4565b9150613e7782614d06565b602082019050919050565b6000613e8f6029836145f4565b9150613e9a82614d2f565b604082019050919050565b6000613eb2601f836145f4565b9150613ebd82614d7e565b602082019050919050565b6000613ed56029836145f4565b9150613ee082614da7565b604082019050919050565b6000613ef86028836145f4565b9150613f0382614df6565b604082019050919050565b6000613f1b601a836145f4565b9150613f2682614e45565b602082019050919050565b6000613f3e6021836145f4565b9150613f4982614e6e565b604082019050919050565b613f5d8161476f565b82525050565b613f6c8161476f565b82525050565b6000613f7e8284613b36565b60148201915081905092915050565b6000613f998285613bc9565b602082019150613fa98284613bc9565b6020820191508190509392505050565b6000602082019050613fce6000830184613b27565b92915050565b600060a082019050613fe96000830188613b27565b613ff66020830187613b27565b81810360408301526140088186613b4d565b9050818103606083015261401c8185613b4d565b905081810360808301526140308184613be0565b90509695505050505050565b600060a0820190506140516000830188613b27565b61405e6020830187613b27565b61406b6040830186613f63565b6140786060830185613f63565b818103608083015261408a8184613be0565b90509695505050505050565b600060208201905081810360008301526140b08184613b4d565b905092915050565b600060408201905081810360008301526140d28185613b4d565b905081810360208301526140e68184613b4d565b90509392505050565b60006020820190506141046000830184613bab565b92915050565b600061010082019050614120600083018b613bba565b61412d602083018a613bab565b61413a6040830189613f63565b6141476060830188613f63565b6141546080830187613f63565b61416160a0830186613f63565b81810360c08301526141738185613c19565b905061418260e0830184613bab565b9998505050505050505050565b600060208201905081810360008301526141a98184613c19565b905092915050565b600060208201905081810360008301526141ca81613c52565b9050919050565b600060208201905081810360008301526141ea81613c75565b9050919050565b6000602082019050818103600083015261420a81613c98565b9050919050565b6000602082019050818103600083015261422a81613cbb565b9050919050565b6000602082019050818103600083015261424a81613cde565b9050919050565b6000602082019050818103600083015261426a81613d01565b9050919050565b6000602082019050818103600083015261428a81613d24565b9050919050565b600060208201905081810360008301526142aa81613d47565b9050919050565b600060208201905081810360008301526142ca81613d6a565b9050919050565b600060208201905081810360008301526142ea81613d8d565b9050919050565b6000602082019050818103600083015261430a81613db0565b9050919050565b6000602082019050818103600083015261432a81613dd3565b9050919050565b6000602082019050818103600083015261434a81613df6565b9050919050565b6000602082019050818103600083015261436a81613e19565b9050919050565b6000602082019050818103600083015261438a81613e3c565b9050919050565b600060208201905081810360008301526143aa81613e5f565b9050919050565b600060208201905081810360008301526143ca81613e82565b9050919050565b600060208201905081810360008301526143ea81613ea5565b9050919050565b6000602082019050818103600083015261440a81613ec8565b9050919050565b6000602082019050818103600083015261442a81613eeb565b9050919050565b6000602082019050818103600083015261444a81613f0e565b9050919050565b6000602082019050818103600083015261446a81613f31565b9050919050565b60006020820190506144866000830184613f63565b92915050565b60006040820190506144a16000830185613f63565b6144ae6020830184613f63565b9392505050565b60006144bf6144d0565b90506144cb82826147ed565b919050565b6000604051905090565b600067ffffffffffffffff8211156144f5576144f46148f3565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614521576145206148f3565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561454d5761454c6148f3565b5b61455682614944565b9050602081019050919050565b600067ffffffffffffffff82111561457e5761457d6148f3565b5b61458782614944565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006146108261476f565b915061461b8361476f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146505761464f614895565b5b828201905092915050565b60006146668261476f565b91506146718361476f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146aa576146a9614895565b5b828202905092915050565b60006146c08261476f565b91506146cb8361476f565b9250828210156146de576146dd614895565b5b828203905092915050565b60006146f48261474f565b9050919050565b60006147068261474f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156147a657808201518184015260208101905061478b565b838111156147b5576000848401525b50505050565b600060028204905060018216806147d357607f821691505b602082108114156147e7576147e66148c4565b5b50919050565b6147f682614944565b810181811067ffffffffffffffff82111715614815576148146148f3565b5b80604052505050565b60006148298261476f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561485c5761485b614895565b5b600182019050919050565b600061487282614883565b9050919050565b6000819050919050565b600061488e82614955565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156149415760046000803e61493e600051614962565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f546f6b656e20646f65736e277420657869737400000000000000000000000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20746f6b656e20737570706c7900000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f5365726965732069732070617573656400000000000000000000000000000000600082015250565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f57686974656c697374206d696e74696e67206f6e6c7900000000000000000000600082015250565b7f53657269657320646f6573206e6f742065786973740000000000000000000000600082015250565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20706572207472616e73616374696f6e00600082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d207065722077616c6c6574000000000000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614ecd57614f50565b614ed56144d0565b60043d036004823e80513d602482011167ffffffffffffffff82111715614efd575050614f50565b808201805167ffffffffffffffff811115614f1b5750505050614f50565b80602083010160043d038501811115614f38575050505050614f50565b614f47826020018501866147ed565b82955050505050505b90565b614f5c816146e9565b8114614f6757600080fd5b50565b614f73816146fb565b8114614f7e57600080fd5b50565b614f8a8161470d565b8114614f9557600080fd5b50565b614fa181614719565b8114614fac57600080fd5b50565b614fb881614723565b8114614fc357600080fd5b50565b614fcf8161476f565b8114614fda57600080fd5b5056fea264697066735822122075e2f365ebf1977d7beec314ab62e005fb6fd6561f1a2076568a7ea7b984fe3864736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000f4d6f727068657535205365726965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4d4f525045553553455249455300000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061019b5760003560e01c80639e8061c7116100ec578063e2b9e1861161008a578063ee49382411610064578063ee493824146105e5578063f242432a14610601578063f2fde38b1461062a578063f3fef3a3146106535761019b565b8063e2b9e18614610552578063e8a3d4851461057d578063e985e9c5146105a85761019b565b8063bd85b039116100c6578063bd85b0391461047d578063c0e72740146104ba578063ca66a5f9146104e5578063dc22cb6a1461050e5761019b565b80639e8061c714610400578063a22cb46514610429578063af17dea6146104525761019b565b80634e1273f4116101595780637a1f0e2a116101335780637a1f0e2a146103655780638da5cb5b14610381578063938e3d7b146103ac57806395d89b41146103d55761019b565b80634e1273f4146102d45780634f558e7914610311578063715018a61461034e5761019b565b8062fdd58e146101a057806301ffc9a7146101dd57806306fdde031461021a5780630e89341c146102455780632eb2c2d6146102825780633a8e010d146102ab575b600080fd5b3480156101ac57600080fd5b506101c760048036038101906101c29190613757565b61067c565b6040516101d49190614471565b60405180910390f35b3480156101e957600080fd5b5061020460048036038101906101ff9190613909565b610745565b60405161021191906140ef565b60405180910390f35b34801561022657600080fd5b5061022f610827565b60405161023c919061418f565b60405180910390f35b34801561025157600080fd5b5061026c6004803603810190610267919061399c565b6108b9565b604051610279919061418f565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a491906135cd565b6109ac565b005b3480156102b757600080fd5b506102d260048036038101906102cd919061399c565b610a4d565b005b3480156102e057600080fd5b506102fb60048036038101906102f69190613793565b610b1e565b6040516103089190614096565b60405180910390f35b34801561031d57600080fd5b506103386004803603810190610333919061399c565b610ccf565b60405161034591906140ef565b60405180910390f35b34801561035a57600080fd5b50610363610ce3565b005b61037f600480360381019061037a91906137ff565b610d6b565b005b34801561038d57600080fd5b5061039661104e565b6040516103a39190613fb9565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce919061395b565b611078565b005b3480156103e157600080fd5b506103ea61110e565b6040516103f7919061418f565b60405180910390f35b34801561040c57600080fd5b50610427600480360381019061042291906139c5565b6111a0565b005b34801561043557600080fd5b50610450600480360381019061044b919061371b565b611335565b005b34801561045e57600080fd5b5061046761134b565b604051610474919061418f565b60405180910390f35b34801561048957600080fd5b506104a4600480360381019061049f919061399c565b6113d9565b6040516104b19190614471565b60405180910390f35b3480156104c657600080fd5b506104cf6113f6565b6040516104dc919061418f565b60405180910390f35b3480156104f157600080fd5b5061050c60048036038101906105079190613853565b611484565b005b34801561051a57600080fd5b506105356004803603810190610530919061399c565b6115b3565b60405161054998979695949392919061410a565b60405180910390f35b34801561055e57600080fd5b5061056761169d565b604051610574919061418f565b60405180910390f35b34801561058957600080fd5b5061059261172b565b60405161059f919061418f565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190613591565b6117bd565b6040516105dc91906140ef565b60405180910390f35b6105ff60048036038101906105fa9190613aa3565b611851565b005b34801561060d57600080fd5b506106286004803603810190610623919061368c565b6119f1565b005b34801561063657600080fd5b50610651600480360381019061064c919061352c565b611a92565b005b34801561065f57600080fd5b5061067a60048036038101906106759190613555565b611b8a565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e490614231565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610820575061081f82611c51565b5b9050919050565b606060088054610836906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610862906147bb565b80156108af5780601f10610884576101008083540402835291602001916108af565b820191906000526020600020905b81548152906001019060200180831161089257829003601f168201915b5050505050905090565b606060006108c6836113d9565b11610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd906141d1565b60405180910390fd5b600660008381526020019081526020016000206006018054610927906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610953906147bb565b80156109a05780601f10610975576101008083540402835291602001916109a0565b820191906000526020600020905b81548152906001019060200180831161098357829003601f168201915b50505050509050919050565b6109b4611cbb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806109fa57506109f9856109f4611cbb565b6117bd565b5b610a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a30906142f1565b60405180910390fd5b610a468585858585611cc3565b5050505050565b610a55611cbb565b73ffffffffffffffffffffffffffffffffffffffff16610a7361104e565b73ffffffffffffffffffffffffffffffffffffffff1614610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac090614331565b60405180910390fd5b6006600082815260200190815260200160002060010160009054906101000a900460ff16156006600083815260200190815260200160002060010160006101000a81548160ff02191690831515021790555050565b60608151835114610b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5b906143f1565b60405180910390fd5b6000835167ffffffffffffffff811115610ba7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610bd55781602001602082028036833780820191505090505b50905060005b8451811015610cc457610c6e858281518110610c20577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610c61577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161067c565b828281518110610ca7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610cbd9061481e565b9050610bdb565b508091505092915050565b600080610cdb836113d9565b119050919050565b610ceb611cbb565b73ffffffffffffffffffffffffffffffffffffffff16610d0961104e565b73ffffffffffffffffffffffffffffffffffffffff1614610d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5690614331565b60405180910390fd5b610d696000612023565b565b6000805b8351811015610e4d57610dc4848281518110610db4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518460016120e9565b610e2d60066000868481518110610e04577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020600201548461239a90919063ffffffff16565b82610e389190614605565b91508080610e459061481e565b915050610d6f565b5080341015610e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e88906142b1565b60405180910390fd5b60005b835181101561104857610ef833858381518110610eda577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185604051806020016040528060008152506123b0565b610f9e8360066000878581518110610f39577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461254690919063ffffffff16565b60066000868481518110610fdb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806110409061481e565b915050610e94565b50505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611080611cbb565b73ffffffffffffffffffffffffffffffffffffffff1661109e61104e565b73ffffffffffffffffffffffffffffffffffffffff16146110f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110eb90614331565b60405180910390fd5b806007908051906020019061110a9291906131b0565b5050565b60606009805461111d906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611149906147bb565b80156111965780601f1061116b57610100808354040283529160200191611196565b820191906000526020600020905b81548152906001019060200180831161117957829003601f168201915b5050505050905090565b6111a8611cbb565b73ffffffffffffffffffffffffffffffffffffffff166111c661104e565b73ffffffffffffffffffffffffffffffffffffffff161461121c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121390614331565b60405180910390fd5b87600660008b81526020019081526020016000206000018190555086600660008b81526020019081526020016000206002018190555085600660008b81526020019081526020016000206003018190555084600660008b81526020019081526020016000206005018190555083600660008b815260200190815260200160002060060190805190602001906112b29291906131b0565b5082600660008b81526020019081526020016000206004018190555081600660008b815260200190815260200160002060070160006101000a81548160ff02191690831515021790555080600660008b815260200190815260200160002060010160006101000a81548160ff021916908315150217905550505050505050505050565b611347611340611cbb565b838361255c565b5050565b60098054611358906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611384906147bb565b80156113d15780601f106113a6576101008083540402835291602001916113d1565b820191906000526020600020905b8154815290600101906020018083116113b457829003601f168201915b505050505081565b600060036000838152602001908152602001600020549050919050565b60078054611403906147bb565b80601f016020809104026020016040519081016040528092919081815260200182805461142f906147bb565b801561147c5780601f106114515761010080835404028352916020019161147c565b820191906000526020600020905b81548152906001019060200180831161145f57829003601f168201915b505050505081565b61148c611cbb565b73ffffffffffffffffffffffffffffffffffffffff166114aa61104e565b73ffffffffffffffffffffffffffffffffffffffff1614611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f790614331565b60405180910390fd5b60006006600061151060056126c9565b8152602001908152602001600020905060018160010160006101000a81548160ff021916908315150217905550878160000181905550868160020181905550858160030181905550848160050181905550828160040181905550838160060190805190602001906115829291906131b0565b50818160070160006101000a81548160ff0219169083151502179055506115a960056126d7565b5050505050505050565b60066020528060005260406000206000915090508060000154908060010160009054906101000a900460ff1690806002015490806003015490806004015490806005015490806006018054611607906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611633906147bb565b80156116805780601f1061165557610100808354040283529160200191611680565b820191906000526020600020905b81548152906001019060200180831161166357829003601f168201915b5050505050908060070160009054906101000a900460ff16905088565b600880546116aa906147bb565b80601f01602080910402602001604051908101604052809291908181526020018280546116d6906147bb565b80156117235780601f106116f857610100808354040283529160200191611723565b820191906000526020600020905b81548152906001019060200180831161170657829003601f168201915b505050505081565b60606007805461173a906147bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611766906147bb565b80156117b35780601f10611788576101008083540402835291602001916117b3565b820191906000526020600020905b81548152906001019060200180831161179657829003601f168201915b5050505050905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61185d848460006120e9565b6118a884838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506126ed565b6118d160066000868152602001908152602001600020600201548461239a90919063ffffffff16565b341015611913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190a906142b1565b60405180910390fd5b61192e338585604051806020016040528060008152506123b0565b611994836006600087815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461254690919063ffffffff16565b6006600086815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b6119f9611cbb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611a3f5750611a3e85611a39611cbb565b6117bd565b5b611a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7590614271565b60405180910390fd5b611a8b858585858561277d565b5050505050565b611a9a611cbb565b73ffffffffffffffffffffffffffffffffffffffff16611ab861104e565b73ffffffffffffffffffffffffffffffffffffffff1614611b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0590614331565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7590614251565b60405180910390fd5b611b8781612023565b50565b611b92611cbb565b73ffffffffffffffffffffffffffffffffffffffff16611bb061104e565b73ffffffffffffffffffffffffffffffffffffffff1614611c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfd90614331565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c4c573d6000803e3d6000fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8151835114611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe90614411565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6e906142d1565b60405180910390fd5b6000611d81611cbb565b9050611d918187878787876129ff565b60005b8451811015611f8e576000858281518110611dd8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611e1d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb590614311565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f739190614605565b9250508190555050505080611f879061481e565b9050611d94565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516120059291906140b8565b60405180910390a461201b818787878787612c11565b505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060066000858152602001908152602001600020600301541415612143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213a90614371565b60405180910390fd5b6006600084815260200190815260200160002060010160009054906101000a900460ff16156121a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219e90614291565b60405180910390fd5b6006600084815260200190815260200160002060040154612224836006600087815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461254690919063ffffffff16565b1115612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c90614431565b60405180910390fd5b60066000848152602001908152602001600020600501548211156122be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b5906143d1565b60405180910390fd5b6006600084815260200190815260200160002060030154826122df856113d9565b6122e99190614605565b111561232a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232190614211565b60405180910390fd5b6006600084815260200190815260200160002060070160009054906101000a900460ff1615612395578015612394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238b90614351565b60405180910390fd5b5b505050565b600081836123a8919061465b565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241790614451565b60405180910390fd5b600061242a611cbb565b905061244b8160008761243c88612df8565b61244588612df8565b876129ff565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124aa9190614605565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161252892919061448c565b60405180910390a461253f81600087878787612ebe565b5050505050565b600081836125549190614605565b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c2906143b1565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126bc91906140ef565b60405180910390a3505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6000336040516020016127009190613f72565b604051602081830303815290604052805190602001209050612739826006600086815260200190815260200160002060000154836130a5565b612778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276f90614391565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e4906142d1565b60405180910390fd5b60006127f7611cbb565b905061281781878761280888612df8565b61281188612df8565b876129ff565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156128ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a590614311565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129639190614605565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516129e092919061448c565b60405180910390a46129f6828888888888612ebe565b50505050505050565b612a0d8686868686866130bc565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612b0b5760005b8351811015612b0957828181518110612a87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000868481518110612acc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612af19190614605565b9250508190555080612b029061481e565b9050612a45565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c095760005b8351811015612c0757828181518110612b85577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000868481518110612bca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612bef91906146b5565b9250508190555080612c009061481e565b9050612b43565b505b505050505050565b612c308473ffffffffffffffffffffffffffffffffffffffff166130c4565b15612df0578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612c76959493929190613fd4565b602060405180830381600087803b158015612c9057600080fd5b505af1925050508015612cc157506040513d601f19601f82011682018060405250810190612cbe9190613932565b60015b612d6757612ccd614922565b806308c379a01415612d2a5750612ce2614ebd565b80612ced5750612d2c565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d21919061418f565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5e906141b1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de5906141f1565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612e3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612e6b5781602001602082028036833780820191505090505b5090508281600081518110612ea9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612edd8473ffffffffffffffffffffffffffffffffffffffff166130c4565b1561309d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612f2395949392919061403c565b602060405180830381600087803b158015612f3d57600080fd5b505af1925050508015612f6e57506040513d601f19601f82011682018060405250810190612f6b9190613932565b60015b61301457612f7a614922565b806308c379a01415612fd75750612f8f614ebd565b80612f9a5750612fd9565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fce919061418f565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300b906141b1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461309b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613092906141f1565b60405180910390fd5b505b505050505050565b6000826130b285846130d7565b1490509392505050565b505050505050565b600080823b905060008111915050919050565b60008082905060005b84518110156131a5576000858281518110613124577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311613165578281604051602001613148929190613f8d565b604051602081830303815290604052805190602001209250613191565b8083604051602001613178929190613f8d565b6040516020818303038152906040528051906020012092505b50808061319d9061481e565b9150506130e0565b508091505092915050565b8280546131bc906147bb565b90600052602060002090601f0160209004810192826131de5760008555613225565b82601f106131f757805160ff1916838001178555613225565b82800160010185558215613225579182015b82811115613224578251825591602001919060010190613209565b5b5090506132329190613236565b5090565b5b8082111561324f576000816000905550600101613237565b5090565b6000613266613261846144da565b6144b5565b9050808382526020820190508285602086028201111561328557600080fd5b60005b858110156132b5578161329b88826133a7565b845260208401935060208301925050600181019050613288565b5050509392505050565b60006132d26132cd84614506565b6144b5565b905080838252602082019050828560208602820111156132f157600080fd5b60005b8581101561332157816133078882613517565b8452602084019350602083019250506001810190506132f4565b5050509392505050565b600061333e61333984614532565b6144b5565b90508281526020810184848401111561335657600080fd5b613361848285614779565b509392505050565b600061337c61337784614563565b6144b5565b90508281526020810184848401111561339457600080fd5b61339f848285614779565b509392505050565b6000813590506133b681614f53565b92915050565b6000813590506133cb81614f6a565b92915050565b600082601f8301126133e257600080fd5b81356133f2848260208601613253565b91505092915050565b60008083601f84011261340d57600080fd5b8235905067ffffffffffffffff81111561342657600080fd5b60208301915083602082028301111561343e57600080fd5b9250929050565b600082601f83011261345657600080fd5b81356134668482602086016132bf565b91505092915050565b60008135905061347e81614f81565b92915050565b60008135905061349381614f98565b92915050565b6000813590506134a881614faf565b92915050565b6000815190506134bd81614faf565b92915050565b600082601f8301126134d457600080fd5b81356134e484826020860161332b565b91505092915050565b600082601f8301126134fe57600080fd5b813561350e848260208601613369565b91505092915050565b60008135905061352681614fc6565b92915050565b60006020828403121561353e57600080fd5b600061354c848285016133a7565b91505092915050565b6000806040838503121561356857600080fd5b6000613576858286016133bc565b925050602061358785828601613517565b9150509250929050565b600080604083850312156135a457600080fd5b60006135b2858286016133a7565b92505060206135c3858286016133a7565b9150509250929050565b600080600080600060a086880312156135e557600080fd5b60006135f3888289016133a7565b9550506020613604888289016133a7565b945050604086013567ffffffffffffffff81111561362157600080fd5b61362d88828901613445565b935050606086013567ffffffffffffffff81111561364a57600080fd5b61365688828901613445565b925050608086013567ffffffffffffffff81111561367357600080fd5b61367f888289016134c3565b9150509295509295909350565b600080600080600060a086880312156136a457600080fd5b60006136b2888289016133a7565b95505060206136c3888289016133a7565b94505060406136d488828901613517565b93505060606136e588828901613517565b925050608086013567ffffffffffffffff81111561370257600080fd5b61370e888289016134c3565b9150509295509295909350565b6000806040838503121561372e57600080fd5b600061373c858286016133a7565b925050602061374d8582860161346f565b9150509250929050565b6000806040838503121561376a57600080fd5b6000613778858286016133a7565b925050602061378985828601613517565b9150509250929050565b600080604083850312156137a657600080fd5b600083013567ffffffffffffffff8111156137c057600080fd5b6137cc858286016133d1565b925050602083013567ffffffffffffffff8111156137e957600080fd5b6137f585828601613445565b9150509250929050565b6000806040838503121561381257600080fd5b600083013567ffffffffffffffff81111561382c57600080fd5b61383885828601613445565b925050602061384985828601613517565b9150509250929050565b600080600080600080600060e0888a03121561386e57600080fd5b600061387c8a828b01613484565b975050602061388d8a828b01613517565b965050604061389e8a828b01613517565b95505060606138af8a828b01613517565b945050608088013567ffffffffffffffff8111156138cc57600080fd5b6138d88a828b016134ed565b93505060a06138e98a828b01613517565b92505060c06138fa8a828b0161346f565b91505092959891949750929550565b60006020828403121561391b57600080fd5b600061392984828501613499565b91505092915050565b60006020828403121561394457600080fd5b6000613952848285016134ae565b91505092915050565b60006020828403121561396d57600080fd5b600082013567ffffffffffffffff81111561398757600080fd5b613993848285016134ed565b91505092915050565b6000602082840312156139ae57600080fd5b60006139bc84828501613517565b91505092915050565b60008060008060008060008060006101208a8c0312156139e457600080fd5b60006139f28c828d01613517565b9950506020613a038c828d01613484565b9850506040613a148c828d01613517565b9750506060613a258c828d01613517565b9650506080613a368c828d01613517565b95505060a08a013567ffffffffffffffff811115613a5357600080fd5b613a5f8c828d016134ed565b94505060c0613a708c828d01613517565b93505060e0613a818c828d0161346f565b925050610100613a938c828d0161346f565b9150509295985092959850929598565b60008060008060608587031215613ab957600080fd5b6000613ac787828801613517565b9450506020613ad887828801613517565b935050604085013567ffffffffffffffff811115613af557600080fd5b613b01878288016133fb565b925092505092959194509250565b6000613b1b8383613f54565b60208301905092915050565b613b30816146e9565b82525050565b613b47613b42826146e9565b614867565b82525050565b6000613b58826145a4565b613b6281856145d2565b9350613b6d83614594565b8060005b83811015613b9e578151613b858882613b0f565b9750613b90836145c5565b925050600181019050613b71565b5085935050505092915050565b613bb48161470d565b82525050565b613bc381614719565b82525050565b613bda613bd582614719565b614879565b82525050565b6000613beb826145af565b613bf581856145e3565b9350613c05818560208601614788565b613c0e81614944565b840191505092915050565b6000613c24826145ba565b613c2e81856145f4565b9350613c3e818560208601614788565b613c4781614944565b840191505092915050565b6000613c5f6034836145f4565b9150613c6a8261496f565b604082019050919050565b6000613c826013836145f4565b9150613c8d826149be565b602082019050919050565b6000613ca56028836145f4565b9150613cb0826149e7565b604082019050919050565b6000613cc8601c836145f4565b9150613cd382614a36565b602082019050919050565b6000613ceb602b836145f4565b9150613cf682614a5f565b604082019050919050565b6000613d0e6026836145f4565b9150613d1982614aae565b604082019050919050565b6000613d316029836145f4565b9150613d3c82614afd565b604082019050919050565b6000613d546010836145f4565b9150613d5f82614b4c565b602082019050919050565b6000613d776012836145f4565b9150613d8282614b75565b602082019050919050565b6000613d9a6025836145f4565b9150613da582614b9e565b604082019050919050565b6000613dbd6032836145f4565b9150613dc882614bed565b604082019050919050565b6000613de0602a836145f4565b9150613deb82614c3c565b604082019050919050565b6000613e036020836145f4565b9150613e0e82614c8b565b602082019050919050565b6000613e266016836145f4565b9150613e3182614cb4565b602082019050919050565b6000613e496015836145f4565b9150613e5482614cdd565b602082019050919050565b6000613e6c600d836145f4565b9150613e7782614d06565b602082019050919050565b6000613e8f6029836145f4565b9150613e9a82614d2f565b604082019050919050565b6000613eb2601f836145f4565b9150613ebd82614d7e565b602082019050919050565b6000613ed56029836145f4565b9150613ee082614da7565b604082019050919050565b6000613ef86028836145f4565b9150613f0382614df6565b604082019050919050565b6000613f1b601a836145f4565b9150613f2682614e45565b602082019050919050565b6000613f3e6021836145f4565b9150613f4982614e6e565b604082019050919050565b613f5d8161476f565b82525050565b613f6c8161476f565b82525050565b6000613f7e8284613b36565b60148201915081905092915050565b6000613f998285613bc9565b602082019150613fa98284613bc9565b6020820191508190509392505050565b6000602082019050613fce6000830184613b27565b92915050565b600060a082019050613fe96000830188613b27565b613ff66020830187613b27565b81810360408301526140088186613b4d565b9050818103606083015261401c8185613b4d565b905081810360808301526140308184613be0565b90509695505050505050565b600060a0820190506140516000830188613b27565b61405e6020830187613b27565b61406b6040830186613f63565b6140786060830185613f63565b818103608083015261408a8184613be0565b90509695505050505050565b600060208201905081810360008301526140b08184613b4d565b905092915050565b600060408201905081810360008301526140d28185613b4d565b905081810360208301526140e68184613b4d565b90509392505050565b60006020820190506141046000830184613bab565b92915050565b600061010082019050614120600083018b613bba565b61412d602083018a613bab565b61413a6040830189613f63565b6141476060830188613f63565b6141546080830187613f63565b61416160a0830186613f63565b81810360c08301526141738185613c19565b905061418260e0830184613bab565b9998505050505050505050565b600060208201905081810360008301526141a98184613c19565b905092915050565b600060208201905081810360008301526141ca81613c52565b9050919050565b600060208201905081810360008301526141ea81613c75565b9050919050565b6000602082019050818103600083015261420a81613c98565b9050919050565b6000602082019050818103600083015261422a81613cbb565b9050919050565b6000602082019050818103600083015261424a81613cde565b9050919050565b6000602082019050818103600083015261426a81613d01565b9050919050565b6000602082019050818103600083015261428a81613d24565b9050919050565b600060208201905081810360008301526142aa81613d47565b9050919050565b600060208201905081810360008301526142ca81613d6a565b9050919050565b600060208201905081810360008301526142ea81613d8d565b9050919050565b6000602082019050818103600083015261430a81613db0565b9050919050565b6000602082019050818103600083015261432a81613dd3565b9050919050565b6000602082019050818103600083015261434a81613df6565b9050919050565b6000602082019050818103600083015261436a81613e19565b9050919050565b6000602082019050818103600083015261438a81613e3c565b9050919050565b600060208201905081810360008301526143aa81613e5f565b9050919050565b600060208201905081810360008301526143ca81613e82565b9050919050565b600060208201905081810360008301526143ea81613ea5565b9050919050565b6000602082019050818103600083015261440a81613ec8565b9050919050565b6000602082019050818103600083015261442a81613eeb565b9050919050565b6000602082019050818103600083015261444a81613f0e565b9050919050565b6000602082019050818103600083015261446a81613f31565b9050919050565b60006020820190506144866000830184613f63565b92915050565b60006040820190506144a16000830185613f63565b6144ae6020830184613f63565b9392505050565b60006144bf6144d0565b90506144cb82826147ed565b919050565b6000604051905090565b600067ffffffffffffffff8211156144f5576144f46148f3565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614521576145206148f3565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561454d5761454c6148f3565b5b61455682614944565b9050602081019050919050565b600067ffffffffffffffff82111561457e5761457d6148f3565b5b61458782614944565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006146108261476f565b915061461b8361476f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146505761464f614895565b5b828201905092915050565b60006146668261476f565b91506146718361476f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146aa576146a9614895565b5b828202905092915050565b60006146c08261476f565b91506146cb8361476f565b9250828210156146de576146dd614895565b5b828203905092915050565b60006146f48261474f565b9050919050565b60006147068261474f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156147a657808201518184015260208101905061478b565b838111156147b5576000848401525b50505050565b600060028204905060018216806147d357607f821691505b602082108114156147e7576147e66148c4565b5b50919050565b6147f682614944565b810181811067ffffffffffffffff82111715614815576148146148f3565b5b80604052505050565b60006148298261476f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561485c5761485b614895565b5b600182019050919050565b600061487282614883565b9050919050565b6000819050919050565b600061488e82614955565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156149415760046000803e61493e600051614962565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f546f6b656e20646f65736e277420657869737400000000000000000000000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20746f6b656e20737570706c7900000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f5365726965732069732070617573656400000000000000000000000000000000600082015250565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f57686974656c697374206d696e74696e67206f6e6c7900000000000000000000600082015250565b7f53657269657320646f6573206e6f742065786973740000000000000000000000600082015250565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20706572207472616e73616374696f6e00600082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d207065722077616c6c6574000000000000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614ecd57614f50565b614ed56144d0565b60043d036004823e80513d602482011167ffffffffffffffff82111715614efd575050614f50565b808201805167ffffffffffffffff811115614f1b5750505050614f50565b80602083010160043d038501811115614f38575050505050614f50565b614f47826020018501866147ed565b82955050505050505b90565b614f5c816146e9565b8114614f6757600080fd5b50565b614f73816146fb565b8114614f7e57600080fd5b50565b614f8a8161470d565b8114614f9557600080fd5b50565b614fa181614719565b8114614fac57600080fd5b50565b614fb881614723565b8114614fc357600080fd5b50565b614fcf8161476f565b8114614fda57600080fd5b5056fea264697066735822122075e2f365ebf1977d7beec314ab62e005fb6fd6561f1a2076568a7ea7b984fe3864736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000f4d6f727068657535205365726965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4d4f525045553553455249455300000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Morpheu5 Series
Arg [1] : _symbol (string): MORPEU5SERIES
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [3] : 4d6f727068657535205365726965730000000000000000000000000000000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 4d4f525045553553455249455300000000000000000000000000000000000000
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.