calculate_settlement_share_price

Documentation for eth_defi.tokenised_fund.securitize.settlement.calculate_settlement_share_price function.

calculate_settlement_share_price(nav_price_wad, feed)

Convert a deposit settlement price to fund NAV/share.

The settler back-computes navPrice from each generation’s USDC total and its share amount rounded to 0.001 shares, so the raw value carries rounding noise. Rounding half-up to the fund’s published precision removes the noise and reproduces the published NAV.

Example: 61.7224302451 * 0.98 = 60.48798... becomes 60.49.

Parameters
Returns

Fund NAV/share in USD.

Return type

decimal.Decimal