@grofi/math-utils
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@grofi/math-utils

disclaimer: this package is highly unstable. Once we reach a certain level of stability, we'll bump the version to 1.x and add appropriate documentation.

Grofi aggregates on-chain protocol data into a variety of different subgraphs on TheGraph which can be queried directly using the playground and integrated into applications directly via TheGraph API.

In addition to the subgraphs, grofi offers a set of contract helpers to query aggregated on-chain data.

The @grofi/math-utils data formatting methods act as a layer on top of the chain data. The use-cases range from "human readable formatting" to "approximating accrual over time".

Installation

Install the package in your project directory with:

// with npm
npm install @grofi/math-utils

// with yarn
yarn add @grofi/math-utils

Readme

Keywords

Package Sidebar

Install

npm i @grofi/math-utils

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

334 kB

Total Files

210

Last publish

Collaborators

  • grofi