Skip to content

IFixedRateWithRewardListingController

IFixedRateWithRewardListingController

decodeStrategyParams

function decodeStrategyParams(struct IListingTermsRegistry.ListingTerms terms) external pure returns (uint256 baseRate, uint16 rewardPercentage)

Decodes listing terms data.

Name Type Description
terms struct IListingTermsRegistry.ListingTerms Encoded listing terms.
Name Type Description
baseRate uint256 Asset renting base rate (base tokens per second).
rewardPercentage uint16 Asset renting base reward percentage rate.