https://github.com/generationsoftware/pt-v3-to-v5-adapter
https://github.com/generationsoftware/pt-v3-to-v5-adapter
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/generationsoftware/pt-v3-to-v5-adapter
- Owner: GenerationSoftware
- Created: 2024-10-17T18:09:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T18:10:32.000Z (over 1 year ago)
- Last Synced: 2024-10-20T08:25:00.153Z (over 1 year ago)
- Language: Solidity
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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](https://etherscan.io/address/0x1cA3CF8B47B596F2d9b440EdC59542539619bAec) |
| Ethereum | V3PrizePoolLiquidatorAdapter (V3 DAI prize pool) | [0x8AB3bA7413b8B0eBa426C8A4696D6232e934D0c8](https://etherscan.io/address/0x8AB3bA7413b8B0eBa426C8A4696D6232e934D0c8) |
## Usage
### Build
```shell
$ forge build
```
### Test
```shell
$ forge test
```
### Format
```shell
$ forge fmt
```
### Gas Snapshots
```shell
$ forge snapshot
```
### Anvil
```shell
$ anvil
```
### Deploy
```shell
$ forge script script/Counter.s.sol:CounterScript --rpc-url --private-key
```
### Cast
```shell
$ cast
```
### Help
```shell
$ forge --help
$ anvil --help
$ cast --help
```