Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
3,012 BFA
Holders
266
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BRAQFractionalAssets
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.15; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; contract BRAQFractionalAssets is ERC1155, Ownable { using Strings for uint256; struct InitialParameters { string name; string symbol; string uri; } uint16 public maxAllowed; uint256 public price; string private baseURI; string public name; string public symbol; bool public investingAssetsLocked = false; bool public assetMint = false; address public BRAQHOLDERS; mapping(uint256 => bool) public investedAsset; mapping(address => uint256) public mintedBalance; event SetBaseURI(string indexed _uri); constructor( address _owner, InitialParameters memory initialParameters) ERC1155(initialParameters.uri) { name = initialParameters.name; symbol = initialParameters.symbol; baseURI = initialParameters.uri; emit SetBaseURI(baseURI); transferOwnership(_owner); setBRAQAddress(0xCE13a074896B3B3df12AD8a221e7FA9f11F59f4c); } // // @dev: locks the assets forever, you can not revert this. // function lockAssets() public onlyOwner { investingAssetsLocked = true; } // // @dev: creates new asset for airdropping / minting // function newAsset(uint256 _id) public onlyOwner { require(!investingAssetsLocked, "The assets are locked and no more can be created"); require(investedAsset[_id] == false, "This ID already has an asset created under it, try another number"); investedAsset[_id] = true; } // // @dev: Mint function for only BRAQFRND holders. // function mint(uint256 _id, uint256 amount) public payable { require(!investingAssetsLocked, "The assets are locked and no more can be minted"); require(assetMint, "Mint is not open for holders to mint more"); IERC721 braqfrnds = IERC721(BRAQHOLDERS); uint256 amountBRAQ = braqfrnds.balanceOf(msg.sender); require(amountBRAQ >= 1, "You are not a holder"); uint256 mintedCount = mintedBalance[msg.sender]; require(mintedCount + amount <= maxAllowed, "Max Fractions minted"); require(msg.value == price * amount, "Not enough ETH to complete tx"); mintedBalance[msg.sender]++; _mint(msg.sender, _id, amount, ""); } // // @dev: Owner function to mint several assets at once for airdrop. // function mintBatch(uint256[] memory _ids, uint256[] memory _quantity) external onlyOwner { require(!investingAssetsLocked, "The assets are locked and no more can be minted"); _mintBatch(owner(), _ids, _quantity, ""); } // // @dev: Function to change the max allowed of mints for this round. // function changeMaxAllowed(uint16 _maxAllowed) public onlyOwner { maxAllowed = _maxAllowed; } // // @dev: Function to allow holders to mint additional fractions. // function changeMintState() external onlyOwner { assetMint = !assetMint; } // // @dev: Function to change the price of current asset to mint. // function setPrice(uint256 _price) public onlyOwner { price = _price; } // // @dev: Function to set contract of BRAQ // function setBRAQAddress(address _newAddress) public onlyOwner { BRAQHOLDERS = _newAddress; } // // @dev: function to change the URI in the occurence of new assets being added. // function setURI(string memory _uri) external onlyOwner { baseURI = _uri; emit SetBaseURI(baseURI); } // // @dev: concatenation of the URI to display on Opensea depending on token. // function uri(uint256 _id) public view override returns (string memory) { require(investedAsset[_id], "URI requested for invalid asset."); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, _id.toString(), ".json")) : baseURI; } function withdrawETH() public onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); 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}. * * 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` * * 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}. * * 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 a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"uri","type":"string"}],"internalType":"struct BRAQFractionalAssets.InitialParameters","name":"initialParameters","type":"tuple"}],"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":"string","name":"_uri","type":"string"}],"name":"SetBaseURI","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":"BRAQHOLDERS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"assetMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint16","name":"_maxAllowed","type":"uint16"}],"name":"changeMaxAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"changeMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"investedAsset","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"investingAssetsLocked","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":[],"name":"lockAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxAllowed","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_quantity","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"newAsset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"_newAddress","type":"address"}],"name":"setBRAQAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","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"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600860006101000a81548160ff0219169083151502179055506000600860016101000a81548160ff0219169083151502179055503480156200004757600080fd5b506040516200595a3803806200595a83398181016040528101906200006d919062000736565b806040015162000083816200016960201b60201c565b50620000a4620000986200017e60201b60201c565b6200018660201b60201c565b806000015160069081620000b99190620009e7565b50806020015160079081620000cf9190620009e7565b50806040015160059081620000e59190620009e7565b506005604051620000f7919062000b68565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a26200013c826200024c60201b60201c565b6200016173ce13a074896b3b3df12ad8a221e7fa9f11f59f4c6200036160201b60201c565b505062000c9c565b80600290816200017a9190620009e7565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025c6200017e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002826200043460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d29062000be2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200034d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003449062000c7a565b60405180910390fd5b6200035e816200018660201b60201c565b50565b620003716200017e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003976200043460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003e79062000be2565b60405180910390fd5b80600860026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200049f8262000472565b9050919050565b620004b18162000492565b8114620004bd57600080fd5b50565b600081519050620004d181620004a6565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200052782620004dc565b810181811067ffffffffffffffff82111715620005495762000548620004ed565b5b80604052505050565b60006200055e6200045e565b90506200056c82826200051c565b919050565b600080fd5b600080fd5b600080fd5b600067ffffffffffffffff8211156200059e576200059d620004ed565b5b620005a982620004dc565b9050602081019050919050565b60005b83811015620005d6578082015181840152602081019050620005b9565b83811115620005e6576000848401525b50505050565b600062000603620005fd8462000580565b62000552565b9050828152602081018484840111156200062257620006216200057b565b5b6200062f848285620005b6565b509392505050565b600082601f8301126200064f576200064e62000576565b5b815162000661848260208601620005ec565b91505092915050565b600060608284031215620006835762000682620004d7565b5b6200068f606062000552565b9050600082015167ffffffffffffffff811115620006b257620006b162000571565b5b620006c08482850162000637565b600083015250602082015167ffffffffffffffff811115620006e757620006e662000571565b5b620006f58482850162000637565b602083015250604082015167ffffffffffffffff8111156200071c576200071b62000571565b5b6200072a8482850162000637565b60408301525092915050565b6000806040838503121562000750576200074f62000468565b5b60006200076085828601620004c0565b925050602083015167ffffffffffffffff8111156200078457620007836200046d565b5b62000792858286016200066a565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007ef57607f821691505b602082108103620008055762000804620007a7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200086f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000830565b6200087b868362000830565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620008c8620008c2620008bc8462000893565b6200089d565b62000893565b9050919050565b6000819050919050565b620008e483620008a7565b620008fc620008f382620008cf565b8484546200083d565b825550505050565b600090565b6200091362000904565b62000920818484620008d9565b505050565b5b8181101562000948576200093c60008262000909565b60018101905062000926565b5050565b601f821115620009975762000961816200080b565b6200096c8462000820565b810160208510156200097c578190505b620009946200098b8562000820565b83018262000925565b50505b505050565b600082821c905092915050565b6000620009bc600019846008026200099c565b1980831691505092915050565b6000620009d78383620009a9565b9150826002028217905092915050565b620009f2826200079c565b67ffffffffffffffff81111562000a0e5762000a0d620004ed565b5b62000a1a8254620007d6565b62000a278282856200094c565b600060209050601f83116001811462000a5f576000841562000a4a578287015190505b62000a568582620009c9565b86555062000ac6565b601f19841662000a6f866200080b565b60005b8281101562000a995784890151825560018201915060208501945060208101905062000a72565b8683101562000ab9578489015162000ab5601f891682620009a9565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b6000815462000ae881620007d6565b62000af4818662000ace565b9450600182166000811462000b12576001811462000b285762000b5f565b60ff198316865281151582028601935062000b5f565b62000b33856200080b565b60005b8381101562000b575781548189015260018201915060208101905062000b36565b838801955050505b50505092915050565b600062000b76828462000ad9565b915081905092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000bca60208362000b81565b915062000bd78262000b92565b602082019050919050565b6000602082019050818103600083015262000bfd8162000bbb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600062000c6260268362000b81565b915062000c6f8262000c04565b604082019050919050565b6000602082019050818103600083015262000c958162000c53565b9050919050565b614cae8062000cac6000396000f3fe6080604052600436106101cc5760003560e01c806391b7f5ed116100f7578063d351cfdc11610095578063e985e9c511610064578063e985e9c51461061a578063f242432a14610657578063f2fde38b14610680578063fa08a2f8146106a9576101cc565b8063d351cfdc14610586578063df90b2de146105af578063e051b416146105c6578063e086e5ec14610603576101cc565b8063a035b1fe116100d1578063a035b1fe146104f0578063a22cb4651461051b578063b524fd6f14610544578063ca3996711461055b576101cc565b806391b7f5ed1461047357806395d89b411461049c5780639f20aa95146104c7576101cc565b80632eb2c2d61161016f578063715018a61161013e578063715018a6146103dd578063717fdeab146103f457806389615a3c1461041d5780638da5cb5b14610448576101cc565b80632eb2c2d6146103235780634e1273f41461034c578063642db0bd146103895780636acfb485146103b4576101cc565b80630636e352116101ab5780630636e3521461027457806306fdde031461029f5780630e89341c146102ca5780631b2ef1ca14610307576101cc565b8062fdd58e146101d157806301ffc9a71461020e57806302fe53051461024b575b600080fd5b3480156101dd57600080fd5b506101f860048036038101906101f39190612d0b565b6106e6565b6040516102059190612d5a565b60405180910390f35b34801561021a57600080fd5b5061023560048036038101906102309190612dcd565b6107ae565b6040516102429190612e15565b60405180910390f35b34801561025757600080fd5b50610272600480360381019061026d9190612f76565b610890565b005b34801561028057600080fd5b50610289610962565b6040516102969190612e15565b60405180910390f35b3480156102ab57600080fd5b506102b4610975565b6040516102c19190613047565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190613069565b610a03565b6040516102fe9190613047565b60405180910390f35b610321600480360381019061031c9190613096565b610b3e565b005b34801561032f57600080fd5b5061034a6004803603810190610345919061323f565b610e32565b005b34801561035857600080fd5b50610373600480360381019061036e91906133d1565b610ed3565b6040516103809190613507565b60405180910390f35b34801561039557600080fd5b5061039e610fec565b6040516103ab9190613538565b60405180910390f35b3480156103c057600080fd5b506103db60048036038101906103d69190613069565b611012565b005b3480156103e957600080fd5b506103f2611174565b005b34801561040057600080fd5b5061041b60048036038101906104169190613553565b6111fc565b005b34801561042957600080fd5b506104326112bc565b60405161043f9190612e15565b60405180910390f35b34801561045457600080fd5b5061045d6112cf565b60405161046a9190613538565b60405180910390f35b34801561047f57600080fd5b5061049a60048036038101906104959190613069565b6112f9565b005b3480156104a857600080fd5b506104b161137f565b6040516104be9190613047565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e991906135ba565b61140d565b005b3480156104fc57600080fd5b506105056114a9565b6040516105129190612d5a565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d9190613613565b6114af565b005b34801561055057600080fd5b506105596114c5565b005b34801561056757600080fd5b5061057061156d565b60405161057d9190613662565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a8919061367d565b611581565b005b3480156105bb57600080fd5b506105c4611673565b005b3480156105d257600080fd5b506105ed60048036038101906105e89190613553565b61170c565b6040516105fa9190612d5a565b60405180910390f35b34801561060f57600080fd5b50610618611724565b005b34801561062657600080fd5b50610641600480360381019061063c91906136f5565b611820565b60405161064e9190612e15565b60405180910390f35b34801561066357600080fd5b5061067e60048036038101906106799190613735565b6118b4565b005b34801561068c57600080fd5b506106a760048036038101906106a29190613553565b611955565b005b3480156106b557600080fd5b506106d060048036038101906106cb9190613069565b611a4c565b6040516106dd9190612e15565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074d9061383e565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610889575061088882611a6c565b5b9050919050565b610898611ad6565b73ffffffffffffffffffffffffffffffffffffffff166108b66112cf565b73ffffffffffffffffffffffffffffffffffffffff161461090c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610903906138aa565b60405180910390fd5b806005908161091b9190613ad6565b50600560405161092b9190613c36565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a250565b600860019054906101000a900460ff1681565b60068054610982906138f9565b80601f01602080910402602001604051908101604052809291908181526020018280546109ae906138f9565b80156109fb5780601f106109d0576101008083540402835291602001916109fb565b820191906000526020600020905b8154815290600101906020018083116109de57829003601f168201915b505050505081565b60606009600083815260200190815260200160002060009054906101000a900460ff16610a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5c90613c99565b60405180910390fd5b600060058054610a74906138f9565b905011610b0b5760058054610a88906138f9565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab4906138f9565b8015610b015780601f10610ad657610100808354040283529160200191610b01565b820191906000526020600020905b815481529060010190602001808311610ae457829003601f168201915b5050505050610b37565b6005610b1683611ade565b604051602001610b27929190613d36565b6040516020818303038152906040525b9050919050565b600860009054906101000a900460ff1615610b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8590613dd7565b60405180910390fd5b600860019054906101000a900460ff16610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490613e69565b60405180910390fd5b6000600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610c3f9190613538565b602060405180830381865afa158015610c5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c809190613e9e565b90506001811015610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90613f17565b60405180910390fd5b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600360149054906101000a900461ffff1661ffff168482610d2b9190613f66565b1115610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6390614008565b60405180910390fd5b83600454610d7a9190614028565b3414610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db2906140ce565b60405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610e0b906140ee565b9190505550610e2b33868660405180602001604052806000815250611c3e565b5050505050565b610e3a611ad6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610e805750610e7f85610e7a611ad6565b611820565b5b610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb6906141a8565b60405180910390fd5b610ecc8585858585611dee565b5050505050565b60608151835114610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f109061423a565b60405180910390fd5b6000835167ffffffffffffffff811115610f3657610f35612e4b565b5b604051908082528060200260200182016040528015610f645781602001602082028036833780820191505090505b50905060005b8451811015610fe157610fb1858281518110610f8957610f8861425a565b5b6020026020010151858381518110610fa457610fa361425a565b5b60200260200101516106e6565b828281518110610fc457610fc361425a565b5b60200260200101818152505080610fda906140ee565b9050610f6a565b508091505092915050565b600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61101a611ad6565b73ffffffffffffffffffffffffffffffffffffffff166110386112cf565b73ffffffffffffffffffffffffffffffffffffffff161461108e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611085906138aa565b60405180910390fd5b600860009054906101000a900460ff16156110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d5906142fb565b60405180910390fd5b600015156009600083815260200190815260200160002060009054906101000a900460ff16151514611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c906143b3565b60405180910390fd5b60016009600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61117c611ad6565b73ffffffffffffffffffffffffffffffffffffffff1661119a6112cf565b73ffffffffffffffffffffffffffffffffffffffff16146111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e7906138aa565b60405180910390fd5b6111fa600061210f565b565b611204611ad6565b73ffffffffffffffffffffffffffffffffffffffff166112226112cf565b73ffffffffffffffffffffffffffffffffffffffff1614611278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126f906138aa565b60405180910390fd5b80600860026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611301611ad6565b73ffffffffffffffffffffffffffffffffffffffff1661131f6112cf565b73ffffffffffffffffffffffffffffffffffffffff1614611375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136c906138aa565b60405180910390fd5b8060048190555050565b6007805461138c906138f9565b80601f01602080910402602001604051908101604052809291908181526020018280546113b8906138f9565b80156114055780601f106113da57610100808354040283529160200191611405565b820191906000526020600020905b8154815290600101906020018083116113e857829003601f168201915b505050505081565b611415611ad6565b73ffffffffffffffffffffffffffffffffffffffff166114336112cf565b73ffffffffffffffffffffffffffffffffffffffff1614611489576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611480906138aa565b60405180910390fd5b80600360146101000a81548161ffff021916908361ffff16021790555050565b60045481565b6114c16114ba611ad6565b83836121d5565b5050565b6114cd611ad6565b73ffffffffffffffffffffffffffffffffffffffff166114eb6112cf565b73ffffffffffffffffffffffffffffffffffffffff1614611541576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611538906138aa565b60405180910390fd5b600860019054906101000a900460ff1615600860016101000a81548160ff021916908315150217905550565b600360149054906101000a900461ffff1681565b611589611ad6565b73ffffffffffffffffffffffffffffffffffffffff166115a76112cf565b73ffffffffffffffffffffffffffffffffffffffff16146115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f4906138aa565b60405180910390fd5b600860009054906101000a900460ff161561164d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164490613dd7565b60405180910390fd5b61166f6116586112cf565b838360405180602001604052806000815250612341565b5050565b61167b611ad6565b73ffffffffffffffffffffffffffffffffffffffff166116996112cf565b73ffffffffffffffffffffffffffffffffffffffff16146116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e6906138aa565b60405180910390fd5b6001600860006101000a81548160ff021916908315150217905550565b600a6020528060005260406000206000915090505481565b61172c611ad6565b73ffffffffffffffffffffffffffffffffffffffff1661174a6112cf565b73ffffffffffffffffffffffffffffffffffffffff16146117a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611797906138aa565b60405180910390fd5b60006117aa6112cf565b73ffffffffffffffffffffffffffffffffffffffff16476040516117cd90614404565b60006040518083038185875af1925050503d806000811461180a576040519150601f19603f3d011682016040523d82523d6000602084013e61180f565b606091505b505090508061181d57600080fd5b50565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118bc611ad6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806119025750611901856118fc611ad6565b611820565b5b611941576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119389061448b565b60405180910390fd5b61194e858585858561256d565b5050505050565b61195d611ad6565b73ffffffffffffffffffffffffffffffffffffffff1661197b6112cf565b73ffffffffffffffffffffffffffffffffffffffff16146119d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c8906138aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a379061451d565b60405180910390fd5b611a498161210f565b50565b60096020528060005260406000206000915054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b606060008203611b25576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c39565b600082905060005b60008214611b57578080611b40906140ee565b915050600a82611b50919061456c565b9150611b2d565b60008167ffffffffffffffff811115611b7357611b72612e4b565b5b6040519080825280601f01601f191660200182016040528015611ba55781602001600182028036833780820191505090505b5090505b60008514611c3257600182611bbe919061459d565b9150600a85611bcd91906145d1565b6030611bd99190613f66565b60f81b818381518110611bef57611bee61425a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c2b919061456c565b9450611ba9565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca490614674565b60405180910390fd5b6000611cb7611ad6565b90506000611cc485612808565b90506000611cd185612808565b9050611ce283600089858589612882565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d419190613f66565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611dbf929190614694565b60405180910390a4611dd68360008985858961288a565b611de583600089898989612892565b50505050505050565b8151835114611e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e299061472f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e98906147c1565b60405180910390fd5b6000611eab611ad6565b9050611ebb818787878787612882565b60005b845181101561206c576000858281518110611edc57611edb61425a565b5b602002602001015190506000858381518110611efb57611efa61425a565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9390614853565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120519190613f66565b9250508190555050505080612065906140ee565b9050611ebe565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516120e3929190614873565b60405180910390a46120f981878787878761288a565b612107818787878787612a69565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223a9061491c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123349190612e15565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036123b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a790614674565b60405180910390fd5b81518351146123f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123eb9061472f565b60405180910390fd5b60006123fe611ad6565b905061240f81600087878787612882565b60005b84518110156124c85783818151811061242e5761242d61425a565b5b602002602001015160008087848151811061244c5761244b61425a565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124ae9190613f66565b9250508190555080806124c0906140ee565b915050612412565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612540929190614873565b60405180910390a46125578160008787878761288a565b61256681600087878787612a69565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036125dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d3906147c1565b60405180910390fd5b60006125e6611ad6565b905060006125f385612808565b9050600061260085612808565b9050612610838989858589612882565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156126a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269e90614853565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461275c9190613f66565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516127d9929190614694565b60405180910390a46127ef848a8a86868a61288a565b6127fd848a8a8a8a8a612892565b505050505050505050565b60606000600167ffffffffffffffff81111561282757612826612e4b565b5b6040519080825280602002602001820160405280156128555781602001602082028036833780820191505090505b509050828160008151811061286d5761286c61425a565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b6128b18473ffffffffffffffffffffffffffffffffffffffff16612c40565b15612a61578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016128f7959493929190614991565b6020604051808303816000875af192505050801561293357506040513d601f19601f820116820180604052508101906129309190614a00565b60015b6129d85761293f614a3a565b806308c379a00361299b5750612953614a5c565b8061295e575061299d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129929190613047565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cf90614b5e565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5690614bf0565b60405180910390fd5b505b505050505050565b612a888473ffffffffffffffffffffffffffffffffffffffff16612c40565b15612c38578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ace959493929190614c10565b6020604051808303816000875af1925050508015612b0a57506040513d601f19601f82011682018060405250810190612b079190614a00565b60015b612baf57612b16614a3a565b806308c379a003612b725750612b2a614a5c565b80612b355750612b74565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b699190613047565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba690614b5e565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2d90614bf0565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ca282612c77565b9050919050565b612cb281612c97565b8114612cbd57600080fd5b50565b600081359050612ccf81612ca9565b92915050565b6000819050919050565b612ce881612cd5565b8114612cf357600080fd5b50565b600081359050612d0581612cdf565b92915050565b60008060408385031215612d2257612d21612c6d565b5b6000612d3085828601612cc0565b9250506020612d4185828601612cf6565b9150509250929050565b612d5481612cd5565b82525050565b6000602082019050612d6f6000830184612d4b565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612daa81612d75565b8114612db557600080fd5b50565b600081359050612dc781612da1565b92915050565b600060208284031215612de357612de2612c6d565b5b6000612df184828501612db8565b91505092915050565b60008115159050919050565b612e0f81612dfa565b82525050565b6000602082019050612e2a6000830184612e06565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e8382612e3a565b810181811067ffffffffffffffff82111715612ea257612ea1612e4b565b5b80604052505050565b6000612eb5612c63565b9050612ec18282612e7a565b919050565b600067ffffffffffffffff821115612ee157612ee0612e4b565b5b612eea82612e3a565b9050602081019050919050565b82818337600083830152505050565b6000612f19612f1484612ec6565b612eab565b905082815260208101848484011115612f3557612f34612e35565b5b612f40848285612ef7565b509392505050565b600082601f830112612f5d57612f5c612e30565b5b8135612f6d848260208601612f06565b91505092915050565b600060208284031215612f8c57612f8b612c6d565b5b600082013567ffffffffffffffff811115612faa57612fa9612c72565b5b612fb684828501612f48565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ff9578082015181840152602081019050612fde565b83811115613008576000848401525b50505050565b600061301982612fbf565b6130238185612fca565b9350613033818560208601612fdb565b61303c81612e3a565b840191505092915050565b60006020820190508181036000830152613061818461300e565b905092915050565b60006020828403121561307f5761307e612c6d565b5b600061308d84828501612cf6565b91505092915050565b600080604083850312156130ad576130ac612c6d565b5b60006130bb85828601612cf6565b92505060206130cc85828601612cf6565b9150509250929050565b600067ffffffffffffffff8211156130f1576130f0612e4b565b5b602082029050602081019050919050565b600080fd5b600061311a613115846130d6565b612eab565b9050808382526020820190506020840283018581111561313d5761313c613102565b5b835b8181101561316657806131528882612cf6565b84526020840193505060208101905061313f565b5050509392505050565b600082601f83011261318557613184612e30565b5b8135613195848260208601613107565b91505092915050565b600067ffffffffffffffff8211156131b9576131b8612e4b565b5b6131c282612e3a565b9050602081019050919050565b60006131e26131dd8461319e565b612eab565b9050828152602081018484840111156131fe576131fd612e35565b5b613209848285612ef7565b509392505050565b600082601f83011261322657613225612e30565b5b81356132368482602086016131cf565b91505092915050565b600080600080600060a0868803121561325b5761325a612c6d565b5b600061326988828901612cc0565b955050602061327a88828901612cc0565b945050604086013567ffffffffffffffff81111561329b5761329a612c72565b5b6132a788828901613170565b935050606086013567ffffffffffffffff8111156132c8576132c7612c72565b5b6132d488828901613170565b925050608086013567ffffffffffffffff8111156132f5576132f4612c72565b5b61330188828901613211565b9150509295509295909350565b600067ffffffffffffffff82111561332957613328612e4b565b5b602082029050602081019050919050565b600061334d6133488461330e565b612eab565b905080838252602082019050602084028301858111156133705761336f613102565b5b835b8181101561339957806133858882612cc0565b845260208401935050602081019050613372565b5050509392505050565b600082601f8301126133b8576133b7612e30565b5b81356133c884826020860161333a565b91505092915050565b600080604083850312156133e8576133e7612c6d565b5b600083013567ffffffffffffffff81111561340657613405612c72565b5b613412858286016133a3565b925050602083013567ffffffffffffffff81111561343357613432612c72565b5b61343f85828601613170565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61347e81612cd5565b82525050565b60006134908383613475565b60208301905092915050565b6000602082019050919050565b60006134b482613449565b6134be8185613454565b93506134c983613465565b8060005b838110156134fa5781516134e18882613484565b97506134ec8361349c565b9250506001810190506134cd565b5085935050505092915050565b6000602082019050818103600083015261352181846134a9565b905092915050565b61353281612c97565b82525050565b600060208201905061354d6000830184613529565b92915050565b60006020828403121561356957613568612c6d565b5b600061357784828501612cc0565b91505092915050565b600061ffff82169050919050565b61359781613580565b81146135a257600080fd5b50565b6000813590506135b48161358e565b92915050565b6000602082840312156135d0576135cf612c6d565b5b60006135de848285016135a5565b91505092915050565b6135f081612dfa565b81146135fb57600080fd5b50565b60008135905061360d816135e7565b92915050565b6000806040838503121561362a57613629612c6d565b5b600061363885828601612cc0565b9250506020613649858286016135fe565b9150509250929050565b61365c81613580565b82525050565b60006020820190506136776000830184613653565b92915050565b6000806040838503121561369457613693612c6d565b5b600083013567ffffffffffffffff8111156136b2576136b1612c72565b5b6136be85828601613170565b925050602083013567ffffffffffffffff8111156136df576136de612c72565b5b6136eb85828601613170565b9150509250929050565b6000806040838503121561370c5761370b612c6d565b5b600061371a85828601612cc0565b925050602061372b85828601612cc0565b9150509250929050565b600080600080600060a0868803121561375157613750612c6d565b5b600061375f88828901612cc0565b955050602061377088828901612cc0565b945050604061378188828901612cf6565b935050606061379288828901612cf6565b925050608086013567ffffffffffffffff8111156137b3576137b2612c72565b5b6137bf88828901613211565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613828602b83612fca565b9150613833826137cc565b604082019050919050565b600060208201905081810360008301526138578161381b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613894602083612fca565b915061389f8261385e565b602082019050919050565b600060208201905081810360008301526138c381613887565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061391157607f821691505b602082108103613924576139236138ca565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261398c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261394f565b613996868361394f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006139d36139ce6139c984612cd5565b6139ae565b612cd5565b9050919050565b6000819050919050565b6139ed836139b8565b613a016139f9826139da565b84845461395c565b825550505050565b600090565b613a16613a09565b613a218184846139e4565b505050565b5b81811015613a4557613a3a600082613a0e565b600181019050613a27565b5050565b601f821115613a8a57613a5b8161392a565b613a648461393f565b81016020851015613a73578190505b613a87613a7f8561393f565b830182613a26565b50505b505050565b600082821c905092915050565b6000613aad60001984600802613a8f565b1980831691505092915050565b6000613ac68383613a9c565b9150826002028217905092915050565b613adf82612fbf565b67ffffffffffffffff811115613af857613af7612e4b565b5b613b0282546138f9565b613b0d828285613a49565b600060209050601f831160018114613b405760008415613b2e578287015190505b613b388582613aba565b865550613ba0565b601f198416613b4e8661392a565b60005b82811015613b7657848901518255600182019150602085019450602081019050613b51565b86831015613b935784890151613b8f601f891682613a9c565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b60008154613bc0816138f9565b613bca8186613ba8565b94506001821660008114613be55760018114613bfa57613c2d565b60ff1983168652811515820286019350613c2d565b613c038561392a565b60005b83811015613c2557815481890152600182019150602081019050613c06565b838801955050505b50505092915050565b6000613c428284613bb3565b915081905092915050565b7f5552492072657175657374656420666f7220696e76616c69642061737365742e600082015250565b6000613c83602083612fca565b9150613c8e82613c4d565b602082019050919050565b60006020820190508181036000830152613cb281613c76565b9050919050565b6000613cc482612fbf565b613cce8185613ba8565b9350613cde818560208601612fdb565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613d20600583613ba8565b9150613d2b82613cea565b600582019050919050565b6000613d428285613bb3565b9150613d4e8284613cb9565b9150613d5982613d13565b91508190509392505050565b7f5468652061737365747320617265206c6f636b656420616e64206e6f206d6f7260008201527f652063616e206265206d696e7465640000000000000000000000000000000000602082015250565b6000613dc1602f83612fca565b9150613dcc82613d65565b604082019050919050565b60006020820190508181036000830152613df081613db4565b9050919050565b7f4d696e74206973206e6f74206f70656e20666f7220686f6c6465727320746f2060008201527f6d696e74206d6f72650000000000000000000000000000000000000000000000602082015250565b6000613e53602983612fca565b9150613e5e82613df7565b604082019050919050565b60006020820190508181036000830152613e8281613e46565b9050919050565b600081519050613e9881612cdf565b92915050565b600060208284031215613eb457613eb3612c6d565b5b6000613ec284828501613e89565b91505092915050565b7f596f7520617265206e6f74206120686f6c646572000000000000000000000000600082015250565b6000613f01601483612fca565b9150613f0c82613ecb565b602082019050919050565b60006020820190508181036000830152613f3081613ef4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f7182612cd5565b9150613f7c83612cd5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613fb157613fb0613f37565b5b828201905092915050565b7f4d6178204672616374696f6e73206d696e746564000000000000000000000000600082015250565b6000613ff2601483612fca565b9150613ffd82613fbc565b602082019050919050565b6000602082019050818103600083015261402181613fe5565b9050919050565b600061403382612cd5565b915061403e83612cd5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561407757614076613f37565b5b828202905092915050565b7f4e6f7420656e6f7567682045544820746f20636f6d706c657465207478000000600082015250565b60006140b8601d83612fca565b91506140c382614082565b602082019050919050565b600060208201905081810360008301526140e7816140ab565b9050919050565b60006140f982612cd5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361412b5761412a613f37565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614192603283612fca565b915061419d82614136565b604082019050919050565b600060208201905081810360008301526141c181614185565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614224602983612fca565b915061422f826141c8565b604082019050919050565b6000602082019050818103600083015261425381614217565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5468652061737365747320617265206c6f636b656420616e64206e6f206d6f7260008201527f652063616e206265206372656174656400000000000000000000000000000000602082015250565b60006142e5603083612fca565b91506142f082614289565b604082019050919050565b60006020820190508181036000830152614314816142d8565b9050919050565b7f5468697320494420616c72656164792068617320616e2061737365742063726560008201527f6174656420756e6465722069742c2074727920616e6f74686572206e756d626560208201527f7200000000000000000000000000000000000000000000000000000000000000604082015250565b600061439d604183612fca565b91506143a88261431b565b606082019050919050565b600060208201905081810360008301526143cc81614390565b9050919050565b600081905092915050565b50565b60006143ee6000836143d3565b91506143f9826143de565b600082019050919050565b600061440f826143e1565b9150819050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614475602983612fca565b915061448082614419565b604082019050919050565b600060208201905081810360008301526144a481614468565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614507602683612fca565b9150614512826144ab565b604082019050919050565b60006020820190508181036000830152614536816144fa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061457782612cd5565b915061458283612cd5565b9250826145925761459161453d565b5b828204905092915050565b60006145a882612cd5565b91506145b383612cd5565b9250828210156145c6576145c5613f37565b5b828203905092915050565b60006145dc82612cd5565b91506145e783612cd5565b9250826145f7576145f661453d565b5b828206905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061465e602183612fca565b915061466982614602565b604082019050919050565b6000602082019050818103600083015261468d81614651565b9050919050565b60006040820190506146a96000830185612d4b565b6146b66020830184612d4b565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614719602883612fca565b9150614724826146bd565b604082019050919050565b600060208201905081810360008301526147488161470c565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006147ab602583612fca565b91506147b68261474f565b604082019050919050565b600060208201905081810360008301526147da8161479e565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061483d602a83612fca565b9150614848826147e1565b604082019050919050565b6000602082019050818103600083015261486c81614830565b9050919050565b6000604082019050818103600083015261488d81856134a9565b905081810360208301526148a181846134a9565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614906602983612fca565b9150614911826148aa565b604082019050919050565b60006020820190508181036000830152614935816148f9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149638261493c565b61496d8185614947565b935061497d818560208601612fdb565b61498681612e3a565b840191505092915050565b600060a0820190506149a66000830188613529565b6149b36020830187613529565b6149c06040830186612d4b565b6149cd6060830185612d4b565b81810360808301526149df8184614958565b90509695505050505050565b6000815190506149fa81612da1565b92915050565b600060208284031215614a1657614a15612c6d565b5b6000614a24848285016149eb565b91505092915050565b60008160e01c9050919050565b600060033d1115614a595760046000803e614a56600051614a2d565b90505b90565b600060443d10614ae957614a6e612c63565b60043d036004823e80513d602482011167ffffffffffffffff82111715614a96575050614ae9565b808201805167ffffffffffffffff811115614ab45750505050614ae9565b80602083010160043d038501811115614ad1575050505050614ae9565b614ae082602001850186612e7a565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614b48603483612fca565b9150614b5382614aec565b604082019050919050565b60006020820190508181036000830152614b7781614b3b565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614bda602883612fca565b9150614be582614b7e565b604082019050919050565b60006020820190508181036000830152614c0981614bcd565b9050919050565b600060a082019050614c256000830188613529565b614c326020830187613529565b8181036040830152614c4481866134a9565b90508181036060830152614c5881856134a9565b90508181036080830152614c6c8184614958565b9050969550505050505056fea26469706673582212209c6a930761cdca1a6c3246bf2c3df5204963eee5d6953be7ebdcf209d727afc464736f6c634300080f0033000000000000000000000000136c5687772c6799714477d3887028ec691633640000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001642524151204672616374696f6e616c2041737365747300000000000000000000000000000000000000000000000000000000000000000000000000000000000342464100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d50444d355432424a454d584e65464a507a6f6248717051556265784a37336a4c56486b657a44714d796234562f00000000000000000000
Deployed Bytecode
0x6080604052600436106101cc5760003560e01c806391b7f5ed116100f7578063d351cfdc11610095578063e985e9c511610064578063e985e9c51461061a578063f242432a14610657578063f2fde38b14610680578063fa08a2f8146106a9576101cc565b8063d351cfdc14610586578063df90b2de146105af578063e051b416146105c6578063e086e5ec14610603576101cc565b8063a035b1fe116100d1578063a035b1fe146104f0578063a22cb4651461051b578063b524fd6f14610544578063ca3996711461055b576101cc565b806391b7f5ed1461047357806395d89b411461049c5780639f20aa95146104c7576101cc565b80632eb2c2d61161016f578063715018a61161013e578063715018a6146103dd578063717fdeab146103f457806389615a3c1461041d5780638da5cb5b14610448576101cc565b80632eb2c2d6146103235780634e1273f41461034c578063642db0bd146103895780636acfb485146103b4576101cc565b80630636e352116101ab5780630636e3521461027457806306fdde031461029f5780630e89341c146102ca5780631b2ef1ca14610307576101cc565b8062fdd58e146101d157806301ffc9a71461020e57806302fe53051461024b575b600080fd5b3480156101dd57600080fd5b506101f860048036038101906101f39190612d0b565b6106e6565b6040516102059190612d5a565b60405180910390f35b34801561021a57600080fd5b5061023560048036038101906102309190612dcd565b6107ae565b6040516102429190612e15565b60405180910390f35b34801561025757600080fd5b50610272600480360381019061026d9190612f76565b610890565b005b34801561028057600080fd5b50610289610962565b6040516102969190612e15565b60405180910390f35b3480156102ab57600080fd5b506102b4610975565b6040516102c19190613047565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190613069565b610a03565b6040516102fe9190613047565b60405180910390f35b610321600480360381019061031c9190613096565b610b3e565b005b34801561032f57600080fd5b5061034a6004803603810190610345919061323f565b610e32565b005b34801561035857600080fd5b50610373600480360381019061036e91906133d1565b610ed3565b6040516103809190613507565b60405180910390f35b34801561039557600080fd5b5061039e610fec565b6040516103ab9190613538565b60405180910390f35b3480156103c057600080fd5b506103db60048036038101906103d69190613069565b611012565b005b3480156103e957600080fd5b506103f2611174565b005b34801561040057600080fd5b5061041b60048036038101906104169190613553565b6111fc565b005b34801561042957600080fd5b506104326112bc565b60405161043f9190612e15565b60405180910390f35b34801561045457600080fd5b5061045d6112cf565b60405161046a9190613538565b60405180910390f35b34801561047f57600080fd5b5061049a60048036038101906104959190613069565b6112f9565b005b3480156104a857600080fd5b506104b161137f565b6040516104be9190613047565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e991906135ba565b61140d565b005b3480156104fc57600080fd5b506105056114a9565b6040516105129190612d5a565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d9190613613565b6114af565b005b34801561055057600080fd5b506105596114c5565b005b34801561056757600080fd5b5061057061156d565b60405161057d9190613662565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a8919061367d565b611581565b005b3480156105bb57600080fd5b506105c4611673565b005b3480156105d257600080fd5b506105ed60048036038101906105e89190613553565b61170c565b6040516105fa9190612d5a565b60405180910390f35b34801561060f57600080fd5b50610618611724565b005b34801561062657600080fd5b50610641600480360381019061063c91906136f5565b611820565b60405161064e9190612e15565b60405180910390f35b34801561066357600080fd5b5061067e60048036038101906106799190613735565b6118b4565b005b34801561068c57600080fd5b506106a760048036038101906106a29190613553565b611955565b005b3480156106b557600080fd5b506106d060048036038101906106cb9190613069565b611a4c565b6040516106dd9190612e15565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074d9061383e565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610889575061088882611a6c565b5b9050919050565b610898611ad6565b73ffffffffffffffffffffffffffffffffffffffff166108b66112cf565b73ffffffffffffffffffffffffffffffffffffffff161461090c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610903906138aa565b60405180910390fd5b806005908161091b9190613ad6565b50600560405161092b9190613c36565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a250565b600860019054906101000a900460ff1681565b60068054610982906138f9565b80601f01602080910402602001604051908101604052809291908181526020018280546109ae906138f9565b80156109fb5780601f106109d0576101008083540402835291602001916109fb565b820191906000526020600020905b8154815290600101906020018083116109de57829003601f168201915b505050505081565b60606009600083815260200190815260200160002060009054906101000a900460ff16610a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5c90613c99565b60405180910390fd5b600060058054610a74906138f9565b905011610b0b5760058054610a88906138f9565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab4906138f9565b8015610b015780601f10610ad657610100808354040283529160200191610b01565b820191906000526020600020905b815481529060010190602001808311610ae457829003601f168201915b5050505050610b37565b6005610b1683611ade565b604051602001610b27929190613d36565b6040516020818303038152906040525b9050919050565b600860009054906101000a900460ff1615610b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8590613dd7565b60405180910390fd5b600860019054906101000a900460ff16610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490613e69565b60405180910390fd5b6000600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610c3f9190613538565b602060405180830381865afa158015610c5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c809190613e9e565b90506001811015610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90613f17565b60405180910390fd5b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600360149054906101000a900461ffff1661ffff168482610d2b9190613f66565b1115610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6390614008565b60405180910390fd5b83600454610d7a9190614028565b3414610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db2906140ce565b60405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610e0b906140ee565b9190505550610e2b33868660405180602001604052806000815250611c3e565b5050505050565b610e3a611ad6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610e805750610e7f85610e7a611ad6565b611820565b5b610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb6906141a8565b60405180910390fd5b610ecc8585858585611dee565b5050505050565b60608151835114610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f109061423a565b60405180910390fd5b6000835167ffffffffffffffff811115610f3657610f35612e4b565b5b604051908082528060200260200182016040528015610f645781602001602082028036833780820191505090505b50905060005b8451811015610fe157610fb1858281518110610f8957610f8861425a565b5b6020026020010151858381518110610fa457610fa361425a565b5b60200260200101516106e6565b828281518110610fc457610fc361425a565b5b60200260200101818152505080610fda906140ee565b9050610f6a565b508091505092915050565b600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61101a611ad6565b73ffffffffffffffffffffffffffffffffffffffff166110386112cf565b73ffffffffffffffffffffffffffffffffffffffff161461108e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611085906138aa565b60405180910390fd5b600860009054906101000a900460ff16156110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d5906142fb565b60405180910390fd5b600015156009600083815260200190815260200160002060009054906101000a900460ff16151514611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c906143b3565b60405180910390fd5b60016009600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61117c611ad6565b73ffffffffffffffffffffffffffffffffffffffff1661119a6112cf565b73ffffffffffffffffffffffffffffffffffffffff16146111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e7906138aa565b60405180910390fd5b6111fa600061210f565b565b611204611ad6565b73ffffffffffffffffffffffffffffffffffffffff166112226112cf565b73ffffffffffffffffffffffffffffffffffffffff1614611278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126f906138aa565b60405180910390fd5b80600860026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611301611ad6565b73ffffffffffffffffffffffffffffffffffffffff1661131f6112cf565b73ffffffffffffffffffffffffffffffffffffffff1614611375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136c906138aa565b60405180910390fd5b8060048190555050565b6007805461138c906138f9565b80601f01602080910402602001604051908101604052809291908181526020018280546113b8906138f9565b80156114055780601f106113da57610100808354040283529160200191611405565b820191906000526020600020905b8154815290600101906020018083116113e857829003601f168201915b505050505081565b611415611ad6565b73ffffffffffffffffffffffffffffffffffffffff166114336112cf565b73ffffffffffffffffffffffffffffffffffffffff1614611489576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611480906138aa565b60405180910390fd5b80600360146101000a81548161ffff021916908361ffff16021790555050565b60045481565b6114c16114ba611ad6565b83836121d5565b5050565b6114cd611ad6565b73ffffffffffffffffffffffffffffffffffffffff166114eb6112cf565b73ffffffffffffffffffffffffffffffffffffffff1614611541576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611538906138aa565b60405180910390fd5b600860019054906101000a900460ff1615600860016101000a81548160ff021916908315150217905550565b600360149054906101000a900461ffff1681565b611589611ad6565b73ffffffffffffffffffffffffffffffffffffffff166115a76112cf565b73ffffffffffffffffffffffffffffffffffffffff16146115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f4906138aa565b60405180910390fd5b600860009054906101000a900460ff161561164d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164490613dd7565b60405180910390fd5b61166f6116586112cf565b838360405180602001604052806000815250612341565b5050565b61167b611ad6565b73ffffffffffffffffffffffffffffffffffffffff166116996112cf565b73ffffffffffffffffffffffffffffffffffffffff16146116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e6906138aa565b60405180910390fd5b6001600860006101000a81548160ff021916908315150217905550565b600a6020528060005260406000206000915090505481565b61172c611ad6565b73ffffffffffffffffffffffffffffffffffffffff1661174a6112cf565b73ffffffffffffffffffffffffffffffffffffffff16146117a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611797906138aa565b60405180910390fd5b60006117aa6112cf565b73ffffffffffffffffffffffffffffffffffffffff16476040516117cd90614404565b60006040518083038185875af1925050503d806000811461180a576040519150601f19603f3d011682016040523d82523d6000602084013e61180f565b606091505b505090508061181d57600080fd5b50565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118bc611ad6565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806119025750611901856118fc611ad6565b611820565b5b611941576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119389061448b565b60405180910390fd5b61194e858585858561256d565b5050505050565b61195d611ad6565b73ffffffffffffffffffffffffffffffffffffffff1661197b6112cf565b73ffffffffffffffffffffffffffffffffffffffff16146119d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c8906138aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a379061451d565b60405180910390fd5b611a498161210f565b50565b60096020528060005260406000206000915054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b606060008203611b25576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c39565b600082905060005b60008214611b57578080611b40906140ee565b915050600a82611b50919061456c565b9150611b2d565b60008167ffffffffffffffff811115611b7357611b72612e4b565b5b6040519080825280601f01601f191660200182016040528015611ba55781602001600182028036833780820191505090505b5090505b60008514611c3257600182611bbe919061459d565b9150600a85611bcd91906145d1565b6030611bd99190613f66565b60f81b818381518110611bef57611bee61425a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c2b919061456c565b9450611ba9565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca490614674565b60405180910390fd5b6000611cb7611ad6565b90506000611cc485612808565b90506000611cd185612808565b9050611ce283600089858589612882565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d419190613f66565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611dbf929190614694565b60405180910390a4611dd68360008985858961288a565b611de583600089898989612892565b50505050505050565b8151835114611e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e299061472f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e98906147c1565b60405180910390fd5b6000611eab611ad6565b9050611ebb818787878787612882565b60005b845181101561206c576000858281518110611edc57611edb61425a565b5b602002602001015190506000858381518110611efb57611efa61425a565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9390614853565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120519190613f66565b9250508190555050505080612065906140ee565b9050611ebe565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516120e3929190614873565b60405180910390a46120f981878787878761288a565b612107818787878787612a69565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223a9061491c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123349190612e15565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036123b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a790614674565b60405180910390fd5b81518351146123f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123eb9061472f565b60405180910390fd5b60006123fe611ad6565b905061240f81600087878787612882565b60005b84518110156124c85783818151811061242e5761242d61425a565b5b602002602001015160008087848151811061244c5761244b61425a565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124ae9190613f66565b9250508190555080806124c0906140ee565b915050612412565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612540929190614873565b60405180910390a46125578160008787878761288a565b61256681600087878787612a69565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036125dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d3906147c1565b60405180910390fd5b60006125e6611ad6565b905060006125f385612808565b9050600061260085612808565b9050612610838989858589612882565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156126a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269e90614853565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461275c9190613f66565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516127d9929190614694565b60405180910390a46127ef848a8a86868a61288a565b6127fd848a8a8a8a8a612892565b505050505050505050565b60606000600167ffffffffffffffff81111561282757612826612e4b565b5b6040519080825280602002602001820160405280156128555781602001602082028036833780820191505090505b509050828160008151811061286d5761286c61425a565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b6128b18473ffffffffffffffffffffffffffffffffffffffff16612c40565b15612a61578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016128f7959493929190614991565b6020604051808303816000875af192505050801561293357506040513d601f19601f820116820180604052508101906129309190614a00565b60015b6129d85761293f614a3a565b806308c379a00361299b5750612953614a5c565b8061295e575061299d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129929190613047565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cf90614b5e565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5690614bf0565b60405180910390fd5b505b505050505050565b612a888473ffffffffffffffffffffffffffffffffffffffff16612c40565b15612c38578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ace959493929190614c10565b6020604051808303816000875af1925050508015612b0a57506040513d601f19601f82011682018060405250810190612b079190614a00565b60015b612baf57612b16614a3a565b806308c379a003612b725750612b2a614a5c565b80612b355750612b74565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b699190613047565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba690614b5e565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2d90614bf0565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ca282612c77565b9050919050565b612cb281612c97565b8114612cbd57600080fd5b50565b600081359050612ccf81612ca9565b92915050565b6000819050919050565b612ce881612cd5565b8114612cf357600080fd5b50565b600081359050612d0581612cdf565b92915050565b60008060408385031215612d2257612d21612c6d565b5b6000612d3085828601612cc0565b9250506020612d4185828601612cf6565b9150509250929050565b612d5481612cd5565b82525050565b6000602082019050612d6f6000830184612d4b565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612daa81612d75565b8114612db557600080fd5b50565b600081359050612dc781612da1565b92915050565b600060208284031215612de357612de2612c6d565b5b6000612df184828501612db8565b91505092915050565b60008115159050919050565b612e0f81612dfa565b82525050565b6000602082019050612e2a6000830184612e06565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e8382612e3a565b810181811067ffffffffffffffff82111715612ea257612ea1612e4b565b5b80604052505050565b6000612eb5612c63565b9050612ec18282612e7a565b919050565b600067ffffffffffffffff821115612ee157612ee0612e4b565b5b612eea82612e3a565b9050602081019050919050565b82818337600083830152505050565b6000612f19612f1484612ec6565b612eab565b905082815260208101848484011115612f3557612f34612e35565b5b612f40848285612ef7565b509392505050565b600082601f830112612f5d57612f5c612e30565b5b8135612f6d848260208601612f06565b91505092915050565b600060208284031215612f8c57612f8b612c6d565b5b600082013567ffffffffffffffff811115612faa57612fa9612c72565b5b612fb684828501612f48565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ff9578082015181840152602081019050612fde565b83811115613008576000848401525b50505050565b600061301982612fbf565b6130238185612fca565b9350613033818560208601612fdb565b61303c81612e3a565b840191505092915050565b60006020820190508181036000830152613061818461300e565b905092915050565b60006020828403121561307f5761307e612c6d565b5b600061308d84828501612cf6565b91505092915050565b600080604083850312156130ad576130ac612c6d565b5b60006130bb85828601612cf6565b92505060206130cc85828601612cf6565b9150509250929050565b600067ffffffffffffffff8211156130f1576130f0612e4b565b5b602082029050602081019050919050565b600080fd5b600061311a613115846130d6565b612eab565b9050808382526020820190506020840283018581111561313d5761313c613102565b5b835b8181101561316657806131528882612cf6565b84526020840193505060208101905061313f565b5050509392505050565b600082601f83011261318557613184612e30565b5b8135613195848260208601613107565b91505092915050565b600067ffffffffffffffff8211156131b9576131b8612e4b565b5b6131c282612e3a565b9050602081019050919050565b60006131e26131dd8461319e565b612eab565b9050828152602081018484840111156131fe576131fd612e35565b5b613209848285612ef7565b509392505050565b600082601f83011261322657613225612e30565b5b81356132368482602086016131cf565b91505092915050565b600080600080600060a0868803121561325b5761325a612c6d565b5b600061326988828901612cc0565b955050602061327a88828901612cc0565b945050604086013567ffffffffffffffff81111561329b5761329a612c72565b5b6132a788828901613170565b935050606086013567ffffffffffffffff8111156132c8576132c7612c72565b5b6132d488828901613170565b925050608086013567ffffffffffffffff8111156132f5576132f4612c72565b5b61330188828901613211565b9150509295509295909350565b600067ffffffffffffffff82111561332957613328612e4b565b5b602082029050602081019050919050565b600061334d6133488461330e565b612eab565b905080838252602082019050602084028301858111156133705761336f613102565b5b835b8181101561339957806133858882612cc0565b845260208401935050602081019050613372565b5050509392505050565b600082601f8301126133b8576133b7612e30565b5b81356133c884826020860161333a565b91505092915050565b600080604083850312156133e8576133e7612c6d565b5b600083013567ffffffffffffffff81111561340657613405612c72565b5b613412858286016133a3565b925050602083013567ffffffffffffffff81111561343357613432612c72565b5b61343f85828601613170565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61347e81612cd5565b82525050565b60006134908383613475565b60208301905092915050565b6000602082019050919050565b60006134b482613449565b6134be8185613454565b93506134c983613465565b8060005b838110156134fa5781516134e18882613484565b97506134ec8361349c565b9250506001810190506134cd565b5085935050505092915050565b6000602082019050818103600083015261352181846134a9565b905092915050565b61353281612c97565b82525050565b600060208201905061354d6000830184613529565b92915050565b60006020828403121561356957613568612c6d565b5b600061357784828501612cc0565b91505092915050565b600061ffff82169050919050565b61359781613580565b81146135a257600080fd5b50565b6000813590506135b48161358e565b92915050565b6000602082840312156135d0576135cf612c6d565b5b60006135de848285016135a5565b91505092915050565b6135f081612dfa565b81146135fb57600080fd5b50565b60008135905061360d816135e7565b92915050565b6000806040838503121561362a57613629612c6d565b5b600061363885828601612cc0565b9250506020613649858286016135fe565b9150509250929050565b61365c81613580565b82525050565b60006020820190506136776000830184613653565b92915050565b6000806040838503121561369457613693612c6d565b5b600083013567ffffffffffffffff8111156136b2576136b1612c72565b5b6136be85828601613170565b925050602083013567ffffffffffffffff8111156136df576136de612c72565b5b6136eb85828601613170565b9150509250929050565b6000806040838503121561370c5761370b612c6d565b5b600061371a85828601612cc0565b925050602061372b85828601612cc0565b9150509250929050565b600080600080600060a0868803121561375157613750612c6d565b5b600061375f88828901612cc0565b955050602061377088828901612cc0565b945050604061378188828901612cf6565b935050606061379288828901612cf6565b925050608086013567ffffffffffffffff8111156137b3576137b2612c72565b5b6137bf88828901613211565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613828602b83612fca565b9150613833826137cc565b604082019050919050565b600060208201905081810360008301526138578161381b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613894602083612fca565b915061389f8261385e565b602082019050919050565b600060208201905081810360008301526138c381613887565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061391157607f821691505b602082108103613924576139236138ca565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261398c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261394f565b613996868361394f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006139d36139ce6139c984612cd5565b6139ae565b612cd5565b9050919050565b6000819050919050565b6139ed836139b8565b613a016139f9826139da565b84845461395c565b825550505050565b600090565b613a16613a09565b613a218184846139e4565b505050565b5b81811015613a4557613a3a600082613a0e565b600181019050613a27565b5050565b601f821115613a8a57613a5b8161392a565b613a648461393f565b81016020851015613a73578190505b613a87613a7f8561393f565b830182613a26565b50505b505050565b600082821c905092915050565b6000613aad60001984600802613a8f565b1980831691505092915050565b6000613ac68383613a9c565b9150826002028217905092915050565b613adf82612fbf565b67ffffffffffffffff811115613af857613af7612e4b565b5b613b0282546138f9565b613b0d828285613a49565b600060209050601f831160018114613b405760008415613b2e578287015190505b613b388582613aba565b865550613ba0565b601f198416613b4e8661392a565b60005b82811015613b7657848901518255600182019150602085019450602081019050613b51565b86831015613b935784890151613b8f601f891682613a9c565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b60008154613bc0816138f9565b613bca8186613ba8565b94506001821660008114613be55760018114613bfa57613c2d565b60ff1983168652811515820286019350613c2d565b613c038561392a565b60005b83811015613c2557815481890152600182019150602081019050613c06565b838801955050505b50505092915050565b6000613c428284613bb3565b915081905092915050565b7f5552492072657175657374656420666f7220696e76616c69642061737365742e600082015250565b6000613c83602083612fca565b9150613c8e82613c4d565b602082019050919050565b60006020820190508181036000830152613cb281613c76565b9050919050565b6000613cc482612fbf565b613cce8185613ba8565b9350613cde818560208601612fdb565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613d20600583613ba8565b9150613d2b82613cea565b600582019050919050565b6000613d428285613bb3565b9150613d4e8284613cb9565b9150613d5982613d13565b91508190509392505050565b7f5468652061737365747320617265206c6f636b656420616e64206e6f206d6f7260008201527f652063616e206265206d696e7465640000000000000000000000000000000000602082015250565b6000613dc1602f83612fca565b9150613dcc82613d65565b604082019050919050565b60006020820190508181036000830152613df081613db4565b9050919050565b7f4d696e74206973206e6f74206f70656e20666f7220686f6c6465727320746f2060008201527f6d696e74206d6f72650000000000000000000000000000000000000000000000602082015250565b6000613e53602983612fca565b9150613e5e82613df7565b604082019050919050565b60006020820190508181036000830152613e8281613e46565b9050919050565b600081519050613e9881612cdf565b92915050565b600060208284031215613eb457613eb3612c6d565b5b6000613ec284828501613e89565b91505092915050565b7f596f7520617265206e6f74206120686f6c646572000000000000000000000000600082015250565b6000613f01601483612fca565b9150613f0c82613ecb565b602082019050919050565b60006020820190508181036000830152613f3081613ef4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f7182612cd5565b9150613f7c83612cd5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613fb157613fb0613f37565b5b828201905092915050565b7f4d6178204672616374696f6e73206d696e746564000000000000000000000000600082015250565b6000613ff2601483612fca565b9150613ffd82613fbc565b602082019050919050565b6000602082019050818103600083015261402181613fe5565b9050919050565b600061403382612cd5565b915061403e83612cd5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561407757614076613f37565b5b828202905092915050565b7f4e6f7420656e6f7567682045544820746f20636f6d706c657465207478000000600082015250565b60006140b8601d83612fca565b91506140c382614082565b602082019050919050565b600060208201905081810360008301526140e7816140ab565b9050919050565b60006140f982612cd5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361412b5761412a613f37565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614192603283612fca565b915061419d82614136565b604082019050919050565b600060208201905081810360008301526141c181614185565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614224602983612fca565b915061422f826141c8565b604082019050919050565b6000602082019050818103600083015261425381614217565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5468652061737365747320617265206c6f636b656420616e64206e6f206d6f7260008201527f652063616e206265206372656174656400000000000000000000000000000000602082015250565b60006142e5603083612fca565b91506142f082614289565b604082019050919050565b60006020820190508181036000830152614314816142d8565b9050919050565b7f5468697320494420616c72656164792068617320616e2061737365742063726560008201527f6174656420756e6465722069742c2074727920616e6f74686572206e756d626560208201527f7200000000000000000000000000000000000000000000000000000000000000604082015250565b600061439d604183612fca565b91506143a88261431b565b606082019050919050565b600060208201905081810360008301526143cc81614390565b9050919050565b600081905092915050565b50565b60006143ee6000836143d3565b91506143f9826143de565b600082019050919050565b600061440f826143e1565b9150819050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614475602983612fca565b915061448082614419565b604082019050919050565b600060208201905081810360008301526144a481614468565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614507602683612fca565b9150614512826144ab565b604082019050919050565b60006020820190508181036000830152614536816144fa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061457782612cd5565b915061458283612cd5565b9250826145925761459161453d565b5b828204905092915050565b60006145a882612cd5565b91506145b383612cd5565b9250828210156145c6576145c5613f37565b5b828203905092915050565b60006145dc82612cd5565b91506145e783612cd5565b9250826145f7576145f661453d565b5b828206905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061465e602183612fca565b915061466982614602565b604082019050919050565b6000602082019050818103600083015261468d81614651565b9050919050565b60006040820190506146a96000830185612d4b565b6146b66020830184612d4b565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614719602883612fca565b9150614724826146bd565b604082019050919050565b600060208201905081810360008301526147488161470c565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006147ab602583612fca565b91506147b68261474f565b604082019050919050565b600060208201905081810360008301526147da8161479e565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061483d602a83612fca565b9150614848826147e1565b604082019050919050565b6000602082019050818103600083015261486c81614830565b9050919050565b6000604082019050818103600083015261488d81856134a9565b905081810360208301526148a181846134a9565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614906602983612fca565b9150614911826148aa565b604082019050919050565b60006020820190508181036000830152614935816148f9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149638261493c565b61496d8185614947565b935061497d818560208601612fdb565b61498681612e3a565b840191505092915050565b600060a0820190506149a66000830188613529565b6149b36020830187613529565b6149c06040830186612d4b565b6149cd6060830185612d4b565b81810360808301526149df8184614958565b90509695505050505050565b6000815190506149fa81612da1565b92915050565b600060208284031215614a1657614a15612c6d565b5b6000614a24848285016149eb565b91505092915050565b60008160e01c9050919050565b600060033d1115614a595760046000803e614a56600051614a2d565b90505b90565b600060443d10614ae957614a6e612c63565b60043d036004823e80513d602482011167ffffffffffffffff82111715614a96575050614ae9565b808201805167ffffffffffffffff811115614ab45750505050614ae9565b80602083010160043d038501811115614ad1575050505050614ae9565b614ae082602001850186612e7a565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614b48603483612fca565b9150614b5382614aec565b604082019050919050565b60006020820190508181036000830152614b7781614b3b565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614bda602883612fca565b9150614be582614b7e565b604082019050919050565b60006020820190508181036000830152614c0981614bcd565b9050919050565b600060a082019050614c256000830188613529565b614c326020830187613529565b8181036040830152614c4481866134a9565b90508181036060830152614c5881856134a9565b90508181036080830152614c6c8184614958565b9050969550505050505056fea26469706673582212209c6a930761cdca1a6c3246bf2c3df5204963eee5d6953be7ebdcf209d727afc464736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000136c5687772c6799714477d3887028ec691633640000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001642524151204672616374696f6e616c2041737365747300000000000000000000000000000000000000000000000000000000000000000000000000000000000342464100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d50444d355432424a454d584e65464a507a6f6248717051556265784a37336a4c56486b657a44714d796234562f00000000000000000000
-----Decoded View---------------
Arg [0] : _owner (address): 0x136c5687772C6799714477D3887028EC69163364
Arg [1] : initialParameters (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 000000000000000000000000136c5687772c6799714477d3887028ec69163364
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [6] : 42524151204672616374696f6e616c2041737365747300000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 4246410000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d50444d355432424a454d584e65464a507a6f6248717051
Arg [11] : 556265784a37336a4c56486b657a44714d796234562f00000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.