Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

HInvestmentRiderInitialBuyinTooHigh

Git Source

Thrown when an investment’s initial rider buy-in is not below the asset’s sell price.

The buy-in is credited toward the rider’s hire-purchase total, so it must be less than the sell price or the rider would have nothing left to pay over the term.

error HInvestmentRiderInitialBuyinTooHigh(uint256 buyin, uint256 sellPrice);

Parameters

NameTypeDescription
buyinuint256The supplied initial buy-in, in USDC base units (6 decimals).
sellPriceuint256The asset’s sell price, in USDC base units (6 decimals).