New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@perp/voting-escrow

Package Overview
Dependencies
Maintainers
7
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@perp/voting-escrow

Perpetual Protocol voting escrow contracts

  • 1.2.0-dev3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-68.75%
Maintainers
7
Weekly downloads
 
Created
Source

perp-ve

Local Development and Testing

Requirements

You should have Node 12 installed. Use nvm to install it.

Development

Clone this repository, install NodeJS dependencies, and build the source code:

git clone git@github.com:perpetual-protocol/perp-voting-escrow.git
npm i
npm run build

Since there are some runtime environment dependencies, if the installation failed on your machine, please try a vanilla install instead:

npm run clean
rm -rf node_modules/
rm package-lock.json
npm install
npm run build

Testing

To run all the test cases:

npm run test

If any features/functionalities described in the Perpetual Protocol documentation, code comments, marketing, community discussion or announcements, pre-production or testing code, or other non-production-code sources, vary or differ from the code used in production, in case of any dispute, the code used in production shall prevail.

Coverage

  • Coverage simple version
npm run coverage
  • Coverage html version
brew install lcov

npm run coverage:report

open coverage-out/index.html

Snapshot

To query the latest snapshot info

npm run snapshot

To query specific timestamp(in sec) info (eg. 1661990400 is 2021-09-01 00:00:00 UTC)

npm run snapshot 1661990400

Keywords

FAQs

Package last updated on 23 Sep 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc