PoolMarketplace
Main point of interaction with an ParaSpace protocol's market
Users can:
buyWithCredit
acceptBidWithCredit
batchBuyWithCredit
batchAcceptBidWithCredit
To be covered by a proxy contract, owned by the PoolAddressesProvider of the specific market All admin functions are callable by the PoolConfigurator contract defined also in the PoolAddressesProvider
ADDRESSES_PROVIDER
POOL_REVISION
constructor
Constructor.
Parameters
getRevision
Returns the revision number of the contract
Needs to be defined in the inherited class as a constant.
Return Values
buyWithCredit
Implements the buyWithCredit feature. BuyWithCredit allows users to buy NFT from various NFT marketplaces including OpenSea, LooksRare, X2Y2 etc. Users can use NFT's credit and will need to pay at most (1 - LTV) * $NFT @dev
Parameters
batchBuyWithCredit
Implements the batchBuyWithCredit feature. BuyWithCredit allows users to buy NFT from various NFT marketplaces including OpenSea, LooksRare, X2Y2 etc. Users can use NFT's credit and will need to pay at most (1 - LTV) * $NFT
marketplaceIds[i] should match payload[i] and credits[i]
Parameters
acceptBidWithCredit
Implements the acceptBidWithCredit feature. AcceptBidWithCredit allows users to accept a leveraged bid on ParaSpace NFT marketplace. Users can submit leveraged bid and pay at most (1 - LTV) * $NFT
The nft receiver just needs to do the downpayment
Parameters
batchAcceptBidWithCredit
Implements the batchAcceptBidWithCredit feature. AcceptBidWithCredit allows users to accept a leveraged bid on ParaSpace NFT marketplace. Users can submit leveraged bid and pay at most (1 - LTV) * $NFT
The nft receiver just needs to do the downpayment