New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@poolzfinance/cooldown

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@poolzfinance/cooldown

The library converts the received data from the [`DelayVault` contract](https://bscscan.com/address/0x5eb57B1210338b13E3D5572d5e1670285Aa71702#readContract#F3) `GetDelayLimits` method:

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
3
Created
Source

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)

FAQs

Package last updated on 03 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts