JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 49
  • Score
    100M100P100Q59524F
  • License GPL-3.0-or-later

Package Exports

  • @primitivefi/rmm-math
  • @primitivefi/rmm-math/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@primitivefi/rmm-math) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

🧙 rmm-math

version npm license stars

Formulas and math used in RMM protocol.

🧩 Features

  • 🎲 Cumulative Distribution Math approximations used in rmm-core contracts.
  • 🎯 Replication Math used in rmm-core solidity contracts.
  • 🎩 Black-scholes Math for use in off-chain computations.

📦 Installation

This software is in Alpha.

Installing locally:

# Clone the repository
git clone https://github.com/primitivefinance/rmm-math.git

# Install dependencies
yarn install

Installing as a package:

# Using yarn
yarn add @primitivefi/rmm-math

# Or using npm
npm i @primitivefi/rmm-math