Skip to content

ListingConfiguratorController

ListingConfiguratorController

validateListing

function validateListing(struct Assets.Asset[] assets, struct Listings.Params params, uint32 maxLockPeriod, bool immediatePayout) external view

validateRenting

function validateRenting(struct Rentings.Params params, struct Listings.Listing listing, uint256 universeId) external view

getERC20RewardTarget

function getERC20RewardTarget(struct Listings.Listing listing) external view returns (address)

supportsInterface

function supportsInterface(bytes4 interfaceId) public view returns (bool)

_validateListingMechanics

function _validateListingMechanics(struct Assets.Asset[] assets, struct Listings.Params params, uint32 maxLockPeriod, bool immediatePayout) internal view

_validateRentingMechanics

function _validateRentingMechanics(struct Rentings.Params params, struct Listings.Listing listing, uint256 universeId) internal view

_validateListingTerms

function _validateListingTerms(struct Rentings.Params params, struct Listings.Listing listing, uint256 universeId) internal view