ReservoirAdapter
ReservoirAdapter.sol
is an adapter contract that enables the Unlockd Protocol to interact with the Reservoir marketplace. It implements the IMarketAdapter interface and provides functions for selling, buying, and canceling orders on the Reservoir marketplace.
Key functions:
Prepares an asset for selling on the Reservoir marketplace.
Parameters:
params
: The parameters for preparing the sell operation.
Sells an asset on the Reservoir marketplace.
Parameters:
params
: The parameters for the sell operation.
Prepares for buying an asset on the Reservoir marketplace.
Parameters:
params
: The parameters for preparing the buy operation.
Buys an asset on the Reservoir marketplace.
Parameters:
params
: The parameters for the buy operation.
Returns: The actual cost of the buy operation.
Last updated