0.2.1 • Published 1 year ago

@poolzfinance/cooldown v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

The CoolDown lib

The library converts the received data from the DelayVault contract GetDelayLimits method:

interface IGetDelayLimits {
  Amounts: string[]
  StartDelays: string[]
  CliffDelays: string[]
  FinishDelays: string[]
}

The results of the conversion, see the tests

Installation

You can install the package either using NPM or using Yarn

Using NPM

npm install @poolzfinance/cooldown

Yarn

yarn add @poolzfinance/cooldown

Pnpm

pnpm add @poolzfinance/cooldown

Usage

import { cooldownBlock } from "@poolzfinance/cooldown"

const result = cooldownBlock(delayLimits)
0.2.1

1 year ago

0.2.0

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago