HInvestmentRiderInitialBuyinTooHigh
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
| Name | Type | Description |
|---|---|---|
buyin | uint256 | The supplied initial buy-in, in USDC base units (6 decimals). |
sellPrice | uint256 | The asset’s sell price, in USDC base units (6 decimals). |