Contract Functions
Add your NFT to the pool
- address nftAddress: The address of NFT contract
- uint256 nftId: ID of the NFT token you want to add
- uint256 flashFee: The fee user has to pay for a single rent (in WETH9) [Range: 0-4722.36648 ETH]
- uint256 pricePerBlock: If renting longterm - this is the price per block (0 if not renting longterm) [Range: 0-4722.36648 ETH]
- uint256 maxLongtermBlocks: Maximum amount of blocks for longterm rent [Range: 0-16777216]
Edit your NFT prices
- address
nftAddress
: The address of NFT contract - uint256
nftId
: ID of the NFT token you have in the pool - uint256
flashFee
: The fee user has to pay for a single rent (in WETH9) [Range: 0-4722.36648 ETH] - uint256
pricePerBlock
: If renting longterm - this is the price per block (0 if not renting longterm) [Range: 0-4722.36648 ETH] - uint256
maxLongtermBlocks
: Maximum amount of blocks for longterm rent [Range: 0-16777216]
Remove your NFT from the pool
- address
nftAddress
: The address of NFT contract - uint256
nftId
: ID of the NFT token you want to remove
Withdraw your earnings
No parameters. Withdraws for msg.sender
Execute a Flashloan of NFT
- address
nftAddress
: The address of NFT contract - uint256
nftId
: ID of the NFT token you want to flashloan - uint256
maxLoanPrice
: Price the user is willing to pay for the flashloan - address
receiverAddress
: the contract that will receive the NFT (has to implement INFTFlashLoanReceiver interface) - bytes
data
: calldata that will be passed to the receiver contract (optional)
Buy a longterm rent for any NFT and don't pay any fees for each flashloan() use. Nobody else will be able to use it while your rent lasts (even the original owner!)
- address
nftAddress
: The address of NFT contract - uint256
nftId
: ID of the NFT token you want to rent - uint256
maxPricePerBlock
: Price the user is willing to pay per block for renting the NFT - address
receiverAddress
: Who will receive the longterm rent BorrowerNFT - uint256
blocks
: How many blocks you want to rent (price is calculated per-block)
Last modified 1yr ago