{"id":20030759,"url":"https://github.com/generationsoftware/pt-v5-fixed-price-liquidator","last_synced_at":"2025-08-08T08:46:00.199Z","repository":{"id":258706351,"uuid":"874415267","full_name":"GenerationSoftware/pt-v5-fixed-price-liquidator","owner":"GenerationSoftware","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-17T20:13:39.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-20T08:04:22.580Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GenerationSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-17T19:35:06.000Z","updated_at":"2024-10-17T20:14:43.000Z","dependencies_parsed_at":"2024-10-20T08:04:27.129Z","dependency_job_id":"0db1e62a-20d4-4391-a78b-c60ebe36536b","html_url":"https://github.com/GenerationSoftware/pt-v5-fixed-price-liquidator","commit_stats":null,"previous_names":["generationsoftware/pt-v5-fixed-price-liquidator"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenerationSoftware%2Fpt-v5-fixed-price-liquidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenerationSoftware%2Fpt-v5-fixed-price-liquidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenerationSoftware%2Fpt-v5-fixed-price-liquidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenerationSoftware%2Fpt-v5-fixed-price-liquidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GenerationSoftware","download_url":"https://codeload.github.com/GenerationSoftware/pt-v5-fixed-price-liquidator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241461894,"owners_count":19966771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T09:28:09.302Z","updated_at":"2025-03-02T05:20:33.640Z","avatar_url":"https://github.com/GenerationSoftware.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fixed Price Auction Liquidation Pair\n\n[![Code Coverage](https://github.com/generationsoftware/pt-v5-fixed-price-liquidator/actions/workflows/coverage.yml/badge.svg)](https://github.com/generationsoftware/pt-v5-fixed-price-liquidator/actions/workflows/coverage.yml?)\n![MIT license](https://img.shields.io/badge/license-MIT-blue)\n\nThe FixedPriceLiquidationPair is designed to liquidate accrued yield on PoolTogether V5 vaults.  The Fixed Price Auction has a fixed price for the yield. Once the yield accrues to the fixed price value, arbitrageurs are motivated to swap.\n\n## Deployments\n\n| Chain | Contract | Address |\n| ---- | ----- | ------ |\n| Ethereum | FixedPriceLiquidationPairFactory | [0xa1739ECE7a90243443543EA57EB5bfB5f4f8E606](https://etherscan.io/address/0xa1739ECE7a90243443543EA57EB5bfB5f4f8E606) |\n| Ethereum | FixedPriceLiquidationRouter | [0x91b718F250A74Ad80da828d7D60b13993275d43c](https://etherscan.io/address/0x91b718F250A74Ad80da828d7D60b13993275d43c) |\n\n## Motivation\n\nThe fixed price lets us efficiently liquidate yield for vaults that have very low amounts of TVL.\n\n## How it works\n\nAt any time a liquidator can swap the liquidatable balance for the fixed price of tokens.\n\n## Smoothing\n\nThe fixed-price Liquidation Pair offers smoothing, so that spikes in yield do not result in inefficient auctions.\n\nSome yield sources may accrue in bursts; this means there would be periods of time where there is no yield, then large bursts of yield. This is not ideal, as the algorithm works best with consistent yield growth.\n\nFor example, the Prize Pool in PoolTogether V5 will accrue reserve when the draw occurs. For a daily draw, this means that the reserve increases once per day.\n\nThe fixed-price Liquidation Pair also takes a \"smoothing\" parameter during construction. Smoothing is applied as a multiplier of the currently available balance.\n\n$$auctionTokens = (1 - smoothing) * availableBalance$$\n\nFor example, if smoothing = 0.9 and there are 100 tokens available to auction, then only 10 will be auctioned. Each subsequent auction will be for 10% of the remaining tokens.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenerationsoftware%2Fpt-v5-fixed-price-liquidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenerationsoftware%2Fpt-v5-fixed-price-liquidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenerationsoftware%2Fpt-v5-fixed-price-liquidator/lists"}