Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 628 Bytes

rmm-sdk.isvalidstrike.md

File metadata and controls

26 lines (15 loc) · 628 Bytes

Home > @primitivefi/rmm-sdk > isValidStrike

isValidStrike() function

Checks strike is within the valid smart contract range.

Signature:

export declare function isValidStrike(strike: string): boolean;

Parameters

Parameter Type Description
strike string Strike price in wei with decimal places equal the Engine's stable token decimals.

Returns:

boolean

true if within bounds of valid strikes.