Address Details
contract
0x01E833861Eb2Ed9e8f4F88e3fEEe555d8a993640
- Contract Name
- RandomMarketPlaceV2
- Creator
- 0x8b2f36–66963a at 0xfa50b7–730392
- Balance
- 0 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- 0 Transactions
- Transfers
- 0 Transfers
- Gas Used
- Fetching gas used...
- Last Balance Update
- 15819346
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- RandomMarketPlaceV2
- Optimization enabled
- false
- Compiler version
- v0.8.3+commit.8d00100c
- EVM Version
- istanbul
- Verified at
- 2022-10-26T06:12:42.699658Z
contracts/MarketPlace/RandomMarketPlaceV2.sol
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.8.3; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "hardhat/console.sol"; import "./InterfaceV2.sol"; import "./MarketPlaceFeeAPI.sol"; import "./MarketPlaceNFTAPI.sol"; import {ERC1155Upgradeable} from "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol"; import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; contract RandomMarketPlaceV2 is InterfaceV2, MarketPlaceFeeAPI, MarketPlaceNFTAPI, OwnableUpgradeable, ReentrancyGuard, ERC1155Upgradeable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableSet for EnumerableSet.AddressSet; struct TokenBid { EnumerableSet.AddressSet bidders; mapping(address => Bid) bids; } bool private _isListingAndBidEnabled = true; mapping(uint256 => Listing) private _tokenListings; EnumerableSet.UintSet private _tokenIdWithListing; mapping(uint256 => TokenBid) private _tokenBids; EnumerableSet.UintSet private _tokenIdWithBid; EnumerableSet.AddressSet private _emptyBidders; uint256[] private _tempTokenIdStorage; // Storage to assist cleaning address[] private _tempBidderStorage; // Storage to assist cleaning bids constructor() public { } function initializeWithERC721( string memory erc721Name_, address _erc721Address, address _paymentTokenAddress, address _owner ) public initializer { __ERC1155_init(""); initializeNFTWithERC721(erc721Name_, _erc721Address, _paymentTokenAddress); initializeFee(_owner); _isListingAndBidEnabled = true; } function initializeWithERC1155( string memory erc1155Name_, address _erc1155Address, address _paymentTokenAddress, address _owner ) public initializer { __ERC1155_init(""); initializeNFTWithERC1155(erc1155Name_, _erc1155Address, _paymentTokenAddress); initializeFee(_owner); _isListingAndBidEnabled = true; } modifier onlyMarketplaceOpen() { require(_isListingAndBidEnabled, "Listing and bid are not enabled"); _; } function _isListingValid(Listing memory listing) private view returns (bool) { if ( _isTokenOwner(listing.tokenId, listing.seller) && (_isTokenApproved(listing.tokenId) || _isAllTokenApproved(listing.seller)) && listing.listingPrice > 0) { return true; } } function getTokenListing(uint256 tokenId) public view returns (Listing memory) { Listing memory listing = _tokenListings[tokenId]; if (_isListingValid(listing)) { return listing; } } function getTokenListings(uint256 from, uint256 size) public view returns (Listing[] memory) { if (from < _tokenIdWithListing.length() && size > 0) { uint256 querySize = size; if ((from + size) > _tokenIdWithListing.length()) { querySize = _tokenIdWithListing.length() - from; } Listing[] memory listings = new Listing[](querySize); for (uint256 i = 0; i < querySize; i++) { Listing memory listing = _tokenListings[_tokenIdWithListing.at(i + from)]; if (_isListingValid(listing)) { listings[i] = listing; } } return listings; } } function getAllTokenListings() external view returns (Listing[] memory) { return getTokenListings(0, _tokenIdWithListing.length()); } function _delistToken(uint256 tokenId) private { if (_tokenIdWithListing.contains(tokenId)) { delete _tokenListings[tokenId]; _tokenIdWithListing.remove(tokenId); } } /** * @dev List token for sale * @param tokenId erc721 token Id * @param value min price to sell the token */ function listToken( address sender, uint256 tokenId, uint256 value ) external onlyMarketplaceOpen returns ( address, uint256 ) { console.log("sender:", sender); require(value > 0, "Please list for more than 0 or use the transfer function"); require(_isTokenOwner(tokenId, sender), "Only token owner can list token"); require( _isTokenApproved(tokenId) || _isAllTokenApproved(sender), "This token is not allowed to transfer by this contract" ); _tokenListings[tokenId] = Listing(tokenId, value, sender); _tokenIdWithListing.add(tokenId); return ( sender, value); } /** * @dev change price for already listed token.l * Must have a valid listing * msg.sender must not the owner of token */ function changePrice(address sender,uint256 tokenId, uint256 newPrice) external nonReentrant { Listing memory listing = getTokenListing(tokenId); // Get valid listing require(_isTokenOwner(tokenId, sender), "Only token owner can change price of token"); require(listing.seller != address(0), "Token is not for sale"); // Listing not valid require( newPrice >= 0, "The value send is below zero" ); _tokenListings[tokenId].listingPrice = newPrice; } /** * @dev See {INFTKEYMarketPlaceV1-delistToken}. * msg.sender must be the seller of the listing record */ function delistToken(address sender, uint256 tokenId) external { require(_tokenListings[tokenId].seller == sender, "Only token seller can delist token"); _delistToken(tokenId); } /** * @dev See {INFTKEYMarketPlaceV1-buyToken}. * Must have a valid listing * msg.sender must not the owner of token * msg.value must be at least sell price plus fees */ function buyTokenPrepare(address sender, uint256 tokenId, uint256 value) external onlyDev returns ( address, address, address, address ) { Listing memory listing = getTokenListing(tokenId); // Get valid listing require(listing.seller != address(0), "Token is not for sale"); // Listing not valid require(!_isTokenOwner(tokenId, sender), "Token owner can't buy their own token"); require( value >= listing.listingPrice, "The value send is below sale price plus fees" ); return ( listing.seller, maketPlaceFeeAddress, nftCreaterAddress, nftProducerAddress ); } function buyTokenComplete(address sender, uint256 tokenId) external onlyDev { Listing memory listing = getTokenListing(tokenId); // Get valid listing nftTransferFrom(listing.seller, sender, tokenId); // Remove token listing _delistToken(tokenId); _removeBidOfBidder(tokenId, sender); } /** * @dev Check if an bid is valid or not * Bidder must not be the owner * Bidder must give the contract allowance same or more than bid price * Bid price must > 0 * Bid mustn't been expired */ function _isBidValid(Bid memory bid) private view returns (bool) { if ( !_isTokenOwner(bid.tokenId, bid.bidder) && bid.bidPrice > 0) { return true; } } /** * @dev See {INFTKEYMarketPlaceV1-getBidderTokenBid}. */ function getBidderTokenBid(uint256 tokenId, address bidder) public view returns (Bid memory) { Bid memory bid = _tokenBids[tokenId].bids[bidder]; if (_isBidValid(bid)) { return bid; } } /** * @dev See {INFTKEYMarketPlaceV1-getTokenBids}. */ function getTokenBids(uint256 tokenId) external view returns (Bid[] memory) { Bid[] memory bids = new Bid[](_tokenBids[tokenId].bidders.length()); for (uint256 i; i < _tokenBids[tokenId].bidders.length(); i++) { address bidder = _tokenBids[tokenId].bidders.at(i); Bid memory bid = _tokenBids[tokenId].bids[bidder]; if (_isBidValid(bid)) { bids[i] = bid; } } return bids; } /** * @dev See {INFTKEYMarketPlaceV1-getTokenHighestBid}. */ function getTokenHighestBid(uint256 tokenId) public view returns (Bid memory) { Bid memory highestBid = Bid(tokenId, 0, address(0)); for (uint256 i; i < _tokenBids[tokenId].bidders.length(); i++) { address bidder = _tokenBids[tokenId].bidders.at(i); Bid memory bid = _tokenBids[tokenId].bids[bidder]; if (_isBidValid(bid) && bid.bidPrice > highestBid.bidPrice) { highestBid = bid; } } return highestBid; } /** * @dev See {INFTKEYMarketPlaceV1-getTokenHighestBids}. */ function getTokenHighestBids(uint256 from, uint256 size) public view returns (Bid[] memory) { if (from < _tokenIdWithBid.length() && size > 0) { uint256 querySize = size; if ((from + size) > _tokenIdWithBid.length()) { querySize = _tokenIdWithBid.length() - from; } Bid[] memory highestBids = new Bid[](querySize); for (uint256 i = 0; i < querySize; i++) { highestBids[i] = getTokenHighestBid(_tokenIdWithBid.at(i + from)); } return highestBids; } } /** * @dev See {INFTKEYMarketPlaceV1-getAllTokenHighestBids}. */ function getAllTokenHighestBids() external view returns (Bid[] memory) { return getTokenHighestBids(0, _tokenIdWithBid.length()); } /** * @dev remove a bid of a bidder * @param tokenId erc721 token Id * @param bidder bidder address */ function _removeBidOfBidder(uint256 tokenId, address bidder) private { if (_tokenBids[tokenId].bidders.contains(bidder)) { // Step 1: delete the bid and the address delete _tokenBids[tokenId].bids[bidder]; _tokenBids[tokenId].bidders.remove(bidder); // Step 2: if no bid left if (_tokenBids[tokenId].bidders.length() == 0) { _tokenIdWithBid.remove(tokenId); } } } /** * @dev See {INFTKEYMarketPlaceV1-enterBidForToken}. * People can only enter bid if bid is allowed * The timestamp set needs to be in the allowed range * bid price > 0 * must not be token owner * must allow this contract to spend enough payment token */ function enterBidForToken( address sender, uint256 tokenId, uint256 bidPrice ) external onlyMarketplaceOpen { require(bidPrice > 0, "Please bid for more than 0"); require(!_isTokenOwner(tokenId, sender), "This Token belongs to this address"); Bid memory bid = Bid(tokenId, bidPrice, sender); if (!_tokenIdWithBid.contains(tokenId)) { _tokenIdWithBid.add(tokenId); } _tokenBids[tokenId].bidders.add(sender); _tokenBids[tokenId].bids[sender] = bid; } /** * @dev See {INFTKEYMarketPlaceV1-acceptBidForToken}. * Must be owner of this token * Must have approved this contract to transfer token * Must have a valid existing bid that matches the bidder address */ /** * @dev See {INFTKEYMarketPlaceV1-withdrawBidForToken}. * There must be a bid exists * remove this bid record */ function withdrawBidForToken(address sender, uint256 tokenId) external returns (address, uint256 bidPrice) { Bid memory bid = _tokenBids[tokenId].bids[sender]; require(bid.bidder == sender, "This address doesn't have bid on this token"); _removeBidOfBidder(tokenId, sender); return (bid.bidder, bid.bidPrice); } function acceptBidForTokenPrepare(address sender, uint256 tokenId, address bidder) external onlyDev returns ( address, address, address, uint256 ) { require(_isTokenOwner(tokenId, sender), "Only token owner can accept bid of token"); require( _isTokenApproved(tokenId) || _isAllTokenApproved(sender), "The token is not approved to transfer by the contract" ); Bid memory existingBid = getBidderTokenBid(tokenId, bidder); require( existingBid.bidPrice > 0 && existingBid.bidder == bidder, "This token doesn't have a matching bid" ); return ( maketPlaceFeeAddress, nftCreaterAddress, nftProducerAddress, existingBid.bidPrice ); } function acceptBidForTokenComplete(address sender, uint256 tokenId, address bidder) external onlyDev{ nftTransferFrom(sender, bidder, tokenId); // Remove token listing _delistToken(tokenId); _removeBidOfBidder(tokenId, bidder); } /** * @dev See {INFTKEYMarketPlaceV1-getInvalidListingCount}. */ function getInvalidListingCount() external view returns (uint256) { uint256 count = 0; for (uint256 i = 0; i < _tokenIdWithListing.length(); i++) { if (!_isListingValid(_tokenListings[_tokenIdWithListing.at(i)])) { count = count.add(1); } } return count; } /** * @dev Count how many bid records of a token are invalid now */ function _getInvalidBidOfTokenCount(uint256 tokenId) private view returns (uint256) { uint256 count = 0; for (uint256 i = 0; i < _tokenBids[tokenId].bidders.length(); i++) { address bidder = _tokenBids[tokenId].bidders.at(i); Bid memory bid = _tokenBids[tokenId].bids[bidder]; if (!_isBidValid(bid)) { count = count.add(1); } } return count; } /** * @dev See {INFTKEYMarketPlaceV1-getInvalidBidCount}. */ function getInvalidBidCount() external view returns (uint256) { uint256 count = 0; for (uint256 i = 0; i < _tokenIdWithBid.length(); i++) { count = count.add(_getInvalidBidOfTokenCount(_tokenIdWithBid.at(i))); } return count; } /** * @dev See {INFTKEYMarketPlaceV1-cleanAllInvalidListings}. */ function cleanAllInvalidListings() external returns(uint256[] memory){ for (uint256 i = 0; i < _tokenIdWithListing.length(); i++) { uint256 tokenId = _tokenIdWithListing.at(i); if (!_isListingValid(_tokenListings[tokenId])) { _tempTokenIdStorage.push(tokenId); } } for (uint256 i = 0; i < _tempTokenIdStorage.length; i++) { _delistToken(_tempTokenIdStorage[i]); } return (_tempTokenIdStorage); } function deleteTempTokenIdStorage() external onlyDev { delete _tempTokenIdStorage; } /** * @dev remove invalid bids of a token * @param tokenId erc721 token Id */ function _cleanInvalidBidsOfToken(uint256 tokenId) private { for (uint256 i = 0; i < _tokenBids[tokenId].bidders.length(); i++) { address bidder = _tokenBids[tokenId].bidders.at(i); Bid memory bid = _tokenBids[tokenId].bids[bidder]; if (!_isBidValid(bid)) { _tempBidderStorage.push(_tokenBids[tokenId].bidders.at(i)); } } for (uint256 i = 0; i < _tempBidderStorage.length; i++) { address bidder = _tempBidderStorage[i]; _removeBidOfBidder(tokenId, bidder); } delete _tempBidderStorage; } /** * @dev See {INFTKEYMarketPlaceV1-cleanAllInvalidBids}. */ function cleanAllInvalidBids() external returns(uint256[] memory){ for (uint256 i = 0; i < _tokenIdWithBid.length(); i++) { uint256 tokenId = _tokenIdWithBid.at(i); uint256 invalidCount = _getInvalidBidOfTokenCount(tokenId); if (invalidCount > 0) { _tempTokenIdStorage.push(tokenId); } } for (uint256 i = 0; i < _tempTokenIdStorage.length; i++) { _cleanInvalidBidsOfToken(_tempTokenIdStorage[i]); } return (_tempTokenIdStorage); } /** * @dev See {INFTKEYMarketPlaceV1-isListingAndBidEnabled}. */ function isListingAndBidEnabled() external view returns (bool) { return _isListingAndBidEnabled; } /** * @dev Enable to disable Bids and Listing */ function changeMarketplaceStatus(bool enabled) external onlyDev { _isListingAndBidEnabled = enabled; } }
/_openzeppelin/contracts/security/ReentrancyGuard.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
/_openzeppelin/contracts/token/ERC1155/IERC1155.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
/_openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
/_openzeppelin/contracts/token/ERC721/IERC721.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
/_openzeppelin/contracts/utils/Address.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
/_openzeppelin/contracts/utils/Strings.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // 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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
/_openzeppelin/contracts/utils/introspection/IERC165.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
/_openzeppelin/contracts/utils/math/SafeMath.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
/_openzeppelin/contracts/utils/structs/EnumerableSet.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
/_openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
/_openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ``` * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original * initialization step. This is essential to configure modules that are added through upgrades and that require * initialization. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized < type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } }
/_openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155Upgradeable.sol"; import "./IERC1155ReceiverUpgradeable.sol"; import "./extensions/IERC1155MetadataURIUpgradeable.sol"; import "../../utils/AddressUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../utils/introspection/ERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC1155Upgradeable, IERC1155MetadataURIUpgradeable { using AddressUpgradeable for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ function __ERC1155_init(string memory uri_) internal onlyInitializing { __ERC1155_init_unchained(uri_); } function __ERC1155_init_unchained(string memory uri_) internal onlyInitializing { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC1155Upgradeable).interfaceId || interfaceId == type(IERC1155MetadataURIUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155ReceiverUpgradeable(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155ReceiverUpgradeable.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155ReceiverUpgradeable(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155ReceiverUpgradeable.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[47] private __gap; }
/_openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155ReceiverUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165Upgradeable.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155ReceiverUpgradeable is IERC165Upgradeable { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
/_openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165Upgradeable.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155Upgradeable is IERC165Upgradeable { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
/_openzeppelin/contracts-upgradeable/token/ERC1155/extensions/IERC1155MetadataURIUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155Upgradeable.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURIUpgradeable is IERC1155Upgradeable { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
/_openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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 Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
/_openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
/_openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal onlyInitializing { } function __ERC165_init_unchained() internal onlyInitializing { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
/_openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165Upgradeable { /** * @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); }
/contracts/MarketPlace/InterfaceV2.sol
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.8.3; pragma experimental ABIEncoderV2; interface InterfaceV2 { struct Bid { uint256 tokenId; uint256 bidPrice; address bidder; } struct Listing { uint256 tokenId; uint256 listingPrice; address seller; } event TokenListed( uint256 indexed tokenId, address indexed fromAddress, uint256 minValue, string nft); event TokenDelisted(uint256 indexed tokenId, address indexed fromAddress, string nft); event TokenBidEntered(uint256 indexed tokenId, address indexed fromAddress, uint256 value, string nft); event TokenBidWithdrawn(uint256 indexed tokenId, address indexed fromAddress, uint256 value, string nft); event TokenBought( uint256 indexed tokenId, address indexed fromAddress, address indexed toAddress, uint256 total, uint256 value, uint256 fees, string nft ); event TokenBidAccepted( uint256 indexed tokenId, address indexed owner, address indexed bidder, uint256 total, uint256 value, uint256 fees, string nft ); event TokenTransfered( uint256 indexed tokenId, address indexed from, address indexed to, uint256 total, string nft ); event TokenFeeChanged( address nftAddress, string nft ); }
/contracts/MarketPlace/MarketPlaceFeeAPI.sol
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.8.3; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract MarketPlaceFeeAPI { using SafeMath for uint256; uint256 private _baseFeeTokenSeller; uint256 private _baseFeeTokenProducer; uint256 private _baseFeeTokenCreater; uint256 private _baseFeeTokenDev; uint256 private _baseFeeFraction; uint256 private _baseFeeTokenBase; address public maketPlaceFeeAddress; address public nftCreaterAddress; address public nftProducerAddress; function initializeFee( address _owner ) public { _baseFeeTokenSeller = 975; _baseFeeTokenProducer = 0; _baseFeeTokenCreater = 0; _baseFeeTokenDev = 25; _baseFeeFraction = 25; _baseFeeTokenBase = 1000; maketPlaceFeeAddress = _owner; } function calculateSellerFee(uint256 value) public returns(uint256){ return value.sub(value.mul(_baseFeeFraction).div(_baseFeeTokenBase)); } function calculateDevFee(uint256 value) public returns(uint256){ return value.mul(_baseFeeTokenDev).div(_baseFeeTokenBase); } function calculateCreaterFee(uint256 value) public returns(uint256){ return value.mul(_baseFeeTokenCreater).div(_baseFeeTokenBase); } function calculateProducerFee(uint256 value) public returns(uint256){ return value.mul(_baseFeeTokenProducer).div(_baseFeeTokenBase); } function serviceFee(address nftAddress) external view returns (uint256, uint256, uint256, uint256, uint256, uint256) { require(_baseFeeTokenBase == 1000, "This token is not registed"); return ( _baseFeeTokenSeller, _baseFeeTokenProducer, _baseFeeTokenCreater, _baseFeeTokenDev, _baseFeeFraction, _baseFeeTokenBase ); } function setNFTFees( address _nftAddress, uint256 _feeCreater, uint256 _feeProducer ) external { require( _feeCreater == 0 || nftCreaterAddress != address(0), "This token don't set creater address" ); require( _feeProducer == 0 || nftProducerAddress != address(0), "This token don't set producer address" ); _baseFeeTokenCreater = _feeCreater; _baseFeeTokenProducer = _feeProducer; _baseFeeTokenSeller = _baseFeeTokenBase - _baseFeeTokenCreater - _baseFeeTokenDev - _baseFeeTokenProducer; _baseFeeFraction = _baseFeeTokenCreater + _baseFeeTokenDev + _baseFeeTokenProducer; } function setMaketPlaceAddressAndDevFee( address _nftAddress, address _maketPlaceFeeAddress, uint256 _maketPlaceFeePercentage) external { require( _maketPlaceFeePercentage > 0 && _maketPlaceFeePercentage <= 1000, "Allowed percentage range is 1 to 1000" ); maketPlaceFeeAddress = _maketPlaceFeeAddress; require( 1000 == _baseFeeTokenBase, "This token is not registed" ); _baseFeeTokenDev = _maketPlaceFeePercentage; _baseFeeTokenSeller = _baseFeeTokenBase - _baseFeeTokenDev - _baseFeeTokenCreater - _baseFeeTokenProducer; _baseFeeFraction = _baseFeeTokenDev + _baseFeeTokenCreater - _baseFeeTokenProducer; } function setTokenCreaterAddress( address _nftAddress, address _tokenCreaterAddress) external { require(_tokenCreaterAddress != address(0), "Can't set to address 0x0"); require( 1000 == _baseFeeTokenBase, "This token is not registed" ); nftCreaterAddress = _tokenCreaterAddress; } function setTokenProducerAddress( address _nftAddress, address _tokenProducerAddress) external { require(_tokenProducerAddress != address(0), "Can't set to address 0x0"); require( 1000 == _baseFeeTokenBase, "This token is not registed" ); nftProducerAddress = _tokenProducerAddress; } function changeTokenCreaterAddress( address _nftAddress, address _tokenCreaterAddress) external { nftCreaterAddress = _tokenCreaterAddress; } }
/contracts/MarketPlace/MarketPlaceNFTAPI.sol
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.8.3; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "hardhat/console.sol"; contract MarketPlaceNFTAPI { address public dev; // developer address string private _erc721Name; IERC721 private _erc721; string private _erc1155Name; IERC1155 private _erc1155; address private _selectedNftAddress; address private _selectedERC20Address; IERC20 private _paymentToken; bool private isSupport1555; modifier onlyDev() { require(msg.sender == dev, "auction: wrong developer"); _; } function changeDev(address _newDev) public onlyDev { dev = _newDev; } function initializeNFTWithERC721( string memory erc721Name_, address _erc721Address, address _paymentTokenAddress ) public { _erc721Name = erc721Name_; _erc721 = IERC721(_erc721Address); _selectedNftAddress = _erc721Address; _paymentToken = IERC20(_paymentTokenAddress); _selectedERC20Address = _paymentTokenAddress; dev = msg.sender; isSupport1555 = false; } function initializeNFTWithERC1155( string memory erc1155Name_, address _erc1155Address, address _paymentTokenAddress ) public { _erc1155Name = erc1155Name_; _erc1155 = IERC1155(_erc1155Address); _selectedNftAddress = _erc1155Address; _paymentToken = IERC20(_paymentTokenAddress); _selectedERC20Address = _paymentTokenAddress; dev = msg.sender; isSupport1555 = true; } /** * @dev check if the account is the owner of this erc721 token */ function _isTokenOwner(uint256 tokenId, address account) public view returns (bool) { if(isSupport1555 == false){ try _erc721.ownerOf(tokenId) returns (address tokenOwner) { return tokenOwner == account; } catch { return false; } }else{ return _erc1155.balanceOf(account, tokenId) != 0; } } /** * @dev check if this contract has approved to transfer this erc721 token */ function _isTokenApproved(uint256 tokenId) public view returns (bool) { if(isSupport1555 == false){ try _erc721.getApproved(tokenId) returns (address tokenOperator) { return tokenOperator == address(this); } catch { return false; } }else{ return true; } } /** * @dev check if this contract has approved to all of this owner's erc721 tokens */ function _isAllTokenApproved(address owner) public view returns (bool) { if(isSupport1555 == false){ return _erc721.isApprovedForAll(owner, address(this)); }else{ return _erc1155.isApprovedForAll(owner, address(this)); } } /** * @dev See {INFTKEYMarketPlaceV1-tokenAddress}. */ function nftAddress() external view returns (address) { return _selectedNftAddress; } /** * @dev See {INFTKEYMarketPlaceV1-paymentTokenAddress}. */ function paymentTokenAddress() external view returns (address) { return _selectedERC20Address; } /** * @dev Transfer token to Other * Must be owner of this token * Must have approved this contract to transfer token * Must have a valid existing bid that matches the bidder address */ function transfer( address sender, address to, uint256 tokenId ) external onlyDev { require(_isTokenOwner(tokenId, sender), "Only token owner can accept bid of token"); require( _isTokenApproved(tokenId) || _isAllTokenApproved(sender), "The token is not approved to transfer by the contract" ); if(isSupport1555 == false){ _erc721.safeTransferFrom(sender, to, tokenId); }else{ bytes memory data = '0x0'; _erc1155.safeTransferFrom(sender, to, tokenId, 1, data); } } function nftTransferFrom( address sender, address to, uint256 tokenId ) public onlyDev { if(isSupport1555 == false){ _erc721.safeTransferFrom(sender, to, tokenId); }else{ bytes memory data = '0x0'; _erc1155.safeTransferFrom(sender, to, tokenId, 1, data); } } }
/hardhat/console.sol
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int256)", p0)); } function logUint(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint256 p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1)); } function log(uint256 p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1)); } function log(uint256 p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1)); } function log(uint256 p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1)); } function log(string memory p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint256 p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2)); } function log(uint256 p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2)); } function log(uint256 p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2)); } function log(uint256 p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2)); } function log(uint256 p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2)); } function log(uint256 p0, bool p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2)); } function log(uint256 p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2)); } function log(uint256 p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2)); } function log(uint256 p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2)); } function log(uint256 p0, address p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2)); } function log(uint256 p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2)); } function log(uint256 p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2)); } function log(uint256 p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2)); } function log(string memory p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2)); } function log(string memory p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2)); } function log(string memory p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2)); } function log(string memory p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2)); } function log(bool p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2)); } function log(bool p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2)); } function log(bool p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2)); } function log(address p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2)); } function log(address p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2)); } function log(address p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"Initialized","inputs":[{"type":"uint8","name":"version","internalType":"uint8","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"TokenBidAccepted","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"bidder","internalType":"address","indexed":true},{"type":"uint256","name":"total","internalType":"uint256","indexed":false},{"type":"uint256","name":"value","internalType":"uint256","indexed":false},{"type":"uint256","name":"fees","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenBidEntered","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"fromAddress","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenBidWithdrawn","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"fromAddress","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenBought","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"fromAddress","internalType":"address","indexed":true},{"type":"address","name":"toAddress","internalType":"address","indexed":true},{"type":"uint256","name":"total","internalType":"uint256","indexed":false},{"type":"uint256","name":"value","internalType":"uint256","indexed":false},{"type":"uint256","name":"fees","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenDelisted","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"fromAddress","internalType":"address","indexed":true},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenFeeChanged","inputs":[{"type":"address","name":"nftAddress","internalType":"address","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenListed","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"fromAddress","internalType":"address","indexed":true},{"type":"uint256","name":"minValue","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TokenTransfered","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"total","internalType":"uint256","indexed":false},{"type":"string","name":"nft","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"TransferBatch","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256[]","name":"ids","internalType":"uint256[]","indexed":false},{"type":"uint256[]","name":"values","internalType":"uint256[]","indexed":false}],"anonymous":false},{"type":"event","name":"TransferSingle","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"URI","inputs":[{"type":"string","name":"value","internalType":"string","indexed":false},{"type":"uint256","name":"id","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"_isAllTokenApproved","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"_isTokenApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"_isTokenOwner","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"acceptBidForTokenComplete","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"acceptBidForTokenPrepare","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"balanceOfBatch","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"buyTokenComplete","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"}],"name":"buyTokenPrepare","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"calculateCreaterFee","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"calculateDevFee","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"calculateProducerFee","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"calculateSellerFee","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeDev","inputs":[{"type":"address","name":"_newDev","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeMarketplaceStatus","inputs":[{"type":"bool","name":"enabled","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changePrice","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"newPrice","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeTokenCreaterAddress","inputs":[{"type":"address","name":"_nftAddress","internalType":"address"},{"type":"address","name":"_tokenCreaterAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"cleanAllInvalidBids","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"cleanAllInvalidListings","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deleteTempTokenIdStorage","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"delistToken","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"dev","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"enterBidForToken","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct InterfaceV2.Bid[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"}]}],"name":"getAllTokenHighestBids","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct InterfaceV2.Listing[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"listingPrice","internalType":"uint256"},{"type":"address","name":"seller","internalType":"address"}]}],"name":"getAllTokenListings","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"","internalType":"struct InterfaceV2.Bid","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"}]}],"name":"getBidderTokenBid","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getInvalidBidCount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getInvalidListingCount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct InterfaceV2.Bid[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"}]}],"name":"getTokenBids","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"","internalType":"struct InterfaceV2.Bid","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"}]}],"name":"getTokenHighestBid","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct InterfaceV2.Bid[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"bidPrice","internalType":"uint256"},{"type":"address","name":"bidder","internalType":"address"}]}],"name":"getTokenHighestBids","inputs":[{"type":"uint256","name":"from","internalType":"uint256"},{"type":"uint256","name":"size","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"","internalType":"struct InterfaceV2.Listing","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"listingPrice","internalType":"uint256"},{"type":"address","name":"seller","internalType":"address"}]}],"name":"getTokenListing","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct InterfaceV2.Listing[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"listingPrice","internalType":"uint256"},{"type":"address","name":"seller","internalType":"address"}]}],"name":"getTokenListings","inputs":[{"type":"uint256","name":"from","internalType":"uint256"},{"type":"uint256","name":"size","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initializeFee","inputs":[{"type":"address","name":"_owner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initializeNFTWithERC1155","inputs":[{"type":"string","name":"erc1155Name_","internalType":"string"},{"type":"address","name":"_erc1155Address","internalType":"address"},{"type":"address","name":"_paymentTokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initializeNFTWithERC721","inputs":[{"type":"string","name":"erc721Name_","internalType":"string"},{"type":"address","name":"_erc721Address","internalType":"address"},{"type":"address","name":"_paymentTokenAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initializeWithERC1155","inputs":[{"type":"string","name":"erc1155Name_","internalType":"string"},{"type":"address","name":"_erc1155Address","internalType":"address"},{"type":"address","name":"_paymentTokenAddress","internalType":"address"},{"type":"address","name":"_owner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initializeWithERC721","inputs":[{"type":"string","name":"erc721Name_","internalType":"string"},{"type":"address","name":"_erc721Address","internalType":"address"},{"type":"address","name":"_paymentTokenAddress","internalType":"address"},{"type":"address","name":"_owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isListingAndBidEnabled","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"listToken","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"maketPlaceFeeAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"nftAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"nftCreaterAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"nftProducerAddress","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"nftTransferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"paymentTokenAddress","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeBatchTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"serviceFee","inputs":[{"type":"address","name":"nftAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaketPlaceAddressAndDevFee","inputs":[{"type":"address","name":"_nftAddress","internalType":"address"},{"type":"address","name":"_maketPlaceFeeAddress","internalType":"address"},{"type":"uint256","name":"_maketPlaceFeePercentage","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setNFTFees","inputs":[{"type":"address","name":"_nftAddress","internalType":"address"},{"type":"uint256","name":"_feeCreater","internalType":"uint256"},{"type":"uint256","name":"_feeProducer","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokenCreaterAddress","inputs":[{"type":"address","name":"_nftAddress","internalType":"address"},{"type":"address","name":"_tokenCreaterAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokenProducerAddress","inputs":[{"type":"address","name":"_nftAddress","internalType":"address"},{"type":"address","name":"_tokenProducerAddress","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transfer","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"uri","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"bidPrice","internalType":"uint256"}],"name":"withdrawBidForToken","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]}]
Contract Creation Code
0x6080604052600160da60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506001607581905550618c6180620000456000396000f3fe608060405234801561001057600080fd5b50600436106103b95760003560e01c806388a8c95c116101f4578063bb2be9a51161011a578063e8dbfd5a116100ad578063f21723ec1161007c578063f21723ec14610be7578063f242432a14610c03578063f2fde38b14610c1f578063feb8840614610c3b576103b9565b8063e8dbfd5a14610b61578063e985e9c514610b7d578063ecadef0e14610bad578063f0e6dcab14610bc9576103b9565b8063e0f04eaf116100e9578063e0f04eaf14610adb578063e154870214610af7578063e7d585a814610b15578063e7f7fb8614610b45576103b9565b8063bb2be9a514610a69578063bbaed38f14610a85578063beabacc814610a8f578063dc36bb9a14610aab576103b9565b80639a6fba4b11610192578063ae4044d411610161578063ae4044d4146109e1578063afb18fe714610a11578063b6be53ba14610a2f578063b7e6a19414610a4b576103b9565b80639a6fba4b146109595780639a8cea8214610977578063a22cb465146109a7578063a6a27f3a146109c3576103b9565b80638da5cb5b116101ce5780638da5cb5b146108d157806391cca3db146108ef57806398792eec1461090d5780639912cd8c1461093d576103b9565b806388a8c95c1461086957806388bae3b51461088557806389db0efa146108b5576103b9565b80634a66e310116102e45780636747412c1161027757806375ccb1f21161024657806375ccb1f2146107ce5780637d7660e0146107fe5780637e07590d1461081c5780638264045a1461084d576103b9565b80636747412c1461074857806370a3b39014610778578063715018a6146107a8578063741cbae4146107b2576103b9565b80635cc2c66b116102b35780635cc2c66b146106975780635fc8be6c146106c7578063606df430146106e357806363c46cdf14610718576103b9565b80634a66e310146105f85780634e1273f41461062b57806354b0de6a1461065b5780635bf8633a14610679576103b9565b80630e89341c1161035c57806334e095521161032b57806334e0955214610584578063383fba25146105a057806340a97919146105be57806347e1bdfb146105dc576103b9565b80630e89341c146104ec57806315832b891461051c5780631e56afe9146105385780632eb2c2d614610568576103b9565b806307da163b1161039857806307da163b1461044f5780630ade77021461047f5780630c266c80146104b25780630d4b404f146104ce576103b9565b8062fdd58e146103be57806301ffc9a7146103ee5780630609d0951461041e575b600080fd5b6103d860048036038101906103d391906167a2565b610c57565b6040516103e59190617b8e565b60405180910390f35b6104086004803603810190610403919061693a565b610d21565b6040516104159190617650565b60405180910390f35b610438600480360381019061043391906167a2565b610e03565b60405161044692919061758a565b60405180910390f35b61046960048036038101906104649190616a6e565b610f64565b6040516104769190617b8e565b60405180910390f35b6104996004803603810190610494919061682d565b610f96565b6040516104a994939291906173ad565b60405180910390f35b6104cc60048036038101906104c791906169f3565b6111be565b005b6104d6611346565b6040516104e39190617369565b60405180910390f35b61050660048036038101906105019190616a6e565b61136c565b6040516105139190617686565b60405180910390f35b6105366004803603810190610531919061698c565b611400565b005b610552600480360381019061054d9190616a6e565b61157c565b60405161055f9190617b58565b60405180910390f35b610582600480360381019061057d91906165c9565b61171f565b005b61059e60048036038101906105999190616688565b6117c0565b005b6105a86118f7565b6040516105b591906175f7565b60405180910390f35b6105c6611abf565b6040516105d39190617b8e565b60405180910390f35b6105f660048036038101906105f1919061653b565b611b25565b005b610612600480360381019061060d91906167de565b611b9b565b60405161062294939291906173f2565b60405180910390f35b6106456004803603810190610640919061687c565b611de2565b60405161065291906175f7565b60405180910390f35b610663611f93565b60405161067091906175b3565b60405180910390f35b610681611fae565b60405161068e9190617369565b60405180910390f35b6106b160048036038101906106ac9190616afc565b611fd8565b6040516106be91906175b3565b60405180910390f35b6106e160048036038101906106dc919061698c565b612149565b005b6106fd60048036038101906106f8919061653b565b6122c5565b60405161070f96959493929190617bd2565b60405180910390f35b610732600480360381019061072d9190616a6e565b61233b565b60405161073f9190617b8e565b60405180910390f35b610762600480360381019061075d9190616ac0565b61236d565b60405161076f9190617650565b60405180910390f35b610792600480360381019061078d9190616ac0565b61252b565b60405161079f9190617b58565b60405180910390f35b6107b061261e565b005b6107cc60048036038101906107c7919061682d565b612632565b005b6107e860048036038101906107e39190616afc565b6127b7565b6040516107f591906175d5565b60405180910390f35b6108066129bc565b60405161081391906175f7565b60405180910390f35b6108366004803603810190610831919061682d565b612b07565b60405161084492919061758a565b60405180910390f35b6108676004803603810190610862919061682d565b612d41565b005b610883600480360381019061087e919061653b565b612ee1565b005b61089f600480360381019061089a9190616a6e565b612fb5565b6040516108ac9190617650565b60405180910390f35b6108cf60048036038101906108ca919061682d565b6130c4565b005b6108d96132e4565b6040516108e69190617369565b60405180910390f35b6108f761330e565b6040516109049190617369565b60405180910390f35b61092760048036038101906109229190616a6e565b613334565b6040516109349190617b73565b60405180910390f35b610957600480360381019061095291906167a2565b6133e6565b005b6109616134aa565b60405161096e9190617369565b60405180910390f35b610991600480360381019061098c9190616a6e565b6134d0565b60405161099e9190617b8e565b60405180910390f35b6109c160048036038101906109bc9190616766565b613502565b005b6109cb613518565b6040516109d89190617b8e565b60405180910390f35b6109fb60048036038101906109f69190616a6e565b61360c565b604051610a089190617b8e565b60405180910390f35b610a19613650565b604051610a269190617369565b60405180910390f35b610a496004803603810190610a4491906168e8565b61367a565b005b610a53613727565b604051610a609190617369565b60405180910390f35b610a836004803603810190610a7e91906167de565b61374d565b005b610a8d613800565b005b610aa96004803603810190610aa49190616688565b6138a0565b005b610ac56004803603810190610ac0919061653b565b613b5a565b604051610ad29190617650565b60405180910390f35b610af56004803603810190610af0919061658d565b613ce0565b005b610aff613ddb565b604051610b0c91906175d5565b60405180910390f35b610b2f6004803603810190610b2a9190616a6e565b613df6565b604051610b3c91906175b3565b60405180910390f35b610b5f6004803603810190610b5a9190616688565b614026565b005b610b7b6004803603810190610b76919061658d565b61423f565b005b610b976004803603810190610b92919061658d565b61433a565b604051610ba49190617650565b60405180910390f35b610bc76004803603810190610bc2919061658d565b6143ce565b005b610bd1614413565b604051610bde9190617650565b60405180910390f35b610c016004803603810190610bfc91906169f3565b61442a565b005b610c1d6004803603810190610c1891906166d7565b6145b2565b005b610c396004803603810190610c34919061653b565b614653565b005b610c556004803603810190610c5091906167a2565b6146d7565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbf906177f8565b60405180910390fd5b60a8600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610dec57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610dfc5750610dfb82614788565b5b9050919050565b600080600060de600085815260200190815260200160002060020160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090508473ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff1614610f44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3b906179b8565b60405180910390fd5b610f4e84866147f2565b8060400151816020015192509250509250929050565b6000610f8f600554610f816002548561491690919063ffffffff16565b61492c90919063ffffffff16565b9050919050565b600080600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461102c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102390617998565b60405180910390fd5b600061103787613334565b9050600073ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff1614156110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a4906178f8565b60405180910390fd5b6110b7878961236d565b156110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90617798565b60405180910390fd5b806020015186101561113e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113590617838565b60405180910390fd5b8060400151600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694509450945094505093509350935093565b6000601060169054906101000a900460ff161590508080156111f257506001601060159054906101000a900460ff1660ff16105b80611221575061120130614942565b15801561122057506001601060159054906101000a900460ff1660ff16145b5b611260576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611257906178b8565b60405180910390fd5b6001601060156101000a81548160ff021916908360ff160217905550801561129e576001601060166101000a81548160ff0219169083151502179055505b6112b660405180602001604052806000815250614965565b6112c1858585612149565b6112ca82611b25565b600160da60006101000a81548160ff021916908315150217905550801561133f576000601060166101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051611336919061766b565b60405180910390a15b5050505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060aa805461137b90617ff1565b80601f01602080910402602001604051908101604052809291908181526020018280546113a790617ff1565b80156113f45780601f106113c9576101008083540402835291602001916113f4565b820191906000526020600020905b8154815290600101906020018083116113d757829003601f168201915b50505050509050919050565b82600a9080519060200190611416929190616144565b5081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601060146101000a81548160ff021916908315150217905550505050565b6115846161ca565b6000604051806060016040528084815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff16815250905060005b6115dc60de60008681526020019081526020016000206000016149c0565b81101561171557600061160d8260de60008881526020019081526020016000206000016149d590919063ffffffff16565b9050600060de600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090506116e4816149ef565b80156116f7575083602001518160200151115b15611700578093505b5050808061170d90618054565b9150506115be565b5080915050919050565b611727614a28565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061176d575061176c85611767614a28565b61433a565b5b6117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390617718565b60405180910390fd5b6117b98585858585614a30565b5050505050565b6000811180156117d257506103e88111155b611811576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180890617b18565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506005546103e814611898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188f906177d8565b60405180910390fd5b806003819055506001546002546003546005546118b59190617ed6565b6118bf9190617ed6565b6118c99190617ed6565b6000819055506001546002546003546118e29190617df5565b6118ec9190617ed6565b600481905550505050565b606060005b61190660dc614da1565b8110156119f75760006119238260dc614db690919063ffffffff16565b90506119b560db600083815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050614dd0565b6119e35760e38190806001815401808255809150506001900390600052602060002001600090919091909150555b5080806119ef90618054565b9150506118fc565b5060005b60e380549050811015611a6857611a5560e38281548110611a45577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154614e31565b8080611a6090618054565b9150506119fb565b5060e3805480602002602001604051908101604052809291908181526020018280548015611ab557602002820191906000526020600020905b815481526020019060010190808311611aa1575b5050505050905090565b6000806000905060005b611ad360df614da1565b811015611b1d57611b08611af9611af48360df614db690919063ffffffff16565b614eb0565b8361501a90919063ffffffff16565b91508080611b1590618054565b915050611ac9565b508091505090565b6103cf60008190555060006001819055506000600281905550601960038190555060196004819055506103e860058190555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2890617998565b60405180910390fd5b611c3b868861236d565b611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7190617b38565b60405180910390fd5b611c8386612fb5565b80611c935750611c9287613b5a565b5b611cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc9906176f8565b60405180910390fd5b6000611cde878761252b565b905060008160200151118015611d2357508573ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff16145b611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5990617978565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836020015194509450945094505093509350935093565b60608151835114611e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1f90617a38565b60405180910390fd5b6000835167ffffffffffffffff811115611e6b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611e995781602001602082028036833780820191505090505b50905060005b8451811015611f8857611f32858281518110611ee4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110611f25577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610c57565b828281518110611f6b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080611f8190618054565b9050611e9f565b508091505092915050565b6060611fa96000611fa460df614da1565b611fd8565b905090565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060611fe460df614da1565b83108015611ff25750600082115b1561214257600082905061200660df614da1565b83856120129190617df5565b1115612030578361202360df614da1565b61202d9190617ed6565b90505b60008167ffffffffffffffff811115612072577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156120ab57816020015b6120986161ca565b8152602001906001900390816120905790505b50905060005b82811015612137576120e06120db87836120cb9190617df5565b60df614db690919063ffffffff16565b61157c565b828281518110612119577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250808061212f90618054565b9150506120b1565b508092505050612143565b5b92915050565b82600c908051906020019061215f929190616144565b5081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601060146101000a81548160ff021916908315150217905550505050565b6000806000806000806103e860055414612314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230b906177d8565b60405180910390fd5b60005460015460025460035460045460055495509550955095509550955091939550919395565b60006123666005546123586001548561491690919063ffffffff16565b61492c90919063ffffffff16565b9050919050565b6000801515601060149054906101000a900460ff161515141561247257600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016123e59190617b8e565b60206040518083038186803b1580156123fd57600080fd5b505afa92505050801561242e57506040513d601f19601f8201168201806040525081019061242b9190616564565b60015b61243b5760009050612525565b8273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614915050612525565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e84866040518363ffffffff1660e01b81526004016124d092919061758a565b60206040518083038186803b1580156124e857600080fd5b505afa1580156124fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125209190616a97565b141590505b92915050565b6125336161ca565b600060de600085815260200190815260200160002060020160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050612608816149ef565b156126165780915050612618565b505b92915050565b612626615030565b61263060006150ae565b565b60026075541415612678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266f90617a98565b60405180910390fd5b6002607581905550600061268b83613334565b9050612697838561236d565b6126d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cd906179d8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff16141561274a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612741906178f8565b60405180910390fd5b600082101561278e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278590617ad8565b60405180910390fd5b8160db600085815260200190815260200160002060010181905550506001607581905550505050565b60606127c360dc614da1565b831080156127d15750600082115b156129b55760008290506127e560dc614da1565b83856127f19190617df5565b111561280f578361280260dc614da1565b61280c9190617ed6565b90505b60008167ffffffffffffffff811115612851577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561288a57816020015b612877616201565b81526020019060019003908161286f5790505b50905060005b828110156129aa57600060db60006128bd89856128ad9190617df5565b60dc614db690919063ffffffff16565b815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905061294b81614dd0565b15612996578083838151811061298a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052505b5080806129a290618054565b915050612890565b5080925050506129b6565b5b92915050565b606060005b6129cb60df614da1565b811015612a3f5760006129e88260df614db690919063ffffffff16565b905060006129f582614eb0565b90506000811115612a2a5760e38290806001815401808255809150506001900390600052602060002001600090919091909150555b50508080612a3790618054565b9150506129c1565b5060005b60e380549050811015612ab057612a9d60e38281548110612a8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154615174565b8080612aa890618054565b915050612a43565b5060e3805480602002602001604051908101604052809291908181526020018280548015612afd57602002820191906000526020600020905b815481526020019060010190808311612ae9575b5050505050905090565b60008060da60009054906101000a900460ff16612b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b50906177b8565b60405180910390fd5b612b986040518060400160405280600781526020017f73656e6465723a00000000000000000000000000000000000000000000000000815250866153eb565b60008311612bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd290617878565b60405180910390fd5b612be5848661236d565b612c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1b90617af8565b60405180910390fd5b612c2d84612fb5565b80612c3d5750612c3c85613b5a565b5b612c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7390617958565b60405180910390fd5b60405180606001604052808581526020018481526020018673ffffffffffffffffffffffffffffffffffffffff1681525060db6000868152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050612d328460dc61548790919063ffffffff16565b50848391509150935093915050565b6000821480612d9f5750600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b612dde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd590617938565b60405180910390fd5b6000811480612e3c5750600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b612e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7290617a78565b60405180910390fd5b8160028190555080600181905550600154600354600254600554612e9f9190617ed6565b612ea99190617ed6565b612eb39190617ed6565b600081905550600154600354600254612ecc9190617df5565b612ed69190617df5565b600481905550505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6890617998565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000801515601060149054906101000a900460ff16151514156130ba57600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663081812fc836040518263ffffffff1660e01b815260040161302d9190617b8e565b60206040518083038186803b15801561304557600080fd5b505afa92505050801561307657506040513d601f19601f820116820180604052508101906130739190616564565b60015b61308357600090506130bf565b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149150506130bf565b600190505b919050565b60da60009054906101000a900460ff16613113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310a906177b8565b60405180910390fd5b60008111613156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314d90617818565b60405180910390fd5b613160828461236d565b156131a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319790617858565b60405180910390fd5b600060405180606001604052808481526020018381526020018573ffffffffffffffffffffffffffffffffffffffff1681525090506131e98360df6154a190919063ffffffff16565b613203576132018360df61548790919063ffffffff16565b505b61322b8460de60008681526020019081526020016000206000016154bb90919063ffffffff16565b508060de600085815260200190815260200160002060020160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050505050565b6000604360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61333c616201565b600060db600084815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090506133d181614dd0565b156133df57809150506133e1565b505b919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346d90617998565b60405180910390fd5b600061348182613334565b905061349281604001518484614026565b61349b82614e31565b6134a582846147f2565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006134fb6005546134ed6003548561491690919063ffffffff16565b61492c90919063ffffffff16565b9050919050565b61351461350d614a28565b83836154eb565b5050565b6000806000905060005b61352c60dc614da1565b811015613604576135d660db600061354e8460dc614db690919063ffffffff16565b815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050614dd0565b6135f1576135ee60018361501a90919063ffffffff16565b91505b80806135fc90618054565b915050613522565b508091505090565b600061364961363a60055461362c6004548661491690919063ffffffff16565b61492c90919063ffffffff16565b8361565890919063ffffffff16565b9050919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461370a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370190617998565b60405180910390fd5b8060da60006101000a81548160ff02191690831515021790555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146137dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137d490617998565b60405180910390fd5b6137e8838284614026565b6137f182614e31565b6137fb82826147f2565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388790617998565b60405180910390fd5b60e3600061389e9190616238565b565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392790617998565b60405180910390fd5b61393a818461236d565b613979576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161397090617b38565b60405180910390fd5b61398281612fb5565b80613992575061399183613b5a565b5b6139d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139c8906176f8565b60405180910390fd5b60001515601060149054906101000a900460ff1615151415613a8357600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e8484846040518463ffffffff1660e01b8152600401613a4c9392919061749f565b600060405180830381600087803b158015613a6657600080fd5b505af1158015613a7a573d6000803e3d6000fd5b50505050613b55565b60006040518060400160405280600381526020017f30783000000000000000000000000000000000000000000000000000000000008152509050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a8585856001866040518663ffffffff1660e01b8152600401613b219594939291906174d6565b600060405180830381600087803b158015613b3b57600080fd5b505af1158015613b4f573d6000803e3d6000fd5b50505050505b505050565b6000801515601060149054906101000a900460ff1615151415613c2b57600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c583306040518363ffffffff1660e01b8152600401613bd4929190617384565b60206040518083038186803b158015613bec57600080fd5b505afa158015613c00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c249190616911565b9050613cdb565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c583306040518363ffffffff1660e01b8152600401613c88929190617384565b60206040518083038186803b158015613ca057600080fd5b505afa158015613cb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cd89190616911565b90505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d4790617758565b60405180910390fd5b6005546103e814613d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d8d906177d8565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6060613df16000613dec60dc614da1565b6127b7565b905090565b60606000613e1860de60008581526020019081526020016000206000016149c0565b67ffffffffffffffff811115613e57577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015613e9057816020015b613e7d6161ca565b815260200190600190039081613e755790505b50905060005b613eb460de60008681526020019081526020016000206000016149c0565b81101561401c576000613ee58260de60008881526020019081526020016000206000016149d590919063ffffffff16565b9050600060de600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050613fbc816149ef565b156140075780848481518110613ffb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052505b5050808061401490618054565b915050613e96565b5080915050919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146140b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140ad90617998565b60405180910390fd5b60001515601060149054906101000a900460ff161515141561416857600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e8484846040518463ffffffff1660e01b81526004016141319392919061749f565b600060405180830381600087803b15801561414b57600080fd5b505af115801561415f573d6000803e3d6000fd5b5050505061423a565b60006040518060400160405280600381526020017f30783000000000000000000000000000000000000000000000000000000000008152509050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a8585856001866040518663ffffffff1660e01b81526004016142069594939291906174d6565b600060405180830381600087803b15801561422057600080fd5b505af1158015614234573d6000803e3d6000fd5b50505050505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156142af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142a690617758565b60405180910390fd5b6005546103e8146142f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142ec906177d8565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600060a960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600060da60009054906101000a900460ff16905090565b6000601060169054906101000a900460ff1615905080801561445e57506001601060159054906101000a900460ff1660ff16105b8061448d575061446d30614942565b15801561448c57506001601060159054906101000a900460ff1660ff16145b5b6144cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016144c3906178b8565b60405180910390fd5b6001601060156101000a81548160ff021916908360ff160217905550801561450a576001601060166101000a81548160ff0219169083151502179055505b61452260405180602001604052806000815250614965565b61452d858585611400565b61453682611b25565b600160da60006101000a81548160ff02191690831515021790555080156145ab576000601060166101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516145a2919061766b565b60405180910390a15b5050505050565b6145ba614a28565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061460057506145ff856145fa614a28565b61433a565b5b61463f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161463690617718565b60405180910390fd5b61464c858585858561566e565b5050505050565b61465b615030565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156146cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016146c290617778565b60405180910390fd5b6146d4816150ae565b50565b8173ffffffffffffffffffffffffffffffffffffffff1660db600083815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461477b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161477290617ab8565b60405180910390fd5b61478481614e31565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61481a8160de600085815260200190815260200160002060000161590d90919063ffffffff16565b156149125760de600083815260200190815260200160002060020160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008082016000905560018201600090556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550506148d48160de600085815260200190815260200160002060000161593d90919063ffffffff16565b5060006148f560de60008581526020019081526020016000206000016149c0565b14156149115761490f8260df61596d90919063ffffffff16565b505b5b5050565b600081836149249190617e7c565b905092915050565b6000818361493a9190617e4b565b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b601060169054906101000a900460ff166149b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016149ab906179f8565b60405180910390fd5b6149bd81615987565b50565b60006149ce826000016159e2565b9050919050565b60006149e483600001836159f3565b60001c905092915050565b6000614a038260000151836040015161236d565b158015614a14575060008260200151115b15614a225760019050614a23565b5b919050565b600033905090565b8151835114614a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614a6b90617a58565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415614ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614adb90617898565b60405180910390fd5b6000614aee614a28565b9050614afe818787878787615a44565b60005b8451811015614cfe576000858281518110614b45577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110614b8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600060a8600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015614c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614c23906178d8565b60405180910390fd5b81810360a8600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160a8600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254614ce39190617df5565b9250508190555050505080614cf790618054565b9050614b01565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051614d75929190617619565b60405180910390a4614d8b818787878787615a4c565b614d99818787878787615a54565b505050505050565b6000614daf826000016159e2565b9050919050565b6000614dc583600001836159f3565b60001c905092915050565b6000614de48260000151836040015161236d565b8015614e0d5750614df88260000151612fb5565b80614e0c5750614e0b8260400151613b5a565b5b5b8015614e1d575060008260200151115b15614e2b5760019050614e2c565b5b919050565b614e458160dc6154a190919063ffffffff16565b15614ead5760db600082815260200190815260200160002060008082016000905560018201600090556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555050614eab8160dc61596d90919063ffffffff16565b505b50565b6000806000905060005b614ed860de60008681526020019081526020016000206000016149c0565b811015615010576000614f098260de60008881526020019081526020016000206000016149d590919063ffffffff16565b9050600060de600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050614fe0816149ef565b614ffb57614ff860018561501a90919063ffffffff16565b93505b5050808061500890618054565b915050614eba565b5080915050919050565b600081836150289190617df5565b905092915050565b615038614a28565b73ffffffffffffffffffffffffffffffffffffffff166150566132e4565b73ffffffffffffffffffffffffffffffffffffffff16146150ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016150a390617918565b60405180910390fd5b565b6000604360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081604360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b61519560de60008481526020019081526020016000206000016149c0565b8110156153415760006151c68260de60008681526020019081526020016000206000016149d590919063ffffffff16565b9050600060de600085815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905061529d816149ef565b61532c5760e46152cb8460de60008881526020019081526020016000206000016149d590919063ffffffff16565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050808061533990618054565b915050615177565b5060005b60e4805490508110156153d957600060e4828154811061538e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506153c583826147f2565b5080806153d190618054565b915050615345565b5060e460006153e89190616259565b50565b61548382826040516024016154019291906176a8565b6040516020818303038152906040527f319af333000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050615c3b565b5050565b6000615499836000018360001b615c64565b905092915050565b60006154b3836000018360001b615cd4565b905092915050565b60006154e3836000018373ffffffffffffffffffffffffffffffffffffffff1660001b615c64565b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561555a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161555190617a18565b60405180910390fd5b8060a960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161564b9190617650565b60405180910390a3505050565b600081836156669190617ed6565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156156de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016156d590617898565b60405180910390fd5b60006156e8614a28565b905060006156f585615cf7565b9050600061570285615cf7565b9050615712838989858589615a44565b600060a8600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156157aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016157a1906178d8565b60405180910390fd5b85810360a8600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560a8600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546158619190617df5565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516158de929190617ba9565b60405180910390a46158f4848a8a86868a615a4c565b615902848a8a8a8a8a615dbd565b505050505050505050565b6000615935836000018373ffffffffffffffffffffffffffffffffffffffff1660001b615cd4565b905092915050565b6000615965836000018373ffffffffffffffffffffffffffffffffffffffff1660001b615fa4565b905092915050565b600061597f836000018360001b615fa4565b905092915050565b601060169054906101000a900460ff166159d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016159cd906179f8565b60405180910390fd5b6159df8161612a565b50565b600081600001805490509050919050565b6000826000018281548110615a31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b505050505050565b505050505050565b615a738473ffffffffffffffffffffffffffffffffffffffff16614942565b15615c33578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401615ab9959493929190617437565b602060405180830381600087803b158015615ad357600080fd5b505af1925050508015615b0457506040513d601f19601f82011682018060405250810190615b019190616963565b60015b615baa57615b10618159565b806308c379a01415615b6d5750615b25618b39565b80615b305750615b6f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615b649190617686565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615ba1906176d8565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614615c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615c2890617738565b60405180910390fd5b505b505050505050565b60008151905060006a636f6e736f6c652e6c6f679050602083016000808483855afa5050505050565b6000615c708383615cd4565b615cc9578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050615cce565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b60606000600167ffffffffffffffff811115615d3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015615d6a5781602001602082028036833780820191505090505b5090508281600081518110615da8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b615ddc8473ffffffffffffffffffffffffffffffffffffffff16614942565b15615f9c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401615e22959493929190617530565b602060405180830381600087803b158015615e3c57600080fd5b505af1925050508015615e6d57506040513d601f19601f82011682018060405250810190615e6a9190616963565b60015b615f1357615e79618159565b806308c379a01415615ed65750615e8e618b39565b80615e995750615ed8565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615ecd9190617686565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615f0a906176d8565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614615f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615f9190617738565b60405180910390fd5b505b505050505050565b6000808360010160008481526020019081526020016000205490506000811461611e576000600182615fd69190617ed6565b9050600060018660000180549050615fee9190617ed6565b90508181146160a9576000866000018281548110616035577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508087600001848154811061607f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b856000018054806160e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050616124565b60009150505b92915050565b8060aa9080519060200190616140929190616144565b5050565b82805461615090617ff1565b90600052602060002090601f01602090048101928261617257600085556161b9565b82601f1061618b57805160ff19168380011785556161b9565b828001600101855582156161b9579182015b828111156161b857825182559160200191906001019061619d565b5b5090506161c6919061627a565b5090565b60405180606001604052806000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b60405180606001604052806000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b5080546000825590600052602060002090810190616256919061627a565b50565b5080546000825590600052602060002090810190616277919061627a565b50565b5b8082111561629357600081600090555060010161627b565b5090565b60006162aa6162a584617c58565b617c33565b905080838252602082019050828560208602820111156162c957600080fd5b60005b858110156162f957816162df88826163eb565b8452602084019350602083019250506001810190506162cc565b5050509392505050565b600061631661631184617c84565b617c33565b9050808382526020820190508285602086028201111561633557600080fd5b60005b85811015616365578161634b8882616511565b845260208401935060208301925050600181019050616338565b5050509392505050565b600061638261637d84617cb0565b617c33565b90508281526020810184848401111561639a57600080fd5b6163a5848285617faf565b509392505050565b60006163c06163bb84617ce1565b617c33565b9050828152602081018484840111156163d857600080fd5b6163e3848285617faf565b509392505050565b6000813590506163fa81618bcf565b92915050565b60008151905061640f81618bcf565b92915050565b600082601f83011261642657600080fd5b8135616436848260208601616297565b91505092915050565b600082601f83011261645057600080fd5b8135616460848260208601616303565b91505092915050565b60008135905061647881618be6565b92915050565b60008151905061648d81618be6565b92915050565b6000813590506164a281618bfd565b92915050565b6000815190506164b781618bfd565b92915050565b600082601f8301126164ce57600080fd5b81356164de84826020860161636f565b91505092915050565b600082601f8301126164f857600080fd5b81356165088482602086016163ad565b91505092915050565b60008135905061652081618c14565b92915050565b60008151905061653581618c14565b92915050565b60006020828403121561654d57600080fd5b600061655b848285016163eb565b91505092915050565b60006020828403121561657657600080fd5b600061658484828501616400565b91505092915050565b600080604083850312156165a057600080fd5b60006165ae858286016163eb565b92505060206165bf858286016163eb565b9150509250929050565b600080600080600060a086880312156165e157600080fd5b60006165ef888289016163eb565b9550506020616600888289016163eb565b945050604086013567ffffffffffffffff81111561661d57600080fd5b6166298882890161643f565b935050606086013567ffffffffffffffff81111561664657600080fd5b6166528882890161643f565b925050608086013567ffffffffffffffff81111561666f57600080fd5b61667b888289016164bd565b9150509295509295909350565b60008060006060848603121561669d57600080fd5b60006166ab868287016163eb565b93505060206166bc868287016163eb565b92505060406166cd86828701616511565b9150509250925092565b600080600080600060a086880312156166ef57600080fd5b60006166fd888289016163eb565b955050602061670e888289016163eb565b945050604061671f88828901616511565b935050606061673088828901616511565b925050608086013567ffffffffffffffff81111561674d57600080fd5b616759888289016164bd565b9150509295509295909350565b6000806040838503121561677957600080fd5b6000616787858286016163eb565b925050602061679885828601616469565b9150509250929050565b600080604083850312156167b557600080fd5b60006167c3858286016163eb565b92505060206167d485828601616511565b9150509250929050565b6000806000606084860312156167f357600080fd5b6000616801868287016163eb565b935050602061681286828701616511565b9250506040616823868287016163eb565b9150509250925092565b60008060006060848603121561684257600080fd5b6000616850868287016163eb565b935050602061686186828701616511565b925050604061687286828701616511565b9150509250925092565b6000806040838503121561688f57600080fd5b600083013567ffffffffffffffff8111156168a957600080fd5b6168b585828601616415565b925050602083013567ffffffffffffffff8111156168d257600080fd5b6168de8582860161643f565b9150509250929050565b6000602082840312156168fa57600080fd5b600061690884828501616469565b91505092915050565b60006020828403121561692357600080fd5b60006169318482850161647e565b91505092915050565b60006020828403121561694c57600080fd5b600061695a84828501616493565b91505092915050565b60006020828403121561697557600080fd5b6000616983848285016164a8565b91505092915050565b6000806000606084860312156169a157600080fd5b600084013567ffffffffffffffff8111156169bb57600080fd5b6169c7868287016164e7565b93505060206169d8868287016163eb565b92505060406169e9868287016163eb565b9150509250925092565b60008060008060808587031215616a0957600080fd5b600085013567ffffffffffffffff811115616a2357600080fd5b616a2f878288016164e7565b9450506020616a40878288016163eb565b9350506040616a51878288016163eb565b9250506060616a62878288016163eb565b91505092959194509250565b600060208284031215616a8057600080fd5b6000616a8e84828501616511565b91505092915050565b600060208284031215616aa957600080fd5b6000616ab784828501616526565b91505092915050565b60008060408385031215616ad357600080fd5b6000616ae185828601616511565b9250506020616af2858286016163eb565b9150509250929050565b60008060408385031215616b0f57600080fd5b6000616b1d85828601616511565b9250506020616b2e85828601616511565b9150509250929050565b6000616b448383617243565b60608301905092915050565b6000616b5c83836172c7565b60608301905092915050565b6000616b74838361734b565b60208301905092915050565b616b8981617f0a565b82525050565b616b9881617f0a565b82525050565b6000616ba982617d42565b616bb38185617da0565b9350616bbe83617d12565b8060005b83811015616bef578151616bd68882616b38565b9750616be183617d79565b925050600181019050616bc2565b5085935050505092915050565b6000616c0782617d4d565b616c118185617db1565b9350616c1c83617d22565b8060005b83811015616c4d578151616c348882616b50565b9750616c3f83617d86565b925050600181019050616c20565b5085935050505092915050565b6000616c6582617d58565b616c6f8185617dc2565b9350616c7a83617d32565b8060005b83811015616cab578151616c928882616b68565b9750616c9d83617d93565b925050600181019050616c7e565b5085935050505092915050565b616cc181617f1c565b82525050565b6000616cd282617d63565b616cdc8185617dd3565b9350616cec818560208601617fbe565b616cf58161817b565b840191505092915050565b616d0981617f8b565b82525050565b616d1881617f9d565b82525050565b6000616d2982617d6e565b616d338185617de4565b9350616d43818560208601617fbe565b616d4c8161817b565b840191505092915050565b6000616d64603483617de4565b9150616d6f82618199565b604082019050919050565b6000616d87603583617de4565b9150616d92826181e8565b604082019050919050565b6000616daa602f83617de4565b9150616db582618237565b604082019050919050565b6000616dcd602883617de4565b9150616dd882618286565b604082019050919050565b6000616df0601883617de4565b9150616dfb826182d5565b602082019050919050565b6000616e13602683617de4565b9150616e1e826182fe565b604082019050919050565b6000616e36602583617de4565b9150616e418261834d565b604082019050919050565b6000616e59601f83617de4565b9150616e648261839c565b602082019050919050565b6000616e7c601a83617de4565b9150616e87826183c5565b602082019050919050565b6000616e9f602a83617de4565b9150616eaa826183ee565b604082019050919050565b6000616ec2601a83617de4565b9150616ecd8261843d565b602082019050919050565b6000616ee5602c83617de4565b9150616ef082618466565b604082019050919050565b6000616f08602283617de4565b9150616f13826184b5565b604082019050919050565b6000616f2b603883617de4565b9150616f3682618504565b604082019050919050565b6000616f4e602583617de4565b9150616f5982618553565b604082019050919050565b6000616f71602e83617de4565b9150616f7c826185a2565b604082019050919050565b6000616f94602a83617de4565b9150616f9f826185f1565b604082019050919050565b6000616fb7601583617de4565b9150616fc282618640565b602082019050919050565b6000616fda602083617de4565b9150616fe582618669565b602082019050919050565b6000616ffd602483617de4565b915061700882618692565b604082019050919050565b6000617020603683617de4565b915061702b826186e1565b604082019050919050565b6000617043602683617de4565b915061704e82618730565b604082019050919050565b6000617066601883617de4565b91506170718261877f565b602082019050919050565b6000617089602b83617de4565b9150617094826187a8565b604082019050919050565b60006170ac602a83617de4565b91506170b7826187f7565b604082019050919050565b60006170cf602b83617de4565b91506170da82618846565b604082019050919050565b60006170f2602983617de4565b91506170fd82618895565b604082019050919050565b6000617115602983617de4565b9150617120826188e4565b604082019050919050565b6000617138602883617de4565b915061714382618933565b604082019050919050565b600061715b602583617de4565b915061716682618982565b604082019050919050565b600061717e601f83617de4565b9150617189826189d1565b602082019050919050565b60006171a1602283617de4565b91506171ac826189fa565b604082019050919050565b60006171c4601c83617de4565b91506171cf82618a49565b602082019050919050565b60006171e7601f83617de4565b91506171f282618a72565b602082019050919050565b600061720a602583617de4565b915061721582618a9b565b604082019050919050565b600061722d602883617de4565b915061723882618aea565b604082019050919050565b606082016000820151617259600085018261734b565b50602082015161726c602085018261734b565b50604082015161727f6040850182616b80565b50505050565b60608201600082015161729b600085018261734b565b5060208201516172ae602085018261734b565b5060408201516172c16040850182616b80565b50505050565b6060820160008201516172dd600085018261734b565b5060208201516172f0602085018261734b565b5060408201516173036040850182616b80565b50505050565b60608201600082015161731f600085018261734b565b506020820151617332602085018261734b565b5060408201516173456040850182616b80565b50505050565b61735481617f74565b82525050565b61736381617f74565b82525050565b600060208201905061737e6000830184616b8f565b92915050565b60006040820190506173996000830185616b8f565b6173a66020830184616b8f565b9392505050565b60006080820190506173c26000830187616b8f565b6173cf6020830186616b8f565b6173dc6040830185616b8f565b6173e96060830184616b8f565b95945050505050565b60006080820190506174076000830187616b8f565b6174146020830186616b8f565b6174216040830185616b8f565b61742e606083018461735a565b95945050505050565b600060a08201905061744c6000830188616b8f565b6174596020830187616b8f565b818103604083015261746b8186616c5a565b9050818103606083015261747f8185616c5a565b905081810360808301526174938184616cc7565b90509695505050505050565b60006060820190506174b46000830186616b8f565b6174c16020830185616b8f565b6174ce604083018461735a565b949350505050565b600060a0820190506174eb6000830188616b8f565b6174f86020830187616b8f565b617505604083018661735a565b6175126060830185616d00565b81810360808301526175248184616cc7565b90509695505050505050565b600060a0820190506175456000830188616b8f565b6175526020830187616b8f565b61755f604083018661735a565b61756c606083018561735a565b818103608083015261757e8184616cc7565b90509695505050505050565b600060408201905061759f6000830185616b8f565b6175ac602083018461735a565b9392505050565b600060208201905081810360008301526175cd8184616b9e565b905092915050565b600060208201905081810360008301526175ef8184616bfc565b905092915050565b600060208201905081810360008301526176118184616c5a565b905092915050565b600060408201905081810360008301526176338185616c5a565b905081810360208301526176478184616c5a565b90509392505050565b60006020820190506176656000830184616cb8565b92915050565b60006020820190506176806000830184616d0f565b92915050565b600060208201905081810360008301526176a08184616d1e565b905092915050565b600060408201905081810360008301526176c28185616d1e565b90506176d16020830184616b8f565b9392505050565b600060208201905081810360008301526176f181616d57565b9050919050565b6000602082019050818103600083015261771181616d7a565b9050919050565b6000602082019050818103600083015261773181616d9d565b9050919050565b6000602082019050818103600083015261775181616dc0565b9050919050565b6000602082019050818103600083015261777181616de3565b9050919050565b6000602082019050818103600083015261779181616e06565b9050919050565b600060208201905081810360008301526177b181616e29565b9050919050565b600060208201905081810360008301526177d181616e4c565b9050919050565b600060208201905081810360008301526177f181616e6f565b9050919050565b6000602082019050818103600083015261781181616e92565b9050919050565b6000602082019050818103600083015261783181616eb5565b9050919050565b6000602082019050818103600083015261785181616ed8565b9050919050565b6000602082019050818103600083015261787181616efb565b9050919050565b6000602082019050818103600083015261789181616f1e565b9050919050565b600060208201905081810360008301526178b181616f41565b9050919050565b600060208201905081810360008301526178d181616f64565b9050919050565b600060208201905081810360008301526178f181616f87565b9050919050565b6000602082019050818103600083015261791181616faa565b9050919050565b6000602082019050818103600083015261793181616fcd565b9050919050565b6000602082019050818103600083015261795181616ff0565b9050919050565b6000602082019050818103600083015261797181617013565b9050919050565b6000602082019050818103600083015261799181617036565b9050919050565b600060208201905081810360008301526179b181617059565b9050919050565b600060208201905081810360008301526179d18161707c565b9050919050565b600060208201905081810360008301526179f18161709f565b9050919050565b60006020820190508181036000830152617a11816170c2565b9050919050565b60006020820190508181036000830152617a31816170e5565b9050919050565b60006020820190508181036000830152617a5181617108565b9050919050565b60006020820190508181036000830152617a718161712b565b9050919050565b60006020820190508181036000830152617a918161714e565b9050919050565b60006020820190508181036000830152617ab181617171565b9050919050565b60006020820190508181036000830152617ad181617194565b9050919050565b60006020820190508181036000830152617af1816171b7565b9050919050565b60006020820190508181036000830152617b11816171da565b9050919050565b60006020820190508181036000830152617b31816171fd565b9050919050565b60006020820190508181036000830152617b5181617220565b9050919050565b6000606082019050617b6d6000830184617285565b92915050565b6000606082019050617b886000830184617309565b92915050565b6000602082019050617ba3600083018461735a565b92915050565b6000604082019050617bbe600083018561735a565b617bcb602083018461735a565b9392505050565b600060c082019050617be7600083018961735a565b617bf4602083018861735a565b617c01604083018761735a565b617c0e606083018661735a565b617c1b608083018561735a565b617c2860a083018461735a565b979650505050505050565b6000617c3d617c4e565b9050617c498282618023565b919050565b6000604051905090565b600067ffffffffffffffff821115617c7357617c7261812a565b5b602082029050602081019050919050565b600067ffffffffffffffff821115617c9f57617c9e61812a565b5b602082029050602081019050919050565b600067ffffffffffffffff821115617ccb57617cca61812a565b5b617cd48261817b565b9050602081019050919050565b600067ffffffffffffffff821115617cfc57617cfb61812a565b5b617d058261817b565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000617e0082617f74565b9150617e0b83617f74565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115617e4057617e3f61809d565b5b828201905092915050565b6000617e5682617f74565b9150617e6183617f74565b925082617e7157617e706180cc565b5b828204905092915050565b6000617e8782617f74565b9150617e9283617f74565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615617ecb57617eca61809d565b5b828202905092915050565b6000617ee182617f74565b9150617eec83617f74565b925082821015617eff57617efe61809d565b5b828203905092915050565b6000617f1582617f54565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000617f9682617f74565b9050919050565b6000617fa882617f7e565b9050919050565b82818337600083830152505050565b60005b83811015617fdc578082015181840152602081019050617fc1565b83811115617feb576000848401525b50505050565b6000600282049050600182168061800957607f821691505b6020821081141561801d5761801c6180fb565b5b50919050565b61802c8261817b565b810181811067ffffffffffffffff8211171561804b5761804a61812a565b5b80604052505050565b600061805f82617f74565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156180925761809161809d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156181785760046000803e61817560005161818c565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f54686520746f6b656e206973206e6f7420617070726f76656420746f2074726160008201527f6e736665722062792074686520636f6e74726163740000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f43616e27742073657420746f2061646472657373203078300000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206f776e65722063616e277420627579207468656972206f776e2060008201527f746f6b656e000000000000000000000000000000000000000000000000000000602082015250565b7f4c697374696e6720616e642062696420617265206e6f7420656e61626c656400600082015250565b7f5468697320746f6b656e206973206e6f74207265676973746564000000000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f506c656173652062696420666f72206d6f7265207468616e2030000000000000600082015250565b7f5468652076616c75652073656e642069732062656c6f772073616c652070726960008201527f636520706c757320666565730000000000000000000000000000000000000000602082015250565b7f5468697320546f6b656e2062656c6f6e677320746f207468697320616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f506c65617365206c69737420666f72206d6f7265207468616e2030206f72207560008201527f736520746865207472616e736665722066756e6374696f6e0000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f546f6b656e206973206e6f7420666f722073616c650000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5468697320746f6b656e20646f6e27742073657420637265617465722061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f5468697320746f6b656e206973206e6f7420616c6c6f77656420746f2074726160008201527f6e73666572206279207468697320636f6e747261637400000000000000000000602082015250565b7f5468697320746f6b656e20646f65736e277420686176652061206d617463686960008201527f6e67206269640000000000000000000000000000000000000000000000000000602082015250565b7f61756374696f6e3a2077726f6e6720646576656c6f7065720000000000000000600082015250565b7f54686973206164647265737320646f65736e2774206861766520626964206f6e60008201527f207468697320746f6b656e000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e206368616e6765207072696360008201527f65206f6620746f6b656e00000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f5468697320746f6b656e20646f6e2774207365742070726f647563657220616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4f6e6c7920746f6b656e2073656c6c65722063616e2064656c69737420746f6b60008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f5468652076616c75652073656e642069732062656c6f77207a65726f00000000600082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e206c69737420746f6b656e00600082015250565b7f416c6c6f7765642070657263656e746167652072616e6765206973203120746f60008201527f2031303030000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e20616363657074206269642060008201527f6f6620746f6b656e000000000000000000000000000000000000000000000000602082015250565b600060443d1015618b4957618bcc565b618b51617c4e565b60043d036004823e80513d602482011167ffffffffffffffff82111715618b79575050618bcc565b808201805167ffffffffffffffff811115618b975750505050618bcc565b80602083010160043d038501811115618bb4575050505050618bcc565b618bc382602001850186618023565b82955050505050505b90565b618bd881617f0a565b8114618be357600080fd5b50565b618bef81617f1c565b8114618bfa57600080fd5b50565b618c0681617f28565b8114618c1157600080fd5b50565b618c1d81617f74565b8114618c2857600080fd5b5056fea26469706673582212201d275170bcac22c715ad733e8dcade41266859a7fa78f7e580401f53ab7dc67064736f6c63430008030033
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106103b95760003560e01c806388a8c95c116101f4578063bb2be9a51161011a578063e8dbfd5a116100ad578063f21723ec1161007c578063f21723ec14610be7578063f242432a14610c03578063f2fde38b14610c1f578063feb8840614610c3b576103b9565b8063e8dbfd5a14610b61578063e985e9c514610b7d578063ecadef0e14610bad578063f0e6dcab14610bc9576103b9565b8063e0f04eaf116100e9578063e0f04eaf14610adb578063e154870214610af7578063e7d585a814610b15578063e7f7fb8614610b45576103b9565b8063bb2be9a514610a69578063bbaed38f14610a85578063beabacc814610a8f578063dc36bb9a14610aab576103b9565b80639a6fba4b11610192578063ae4044d411610161578063ae4044d4146109e1578063afb18fe714610a11578063b6be53ba14610a2f578063b7e6a19414610a4b576103b9565b80639a6fba4b146109595780639a8cea8214610977578063a22cb465146109a7578063a6a27f3a146109c3576103b9565b80638da5cb5b116101ce5780638da5cb5b146108d157806391cca3db146108ef57806398792eec1461090d5780639912cd8c1461093d576103b9565b806388a8c95c1461086957806388bae3b51461088557806389db0efa146108b5576103b9565b80634a66e310116102e45780636747412c1161027757806375ccb1f21161024657806375ccb1f2146107ce5780637d7660e0146107fe5780637e07590d1461081c5780638264045a1461084d576103b9565b80636747412c1461074857806370a3b39014610778578063715018a6146107a8578063741cbae4146107b2576103b9565b80635cc2c66b116102b35780635cc2c66b146106975780635fc8be6c146106c7578063606df430146106e357806363c46cdf14610718576103b9565b80634a66e310146105f85780634e1273f41461062b57806354b0de6a1461065b5780635bf8633a14610679576103b9565b80630e89341c1161035c57806334e095521161032b57806334e0955214610584578063383fba25146105a057806340a97919146105be57806347e1bdfb146105dc576103b9565b80630e89341c146104ec57806315832b891461051c5780631e56afe9146105385780632eb2c2d614610568576103b9565b806307da163b1161039857806307da163b1461044f5780630ade77021461047f5780630c266c80146104b25780630d4b404f146104ce576103b9565b8062fdd58e146103be57806301ffc9a7146103ee5780630609d0951461041e575b600080fd5b6103d860048036038101906103d391906167a2565b610c57565b6040516103e59190617b8e565b60405180910390f35b6104086004803603810190610403919061693a565b610d21565b6040516104159190617650565b60405180910390f35b610438600480360381019061043391906167a2565b610e03565b60405161044692919061758a565b60405180910390f35b61046960048036038101906104649190616a6e565b610f64565b6040516104769190617b8e565b60405180910390f35b6104996004803603810190610494919061682d565b610f96565b6040516104a994939291906173ad565b60405180910390f35b6104cc60048036038101906104c791906169f3565b6111be565b005b6104d6611346565b6040516104e39190617369565b60405180910390f35b61050660048036038101906105019190616a6e565b61136c565b6040516105139190617686565b60405180910390f35b6105366004803603810190610531919061698c565b611400565b005b610552600480360381019061054d9190616a6e565b61157c565b60405161055f9190617b58565b60405180910390f35b610582600480360381019061057d91906165c9565b61171f565b005b61059e60048036038101906105999190616688565b6117c0565b005b6105a86118f7565b6040516105b591906175f7565b60405180910390f35b6105c6611abf565b6040516105d39190617b8e565b60405180910390f35b6105f660048036038101906105f1919061653b565b611b25565b005b610612600480360381019061060d91906167de565b611b9b565b60405161062294939291906173f2565b60405180910390f35b6106456004803603810190610640919061687c565b611de2565b60405161065291906175f7565b60405180910390f35b610663611f93565b60405161067091906175b3565b60405180910390f35b610681611fae565b60405161068e9190617369565b60405180910390f35b6106b160048036038101906106ac9190616afc565b611fd8565b6040516106be91906175b3565b60405180910390f35b6106e160048036038101906106dc919061698c565b612149565b005b6106fd60048036038101906106f8919061653b565b6122c5565b60405161070f96959493929190617bd2565b60405180910390f35b610732600480360381019061072d9190616a6e565b61233b565b60405161073f9190617b8e565b60405180910390f35b610762600480360381019061075d9190616ac0565b61236d565b60405161076f9190617650565b60405180910390f35b610792600480360381019061078d9190616ac0565b61252b565b60405161079f9190617b58565b60405180910390f35b6107b061261e565b005b6107cc60048036038101906107c7919061682d565b612632565b005b6107e860048036038101906107e39190616afc565b6127b7565b6040516107f591906175d5565b60405180910390f35b6108066129bc565b60405161081391906175f7565b60405180910390f35b6108366004803603810190610831919061682d565b612b07565b60405161084492919061758a565b60405180910390f35b6108676004803603810190610862919061682d565b612d41565b005b610883600480360381019061087e919061653b565b612ee1565b005b61089f600480360381019061089a9190616a6e565b612fb5565b6040516108ac9190617650565b60405180910390f35b6108cf60048036038101906108ca919061682d565b6130c4565b005b6108d96132e4565b6040516108e69190617369565b60405180910390f35b6108f761330e565b6040516109049190617369565b60405180910390f35b61092760048036038101906109229190616a6e565b613334565b6040516109349190617b73565b60405180910390f35b610957600480360381019061095291906167a2565b6133e6565b005b6109616134aa565b60405161096e9190617369565b60405180910390f35b610991600480360381019061098c9190616a6e565b6134d0565b60405161099e9190617b8e565b60405180910390f35b6109c160048036038101906109bc9190616766565b613502565b005b6109cb613518565b6040516109d89190617b8e565b60405180910390f35b6109fb60048036038101906109f69190616a6e565b61360c565b604051610a089190617b8e565b60405180910390f35b610a19613650565b604051610a269190617369565b60405180910390f35b610a496004803603810190610a4491906168e8565b61367a565b005b610a53613727565b604051610a609190617369565b60405180910390f35b610a836004803603810190610a7e91906167de565b61374d565b005b610a8d613800565b005b610aa96004803603810190610aa49190616688565b6138a0565b005b610ac56004803603810190610ac0919061653b565b613b5a565b604051610ad29190617650565b60405180910390f35b610af56004803603810190610af0919061658d565b613ce0565b005b610aff613ddb565b604051610b0c91906175d5565b60405180910390f35b610b2f6004803603810190610b2a9190616a6e565b613df6565b604051610b3c91906175b3565b60405180910390f35b610b5f6004803603810190610b5a9190616688565b614026565b005b610b7b6004803603810190610b76919061658d565b61423f565b005b610b976004803603810190610b92919061658d565b61433a565b604051610ba49190617650565b60405180910390f35b610bc76004803603810190610bc2919061658d565b6143ce565b005b610bd1614413565b604051610bde9190617650565b60405180910390f35b610c016004803603810190610bfc91906169f3565b61442a565b005b610c1d6004803603810190610c1891906166d7565b6145b2565b005b610c396004803603810190610c34919061653b565b614653565b005b610c556004803603810190610c5091906167a2565b6146d7565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbf906177f8565b60405180910390fd5b60a8600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610dec57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610dfc5750610dfb82614788565b5b9050919050565b600080600060de600085815260200190815260200160002060020160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090508473ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff1614610f44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3b906179b8565b60405180910390fd5b610f4e84866147f2565b8060400151816020015192509250509250929050565b6000610f8f600554610f816002548561491690919063ffffffff16565b61492c90919063ffffffff16565b9050919050565b600080600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461102c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102390617998565b60405180910390fd5b600061103787613334565b9050600073ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff1614156110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a4906178f8565b60405180910390fd5b6110b7878961236d565b156110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90617798565b60405180910390fd5b806020015186101561113e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113590617838565b60405180910390fd5b8060400151600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694509450945094505093509350935093565b6000601060169054906101000a900460ff161590508080156111f257506001601060159054906101000a900460ff1660ff16105b80611221575061120130614942565b15801561122057506001601060159054906101000a900460ff1660ff16145b5b611260576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611257906178b8565b60405180910390fd5b6001601060156101000a81548160ff021916908360ff160217905550801561129e576001601060166101000a81548160ff0219169083151502179055505b6112b660405180602001604052806000815250614965565b6112c1858585612149565b6112ca82611b25565b600160da60006101000a81548160ff021916908315150217905550801561133f576000601060166101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051611336919061766b565b60405180910390a15b5050505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060aa805461137b90617ff1565b80601f01602080910402602001604051908101604052809291908181526020018280546113a790617ff1565b80156113f45780601f106113c9576101008083540402835291602001916113f4565b820191906000526020600020905b8154815290600101906020018083116113d757829003601f168201915b50505050509050919050565b82600a9080519060200190611416929190616144565b5081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601060146101000a81548160ff021916908315150217905550505050565b6115846161ca565b6000604051806060016040528084815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff16815250905060005b6115dc60de60008681526020019081526020016000206000016149c0565b81101561171557600061160d8260de60008881526020019081526020016000206000016149d590919063ffffffff16565b9050600060de600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090506116e4816149ef565b80156116f7575083602001518160200151115b15611700578093505b5050808061170d90618054565b9150506115be565b5080915050919050565b611727614a28565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061176d575061176c85611767614a28565b61433a565b5b6117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390617718565b60405180910390fd5b6117b98585858585614a30565b5050505050565b6000811180156117d257506103e88111155b611811576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180890617b18565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506005546103e814611898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188f906177d8565b60405180910390fd5b806003819055506001546002546003546005546118b59190617ed6565b6118bf9190617ed6565b6118c99190617ed6565b6000819055506001546002546003546118e29190617df5565b6118ec9190617ed6565b600481905550505050565b606060005b61190660dc614da1565b8110156119f75760006119238260dc614db690919063ffffffff16565b90506119b560db600083815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050614dd0565b6119e35760e38190806001815401808255809150506001900390600052602060002001600090919091909150555b5080806119ef90618054565b9150506118fc565b5060005b60e380549050811015611a6857611a5560e38281548110611a45577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154614e31565b8080611a6090618054565b9150506119fb565b5060e3805480602002602001604051908101604052809291908181526020018280548015611ab557602002820191906000526020600020905b815481526020019060010190808311611aa1575b5050505050905090565b6000806000905060005b611ad360df614da1565b811015611b1d57611b08611af9611af48360df614db690919063ffffffff16565b614eb0565b8361501a90919063ffffffff16565b91508080611b1590618054565b915050611ac9565b508091505090565b6103cf60008190555060006001819055506000600281905550601960038190555060196004819055506103e860058190555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2890617998565b60405180910390fd5b611c3b868861236d565b611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7190617b38565b60405180910390fd5b611c8386612fb5565b80611c935750611c9287613b5a565b5b611cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc9906176f8565b60405180910390fd5b6000611cde878761252b565b905060008160200151118015611d2357508573ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff16145b611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5990617978565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836020015194509450945094505093509350935093565b60608151835114611e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1f90617a38565b60405180910390fd5b6000835167ffffffffffffffff811115611e6b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611e995781602001602082028036833780820191505090505b50905060005b8451811015611f8857611f32858281518110611ee4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110611f25577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610c57565b828281518110611f6b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080611f8190618054565b9050611e9f565b508091505092915050565b6060611fa96000611fa460df614da1565b611fd8565b905090565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060611fe460df614da1565b83108015611ff25750600082115b1561214257600082905061200660df614da1565b83856120129190617df5565b1115612030578361202360df614da1565b61202d9190617ed6565b90505b60008167ffffffffffffffff811115612072577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156120ab57816020015b6120986161ca565b8152602001906001900390816120905790505b50905060005b82811015612137576120e06120db87836120cb9190617df5565b60df614db690919063ffffffff16565b61157c565b828281518110612119577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250808061212f90618054565b9150506120b1565b508092505050612143565b5b92915050565b82600c908051906020019061215f929190616144565b5081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601060146101000a81548160ff021916908315150217905550505050565b6000806000806000806103e860055414612314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230b906177d8565b60405180910390fd5b60005460015460025460035460045460055495509550955095509550955091939550919395565b60006123666005546123586001548561491690919063ffffffff16565b61492c90919063ffffffff16565b9050919050565b6000801515601060149054906101000a900460ff161515141561247257600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016123e59190617b8e565b60206040518083038186803b1580156123fd57600080fd5b505afa92505050801561242e57506040513d601f19601f8201168201806040525081019061242b9190616564565b60015b61243b5760009050612525565b8273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614915050612525565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e84866040518363ffffffff1660e01b81526004016124d092919061758a565b60206040518083038186803b1580156124e857600080fd5b505afa1580156124fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125209190616a97565b141590505b92915050565b6125336161ca565b600060de600085815260200190815260200160002060020160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050612608816149ef565b156126165780915050612618565b505b92915050565b612626615030565b61263060006150ae565b565b60026075541415612678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266f90617a98565b60405180910390fd5b6002607581905550600061268b83613334565b9050612697838561236d565b6126d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cd906179d8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff16141561274a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612741906178f8565b60405180910390fd5b600082101561278e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278590617ad8565b60405180910390fd5b8160db600085815260200190815260200160002060010181905550506001607581905550505050565b60606127c360dc614da1565b831080156127d15750600082115b156129b55760008290506127e560dc614da1565b83856127f19190617df5565b111561280f578361280260dc614da1565b61280c9190617ed6565b90505b60008167ffffffffffffffff811115612851577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561288a57816020015b612877616201565b81526020019060019003908161286f5790505b50905060005b828110156129aa57600060db60006128bd89856128ad9190617df5565b60dc614db690919063ffffffff16565b815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905061294b81614dd0565b15612996578083838151811061298a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052505b5080806129a290618054565b915050612890565b5080925050506129b6565b5b92915050565b606060005b6129cb60df614da1565b811015612a3f5760006129e88260df614db690919063ffffffff16565b905060006129f582614eb0565b90506000811115612a2a5760e38290806001815401808255809150506001900390600052602060002001600090919091909150555b50508080612a3790618054565b9150506129c1565b5060005b60e380549050811015612ab057612a9d60e38281548110612a8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154615174565b8080612aa890618054565b915050612a43565b5060e3805480602002602001604051908101604052809291908181526020018280548015612afd57602002820191906000526020600020905b815481526020019060010190808311612ae9575b5050505050905090565b60008060da60009054906101000a900460ff16612b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b50906177b8565b60405180910390fd5b612b986040518060400160405280600781526020017f73656e6465723a00000000000000000000000000000000000000000000000000815250866153eb565b60008311612bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd290617878565b60405180910390fd5b612be5848661236d565b612c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1b90617af8565b60405180910390fd5b612c2d84612fb5565b80612c3d5750612c3c85613b5a565b5b612c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7390617958565b60405180910390fd5b60405180606001604052808581526020018481526020018673ffffffffffffffffffffffffffffffffffffffff1681525060db6000868152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050612d328460dc61548790919063ffffffff16565b50848391509150935093915050565b6000821480612d9f5750600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b612dde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd590617938565b60405180910390fd5b6000811480612e3c5750600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b612e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7290617a78565b60405180910390fd5b8160028190555080600181905550600154600354600254600554612e9f9190617ed6565b612ea99190617ed6565b612eb39190617ed6565b600081905550600154600354600254612ecc9190617df5565b612ed69190617df5565b600481905550505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6890617998565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000801515601060149054906101000a900460ff16151514156130ba57600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663081812fc836040518263ffffffff1660e01b815260040161302d9190617b8e565b60206040518083038186803b15801561304557600080fd5b505afa92505050801561307657506040513d601f19601f820116820180604052508101906130739190616564565b60015b61308357600090506130bf565b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149150506130bf565b600190505b919050565b60da60009054906101000a900460ff16613113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310a906177b8565b60405180910390fd5b60008111613156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314d90617818565b60405180910390fd5b613160828461236d565b156131a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319790617858565b60405180910390fd5b600060405180606001604052808481526020018381526020018573ffffffffffffffffffffffffffffffffffffffff1681525090506131e98360df6154a190919063ffffffff16565b613203576132018360df61548790919063ffffffff16565b505b61322b8460de60008681526020019081526020016000206000016154bb90919063ffffffff16565b508060de600085815260200190815260200160002060020160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050505050565b6000604360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61333c616201565b600060db600084815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090506133d181614dd0565b156133df57809150506133e1565b505b919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346d90617998565b60405180910390fd5b600061348182613334565b905061349281604001518484614026565b61349b82614e31565b6134a582846147f2565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006134fb6005546134ed6003548561491690919063ffffffff16565b61492c90919063ffffffff16565b9050919050565b61351461350d614a28565b83836154eb565b5050565b6000806000905060005b61352c60dc614da1565b811015613604576135d660db600061354e8460dc614db690919063ffffffff16565b815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050614dd0565b6135f1576135ee60018361501a90919063ffffffff16565b91505b80806135fc90618054565b915050613522565b508091505090565b600061364961363a60055461362c6004548661491690919063ffffffff16565b61492c90919063ffffffff16565b8361565890919063ffffffff16565b9050919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461370a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370190617998565b60405180910390fd5b8060da60006101000a81548160ff02191690831515021790555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146137dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137d490617998565b60405180910390fd5b6137e8838284614026565b6137f182614e31565b6137fb82826147f2565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388790617998565b60405180910390fd5b60e3600061389e9190616238565b565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392790617998565b60405180910390fd5b61393a818461236d565b613979576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161397090617b38565b60405180910390fd5b61398281612fb5565b80613992575061399183613b5a565b5b6139d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139c8906176f8565b60405180910390fd5b60001515601060149054906101000a900460ff1615151415613a8357600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e8484846040518463ffffffff1660e01b8152600401613a4c9392919061749f565b600060405180830381600087803b158015613a6657600080fd5b505af1158015613a7a573d6000803e3d6000fd5b50505050613b55565b60006040518060400160405280600381526020017f30783000000000000000000000000000000000000000000000000000000000008152509050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a8585856001866040518663ffffffff1660e01b8152600401613b219594939291906174d6565b600060405180830381600087803b158015613b3b57600080fd5b505af1158015613b4f573d6000803e3d6000fd5b50505050505b505050565b6000801515601060149054906101000a900460ff1615151415613c2b57600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c583306040518363ffffffff1660e01b8152600401613bd4929190617384565b60206040518083038186803b158015613bec57600080fd5b505afa158015613c00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c249190616911565b9050613cdb565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c583306040518363ffffffff1660e01b8152600401613c88929190617384565b60206040518083038186803b158015613ca057600080fd5b505afa158015613cb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cd89190616911565b90505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d4790617758565b60405180910390fd5b6005546103e814613d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d8d906177d8565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6060613df16000613dec60dc614da1565b6127b7565b905090565b60606000613e1860de60008581526020019081526020016000206000016149c0565b67ffffffffffffffff811115613e57577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015613e9057816020015b613e7d6161ca565b815260200190600190039081613e755790505b50905060005b613eb460de60008681526020019081526020016000206000016149c0565b81101561401c576000613ee58260de60008881526020019081526020016000206000016149d590919063ffffffff16565b9050600060de600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050613fbc816149ef565b156140075780848481518110613ffb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052505b5050808061401490618054565b915050613e96565b5080915050919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146140b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016140ad90617998565b60405180910390fd5b60001515601060149054906101000a900460ff161515141561416857600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e8484846040518463ffffffff1660e01b81526004016141319392919061749f565b600060405180830381600087803b15801561414b57600080fd5b505af115801561415f573d6000803e3d6000fd5b5050505061423a565b60006040518060400160405280600381526020017f30783000000000000000000000000000000000000000000000000000000000008152509050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a8585856001866040518663ffffffff1660e01b81526004016142069594939291906174d6565b600060405180830381600087803b15801561422057600080fd5b505af1158015614234573d6000803e3d6000fd5b50505050505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156142af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142a690617758565b60405180910390fd5b6005546103e8146142f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142ec906177d8565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600060a960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600060da60009054906101000a900460ff16905090565b6000601060169054906101000a900460ff1615905080801561445e57506001601060159054906101000a900460ff1660ff16105b8061448d575061446d30614942565b15801561448c57506001601060159054906101000a900460ff1660ff16145b5b6144cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016144c3906178b8565b60405180910390fd5b6001601060156101000a81548160ff021916908360ff160217905550801561450a576001601060166101000a81548160ff0219169083151502179055505b61452260405180602001604052806000815250614965565b61452d858585611400565b61453682611b25565b600160da60006101000a81548160ff02191690831515021790555080156145ab576000601060166101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516145a2919061766b565b60405180910390a15b5050505050565b6145ba614a28565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061460057506145ff856145fa614a28565b61433a565b5b61463f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161463690617718565b60405180910390fd5b61464c858585858561566e565b5050505050565b61465b615030565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156146cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016146c290617778565b60405180910390fd5b6146d4816150ae565b50565b8173ffffffffffffffffffffffffffffffffffffffff1660db600083815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461477b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161477290617ab8565b60405180910390fd5b61478481614e31565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61481a8160de600085815260200190815260200160002060000161590d90919063ffffffff16565b156149125760de600083815260200190815260200160002060020160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008082016000905560018201600090556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550506148d48160de600085815260200190815260200160002060000161593d90919063ffffffff16565b5060006148f560de60008581526020019081526020016000206000016149c0565b14156149115761490f8260df61596d90919063ffffffff16565b505b5b5050565b600081836149249190617e7c565b905092915050565b6000818361493a9190617e4b565b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b601060169054906101000a900460ff166149b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016149ab906179f8565b60405180910390fd5b6149bd81615987565b50565b60006149ce826000016159e2565b9050919050565b60006149e483600001836159f3565b60001c905092915050565b6000614a038260000151836040015161236d565b158015614a14575060008260200151115b15614a225760019050614a23565b5b919050565b600033905090565b8151835114614a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614a6b90617a58565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415614ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614adb90617898565b60405180910390fd5b6000614aee614a28565b9050614afe818787878787615a44565b60005b8451811015614cfe576000858281518110614b45577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110614b8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600060a8600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015614c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614c23906178d8565b60405180910390fd5b81810360a8600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160a8600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254614ce39190617df5565b9250508190555050505080614cf790618054565b9050614b01565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051614d75929190617619565b60405180910390a4614d8b818787878787615a4c565b614d99818787878787615a54565b505050505050565b6000614daf826000016159e2565b9050919050565b6000614dc583600001836159f3565b60001c905092915050565b6000614de48260000151836040015161236d565b8015614e0d5750614df88260000151612fb5565b80614e0c5750614e0b8260400151613b5a565b5b5b8015614e1d575060008260200151115b15614e2b5760019050614e2c565b5b919050565b614e458160dc6154a190919063ffffffff16565b15614ead5760db600082815260200190815260200160002060008082016000905560018201600090556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555050614eab8160dc61596d90919063ffffffff16565b505b50565b6000806000905060005b614ed860de60008681526020019081526020016000206000016149c0565b811015615010576000614f098260de60008881526020019081526020016000206000016149d590919063ffffffff16565b9050600060de600087815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050614fe0816149ef565b614ffb57614ff860018561501a90919063ffffffff16565b93505b5050808061500890618054565b915050614eba565b5080915050919050565b600081836150289190617df5565b905092915050565b615038614a28565b73ffffffffffffffffffffffffffffffffffffffff166150566132e4565b73ffffffffffffffffffffffffffffffffffffffff16146150ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016150a390617918565b60405180910390fd5b565b6000604360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081604360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b61519560de60008481526020019081526020016000206000016149c0565b8110156153415760006151c68260de60008681526020019081526020016000206000016149d590919063ffffffff16565b9050600060de600085815260200190815260200160002060020160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905061529d816149ef565b61532c5760e46152cb8460de60008881526020019081526020016000206000016149d590919063ffffffff16565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050808061533990618054565b915050615177565b5060005b60e4805490508110156153d957600060e4828154811061538e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506153c583826147f2565b5080806153d190618054565b915050615345565b5060e460006153e89190616259565b50565b61548382826040516024016154019291906176a8565b6040516020818303038152906040527f319af333000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050615c3b565b5050565b6000615499836000018360001b615c64565b905092915050565b60006154b3836000018360001b615cd4565b905092915050565b60006154e3836000018373ffffffffffffffffffffffffffffffffffffffff1660001b615c64565b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561555a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161555190617a18565b60405180910390fd5b8060a960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161564b9190617650565b60405180910390a3505050565b600081836156669190617ed6565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156156de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016156d590617898565b60405180910390fd5b60006156e8614a28565b905060006156f585615cf7565b9050600061570285615cf7565b9050615712838989858589615a44565b600060a8600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156157aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016157a1906178d8565b60405180910390fd5b85810360a8600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560a8600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546158619190617df5565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516158de929190617ba9565b60405180910390a46158f4848a8a86868a615a4c565b615902848a8a8a8a8a615dbd565b505050505050505050565b6000615935836000018373ffffffffffffffffffffffffffffffffffffffff1660001b615cd4565b905092915050565b6000615965836000018373ffffffffffffffffffffffffffffffffffffffff1660001b615fa4565b905092915050565b600061597f836000018360001b615fa4565b905092915050565b601060169054906101000a900460ff166159d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016159cd906179f8565b60405180910390fd5b6159df8161612a565b50565b600081600001805490509050919050565b6000826000018281548110615a31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b505050505050565b505050505050565b615a738473ffffffffffffffffffffffffffffffffffffffff16614942565b15615c33578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401615ab9959493929190617437565b602060405180830381600087803b158015615ad357600080fd5b505af1925050508015615b0457506040513d601f19601f82011682018060405250810190615b019190616963565b60015b615baa57615b10618159565b806308c379a01415615b6d5750615b25618b39565b80615b305750615b6f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615b649190617686565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615ba1906176d8565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614615c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615c2890617738565b60405180910390fd5b505b505050505050565b60008151905060006a636f6e736f6c652e6c6f679050602083016000808483855afa5050505050565b6000615c708383615cd4565b615cc9578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050615cce565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b60606000600167ffffffffffffffff811115615d3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015615d6a5781602001602082028036833780820191505090505b5090508281600081518110615da8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b615ddc8473ffffffffffffffffffffffffffffffffffffffff16614942565b15615f9c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401615e22959493929190617530565b602060405180830381600087803b158015615e3c57600080fd5b505af1925050508015615e6d57506040513d601f19601f82011682018060405250810190615e6a9190616963565b60015b615f1357615e79618159565b806308c379a01415615ed65750615e8e618b39565b80615e995750615ed8565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615ecd9190617686565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615f0a906176d8565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614615f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401615f9190617738565b60405180910390fd5b505b505050505050565b6000808360010160008481526020019081526020016000205490506000811461611e576000600182615fd69190617ed6565b9050600060018660000180549050615fee9190617ed6565b90508181146160a9576000866000018281548110616035577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508087600001848154811061607f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b856000018054806160e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050616124565b60009150505b92915050565b8060aa9080519060200190616140929190616144565b5050565b82805461615090617ff1565b90600052602060002090601f01602090048101928261617257600085556161b9565b82601f1061618b57805160ff19168380011785556161b9565b828001600101855582156161b9579182015b828111156161b857825182559160200191906001019061619d565b5b5090506161c6919061627a565b5090565b60405180606001604052806000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b60405180606001604052806000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b5080546000825590600052602060002090810190616256919061627a565b50565b5080546000825590600052602060002090810190616277919061627a565b50565b5b8082111561629357600081600090555060010161627b565b5090565b60006162aa6162a584617c58565b617c33565b905080838252602082019050828560208602820111156162c957600080fd5b60005b858110156162f957816162df88826163eb565b8452602084019350602083019250506001810190506162cc565b5050509392505050565b600061631661631184617c84565b617c33565b9050808382526020820190508285602086028201111561633557600080fd5b60005b85811015616365578161634b8882616511565b845260208401935060208301925050600181019050616338565b5050509392505050565b600061638261637d84617cb0565b617c33565b90508281526020810184848401111561639a57600080fd5b6163a5848285617faf565b509392505050565b60006163c06163bb84617ce1565b617c33565b9050828152602081018484840111156163d857600080fd5b6163e3848285617faf565b509392505050565b6000813590506163fa81618bcf565b92915050565b60008151905061640f81618bcf565b92915050565b600082601f83011261642657600080fd5b8135616436848260208601616297565b91505092915050565b600082601f83011261645057600080fd5b8135616460848260208601616303565b91505092915050565b60008135905061647881618be6565b92915050565b60008151905061648d81618be6565b92915050565b6000813590506164a281618bfd565b92915050565b6000815190506164b781618bfd565b92915050565b600082601f8301126164ce57600080fd5b81356164de84826020860161636f565b91505092915050565b600082601f8301126164f857600080fd5b81356165088482602086016163ad565b91505092915050565b60008135905061652081618c14565b92915050565b60008151905061653581618c14565b92915050565b60006020828403121561654d57600080fd5b600061655b848285016163eb565b91505092915050565b60006020828403121561657657600080fd5b600061658484828501616400565b91505092915050565b600080604083850312156165a057600080fd5b60006165ae858286016163eb565b92505060206165bf858286016163eb565b9150509250929050565b600080600080600060a086880312156165e157600080fd5b60006165ef888289016163eb565b9550506020616600888289016163eb565b945050604086013567ffffffffffffffff81111561661d57600080fd5b6166298882890161643f565b935050606086013567ffffffffffffffff81111561664657600080fd5b6166528882890161643f565b925050608086013567ffffffffffffffff81111561666f57600080fd5b61667b888289016164bd565b9150509295509295909350565b60008060006060848603121561669d57600080fd5b60006166ab868287016163eb565b93505060206166bc868287016163eb565b92505060406166cd86828701616511565b9150509250925092565b600080600080600060a086880312156166ef57600080fd5b60006166fd888289016163eb565b955050602061670e888289016163eb565b945050604061671f88828901616511565b935050606061673088828901616511565b925050608086013567ffffffffffffffff81111561674d57600080fd5b616759888289016164bd565b9150509295509295909350565b6000806040838503121561677957600080fd5b6000616787858286016163eb565b925050602061679885828601616469565b9150509250929050565b600080604083850312156167b557600080fd5b60006167c3858286016163eb565b92505060206167d485828601616511565b9150509250929050565b6000806000606084860312156167f357600080fd5b6000616801868287016163eb565b935050602061681286828701616511565b9250506040616823868287016163eb565b9150509250925092565b60008060006060848603121561684257600080fd5b6000616850868287016163eb565b935050602061686186828701616511565b925050604061687286828701616511565b9150509250925092565b6000806040838503121561688f57600080fd5b600083013567ffffffffffffffff8111156168a957600080fd5b6168b585828601616415565b925050602083013567ffffffffffffffff8111156168d257600080fd5b6168de8582860161643f565b9150509250929050565b6000602082840312156168fa57600080fd5b600061690884828501616469565b91505092915050565b60006020828403121561692357600080fd5b60006169318482850161647e565b91505092915050565b60006020828403121561694c57600080fd5b600061695a84828501616493565b91505092915050565b60006020828403121561697557600080fd5b6000616983848285016164a8565b91505092915050565b6000806000606084860312156169a157600080fd5b600084013567ffffffffffffffff8111156169bb57600080fd5b6169c7868287016164e7565b93505060206169d8868287016163eb565b92505060406169e9868287016163eb565b9150509250925092565b60008060008060808587031215616a0957600080fd5b600085013567ffffffffffffffff811115616a2357600080fd5b616a2f878288016164e7565b9450506020616a40878288016163eb565b9350506040616a51878288016163eb565b9250506060616a62878288016163eb565b91505092959194509250565b600060208284031215616a8057600080fd5b6000616a8e84828501616511565b91505092915050565b600060208284031215616aa957600080fd5b6000616ab784828501616526565b91505092915050565b60008060408385031215616ad357600080fd5b6000616ae185828601616511565b9250506020616af2858286016163eb565b9150509250929050565b60008060408385031215616b0f57600080fd5b6000616b1d85828601616511565b9250506020616b2e85828601616511565b9150509250929050565b6000616b448383617243565b60608301905092915050565b6000616b5c83836172c7565b60608301905092915050565b6000616b74838361734b565b60208301905092915050565b616b8981617f0a565b82525050565b616b9881617f0a565b82525050565b6000616ba982617d42565b616bb38185617da0565b9350616bbe83617d12565b8060005b83811015616bef578151616bd68882616b38565b9750616be183617d79565b925050600181019050616bc2565b5085935050505092915050565b6000616c0782617d4d565b616c118185617db1565b9350616c1c83617d22565b8060005b83811015616c4d578151616c348882616b50565b9750616c3f83617d86565b925050600181019050616c20565b5085935050505092915050565b6000616c6582617d58565b616c6f8185617dc2565b9350616c7a83617d32565b8060005b83811015616cab578151616c928882616b68565b9750616c9d83617d93565b925050600181019050616c7e565b5085935050505092915050565b616cc181617f1c565b82525050565b6000616cd282617d63565b616cdc8185617dd3565b9350616cec818560208601617fbe565b616cf58161817b565b840191505092915050565b616d0981617f8b565b82525050565b616d1881617f9d565b82525050565b6000616d2982617d6e565b616d338185617de4565b9350616d43818560208601617fbe565b616d4c8161817b565b840191505092915050565b6000616d64603483617de4565b9150616d6f82618199565b604082019050919050565b6000616d87603583617de4565b9150616d92826181e8565b604082019050919050565b6000616daa602f83617de4565b9150616db582618237565b604082019050919050565b6000616dcd602883617de4565b9150616dd882618286565b604082019050919050565b6000616df0601883617de4565b9150616dfb826182d5565b602082019050919050565b6000616e13602683617de4565b9150616e1e826182fe565b604082019050919050565b6000616e36602583617de4565b9150616e418261834d565b604082019050919050565b6000616e59601f83617de4565b9150616e648261839c565b602082019050919050565b6000616e7c601a83617de4565b9150616e87826183c5565b602082019050919050565b6000616e9f602a83617de4565b9150616eaa826183ee565b604082019050919050565b6000616ec2601a83617de4565b9150616ecd8261843d565b602082019050919050565b6000616ee5602c83617de4565b9150616ef082618466565b604082019050919050565b6000616f08602283617de4565b9150616f13826184b5565b604082019050919050565b6000616f2b603883617de4565b9150616f3682618504565b604082019050919050565b6000616f4e602583617de4565b9150616f5982618553565b604082019050919050565b6000616f71602e83617de4565b9150616f7c826185a2565b604082019050919050565b6000616f94602a83617de4565b9150616f9f826185f1565b604082019050919050565b6000616fb7601583617de4565b9150616fc282618640565b602082019050919050565b6000616fda602083617de4565b9150616fe582618669565b602082019050919050565b6000616ffd602483617de4565b915061700882618692565b604082019050919050565b6000617020603683617de4565b915061702b826186e1565b604082019050919050565b6000617043602683617de4565b915061704e82618730565b604082019050919050565b6000617066601883617de4565b91506170718261877f565b602082019050919050565b6000617089602b83617de4565b9150617094826187a8565b604082019050919050565b60006170ac602a83617de4565b91506170b7826187f7565b604082019050919050565b60006170cf602b83617de4565b91506170da82618846565b604082019050919050565b60006170f2602983617de4565b91506170fd82618895565b604082019050919050565b6000617115602983617de4565b9150617120826188e4565b604082019050919050565b6000617138602883617de4565b915061714382618933565b604082019050919050565b600061715b602583617de4565b915061716682618982565b604082019050919050565b600061717e601f83617de4565b9150617189826189d1565b602082019050919050565b60006171a1602283617de4565b91506171ac826189fa565b604082019050919050565b60006171c4601c83617de4565b91506171cf82618a49565b602082019050919050565b60006171e7601f83617de4565b91506171f282618a72565b602082019050919050565b600061720a602583617de4565b915061721582618a9b565b604082019050919050565b600061722d602883617de4565b915061723882618aea565b604082019050919050565b606082016000820151617259600085018261734b565b50602082015161726c602085018261734b565b50604082015161727f6040850182616b80565b50505050565b60608201600082015161729b600085018261734b565b5060208201516172ae602085018261734b565b5060408201516172c16040850182616b80565b50505050565b6060820160008201516172dd600085018261734b565b5060208201516172f0602085018261734b565b5060408201516173036040850182616b80565b50505050565b60608201600082015161731f600085018261734b565b506020820151617332602085018261734b565b5060408201516173456040850182616b80565b50505050565b61735481617f74565b82525050565b61736381617f74565b82525050565b600060208201905061737e6000830184616b8f565b92915050565b60006040820190506173996000830185616b8f565b6173a66020830184616b8f565b9392505050565b60006080820190506173c26000830187616b8f565b6173cf6020830186616b8f565b6173dc6040830185616b8f565b6173e96060830184616b8f565b95945050505050565b60006080820190506174076000830187616b8f565b6174146020830186616b8f565b6174216040830185616b8f565b61742e606083018461735a565b95945050505050565b600060a08201905061744c6000830188616b8f565b6174596020830187616b8f565b818103604083015261746b8186616c5a565b9050818103606083015261747f8185616c5a565b905081810360808301526174938184616cc7565b90509695505050505050565b60006060820190506174b46000830186616b8f565b6174c16020830185616b8f565b6174ce604083018461735a565b949350505050565b600060a0820190506174eb6000830188616b8f565b6174f86020830187616b8f565b617505604083018661735a565b6175126060830185616d00565b81810360808301526175248184616cc7565b90509695505050505050565b600060a0820190506175456000830188616b8f565b6175526020830187616b8f565b61755f604083018661735a565b61756c606083018561735a565b818103608083015261757e8184616cc7565b90509695505050505050565b600060408201905061759f6000830185616b8f565b6175ac602083018461735a565b9392505050565b600060208201905081810360008301526175cd8184616b9e565b905092915050565b600060208201905081810360008301526175ef8184616bfc565b905092915050565b600060208201905081810360008301526176118184616c5a565b905092915050565b600060408201905081810360008301526176338185616c5a565b905081810360208301526176478184616c5a565b90509392505050565b60006020820190506176656000830184616cb8565b92915050565b60006020820190506176806000830184616d0f565b92915050565b600060208201905081810360008301526176a08184616d1e565b905092915050565b600060408201905081810360008301526176c28185616d1e565b90506176d16020830184616b8f565b9392505050565b600060208201905081810360008301526176f181616d57565b9050919050565b6000602082019050818103600083015261771181616d7a565b9050919050565b6000602082019050818103600083015261773181616d9d565b9050919050565b6000602082019050818103600083015261775181616dc0565b9050919050565b6000602082019050818103600083015261777181616de3565b9050919050565b6000602082019050818103600083015261779181616e06565b9050919050565b600060208201905081810360008301526177b181616e29565b9050919050565b600060208201905081810360008301526177d181616e4c565b9050919050565b600060208201905081810360008301526177f181616e6f565b9050919050565b6000602082019050818103600083015261781181616e92565b9050919050565b6000602082019050818103600083015261783181616eb5565b9050919050565b6000602082019050818103600083015261785181616ed8565b9050919050565b6000602082019050818103600083015261787181616efb565b9050919050565b6000602082019050818103600083015261789181616f1e565b9050919050565b600060208201905081810360008301526178b181616f41565b9050919050565b600060208201905081810360008301526178d181616f64565b9050919050565b600060208201905081810360008301526178f181616f87565b9050919050565b6000602082019050818103600083015261791181616faa565b9050919050565b6000602082019050818103600083015261793181616fcd565b9050919050565b6000602082019050818103600083015261795181616ff0565b9050919050565b6000602082019050818103600083015261797181617013565b9050919050565b6000602082019050818103600083015261799181617036565b9050919050565b600060208201905081810360008301526179b181617059565b9050919050565b600060208201905081810360008301526179d18161707c565b9050919050565b600060208201905081810360008301526179f18161709f565b9050919050565b60006020820190508181036000830152617a11816170c2565b9050919050565b60006020820190508181036000830152617a31816170e5565b9050919050565b60006020820190508181036000830152617a5181617108565b9050919050565b60006020820190508181036000830152617a718161712b565b9050919050565b60006020820190508181036000830152617a918161714e565b9050919050565b60006020820190508181036000830152617ab181617171565b9050919050565b60006020820190508181036000830152617ad181617194565b9050919050565b60006020820190508181036000830152617af1816171b7565b9050919050565b60006020820190508181036000830152617b11816171da565b9050919050565b60006020820190508181036000830152617b31816171fd565b9050919050565b60006020820190508181036000830152617b5181617220565b9050919050565b6000606082019050617b6d6000830184617285565b92915050565b6000606082019050617b886000830184617309565b92915050565b6000602082019050617ba3600083018461735a565b92915050565b6000604082019050617bbe600083018561735a565b617bcb602083018461735a565b9392505050565b600060c082019050617be7600083018961735a565b617bf4602083018861735a565b617c01604083018761735a565b617c0e606083018661735a565b617c1b608083018561735a565b617c2860a083018461735a565b979650505050505050565b6000617c3d617c4e565b9050617c498282618023565b919050565b6000604051905090565b600067ffffffffffffffff821115617c7357617c7261812a565b5b602082029050602081019050919050565b600067ffffffffffffffff821115617c9f57617c9e61812a565b5b602082029050602081019050919050565b600067ffffffffffffffff821115617ccb57617cca61812a565b5b617cd48261817b565b9050602081019050919050565b600067ffffffffffffffff821115617cfc57617cfb61812a565b5b617d058261817b565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000617e0082617f74565b9150617e0b83617f74565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115617e4057617e3f61809d565b5b828201905092915050565b6000617e5682617f74565b9150617e6183617f74565b925082617e7157617e706180cc565b5b828204905092915050565b6000617e8782617f74565b9150617e9283617f74565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615617ecb57617eca61809d565b5b828202905092915050565b6000617ee182617f74565b9150617eec83617f74565b925082821015617eff57617efe61809d565b5b828203905092915050565b6000617f1582617f54565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000617f9682617f74565b9050919050565b6000617fa882617f7e565b9050919050565b82818337600083830152505050565b60005b83811015617fdc578082015181840152602081019050617fc1565b83811115617feb576000848401525b50505050565b6000600282049050600182168061800957607f821691505b6020821081141561801d5761801c6180fb565b5b50919050565b61802c8261817b565b810181811067ffffffffffffffff8211171561804b5761804a61812a565b5b80604052505050565b600061805f82617f74565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156180925761809161809d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156181785760046000803e61817560005161818c565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f54686520746f6b656e206973206e6f7420617070726f76656420746f2074726160008201527f6e736665722062792074686520636f6e74726163740000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f43616e27742073657420746f2061646472657373203078300000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206f776e65722063616e277420627579207468656972206f776e2060008201527f746f6b656e000000000000000000000000000000000000000000000000000000602082015250565b7f4c697374696e6720616e642062696420617265206e6f7420656e61626c656400600082015250565b7f5468697320746f6b656e206973206e6f74207265676973746564000000000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f506c656173652062696420666f72206d6f7265207468616e2030000000000000600082015250565b7f5468652076616c75652073656e642069732062656c6f772073616c652070726960008201527f636520706c757320666565730000000000000000000000000000000000000000602082015250565b7f5468697320546f6b656e2062656c6f6e677320746f207468697320616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f506c65617365206c69737420666f72206d6f7265207468616e2030206f72207560008201527f736520746865207472616e736665722066756e6374696f6e0000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f546f6b656e206973206e6f7420666f722073616c650000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5468697320746f6b656e20646f6e27742073657420637265617465722061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f5468697320746f6b656e206973206e6f7420616c6c6f77656420746f2074726160008201527f6e73666572206279207468697320636f6e747261637400000000000000000000602082015250565b7f5468697320746f6b656e20646f65736e277420686176652061206d617463686960008201527f6e67206269640000000000000000000000000000000000000000000000000000602082015250565b7f61756374696f6e3a2077726f6e6720646576656c6f7065720000000000000000600082015250565b7f54686973206164647265737320646f65736e2774206861766520626964206f6e60008201527f207468697320746f6b656e000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e206368616e6765207072696360008201527f65206f6620746f6b656e00000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f5468697320746f6b656e20646f6e2774207365742070726f647563657220616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4f6e6c7920746f6b656e2073656c6c65722063616e2064656c69737420746f6b60008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f5468652076616c75652073656e642069732062656c6f77207a65726f00000000600082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e206c69737420746f6b656e00600082015250565b7f416c6c6f7765642070657263656e746167652072616e6765206973203120746f60008201527f2031303030000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746f6b656e206f776e65722063616e20616363657074206269642060008201527f6f6620746f6b656e000000000000000000000000000000000000000000000000602082015250565b600060443d1015618b4957618bcc565b618b51617c4e565b60043d036004823e80513d602482011167ffffffffffffffff82111715618b79575050618bcc565b808201805167ffffffffffffffff811115618b975750505050618bcc565b80602083010160043d038501811115618bb4575050505050618bcc565b618bc382602001850186618023565b82955050505050505b90565b618bd881617f0a565b8114618be357600080fd5b50565b618bef81617f1c565b8114618bfa57600080fd5b50565b618c0681617f28565b8114618c1157600080fd5b50565b618c1d81617f74565b8114618c2857600080fd5b5056fea26469706673582212201d275170bcac22c715ad733e8dcade41266859a7fa78f7e580401f53ab7dc67064736f6c63430008030033