Skip to content

ox@0.14.32

Choose a tag to compare

@github-actions github-actions released this 22 Jul 03:41
· 225 commits to main since this release

Patch Changes

  • #310 d882d95 Thanks @jxom! - Added EarnShares to ox/tempo: raw EarnToken/venue-share conversions at the vault anchor rate, the dilution-correct fee-share formula, and a minimumOutput slippage floor.

    import { EarnShares } from "ox/tempo";
    
    const tokens = EarnShares.toTokens({ engineShares: 3n, supply: 2n }, 7n);
    const minimumShares = EarnShares.minimumOutput(1_000_000n, 50n);