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

HInvestmentInvalidAmount

Git Source

Thrown when the approved USDC amount does not match the required slot amount.

error HInvestmentInvalidAmount(uint256 provided, uint256 required);

Parameters

NameTypeDescription
provideduint256The approved amount supplied.
requireduint256The required per-slot amount.