@typus/typus-sdk 1.2.71 → 1.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -585,8 +585,20 @@ function parseVaultInfo(vaults, Index, action) {
|
|
|
585
585
|
optionType = "Capped Put";
|
|
586
586
|
break;
|
|
587
587
|
case "6":
|
|
588
|
-
|
|
589
|
-
|
|
588
|
+
switch (action) {
|
|
589
|
+
case "DepositEvent":
|
|
590
|
+
case "WithdrawEvent":
|
|
591
|
+
case "UnsubscribeEvent":
|
|
592
|
+
case "ClaimEvent":
|
|
593
|
+
case "CompoundEvent":
|
|
594
|
+
case "HarvestEvent":
|
|
595
|
+
case "RedeemEvent":
|
|
596
|
+
optionType = "Call Selling";
|
|
597
|
+
break;
|
|
598
|
+
default:
|
|
599
|
+
optionType = "Capped Call";
|
|
600
|
+
break;
|
|
601
|
+
}
|
|
590
602
|
default:
|
|
591
603
|
optionType = "";
|
|
592
604
|
break;
|