Socket
Book a DemoInstallSign in
Socket

@wooy/current-pool-data

Package Overview
Dependencies
Maintainers
12
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wooy/current-pool-data

Published list of contract addresses for Wooy Donations

1.0.12
latest
Source
npmnpm
Version published
Weekly downloads
3
Maintainers
12
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 28 Jul 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.