npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@leap-network/v4-mainnet

v1.9.2

Published

The PoolTogether V4 "mainnet" deployment scripts.

Downloads

2

Readme

PoolTogether V4 Mainnet

The PoolTogether V4 "mainnet" deployment scripts.

The deployment scripts are separated into versions.

  • v1.0.1
  • v1.1.0
  • v1.2.1
  • v1.3.0

Getting Started

Install direnv module.

We use direnv to manage environment variables. You'll likely need to install it.

cp .envrc.example .envrc

The RPC endpoints will need to be updated if you wish to deploy. The RPC endpoints will also need to point to archival nodes if you wish to run fork tests.

yarn

Development

The deployment scripts can be tested in forked environments. The following commands will fork the network then run the deployment script against the fork.

Note: You must configure RPC endpoints for archival nodes in the .envrc.

Fork and Deploy

yarn test:v1.x.x.mainnet
yarn test:v1.x.x.avalanche
yarn test:v1.x.x.polygon

Deployment

yarn deploy:v1.x.x.mainnet
yarn deploy:v1.x.x.avalanche
yarn deploy:v1.x.x.polygon

Changelog

v1.0.1

This version was the original V4 launch across Ethereum and Polygon.

v1.1.0

This version launched V4 on Avalanche, and included upgrades to Ethereum and Polygon. New contracts are being deployed across Avalanche, Ethereum and Polygon.

This version upgrades the existing configuration, so some changes need to be completed by the PoolTogether Executive Team once the contracts have been launched. Those post-deploy configuration changes are detailed below.

v1.1.0 Post-Deploy Configuration Changes

Polygon

  1. Set the PrizeDistributionBuffer manager to be the new PrizeDistributionFactory
  2. Set the DrawCalculatorTimelock manager to be the ReceiverTimelockTrigger
  3. Set the DrawBuffer to be managed by the ReceiverTimelockTrigger
  4. exec team needs to claim ownership of PrizeDistributionFactory
  5. exec team needs to claim ownership of ReceiverTimelockTrigger
  6. exec team needs to claim ownership of PrizeTierHistory

Mainnet

  • exec team needs to claim ownership of PrizeDistributionFactory
  • exec team needs to claim ownership of BeaconTimelockTrigger
  • PrizeDistributionBuffer needs to be managed by the PDFactory
  • DrawCalculatorTimelock needs to be managed by the BeaconTimelockTrigger

Avalanche

  • exec teams needs to claim ownership of PrizeDistributionFactory
  • exec teams needs to claim ownership of DrawCalculatorTimelock
  • exec teams needs to claim ownership of PrizeFlush
  • exec teams needs to claim ownership of Reserve
  • exec teams needs to claim ownership of YieldSourcePrizePool
  • exec teams needs to claim ownership of PrizeTierHistory
  • exec teams needs to claim ownership of PrizeSplitStrategy
  • exec teams needs to claim ownership of DrawBuffer
  • exec teams needs to claim ownership of PrizeDistributionBuffer
  • exec teams needs to claim ownership of ReceiverTimelockTrigger

v1.2.1

Deploy TWAB Rewards contract across Avalanche, Ethereum and Polygon.

v1.3.0

Deploy TWAB Delegator contract across Avalanche, Ethereum and Polygon.

v1.4.0

Deploy new BeaconTimelockTrigger, DrawCalculatorTimelock, PrizeDistributionFactory and PrizeTierHistory contracts on Ethereum.

Deploy new DrawCalculatorTimelock, PrizeDistributionFactory, PrizeTierHistory and ReceiverTimelockTrigger contracts on Avalanche and Polygon.

v1.5.0

Deploy RNGChainlinkV2 on Ethereum.

v1.5.1

Redeploy TWABRewards on Avalanche, Ethereum and Polygon.

v1.6.0

Deploy USDC Prize Pool on Optimism.

Post-Deploy Configuration Changes

Optimism

Executive team needs to claim ownership of the following contracts:

  • PrizeDistributionFactory
  • DrawCalculatorTimelock
  • PrizeFlush
  • Reserve
  • YieldSourcePrizePool
  • PrizeTierHistory
  • PrizeSplitStrategy
  • DrawBuffer
  • PrizeDistributionBuffer
  • ReceiverTimelockTrigger

v1.6.1

Re-deploy USDC Prize Pool on Optimism.

v1.7.0

Deploy RNGChainlinkV2 on Polygon and setup DrawBeacon to compute draw onchain.

Post-Deploy Configuration Changes

Polygon

Executive team needs to claim ownership of the following contracts:

  • RNGChainlinkV2
  • DrawBeacon
  • BeaconTimelockTrigger

v1.8.0

Deploy RNGChainlinkV2 on Avalanche and setup DrawBeacon to compute draw onchain.

Post-Deploy Configuration Changes

Avalanche

Executive team needs to claim ownership of the following contracts:

  • RNGChainlinkV2
  • DrawBeacon
  • BeaconTimelockTrigger

v1.9.0

Deploy DPR upgrade to Avalanche, Ethereum, Polygon and Optimism.

Post-Deploy Configuration Changes

All networks

Executive team needs to claim ownership of the following contracts:

  • PrizeTierHistoryV2
  • PrizeDistributionFactoryV2