[{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"contract IERC20","name":"WETH9_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nftAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"flashFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pricePerBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxLongtermBlocks","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lenderNFTId","type":"uint256"},{"indexed":false,"internalType":"address","name":"msgSender","type":"address"}],"name":"AddNFT","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nftAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"flashFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pricePerBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxLongtermBlocks","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lenderNFTId","type":"uint256"},{"indexed":false,"internalType":"address","name":"msgSender","type":"address"}],"name":"EditNFT","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nftAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"earnedFees","type":"uint256"},{"indexed":false,"internalType":"address","name":"msgSender","type":"address"}],"name":"Flashloan","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nftAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blocks","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"earnedFees","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"borrowerNFTId","type":"uint256"},{"indexed":false,"internalType":"address","name":"msgSender","type":"address"}],"name":"LongtermRent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPoolFee","type":"uint256"}],"name":"PoolFeeChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nftAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lenderNFTId","type":"uint256"},{"indexed":false,"internalType":"address","name":"msgSender","type":"address"}],"name":"RemoveNFT","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"earnings","type":"uint256"},{"indexed":false,"internalType":"address","name":"msgSender","type":"address"}],"name":"WithdrawEarnings","type":"event"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"uint256","name":"flashFee","type":"uint256"},{"internalType":"uint256","name":"pricePerBlock","type":"uint256"},{"internalType":"uint256","name":"maxLongtermBlocks","type":"uint256"}],"name":"addNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"borrowerNFTCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPoolFee","type":"uint256"}],"name":"changePoolFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"earnings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"uint256","name":"flashFee","type":"uint256"},{"internalType":"uint256","name":"pricePerBlock","type":"uint256"},{"internalType":"uint256","name":"maxLongtermBlocks","type":"uint256"}],"name":"editNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"uint256","name":"maxLoanPrice","type":"uint256"},{"internalType":"address","name":"receiverAddress","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"flashloan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"flashFee","type":"uint256"},{"internalType":"uint256","name":"pricePerBlock","type":"uint256"},{"internalType":"uint256","name":"maxLongtermBlocks","type":"uint256"},{"internalType":"uint256","name":"inLongtermTillBlock","type":"uint256"},{"internalType":"uint256","name":"borrowerNFTId","type":"uint256"},{"internalType":"uint256","name":"lenderNFTId","type":"uint256"}],"internalType":"struct INafta.BigPoolNFT","name":"bigPoolNFT","type":"tuple"}],"name":"fromBigPoolNFT","outputs":[{"components":[{"internalType":"uint72","name":"flashFee","type":"uint72"},{"internalType":"uint72","name":"pricePerBlock","type":"uint72"},{"internalType":"uint24","name":"maxLongtermBlocks","type":"uint24"},{"internalType":"uint32","name":"inLongtermTillBlock","type":"uint32"},{"internalType":"uint32","name":"borrowerNFTId","type":"uint32"},{"internalType":"uint32","name":"lenderNFTId","type":"uint32"}],"internalType":"struct INafta.PoolNFT","name":"","type":"tuple"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lenderNFTCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"uint256","name":"maxPricePerBlock","type":"uint256"},{"internalType":"address","name":"receiverAddress","type":"address"},{"internalType":"uint256","name":"blocks","type":"uint256"}],"name":"longRent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolFeeChangedAtBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"poolNFTs","outputs":[{"components":[{"internalType":"uint72","name":"flashFee","type":"uint72"},{"internalType":"uint72","name":"pricePerBlock","type":"uint72"},{"internalType":"uint24","name":"maxLongtermBlocks","type":"uint24"},{"internalType":"uint32","name":"inLongtermTillBlock","type":"uint32"},{"internalType":"uint32","name":"borrowerNFTId","type":"uint32"},{"internalType":"uint32","name":"lenderNFTId","type":"uint32"}],"internalType":"struct INafta.PoolNFT","name":"nft","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"proposeNewOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"proposedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"removeNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint72","name":"flashFee","type":"uint72"},{"internalType":"uint72","name":"pricePerBlock","type":"uint72"},{"internalType":"uint24","name":"maxLongtermBlocks","type":"uint24"},{"internalType":"uint32","name":"inLongtermTillBlock","type":"uint32"},{"internalType":"uint32","name":"borrowerNFTId","type":"uint32"},{"internalType":"uint32","name":"lenderNFTId","type":"uint32"}],"internalType":"struct INafta.PoolNFT","name":"poolNFT","type":"tuple"}],"name":"toBigPoolNFT","outputs":[{"components":[{"internalType":"uint256","name":"flashFee","type":"uint256"},{"internalType":"uint256","name":"pricePerBlock","type":"uint256"},{"internalType":"uint256","name":"maxLongtermBlocks","type":"uint256"},{"internalType":"uint256","name":"inLongtermTillBlock","type":"uint256"},{"internalType":"uint256","name":"borrowerNFTId","type":"uint256"},{"internalType":"uint256","name":"lenderNFTId","type":"uint256"}],"internalType":"struct INafta.BigPoolNFT","name":"","type":"tuple"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"updateLongRent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEarnings","outputs":[],"stateMutability":"nonpayable","type":"function"}]