0.2 / 0.8 = 0.25
((GCR/ (CGR + poolRatio)) * totalInvestment).
For example, you deposit 8,400 USDC and mint 10 uSTONKS tokens.- You can redeem 10 uSTONKS token at anytime and withdraw your full 8,400 USDC collateral back. The price of uSTONKS at the time of mint or withdraw doesn’t effect the amount of returned collateral.- If you want redeem only 5 uSTONKS, you’ll receive 4,200 USDC in collateral back. Redeeming a portion of your uSTONKS will return you a collateral amount proportional to the amount of synths redeemed. Your CR will remain the same post-redeeming process.
2. Navigate to the contract tab and click on “Write Contract.”3. Click on “Connect to Web3” and connect your wallet (Metamask or Wallet Connect, for example.)4. Click on “Cancel Withdrawal” and then click “Write.”5. Follow prompts to sign and send transaction with your Web3 wallet. If you are worried about liquidation, use a normal or fast gas price.6. Wait for transaction to be mined.
For example, you deposited 8,400 USDC and minted 10 uSTONKS tokens. At expiry the index price is calculated at 420 USDC per token. The 10 uSTONKS tokens are worth 4,200 USDC. You can settle your 10 uSTONKS for 4,200 USDC. The remaining 4,200 USDC will be unlocked from your collateral.In case you sold or lost 1 uSTONKS, you would still hold 9 uSTONKS and be able to claim 8,400 USDC — 420 USDC = 7,980 USDC at expiry.