Deploying a Liquidation Pair

After a prize vault has been deployed, we need to configure a few things related to how that vault liquidates yield. The Cabana Factory Wizard will prompt you to do this directy after you deploy a prize vault, but you can also do it after the fact via the Cabana Factory dashboard.

Two main things need to done to successfully configure the liquidation pair.

The exchange rate needs to be set In most cases the Cabana Factory app will accurate compute the exchange rate automatically and you can just accept it, but for assets without a clear price, you may need to manually adjust this.

The liquidation pair needs to be referenced on the Prize Vault. The Cabana Factory wizard will automatically use the default liquidator contract but if you want to use your own you can override the default.

Last updated