vesper-metadata

2.112.0 • Public • Published

Vesper Metadata

This module contains deployment addresses and relevant information about all the Vesper pool contracts and the ERC-20 Vesper token (VSP).

Information in this repo is based on the contracts list at the vesperfi/doc repo.

Installation

It is also available as a NPM module:

npm install vesper-metadata

Usage

const metadata = require('vesper-metadata')

metadata.pools
  .filter(pool => pool.stage === 'prod')
  .forEach(function (pool) {
    // Do stuff with each pool...
  })

Metadata contents

Everything is contained in a single JSON file: src/vesper-metadata.json.

It has 3 main sections: controllers, pools and tokens. Each section contain information on the contracts, including:

  • name: The common name of the contract.
  • address: The deployment address in EIP-55 checksum format.
  • chainId: The deployment chain.

Controllers

This section contains the main control contracts of the ecosystem: the Controller and the Collateral Manager.

Pools

This section contains all the pool contracts, past and present. On top of the basic contract information, each pool has the following properties:

  • asset: The symbol of the collateral/deposit token.
  • birthblock: The block at which the contract was created.
  • riskLevel: The risk level of the contract in a scale from 1 (low) to 5 (high).
  • stage: The pool's maturity stage: prod, beta, alpha, experimental.

Tokens

This section contains information on the VSP token in a format compatible with Uniswap's default token list.

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.112.04latest

Version History

VersionDownloads (Last 7 Days)Published
2.112.04
2.111.00
2.110.00
2.109.02
2.108.00
2.107.00
2.106.00
2.105.00
2.104.00
2.103.00
2.102.00
2.101.00
2.100.00
2.99.00
2.98.00
2.97.00
2.96.00
2.95.03
2.94.00
2.93.00
2.92.00
2.91.00
2.90.00
2.89.00
2.88.00
2.87.00
2.86.00
2.85.00
2.84.00
2.83.00
2.82.00
2.81.00
2.80.00
2.79.00
2.78.00
2.77.00
2.76.00
2.75.00
2.74.00
2.73.00
2.72.00
2.71.00
2.70.00
2.69.00
2.68.00
2.67.00
2.66.00
2.65.00
2.64.00
2.63.00
2.62.00
2.61.00
2.60.00
2.59.00
2.58.00
2.57.00
2.56.00
2.55.00
2.54.00
2.53.00
2.52.00
2.51.00
2.50.00
2.49.00
2.48.00
2.47.00
2.46.00
2.45.00
2.44.02
2.43.00
2.42.00
2.41.00
2.40.00
2.39.00
2.38.00
2.37.00
2.36.00
2.35.00
2.34.00
2.33.00
2.32.00
2.31.00
2.30.00
2.29.00
2.28.00
2.27.00
2.26.00
2.25.00
2.24.00
2.23.00
2.22.00
2.21.00
2.20.00
2.19.00
2.18.00
2.17.00
2.16.00
2.15.00
2.14.00
2.13.00
2.12.00
2.11.00
2.10.00
2.9.00
2.8.00
2.7.20
2.7.00
2.6.00
2.5.00
2.4.00
2.3.03
2.2.00
2.1.00
2.0.00

Package Sidebar

Install

npm i vesper-metadata

Weekly Downloads

14

Version

2.112.0

License

MIT

Unpacked Size

76.9 kB

Total Files

5

Last publish

Collaborators

  • gabmontes
  • mbonfoster