Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 366 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 20290443 | 168 days ago | IN | 0 ETH | 0.00007703 | ||||
Set Approval For... | 20179651 | 184 days ago | IN | 0 ETH | 0.0001076 | ||||
Set Approval For... | 19223666 | 317 days ago | IN | 0 ETH | 0.00041362 | ||||
Set Approval For... | 18993051 | 350 days ago | IN | 0 ETH | 0.00052474 | ||||
Set Approval For... | 18984436 | 351 days ago | IN | 0 ETH | 0.00154255 | ||||
Set Approval For... | 18973876 | 352 days ago | IN | 0 ETH | 0.00132889 | ||||
Set Approval For... | 18889811 | 364 days ago | IN | 0 ETH | 0.00117486 | ||||
Set Approval For... | 18726536 | 387 days ago | IN | 0 ETH | 0.00112729 | ||||
Set Approval For... | 17604454 | 544 days ago | IN | 0 ETH | 0.00063087 | ||||
Set Approval For... | 17499520 | 559 days ago | IN | 0 ETH | 0.00063336 | ||||
Set Approval For... | 17419120 | 570 days ago | IN | 0 ETH | 0.00091797 | ||||
Set Approval For... | 17405052 | 572 days ago | IN | 0 ETH | 0.00093664 | ||||
Set Approval For... | 17160296 | 607 days ago | IN | 0 ETH | 0.00134161 | ||||
Set Approval For... | 17059994 | 621 days ago | IN | 0 ETH | 0.00068778 | ||||
Set Approval For... | 16910549 | 642 days ago | IN | 0 ETH | 0.00034758 | ||||
Set Approval For... | 16910527 | 642 days ago | IN | 0 ETH | 0.00074335 | ||||
Set Approval For... | 16886557 | 646 days ago | IN | 0 ETH | 0.0009885 | ||||
Set Approval For... | 16837037 | 653 days ago | IN | 0 ETH | 0.00057204 | ||||
Set Approval For... | 16837036 | 653 days ago | IN | 0 ETH | 0.00056162 | ||||
Set Approval For... | 16794302 | 659 days ago | IN | 0 ETH | 0.00062485 | ||||
Set Approval For... | 16734419 | 667 days ago | IN | 0 ETH | 0.0008285 | ||||
Set Approval For... | 16708266 | 671 days ago | IN | 0 ETH | 0.00046793 | ||||
Set Approval For... | 16636954 | 681 days ago | IN | 0 ETH | 0.00104592 | ||||
Set Approval For... | 16620090 | 683 days ago | IN | 0 ETH | 0.00103078 | ||||
Set Approval For... | 16615549 | 684 days ago | IN | 0 ETH | 0.00146392 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ForgottenSpells
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@#@@@@@@@@@@%***********///(@@@@@@@@@@/&@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@/*/@&*******#@@@@@@@@@@&//***/**@//*/@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@&//((/*&@@@@@@@@@@@@@@@@@@@@@(///***&@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@**//**#////*(@@@@@@@@@@@@@@@****//***&*/&@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@/*//@&***@@@@//***(@@@@@@@*****#@@@//*/@@/**(@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@*#(/@@@@/***@@@@@@/*#***#*****@@@@@@****@@@@@***@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@//*@@@@@@@***/@@@@@@@@/*****/@@@@@@@(/**#@@@@@@//*(@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@***@@@@@@@@@***/@@@@*****@@******@@@@/**%@@@@@@@@%**#@@@@@@@@@@@@@ // @@@@@@@@@@@@@**&@@@@@@@@@@#/**(***/&@@@@@@@@@/****#/*(@@@@@@@@@@@**@@@@@@@@@@@@@ // @@@@@@@@@@@@#**&@@@@@@@@@@@#***&@@@@@@@@@@@@@@@@/*****@@@@@@@@@@@/*/@@@@@@@@@@@@ // @@@@@@@@@@@@(//@@@@@@@@@****(***@@@@@@@@@@@@@@@@(/**(/***&@@@@@@@%%&@@@@@@@@@@@@ // @@@@@@@@@@@@***@@@@@@#/**%@@@#/**@@@@@@@@@@@@@@@**/@@@@/#/*#%@@@@/**@@@@@@@@@@@@ // @@@@@@@@@@@@***@@%****@@@@@@@@****@@@@@@@@@@@@@///@@@@@@@@/*****@***@@@@@@@@@@@@ // @@@@@@@@@@@@@(/****@@@@@@@@@@@@****@@@@@@@@@@@//*(@@@@@@@@@@@&(##*/&@@@@@@@@@@@@ // @@@@@@@@@@&**************//**********************(/*//************/****(@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@***@@@@@@@@@/*/@@@@@@@@@@@@@@@((#@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@///(@@@@@@@@@@@@@@&***@@@@@@@((/@@@@@@@@@@@@@@@//(@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@***@@@@@@@@@@@@@@#***@@@@@***%@@@@@@@@@@@@@**//@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@%((#@@@@@@@@@@@@/***@@@/*/(@@@@@@@@@@@@**//@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@****@&**/@@@@@@@@@@////&@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@*/////@@@@@@@**/****@@@@@@%/////&@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@(********@/*//*#*//////*@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#@**/@&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // ForgottenPunks: ForgottenSpells // // Website: https://forgottenpunks.wtf // Twitter: https://twitter.com/forgottenpunk // // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; contract ForgottenSpells is ERC1155, Ownable, ERC1155Burnable { uint256 public _currentTokenID = 0; mapping(uint256 => string) public tokenURIs; mapping(uint256 => uint256) public tokenSupply; mapping(uint256 => bool) public frozen; mapping(address => bool) public minters; modifier onlyMinterOrOwner() { require( minters[msg.sender] || msg.sender == owner(), "only minter or owner can call this function" ); _; } constructor() ERC1155("") {} function uri(uint256 id) public view override returns (string memory) { require(bytes(tokenURIs[id]).length > 0, "MISSING_TOKEN"); return tokenURIs[id]; } function addMinter(address minter) public onlyOwner { minters[minter] = true; } function _createToken( address initialOwner, uint256 totalTokenSupply, string calldata tokenUri, bytes calldata data ) internal returns (uint256) { require(bytes(tokenUri).length > 0, "URI_REQUIRED"); require(totalTokenSupply > 0, "INVALID_SUPPLY"); uint256 _id = _currentTokenID; _currentTokenID++; tokenURIs[_id] = tokenUri; tokenSupply[_id] = totalTokenSupply; emit URI(tokenUri, _id); _mint(initialOwner, _id, totalTokenSupply, data); return _id; } function create( address initialOwner, uint256 totalTokenSupply, string calldata tokenUri, bytes calldata data ) public onlyOwner returns (uint256) { return _createToken(initialOwner, totalTokenSupply, tokenUri, data); } function mint( address initialOwner, uint256 tokenId, uint256 amount, bytes calldata data ) public onlyMinterOrOwner { require(amount > 0, "INVALID_AMOUNT"); require(!frozen[tokenId], "TOKEN_FROZEN"); tokenSupply[tokenId] = tokenSupply[tokenId] + amount; _mint(initialOwner, tokenId, amount, data); } function freeze(uint256 tokenId) public onlyOwner { frozen[tokenId] = true; } function setTokenURI(uint256 tokenId, string calldata tokenUri) public onlyOwner { require(!frozen[tokenId], "TOKEN_FROZEN"); emit URI(tokenUri, tokenId); tokenURIs[tokenId] = tokenUri; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); 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 (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _burnBatch(account, ids, values); } }
// 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 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.7.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 /// @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 (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 (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 v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"_currentTokenID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"uint256","name":"totalTokenSupply","type":"uint256"},{"internalType":"string","name":"tokenUri","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"create","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"frozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenUri","type":"string"}],"name":"setTokenURI","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":"uint256","name":"","type":"uint256"}],"name":"tokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260006004553480156200001657600080fd5b506040518060200160405280600081525062000038816200005f60201b60201c565b50620000596200004d6200007b60201b60201c565b6200008360201b60201c565b6200025e565b80600290805190602001906200007792919062000149565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001579062000228565b90600052602060002090601f0160209004810192826200017b5760008555620001c7565b82601f106200019657805160ff1916838001178555620001c7565b82800160010185558215620001c7579182015b82811115620001c6578251825591602001919060010190620001a9565b5b509050620001d69190620001da565b5090565b5b80821115620001f5576000816000905550600101620001db565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200024157607f821691505b60208210811415620002585762000257620001f9565b5b50919050565b614240806200026e6000396000f3fe608060405234801561001057600080fd5b506004361061014c5760003560e01c8063832efb5a116100c3578063e985e9c51161007c578063e985e9c5146103ab578063e9ac0440146103db578063f242432a1461040b578063f2fde38b14610427578063f46eccc414610443578063f5298aca146104735761014c565b8063832efb5a146102eb5780638da5cb5b14610309578063983b2d5614610327578063a22cb46514610343578063d7a78db81461035f578063e38e3b241461037b5761014c565b80632eb2c2d6116101155780632eb2c2d61461022d5780634e1273f4146102495780636b20c454146102795780636c8b703f14610295578063715018a6146102c5578063731133e9146102cf5761014c565b8062fdd58e1461015157806301ffc9a7146101815780630e89341c146101b1578063162094c4146101e15780632693ebf2146101fd575b600080fd5b61016b600480360381019061016691906127ad565b61048f565b60405161017891906127fc565b60405180910390f35b61019b6004803603810190610196919061286f565b610558565b6040516101a891906128b7565b60405180910390f35b6101cb60048036038101906101c691906128d2565b61063a565b6040516101d89190612998565b60405180910390f35b6101fb60048036038101906101f69190612a1f565b610741565b005b610217600480360381019061021291906128d2565b61080c565b60405161022491906127fc565b60405180910390f35b61024760048036038101906102429190612c72565b610824565b005b610263600480360381019061025e9190612e04565b6108c5565b6040516102709190612f3a565b60405180910390f35b610293600480360381019061028e9190612f5c565b6109de565b005b6102af60048036038101906102aa91906128d2565b610a7b565b6040516102bc9190612998565b60405180910390f35b6102cd610b1b565b005b6102e960048036038101906102e4919061303d565b610b2f565b005b6102f3610d29565b60405161030091906127fc565b60405180910390f35b610311610d2f565b60405161031e91906130d4565b60405180910390f35b610341600480360381019061033c91906130ef565b610d59565b005b61035d60048036038101906103589190613148565b610dbc565b005b610379600480360381019061037491906128d2565b610dd2565b005b61039560048036038101906103909190613188565b610e09565b6040516103a291906127fc565b60405180910390f35b6103c560048036038101906103c0919061322f565b610e2d565b6040516103d291906128b7565b60405180910390f35b6103f560048036038101906103f091906128d2565b610ec1565b60405161040291906128b7565b60405180910390f35b6104256004803603810190610420919061326f565b610ee1565b005b610441600480360381019061043c91906130ef565b610f82565b005b61045d600480360381019061045891906130ef565b611006565b60405161046a91906128b7565b60405180910390f35b61048d60048036038101906104889190613306565b611026565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f7906133cb565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106335750610632826110c3565b5b9050919050565b6060600060056000848152602001908152602001600020805461065c9061341a565b90501161069e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069590613498565b60405180910390fd5b6005600083815260200190815260200160002080546106bc9061341a565b80601f01602080910402602001604051908101604052809291908181526020018280546106e89061341a565b80156107355780601f1061070a57610100808354040283529160200191610735565b820191906000526020600020905b81548152906001019060200180831161071857829003601f168201915b50505050509050919050565b61074961112d565b6007600084815260200190815260200160002060009054906101000a900460ff16156107aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a190613504565b60405180910390fd5b827f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b83836040516107dc929190613551565b60405180910390a28181600560008681526020019081526020016000209190610806929190612662565b50505050565b60066020528060005260406000206000915090505481565b61082c6111ab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061087257506108718561086c6111ab565b610e2d565b5b6108b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a8906135e7565b60405180910390fd5b6108be85858585856111b3565b5050505050565b6060815183511461090b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090290613679565b60405180910390fd5b6000835167ffffffffffffffff81111561092857610927612a7f565b5b6040519080825280602002602001820160405280156109565781602001602082028036833780820191505090505b50905060005b84518110156109d3576109a385828151811061097b5761097a613699565b5b602002602001015185838151811061099657610995613699565b5b602002602001015161048f565b8282815181106109b6576109b5613699565b5b602002602001018181525050806109cc906136f7565b905061095c565b508091505092915050565b6109e66111ab565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610a2c5750610a2b83610a266111ab565b610e2d565b5b610a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a62906135e7565b60405180910390fd5b610a768383836114d5565b505050565b60056020528060005260406000206000915090508054610a9a9061341a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac69061341a565b8015610b135780601f10610ae857610100808354040283529160200191610b13565b820191906000526020600020905b815481529060010190602001808311610af657829003601f168201915b505050505081565b610b2361112d565b610b2d60006117a4565b565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610bb95750610b8a610d2f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bef906137b2565b60405180910390fd5b60008311610c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c329061381e565b60405180910390fd5b6007600085815260200190815260200160002060009054906101000a900460ff1615610c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9390613504565b60405180910390fd5b826006600086815260200190815260200160002054610cbb919061383e565b6006600086815260200190815260200160002081905550610d2285858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061186a565b5050505050565b60045481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d6161112d565b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610dce610dc76111ab565b8383611a1b565b5050565b610dda61112d565b60016007600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000610e1361112d565b610e21878787878787611b88565b90509695505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60076020528060005260406000206000915054906101000a900460ff1681565b610ee96111ab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610f2f5750610f2e85610f296111ab565b610e2d565b5b610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f65906135e7565b60405180910390fd5b610f7b8585858585611d04565b5050505050565b610f8a61112d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ffa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff190613906565b60405180910390fd5b611003816117a4565b50565b60086020528060005260406000206000915054906101000a900460ff1681565b61102e6111ab565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061107457506110738361106e6111ab565b610e2d565b5b6110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa906135e7565b60405180910390fd5b6110be838383611fa0565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6111356111ab565b73ffffffffffffffffffffffffffffffffffffffff16611153610d2f565b73ffffffffffffffffffffffffffffffffffffffff16146111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a090613972565b60405180910390fd5b565b600033905090565b81518351146111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90613a04565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125e90613a96565b60405180910390fd5b60006112716111ab565b90506112818187878787876121e7565b60005b84518110156114325760008582815181106112a2576112a1613699565b5b6020026020010151905060008583815181106112c1576112c0613699565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135990613b28565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611417919061383e565b925050819055505050508061142b906136f7565b9050611284565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516114a9929190613b48565b60405180910390a46114bf8187878787876121ef565b6114cd8187878787876121f7565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153c90613bf1565b60405180910390fd5b8051825114611589576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158090613a04565b60405180910390fd5b60006115936111ab565b90506115b3818560008686604051806020016040528060008152506121e7565b60005b83518110156117005760008482815181106115d4576115d3613699565b5b6020026020010151905060008483815181106115f3576115f2613699565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168b90613c83565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806116f8906136f7565b9150506115b6565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611778929190613b48565b60405180910390a461179e818560008686604051806020016040528060008152506121ef565b50505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d190613d15565b60405180910390fd5b60006118e46111ab565b905060006118f1856123de565b905060006118fe856123de565b905061190f836000898585896121e7565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461196e919061383e565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516119ec929190613d35565b60405180910390a4611a03836000898585896121ef565b611a1283600089898989612458565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8190613dd0565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b7b91906128b7565b60405180910390a3505050565b6000808585905011611bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc690613e3c565b60405180910390fd5b60008611611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990613ea8565b60405180910390fd5b6000600454905060046000815480929190611c2c906136f7565b91905055508585600560008481526020019081526020016000209190611c53929190612662565b50866006600083815260200190815260200160002081905550807f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b8787604051611c9e929190613551565b60405180910390a2611cf688828987878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061186a565b809150509695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6b90613a96565b60405180910390fd5b6000611d7e6111ab565b90506000611d8b856123de565b90506000611d98856123de565b9050611da88389898585896121e7565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3690613b28565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ef4919061383e565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611f71929190613d35565b60405180910390a4611f87848a8a86868a6121ef565b611f95848a8a8a8a8a612458565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200790613bf1565b60405180910390fd5b600061201a6111ab565b90506000612027846123de565b90506000612034846123de565b9050612054838760008585604051806020016040528060008152506121e7565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156120eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e290613c83565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516121b8929190613d35565b60405180910390a46121de848860008686604051806020016040528060008152506121ef565b50505050505050565b505050505050565b505050505050565b6122168473ffffffffffffffffffffffffffffffffffffffff1661263f565b156123d6578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161225c959493929190613f1d565b602060405180830381600087803b15801561227657600080fd5b505af19250505080156122a757506040513d601f19601f820116820180604052508101906122a49190613f9a565b60015b61234d576122b3613fd4565b806308c379a0141561231057506122c8613ff6565b806122d35750612312565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123079190612998565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612344906140fe565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cb90614190565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156123fd576123fc612a7f565b5b60405190808252806020026020018201604052801561242b5781602001602082028036833780820191505090505b509050828160008151811061244357612442613699565b5b60200260200101818152505080915050919050565b6124778473ffffffffffffffffffffffffffffffffffffffff1661263f565b15612637578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016124bd9594939291906141b0565b602060405180830381600087803b1580156124d757600080fd5b505af192505050801561250857506040513d601f19601f820116820180604052508101906125059190613f9a565b60015b6125ae57612514613fd4565b806308c379a014156125715750612529613ff6565b806125345750612573565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125689190612998565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a5906140fe565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262c90614190565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461266e9061341a565b90600052602060002090601f01602090048101928261269057600085556126d7565b82601f106126a957803560ff19168380011785556126d7565b828001600101855582156126d7579182015b828111156126d65782358255916020019190600101906126bb565b5b5090506126e491906126e8565b5090565b5b808211156127015760008160009055506001016126e9565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061274482612719565b9050919050565b61275481612739565b811461275f57600080fd5b50565b6000813590506127718161274b565b92915050565b6000819050919050565b61278a81612777565b811461279557600080fd5b50565b6000813590506127a781612781565b92915050565b600080604083850312156127c4576127c361270f565b5b60006127d285828601612762565b92505060206127e385828601612798565b9150509250929050565b6127f681612777565b82525050565b600060208201905061281160008301846127ed565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61284c81612817565b811461285757600080fd5b50565b60008135905061286981612843565b92915050565b6000602082840312156128855761288461270f565b5b60006128938482850161285a565b91505092915050565b60008115159050919050565b6128b18161289c565b82525050565b60006020820190506128cc60008301846128a8565b92915050565b6000602082840312156128e8576128e761270f565b5b60006128f684828501612798565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561293957808201518184015260208101905061291e565b83811115612948576000848401525b50505050565b6000601f19601f8301169050919050565b600061296a826128ff565b612974818561290a565b935061298481856020860161291b565b61298d8161294e565b840191505092915050565b600060208201905081810360008301526129b2818461295f565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126129df576129de6129ba565b5b8235905067ffffffffffffffff8111156129fc576129fb6129bf565b5b602083019150836001820283011115612a1857612a176129c4565b5b9250929050565b600080600060408486031215612a3857612a3761270f565b5b6000612a4686828701612798565b935050602084013567ffffffffffffffff811115612a6757612a66612714565b5b612a73868287016129c9565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ab78261294e565b810181811067ffffffffffffffff82111715612ad657612ad5612a7f565b5b80604052505050565b6000612ae9612705565b9050612af58282612aae565b919050565b600067ffffffffffffffff821115612b1557612b14612a7f565b5b602082029050602081019050919050565b6000612b39612b3484612afa565b612adf565b90508083825260208201905060208402830185811115612b5c57612b5b6129c4565b5b835b81811015612b855780612b718882612798565b845260208401935050602081019050612b5e565b5050509392505050565b600082601f830112612ba457612ba36129ba565b5b8135612bb4848260208601612b26565b91505092915050565b600080fd5b600067ffffffffffffffff821115612bdd57612bdc612a7f565b5b612be68261294e565b9050602081019050919050565b82818337600083830152505050565b6000612c15612c1084612bc2565b612adf565b905082815260208101848484011115612c3157612c30612bbd565b5b612c3c848285612bf3565b509392505050565b600082601f830112612c5957612c586129ba565b5b8135612c69848260208601612c02565b91505092915050565b600080600080600060a08688031215612c8e57612c8d61270f565b5b6000612c9c88828901612762565b9550506020612cad88828901612762565b945050604086013567ffffffffffffffff811115612cce57612ccd612714565b5b612cda88828901612b8f565b935050606086013567ffffffffffffffff811115612cfb57612cfa612714565b5b612d0788828901612b8f565b925050608086013567ffffffffffffffff811115612d2857612d27612714565b5b612d3488828901612c44565b9150509295509295909350565b600067ffffffffffffffff821115612d5c57612d5b612a7f565b5b602082029050602081019050919050565b6000612d80612d7b84612d41565b612adf565b90508083825260208201905060208402830185811115612da357612da26129c4565b5b835b81811015612dcc5780612db88882612762565b845260208401935050602081019050612da5565b5050509392505050565b600082601f830112612deb57612dea6129ba565b5b8135612dfb848260208601612d6d565b91505092915050565b60008060408385031215612e1b57612e1a61270f565b5b600083013567ffffffffffffffff811115612e3957612e38612714565b5b612e4585828601612dd6565b925050602083013567ffffffffffffffff811115612e6657612e65612714565b5b612e7285828601612b8f565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612eb181612777565b82525050565b6000612ec38383612ea8565b60208301905092915050565b6000602082019050919050565b6000612ee782612e7c565b612ef18185612e87565b9350612efc83612e98565b8060005b83811015612f2d578151612f148882612eb7565b9750612f1f83612ecf565b925050600181019050612f00565b5085935050505092915050565b60006020820190508181036000830152612f548184612edc565b905092915050565b600080600060608486031215612f7557612f7461270f565b5b6000612f8386828701612762565b935050602084013567ffffffffffffffff811115612fa457612fa3612714565b5b612fb086828701612b8f565b925050604084013567ffffffffffffffff811115612fd157612fd0612714565b5b612fdd86828701612b8f565b9150509250925092565b60008083601f840112612ffd57612ffc6129ba565b5b8235905067ffffffffffffffff81111561301a576130196129bf565b5b602083019150836001820283011115613036576130356129c4565b5b9250929050565b6000806000806000608086880312156130595761305861270f565b5b600061306788828901612762565b955050602061307888828901612798565b945050604061308988828901612798565b935050606086013567ffffffffffffffff8111156130aa576130a9612714565b5b6130b688828901612fe7565b92509250509295509295909350565b6130ce81612739565b82525050565b60006020820190506130e960008301846130c5565b92915050565b6000602082840312156131055761310461270f565b5b600061311384828501612762565b91505092915050565b6131258161289c565b811461313057600080fd5b50565b6000813590506131428161311c565b92915050565b6000806040838503121561315f5761315e61270f565b5b600061316d85828601612762565b925050602061317e85828601613133565b9150509250929050565b600080600080600080608087890312156131a5576131a461270f565b5b60006131b389828a01612762565b96505060206131c489828a01612798565b955050604087013567ffffffffffffffff8111156131e5576131e4612714565b5b6131f189828a016129c9565b9450945050606087013567ffffffffffffffff81111561321457613213612714565b5b61322089828a01612fe7565b92509250509295509295509295565b600080604083850312156132465761324561270f565b5b600061325485828601612762565b925050602061326585828601612762565b9150509250929050565b600080600080600060a0868803121561328b5761328a61270f565b5b600061329988828901612762565b95505060206132aa88828901612762565b94505060406132bb88828901612798565b93505060606132cc88828901612798565b925050608086013567ffffffffffffffff8111156132ed576132ec612714565b5b6132f988828901612c44565b9150509295509295909350565b60008060006060848603121561331f5761331e61270f565b5b600061332d86828701612762565b935050602061333e86828701612798565b925050604061334f86828701612798565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b60006133b5602a8361290a565b91506133c082613359565b604082019050919050565b600060208201905081810360008301526133e4816133a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061343257607f821691505b60208210811415613446576134456133eb565b5b50919050565b7f4d495353494e475f544f4b454e00000000000000000000000000000000000000600082015250565b6000613482600d8361290a565b915061348d8261344c565b602082019050919050565b600060208201905081810360008301526134b181613475565b9050919050565b7f544f4b454e5f46524f5a454e0000000000000000000000000000000000000000600082015250565b60006134ee600c8361290a565b91506134f9826134b8565b602082019050919050565b6000602082019050818103600083015261351d816134e1565b9050919050565b6000613530838561290a565b935061353d838584612bf3565b6135468361294e565b840190509392505050565b6000602082019050818103600083015261356c818486613524565b90509392505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b60006135d1602f8361290a565b91506135dc82613575565b604082019050919050565b60006020820190508181036000830152613600816135c4565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061366360298361290a565b915061366e82613607565b604082019050919050565b6000602082019050818103600083015261369281613656565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061370282612777565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613735576137346136c8565b5b600182019050919050565b7f6f6e6c79206d696e746572206f72206f776e65722063616e2063616c6c20746860008201527f69732066756e6374696f6e000000000000000000000000000000000000000000602082015250565b600061379c602b8361290a565b91506137a782613740565b604082019050919050565b600060208201905081810360008301526137cb8161378f565b9050919050565b7f494e56414c49445f414d4f554e54000000000000000000000000000000000000600082015250565b6000613808600e8361290a565b9150613813826137d2565b602082019050919050565b60006020820190508181036000830152613837816137fb565b9050919050565b600061384982612777565b915061385483612777565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613889576138886136c8565b5b828201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138f060268361290a565b91506138fb82613894565b604082019050919050565b6000602082019050818103600083015261391f816138e3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061395c60208361290a565b915061396782613926565b602082019050919050565b6000602082019050818103600083015261398b8161394f565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006139ee60288361290a565b91506139f982613992565b604082019050919050565b60006020820190508181036000830152613a1d816139e1565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613a8060258361290a565b9150613a8b82613a24565b604082019050919050565b60006020820190508181036000830152613aaf81613a73565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613b12602a8361290a565b9150613b1d82613ab6565b604082019050919050565b60006020820190508181036000830152613b4181613b05565b9050919050565b60006040820190508181036000830152613b628185612edc565b90508181036020830152613b768184612edc565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613bdb60238361290a565b9150613be682613b7f565b604082019050919050565b60006020820190508181036000830152613c0a81613bce565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613c6d60248361290a565b9150613c7882613c11565b604082019050919050565b60006020820190508181036000830152613c9c81613c60565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cff60218361290a565b9150613d0a82613ca3565b604082019050919050565b60006020820190508181036000830152613d2e81613cf2565b9050919050565b6000604082019050613d4a60008301856127ed565b613d5760208301846127ed565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613dba60298361290a565b9150613dc582613d5e565b604082019050919050565b60006020820190508181036000830152613de981613dad565b9050919050565b7f5552495f52455155495245440000000000000000000000000000000000000000600082015250565b6000613e26600c8361290a565b9150613e3182613df0565b602082019050919050565b60006020820190508181036000830152613e5581613e19565b9050919050565b7f494e56414c49445f535550504c59000000000000000000000000000000000000600082015250565b6000613e92600e8361290a565b9150613e9d82613e5c565b602082019050919050565b60006020820190508181036000830152613ec181613e85565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613eef82613ec8565b613ef98185613ed3565b9350613f0981856020860161291b565b613f128161294e565b840191505092915050565b600060a082019050613f3260008301886130c5565b613f3f60208301876130c5565b8181036040830152613f518186612edc565b90508181036060830152613f658185612edc565b90508181036080830152613f798184613ee4565b90509695505050505050565b600081519050613f9481612843565b92915050565b600060208284031215613fb057613faf61270f565b5b6000613fbe84828501613f85565b91505092915050565b60008160e01c9050919050565b600060033d1115613ff35760046000803e613ff0600051613fc7565b90505b90565b600060443d101561400657614089565b61400e612705565b60043d036004823e80513d602482011167ffffffffffffffff82111715614036575050614089565b808201805167ffffffffffffffff8111156140545750505050614089565b80602083010160043d038501811115614071575050505050614089565b61408082602001850186612aae565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006140e860348361290a565b91506140f38261408c565b604082019050919050565b60006020820190508181036000830152614117816140db565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061417a60288361290a565b91506141858261411e565b604082019050919050565b600060208201905081810360008301526141a98161416d565b9050919050565b600060a0820190506141c560008301886130c5565b6141d260208301876130c5565b6141df60408301866127ed565b6141ec60608301856127ed565b81810360808301526141fe8184613ee4565b9050969550505050505056fea26469706673582212201d90b0f154bf169a09f8f69c19c3ec3694fda35250403025a1eec76360f689ec64736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014c5760003560e01c8063832efb5a116100c3578063e985e9c51161007c578063e985e9c5146103ab578063e9ac0440146103db578063f242432a1461040b578063f2fde38b14610427578063f46eccc414610443578063f5298aca146104735761014c565b8063832efb5a146102eb5780638da5cb5b14610309578063983b2d5614610327578063a22cb46514610343578063d7a78db81461035f578063e38e3b241461037b5761014c565b80632eb2c2d6116101155780632eb2c2d61461022d5780634e1273f4146102495780636b20c454146102795780636c8b703f14610295578063715018a6146102c5578063731133e9146102cf5761014c565b8062fdd58e1461015157806301ffc9a7146101815780630e89341c146101b1578063162094c4146101e15780632693ebf2146101fd575b600080fd5b61016b600480360381019061016691906127ad565b61048f565b60405161017891906127fc565b60405180910390f35b61019b6004803603810190610196919061286f565b610558565b6040516101a891906128b7565b60405180910390f35b6101cb60048036038101906101c691906128d2565b61063a565b6040516101d89190612998565b60405180910390f35b6101fb60048036038101906101f69190612a1f565b610741565b005b610217600480360381019061021291906128d2565b61080c565b60405161022491906127fc565b60405180910390f35b61024760048036038101906102429190612c72565b610824565b005b610263600480360381019061025e9190612e04565b6108c5565b6040516102709190612f3a565b60405180910390f35b610293600480360381019061028e9190612f5c565b6109de565b005b6102af60048036038101906102aa91906128d2565b610a7b565b6040516102bc9190612998565b60405180910390f35b6102cd610b1b565b005b6102e960048036038101906102e4919061303d565b610b2f565b005b6102f3610d29565b60405161030091906127fc565b60405180910390f35b610311610d2f565b60405161031e91906130d4565b60405180910390f35b610341600480360381019061033c91906130ef565b610d59565b005b61035d60048036038101906103589190613148565b610dbc565b005b610379600480360381019061037491906128d2565b610dd2565b005b61039560048036038101906103909190613188565b610e09565b6040516103a291906127fc565b60405180910390f35b6103c560048036038101906103c0919061322f565b610e2d565b6040516103d291906128b7565b60405180910390f35b6103f560048036038101906103f091906128d2565b610ec1565b60405161040291906128b7565b60405180910390f35b6104256004803603810190610420919061326f565b610ee1565b005b610441600480360381019061043c91906130ef565b610f82565b005b61045d600480360381019061045891906130ef565b611006565b60405161046a91906128b7565b60405180910390f35b61048d60048036038101906104889190613306565b611026565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f7906133cb565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106335750610632826110c3565b5b9050919050565b6060600060056000848152602001908152602001600020805461065c9061341a565b90501161069e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069590613498565b60405180910390fd5b6005600083815260200190815260200160002080546106bc9061341a565b80601f01602080910402602001604051908101604052809291908181526020018280546106e89061341a565b80156107355780601f1061070a57610100808354040283529160200191610735565b820191906000526020600020905b81548152906001019060200180831161071857829003601f168201915b50505050509050919050565b61074961112d565b6007600084815260200190815260200160002060009054906101000a900460ff16156107aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a190613504565b60405180910390fd5b827f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b83836040516107dc929190613551565b60405180910390a28181600560008681526020019081526020016000209190610806929190612662565b50505050565b60066020528060005260406000206000915090505481565b61082c6111ab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061087257506108718561086c6111ab565b610e2d565b5b6108b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a8906135e7565b60405180910390fd5b6108be85858585856111b3565b5050505050565b6060815183511461090b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090290613679565b60405180910390fd5b6000835167ffffffffffffffff81111561092857610927612a7f565b5b6040519080825280602002602001820160405280156109565781602001602082028036833780820191505090505b50905060005b84518110156109d3576109a385828151811061097b5761097a613699565b5b602002602001015185838151811061099657610995613699565b5b602002602001015161048f565b8282815181106109b6576109b5613699565b5b602002602001018181525050806109cc906136f7565b905061095c565b508091505092915050565b6109e66111ab565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610a2c5750610a2b83610a266111ab565b610e2d565b5b610a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a62906135e7565b60405180910390fd5b610a768383836114d5565b505050565b60056020528060005260406000206000915090508054610a9a9061341a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac69061341a565b8015610b135780601f10610ae857610100808354040283529160200191610b13565b820191906000526020600020905b815481529060010190602001808311610af657829003601f168201915b505050505081565b610b2361112d565b610b2d60006117a4565b565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610bb95750610b8a610d2f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bef906137b2565b60405180910390fd5b60008311610c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c329061381e565b60405180910390fd5b6007600085815260200190815260200160002060009054906101000a900460ff1615610c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9390613504565b60405180910390fd5b826006600086815260200190815260200160002054610cbb919061383e565b6006600086815260200190815260200160002081905550610d2285858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061186a565b5050505050565b60045481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d6161112d565b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610dce610dc76111ab565b8383611a1b565b5050565b610dda61112d565b60016007600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000610e1361112d565b610e21878787878787611b88565b90509695505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60076020528060005260406000206000915054906101000a900460ff1681565b610ee96111ab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610f2f5750610f2e85610f296111ab565b610e2d565b5b610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f65906135e7565b60405180910390fd5b610f7b8585858585611d04565b5050505050565b610f8a61112d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ffa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff190613906565b60405180910390fd5b611003816117a4565b50565b60086020528060005260406000206000915054906101000a900460ff1681565b61102e6111ab565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061107457506110738361106e6111ab565b610e2d565b5b6110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa906135e7565b60405180910390fd5b6110be838383611fa0565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6111356111ab565b73ffffffffffffffffffffffffffffffffffffffff16611153610d2f565b73ffffffffffffffffffffffffffffffffffffffff16146111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a090613972565b60405180910390fd5b565b600033905090565b81518351146111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90613a04565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125e90613a96565b60405180910390fd5b60006112716111ab565b90506112818187878787876121e7565b60005b84518110156114325760008582815181106112a2576112a1613699565b5b6020026020010151905060008583815181106112c1576112c0613699565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135990613b28565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611417919061383e565b925050819055505050508061142b906136f7565b9050611284565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516114a9929190613b48565b60405180910390a46114bf8187878787876121ef565b6114cd8187878787876121f7565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611545576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153c90613bf1565b60405180910390fd5b8051825114611589576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158090613a04565b60405180910390fd5b60006115936111ab565b90506115b3818560008686604051806020016040528060008152506121e7565b60005b83518110156117005760008482815181106115d4576115d3613699565b5b6020026020010151905060008483815181106115f3576115f2613699565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168b90613c83565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806116f8906136f7565b9150506115b6565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611778929190613b48565b60405180910390a461179e818560008686604051806020016040528060008152506121ef565b50505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d190613d15565b60405180910390fd5b60006118e46111ab565b905060006118f1856123de565b905060006118fe856123de565b905061190f836000898585896121e7565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461196e919061383e565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516119ec929190613d35565b60405180910390a4611a03836000898585896121ef565b611a1283600089898989612458565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8190613dd0565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b7b91906128b7565b60405180910390a3505050565b6000808585905011611bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc690613e3c565b60405180910390fd5b60008611611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990613ea8565b60405180910390fd5b6000600454905060046000815480929190611c2c906136f7565b91905055508585600560008481526020019081526020016000209190611c53929190612662565b50866006600083815260200190815260200160002081905550807f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b8787604051611c9e929190613551565b60405180910390a2611cf688828987878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061186a565b809150509695505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6b90613a96565b60405180910390fd5b6000611d7e6111ab565b90506000611d8b856123de565b90506000611d98856123de565b9050611da88389898585896121e7565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3690613b28565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ef4919061383e565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611f71929190613d35565b60405180910390a4611f87848a8a86868a6121ef565b611f95848a8a8a8a8a612458565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200790613bf1565b60405180910390fd5b600061201a6111ab565b90506000612027846123de565b90506000612034846123de565b9050612054838760008585604051806020016040528060008152506121e7565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156120eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e290613c83565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516121b8929190613d35565b60405180910390a46121de848860008686604051806020016040528060008152506121ef565b50505050505050565b505050505050565b505050505050565b6122168473ffffffffffffffffffffffffffffffffffffffff1661263f565b156123d6578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161225c959493929190613f1d565b602060405180830381600087803b15801561227657600080fd5b505af19250505080156122a757506040513d601f19601f820116820180604052508101906122a49190613f9a565b60015b61234d576122b3613fd4565b806308c379a0141561231057506122c8613ff6565b806122d35750612312565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123079190612998565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612344906140fe565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cb90614190565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156123fd576123fc612a7f565b5b60405190808252806020026020018201604052801561242b5781602001602082028036833780820191505090505b509050828160008151811061244357612442613699565b5b60200260200101818152505080915050919050565b6124778473ffffffffffffffffffffffffffffffffffffffff1661263f565b15612637578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016124bd9594939291906141b0565b602060405180830381600087803b1580156124d757600080fd5b505af192505050801561250857506040513d601f19601f820116820180604052508101906125059190613f9a565b60015b6125ae57612514613fd4565b806308c379a014156125715750612529613ff6565b806125345750612573565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125689190612998565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a5906140fe565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262c90614190565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461266e9061341a565b90600052602060002090601f01602090048101928261269057600085556126d7565b82601f106126a957803560ff19168380011785556126d7565b828001600101855582156126d7579182015b828111156126d65782358255916020019190600101906126bb565b5b5090506126e491906126e8565b5090565b5b808211156127015760008160009055506001016126e9565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061274482612719565b9050919050565b61275481612739565b811461275f57600080fd5b50565b6000813590506127718161274b565b92915050565b6000819050919050565b61278a81612777565b811461279557600080fd5b50565b6000813590506127a781612781565b92915050565b600080604083850312156127c4576127c361270f565b5b60006127d285828601612762565b92505060206127e385828601612798565b9150509250929050565b6127f681612777565b82525050565b600060208201905061281160008301846127ed565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61284c81612817565b811461285757600080fd5b50565b60008135905061286981612843565b92915050565b6000602082840312156128855761288461270f565b5b60006128938482850161285a565b91505092915050565b60008115159050919050565b6128b18161289c565b82525050565b60006020820190506128cc60008301846128a8565b92915050565b6000602082840312156128e8576128e761270f565b5b60006128f684828501612798565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561293957808201518184015260208101905061291e565b83811115612948576000848401525b50505050565b6000601f19601f8301169050919050565b600061296a826128ff565b612974818561290a565b935061298481856020860161291b565b61298d8161294e565b840191505092915050565b600060208201905081810360008301526129b2818461295f565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126129df576129de6129ba565b5b8235905067ffffffffffffffff8111156129fc576129fb6129bf565b5b602083019150836001820283011115612a1857612a176129c4565b5b9250929050565b600080600060408486031215612a3857612a3761270f565b5b6000612a4686828701612798565b935050602084013567ffffffffffffffff811115612a6757612a66612714565b5b612a73868287016129c9565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ab78261294e565b810181811067ffffffffffffffff82111715612ad657612ad5612a7f565b5b80604052505050565b6000612ae9612705565b9050612af58282612aae565b919050565b600067ffffffffffffffff821115612b1557612b14612a7f565b5b602082029050602081019050919050565b6000612b39612b3484612afa565b612adf565b90508083825260208201905060208402830185811115612b5c57612b5b6129c4565b5b835b81811015612b855780612b718882612798565b845260208401935050602081019050612b5e565b5050509392505050565b600082601f830112612ba457612ba36129ba565b5b8135612bb4848260208601612b26565b91505092915050565b600080fd5b600067ffffffffffffffff821115612bdd57612bdc612a7f565b5b612be68261294e565b9050602081019050919050565b82818337600083830152505050565b6000612c15612c1084612bc2565b612adf565b905082815260208101848484011115612c3157612c30612bbd565b5b612c3c848285612bf3565b509392505050565b600082601f830112612c5957612c586129ba565b5b8135612c69848260208601612c02565b91505092915050565b600080600080600060a08688031215612c8e57612c8d61270f565b5b6000612c9c88828901612762565b9550506020612cad88828901612762565b945050604086013567ffffffffffffffff811115612cce57612ccd612714565b5b612cda88828901612b8f565b935050606086013567ffffffffffffffff811115612cfb57612cfa612714565b5b612d0788828901612b8f565b925050608086013567ffffffffffffffff811115612d2857612d27612714565b5b612d3488828901612c44565b9150509295509295909350565b600067ffffffffffffffff821115612d5c57612d5b612a7f565b5b602082029050602081019050919050565b6000612d80612d7b84612d41565b612adf565b90508083825260208201905060208402830185811115612da357612da26129c4565b5b835b81811015612dcc5780612db88882612762565b845260208401935050602081019050612da5565b5050509392505050565b600082601f830112612deb57612dea6129ba565b5b8135612dfb848260208601612d6d565b91505092915050565b60008060408385031215612e1b57612e1a61270f565b5b600083013567ffffffffffffffff811115612e3957612e38612714565b5b612e4585828601612dd6565b925050602083013567ffffffffffffffff811115612e6657612e65612714565b5b612e7285828601612b8f565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612eb181612777565b82525050565b6000612ec38383612ea8565b60208301905092915050565b6000602082019050919050565b6000612ee782612e7c565b612ef18185612e87565b9350612efc83612e98565b8060005b83811015612f2d578151612f148882612eb7565b9750612f1f83612ecf565b925050600181019050612f00565b5085935050505092915050565b60006020820190508181036000830152612f548184612edc565b905092915050565b600080600060608486031215612f7557612f7461270f565b5b6000612f8386828701612762565b935050602084013567ffffffffffffffff811115612fa457612fa3612714565b5b612fb086828701612b8f565b925050604084013567ffffffffffffffff811115612fd157612fd0612714565b5b612fdd86828701612b8f565b9150509250925092565b60008083601f840112612ffd57612ffc6129ba565b5b8235905067ffffffffffffffff81111561301a576130196129bf565b5b602083019150836001820283011115613036576130356129c4565b5b9250929050565b6000806000806000608086880312156130595761305861270f565b5b600061306788828901612762565b955050602061307888828901612798565b945050604061308988828901612798565b935050606086013567ffffffffffffffff8111156130aa576130a9612714565b5b6130b688828901612fe7565b92509250509295509295909350565b6130ce81612739565b82525050565b60006020820190506130e960008301846130c5565b92915050565b6000602082840312156131055761310461270f565b5b600061311384828501612762565b91505092915050565b6131258161289c565b811461313057600080fd5b50565b6000813590506131428161311c565b92915050565b6000806040838503121561315f5761315e61270f565b5b600061316d85828601612762565b925050602061317e85828601613133565b9150509250929050565b600080600080600080608087890312156131a5576131a461270f565b5b60006131b389828a01612762565b96505060206131c489828a01612798565b955050604087013567ffffffffffffffff8111156131e5576131e4612714565b5b6131f189828a016129c9565b9450945050606087013567ffffffffffffffff81111561321457613213612714565b5b61322089828a01612fe7565b92509250509295509295509295565b600080604083850312156132465761324561270f565b5b600061325485828601612762565b925050602061326585828601612762565b9150509250929050565b600080600080600060a0868803121561328b5761328a61270f565b5b600061329988828901612762565b95505060206132aa88828901612762565b94505060406132bb88828901612798565b93505060606132cc88828901612798565b925050608086013567ffffffffffffffff8111156132ed576132ec612714565b5b6132f988828901612c44565b9150509295509295909350565b60008060006060848603121561331f5761331e61270f565b5b600061332d86828701612762565b935050602061333e86828701612798565b925050604061334f86828701612798565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b60006133b5602a8361290a565b91506133c082613359565b604082019050919050565b600060208201905081810360008301526133e4816133a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061343257607f821691505b60208210811415613446576134456133eb565b5b50919050565b7f4d495353494e475f544f4b454e00000000000000000000000000000000000000600082015250565b6000613482600d8361290a565b915061348d8261344c565b602082019050919050565b600060208201905081810360008301526134b181613475565b9050919050565b7f544f4b454e5f46524f5a454e0000000000000000000000000000000000000000600082015250565b60006134ee600c8361290a565b91506134f9826134b8565b602082019050919050565b6000602082019050818103600083015261351d816134e1565b9050919050565b6000613530838561290a565b935061353d838584612bf3565b6135468361294e565b840190509392505050565b6000602082019050818103600083015261356c818486613524565b90509392505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b60006135d1602f8361290a565b91506135dc82613575565b604082019050919050565b60006020820190508181036000830152613600816135c4565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061366360298361290a565b915061366e82613607565b604082019050919050565b6000602082019050818103600083015261369281613656565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061370282612777565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613735576137346136c8565b5b600182019050919050565b7f6f6e6c79206d696e746572206f72206f776e65722063616e2063616c6c20746860008201527f69732066756e6374696f6e000000000000000000000000000000000000000000602082015250565b600061379c602b8361290a565b91506137a782613740565b604082019050919050565b600060208201905081810360008301526137cb8161378f565b9050919050565b7f494e56414c49445f414d4f554e54000000000000000000000000000000000000600082015250565b6000613808600e8361290a565b9150613813826137d2565b602082019050919050565b60006020820190508181036000830152613837816137fb565b9050919050565b600061384982612777565b915061385483612777565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613889576138886136c8565b5b828201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138f060268361290a565b91506138fb82613894565b604082019050919050565b6000602082019050818103600083015261391f816138e3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061395c60208361290a565b915061396782613926565b602082019050919050565b6000602082019050818103600083015261398b8161394f565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006139ee60288361290a565b91506139f982613992565b604082019050919050565b60006020820190508181036000830152613a1d816139e1565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613a8060258361290a565b9150613a8b82613a24565b604082019050919050565b60006020820190508181036000830152613aaf81613a73565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613b12602a8361290a565b9150613b1d82613ab6565b604082019050919050565b60006020820190508181036000830152613b4181613b05565b9050919050565b60006040820190508181036000830152613b628185612edc565b90508181036020830152613b768184612edc565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613bdb60238361290a565b9150613be682613b7f565b604082019050919050565b60006020820190508181036000830152613c0a81613bce565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613c6d60248361290a565b9150613c7882613c11565b604082019050919050565b60006020820190508181036000830152613c9c81613c60565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cff60218361290a565b9150613d0a82613ca3565b604082019050919050565b60006020820190508181036000830152613d2e81613cf2565b9050919050565b6000604082019050613d4a60008301856127ed565b613d5760208301846127ed565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613dba60298361290a565b9150613dc582613d5e565b604082019050919050565b60006020820190508181036000830152613de981613dad565b9050919050565b7f5552495f52455155495245440000000000000000000000000000000000000000600082015250565b6000613e26600c8361290a565b9150613e3182613df0565b602082019050919050565b60006020820190508181036000830152613e5581613e19565b9050919050565b7f494e56414c49445f535550504c59000000000000000000000000000000000000600082015250565b6000613e92600e8361290a565b9150613e9d82613e5c565b602082019050919050565b60006020820190508181036000830152613ec181613e85565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613eef82613ec8565b613ef98185613ed3565b9350613f0981856020860161291b565b613f128161294e565b840191505092915050565b600060a082019050613f3260008301886130c5565b613f3f60208301876130c5565b8181036040830152613f518186612edc565b90508181036060830152613f658185612edc565b90508181036080830152613f798184613ee4565b90509695505050505050565b600081519050613f9481612843565b92915050565b600060208284031215613fb057613faf61270f565b5b6000613fbe84828501613f85565b91505092915050565b60008160e01c9050919050565b600060033d1115613ff35760046000803e613ff0600051613fc7565b90505b90565b600060443d101561400657614089565b61400e612705565b60043d036004823e80513d602482011167ffffffffffffffff82111715614036575050614089565b808201805167ffffffffffffffff8111156140545750505050614089565b80602083010160043d038501811115614071575050505050614089565b61408082602001850186612aae565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006140e860348361290a565b91506140f38261408c565b604082019050919050565b60006020820190508181036000830152614117816140db565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061417a60288361290a565b91506141858261411e565b604082019050919050565b600060208201905081810360008301526141a98161416d565b9050919050565b600060a0820190506141c560008301886130c5565b6141d260208301876130c5565b6141df60408301866127ed565b6141ec60608301856127ed565b81810360808301526141fe8184613ee4565b9050969550505050505056fea26469706673582212201d90b0f154bf169a09f8f69c19c3ec3694fda35250403025a1eec76360f689ec64736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.