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
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 installInstalling as a package:
# Using yarn
yarn add @primitivefi/rmm-math
# Or using npm
npm i @primitivefi/rmm-math