Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
625
Holders
555
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:
Ringers962Edition
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.21; /*----------------------------------------------------------\ | _ _ | | /\ | | /\ | | | | / \__ ____ _ _ __ | |_ / \ _ __| |_ ___ | | / /\ \ \ / / _` | '_ \| __| / /\ \ | '__| __/ _ \ | | / ____ \ V / (_| | | | | |_ / ____ \| | | || __/ | | /_/ \_\_/ \__,_|_| |_|\__/_/ \_\_| \__\___| | | | | https://avantarte.com/careers | | https://avantarte.com/support/contact | | | \----------------------------------------------------------*/ import "../implementations/Erc1155/LazyMintByTokenIdERC1155.sol"; /** * @title A Lazy minting contract for Ringers #962: Edition by Dmitri Cherniak * @author Liron Navon */ contract Ringers962Edition is LazyMintByTokenIdERC1155 { constructor( string memory _name, address _minter, string memory _uri, address royaltiesReciever, uint256 royaltiesFraction ) LazyMintByTokenIdERC1155( _name, _minter, _uri, royaltiesReciever, royaltiesFraction ) {} }
// SPDX-License-Identifier: MIT pragma solidity 0.8.21; /*----------------------------------------------------------\ | _ _ | | /\ | | /\ | | | | / \__ ____ _ _ __ | |_ / \ _ __| |_ ___ | | / /\ \ \ / / _` | '_ \| __| / /\ \ | '__| __/ _ \ | | / ____ \ V / (_| | | | | |_ / ____ \| | | || __/ | | /_/ \_\_/ \__,_|_| |_|\__/_/ \_\_| \__\___| | | | | https://avantarte.com/careers | | https://avantarte.com/support/contact | | | \----------------------------------------------------------*/ import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import {ISpecifiedMinter} from "../../libraries/ISpecifiedMinter.sol"; import {SimpleRoyalties} from "../../libraries/SimpleRoyalties.sol"; /** * @title A Lazy minting contract that can mint arbitrary token ids * @author Liron Navon * @notice this contract specified an address "minter" which is the only address that can call "mint" */ contract LazyMintByTokenIdERC1155 is ERC1155, SimpleRoyalties, Ownable, ISpecifiedMinter { /// @dev only the minter address can call "mint" address public minter; string public name; constructor( string memory _name, address _minter, string memory _uri, address royaltiesReciever, uint256 royaltiesFraction ) ERC1155(_uri) SimpleRoyalties(royaltiesReciever, royaltiesFraction) { minter = _minter; name = _name; } modifier onlyMinter() { require(minter == msg.sender, "Unauthorized minter"); _; } /** * @dev Mints a token to a given user */ function _mintToken(address to, uint256 tokenId) private returns (uint256) { _mint(to, tokenId, 1, ""); return tokenId; } /** * @dev Calls mint, only for requests of the minter address */ function mint( address to, uint256 tokenId ) public onlyMinter returns (uint256) { return _mintToken(to, tokenId); } /** * @dev Calls mint, only for the contract owner */ function ownerMint( address to, uint256 tokenId ) public onlyOwner returns (uint256) { return _mintToken(to, tokenId); } /** * @dev Set a new uri */ function setUri(string calldata _uri) public onlyOwner { _setURI(_uri); } /** * @dev Set a new minter */ function setMinter(address _minter) public onlyOwner { minter = _minter; } /** * @dev Set new royalties for the contract */ function setRoyalties(address reciever, uint256 fraction) public onlyOwner { _setRoyalty(reciever, fraction); } function supportsInterface( bytes4 interfaceId ) public view virtual override(SimpleRoyalties, ERC1155) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.21; /*----------------------------------------------------------\ | _ _ | | /\ | | /\ | | | | / \__ ____ _ _ __ | |_ / \ _ __| |_ ___ | | / /\ \ \ / / _` | '_ \| __| / /\ \ | '__| __/ _ \ | | / ____ \ V / (_| | | | | |_ / ____ \| | | || __/ | | /_/ \_\_/ \__,_|_| |_|\__/_/ \_\_| \__\___| | | | | https://avantarte.com/careers | | https://avantarte.com/support/contact | | | \----------------------------------------------------------*/ import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * @author Liron Navon * * Royalty information can only be specified globally for all token ids via {_setDefaultRoyalty}. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * It does the same as open zepplins royalties setup, * but doesn't include a royalty per token, only a single royalty for all tokens. * https://docs.openzeppelin.com/contracts/4.x/api/token/erc721#ERC721Royalty */ contract SimpleRoyalties is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } address private _royaltyReciever; uint256 private _royaltyFraction; constructor(address _reciever, uint256 _fraction) { _setRoyalty(_reciever, _fraction); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface( bytes4 interfaceId ) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo( uint256, uint256 _salePrice ) public view virtual override returns (address, uint256) { uint256 royaltyAmount = (_salePrice * _royaltyFraction) / _feeDenominator(); return (_royaltyReciever, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint256) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setRoyalty(address receiver, uint256 fraction) internal virtual { require(fraction <= _feeDenominator(), "ERC2981: fraction too high"); require(receiver != address(0), "ERC2981: invalid receiver"); _royaltyReciever = receiver; _royaltyFraction = fraction; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.21; /*----------------------------------------------------------\ | _ _ | | /\ | | /\ | | | | / \__ ____ _ _ __ | |_ / \ _ __| |_ ___ | | / /\ \ \ / / _` | '_ \| __| / /\ \ | '__| __/ _ \ | | / ____ \ V / (_| | | | | |_ / ____ \| | | || __/ | | /_/ \_\_/ \__,_|_| |_|\__/_/ \_\_| \__\___| | | | | https://avantarte.com/careers | | https://avantarte.com/support/contact | | | \----------------------------------------------------------*/ /** * @title An interface for a contract that allows minting with a specified token id * @author Liron Navon * @dev This interface is used for connecting to the lazy minting contracts. */ interface ISpecifiedMinter { function mint(address to, uint256 tokenId) external returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions 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 (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (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: address zero is not a valid owner"); 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 token owner or 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: caller is not token owner or 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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, 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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * 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 _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); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * 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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); 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); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * 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); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {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 `ids` and `amounts` 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 {} /** * @dev Hook that is called after 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 _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non-ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non-ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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 (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// 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 (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/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 (last updated v4.5.0) (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. * * NOTE: 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. * * NOTE: 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 (last updated v4.7.0) (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 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 (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" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address","name":"_minter","type":"address"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"royaltiesReciever","type":"address"},{"internalType":"uint256","name":"royaltiesFraction","type":"uint256"}],"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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"reciever","type":"address"},{"internalType":"uint256","name":"fraction","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setUri","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801562000010575f80fd5b5060405162003ef038038062003ef08339818101604052810190620000369190620004fd565b84848484848181846200004f81620000e660201b60201c565b50620000628282620000fb60201b60201c565b505062000084620000786200020c60201b60201c565b6200021360201b60201c565b8360065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460079081620000d59190620007ed565b5050505050505050505050620009bd565b8060029081620000f79190620007ed565b5050565b6200010b620002d660201b60201c565b81111562000150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000147906200092f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620001c1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001b8906200099d565b60405180910390fd5b8160035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806004819055505050565b5f33905090565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f612710905090565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6200034082620002f8565b810181811067ffffffffffffffff8211171562000362576200036162000308565b5b80604052505050565b5f62000376620002df565b905062000384828262000335565b919050565b5f67ffffffffffffffff821115620003a657620003a562000308565b5b620003b182620002f8565b9050602081019050919050565b5f5b83811015620003dd578082015181840152602081019050620003c0565b5f8484015250505050565b5f620003fe620003f88462000389565b6200036b565b9050828152602081018484840111156200041d576200041c620002f4565b5b6200042a848285620003be565b509392505050565b5f82601f830112620004495762000448620002f0565b5b81516200045b848260208601620003e8565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200048f8262000464565b9050919050565b620004a18162000483565b8114620004ac575f80fd5b50565b5f81519050620004bf8162000496565b92915050565b5f819050919050565b620004d981620004c5565b8114620004e4575f80fd5b50565b5f81519050620004f781620004ce565b92915050565b5f805f805f60a08688031215620005195762000518620002e8565b5b5f86015167ffffffffffffffff811115620005395762000538620002ec565b5b620005478882890162000432565b95505060206200055a88828901620004af565b945050604086015167ffffffffffffffff8111156200057e576200057d620002ec565b5b6200058c8882890162000432565b93505060606200059f88828901620004af565b9250506080620005b288828901620004e7565b9150509295509295909350565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200060e57607f821691505b602082108103620006245762000623620005c9565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620006887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200064b565b6200069486836200064b565b95508019841693508086168417925050509392505050565b5f819050919050565b5f620006d5620006cf620006c984620004c5565b620006ac565b620004c5565b9050919050565b5f819050919050565b620006f083620006b5565b62000708620006ff82620006dc565b84845462000657565b825550505050565b5f90565b6200071e62000710565b6200072b818484620006e5565b505050565b5b818110156200075257620007465f8262000714565b60018101905062000731565b5050565b601f821115620007a1576200076b816200062a565b62000776846200063c565b8101602085101562000786578190505b6200079e62000795856200063c565b83018262000730565b50505b505050565b5f82821c905092915050565b5f620007c35f1984600802620007a6565b1980831691505092915050565b5f620007dd8383620007b2565b9150826002028217905092915050565b620007f882620005bf565b67ffffffffffffffff81111562000814576200081362000308565b5b620008208254620005f6565b6200082d82828562000756565b5f60209050601f83116001811462000863575f84156200084e578287015190505b6200085a8582620007d0565b865550620008c9565b601f19841662000873866200062a565b5f5b828110156200089c5784890151825560018201915060208501945060208101905062000875565b86831015620008bc5784890151620008b8601f891682620007b2565b8355505b6001600288020188555050505b505050505050565b5f82825260208201905092915050565b7f455243323938313a206672616374696f6e20746f6f20686967680000000000005f82015250565b5f62000917601a83620008d1565b91506200092482620008e1565b602082019050919050565b5f6020820190508181035f830152620009488162000909565b9050919050565b7f455243323938313a20696e76616c6964207265636569766572000000000000005f82015250565b5f62000985601983620008d1565b915062000992826200094f565b602082019050919050565b5f6020820190508181035f830152620009b68162000977565b9050919050565b61352580620009cb5f395ff3fe608060405234801561000f575f80fd5b506004361061011e575f3560e01c80634e1273f4116100ab578063a22cb4651161006f578063a22cb4651461032b578063e985e9c514610347578063f242432a14610377578063f2fde38b14610393578063fca3b5aa146103af5761011e565b80634e1273f41461029b578063715018a6146102cb5780638c7ea24b146102d55780638da5cb5b146102f15780639b642de11461030f5761011e565b80630e89341c116100f25780630e89341c146101be5780632a55205a146101ee5780632eb2c2d61461021f57806340c10f191461023b578063484b973c1461026b5761011e565b8062fdd58e1461012257806301ffc9a71461015257806306fdde031461018257806307546172146101a0575b5f80fd5b61013c60048036038101906101379190611d4a565b6103cb565b6040516101499190611d97565b60405180910390f35b61016c60048036038101906101679190611e05565b61048e565b6040516101799190611e4a565b60405180910390f35b61018a61049f565b6040516101979190611eed565b60405180910390f35b6101a861052b565b6040516101b59190611f1c565b60405180910390f35b6101d860048036038101906101d39190611f35565b610550565b6040516101e59190611eed565b60405180910390f35b61020860048036038101906102039190611f60565b6105e2565b604051610216929190611f9e565b60405180910390f35b610239600480360381019061023491906121b5565b610636565b005b61025560048036038101906102509190611d4a565b6106d7565b6040516102629190611d97565b60405180910390f35b61028560048036038101906102809190611d4a565b610779565b6040516102929190611d97565b60405180910390f35b6102b560048036038101906102b09190612340565b610794565b6040516102c2919061246d565b60405180910390f35b6102d36108ab565b005b6102ef60048036038101906102ea9190611d4a565b6108be565b005b6102f96108d4565b6040516103069190611f1c565b60405180910390f35b610329600480360381019061032491906124e6565b6108fc565b005b6103456004803603810190610340919061255b565b610954565b005b610361600480360381019061035c9190612599565b61096a565b60405161036e9190611e4a565b60405180910390f35b610391600480360381019061038c91906125d7565b6109f8565b005b6103ad60048036038101906103a8919061266a565b610a99565b005b6103c960048036038101906103c4919061266a565b610b1b565b005b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361043a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161043190612705565b60405180910390fd5b5f808381526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f61049882610b66565b9050919050565b600780546104ac90612750565b80601f01602080910402602001604051908101604052809291908181526020018280546104d890612750565b80156105235780601f106104fa57610100808354040283529160200191610523565b820191905f5260205f20905b81548152906001019060200180831161050657829003601f168201915b505050505081565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606002805461055f90612750565b80601f016020809104026020016040519081016040528092919081815260200182805461058b90612750565b80156105d65780601f106105ad576101008083540402835291602001916105d6565b820191905f5260205f20905b8154815290600101906020018083116105b957829003601f168201915b50505050509050919050565b5f805f6105ed610bdf565b600454856105fb91906127ad565b610605919061281b565b905060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b61063e610be8565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061068457506106838561067e610be8565b61096a565b5b6106c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ba906128bb565b60405180910390fd5b6106d08585858585610bef565b5050505050565b5f3373ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075e90612923565b60405180910390fd5b6107718383610efd565b905092915050565b5f610782610f22565b61078c8383610efd565b905092915050565b606081518351146107da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d1906129b1565b60405180910390fd5b5f835167ffffffffffffffff8111156107f6576107f5611fc9565b5b6040519080825280602002602001820160405280156108245781602001602082028036833780820191505090505b5090505f5b84518110156108a057610870858281518110610848576108476129cf565b5b6020026020010151858381518110610863576108626129cf565b5b60200260200101516103cb565b828281518110610883576108826129cf565b5b60200260200101818152505080610899906129fc565b9050610829565b508091505092915050565b6108b3610f22565b6108bc5f610fa0565b565b6108c6610f22565b6108d08282611063565b5050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610904610f22565b61095082828080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f82011690508083019250505050505050611166565b5050565b61096661095f610be8565b8383611179565b5050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b610a00610be8565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a465750610a4585610a40610be8565b61096a565b5b610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c906128bb565b60405180910390fd5b610a9285858585856112e0565b5050505050565b610aa1610f22565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0690612ab3565b60405180910390fd5b610b1881610fa0565b50565b610b23610f22565b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bd85750610bd782611569565b5b9050919050565b5f612710905090565b5f33905090565b8151835114610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a90612b41565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9890612bcf565b60405180910390fd5b5f610caa610be8565b9050610cba81878787878761164a565b5f5b8451811015610e5a575f858281518110610cd957610cd86129cf565b5b602002602001015190505f858381518110610cf757610cf66129cf565b5b602002602001015190505f805f8481526020019081526020015f205f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8a90612c5d565b60405180910390fd5b8181035f808581526020019081526020015f205f8c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808581526020019081526020015f205f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610e3f9190612c7b565b9250508190555050505080610e53906129fc565b9050610cbc565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610ed1929190612cae565b60405180910390a4610ee7818787878787611652565b610ef581878787878761165a565b505050505050565b5f610f198383600160405180602001604052805f815250611830565b81905092915050565b610f2a610be8565b73ffffffffffffffffffffffffffffffffffffffff16610f486108d4565b73ffffffffffffffffffffffffffffffffffffffff1614610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9590612d2d565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61106b610bdf565b8111156110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490612d95565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361111b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111290612dfd565b60405180910390fd5b8160035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806004819055505050565b80600290816111759190612fb8565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111de906130f7565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112d39190611e4a565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361134e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134590612bcf565b60405180910390fd5b5f611357610be8565b90505f611363856119d3565b90505f61136f856119d3565b905061137f83898985858961164a565b5f805f8881526020019081526020015f205f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905085811015611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890612c5d565b60405180910390fd5b8581035f808981526020019081526020015f205f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550855f808981526020019081526020015f205f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546114bd9190612c7b565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161153a929190613115565b60405180910390a4611550848a8a86868a611652565b61155e848a8a8a8a8a611a4b565b505050505050505050565b5f7fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061163357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611643575061164282611c21565b5b9050919050565b505050505050565b505050505050565b6116798473ffffffffffffffffffffffffffffffffffffffff16611c8a565b15611828578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016116bf95949392919061318e565b6020604051808303815f875af19250505080156116fa57506040513d601f19601f820116820180604052508101906116f79190613208565b60015b61179f5761170661323f565b806308c379a003611762575061171a61325e565b806117255750611764565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117599190611eed565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117969061335d565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181d906133eb565b60405180910390fd5b505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361189e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189590613479565b60405180910390fd5b5f6118a7610be8565b90505f6118b3856119d3565b90505f6118bf856119d3565b90506118cf835f8985858961164a565b845f808881526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546119299190612c7b565b925050819055508673ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516119a6929190613115565b60405180910390a46119bc835f89858589611652565b6119ca835f89898989611a4b565b50505050505050565b60605f600167ffffffffffffffff8111156119f1576119f0611fc9565b5b604051908082528060200260200182016040528015611a1f5781602001602082028036833780820191505090505b50905082815f81518110611a3657611a356129cf565b5b60200260200101818152505080915050919050565b611a6a8473ffffffffffffffffffffffffffffffffffffffff16611c8a565b15611c19578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611ab0959493929190613497565b6020604051808303815f875af1925050508015611aeb57506040513d601f19601f82011682018060405250810190611ae89190613208565b60015b611b9057611af761323f565b806308c379a003611b535750611b0b61325e565b80611b165750611b55565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4a9190611eed565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b879061335d565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e906133eb565b60405180910390fd5b505b505050505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611ce682611cbd565b9050919050565b611cf681611cdc565b8114611d00575f80fd5b50565b5f81359050611d1181611ced565b92915050565b5f819050919050565b611d2981611d17565b8114611d33575f80fd5b50565b5f81359050611d4481611d20565b92915050565b5f8060408385031215611d6057611d5f611cb5565b5b5f611d6d85828601611d03565b9250506020611d7e85828601611d36565b9150509250929050565b611d9181611d17565b82525050565b5f602082019050611daa5f830184611d88565b92915050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611de481611db0565b8114611dee575f80fd5b50565b5f81359050611dff81611ddb565b92915050565b5f60208284031215611e1a57611e19611cb5565b5b5f611e2784828501611df1565b91505092915050565b5f8115159050919050565b611e4481611e30565b82525050565b5f602082019050611e5d5f830184611e3b565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611e9a578082015181840152602081019050611e7f565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611ebf82611e63565b611ec98185611e6d565b9350611ed9818560208601611e7d565b611ee281611ea5565b840191505092915050565b5f6020820190508181035f830152611f058184611eb5565b905092915050565b611f1681611cdc565b82525050565b5f602082019050611f2f5f830184611f0d565b92915050565b5f60208284031215611f4a57611f49611cb5565b5b5f611f5784828501611d36565b91505092915050565b5f8060408385031215611f7657611f75611cb5565b5b5f611f8385828601611d36565b9250506020611f9485828601611d36565b9150509250929050565b5f604082019050611fb15f830185611f0d565b611fbe6020830184611d88565b9392505050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611fff82611ea5565b810181811067ffffffffffffffff8211171561201e5761201d611fc9565b5b80604052505050565b5f612030611cac565b905061203c8282611ff6565b919050565b5f67ffffffffffffffff82111561205b5761205a611fc9565b5b602082029050602081019050919050565b5f80fd5b5f61208261207d84612041565b612027565b905080838252602082019050602084028301858111156120a5576120a461206c565b5b835b818110156120ce57806120ba8882611d36565b8452602084019350506020810190506120a7565b5050509392505050565b5f82601f8301126120ec576120eb611fc5565b5b81356120fc848260208601612070565b91505092915050565b5f80fd5b5f67ffffffffffffffff82111561212357612122611fc9565b5b61212c82611ea5565b9050602081019050919050565b828183375f83830152505050565b5f61215961215484612109565b612027565b90508281526020810184848401111561217557612174612105565b5b612180848285612139565b509392505050565b5f82601f83011261219c5761219b611fc5565b5b81356121ac848260208601612147565b91505092915050565b5f805f805f60a086880312156121ce576121cd611cb5565b5b5f6121db88828901611d03565b95505060206121ec88828901611d03565b945050604086013567ffffffffffffffff81111561220d5761220c611cb9565b5b612219888289016120d8565b935050606086013567ffffffffffffffff81111561223a57612239611cb9565b5b612246888289016120d8565b925050608086013567ffffffffffffffff81111561226757612266611cb9565b5b61227388828901612188565b9150509295509295909350565b5f67ffffffffffffffff82111561229a57612299611fc9565b5b602082029050602081019050919050565b5f6122bd6122b884612280565b612027565b905080838252602082019050602084028301858111156122e0576122df61206c565b5b835b8181101561230957806122f58882611d03565b8452602084019350506020810190506122e2565b5050509392505050565b5f82601f83011261232757612326611fc5565b5b81356123378482602086016122ab565b91505092915050565b5f806040838503121561235657612355611cb5565b5b5f83013567ffffffffffffffff81111561237357612372611cb9565b5b61237f85828601612313565b925050602083013567ffffffffffffffff8111156123a05761239f611cb9565b5b6123ac858286016120d8565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6123e881611d17565b82525050565b5f6123f983836123df565b60208301905092915050565b5f602082019050919050565b5f61241b826123b6565b61242581856123c0565b9350612430836123d0565b805f5b8381101561246057815161244788826123ee565b975061245283612405565b925050600181019050612433565b5085935050505092915050565b5f6020820190508181035f8301526124858184612411565b905092915050565b5f80fd5b5f8083601f8401126124a6576124a5611fc5565b5b8235905067ffffffffffffffff8111156124c3576124c261248d565b5b6020830191508360018202830111156124df576124de61206c565b5b9250929050565b5f80602083850312156124fc576124fb611cb5565b5b5f83013567ffffffffffffffff81111561251957612518611cb9565b5b61252585828601612491565b92509250509250929050565b61253a81611e30565b8114612544575f80fd5b50565b5f8135905061255581612531565b92915050565b5f806040838503121561257157612570611cb5565b5b5f61257e85828601611d03565b925050602061258f85828601612547565b9150509250929050565b5f80604083850312156125af576125ae611cb5565b5b5f6125bc85828601611d03565b92505060206125cd85828601611d03565b9150509250929050565b5f805f805f60a086880312156125f0576125ef611cb5565b5b5f6125fd88828901611d03565b955050602061260e88828901611d03565b945050604061261f88828901611d36565b935050606061263088828901611d36565b925050608086013567ffffffffffffffff81111561265157612650611cb9565b5b61265d88828901612188565b9150509295509295909350565b5f6020828403121561267f5761267e611cb5565b5b5f61268c84828501611d03565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f74206120765f8201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b5f6126ef602a83611e6d565b91506126fa82612695565b604082019050919050565b5f6020820190508181035f83015261271c816126e3565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061276757607f821691505b60208210810361277a57612779612723565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6127b782611d17565b91506127c283611d17565b92508282026127d081611d17565b915082820484148315176127e7576127e6612780565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61282582611d17565b915061283083611d17565b9250826128405761283f6127ee565b5b828204905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e5f8201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b5f6128a5602e83611e6d565b91506128b08261284b565b604082019050919050565b5f6020820190508181035f8301526128d281612899565b9050919050565b7f556e617574686f72697a6564206d696e746572000000000000000000000000005f82015250565b5f61290d601383611e6d565b9150612918826128d9565b602082019050919050565b5f6020820190508181035f83015261293a81612901565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e6774685f8201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b5f61299b602983611e6d565b91506129a682612941565b604082019050919050565b5f6020820190508181035f8301526129c88161298f565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f612a0682611d17565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612a3857612a37612780565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612a9d602683611e6d565b9150612aa882612a43565b604082019050919050565b5f6020820190508181035f830152612aca81612a91565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e677468205f8201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b5f612b2b602883611e6d565b9150612b3682612ad1565b604082019050919050565b5f6020820190508181035f830152612b5881612b1f565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f612bb9602583611e6d565b9150612bc482612b5f565b604082019050919050565b5f6020820190508181035f830152612be681612bad565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f5f8201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b5f612c47602a83611e6d565b9150612c5282612bed565b604082019050919050565b5f6020820190508181035f830152612c7481612c3b565b9050919050565b5f612c8582611d17565b9150612c9083611d17565b9250828201905080821115612ca857612ca7612780565b5b92915050565b5f6040820190508181035f830152612cc68185612411565b90508181036020830152612cda8184612411565b90509392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612d17602083611e6d565b9150612d2282612ce3565b602082019050919050565b5f6020820190508181035f830152612d4481612d0b565b9050919050565b7f455243323938313a206672616374696f6e20746f6f20686967680000000000005f82015250565b5f612d7f601a83611e6d565b9150612d8a82612d4b565b602082019050919050565b5f6020820190508181035f830152612dac81612d73565b9050919050565b7f455243323938313a20696e76616c6964207265636569766572000000000000005f82015250565b5f612de7601983611e6d565b9150612df282612db3565b602082019050919050565b5f6020820190508181035f830152612e1481612ddb565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302612e777fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612e3c565b612e818683612e3c565b95508019841693508086168417925050509392505050565b5f819050919050565b5f612ebc612eb7612eb284611d17565b612e99565b611d17565b9050919050565b5f819050919050565b612ed583612ea2565b612ee9612ee182612ec3565b848454612e48565b825550505050565b5f90565b612efd612ef1565b612f08818484612ecc565b505050565b5b81811015612f2b57612f205f82612ef5565b600181019050612f0e565b5050565b601f821115612f7057612f4181612e1b565b612f4a84612e2d565b81016020851015612f59578190505b612f6d612f6585612e2d565b830182612f0d565b50505b505050565b5f82821c905092915050565b5f612f905f1984600802612f75565b1980831691505092915050565b5f612fa88383612f81565b9150826002028217905092915050565b612fc182611e63565b67ffffffffffffffff811115612fda57612fd9611fc9565b5b612fe48254612750565b612fef828285612f2f565b5f60209050601f831160018114613020575f841561300e578287015190505b6130188582612f9d565b86555061307f565b601f19841661302e86612e1b565b5f5b8281101561305557848901518255600182019150602085019450602081019050613030565b86831015613072578489015161306e601f891682612f81565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a2073657474696e6720617070726f76616c207374617475735f8201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b5f6130e1602983611e6d565b91506130ec82613087565b604082019050919050565b5f6020820190508181035f83015261310e816130d5565b9050919050565b5f6040820190506131285f830185611d88565b6131356020830184611d88565b9392505050565b5f81519050919050565b5f82825260208201905092915050565b5f6131608261313c565b61316a8185613146565b935061317a818560208601611e7d565b61318381611ea5565b840191505092915050565b5f60a0820190506131a15f830188611f0d565b6131ae6020830187611f0d565b81810360408301526131c08186612411565b905081810360608301526131d48185612411565b905081810360808301526131e88184613156565b90509695505050505050565b5f8151905061320281611ddb565b92915050565b5f6020828403121561321d5761321c611cb5565b5b5f61322a848285016131f4565b91505092915050565b5f8160e01c9050919050565b5f60033d111561325b5760045f803e6132585f51613233565b90505b90565b5f60443d106132ea5761326f611cac565b60043d036004823e80513d602482011167ffffffffffffffff821117156132975750506132ea565b808201805167ffffffffffffffff8111156132b557505050506132ea565b80602083010160043d0385018111156132d25750505050506132ea565b6132e182602001850186611ff6565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d455243313135355f8201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b5f613347603483611e6d565b9150613352826132ed565b604082019050919050565b5f6020820190508181035f8301526133748161333b565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a656374655f8201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b5f6133d5602883611e6d565b91506133e08261337b565b604082019050919050565b5f6020820190508181035f830152613402816133c9565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f613463602183611e6d565b915061346e82613409565b604082019050919050565b5f6020820190508181035f83015261349081613457565b9050919050565b5f60a0820190506134aa5f830188611f0d565b6134b76020830187611f0d565b6134c46040830186611d88565b6134d16060830185611d88565b81810360808301526134e38184613156565b9050969550505050505056fea2646970667358221220d11ed622a18e590904d5b88e2a84279ed85d894d21ca8e2fe7a7f64b5315ed1864736f6c6343000815003300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000cac5bc39ea6719bc005883e7d2836af25d9441460000000000000000000000000000000000000000000000000000000000000100000000000000000000000000e0753cfcabb86c2828b79a3ddd4faf6af0db0eb400000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000002252696e6765727320233936323a20546865204c41434d4120497465726174696f6e7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008f1646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c65776f6749434a755957316c496a6f67496c4a70626d646c636e4d67497a6b324d6a6f675647686c494578425130314249456c305a584a6864476c76626e4d694c416f6749434a6a636d56686447566b58324a35496a6f67496b5274615852796153424461475679626d6c686179497343694167496d526c63324e796158423061573975496a6f67496b5274615852796153424461475679626d6c68617942795a574e76626d5a705a3356795a584d6761476c7a494842706232356c5a584a70626d6367633256796157567a49486470644767675953427a6157787263324e795a57567549484279615735304948526f59585167626d396b6379423062794230614755675957786e62334a706447687461574d67634746795957316c64475679637942765a6942485a57356c636d463061585a6c4947467964433563626c787554334a705a326c7559577873655342795a57786c59584e6c5a434270626941794d4449784c43423061475567556d6c755a3256796379427a5a584a705a584d676157787364584e30636d46305a584d676447686c494746736257397a64434270626d5a70626d6c305a534167643246356379426849484e30636d6c755a79426a623356735a4342695a534233636d46776347566b49474679623356755a43426849484e6c644342765a6942775a57647a4c43426a636d56686447566b49474a3549474675494746735a3239796158526f625342306147463049474673624739336379426862694273615731706447786c63334d67646d467961575630655342765a69426a623231696157356864476c76626e4d6762325967644768706379426a6232356a5a5842304c6942455a584a70646d566b49475a796232306759534231626d6c7864575567536d463259584e6a636d6c7764434230636d46756332466a64476c766269426f59584e6f4c43426c59574e6f49473931644842316443426a6232353059576c756379426d5a57463064584a6c49485a68636d6c6864476c76626e4d676157356a6248566b6157356e4948426c5a79426a623356756443776763326c365a53776762474635623356304c434233636d467749473979615756756447463061573975494746755a43426a6232787664584a6d645777675a6d787664584a706332686c63793563626c7875556d566862476c7a5a57516759584d675953427761486c7a61574e6862434277636d6c756443426c5a476c30615739754c43423061476c7a4947356c64794270626d4e68636d356864476c76626942765a6942536157356e5a584a7a49476c7a494745674f5331776157566a5a53427759584a68625756305a5849676333646c5a584167624746705a43427664585167615734675953417a65444d675a334a705a4334674946526f5a534275645731695a584967623259676347566e6379427a595731776247566b494746795a53426a614746755a32566b49474a6c6448646c5a5734674d54416c494746755a4341784d44416c4c4342336158526f4948526f5a53427a6157647559585231636d556765575673624739334948426c5a7942795a57316861573570626d63675932397563326c7a64475675644342706269426c59574e6f49474e766258427663326c30615739754c6942536157356e5a584967497a6b324d6977675a4739755958526c5a4342306279424d51554e4e51537767595842775a5746796379427062694230614755675932567564484a6c4c6942556279427a6458427762334a304948526f5a53426d64585231636d5567623259675447397a494546755a3256735a584d6751323931626e52354945313163325631625342765a694242636e51734948427962324e6c5a57527a49475a79623230675132686c636d35705957736e6379426d61584a7a64434242646d467564434242636e526c4947566b615852706232346764326c73624342695a53426b623235686447566b494852764948526f5a53427464584e6c64573073494746736232356e63326c6b5a5342306147556762334a705a326c75595777676432397961793563626c78755647686c4947467964476c7a6443647a4948526f636d566c49484e705a323568644856795a53426a6232787664584a7a494746795a5342696232786b62486b67636d566862476c7a5a57516761573467633256325a573467624746355a584a7a4947396d49484e706247747a59334a6c5a57347349475668593267675a57356f5957356a5a575167596e6b675a57316962334e7a62575675644334675257466a61434277636d6c75644342706379427759576c795a57516764326c30614342686269424f526c5167623259676447686c49484e686257556759584a3064323979617934675132786861573170626d63676157357a64484a31593352706232357a4948647062477767596d556763326868636d566b4948647064476767593239736247566a64473979637942685a6e526c63694273595856755932677558473563626c526f5a53426c6547466a6443426c5a476c306157397549484e70656d556764326c73624342695a53426b5a58526c636d3170626d566b49474a354948526f5a534275645731695a5849676232596763484a70626e527a494739795a4756795a575167615734676447686c494449304947687664584967636d56735a57467a5a5342336157356b623363754946646f5a57346764476870637942336157356b623363675a57356b6379776759584a306432397961334d6764326c73624342695a534277636d6c756447566b494746755a43427a61476c776347566b49486476636d786b64326c6b5a53426d636d566c4947396d49474e6f59584a6e5a5334694c416f6749434a706257466e5a53493649434a7063475a7a4f6938765557315864556f346130527a576e6b30575578355156564d636c6c4353314e68636a4e74545670434f46466c52324e49646b70426556564b6457396a6169497343694167496d6c745957646c583356796243493649434a7063475a7a4f6938765557315864556f346130527a576e6b30575578355156564d636c6c4353314e68636a4e74545670434f46466c52324e49646b70426556564b6457396a6169494b66513d3d000000000000000000000000000000
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061011e575f3560e01c80634e1273f4116100ab578063a22cb4651161006f578063a22cb4651461032b578063e985e9c514610347578063f242432a14610377578063f2fde38b14610393578063fca3b5aa146103af5761011e565b80634e1273f41461029b578063715018a6146102cb5780638c7ea24b146102d55780638da5cb5b146102f15780639b642de11461030f5761011e565b80630e89341c116100f25780630e89341c146101be5780632a55205a146101ee5780632eb2c2d61461021f57806340c10f191461023b578063484b973c1461026b5761011e565b8062fdd58e1461012257806301ffc9a71461015257806306fdde031461018257806307546172146101a0575b5f80fd5b61013c60048036038101906101379190611d4a565b6103cb565b6040516101499190611d97565b60405180910390f35b61016c60048036038101906101679190611e05565b61048e565b6040516101799190611e4a565b60405180910390f35b61018a61049f565b6040516101979190611eed565b60405180910390f35b6101a861052b565b6040516101b59190611f1c565b60405180910390f35b6101d860048036038101906101d39190611f35565b610550565b6040516101e59190611eed565b60405180910390f35b61020860048036038101906102039190611f60565b6105e2565b604051610216929190611f9e565b60405180910390f35b610239600480360381019061023491906121b5565b610636565b005b61025560048036038101906102509190611d4a565b6106d7565b6040516102629190611d97565b60405180910390f35b61028560048036038101906102809190611d4a565b610779565b6040516102929190611d97565b60405180910390f35b6102b560048036038101906102b09190612340565b610794565b6040516102c2919061246d565b60405180910390f35b6102d36108ab565b005b6102ef60048036038101906102ea9190611d4a565b6108be565b005b6102f96108d4565b6040516103069190611f1c565b60405180910390f35b610329600480360381019061032491906124e6565b6108fc565b005b6103456004803603810190610340919061255b565b610954565b005b610361600480360381019061035c9190612599565b61096a565b60405161036e9190611e4a565b60405180910390f35b610391600480360381019061038c91906125d7565b6109f8565b005b6103ad60048036038101906103a8919061266a565b610a99565b005b6103c960048036038101906103c4919061266a565b610b1b565b005b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361043a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161043190612705565b60405180910390fd5b5f808381526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f61049882610b66565b9050919050565b600780546104ac90612750565b80601f01602080910402602001604051908101604052809291908181526020018280546104d890612750565b80156105235780601f106104fa57610100808354040283529160200191610523565b820191905f5260205f20905b81548152906001019060200180831161050657829003601f168201915b505050505081565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606002805461055f90612750565b80601f016020809104026020016040519081016040528092919081815260200182805461058b90612750565b80156105d65780601f106105ad576101008083540402835291602001916105d6565b820191905f5260205f20905b8154815290600101906020018083116105b957829003601f168201915b50505050509050919050565b5f805f6105ed610bdf565b600454856105fb91906127ad565b610605919061281b565b905060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b61063e610be8565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061068457506106838561067e610be8565b61096a565b5b6106c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ba906128bb565b60405180910390fd5b6106d08585858585610bef565b5050505050565b5f3373ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075e90612923565b60405180910390fd5b6107718383610efd565b905092915050565b5f610782610f22565b61078c8383610efd565b905092915050565b606081518351146107da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d1906129b1565b60405180910390fd5b5f835167ffffffffffffffff8111156107f6576107f5611fc9565b5b6040519080825280602002602001820160405280156108245781602001602082028036833780820191505090505b5090505f5b84518110156108a057610870858281518110610848576108476129cf565b5b6020026020010151858381518110610863576108626129cf565b5b60200260200101516103cb565b828281518110610883576108826129cf565b5b60200260200101818152505080610899906129fc565b9050610829565b508091505092915050565b6108b3610f22565b6108bc5f610fa0565b565b6108c6610f22565b6108d08282611063565b5050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610904610f22565b61095082828080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f82011690508083019250505050505050611166565b5050565b61096661095f610be8565b8383611179565b5050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b610a00610be8565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a465750610a4585610a40610be8565b61096a565b5b610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c906128bb565b60405180910390fd5b610a9285858585856112e0565b5050505050565b610aa1610f22565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0690612ab3565b60405180910390fd5b610b1881610fa0565b50565b610b23610f22565b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bd85750610bd782611569565b5b9050919050565b5f612710905090565b5f33905090565b8151835114610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a90612b41565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9890612bcf565b60405180910390fd5b5f610caa610be8565b9050610cba81878787878761164a565b5f5b8451811015610e5a575f858281518110610cd957610cd86129cf565b5b602002602001015190505f858381518110610cf757610cf66129cf565b5b602002602001015190505f805f8481526020019081526020015f205f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8a90612c5d565b60405180910390fd5b8181035f808581526020019081526020015f205f8c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808581526020019081526020015f205f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610e3f9190612c7b565b9250508190555050505080610e53906129fc565b9050610cbc565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610ed1929190612cae565b60405180910390a4610ee7818787878787611652565b610ef581878787878761165a565b505050505050565b5f610f198383600160405180602001604052805f815250611830565b81905092915050565b610f2a610be8565b73ffffffffffffffffffffffffffffffffffffffff16610f486108d4565b73ffffffffffffffffffffffffffffffffffffffff1614610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9590612d2d565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61106b610bdf565b8111156110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490612d95565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361111b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111290612dfd565b60405180910390fd5b8160035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806004819055505050565b80600290816111759190612fb8565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111de906130f7565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112d39190611e4a565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361134e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134590612bcf565b60405180910390fd5b5f611357610be8565b90505f611363856119d3565b90505f61136f856119d3565b905061137f83898985858961164a565b5f805f8881526020019081526020015f205f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905085811015611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890612c5d565b60405180910390fd5b8581035f808981526020019081526020015f205f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550855f808981526020019081526020015f205f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546114bd9190612c7b565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161153a929190613115565b60405180910390a4611550848a8a86868a611652565b61155e848a8a8a8a8a611a4b565b505050505050505050565b5f7fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061163357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611643575061164282611c21565b5b9050919050565b505050505050565b505050505050565b6116798473ffffffffffffffffffffffffffffffffffffffff16611c8a565b15611828578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016116bf95949392919061318e565b6020604051808303815f875af19250505080156116fa57506040513d601f19601f820116820180604052508101906116f79190613208565b60015b61179f5761170661323f565b806308c379a003611762575061171a61325e565b806117255750611764565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117599190611eed565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117969061335d565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181d906133eb565b60405180910390fd5b505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361189e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189590613479565b60405180910390fd5b5f6118a7610be8565b90505f6118b3856119d3565b90505f6118bf856119d3565b90506118cf835f8985858961164a565b845f808881526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546119299190612c7b565b925050819055508673ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516119a6929190613115565b60405180910390a46119bc835f89858589611652565b6119ca835f89898989611a4b565b50505050505050565b60605f600167ffffffffffffffff8111156119f1576119f0611fc9565b5b604051908082528060200260200182016040528015611a1f5781602001602082028036833780820191505090505b50905082815f81518110611a3657611a356129cf565b5b60200260200101818152505080915050919050565b611a6a8473ffffffffffffffffffffffffffffffffffffffff16611c8a565b15611c19578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611ab0959493929190613497565b6020604051808303815f875af1925050508015611aeb57506040513d601f19601f82011682018060405250810190611ae89190613208565b60015b611b9057611af761323f565b806308c379a003611b535750611b0b61325e565b80611b165750611b55565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4a9190611eed565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b879061335d565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e906133eb565b60405180910390fd5b505b505050505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611ce682611cbd565b9050919050565b611cf681611cdc565b8114611d00575f80fd5b50565b5f81359050611d1181611ced565b92915050565b5f819050919050565b611d2981611d17565b8114611d33575f80fd5b50565b5f81359050611d4481611d20565b92915050565b5f8060408385031215611d6057611d5f611cb5565b5b5f611d6d85828601611d03565b9250506020611d7e85828601611d36565b9150509250929050565b611d9181611d17565b82525050565b5f602082019050611daa5f830184611d88565b92915050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611de481611db0565b8114611dee575f80fd5b50565b5f81359050611dff81611ddb565b92915050565b5f60208284031215611e1a57611e19611cb5565b5b5f611e2784828501611df1565b91505092915050565b5f8115159050919050565b611e4481611e30565b82525050565b5f602082019050611e5d5f830184611e3b565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611e9a578082015181840152602081019050611e7f565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611ebf82611e63565b611ec98185611e6d565b9350611ed9818560208601611e7d565b611ee281611ea5565b840191505092915050565b5f6020820190508181035f830152611f058184611eb5565b905092915050565b611f1681611cdc565b82525050565b5f602082019050611f2f5f830184611f0d565b92915050565b5f60208284031215611f4a57611f49611cb5565b5b5f611f5784828501611d36565b91505092915050565b5f8060408385031215611f7657611f75611cb5565b5b5f611f8385828601611d36565b9250506020611f9485828601611d36565b9150509250929050565b5f604082019050611fb15f830185611f0d565b611fbe6020830184611d88565b9392505050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611fff82611ea5565b810181811067ffffffffffffffff8211171561201e5761201d611fc9565b5b80604052505050565b5f612030611cac565b905061203c8282611ff6565b919050565b5f67ffffffffffffffff82111561205b5761205a611fc9565b5b602082029050602081019050919050565b5f80fd5b5f61208261207d84612041565b612027565b905080838252602082019050602084028301858111156120a5576120a461206c565b5b835b818110156120ce57806120ba8882611d36565b8452602084019350506020810190506120a7565b5050509392505050565b5f82601f8301126120ec576120eb611fc5565b5b81356120fc848260208601612070565b91505092915050565b5f80fd5b5f67ffffffffffffffff82111561212357612122611fc9565b5b61212c82611ea5565b9050602081019050919050565b828183375f83830152505050565b5f61215961215484612109565b612027565b90508281526020810184848401111561217557612174612105565b5b612180848285612139565b509392505050565b5f82601f83011261219c5761219b611fc5565b5b81356121ac848260208601612147565b91505092915050565b5f805f805f60a086880312156121ce576121cd611cb5565b5b5f6121db88828901611d03565b95505060206121ec88828901611d03565b945050604086013567ffffffffffffffff81111561220d5761220c611cb9565b5b612219888289016120d8565b935050606086013567ffffffffffffffff81111561223a57612239611cb9565b5b612246888289016120d8565b925050608086013567ffffffffffffffff81111561226757612266611cb9565b5b61227388828901612188565b9150509295509295909350565b5f67ffffffffffffffff82111561229a57612299611fc9565b5b602082029050602081019050919050565b5f6122bd6122b884612280565b612027565b905080838252602082019050602084028301858111156122e0576122df61206c565b5b835b8181101561230957806122f58882611d03565b8452602084019350506020810190506122e2565b5050509392505050565b5f82601f83011261232757612326611fc5565b5b81356123378482602086016122ab565b91505092915050565b5f806040838503121561235657612355611cb5565b5b5f83013567ffffffffffffffff81111561237357612372611cb9565b5b61237f85828601612313565b925050602083013567ffffffffffffffff8111156123a05761239f611cb9565b5b6123ac858286016120d8565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6123e881611d17565b82525050565b5f6123f983836123df565b60208301905092915050565b5f602082019050919050565b5f61241b826123b6565b61242581856123c0565b9350612430836123d0565b805f5b8381101561246057815161244788826123ee565b975061245283612405565b925050600181019050612433565b5085935050505092915050565b5f6020820190508181035f8301526124858184612411565b905092915050565b5f80fd5b5f8083601f8401126124a6576124a5611fc5565b5b8235905067ffffffffffffffff8111156124c3576124c261248d565b5b6020830191508360018202830111156124df576124de61206c565b5b9250929050565b5f80602083850312156124fc576124fb611cb5565b5b5f83013567ffffffffffffffff81111561251957612518611cb9565b5b61252585828601612491565b92509250509250929050565b61253a81611e30565b8114612544575f80fd5b50565b5f8135905061255581612531565b92915050565b5f806040838503121561257157612570611cb5565b5b5f61257e85828601611d03565b925050602061258f85828601612547565b9150509250929050565b5f80604083850312156125af576125ae611cb5565b5b5f6125bc85828601611d03565b92505060206125cd85828601611d03565b9150509250929050565b5f805f805f60a086880312156125f0576125ef611cb5565b5b5f6125fd88828901611d03565b955050602061260e88828901611d03565b945050604061261f88828901611d36565b935050606061263088828901611d36565b925050608086013567ffffffffffffffff81111561265157612650611cb9565b5b61265d88828901612188565b9150509295509295909350565b5f6020828403121561267f5761267e611cb5565b5b5f61268c84828501611d03565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f74206120765f8201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b5f6126ef602a83611e6d565b91506126fa82612695565b604082019050919050565b5f6020820190508181035f83015261271c816126e3565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061276757607f821691505b60208210810361277a57612779612723565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6127b782611d17565b91506127c283611d17565b92508282026127d081611d17565b915082820484148315176127e7576127e6612780565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61282582611d17565b915061283083611d17565b9250826128405761283f6127ee565b5b828204905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e5f8201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b5f6128a5602e83611e6d565b91506128b08261284b565b604082019050919050565b5f6020820190508181035f8301526128d281612899565b9050919050565b7f556e617574686f72697a6564206d696e746572000000000000000000000000005f82015250565b5f61290d601383611e6d565b9150612918826128d9565b602082019050919050565b5f6020820190508181035f83015261293a81612901565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e6774685f8201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b5f61299b602983611e6d565b91506129a682612941565b604082019050919050565b5f6020820190508181035f8301526129c88161298f565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f612a0682611d17565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612a3857612a37612780565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612a9d602683611e6d565b9150612aa882612a43565b604082019050919050565b5f6020820190508181035f830152612aca81612a91565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e677468205f8201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b5f612b2b602883611e6d565b9150612b3682612ad1565b604082019050919050565b5f6020820190508181035f830152612b5881612b1f565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f612bb9602583611e6d565b9150612bc482612b5f565b604082019050919050565b5f6020820190508181035f830152612be681612bad565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f5f8201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b5f612c47602a83611e6d565b9150612c5282612bed565b604082019050919050565b5f6020820190508181035f830152612c7481612c3b565b9050919050565b5f612c8582611d17565b9150612c9083611d17565b9250828201905080821115612ca857612ca7612780565b5b92915050565b5f6040820190508181035f830152612cc68185612411565b90508181036020830152612cda8184612411565b90509392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612d17602083611e6d565b9150612d2282612ce3565b602082019050919050565b5f6020820190508181035f830152612d4481612d0b565b9050919050565b7f455243323938313a206672616374696f6e20746f6f20686967680000000000005f82015250565b5f612d7f601a83611e6d565b9150612d8a82612d4b565b602082019050919050565b5f6020820190508181035f830152612dac81612d73565b9050919050565b7f455243323938313a20696e76616c6964207265636569766572000000000000005f82015250565b5f612de7601983611e6d565b9150612df282612db3565b602082019050919050565b5f6020820190508181035f830152612e1481612ddb565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302612e777fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612e3c565b612e818683612e3c565b95508019841693508086168417925050509392505050565b5f819050919050565b5f612ebc612eb7612eb284611d17565b612e99565b611d17565b9050919050565b5f819050919050565b612ed583612ea2565b612ee9612ee182612ec3565b848454612e48565b825550505050565b5f90565b612efd612ef1565b612f08818484612ecc565b505050565b5b81811015612f2b57612f205f82612ef5565b600181019050612f0e565b5050565b601f821115612f7057612f4181612e1b565b612f4a84612e2d565b81016020851015612f59578190505b612f6d612f6585612e2d565b830182612f0d565b50505b505050565b5f82821c905092915050565b5f612f905f1984600802612f75565b1980831691505092915050565b5f612fa88383612f81565b9150826002028217905092915050565b612fc182611e63565b67ffffffffffffffff811115612fda57612fd9611fc9565b5b612fe48254612750565b612fef828285612f2f565b5f60209050601f831160018114613020575f841561300e578287015190505b6130188582612f9d565b86555061307f565b601f19841661302e86612e1b565b5f5b8281101561305557848901518255600182019150602085019450602081019050613030565b86831015613072578489015161306e601f891682612f81565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a2073657474696e6720617070726f76616c207374617475735f8201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b5f6130e1602983611e6d565b91506130ec82613087565b604082019050919050565b5f6020820190508181035f83015261310e816130d5565b9050919050565b5f6040820190506131285f830185611d88565b6131356020830184611d88565b9392505050565b5f81519050919050565b5f82825260208201905092915050565b5f6131608261313c565b61316a8185613146565b935061317a818560208601611e7d565b61318381611ea5565b840191505092915050565b5f60a0820190506131a15f830188611f0d565b6131ae6020830187611f0d565b81810360408301526131c08186612411565b905081810360608301526131d48185612411565b905081810360808301526131e88184613156565b90509695505050505050565b5f8151905061320281611ddb565b92915050565b5f6020828403121561321d5761321c611cb5565b5b5f61322a848285016131f4565b91505092915050565b5f8160e01c9050919050565b5f60033d111561325b5760045f803e6132585f51613233565b90505b90565b5f60443d106132ea5761326f611cac565b60043d036004823e80513d602482011167ffffffffffffffff821117156132975750506132ea565b808201805167ffffffffffffffff8111156132b557505050506132ea565b80602083010160043d0385018111156132d25750505050506132ea565b6132e182602001850186611ff6565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d455243313135355f8201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b5f613347603483611e6d565b9150613352826132ed565b604082019050919050565b5f6020820190508181035f8301526133748161333b565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a656374655f8201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b5f6133d5602883611e6d565b91506133e08261337b565b604082019050919050565b5f6020820190508181035f830152613402816133c9565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f613463602183611e6d565b915061346e82613409565b604082019050919050565b5f6020820190508181035f83015261349081613457565b9050919050565b5f60a0820190506134aa5f830188611f0d565b6134b76020830187611f0d565b6134c46040830186611d88565b6134d16060830185611d88565b81810360808301526134e38184613156565b9050969550505050505056fea2646970667358221220d11ed622a18e590904d5b88e2a84279ed85d894d21ca8e2fe7a7f64b5315ed1864736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000cac5bc39ea6719bc005883e7d2836af25d9441460000000000000000000000000000000000000000000000000000000000000100000000000000000000000000e0753cfcabb86c2828b79a3ddd4faf6af0db0eb400000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000002252696e6765727320233936323a20546865204c41434d4120497465726174696f6e7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008f1646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c65776f6749434a755957316c496a6f67496c4a70626d646c636e4d67497a6b324d6a6f675647686c494578425130314249456c305a584a6864476c76626e4d694c416f6749434a6a636d56686447566b58324a35496a6f67496b5274615852796153424461475679626d6c686179497343694167496d526c63324e796158423061573975496a6f67496b5274615852796153424461475679626d6c68617942795a574e76626d5a705a3356795a584d6761476c7a494842706232356c5a584a70626d6367633256796157567a49486470644767675953427a6157787263324e795a57567549484279615735304948526f59585167626d396b6379423062794230614755675957786e62334a706447687461574d67634746795957316c64475679637942765a6942485a57356c636d463061585a6c4947467964433563626c787554334a705a326c7559577873655342795a57786c59584e6c5a434270626941794d4449784c43423061475567556d6c755a3256796379427a5a584a705a584d676157787364584e30636d46305a584d676447686c494746736257397a64434270626d5a70626d6c305a534167643246356379426849484e30636d6c755a79426a623356735a4342695a534233636d46776347566b49474679623356755a43426849484e6c644342765a6942775a57647a4c43426a636d56686447566b49474a3549474675494746735a3239796158526f625342306147463049474673624739336379426862694273615731706447786c63334d67646d467961575630655342765a69426a623231696157356864476c76626e4d6762325967644768706379426a6232356a5a5842304c6942455a584a70646d566b49475a796232306759534231626d6c7864575567536d463259584e6a636d6c7764434230636d46756332466a64476c766269426f59584e6f4c43426c59574e6f49473931644842316443426a6232353059576c756379426d5a57463064584a6c49485a68636d6c6864476c76626e4d676157356a6248566b6157356e4948426c5a79426a623356756443776763326c365a53776762474635623356304c434233636d467749473979615756756447463061573975494746755a43426a6232787664584a6d645777675a6d787664584a706332686c63793563626c7875556d566862476c7a5a57516759584d675953427761486c7a61574e6862434277636d6c756443426c5a476c30615739754c43423061476c7a4947356c64794270626d4e68636d356864476c76626942765a6942536157356e5a584a7a49476c7a494745674f5331776157566a5a53427759584a68625756305a5849676333646c5a584167624746705a43427664585167615734675953417a65444d675a334a705a4334674946526f5a534275645731695a584967623259676347566e6379427a595731776247566b494746795a53426a614746755a32566b49474a6c6448646c5a5734674d54416c494746755a4341784d44416c4c4342336158526f4948526f5a53427a6157647559585231636d556765575673624739334948426c5a7942795a57316861573570626d63675932397563326c7a64475675644342706269426c59574e6f49474e766258427663326c30615739754c6942536157356e5a584967497a6b324d6977675a4739755958526c5a4342306279424d51554e4e51537767595842775a5746796379427062694230614755675932567564484a6c4c6942556279427a6458427762334a304948526f5a53426d64585231636d5567623259675447397a494546755a3256735a584d6751323931626e52354945313163325631625342765a694242636e51734948427962324e6c5a57527a49475a79623230675132686c636d35705957736e6379426d61584a7a64434242646d467564434242636e526c4947566b615852706232346764326c73624342695a53426b623235686447566b494852764948526f5a53427464584e6c64573073494746736232356e63326c6b5a5342306147556762334a705a326c75595777676432397961793563626c78755647686c4947467964476c7a6443647a4948526f636d566c49484e705a323568644856795a53426a6232787664584a7a494746795a5342696232786b62486b67636d566862476c7a5a57516761573467633256325a573467624746355a584a7a4947396d49484e706247747a59334a6c5a57347349475668593267675a57356f5957356a5a575167596e6b675a57316962334e7a62575675644334675257466a61434277636d6c75644342706379427759576c795a57516764326c30614342686269424f526c5167623259676447686c49484e686257556759584a3064323979617934675132786861573170626d63676157357a64484a31593352706232357a4948647062477767596d556763326868636d566b4948647064476767593239736247566a64473979637942685a6e526c63694273595856755932677558473563626c526f5a53426c6547466a6443426c5a476c306157397549484e70656d556764326c73624342695a53426b5a58526c636d3170626d566b49474a354948526f5a534275645731695a5849676232596763484a70626e527a494739795a4756795a575167615734676447686c494449304947687664584967636d56735a57467a5a5342336157356b623363754946646f5a57346764476870637942336157356b623363675a57356b6379776759584a306432397961334d6764326c73624342695a534277636d6c756447566b494746755a43427a61476c776347566b49486476636d786b64326c6b5a53426d636d566c4947396d49474e6f59584a6e5a5334694c416f6749434a706257466e5a53493649434a7063475a7a4f6938765557315864556f346130527a576e6b30575578355156564d636c6c4353314e68636a4e74545670434f46466c52324e49646b70426556564b6457396a6169497343694167496d6c745957646c583356796243493649434a7063475a7a4f6938765557315864556f346130527a576e6b30575578355156564d636c6c4353314e68636a4e74545670434f46466c52324e49646b70426556564b6457396a6169494b66513d3d000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Ringers #962: The LACMA Iterations
Arg [1] : _minter (address): 0xCAc5bc39ea6719bC005883e7D2836af25D944146
Arg [2] : _uri (string): data:application/json;base64,ewogICJuYW1lIjogIlJpbmdlcnMgIzk2MjogVGhlIExBQ01BIEl0ZXJhdGlvbnMiLAogICJjcmVhdGVkX2J5IjogIkRtaXRyaSBDaGVybmlhayIsCiAgImRlc2NyaXB0aW9uIjogIkRtaXRyaSBDaGVybmlhayByZWNvbmZpZ3VyZXMgaGlzIHBpb25lZXJpbmcgc2VyaWVzIHdpdGggYSBzaWxrc2NyZWVuIHByaW50IHRoYXQgbm9kcyB0byB0aGUgYWxnb3JpdGhtaWMgcGFyYW1ldGVycyBvZiBHZW5lcmF0aXZlIGFydC5cblxuT3JpZ2luYWxseSByZWxlYXNlZCBpbiAyMDIxLCB0aGUgUmluZ2VycyBzZXJpZXMgaWxsdXN0cmF0ZXMgdGhlIGFsbW9zdCBpbmZpbml0ZSAgd2F5cyBhIHN0cmluZyBjb3VsZCBiZSB3cmFwcGVkIGFyb3VuZCBhIHNldCBvZiBwZWdzLCBjcmVhdGVkIGJ5IGFuIGFsZ29yaXRobSB0aGF0IGFsbG93cyBhbiBsaW1pdGxlc3MgdmFyaWV0eSBvZiBjb21iaW5hdGlvbnMgb2YgdGhpcyBjb25jZXB0LiBEZXJpdmVkIGZyb20gYSB1bmlxdWUgSmF2YXNjcmlwdCB0cmFuc2FjdGlvbiBoYXNoLCBlYWNoIG91dHB1dCBjb250YWlucyBmZWF0dXJlIHZhcmlhdGlvbnMgaW5jbHVkaW5nIHBlZyBjb3VudCwgc2l6ZSwgbGF5b3V0LCB3cmFwIG9yaWVudGF0aW9uIGFuZCBjb2xvdXJmdWwgZmxvdXJpc2hlcy5cblxuUmVhbGlzZWQgYXMgYSBwaHlzaWNhbCBwcmludCBlZGl0aW9uLCB0aGlzIG5ldyBpbmNhcm5hdGlvbiBvZiBSaW5nZXJzIGlzIGEgOS1waWVjZSBwYXJhbWV0ZXIgc3dlZXAgbGFpZCBvdXQgaW4gYSAzeDMgZ3JpZC4gIFRoZSBudW1iZXIgb2YgcGVncyBzYW1wbGVkIGFyZSBjaGFuZ2VkIGJldHdlZW4gMTAlIGFuZCAxMDAlLCB3aXRoIHRoZSBzaWduYXR1cmUgeWVsbG93IHBlZyByZW1haW5pbmcgY29uc2lzdGVudCBpbiBlYWNoIGNvbXBvc2l0aW9uLiBSaW5nZXIgIzk2MiwgZG9uYXRlZCB0byBMQUNNQSwgYXBwZWFycyBpbiB0aGUgY2VudHJlLiBUbyBzdXBwb3J0IHRoZSBmdXR1cmUgb2YgTG9zIEFuZ2VsZXMgQ291bnR5IE11c2V1bSBvZiBBcnQsIHByb2NlZWRzIGZyb20gQ2hlcm5pYWsncyBmaXJzdCBBdmFudCBBcnRlIGVkaXRpb24gd2lsbCBiZSBkb25hdGVkIHRvIHRoZSBtdXNldW0sIGFsb25nc2lkZSB0aGUgb3JpZ2luYWwgd29yay5cblxuVGhlIGFydGlzdCdzIHRocmVlIHNpZ25hdHVyZSBjb2xvdXJzIGFyZSBib2xkbHkgcmVhbGlzZWQgaW4gc2V2ZW4gbGF5ZXJzIG9mIHNpbGtzY3JlZW4sIGVhY2ggZW5oYW5jZWQgYnkgZW1ib3NzbWVudC4gRWFjaCBwcmludCBpcyBwYWlyZWQgd2l0aCBhbiBORlQgb2YgdGhlIHNhbWUgYXJ0d29yay4gQ2xhaW1pbmcgaW5zdHJ1Y3Rpb25zIHdpbGwgYmUgc2hhcmVkIHdpdGggY29sbGVjdG9ycyBhZnRlciBsYXVuY2guXG5cblRoZSBleGFjdCBlZGl0aW9uIHNpemUgd2lsbCBiZSBkZXRlcm1pbmVkIGJ5IHRoZSBudW1iZXIgb2YgcHJpbnRzIG9yZGVyZWQgaW4gdGhlIDI0IGhvdXIgcmVsZWFzZSB3aW5kb3cuIFdoZW4gdGhpcyB3aW5kb3cgZW5kcywgYXJ0d29ya3Mgd2lsbCBiZSBwcmludGVkIGFuZCBzaGlwcGVkIHdvcmxkd2lkZSBmcmVlIG9mIGNoYXJnZS4iLAogICJpbWFnZSI6ICJpcGZzOi8vUW1XdUo4a0RzWnk0WUx5QVVMcllCS1NhcjNtTVpCOFFlR2NIdkpBeVVKdW9jaiIsCiAgImltYWdlX3VybCI6ICJpcGZzOi8vUW1XdUo4a0RzWnk0WUx5QVVMcllCS1NhcjNtTVpCOFFlR2NIdkpBeVVKdW9jaiIKfQ==
Arg [3] : royaltiesReciever (address): 0xE0753cfcAbB86c2828B79a3DDD4Faf6AF0db0EB4
Arg [4] : royaltiesFraction (uint256): 1000
-----Encoded View---------------
81 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 000000000000000000000000cac5bc39ea6719bc005883e7d2836af25d944146
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 000000000000000000000000e0753cfcabb86c2828b79a3ddd4faf6af0db0eb4
Arg [4] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [6] : 52696e6765727320233936323a20546865204c41434d4120497465726174696f
Arg [7] : 6e73000000000000000000000000000000000000000000000000000000000000
Arg [8] : 00000000000000000000000000000000000000000000000000000000000008f1
Arg [9] : 646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c65776f
Arg [10] : 6749434a755957316c496a6f67496c4a70626d646c636e4d67497a6b324d6a6f
Arg [11] : 675647686c494578425130314249456c305a584a6864476c76626e4d694c416f
Arg [12] : 6749434a6a636d56686447566b58324a35496a6f67496b527461585279615342
Arg [13] : 4461475679626d6c686179497343694167496d526c63324e7961584230615739
Arg [14] : 75496a6f67496b5274615852796153424461475679626d6c68617942795a574e
Arg [15] : 76626d5a705a3356795a584d6761476c7a494842706232356c5a584a70626d63
Arg [16] : 67633256796157567a49486470644767675953427a6157787263324e795a5756
Arg [17] : 7549484279615735304948526f59585167626d396b6379423062794230614755
Arg [18] : 675957786e62334a706447687461574d67634746795957316c64475679637942
Arg [19] : 765a6942485a57356c636d463061585a6c4947467964433563626c787554334a
Arg [20] : 705a326c7559577873655342795a57786c59584e6c5a434270626941794d4449
Arg [21] : 784c43423061475567556d6c755a3256796379427a5a584a705a584d67615778
Arg [22] : 7364584e30636d46305a584d676447686c494746736257397a64434270626d5a
Arg [23] : 70626d6c305a534167643246356379426849484e30636d6c755a79426a623356
Arg [24] : 735a4342695a534233636d46776347566b49474679623356755a43426849484e
Arg [25] : 6c644342765a6942775a57647a4c43426a636d56686447566b49474a35494746
Arg [26] : 75494746735a3239796158526f62534230614746304947467362473933637942
Arg [27] : 6862694273615731706447786c63334d67646d467961575630655342765a6942
Arg [28] : 6a623231696157356864476c76626e4d6762325967644768706379426a623235
Arg [29] : 6a5a5842304c6942455a584a70646d566b49475a796232306759534231626d6c
Arg [30] : 7864575567536d463259584e6a636d6c7764434230636d46756332466a64476c
Arg [31] : 766269426f59584e6f4c43426c59574e6f49473931644842316443426a623235
Arg [32] : 3059576c756379426d5a57463064584a6c49485a68636d6c6864476c76626e4d
Arg [33] : 676157356a6248566b6157356e4948426c5a79426a623356756443776763326c
Arg [34] : 365a53776762474635623356304c434233636d46774947397961575675644746
Arg [35] : 3061573975494746755a43426a6232787664584a6d645777675a6d787664584a
Arg [36] : 706332686c63793563626c7875556d566862476c7a5a57516759584d67595342
Arg [37] : 7761486c7a61574e6862434277636d6c756443426c5a476c30615739754c4342
Arg [38] : 3061476c7a4947356c64794270626d4e68636d356864476c76626942765a6942
Arg [39] : 536157356e5a584a7a49476c7a494745674f5331776157566a5a53427759584a
Arg [40] : 68625756305a5849676333646c5a584167624746705a43427664585167615734
Arg [41] : 675953417a65444d675a334a705a4334674946526f5a534275645731695a5849
Arg [42] : 67623259676347566e6379427a595731776247566b494746795a53426a614746
Arg [43] : 755a32566b49474a6c6448646c5a5734674d54416c494746755a4341784d4441
Arg [44] : 6c4c4342336158526f4948526f5a53427a6157647559585231636d5567655756
Arg [45] : 73624739334948426c5a7942795a57316861573570626d63675932397563326c
Arg [46] : 7a64475675644342706269426c59574e6f49474e766258427663326c30615739
Arg [47] : 754c6942536157356e5a584967497a6b324d6977675a4739755958526c5a4342
Arg [48] : 306279424d51554e4e51537767595842775a5746796379427062694230614755
Arg [49] : 675932567564484a6c4c6942556279427a6458427762334a304948526f5a5342
Arg [50] : 6d64585231636d5567623259675447397a494546755a3256735a584d67513239
Arg [51] : 31626e52354945313163325631625342765a694242636e51734948427962324e
Arg [52] : 6c5a57527a49475a79623230675132686c636d35705957736e6379426d61584a
Arg [53] : 7a64434242646d467564434242636e526c4947566b615852706232346764326c
Arg [54] : 73624342695a53426b623235686447566b494852764948526f5a53427464584e
Arg [55] : 6c64573073494746736232356e63326c6b5a5342306147556762334a705a326c
Arg [56] : 75595777676432397961793563626c78755647686c4947467964476c7a644364
Arg [57] : 7a4948526f636d566c49484e705a323568644856795a53426a6232787664584a
Arg [58] : 7a494746795a5342696232786b62486b67636d566862476c7a5a575167615734
Arg [59] : 67633256325a573467624746355a584a7a4947396d49484e706247747a59334a
Arg [60] : 6c5a57347349475668593267675a57356f5957356a5a575167596e6b675a5731
Arg [61] : 6962334e7a62575675644334675257466a61434277636d6c7564434270637942
Arg [62] : 7759576c795a57516764326c30614342686269424f526c516762325967644768
Arg [63] : 6c49484e686257556759584a3064323979617934675132786861573170626d63
Arg [64] : 676157357a64484a31593352706232357a4948647062477767596d5567633268
Arg [65] : 68636d566b4948647064476767593239736247566a64473979637942685a6e52
Arg [66] : 6c63694273595856755932677558473563626c526f5a53426c6547466a644342
Arg [67] : 6c5a476c306157397549484e70656d556764326c73624342695a53426b5a5852
Arg [68] : 6c636d3170626d566b49474a354948526f5a534275645731695a584967623259
Arg [69] : 6763484a70626e527a494739795a4756795a575167615734676447686c494449
Arg [70] : 304947687664584967636d56735a57467a5a5342336157356b62336375494664
Arg [71] : 6f5a57346764476870637942336157356b623363675a57356b6379776759584a
Arg [72] : 306432397961334d6764326c73624342695a534277636d6c756447566b494746
Arg [73] : 755a43427a61476c776347566b49486476636d786b64326c6b5a53426d636d56
Arg [74] : 6c4947396d49474e6f59584a6e5a5334694c416f6749434a706257466e5a5349
Arg [75] : 3649434a7063475a7a4f6938765557315864556f346130527a576e6b30575578
Arg [76] : 355156564d636c6c4353314e68636a4e74545670434f46466c52324e49646b70
Arg [77] : 426556564b6457396a6169497343694167496d6c745957646c58335679624349
Arg [78] : 3649434a7063475a7a4f6938765557315864556f346130527a576e6b30575578
Arg [79] : 355156564d636c6c4353314e68636a4e74545670434f46466c52324e49646b70
Arg [80] : 426556564b6457396a6169494b66513d3d000000000000000000000000000000
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.