Skip to content

GenerationSoftware/pt-v3-to-v5-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoolTogether V3 to V5 Adapter

The V3 to V5 Adapter wraps a PoolTogether V5 Prize Pool as a PoolTogether V5 Liquidation Source. This allows us to connect V3 prize pools to PoolTogether V5.

The adapter implements the V3 Prize Strategy interface and the V5 Liquidation Source interface.

Deployments

Chain Contract Address
Ethereum V3PrizePoolLiquidatorAdapter (V3 USDC prize pool) 0x1cA3CF8B47B596F2d9b440EdC59542539619bAec
Ethereum V3PrizePoolLiquidatorAdapter (V3 DAI prize pool) 0x8AB3bA7413b8B0eBa426C8A4696D6232e934D0c8

Usage

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published