Preparing search index...
The search index is not available
Carrot Protocol Documentation
Carrot Protocol Documentation
@carrot-protocol/common
sharesEarned
Function sharesEarned
sharesEarned
(
depositUsd
:
number
,
nav
:
number
)
:
number
Determines the number of shares earned based on deposit amount and NAV.
Parameters
depositUsd
:
number
nav
:
number
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Carrot Protocol Documentation
Loading...
Determines the number of shares earned based on deposit amount and NAV.