ETH Price: $3,097.69 (-4.21%)
 

Overview

Max Total Supply

17,500

Holders

15

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x54ebe76359edaa499a2976313a5d4bb49e0393d6
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Tiny1155

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Tiny1155.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/*
	It saves bytecode to revert on custom errors instead of using require
	statements. We are just declaring these errors for reverting with upon various
	conditions later in this contract.
*/
error CollectionURIHasBeenLocked ();
error ContractURIHasBeenLocked ();
error BalanceQueryForZeroAddress ();
error AccountsAndIdsLengthMismatched ();
error SettingApprovalStatusForSelf ();
error IdsAndAmountsLengthsMismatch ();
error TransferToZeroAddress ();
error CallerIsNotOwnerOrApproved ();
error InsufficientBalanceForTransfer ();
error MintToZeroAddress ();
error MintIdsAndAmountsLengthsMismatch ();
error DoNotHaveRigthToSetMetadata ();
error CanNotEditMetadateThatFrozen ();
error DoNotHaveRigthToLockURI ();
error ERC1155ReceiverRejectTokens ();
error NonERC1155Receiver ();
error NotAnAdmin ();
error TransferIsLocked ();
error BurnFromZeroAddress ();
error InsufficientBalanceForBurn ();
error BurnIdsAndAmountsLengthsMismatch ();

/**
	@custom:benediction DEVS BENEDICAT ET PROTEGAT CONTRACTVS MEAM
	@title  A lite ERC-1155 item creation contract.
	@author Tim Clancy <@_Enoch>
	@author Qazawat Zirak
	@author Rostislav Khlebnikov <@_catpic5buck>
	@author Nikita Elunin
	@author Mikhail Rozalenok
	@author Egor Dergunov

	This contract represents the NFTs within a single collection. It allows for a
	designated collection owner address to manage the creation of NFTs within this
	collection. The collection owner grants approval to or removes approval from
	other addresses governing their ability to mint NFTs from this collection.

	This contract is forked from the inherited OpenZeppelin dependency, and uses
	ideas from the original ERC-1155 reference implementation.

	January 15th, 2022.
*/
contract Tiny1155 is ERC165, Ownable, IERC1155MetadataURI {
	using Address for address;

	/// The name of this ERC-1155 contract.
	string public name;

	/** 
		The ERC-1155 URI for tracking item metadata, supporting {id} substitution. 
		For example: https://token-cdn-domain/{id}.json. See the ERC-1155 spec for
		more details: https://eips.ethereum.org/EIPS/eip-1155#metadata.
	*/
	string private metadataUri;

	/// A mapping from token IDs to address balance.
	mapping ( uint256 => mapping ( address => uint256 )) internal balances;

	/// A mappigng that keeps track of totals supplies per token ID.
	mapping ( uint256 => uint256 ) public circulatingSupply;

	/**
		This is a mapping from each address to per-address operator approvals. 
		Operators are those addresses that have been approved to transfer tokens on 
		behalf of the approver.
	*/
	mapping( address => mapping( address => bool )) public operatorApprovals;

	/// Whether or not the metadata URI has been locked to future changes.
	bool public uriLocked;

	/// A mapping to track administrative callers who have been set by the owner.
	mapping ( address => bool ) private administrators;

	/**
		Variable that contains info about locks for each item with id from 0 to 
		254. If bit with number of _id contains 1 then item transfers locked. If 
		255th bit is 1 then all transfers locked.
	*/
	bytes32 public transferLocks;

	/**
		An event that gets emitted when the metadata collection URI is changed.

		@param oldURI The old metadata URI.
		@param newURI The new metadata URI.
	*/
	event URIChanged (
		string indexed oldURI,
		string indexed newURI
	);

	/**
		An event that indicates we have set a permanent metadata URI for a token.

		@param operator Address that locked URI.
		@param value The value of the permanent metadata URI.
	*/
	event URILocked (
		address indexed operator,
		string value
	);

	/**
		An event that gets emitted when owner or admin called allTransferLocked
		function.
		
		@param time Time, when function was called.
		@param isLocked Bool value that represents is token transfers locked.
	*/
	event AllTransfersLocked (
		bool indexed isLocked,
		uint256 indexed time
	);

	/**
		An event that gets emitted when owner or admin called allTransferLocked 
		function.

		@param time Time, when function was called.
		@param isLocked Bool value that represents is token transfers locked.
		@param id Id of token for which transfers is locked.
	*/
	event TransfersLocked (
		bool indexed isLocked,
		uint256 indexed time,
		uint256 id
	);

	/**
		A modifier to see if a caller is an approved administrator.
	*/
	modifier onlyAdmin () {
		if (_msgSender() != owner() && !administrators[_msgSender()]) {
			revert NotAnAdmin();
		}
		_;
	}

	/** 
		Construct a new Tiny1155 item collection.

		@param _name The name to assign to this item collection contract.
		@param _metadataURI The metadata URI to perform later token ID substitution 
			with.
	*/
	constructor (
		string memory _name,
		string memory _metadataURI
	) {
		name = _name;
		metadataUri = _metadataURI;
	}

	/**
		EIP-165 function. Hardcoded value is INTERFACE_ERC1155 interface id.
	*/
	function supportsInterface (
		bytes4 _interfaceId
	)	public view virtual override(ERC165, IERC165) returns (bool) {
		return
			_interfaceId == type(IERC1155).interfaceId ||
			_interfaceId == type(IERC1155MetadataURI).interfaceId ||
			(super.supportsInterface(_interfaceId));
	}

	/**
		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) external view returns (string memory) {
		return metadataUri;
	}

	/**
		This function allows the original owner of the contract to add or remove
		other addresses as administrators. Administrators may perform mints and may
		lock token transfers.

		@param _newAdmin The new admin to update permissions for.
		@param _isAdmin Whether or not the new admin should be an admin.
	*/
	function setAdmin (
		address _newAdmin,
		bool _isAdmin
	) external onlyOwner {
		administrators[_newAdmin] = _isAdmin;
	}

	/**
		Allow the item collection owner or an approved manager to update the
		metadata URI of this collection. This implementation relies on a single URI
		for all items within the collection, and as such does not emit the standard
		URI event. Instead, we emit our own event to reflect changes in the URI.

		@param _uri The new URI to update to.
	*/
	function setURI(string calldata _uri) external virtual onlyOwner {
		if (uriLocked) {
			revert CollectionURIHasBeenLocked();
		}
		string memory oldURI = metadataUri;
		metadataUri = _uri;
		emit URIChanged(oldURI, _uri);
	}

		/**
		Retrieve the balance of a particular token `_id` for a particular address
		`_owner`.

		@param _owner The owner to check for this token balance.
		@param _id The ID of the token to check for a balance.
		@return The amount of token `_id` owned by `_owner`.
	*/
		function balanceOf(address _owner, uint256 _id)
				public
				view
				virtual
				returns (uint256)
		{
				if (_owner == address(0)) {
						revert BalanceQueryForZeroAddress();
				}
				return balances[_id][_owner];
		}

		/**
		Retrieve in a single call the balances of some mulitple particular token
		`_ids` held by corresponding `_owners`.

		@param _owners The owners to check for token balances.
		@param _ids The IDs of tokens to check for balances.
		@return the amount of each token owned by each owner.
	*/
		function balanceOfBatch(address[] calldata _owners, uint256[] calldata _ids)
				external
				view
				virtual
				returns (uint256[] memory)
		{
				if (_owners.length != _ids.length) {
						revert AccountsAndIdsLengthMismatched();
				}

				// Populate and return an array of balances.
				uint256[] memory batchBalances = new uint256[](_owners.length);
				for (uint256 i; i < _owners.length; ++i) {
						batchBalances[i] = balanceOf(_owners[i], _ids[i]);
				}
				return batchBalances;
		}

		/**
		This function returns true if `_operator` is approved to transfer items
		owned by `_owner`.

		@param _owner The owner of items to check for transfer ability.
		@param _operator The potential transferrer of `_owner`'s items.
		@return Whether `_operator` may transfer items owned by `_owner`.
	*/
		function isApprovedForAll(address _owner, address _operator)
				public
				view
				virtual
				returns (bool)
		{
				return operatorApprovals[_owner][_operator];
		}

		/**
		Enable or disable approval for a third party `_operator` address to manage
		(transfer or burn) all of the caller's tokens.

		@param _operator The address to grant management rights over all of the
			caller's tokens.
		@param _approved The status of the `_operator`'s approval for the caller.
	*/
		function setApprovalForAll(address _operator, bool _approved)
				external
				virtual
		{
				if (_msgSender() == _operator) {
						revert SettingApprovalStatusForSelf();
				}
				operatorApprovals[_msgSender()][_operator] = _approved;
				emit ApprovalForAll(_msgSender(), _operator, _approved);
		}

		/** 
				ERC-1155 dictates that any contract which wishes to receive ERC-1155 tokens
				must explicitly designate itself as such. This function checks for such
				designation to prevent undesirable token transfers.

				@param _operator The caller who triggers the token transfer.
				@param _from The address to transfer tokens from.
				@param _to The address to transfer tokens to.
				@param _id The specific token ID to transfer.
				@param _amount The amount of the specific `_id` to transfer.
				@param _data Additional call data to send with this transfer.
			*/
		function _doSafeTransferAcceptanceCheck(
				address _operator,
				address _from,
				address _to,
				uint256 _id,
				uint256 _amount,
				bytes calldata _data
		) private {
				if (_to.isContract()) {
						try
								IERC1155Receiver(_to).onERC1155Received(
										_operator,
										_from,
										_id,
										_amount,
										_data
								)
						returns (bytes4 response) {
								if (
										response != IERC1155Receiver(_to).onERC1155Received.selector
								) {
										revert ERC1155ReceiverRejectTokens();
								}
						} catch Error(string memory reason) {
								revert(reason);
						} catch {
								revert NonERC1155Receiver();
						}
				}
		}

		/**
		The batch equivalent of `_doSafeTransferAcceptanceCheck()`.

		@param _operator The caller who triggers the token transfer.
		@param _from The address to transfer tokens from.
		@param _to The address to transfer tokens to.
		@param _ids The specific token IDs to transfer.
		@param _amounts The amounts of the specific `_ids` to transfer.
		@param _data Additional call data to send with this transfer.
	*/
		function _doSafeBatchTransferAcceptanceCheck(
				address _operator,
				address _from,
				address _to,
				uint256[] calldata _ids,
				uint256[] calldata _amounts,
				bytes calldata _data
		) private {
				if (_to.isContract()) {
						try
								IERC1155Receiver(_to).onERC1155BatchReceived(
										_operator,
										_from,
										_ids,
										_amounts,
										_data
								)
						returns (bytes4 response) {
								if (
										response !=
										IERC1155Receiver(_to).onERC1155BatchReceived.selector
								) {
										revert ERC1155ReceiverRejectTokens();
								}
						} catch Error(string memory reason) {
								revert(reason);
						} catch {
								revert NonERC1155Receiver();
						}
				}
		}

		/**
		This function performs an unsafe transfer of amount `_amount` of token ID 
		`_id` from address `_from` to address `_to`. The transfer is considered 
		unsafe because it does not validate that the receiver can actually take 
		proper receipt of an ERC-1155 token.

		@param _from The address to transfer the token with ID of `_id` from.
		@param _to The address to transfer the token to.
		@param _id The ID of the token to transfer.
		@param _amount The amount of the specific `_id` to transfer.
	*/
		function transferFrom(
				address _from,
				address _to,
				uint256 _id,
				uint256 _amount
		) public {
				if (_to == address(0)) {
						revert TransferToZeroAddress();
				}
				if (_from != _msgSender() && !isApprovedForAll(_from, _msgSender())) {
						revert CallerIsNotOwnerOrApproved();
				}
				bytes32 _transferLocks = transferLocks;
				if (_transferLocks >> 255 == bytes32(uint256(1))) {
						revert TransferIsLocked();
				}
				if ((_transferLocks << (255 - _id)) >> 255 == bytes32(uint256(1))) {
						revert TransferIsLocked();
				}

				uint256 fromBalance = balances[_id][_from];
				if (fromBalance < _amount) {
						revert InsufficientBalanceForTransfer();
				}
				unchecked {
						balances[_id][_from] = fromBalance - _amount;
						balances[_id][_to] += _amount;
				}

				emit TransferSingle(_msgSender(), _from, _to, _id, _amount);
		}

		/**
		This function performs an unsafe batch transfer of `_amounts` amounts of 
		tokens IDs `_ids` from address `_from` to address `_to`. The transfer is 
		considered unsafe because it does not validate that the receiver can actually 
		take proper receipt of an ERC-1155 token.

		@param _from The address to transfer the token with ID of `_id` from.
		@param _to The address to transfer the token to.
		@param _ids The ID of the token to transfer.
		@param _amounts The amount of the specific `_id` to transfer.
	*/
		function batchTransferFrom(
				address _from,
				address _to,
				uint256[] calldata _ids,
				uint256[] calldata _amounts
		) public {
				if (_ids.length != _amounts.length) {
						revert IdsAndAmountsLengthsMismatch();
				}
				if (_to == address(0)) {
						revert TransferToZeroAddress();
				}
				if (_from != _msgSender() && !isApprovedForAll(_from, _msgSender())) {
						revert CallerIsNotOwnerOrApproved();
				}
				bytes32 _transferLocks = transferLocks;
				if (_transferLocks >> 255 == bytes32(uint256(1))) {
						revert TransferIsLocked();
				}

				// Validate transfer and perform all batch token sends.
				for (uint256 i; i < _ids.length; ++i) {
						// Update all specially-tracked balances.
						uint256 id = _ids[i];
						uint256 amount = _amounts[i];
						if ((_transferLocks << (255 - id)) >> 255 == bytes32(uint256(1))) {
								revert TransferIsLocked();
						}

						uint256 fromBalance = balances[id][_from];
						if (fromBalance < amount) {
								revert InsufficientBalanceForTransfer();
						}
						unchecked {
								balances[id][_from] = fromBalance - amount;
								balances[id][_to] += amount;
						}
				}

				emit TransferBatch(_msgSender(), _from, _to, _ids, _amounts);
		}

		/**
		Transfer on behalf of a caller or one of their authorized token managers
		items from one address to another.

		@param _from The address to transfer tokens from.
		@param _to The address to transfer tokens to.
		@param _id The specific token ID to transfer.
		@param _amount The amount of the specific `_id` to transfer.
		@param _data Additional call data to send with this transfer.
	*/
		function safeTransferFrom(
				address _from,
				address _to,
				uint256 _id,
				uint256 _amount,
				bytes calldata _data
		) external virtual {
				transferFrom(_from, _to, _id, _amount);
				_doSafeTransferAcceptanceCheck(
						_msgSender(),
						_from,
						_to,
						_id,
						_amount,
						_data
				);
		}

		/**
		Transfer on behalf of a caller or one of their authorized token managers
		items from one address to another.

		@param _from The address to transfer tokens from.
		@param _to The address to transfer tokens to.
		@param _ids The specific token IDs to transfer.
		@param _amounts The amounts of the specific `_ids` to transfer.
		@param _data Additional call data to send with this transfer.
	*/
		function safeBatchTransferFrom(
				address _from,
				address _to,
				uint256[] calldata _ids,
				uint256[] calldata _amounts,
				bytes calldata _data
		) external virtual {
				batchTransferFrom(_from, _to, _ids, _amounts);
				_doSafeBatchTransferAcceptanceCheck(
						msg.sender,
						_from,
						_to,
						_ids,
						_amounts,
						_data
				);
		}

		/**
		Mint a token into existence and send it to the `_recipient`
		address.

		@param _recipient The address to receive NFT.
		@param _id The item ID for the new item to create.
		@param _amount The amount of item ID to create.
	 */
		function mintSingle(
				address _recipient,
				uint256 _id,
				uint256 _amount
		) external virtual onlyAdmin {
				if (_recipient == address(0)) {
						revert MintToZeroAddress();
				}

				unchecked {
						circulatingSupply[_id] = circulatingSupply[_id] + _amount;
						balances[_id][_recipient] = balances[_id][_recipient] + _amount;
				}

				emit TransferSingle(_msgSender(), address(0), _recipient, _id, _amount);
		}

		/**
		Mint a batch of tokens into existence and send them to the `_recipient`
		address.

		@param _recipient The address to receive all NFTs.
		@param _ids The item IDs for the new items to create.
		@param _amounts The amount of each corresponding item ID to create.
	*/
		function mintBatch(
				address _recipient,
				uint256[] calldata _ids,
				uint256[] calldata _amounts
		) external virtual onlyAdmin {
				if (_recipient == address(0)) {
						revert MintToZeroAddress();
				}
				if (_ids.length != _amounts.length) {
						revert MintIdsAndAmountsLengthsMismatch();
				}

				// Loop through each of the batched IDs to update balances.
				for (uint256 i; i < _ids.length; ++i) {
						uint256 id = _ids[i];
						uint256 amount = _amounts[i];
						// Update storage of special balances and circulating values.
						unchecked {
								circulatingSupply[id] = circulatingSupply[id] + amount;
								balances[id][_recipient] = balances[id][_recipient] + amount;
						}
				}

				emit TransferBatch(
						_msgSender(),
						address(0),
						_recipient,
						_ids,
						_amounts
				);
		}

		/**
		This function allows an address to destroy some of its items.

		@param _from The address whose item is burning.
		@param _id The item ID to burn.
		@param _amount The amount of the corresponding item ID to burn.
	*/
		function burnSingle(
				address _from,
				uint256 _id,
				uint256 _amount
		) external virtual onlyAdmin {
				if (_from == address(0)) {
						revert BurnFromZeroAddress();
				}

				uint256 fromBalance = balances[_id][_from];
				if (fromBalance < _amount) {
						revert InsufficientBalanceForBurn();
				}
				unchecked {
						balances[_id][_from] = fromBalance - _amount;
						circulatingSupply[_id] -= _amount;
				}

				emit TransferSingle(_msgSender(), _from, address(0), _id, _amount);
		}

		/**
		This function allows an address to destroy multiple different items in a
		single call.

		@param _from The address whose items are burning.
		@param _ids The item IDs to burn.
		@param _amounts The amounts of the corresponding item IDs to burn.
	*/
		function burnBatch(
				address _from,
				uint256[] calldata _ids,
				uint256[] calldata _amounts
		) external virtual onlyAdmin {
				if (_from == address(0)) {
						revert BurnFromZeroAddress();
				}
				if (_ids.length != _amounts.length) {
						revert BurnIdsAndAmountsLengthsMismatch();
				}

				for (uint256 i; i < _ids.length; ++i) {
						uint256 id = _ids[i];
						uint256 amount = _amounts[i];

						uint256 fromBalance = balances[id][_from];
						if (fromBalance < amount) {
								revert InsufficientBalanceForBurn();
						}
						unchecked {
								balances[id][_from] = fromBalance - amount;
								circulatingSupply[id] -= amount;
						}
				}

				emit TransferBatch(_msgSender(), _from, address(0), _ids, _amounts);
		}

		/**
		Allow the item collection owner or an associated manager to forever lock the
		metadata URI on the entire collection to future changes.
	*/
		function lockURI() external onlyOwner {
				uriLocked = true;
				emit URILocked(msg.sender, metadataUri);
		}

		/**
		This function allows the owner to lock the transfer of all token IDs. This
		is designed to prevent whitelisted presale users from using the secondary
		market to undercut the auction before the sale has ended.

		@param _locked The status of the lock; true to lock, false to unlock.
	*/
		function lockAllTransfers(bool _locked) external onlyOwner {
				bytes32 mask = bytes32(uint256(1));
				mask <<= 255;

				if (_locked) {
						transferLocks |= mask;
				} else {
						mask = ~mask;
						transferLocks &= mask;
				}
				emit AllTransfersLocked(_locked, block.timestamp);
		}

		/**
		This function allows an administrative caller to lock the transfer of
		particular token IDs. This is designed for a non-escrow staking contract
		that comes later to lock a user's tokens while still letting them keep it in
		their wallet.

		@param _id The ID of the token to lock.
		@param _locked The status of the lock; true to lock, false to unlock.
	*/
		function lockTransfer(uint256 _id, bool _locked) external onlyAdmin {
				bytes32 mask = bytes32(uint256(1));
				mask <<= _id;

				if (_locked) {
						transferLocks |= mask;
				} else {
						mask = ~mask;
						transferLocks &= mask;
				}
				emit TransfersLocked(_locked, block.timestamp, _id);
		}
}

File 2 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 9 : IERC1155Receiver.sol
// 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);
}

File 4 of 9 : IERC1155MetadataURI.sol
// 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);
}

File 5 of 9 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 6 of 9 : ERC165.sol
// 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;
    }
}

File 7 of 9 : Context.sol
// 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;
    }
}

File 8 of 9 : IERC165.sol
// 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);
}

File 9 of 9 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_metadataURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccountsAndIdsLengthMismatched","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"BurnFromZeroAddress","type":"error"},{"inputs":[],"name":"BurnIdsAndAmountsLengthsMismatch","type":"error"},{"inputs":[],"name":"CallerIsNotOwnerOrApproved","type":"error"},{"inputs":[],"name":"CollectionURIHasBeenLocked","type":"error"},{"inputs":[],"name":"ERC1155ReceiverRejectTokens","type":"error"},{"inputs":[],"name":"IdsAndAmountsLengthsMismatch","type":"error"},{"inputs":[],"name":"InsufficientBalanceForBurn","type":"error"},{"inputs":[],"name":"InsufficientBalanceForTransfer","type":"error"},{"inputs":[],"name":"MintIdsAndAmountsLengthsMismatch","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"NonERC1155Receiver","type":"error"},{"inputs":[],"name":"NotAnAdmin","type":"error"},{"inputs":[],"name":"SettingApprovalStatusForSelf","type":"error"},{"inputs":[],"name":"TransferIsLocked","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"isLocked","type":"bool"},{"indexed":true,"internalType":"uint256","name":"time","type":"uint256"}],"name":"AllTransfersLocked","type":"event"},{"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":true,"internalType":"bool","name":"isLocked","type":"bool"},{"indexed":true,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"TransfersLocked","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"oldURI","type":"string"},{"indexed":true,"internalType":"string","name":"newURI","type":"string"}],"name":"URIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"string","name":"value","type":"string"}],"name":"URILocked","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_owners","type":"address[]"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnSingle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_locked","type":"bool"}],"name":"lockAllTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"bool","name":"_locked","type":"bool"}],"name":"lockTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintSingle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"operatorApprovals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"},{"internalType":"bool","name":"_isAdmin","type":"bool"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_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":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferLocks","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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"},{"inputs":[],"name":"uriLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620024ec380380620024ec833981016040819052620000349162000182565b6200003f3362000065565b60016200004d83826200027b565b5060026200005c82826200027b565b50505062000347565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000dd57600080fd5b81516001600160401b0380821115620000fa57620000fa620000b5565b604051601f8301601f19908116603f01168101908282118183101715620001255762000125620000b5565b816040528381526020925086838588010111156200014257600080fd5b600091505b8382101562000166578582018301518183018401529082019062000147565b83821115620001785760008385830101525b9695505050505050565b600080604083850312156200019657600080fd5b82516001600160401b0380821115620001ae57600080fd5b620001bc86838701620000cb565b93506020850151915080821115620001d357600080fd5b50620001e285828601620000cb565b9150509250929050565b600181811c908216806200020157607f821691505b6020821081036200022257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200027657600081815260208120601f850160051c81016020861015620002515750805b601f850160051c820191505b8181101562000272578281556001016200025d565b5050505b505050565b81516001600160401b03811115620002975762000297620000b5565b620002af81620002a88454620001ec565b8462000228565b602080601f831160018114620002e75760008415620002ce5750858301515b600019600386901b1c1916600185901b17855562000272565b600085815260208120601f198616915b828110156200031857888601518255948401946001909101908401620002f7565b5085821015620003375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61219580620003576000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c80636b20c454116100f9578063aafdd33811610097578063f099d5bb11610071578063f099d5bb146103c9578063f242432a146103dc578063f2fde38b146103ef578063fe99049a1461040257600080fd5b8063aafdd33814610371578063d81d0a151461037a578063e985e9c51461038d57600080fd5b80638da5cb5b116100d35780638da5cb5b1461031b5780638e021c061461033657806392ff6aea1461033e578063a22cb4651461035e57600080fd5b80636b20c454146102ed578063715018a6146103005780638d04e40e1461030857600080fd5b8063132b4816116101665780632eb2c2d6116101405780632eb2c2d61461029457806333b57274146102a75780634b0bddd2146102ba5780634e1273f4146102cd57600080fd5b8063132b48161461026157806317fad7fc1461027457806320c5ab6a1461028757600080fd5b8062fdd58e146101ad57806301ffc9a7146101d357806302fe5305146101f657806306fdde031461020b5780630d95e054146102205780630e89341c1461024e575b600080fd5b6101c06101bb3660046116c1565b610415565b6040519081526020015b60405180910390f35b6101e66101e1366004611701565b610466565b60405190151581526020016101ca565b61020961020436600461176e565b6104b8565b005b61021361060b565b6040516101ca91906117e0565b6101e661022e366004611813565b600560209081526000928352604080842090915290825290205460ff1681565b61021361025c366004611846565b610699565b61020961026f36600461185f565b61072d565b6102096102823660046118d7565b61085a565b6006546101e69060ff1681565b6102096102a2366004611968565b610a78565b6102096102b5366004611a33565b610aa1565b6102096102c8366004611a56565b610b4f565b6102e06102db366004611a80565b610ba4565b6040516101ca9190611aec565b6102096102fb366004611b30565b610c97565b610209610e59565b61020961031636600461185f565b610e8f565b6000546040516001600160a01b0390911681526020016101ca565b610209610f74565b6101c061034c366004611846565b60046020526000908152604090205481565b61020961036c366004611a56565b610fe8565b6101c060085481565b610209610388366004611b30565b61107d565b6101e661039b366004611813565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102096103d7366004611bb1565b6111af565b6102096103ea366004611bcc565b611230565b6102096103fd366004611c32565b611253565b610209610410366004611c4d565b6112ee565b60006001600160a01b03831661043e576040516323d3ad8160e21b815260040160405180910390fd5b5060009081526003602090815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061049757506001600160e01b031982166303a24d0760e21b145b806104b257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000546001600160a01b031633146104eb5760405162461bcd60e51b81526004016104e290611c8f565b60405180910390fd5b60065460ff161561050f576040516315f7f71560e01b815260040160405180910390fd5b60006002805461051e90611cc4565b80601f016020809104026020016040519081016040528092919081815260200182805461054a90611cc4565b80156105975780601f1061056c57610100808354040283529160200191610597565b820191906000526020600020905b81548152906001019060200180831161057a57829003601f168201915b505050505090508282600291826105af929190611d5f565b5082826040516105c0929190611e20565b6040518091039020816040516105d69190611e30565b604051908190038120907fbc6d6622520b1396fd62542aa3c9792fceea42e7904497257554c3ca80f48ebb90600090a3505050565b6001805461061890611cc4565b80601f016020809104026020016040519081016040528092919081815260200182805461064490611cc4565b80156106915780601f1061066657610100808354040283529160200191610691565b820191906000526020600020905b81548152906001019060200180831161067457829003601f168201915b505050505081565b6060600280546106a890611cc4565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490611cc4565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b50505050509050919050565b6000546001600160a01b0316331480159061075857503360009081526007602052604090205460ff16155b15610776576040516355098f2760e01b815260040160405180910390fd5b6001600160a01b03831661079d5760405163b817eee760e01b815260040160405180910390fd5b60008281526003602090815260408083206001600160a01b0387168452909152902054818110156107e157604051637ad786d960e01b815260040160405180910390fd5b60008381526003602090815260408083206001600160a01b0388168085529083528184208686039055868452600483528184208054879003905581518781529283018690529133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a450505050565b82811461087a5760405163a82a7b5960e01b815260040160405180910390fd5b6001600160a01b0385166108a157604051633a954ecd60e21b815260040160405180910390fd5b6001600160a01b03861633148015906108c157506108bf863361039b565b155b156108df5760405163214a0ec160e01b815260040160405180910390fd5b60085460001960ff82901c0161090857604051631ec47c7760e01b815260040160405180910390fd5b60005b84811015610a0d57600086868381811061092757610927611e4c565b905060200201359050600085858481811061094457610944611e4c565b602002919091013591506001905060ff61095e8482611e78565b86901b901c0361098157604051631ec47c7760e01b815260040160405180910390fd5b60008281526003602090815260408083206001600160a01b038e168452909152902054818110156109c55760405163eeced69960e01b815260040160405180910390fd5b60009283526003602090815260408085206001600160a01b038e811687529252808520928490039092558a16835290912080549091019055610a0681611e8f565b905061090b565b50856001600160a01b0316876001600160a01b0316610a293390565b6001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb88888888604051610a679493929190611ede565b60405180910390a450505050505050565b610a8688888888888861085a565b610a9733898989898989898961146b565b5050505050505050565b6000546001600160a01b03163314801590610acc57503360009081526007602052604090205460ff16155b15610aea576040516355098f2760e01b815260040160405180910390fd5b6001821b8115610b01576008805482179055610b0d565b60088054911991821690555b428215157f3bd6357b10bc3b335c45e5dd540668a4889e71e20308856eb1a5488c89ee1f9d85604051610b4291815260200190565b60405180910390a3505050565b6000546001600160a01b03163314610b795760405162461bcd60e51b81526004016104e290611c8f565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6060838214610bc657604051630cb4586760e01b815260040160405180910390fd5b60008467ffffffffffffffff811115610be157610be1611cfe565b604051908082528060200260200182016040528015610c0a578160200160208202803683370190505b50905060005b85811015610c8d57610c60878783818110610c2d57610c2d611e4c565b9050602002016020810190610c429190611c32565b868684818110610c5457610c54611e4c565b90506020020135610415565b828281518110610c7257610c72611e4c565b6020908102919091010152610c8681611e8f565b9050610c10565b5095945050505050565b6000546001600160a01b03163314801590610cc257503360009081526007602052604090205460ff16155b15610ce0576040516355098f2760e01b815260040160405180910390fd5b6001600160a01b038516610d075760405163b817eee760e01b815260040160405180910390fd5b828114610d2757604051633a8790e960e21b815260040160405180910390fd5b60005b83811015610dfd576000858583818110610d4657610d46611e4c565b9050602002013590506000848484818110610d6357610d63611e4c565b60008581526003602090815260408083206001600160a01b038f1684528252909120549102929092013592505081811015610db157604051637ad786d960e01b815260040160405180910390fd5b60008381526003602090815260408083206001600160a01b038d16845282528083209385900390935593815260049093529091208054919091039055610df681611e8f565b9050610d2a565b5060006001600160a01b038616335b6001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87878787604051610e4a9493929190611ede565b60405180910390a45050505050565b6000546001600160a01b03163314610e835760405162461bcd60e51b81526004016104e290611c8f565b610e8d600061158e565b565b6000546001600160a01b03163314801590610eba57503360009081526007602052604090205460ff16155b15610ed8576040516355098f2760e01b815260040160405180910390fd5b6001600160a01b038316610efe57604051622e076360e81b815260040160405180910390fd5b6000828152600460209081526040808320805485019055600382528083206001600160a01b0387168085529083528184208054860190558151868152928301859052929133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4505050565b6000546001600160a01b03163314610f9e5760405162461bcd60e51b81526004016104e290611c8f565b6006805460ff1916600117905560405133907fab89abc60f59e8bd4c92c5a6b70b4e5bdb784431e06006d6fc788d9a7d855cc990610fde90600290611f10565b60405180910390a2565b6001600160a01b03821633036110115760405163418a776160e11b815260040160405180910390fd5b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633148015906110a857503360009081526007602052604090205460ff16155b156110c6576040516355098f2760e01b815260040160405180910390fd5b6001600160a01b0385166110ec57604051622e076360e81b815260040160405180910390fd5b82811461110c57604051637b499f4d60e11b815260040160405180910390fd5b60005b8381101561119c57600085858381811061112b5761112b611e4c565b905060200201359050600084848481811061114857611148611e4c565b600094855260046020908152604080872080549383029590950135928301909455600381528386206001600160a01b038d1687529052919093208054909101905550611195905081611e8f565b905061110f565b506001600160a01b038516600033610e0c565b6000546001600160a01b031633146111d95760405162461bcd60e51b81526004016104e290611c8f565b600160ff1b81156111f15760088054821790556111fd565b60088054911991821690555b6040514290831515907fcbce86dea3ab80744e3bace7cb32be593ada203e99d90620e206eb0320208f6990600090a35050565b61123c868686866112ee565b61124b338787878787876115de565b505050505050565b6000546001600160a01b0316331461127d5760405162461bcd60e51b81526004016104e290611c8f565b6001600160a01b0381166112e25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e2565b6112eb8161158e565b50565b6001600160a01b03831661131557604051633a954ecd60e21b815260040160405180910390fd5b6001600160a01b03841633148015906113355750611333843361039b565b155b156113535760405163214a0ec160e01b815260040160405180910390fd5b60085460001960ff82901c0161137c57604051631ec47c7760e01b815260040160405180910390fd5b600160ff61138a8582611e78565b83901b901c036113ad57604051631ec47c7760e01b815260040160405180910390fd5b60008381526003602090815260408083206001600160a01b0389168452909152902054828110156113f15760405163eeced69960e01b815260040160405180910390fd5b60008481526003602090815260408083206001600160a01b038a8116808652918452828520888703905589168085529382902080548801905581518881529283018790529133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4505050505050565b6001600160a01b0387163b156115835760405163bc197c8160e01b81526001600160a01b0388169063bc197c81906114b5908c908c908b908b908b908b908b908b90600401611fc4565b6020604051808303816000875af19250505080156114f0575060408051601f3d908101601f191682019092526114ed91810190612028565b60015b611550576114fc612045565b806308c379a003611535575061151061208e565b8061151b5750611537565b8060405162461bcd60e51b81526004016104e291906117e0565b505b604051634c26efaf60e11b815260040160405180910390fd5b6001600160e01b0319811663bc197c8160e01b14611581576040516351a7fc4160e01b815260040160405180910390fd5b505b505050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0385163b1561169c5760405163f23a6e6160e01b81526001600160a01b0386169063f23a6e6190611624908a908a908990899089908990600401612118565b6020604051808303816000875af192505050801561165f575060408051601f3d908101601f1916820190925261165c91810190612028565b60015b61166b576114fc612045565b6001600160e01b0319811663f23a6e6160e01b14610a97576040516351a7fc4160e01b815260040160405180910390fd5b50505050505050565b80356001600160a01b03811681146116bc57600080fd5b919050565b600080604083850312156116d457600080fd5b6116dd836116a5565b946020939093013593505050565b6001600160e01b0319811681146112eb57600080fd5b60006020828403121561171357600080fd5b813561171e816116eb565b9392505050565b60008083601f84011261173757600080fd5b50813567ffffffffffffffff81111561174f57600080fd5b60208301915083602082850101111561176757600080fd5b9250929050565b6000806020838503121561178157600080fd5b823567ffffffffffffffff81111561179857600080fd5b6117a485828601611725565b90969095509350505050565b60005b838110156117cb5781810151838201526020016117b3565b838111156117da576000848401525b50505050565b60208152600082518060208401526117ff8160408501602087016117b0565b601f01601f19169190910160400192915050565b6000806040838503121561182657600080fd5b61182f836116a5565b915061183d602084016116a5565b90509250929050565b60006020828403121561185857600080fd5b5035919050565b60008060006060848603121561187457600080fd5b61187d846116a5565b95602085013595506040909401359392505050565b60008083601f8401126118a457600080fd5b50813567ffffffffffffffff8111156118bc57600080fd5b6020830191508360208260051b850101111561176757600080fd5b600080600080600080608087890312156118f057600080fd5b6118f9876116a5565b9550611907602088016116a5565b9450604087013567ffffffffffffffff8082111561192457600080fd5b6119308a838b01611892565b9096509450606089013591508082111561194957600080fd5b5061195689828a01611892565b979a9699509497509295939492505050565b60008060008060008060008060a0898b03121561198457600080fd5b61198d896116a5565b975061199b60208a016116a5565b9650604089013567ffffffffffffffff808211156119b857600080fd5b6119c48c838d01611892565b909850965060608b01359150808211156119dd57600080fd5b6119e98c838d01611892565b909650945060808b0135915080821115611a0257600080fd5b50611a0f8b828c01611725565b999c989b5096995094979396929594505050565b803580151581146116bc57600080fd5b60008060408385031215611a4657600080fd5b8235915061183d60208401611a23565b60008060408385031215611a6957600080fd5b611a72836116a5565b915061183d60208401611a23565b60008060008060408587031215611a9657600080fd5b843567ffffffffffffffff80821115611aae57600080fd5b611aba88838901611892565b90965094506020870135915080821115611ad357600080fd5b50611ae087828801611892565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b81811015611b2457835183529284019291840191600101611b08565b50909695505050505050565b600080600080600060608688031215611b4857600080fd5b611b51866116a5565b9450602086013567ffffffffffffffff80821115611b6e57600080fd5b611b7a89838a01611892565b90965094506040880135915080821115611b9357600080fd5b50611ba088828901611892565b969995985093965092949392505050565b600060208284031215611bc357600080fd5b61171e82611a23565b60008060008060008060a08789031215611be557600080fd5b611bee876116a5565b9550611bfc602088016116a5565b94506040870135935060608701359250608087013567ffffffffffffffff811115611c2657600080fd5b61195689828a01611725565b600060208284031215611c4457600080fd5b61171e826116a5565b60008060008060808587031215611c6357600080fd5b611c6c856116a5565b9350611c7a602086016116a5565b93969395505050506040820135916060013590565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611cd857607f821691505b602082108103611cf857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b601f821115611d5a57600081815260208120601f850160051c81016020861015611d3b5750805b601f850160051c820191505b8181101561124b57828155600101611d47565b505050565b67ffffffffffffffff831115611d7757611d77611cfe565b611d8b83611d858354611cc4565b83611d14565b6000601f841160018114611dbf5760008515611da75750838201355b600019600387901b1c1916600186901b178355611e19565b600083815260209020601f19861690835b82811015611df05786850135825560209485019460019092019101611dd0565b5086821015611e0d5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b8183823760009101908152919050565b60008251611e428184602087016117b0565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015611e8a57611e8a611e62565b500390565b600060018201611ea157611ea1611e62565b5060010190565b81835260006001600160fb1b03831115611ec157600080fd5b8260051b8083602087013760009401602001938452509192915050565b604081526000611ef2604083018688611ea8565b8281036020840152611f05818587611ea8565b979650505050505050565b6000602080835260008454611f2481611cc4565b80848701526040600180841660008114611f455760018114611f5f57611f8d565b60ff1985168984015283151560051b890183019550611f8d565b896000528660002060005b85811015611f855781548b8201860152908301908801611f6a565b8a0184019650505b509398975050505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682528816602082015260a060408201819052600090611ff1908301888a611ea8565b8281036060840152612004818789611ea8565b90508281036080840152612019818587611f9b565b9b9a5050505050505050505050565b60006020828403121561203a57600080fd5b815161171e816116eb565b600060033d111561205e5760046000803e5060005160e01c5b90565b601f8201601f1916810167ffffffffffffffff8111828210171561208757612087611cfe565b6040525050565b600060443d101561209c5790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156120cc57505050505090565b82850191508151818111156120e45750505050505090565b843d87010160208285010111156120fe5750505050505090565b61210d60208286010187612061565b509095945050505050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a0608082018190526000906121539083018486611f9b565b9897505050505050505056fea2646970667358221220e94d51b24e082662356ff06d179af211763f140dbee4ab15a4868b637dcadff864736f6c634300080f003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a4162626f746c696e677300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6162626f746c696e67732e73332e616d617a6f6e6177732e636f6d2f7b69647d000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a85760003560e01c80636b20c454116100f9578063aafdd33811610097578063f099d5bb11610071578063f099d5bb146103c9578063f242432a146103dc578063f2fde38b146103ef578063fe99049a1461040257600080fd5b8063aafdd33814610371578063d81d0a151461037a578063e985e9c51461038d57600080fd5b80638da5cb5b116100d35780638da5cb5b1461031b5780638e021c061461033657806392ff6aea1461033e578063a22cb4651461035e57600080fd5b80636b20c454146102ed578063715018a6146103005780638d04e40e1461030857600080fd5b8063132b4816116101665780632eb2c2d6116101405780632eb2c2d61461029457806333b57274146102a75780634b0bddd2146102ba5780634e1273f4146102cd57600080fd5b8063132b48161461026157806317fad7fc1461027457806320c5ab6a1461028757600080fd5b8062fdd58e146101ad57806301ffc9a7146101d357806302fe5305146101f657806306fdde031461020b5780630d95e054146102205780630e89341c1461024e575b600080fd5b6101c06101bb3660046116c1565b610415565b6040519081526020015b60405180910390f35b6101e66101e1366004611701565b610466565b60405190151581526020016101ca565b61020961020436600461176e565b6104b8565b005b61021361060b565b6040516101ca91906117e0565b6101e661022e366004611813565b600560209081526000928352604080842090915290825290205460ff1681565b61021361025c366004611846565b610699565b61020961026f36600461185f565b61072d565b6102096102823660046118d7565b61085a565b6006546101e69060ff1681565b6102096102a2366004611968565b610a78565b6102096102b5366004611a33565b610aa1565b6102096102c8366004611a56565b610b4f565b6102e06102db366004611a80565b610ba4565b6040516101ca9190611aec565b6102096102fb366004611b30565b610c97565b610209610e59565b61020961031636600461185f565b610e8f565b6000546040516001600160a01b0390911681526020016101ca565b610209610f74565b6101c061034c366004611846565b60046020526000908152604090205481565b61020961036c366004611a56565b610fe8565b6101c060085481565b610209610388366004611b30565b61107d565b6101e661039b366004611813565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102096103d7366004611bb1565b6111af565b6102096103ea366004611bcc565b611230565b6102096103fd366004611c32565b611253565b610209610410366004611c4d565b6112ee565b60006001600160a01b03831661043e576040516323d3ad8160e21b815260040160405180910390fd5b5060009081526003602090815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061049757506001600160e01b031982166303a24d0760e21b145b806104b257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000546001600160a01b031633146104eb5760405162461bcd60e51b81526004016104e290611c8f565b60405180910390fd5b60065460ff161561050f576040516315f7f71560e01b815260040160405180910390fd5b60006002805461051e90611cc4565b80601f016020809104026020016040519081016040528092919081815260200182805461054a90611cc4565b80156105975780601f1061056c57610100808354040283529160200191610597565b820191906000526020600020905b81548152906001019060200180831161057a57829003601f168201915b505050505090508282600291826105af929190611d5f565b5082826040516105c0929190611e20565b6040518091039020816040516105d69190611e30565b604051908190038120907fbc6d6622520b1396fd62542aa3c9792fceea42e7904497257554c3ca80f48ebb90600090a3505050565b6001805461061890611cc4565b80601f016020809104026020016040519081016040528092919081815260200182805461064490611cc4565b80156106915780601f1061066657610100808354040283529160200191610691565b820191906000526020600020905b81548152906001019060200180831161067457829003601f168201915b505050505081565b6060600280546106a890611cc4565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490611cc4565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b50505050509050919050565b6000546001600160a01b0316331480159061075857503360009081526007602052604090205460ff16155b15610776576040516355098f2760e01b815260040160405180910390fd5b6001600160a01b03831661079d5760405163b817eee760e01b815260040160405180910390fd5b60008281526003602090815260408083206001600160a01b0387168452909152902054818110156107e157604051637ad786d960e01b815260040160405180910390fd5b60008381526003602090815260408083206001600160a01b0388168085529083528184208686039055868452600483528184208054879003905581518781529283018690529133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a450505050565b82811461087a5760405163a82a7b5960e01b815260040160405180910390fd5b6001600160a01b0385166108a157604051633a954ecd60e21b815260040160405180910390fd5b6001600160a01b03861633148015906108c157506108bf863361039b565b155b156108df5760405163214a0ec160e01b815260040160405180910390fd5b60085460001960ff82901c0161090857604051631ec47c7760e01b815260040160405180910390fd5b60005b84811015610a0d57600086868381811061092757610927611e4c565b905060200201359050600085858481811061094457610944611e4c565b602002919091013591506001905060ff61095e8482611e78565b86901b901c0361098157604051631ec47c7760e01b815260040160405180910390fd5b60008281526003602090815260408083206001600160a01b038e168452909152902054818110156109c55760405163eeced69960e01b815260040160405180910390fd5b60009283526003602090815260408085206001600160a01b038e811687529252808520928490039092558a16835290912080549091019055610a0681611e8f565b905061090b565b50856001600160a01b0316876001600160a01b0316610a293390565b6001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb88888888604051610a679493929190611ede565b60405180910390a450505050505050565b610a8688888888888861085a565b610a9733898989898989898961146b565b5050505050505050565b6000546001600160a01b03163314801590610acc57503360009081526007602052604090205460ff16155b15610aea576040516355098f2760e01b815260040160405180910390fd5b6001821b8115610b01576008805482179055610b0d565b60088054911991821690555b428215157f3bd6357b10bc3b335c45e5dd540668a4889e71e20308856eb1a5488c89ee1f9d85604051610b4291815260200190565b60405180910390a3505050565b6000546001600160a01b03163314610b795760405162461bcd60e51b81526004016104e290611c8f565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6060838214610bc657604051630cb4586760e01b815260040160405180910390fd5b60008467ffffffffffffffff811115610be157610be1611cfe565b604051908082528060200260200182016040528015610c0a578160200160208202803683370190505b50905060005b85811015610c8d57610c60878783818110610c2d57610c2d611e4c565b9050602002016020810190610c429190611c32565b868684818110610c5457610c54611e4c565b90506020020135610415565b828281518110610c7257610c72611e4c565b6020908102919091010152610c8681611e8f565b9050610c10565b5095945050505050565b6000546001600160a01b03163314801590610cc257503360009081526007602052604090205460ff16155b15610ce0576040516355098f2760e01b815260040160405180910390fd5b6001600160a01b038516610d075760405163b817eee760e01b815260040160405180910390fd5b828114610d2757604051633a8790e960e21b815260040160405180910390fd5b60005b83811015610dfd576000858583818110610d4657610d46611e4c565b9050602002013590506000848484818110610d6357610d63611e4c565b60008581526003602090815260408083206001600160a01b038f1684528252909120549102929092013592505081811015610db157604051637ad786d960e01b815260040160405180910390fd5b60008381526003602090815260408083206001600160a01b038d16845282528083209385900390935593815260049093529091208054919091039055610df681611e8f565b9050610d2a565b5060006001600160a01b038616335b6001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87878787604051610e4a9493929190611ede565b60405180910390a45050505050565b6000546001600160a01b03163314610e835760405162461bcd60e51b81526004016104e290611c8f565b610e8d600061158e565b565b6000546001600160a01b03163314801590610eba57503360009081526007602052604090205460ff16155b15610ed8576040516355098f2760e01b815260040160405180910390fd5b6001600160a01b038316610efe57604051622e076360e81b815260040160405180910390fd5b6000828152600460209081526040808320805485019055600382528083206001600160a01b0387168085529083528184208054860190558151868152928301859052929133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4505050565b6000546001600160a01b03163314610f9e5760405162461bcd60e51b81526004016104e290611c8f565b6006805460ff1916600117905560405133907fab89abc60f59e8bd4c92c5a6b70b4e5bdb784431e06006d6fc788d9a7d855cc990610fde90600290611f10565b60405180910390a2565b6001600160a01b03821633036110115760405163418a776160e11b815260040160405180910390fd5b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633148015906110a857503360009081526007602052604090205460ff16155b156110c6576040516355098f2760e01b815260040160405180910390fd5b6001600160a01b0385166110ec57604051622e076360e81b815260040160405180910390fd5b82811461110c57604051637b499f4d60e11b815260040160405180910390fd5b60005b8381101561119c57600085858381811061112b5761112b611e4c565b905060200201359050600084848481811061114857611148611e4c565b600094855260046020908152604080872080549383029590950135928301909455600381528386206001600160a01b038d1687529052919093208054909101905550611195905081611e8f565b905061110f565b506001600160a01b038516600033610e0c565b6000546001600160a01b031633146111d95760405162461bcd60e51b81526004016104e290611c8f565b600160ff1b81156111f15760088054821790556111fd565b60088054911991821690555b6040514290831515907fcbce86dea3ab80744e3bace7cb32be593ada203e99d90620e206eb0320208f6990600090a35050565b61123c868686866112ee565b61124b338787878787876115de565b505050505050565b6000546001600160a01b0316331461127d5760405162461bcd60e51b81526004016104e290611c8f565b6001600160a01b0381166112e25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e2565b6112eb8161158e565b50565b6001600160a01b03831661131557604051633a954ecd60e21b815260040160405180910390fd5b6001600160a01b03841633148015906113355750611333843361039b565b155b156113535760405163214a0ec160e01b815260040160405180910390fd5b60085460001960ff82901c0161137c57604051631ec47c7760e01b815260040160405180910390fd5b600160ff61138a8582611e78565b83901b901c036113ad57604051631ec47c7760e01b815260040160405180910390fd5b60008381526003602090815260408083206001600160a01b0389168452909152902054828110156113f15760405163eeced69960e01b815260040160405180910390fd5b60008481526003602090815260408083206001600160a01b038a8116808652918452828520888703905589168085529382902080548801905581518881529283018790529133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4505050505050565b6001600160a01b0387163b156115835760405163bc197c8160e01b81526001600160a01b0388169063bc197c81906114b5908c908c908b908b908b908b908b908b90600401611fc4565b6020604051808303816000875af19250505080156114f0575060408051601f3d908101601f191682019092526114ed91810190612028565b60015b611550576114fc612045565b806308c379a003611535575061151061208e565b8061151b5750611537565b8060405162461bcd60e51b81526004016104e291906117e0565b505b604051634c26efaf60e11b815260040160405180910390fd5b6001600160e01b0319811663bc197c8160e01b14611581576040516351a7fc4160e01b815260040160405180910390fd5b505b505050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0385163b1561169c5760405163f23a6e6160e01b81526001600160a01b0386169063f23a6e6190611624908a908a908990899089908990600401612118565b6020604051808303816000875af192505050801561165f575060408051601f3d908101601f1916820190925261165c91810190612028565b60015b61166b576114fc612045565b6001600160e01b0319811663f23a6e6160e01b14610a97576040516351a7fc4160e01b815260040160405180910390fd5b50505050505050565b80356001600160a01b03811681146116bc57600080fd5b919050565b600080604083850312156116d457600080fd5b6116dd836116a5565b946020939093013593505050565b6001600160e01b0319811681146112eb57600080fd5b60006020828403121561171357600080fd5b813561171e816116eb565b9392505050565b60008083601f84011261173757600080fd5b50813567ffffffffffffffff81111561174f57600080fd5b60208301915083602082850101111561176757600080fd5b9250929050565b6000806020838503121561178157600080fd5b823567ffffffffffffffff81111561179857600080fd5b6117a485828601611725565b90969095509350505050565b60005b838110156117cb5781810151838201526020016117b3565b838111156117da576000848401525b50505050565b60208152600082518060208401526117ff8160408501602087016117b0565b601f01601f19169190910160400192915050565b6000806040838503121561182657600080fd5b61182f836116a5565b915061183d602084016116a5565b90509250929050565b60006020828403121561185857600080fd5b5035919050565b60008060006060848603121561187457600080fd5b61187d846116a5565b95602085013595506040909401359392505050565b60008083601f8401126118a457600080fd5b50813567ffffffffffffffff8111156118bc57600080fd5b6020830191508360208260051b850101111561176757600080fd5b600080600080600080608087890312156118f057600080fd5b6118f9876116a5565b9550611907602088016116a5565b9450604087013567ffffffffffffffff8082111561192457600080fd5b6119308a838b01611892565b9096509450606089013591508082111561194957600080fd5b5061195689828a01611892565b979a9699509497509295939492505050565b60008060008060008060008060a0898b03121561198457600080fd5b61198d896116a5565b975061199b60208a016116a5565b9650604089013567ffffffffffffffff808211156119b857600080fd5b6119c48c838d01611892565b909850965060608b01359150808211156119dd57600080fd5b6119e98c838d01611892565b909650945060808b0135915080821115611a0257600080fd5b50611a0f8b828c01611725565b999c989b5096995094979396929594505050565b803580151581146116bc57600080fd5b60008060408385031215611a4657600080fd5b8235915061183d60208401611a23565b60008060408385031215611a6957600080fd5b611a72836116a5565b915061183d60208401611a23565b60008060008060408587031215611a9657600080fd5b843567ffffffffffffffff80821115611aae57600080fd5b611aba88838901611892565b90965094506020870135915080821115611ad357600080fd5b50611ae087828801611892565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b81811015611b2457835183529284019291840191600101611b08565b50909695505050505050565b600080600080600060608688031215611b4857600080fd5b611b51866116a5565b9450602086013567ffffffffffffffff80821115611b6e57600080fd5b611b7a89838a01611892565b90965094506040880135915080821115611b9357600080fd5b50611ba088828901611892565b969995985093965092949392505050565b600060208284031215611bc357600080fd5b61171e82611a23565b60008060008060008060a08789031215611be557600080fd5b611bee876116a5565b9550611bfc602088016116a5565b94506040870135935060608701359250608087013567ffffffffffffffff811115611c2657600080fd5b61195689828a01611725565b600060208284031215611c4457600080fd5b61171e826116a5565b60008060008060808587031215611c6357600080fd5b611c6c856116a5565b9350611c7a602086016116a5565b93969395505050506040820135916060013590565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611cd857607f821691505b602082108103611cf857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b601f821115611d5a57600081815260208120601f850160051c81016020861015611d3b5750805b601f850160051c820191505b8181101561124b57828155600101611d47565b505050565b67ffffffffffffffff831115611d7757611d77611cfe565b611d8b83611d858354611cc4565b83611d14565b6000601f841160018114611dbf5760008515611da75750838201355b600019600387901b1c1916600186901b178355611e19565b600083815260209020601f19861690835b82811015611df05786850135825560209485019460019092019101611dd0565b5086821015611e0d5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b8183823760009101908152919050565b60008251611e428184602087016117b0565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015611e8a57611e8a611e62565b500390565b600060018201611ea157611ea1611e62565b5060010190565b81835260006001600160fb1b03831115611ec157600080fd5b8260051b8083602087013760009401602001938452509192915050565b604081526000611ef2604083018688611ea8565b8281036020840152611f05818587611ea8565b979650505050505050565b6000602080835260008454611f2481611cc4565b80848701526040600180841660008114611f455760018114611f5f57611f8d565b60ff1985168984015283151560051b890183019550611f8d565b896000528660002060005b85811015611f855781548b8201860152908301908801611f6a565b8a0184019650505b509398975050505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682528816602082015260a060408201819052600090611ff1908301888a611ea8565b8281036060840152612004818789611ea8565b90508281036080840152612019818587611f9b565b9b9a5050505050505050505050565b60006020828403121561203a57600080fd5b815161171e816116eb565b600060033d111561205e5760046000803e5060005160e01c5b90565b601f8201601f1916810167ffffffffffffffff8111828210171561208757612087611cfe565b6040525050565b600060443d101561209c5790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156120cc57505050505090565b82850191508151818111156120e45750505050505090565b843d87010160208285010111156120fe5750505050505090565b61210d60208286010187612061565b509095945050505050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a0608082018190526000906121539083018486611f9b565b9897505050505050505056fea2646970667358221220e94d51b24e082662356ff06d179af211763f140dbee4ab15a4868b637dcadff864736f6c634300080f0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a4162626f746c696e677300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6162626f746c696e67732e73332e616d617a6f6e6177732e636f6d2f7b69647d000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Abbotlings
Arg [1] : _metadataURI (string): https://abbotlings.s3.amazonaws.com/{id}

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 4162626f746c696e677300000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [5] : 68747470733a2f2f6162626f746c696e67732e73332e616d617a6f6e6177732e
Arg [6] : 636f6d2f7b69647d000000000000000000000000000000000000000000000000


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.