Function calcUnitsToVaultTokensAmp
- calcUnitsToVaultTokensAmp(U, totalSupply, tokenAmounts, tokenWeights, unitTracker, amplification): bigint
Parameters
- U: bigint
- totalSupply: bigint
- tokenAmounts: bigint[]
- tokenWeights: bigint[]
- unitTracker: bigint
- amplification: bigint
Returns bigint