@wooy/current-pool-data

1.0.12 • Public • Published

Wooy Brand


Current Pool Data

Use this library to programmatically get constants data (ie. contract addresses, etc) for specific versions of the Wooy protocol.

Note:

Since anyone can create a pool the contractAddresses array contains only community approved pool addresses.

This doesn't publish every pool address available, you'll want to use one of the subgraphs for that

Instructions:

yarn add @wooy/current-pool-data
import { contractAddresses } from '@wooy/current-pool-data'

// rinkeby is 4
const CHAIN_ID = 4

const daiPoolAddress = contractAddresses[CHAIN_ID].dai.prizePool
const daiPrizeStrategyAddress = contractAddresses[CHAIN_ID].dai.prizeStrategy

Readme

Keywords

none

Package Sidebar

Install

npm i @wooy/current-pool-data

Weekly Downloads

0

Version

1.0.12

License

none

Unpacked Size

29.7 kB

Total Files

20

Last publish

Collaborators

  • alejolovallo
  • awolfsdorf
  • djaciel
  • hperezrodal
  • jm.aragonpaz
  • lizanlycan
  • lucas-marc
  • mariano-aguero
  • nicomendiatd
  • pmprete
  • rjchirinos
  • wooy_developer