Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Multichain Info
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
14619954 | 863 days ago | 0.14999999 ETH |
Loading...
Loading
Contract Name:
TRASHMOSH
Compiler Version
v0.8.11+commit.d7f03943
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.2; import "../openzeppelin-contracts/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "../openzeppelin-contracts/contracts/access/Ownable.sol"; import "../openzeppelin-contracts/contracts/utils/Counters.sol"; import "../auxcontracts/impl/RoyaltiesV2Impl.sol"; import "../auxcontracts/LibPart.sol"; import "../auxcontracts/LibRoyaltiesV2.sol"; contract TRASHMOSH is ERC721URIStorage, Ownable, RoyaltiesV2Impl{ using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; address payable _addr; bool enabled; constructor() ERC721("TRASHMOSH", "TRSH") { _addr = payable (0x24A9bb6762688e327C5b63d8200770049f6d7c93); enabled = true; } function safeMint(address to, string memory _uri, uint256 ti) internal { _safeMint(to, ti); _setTokenURI(ti, _uri); setRoyalties(ti, _addr, 1000); _tokenIdCounter.increment(); } function getTokenId() view public returns (uint256) { return _tokenIdCounter.current(); } function disable() public onlyOwner { enabled = false; } function verifyThenMint( address to, string memory metadata, uint256 ti, uint256 deadline ) payable external { uint256 tokenId = _tokenIdCounter.current(); require(ti == tokenId, "TOKEN ID MISMATCH"); require(enabled, "MINTING DISABLED"); require(block.timestamp < deadline, "SIGNED TRANSACTION EXPIRED"); require(to != address(0), "ECDSA: INVALID SIGNATURE"); require(msg.value >= 12e16, "PAYMENT FAILED (NOT ENOUGH ETHER)"); // (Th.) uint256 val = address(this).balance - 190000; // splitter gas cost (bool sent, ) = _addr.call{value: val, gas: 190000}(""); require(sent, "PAYMENT FAILED (UNKNOWN)"); safeMint(to, metadata, ti); } // RARIBLE ROYALTY FUNCTIONS function setRoyalties(uint _tokenId, address payable _royaltiesReceipientAddress, uint96 _percentageBasisPoints) public { LibPart.Part[] memory _royalties = new LibPart.Part[](1); _royalties[0].value = _percentageBasisPoints; _royalties[0].account = _royaltiesReceipientAddress; _saveRoyalties(_tokenId, _royalties); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) { if(interfaceId == LibRoyaltiesV2._INTERFACE_ID_ROYALTIES) { return true; } return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./AbstractRoyalties.sol"; import "../RoyaltiesV2.sol"; contract RoyaltiesV2Impl is AbstractRoyalties, RoyaltiesV2 { function getRaribleV2Royalties(uint256 id) override external view returns (LibPart.Part[] memory) { return royalties[id]; } function _onRoyaltiesSet(uint256 _id, LibPart.Part[] memory _royalties) override internal { emit RoyaltiesSet(_id, _royalties); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library LibPart { bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)"); struct Part { address payable account; uint96 value; } function hash(Part memory part) internal pure returns (bytes32){ return keccak256(abi.encode(TYPE_HASH, part.account, part.value)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library LibRoyaltiesV2 { /* * bytes4(keccak256('getRoyalties(LibAsset.AssetType)')) == 0xcad96cca */ bytes4 constant _INTERFACE_ID_ROYALTIES = 0xcad96cca; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 overriden 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 || getApproved(tokenId) == spender || isApprovedForAll(owner, 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/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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 `IERC721.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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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/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 (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 pragma solidity ^0.8.0; import "../LibPart.sol"; abstract contract AbstractRoyalties { mapping (uint256 => LibPart.Part[]) public royalties; function _saveRoyalties(uint256 _id, LibPart.Part[] memory _royalties) internal { for (uint i = 0; i < _royalties.length; i++) { require(_royalties[i].account != address(0x0), "Recipient should be present"); require(_royalties[i].value != 0, "Royalty value should be positive"); royalties[_id].push(_royalties[i]); } _onRoyaltiesSet(_id, _royalties); } function _updateAccount(uint256 _id, address _from, address _to) internal { uint length = royalties[_id].length; for(uint i = 0; i < length; i++) { if (royalties[_id][i].account == _from) { royalties[_id][i].account = payable(address(uint160(_to))); } } } function _onRoyaltiesSet(uint256 _id, LibPart.Part[] memory _royalties) virtual internal; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./LibPart.sol"; interface RoyaltiesV2 { event RoyaltiesSet(uint256 tokenId, LibPart.Part[] royalties); function getRaribleV2Royalties(uint256 id) external view returns (LibPart.Part[] 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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibPart.Part[]","name":"royalties","type":"tuple[]"}],"name":"RoyaltiesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRaribleV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"royalties","outputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address payable","name":"_royaltiesReceipientAddress","type":"address"},{"internalType":"uint96","name":"_percentageBasisPoints","type":"uint96"}],"name":"setRoyalties","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":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"metadata","type":"string"},{"internalType":"uint256","name":"ti","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"verifyThenMint","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600981526020017f54524153484d4f534800000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f545253480000000000000000000000000000000000000000000000000000000081525081600090805190602001906200009692919062000216565b508060019080519060200190620000af92919062000216565b505050620000d2620000c66200014860201b60201c565b6200015060201b60201c565b7324a9bb6762688e327c5b63d8200770049f6d7c93600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a60146101000a81548160ff0219169083151502179055506200032b565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022490620002f5565b90600052602060002090601f01602090048101928262000248576000855562000294565b82601f106200026357805160ff191683800117855562000294565b8280016001018555821562000294579182015b828111156200029357825182559160200191906001019062000276565b5b509050620002a39190620002a7565b5090565b5b80821115620002c2576000816000905550600101620002a8565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200030e57607f821691505b60208210811415620003255762000324620002c6565b5b50919050565b61412b806200033b6000396000f3fe6080604052600436106101355760003560e01c8063715018a6116100ab578063b88d4fde1161006f578063b88d4fde14610413578063b9f63fc81461043c578063c87b56dd14610458578063cad96cca14610495578063e985e9c5146104d2578063f2fde38b1461050f57610135565b8063715018a61461033f5780638924af74146103565780638da5cb5b1461039457806395d89b41146103bf578063a22cb465146103ea57610135565b8063143094db116100fd578063143094db1461023357806323b872dd1461025c5780632f2770db1461028557806342842e0e1461029c5780636352211e146102c557806370a082311461030257610135565b8063010a38f51461013a57806301ffc9a71461016557806306fdde03146101a2578063081812fc146101cd578063095ea7b31461020a575b600080fd5b34801561014657600080fd5b5061014f610538565b60405161015c919061269f565b60405180910390f35b34801561017157600080fd5b5061018c60048036038101906101879190612726565b610549565b604051610199919061276e565b60405180910390f35b3480156101ae57600080fd5b506101b76105b2565b6040516101c49190612822565b60405180910390f35b3480156101d957600080fd5b506101f460048036038101906101ef9190612870565b610644565b60405161020191906128de565b60405180910390f35b34801561021657600080fd5b50610231600480360381019061022c9190612925565b6106c9565b005b34801561023f57600080fd5b5061025a600480360381019061025591906129e7565b6107e1565b005b34801561026857600080fd5b50610283600480360381019061027e9190612a3a565b6108e0565b005b34801561029157600080fd5b5061029a610940565b005b3480156102a857600080fd5b506102c360048036038101906102be9190612a3a565b6109d9565b005b3480156102d157600080fd5b506102ec60048036038101906102e79190612870565b6109f9565b6040516102f991906128de565b60405180910390f35b34801561030e57600080fd5b5061032960048036038101906103249190612a8d565b610aab565b604051610336919061269f565b60405180910390f35b34801561034b57600080fd5b50610354610b63565b005b34801561036257600080fd5b5061037d60048036038101906103789190612aba565b610beb565b60405161038b929190612b18565b60405180910390f35b3480156103a057600080fd5b506103a9610c60565b6040516103b691906128de565b60405180910390f35b3480156103cb57600080fd5b506103d4610c8a565b6040516103e19190612822565b60405180910390f35b3480156103f657600080fd5b50610411600480360381019061040c9190612b6d565b610d1c565b005b34801561041f57600080fd5b5061043a60048036038101906104359190612ce2565b610d32565b005b61045660048036038101906104519190612e06565b610d94565b005b34801561046457600080fd5b5061047f600480360381019061047a9190612870565b61102b565b60405161048c9190612822565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190612870565b61117d565b6040516104c99190612f85565b60405180910390f35b3480156104de57600080fd5b506104f960048036038101906104f49190612fa7565b61127f565b604051610506919061276e565b60405180910390f35b34801561051b57600080fd5b5061053660048036038101906105319190612a8d565b611313565b005b6000610544600961140b565b905090565b600063cad96cca60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156105a157600190506105ad565b6105aa82611419565b90505b919050565b6060600080546105c190613016565b80601f01602080910402602001604051908101604052809291908181526020018280546105ed90613016565b801561063a5780601f1061060f5761010080835404028352916020019161063a565b820191906000526020600020905b81548152906001019060200180831161061d57829003601f168201915b5050505050905090565b600061064f826114fb565b61068e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610685906130ba565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106d4826109f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073c9061314c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610764611567565b73ffffffffffffffffffffffffffffffffffffffff16148061079357506107928161078d611567565b61127f565b5b6107d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c9906131de565b60405180910390fd5b6107dc838361156f565b505050565b6000600167ffffffffffffffff8111156107fe576107fd612bb7565b5b60405190808252806020026020018201604052801561083757816020015b6108246125a5565b81526020019060019003908161081c5790505b509050818160008151811061084f5761084e6131fe565b5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff16815250508281600081518110610892576108916131fe565b5b60200260200101516000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506108da8482611628565b50505050565b6108f16108eb611567565b82611827565b610930576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109279061329f565b60405180910390fd5b61093b838383611905565b505050565b610948611567565b73ffffffffffffffffffffffffffffffffffffffff16610966610c60565b73ffffffffffffffffffffffffffffffffffffffff16146109bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b39061330b565b60405180910390fd5b6000600a60146101000a81548160ff021916908315150217905550565b6109f483838360405180602001604052806000815250610d32565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a999061339d565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b139061342f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b6b611567565b73ffffffffffffffffffffffffffffffffffffffff16610b89610c60565b73ffffffffffffffffffffffffffffffffffffffff1614610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd69061330b565b60405180910390fd5b610be96000611b6c565b565b60086020528160005260406000208181548110610c0757600080fd5b90600052602060002001600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a90046bffffffffffffffffffffffff16905082565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610c9990613016565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc590613016565b8015610d125780601f10610ce757610100808354040283529160200191610d12565b820191906000526020600020905b815481529060010190602001808311610cf557829003601f168201915b5050505050905090565b610d2e610d27611567565b8383611c32565b5050565b610d43610d3d611567565b83611827565b610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d799061329f565b60405180910390fd5b610d8e84848484611d9f565b50505050565b6000610da0600961140b565b9050808314610de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddb9061349b565b60405180910390fd5b600a60149054906101000a900460ff16610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a90613507565b60405180910390fd5b814210610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90613573565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc906135df565b60405180910390fd5b6701aa535d3d0c0000341015610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2790613671565b60405180910390fd5b60006202e63047610f4191906136c0565b90506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826202e63090604051610f9090613725565b600060405180830381858888f193505050503d8060008114610fce576040519150601f19603f3d011682016040523d82523d6000602084013e610fd3565b606091505b5050905080611017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100e90613786565b60405180910390fd5b611022878787611dfb565b50505050505050565b6060611036826114fb565b611075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106c90613818565b60405180910390fd5b600060066000848152602001908152602001600020805461109590613016565b80601f01602080910402602001604051908101604052809291908181526020018280546110c190613016565b801561110e5780601f106110e35761010080835404028352916020019161110e565b820191906000526020600020905b8154815290600101906020018083116110f157829003601f168201915b50505050509050600061111f611e4d565b9050600081511415611135578192505050611178565b60008251111561116a578082604051602001611152929190613874565b60405160208183030381529060405292505050611178565b61117384611e64565b925050505b919050565b606060086000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611274578382906000526020600020016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681525050815260200190600101906111b2565b505050509050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61131b611567565b73ffffffffffffffffffffffffffffffffffffffff16611339610c60565b73ffffffffffffffffffffffffffffffffffffffff161461138f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113869061330b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f69061390a565b60405180910390fd5b61140881611b6c565b50565b600081600001549050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114e457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806114f457506114f382611f0b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166115e2836109f9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60005b815181101561181857600073ffffffffffffffffffffffffffffffffffffffff1682828151811061165f5761165e6131fe565b5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1614156116c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b990613976565b60405180910390fd5b60008282815181106116d7576116d66131fe565b5b6020026020010151602001516bffffffffffffffffffffffff161415611732576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611729906139e2565b60405180910390fd5b60086000848152602001908152602001600020828281518110611758576117576131fe565b5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050808061181090613a02565b91505061162b565b506118238282611f75565b5050565b6000611832826114fb565b611871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186890613abd565b60405180910390fd5b600061187c836109f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806118eb57508373ffffffffffffffffffffffffffffffffffffffff166118d384610644565b73ffffffffffffffffffffffffffffffffffffffff16145b806118fc57506118fb818561127f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611925826109f9565b73ffffffffffffffffffffffffffffffffffffffff161461197b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197290613b4f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e290613be1565b60405180910390fd5b6119f6838383611fb2565b611a0160008261156f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a5191906136c0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aa89190613c01565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b67838383611fb7565b505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9890613ca3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d92919061276e565b60405180910390a3505050565b611daa848484611905565b611db684848484611fbc565b611df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dec90613d35565b60405180910390fd5b50505050565b611e058382612144565b611e0f8183612162565b611e3e81600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e86107e1565b611e4860096121d6565b505050565b606060405180602001604052806000815250905090565b6060611e6f826114fb565b611eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea590613dc7565b60405180910390fd5b6000611eb8611e4d565b90506000815111611ed85760405180602001604052806000815250611f03565b80611ee2846121ec565b604051602001611ef3929190613874565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df8282604051611fa6929190613de7565b60405180910390a15050565b505050565b505050565b6000611fdd8473ffffffffffffffffffffffffffffffffffffffff1661234d565b15612137578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612006611567565b8786866040518563ffffffff1660e01b81526004016120289493929190613e6c565b6020604051808303816000875af192505050801561206457506040513d601f19601f820116820180604052508101906120619190613ecd565b60015b6120e7573d8060008114612094576040519150601f19603f3d011682016040523d82523d6000602084013e612099565b606091505b506000815114156120df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d690613d35565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061213c565b600190505b949350505050565b61215e828260405180602001604052806000815250612370565b5050565b61216b826114fb565b6121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a190613f6c565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906121d19291906125e3565b505050565b6001816000016000828254019250508190555050565b60606000821415612234576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612348565b600082905060005b6000821461226657808061224f90613a02565b915050600a8261225f9190613fbb565b915061223c565b60008167ffffffffffffffff81111561228257612281612bb7565b5b6040519080825280601f01601f1916602001820160405280156122b45781602001600182028036833780820191505090505b5090505b60008514612341576001826122cd91906136c0565b9150600a856122dc9190613fec565b60306122e89190613c01565b60f81b8183815181106122fe576122fd6131fe565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561233a9190613fbb565b94506122b8565b8093505050505b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b61237a83836123cb565b6123876000848484611fbc565b6123c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bd90613d35565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561243b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243290614069565b60405180910390fd5b612444816114fb565b15612484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247b906140d5565b60405180910390fd5b61249060008383611fb2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e09190613c01565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125a160008383611fb7565b5050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff1681525090565b8280546125ef90613016565b90600052602060002090601f0160209004810192826126115760008555612658565b82601f1061262a57805160ff1916838001178555612658565b82800160010185558215612658579182015b8281111561265757825182559160200191906001019061263c565b5b5090506126659190612669565b5090565b5b8082111561268257600081600090555060010161266a565b5090565b6000819050919050565b61269981612686565b82525050565b60006020820190506126b46000830184612690565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612703816126ce565b811461270e57600080fd5b50565b600081359050612720816126fa565b92915050565b60006020828403121561273c5761273b6126c4565b5b600061274a84828501612711565b91505092915050565b60008115159050919050565b61276881612753565b82525050565b6000602082019050612783600083018461275f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127c35780820151818401526020810190506127a8565b838111156127d2576000848401525b50505050565b6000601f19601f8301169050919050565b60006127f482612789565b6127fe8185612794565b935061280e8185602086016127a5565b612817816127d8565b840191505092915050565b6000602082019050818103600083015261283c81846127e9565b905092915050565b61284d81612686565b811461285857600080fd5b50565b60008135905061286a81612844565b92915050565b600060208284031215612886576128856126c4565b5b60006128948482850161285b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006128c88261289d565b9050919050565b6128d8816128bd565b82525050565b60006020820190506128f360008301846128cf565b92915050565b612902816128bd565b811461290d57600080fd5b50565b60008135905061291f816128f9565b92915050565b6000806040838503121561293c5761293b6126c4565b5b600061294a85828601612910565b925050602061295b8582860161285b565b9150509250929050565b60006129708261289d565b9050919050565b61298081612965565b811461298b57600080fd5b50565b60008135905061299d81612977565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6129c4816129a3565b81146129cf57600080fd5b50565b6000813590506129e1816129bb565b92915050565b600080600060608486031215612a00576129ff6126c4565b5b6000612a0e8682870161285b565b9350506020612a1f8682870161298e565b9250506040612a30868287016129d2565b9150509250925092565b600080600060608486031215612a5357612a526126c4565b5b6000612a6186828701612910565b9350506020612a7286828701612910565b9250506040612a838682870161285b565b9150509250925092565b600060208284031215612aa357612aa26126c4565b5b6000612ab184828501612910565b91505092915050565b60008060408385031215612ad157612ad06126c4565b5b6000612adf8582860161285b565b9250506020612af08582860161285b565b9150509250929050565b612b0381612965565b82525050565b612b12816129a3565b82525050565b6000604082019050612b2d6000830185612afa565b612b3a6020830184612b09565b9392505050565b612b4a81612753565b8114612b5557600080fd5b50565b600081359050612b6781612b41565b92915050565b60008060408385031215612b8457612b836126c4565b5b6000612b9285828601612910565b9250506020612ba385828601612b58565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612bef826127d8565b810181811067ffffffffffffffff82111715612c0e57612c0d612bb7565b5b80604052505050565b6000612c216126ba565b9050612c2d8282612be6565b919050565b600067ffffffffffffffff821115612c4d57612c4c612bb7565b5b612c56826127d8565b9050602081019050919050565b82818337600083830152505050565b6000612c85612c8084612c32565b612c17565b905082815260208101848484011115612ca157612ca0612bb2565b5b612cac848285612c63565b509392505050565b600082601f830112612cc957612cc8612bad565b5b8135612cd9848260208601612c72565b91505092915050565b60008060008060808587031215612cfc57612cfb6126c4565b5b6000612d0a87828801612910565b9450506020612d1b87828801612910565b9350506040612d2c8782880161285b565b925050606085013567ffffffffffffffff811115612d4d57612d4c6126c9565b5b612d5987828801612cb4565b91505092959194509250565b600067ffffffffffffffff821115612d8057612d7f612bb7565b5b612d89826127d8565b9050602081019050919050565b6000612da9612da484612d65565b612c17565b905082815260208101848484011115612dc557612dc4612bb2565b5b612dd0848285612c63565b509392505050565b600082601f830112612ded57612dec612bad565b5b8135612dfd848260208601612d96565b91505092915050565b60008060008060808587031215612e2057612e1f6126c4565b5b6000612e2e87828801612910565b945050602085013567ffffffffffffffff811115612e4f57612e4e6126c9565b5b612e5b87828801612dd8565b9350506040612e6c8782880161285b565b9250506060612e7d8782880161285b565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612ebe81612965565b82525050565b612ecd816129a3565b82525050565b604082016000820151612ee96000850182612eb5565b506020820151612efc6020850182612ec4565b50505050565b6000612f0e8383612ed3565b60408301905092915050565b6000602082019050919050565b6000612f3282612e89565b612f3c8185612e94565b9350612f4783612ea5565b8060005b83811015612f78578151612f5f8882612f02565b9750612f6a83612f1a565b925050600181019050612f4b565b5085935050505092915050565b60006020820190508181036000830152612f9f8184612f27565b905092915050565b60008060408385031215612fbe57612fbd6126c4565b5b6000612fcc85828601612910565b9250506020612fdd85828601612910565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061302e57607f821691505b6020821081141561304257613041612fe7565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006130a4602c83612794565b91506130af82613048565b604082019050919050565b600060208201905081810360008301526130d381613097565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613136602183612794565b9150613141826130da565b604082019050919050565b6000602082019050818103600083015261316581613129565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006131c8603883612794565b91506131d38261316c565b604082019050919050565b600060208201905081810360008301526131f7816131bb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613289603183612794565b91506132948261322d565b604082019050919050565b600060208201905081810360008301526132b88161327c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006132f5602083612794565b9150613300826132bf565b602082019050919050565b60006020820190508181036000830152613324816132e8565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613387602983612794565b91506133928261332b565b604082019050919050565b600060208201905081810360008301526133b68161337a565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613419602a83612794565b9150613424826133bd565b604082019050919050565b600060208201905081810360008301526134488161340c565b9050919050565b7f544f4b454e204944204d49534d41544348000000000000000000000000000000600082015250565b6000613485601183612794565b91506134908261344f565b602082019050919050565b600060208201905081810360008301526134b481613478565b9050919050565b7f4d494e54494e472044495341424c454400000000000000000000000000000000600082015250565b60006134f1601083612794565b91506134fc826134bb565b602082019050919050565b60006020820190508181036000830152613520816134e4565b9050919050565b7f5349474e4544205452414e53414354494f4e2045585049524544000000000000600082015250565b600061355d601a83612794565b915061356882613527565b602082019050919050565b6000602082019050818103600083015261358c81613550565b9050919050565b7f45434453413a20494e56414c4944205349474e41545552450000000000000000600082015250565b60006135c9601883612794565b91506135d482613593565b602082019050919050565b600060208201905081810360008301526135f8816135bc565b9050919050565b7f5041594d454e54204641494c454420284e4f5420454e4f55474820455448455260008201527f2900000000000000000000000000000000000000000000000000000000000000602082015250565b600061365b602183612794565b9150613666826135ff565b604082019050919050565b6000602082019050818103600083015261368a8161364e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006136cb82612686565b91506136d683612686565b9250828210156136e9576136e8613691565b5b828203905092915050565b600081905092915050565b50565b600061370f6000836136f4565b915061371a826136ff565b600082019050919050565b600061373082613702565b9150819050919050565b7f5041594d454e54204641494c45442028554e4b4e4f574e290000000000000000600082015250565b6000613770601883612794565b915061377b8261373a565b602082019050919050565b6000602082019050818103600083015261379f81613763565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000613802603183612794565b915061380d826137a6565b604082019050919050565b60006020820190508181036000830152613831816137f5565b9050919050565b600081905092915050565b600061384e82612789565b6138588185613838565b93506138688185602086016127a5565b80840191505092915050565b60006138808285613843565b915061388c8284613843565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138f4602683612794565b91506138ff82613898565b604082019050919050565b60006020820190508181036000830152613923816138e7565b9050919050565b7f526563697069656e742073686f756c642062652070726573656e740000000000600082015250565b6000613960601b83612794565b915061396b8261392a565b602082019050919050565b6000602082019050818103600083015261398f81613953565b9050919050565b7f526f79616c74792076616c75652073686f756c6420626520706f736974697665600082015250565b60006139cc602083612794565b91506139d782613996565b602082019050919050565b600060208201905081810360008301526139fb816139bf565b9050919050565b6000613a0d82612686565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a4057613a3f613691565b5b600182019050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613aa7602c83612794565b9150613ab282613a4b565b604082019050919050565b60006020820190508181036000830152613ad681613a9a565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613b39602583612794565b9150613b4482613add565b604082019050919050565b60006020820190508181036000830152613b6881613b2c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613bcb602483612794565b9150613bd682613b6f565b604082019050919050565b60006020820190508181036000830152613bfa81613bbe565b9050919050565b6000613c0c82612686565b9150613c1783612686565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c4c57613c4b613691565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613c8d601983612794565b9150613c9882613c57565b602082019050919050565b60006020820190508181036000830152613cbc81613c80565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613d1f603283612794565b9150613d2a82613cc3565b604082019050919050565b60006020820190508181036000830152613d4e81613d12565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613db1602f83612794565b9150613dbc82613d55565b604082019050919050565b60006020820190508181036000830152613de081613da4565b9050919050565b6000604082019050613dfc6000830185612690565b8181036020830152613e0e8184612f27565b90509392505050565b600081519050919050565b600082825260208201905092915050565b6000613e3e82613e17565b613e488185613e22565b9350613e588185602086016127a5565b613e61816127d8565b840191505092915050565b6000608082019050613e8160008301876128cf565b613e8e60208301866128cf565b613e9b6040830185612690565b8181036060830152613ead8184613e33565b905095945050505050565b600081519050613ec7816126fa565b92915050565b600060208284031215613ee357613ee26126c4565b5b6000613ef184828501613eb8565b91505092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000613f56602e83612794565b9150613f6182613efa565b604082019050919050565b60006020820190508181036000830152613f8581613f49565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613fc682612686565b9150613fd183612686565b925082613fe157613fe0613f8c565b5b828204905092915050565b6000613ff782612686565b915061400283612686565b92508261401257614011613f8c565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614053602083612794565b915061405e8261401d565b602082019050919050565b6000602082019050818103600083015261408281614046565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006140bf601c83612794565b91506140ca82614089565b602082019050919050565b600060208201905081810360008301526140ee816140b2565b905091905056fea264697066735822122020f3b14437ea8f520a8d5af042ad448fb4aea7365f2ebfdf6ddd67c117ff685e64736f6c634300080b0033
Deployed Bytecode
0x6080604052600436106101355760003560e01c8063715018a6116100ab578063b88d4fde1161006f578063b88d4fde14610413578063b9f63fc81461043c578063c87b56dd14610458578063cad96cca14610495578063e985e9c5146104d2578063f2fde38b1461050f57610135565b8063715018a61461033f5780638924af74146103565780638da5cb5b1461039457806395d89b41146103bf578063a22cb465146103ea57610135565b8063143094db116100fd578063143094db1461023357806323b872dd1461025c5780632f2770db1461028557806342842e0e1461029c5780636352211e146102c557806370a082311461030257610135565b8063010a38f51461013a57806301ffc9a71461016557806306fdde03146101a2578063081812fc146101cd578063095ea7b31461020a575b600080fd5b34801561014657600080fd5b5061014f610538565b60405161015c919061269f565b60405180910390f35b34801561017157600080fd5b5061018c60048036038101906101879190612726565b610549565b604051610199919061276e565b60405180910390f35b3480156101ae57600080fd5b506101b76105b2565b6040516101c49190612822565b60405180910390f35b3480156101d957600080fd5b506101f460048036038101906101ef9190612870565b610644565b60405161020191906128de565b60405180910390f35b34801561021657600080fd5b50610231600480360381019061022c9190612925565b6106c9565b005b34801561023f57600080fd5b5061025a600480360381019061025591906129e7565b6107e1565b005b34801561026857600080fd5b50610283600480360381019061027e9190612a3a565b6108e0565b005b34801561029157600080fd5b5061029a610940565b005b3480156102a857600080fd5b506102c360048036038101906102be9190612a3a565b6109d9565b005b3480156102d157600080fd5b506102ec60048036038101906102e79190612870565b6109f9565b6040516102f991906128de565b60405180910390f35b34801561030e57600080fd5b5061032960048036038101906103249190612a8d565b610aab565b604051610336919061269f565b60405180910390f35b34801561034b57600080fd5b50610354610b63565b005b34801561036257600080fd5b5061037d60048036038101906103789190612aba565b610beb565b60405161038b929190612b18565b60405180910390f35b3480156103a057600080fd5b506103a9610c60565b6040516103b691906128de565b60405180910390f35b3480156103cb57600080fd5b506103d4610c8a565b6040516103e19190612822565b60405180910390f35b3480156103f657600080fd5b50610411600480360381019061040c9190612b6d565b610d1c565b005b34801561041f57600080fd5b5061043a60048036038101906104359190612ce2565b610d32565b005b61045660048036038101906104519190612e06565b610d94565b005b34801561046457600080fd5b5061047f600480360381019061047a9190612870565b61102b565b60405161048c9190612822565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190612870565b61117d565b6040516104c99190612f85565b60405180910390f35b3480156104de57600080fd5b506104f960048036038101906104f49190612fa7565b61127f565b604051610506919061276e565b60405180910390f35b34801561051b57600080fd5b5061053660048036038101906105319190612a8d565b611313565b005b6000610544600961140b565b905090565b600063cad96cca60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156105a157600190506105ad565b6105aa82611419565b90505b919050565b6060600080546105c190613016565b80601f01602080910402602001604051908101604052809291908181526020018280546105ed90613016565b801561063a5780601f1061060f5761010080835404028352916020019161063a565b820191906000526020600020905b81548152906001019060200180831161061d57829003601f168201915b5050505050905090565b600061064f826114fb565b61068e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610685906130ba565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106d4826109f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073c9061314c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610764611567565b73ffffffffffffffffffffffffffffffffffffffff16148061079357506107928161078d611567565b61127f565b5b6107d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c9906131de565b60405180910390fd5b6107dc838361156f565b505050565b6000600167ffffffffffffffff8111156107fe576107fd612bb7565b5b60405190808252806020026020018201604052801561083757816020015b6108246125a5565b81526020019060019003908161081c5790505b509050818160008151811061084f5761084e6131fe565b5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff16815250508281600081518110610892576108916131fe565b5b60200260200101516000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506108da8482611628565b50505050565b6108f16108eb611567565b82611827565b610930576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109279061329f565b60405180910390fd5b61093b838383611905565b505050565b610948611567565b73ffffffffffffffffffffffffffffffffffffffff16610966610c60565b73ffffffffffffffffffffffffffffffffffffffff16146109bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b39061330b565b60405180910390fd5b6000600a60146101000a81548160ff021916908315150217905550565b6109f483838360405180602001604052806000815250610d32565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a999061339d565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b139061342f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b6b611567565b73ffffffffffffffffffffffffffffffffffffffff16610b89610c60565b73ffffffffffffffffffffffffffffffffffffffff1614610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd69061330b565b60405180910390fd5b610be96000611b6c565b565b60086020528160005260406000208181548110610c0757600080fd5b90600052602060002001600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a90046bffffffffffffffffffffffff16905082565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610c9990613016565b80601f0160208091040260200160405190810160405280929190818152602001828054610cc590613016565b8015610d125780601f10610ce757610100808354040283529160200191610d12565b820191906000526020600020905b815481529060010190602001808311610cf557829003601f168201915b5050505050905090565b610d2e610d27611567565b8383611c32565b5050565b610d43610d3d611567565b83611827565b610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d799061329f565b60405180910390fd5b610d8e84848484611d9f565b50505050565b6000610da0600961140b565b9050808314610de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddb9061349b565b60405180910390fd5b600a60149054906101000a900460ff16610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a90613507565b60405180910390fd5b814210610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90613573565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc906135df565b60405180910390fd5b6701aa535d3d0c0000341015610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2790613671565b60405180910390fd5b60006202e63047610f4191906136c0565b90506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826202e63090604051610f9090613725565b600060405180830381858888f193505050503d8060008114610fce576040519150601f19603f3d011682016040523d82523d6000602084013e610fd3565b606091505b5050905080611017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100e90613786565b60405180910390fd5b611022878787611dfb565b50505050505050565b6060611036826114fb565b611075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106c90613818565b60405180910390fd5b600060066000848152602001908152602001600020805461109590613016565b80601f01602080910402602001604051908101604052809291908181526020018280546110c190613016565b801561110e5780601f106110e35761010080835404028352916020019161110e565b820191906000526020600020905b8154815290600101906020018083116110f157829003601f168201915b50505050509050600061111f611e4d565b9050600081511415611135578192505050611178565b60008251111561116a578082604051602001611152929190613874565b60405160208183030381529060405292505050611178565b61117384611e64565b925050505b919050565b606060086000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611274578382906000526020600020016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681525050815260200190600101906111b2565b505050509050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61131b611567565b73ffffffffffffffffffffffffffffffffffffffff16611339610c60565b73ffffffffffffffffffffffffffffffffffffffff161461138f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113869061330b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f69061390a565b60405180910390fd5b61140881611b6c565b50565b600081600001549050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114e457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806114f457506114f382611f0b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166115e2836109f9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60005b815181101561181857600073ffffffffffffffffffffffffffffffffffffffff1682828151811061165f5761165e6131fe565b5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1614156116c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b990613976565b60405180910390fd5b60008282815181106116d7576116d66131fe565b5b6020026020010151602001516bffffffffffffffffffffffff161415611732576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611729906139e2565b60405180910390fd5b60086000848152602001908152602001600020828281518110611758576117576131fe565b5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050808061181090613a02565b91505061162b565b506118238282611f75565b5050565b6000611832826114fb565b611871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186890613abd565b60405180910390fd5b600061187c836109f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806118eb57508373ffffffffffffffffffffffffffffffffffffffff166118d384610644565b73ffffffffffffffffffffffffffffffffffffffff16145b806118fc57506118fb818561127f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611925826109f9565b73ffffffffffffffffffffffffffffffffffffffff161461197b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197290613b4f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e290613be1565b60405180910390fd5b6119f6838383611fb2565b611a0160008261156f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a5191906136c0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aa89190613c01565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b67838383611fb7565b505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9890613ca3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d92919061276e565b60405180910390a3505050565b611daa848484611905565b611db684848484611fbc565b611df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dec90613d35565b60405180910390fd5b50505050565b611e058382612144565b611e0f8183612162565b611e3e81600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e86107e1565b611e4860096121d6565b505050565b606060405180602001604052806000815250905090565b6060611e6f826114fb565b611eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea590613dc7565b60405180910390fd5b6000611eb8611e4d565b90506000815111611ed85760405180602001604052806000815250611f03565b80611ee2846121ec565b604051602001611ef3929190613874565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df8282604051611fa6929190613de7565b60405180910390a15050565b505050565b505050565b6000611fdd8473ffffffffffffffffffffffffffffffffffffffff1661234d565b15612137578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612006611567565b8786866040518563ffffffff1660e01b81526004016120289493929190613e6c565b6020604051808303816000875af192505050801561206457506040513d601f19601f820116820180604052508101906120619190613ecd565b60015b6120e7573d8060008114612094576040519150601f19603f3d011682016040523d82523d6000602084013e612099565b606091505b506000815114156120df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d690613d35565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061213c565b600190505b949350505050565b61215e828260405180602001604052806000815250612370565b5050565b61216b826114fb565b6121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a190613f6c565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906121d19291906125e3565b505050565b6001816000016000828254019250508190555050565b60606000821415612234576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612348565b600082905060005b6000821461226657808061224f90613a02565b915050600a8261225f9190613fbb565b915061223c565b60008167ffffffffffffffff81111561228257612281612bb7565b5b6040519080825280601f01601f1916602001820160405280156122b45781602001600182028036833780820191505090505b5090505b60008514612341576001826122cd91906136c0565b9150600a856122dc9190613fec565b60306122e89190613c01565b60f81b8183815181106122fe576122fd6131fe565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561233a9190613fbb565b94506122b8565b8093505050505b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b61237a83836123cb565b6123876000848484611fbc565b6123c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bd90613d35565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561243b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243290614069565b60405180910390fd5b612444816114fb565b15612484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247b906140d5565b60405180910390fd5b61249060008383611fb2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e09190613c01565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125a160008383611fb7565b5050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff1681525090565b8280546125ef90613016565b90600052602060002090601f0160209004810192826126115760008555612658565b82601f1061262a57805160ff1916838001178555612658565b82800160010185558215612658579182015b8281111561265757825182559160200191906001019061263c565b5b5090506126659190612669565b5090565b5b8082111561268257600081600090555060010161266a565b5090565b6000819050919050565b61269981612686565b82525050565b60006020820190506126b46000830184612690565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612703816126ce565b811461270e57600080fd5b50565b600081359050612720816126fa565b92915050565b60006020828403121561273c5761273b6126c4565b5b600061274a84828501612711565b91505092915050565b60008115159050919050565b61276881612753565b82525050565b6000602082019050612783600083018461275f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127c35780820151818401526020810190506127a8565b838111156127d2576000848401525b50505050565b6000601f19601f8301169050919050565b60006127f482612789565b6127fe8185612794565b935061280e8185602086016127a5565b612817816127d8565b840191505092915050565b6000602082019050818103600083015261283c81846127e9565b905092915050565b61284d81612686565b811461285857600080fd5b50565b60008135905061286a81612844565b92915050565b600060208284031215612886576128856126c4565b5b60006128948482850161285b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006128c88261289d565b9050919050565b6128d8816128bd565b82525050565b60006020820190506128f360008301846128cf565b92915050565b612902816128bd565b811461290d57600080fd5b50565b60008135905061291f816128f9565b92915050565b6000806040838503121561293c5761293b6126c4565b5b600061294a85828601612910565b925050602061295b8582860161285b565b9150509250929050565b60006129708261289d565b9050919050565b61298081612965565b811461298b57600080fd5b50565b60008135905061299d81612977565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6129c4816129a3565b81146129cf57600080fd5b50565b6000813590506129e1816129bb565b92915050565b600080600060608486031215612a00576129ff6126c4565b5b6000612a0e8682870161285b565b9350506020612a1f8682870161298e565b9250506040612a30868287016129d2565b9150509250925092565b600080600060608486031215612a5357612a526126c4565b5b6000612a6186828701612910565b9350506020612a7286828701612910565b9250506040612a838682870161285b565b9150509250925092565b600060208284031215612aa357612aa26126c4565b5b6000612ab184828501612910565b91505092915050565b60008060408385031215612ad157612ad06126c4565b5b6000612adf8582860161285b565b9250506020612af08582860161285b565b9150509250929050565b612b0381612965565b82525050565b612b12816129a3565b82525050565b6000604082019050612b2d6000830185612afa565b612b3a6020830184612b09565b9392505050565b612b4a81612753565b8114612b5557600080fd5b50565b600081359050612b6781612b41565b92915050565b60008060408385031215612b8457612b836126c4565b5b6000612b9285828601612910565b9250506020612ba385828601612b58565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612bef826127d8565b810181811067ffffffffffffffff82111715612c0e57612c0d612bb7565b5b80604052505050565b6000612c216126ba565b9050612c2d8282612be6565b919050565b600067ffffffffffffffff821115612c4d57612c4c612bb7565b5b612c56826127d8565b9050602081019050919050565b82818337600083830152505050565b6000612c85612c8084612c32565b612c17565b905082815260208101848484011115612ca157612ca0612bb2565b5b612cac848285612c63565b509392505050565b600082601f830112612cc957612cc8612bad565b5b8135612cd9848260208601612c72565b91505092915050565b60008060008060808587031215612cfc57612cfb6126c4565b5b6000612d0a87828801612910565b9450506020612d1b87828801612910565b9350506040612d2c8782880161285b565b925050606085013567ffffffffffffffff811115612d4d57612d4c6126c9565b5b612d5987828801612cb4565b91505092959194509250565b600067ffffffffffffffff821115612d8057612d7f612bb7565b5b612d89826127d8565b9050602081019050919050565b6000612da9612da484612d65565b612c17565b905082815260208101848484011115612dc557612dc4612bb2565b5b612dd0848285612c63565b509392505050565b600082601f830112612ded57612dec612bad565b5b8135612dfd848260208601612d96565b91505092915050565b60008060008060808587031215612e2057612e1f6126c4565b5b6000612e2e87828801612910565b945050602085013567ffffffffffffffff811115612e4f57612e4e6126c9565b5b612e5b87828801612dd8565b9350506040612e6c8782880161285b565b9250506060612e7d8782880161285b565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612ebe81612965565b82525050565b612ecd816129a3565b82525050565b604082016000820151612ee96000850182612eb5565b506020820151612efc6020850182612ec4565b50505050565b6000612f0e8383612ed3565b60408301905092915050565b6000602082019050919050565b6000612f3282612e89565b612f3c8185612e94565b9350612f4783612ea5565b8060005b83811015612f78578151612f5f8882612f02565b9750612f6a83612f1a565b925050600181019050612f4b565b5085935050505092915050565b60006020820190508181036000830152612f9f8184612f27565b905092915050565b60008060408385031215612fbe57612fbd6126c4565b5b6000612fcc85828601612910565b9250506020612fdd85828601612910565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061302e57607f821691505b6020821081141561304257613041612fe7565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006130a4602c83612794565b91506130af82613048565b604082019050919050565b600060208201905081810360008301526130d381613097565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613136602183612794565b9150613141826130da565b604082019050919050565b6000602082019050818103600083015261316581613129565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006131c8603883612794565b91506131d38261316c565b604082019050919050565b600060208201905081810360008301526131f7816131bb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613289603183612794565b91506132948261322d565b604082019050919050565b600060208201905081810360008301526132b88161327c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006132f5602083612794565b9150613300826132bf565b602082019050919050565b60006020820190508181036000830152613324816132e8565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613387602983612794565b91506133928261332b565b604082019050919050565b600060208201905081810360008301526133b68161337a565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613419602a83612794565b9150613424826133bd565b604082019050919050565b600060208201905081810360008301526134488161340c565b9050919050565b7f544f4b454e204944204d49534d41544348000000000000000000000000000000600082015250565b6000613485601183612794565b91506134908261344f565b602082019050919050565b600060208201905081810360008301526134b481613478565b9050919050565b7f4d494e54494e472044495341424c454400000000000000000000000000000000600082015250565b60006134f1601083612794565b91506134fc826134bb565b602082019050919050565b60006020820190508181036000830152613520816134e4565b9050919050565b7f5349474e4544205452414e53414354494f4e2045585049524544000000000000600082015250565b600061355d601a83612794565b915061356882613527565b602082019050919050565b6000602082019050818103600083015261358c81613550565b9050919050565b7f45434453413a20494e56414c4944205349474e41545552450000000000000000600082015250565b60006135c9601883612794565b91506135d482613593565b602082019050919050565b600060208201905081810360008301526135f8816135bc565b9050919050565b7f5041594d454e54204641494c454420284e4f5420454e4f55474820455448455260008201527f2900000000000000000000000000000000000000000000000000000000000000602082015250565b600061365b602183612794565b9150613666826135ff565b604082019050919050565b6000602082019050818103600083015261368a8161364e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006136cb82612686565b91506136d683612686565b9250828210156136e9576136e8613691565b5b828203905092915050565b600081905092915050565b50565b600061370f6000836136f4565b915061371a826136ff565b600082019050919050565b600061373082613702565b9150819050919050565b7f5041594d454e54204641494c45442028554e4b4e4f574e290000000000000000600082015250565b6000613770601883612794565b915061377b8261373a565b602082019050919050565b6000602082019050818103600083015261379f81613763565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000613802603183612794565b915061380d826137a6565b604082019050919050565b60006020820190508181036000830152613831816137f5565b9050919050565b600081905092915050565b600061384e82612789565b6138588185613838565b93506138688185602086016127a5565b80840191505092915050565b60006138808285613843565b915061388c8284613843565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138f4602683612794565b91506138ff82613898565b604082019050919050565b60006020820190508181036000830152613923816138e7565b9050919050565b7f526563697069656e742073686f756c642062652070726573656e740000000000600082015250565b6000613960601b83612794565b915061396b8261392a565b602082019050919050565b6000602082019050818103600083015261398f81613953565b9050919050565b7f526f79616c74792076616c75652073686f756c6420626520706f736974697665600082015250565b60006139cc602083612794565b91506139d782613996565b602082019050919050565b600060208201905081810360008301526139fb816139bf565b9050919050565b6000613a0d82612686565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a4057613a3f613691565b5b600182019050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613aa7602c83612794565b9150613ab282613a4b565b604082019050919050565b60006020820190508181036000830152613ad681613a9a565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613b39602583612794565b9150613b4482613add565b604082019050919050565b60006020820190508181036000830152613b6881613b2c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613bcb602483612794565b9150613bd682613b6f565b604082019050919050565b60006020820190508181036000830152613bfa81613bbe565b9050919050565b6000613c0c82612686565b9150613c1783612686565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c4c57613c4b613691565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613c8d601983612794565b9150613c9882613c57565b602082019050919050565b60006020820190508181036000830152613cbc81613c80565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613d1f603283612794565b9150613d2a82613cc3565b604082019050919050565b60006020820190508181036000830152613d4e81613d12565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613db1602f83612794565b9150613dbc82613d55565b604082019050919050565b60006020820190508181036000830152613de081613da4565b9050919050565b6000604082019050613dfc6000830185612690565b8181036020830152613e0e8184612f27565b90509392505050565b600081519050919050565b600082825260208201905092915050565b6000613e3e82613e17565b613e488185613e22565b9350613e588185602086016127a5565b613e61816127d8565b840191505092915050565b6000608082019050613e8160008301876128cf565b613e8e60208301866128cf565b613e9b6040830185612690565b8181036060830152613ead8184613e33565b905095945050505050565b600081519050613ec7816126fa565b92915050565b600060208284031215613ee357613ee26126c4565b5b6000613ef184828501613eb8565b91505092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000613f56602e83612794565b9150613f6182613efa565b604082019050919050565b60006020820190508181036000830152613f8581613f49565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613fc682612686565b9150613fd183612686565b925082613fe157613fe0613f8c565b5b828204905092915050565b6000613ff782612686565b915061400283612686565b92508261401257614011613f8c565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614053602083612794565b915061405e8261401d565b602082019050919050565b6000602082019050818103600083015261408281614046565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006140bf601c83612794565b91506140ca82614089565b602082019050919050565b600060208201905081810360008301526140ee816140b2565b905091905056fea264697066735822122020f3b14437ea8f520a8d5af042ad448fb4aea7365f2ebfdf6ddd67c117ff685e64736f6c634300080b0033
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.