// Get accumulated admin fees (in LP tokens)
const adminFees = await client.getAccumulatedAdminFeesForVault(vaultPubkey);
console.log("Admin fees:", adminFees.toString());
// Get accumulated manager fees (in LP tokens)
const managerFees = await client.getAccumulatedManagerFeesForVault(vaultPubkey);
console.log("Manager fees:", managerFees.toString());
// Get high water mark information
const hwm = await client.getHighWaterMarkForVault(vaultPubkey);
console.log("Highest asset per LP:", hwm.highestAssetPerLp);
console.log("Last updated:", new Date(hwm.lastUpdatedTs * 1000));
// Get current asset per LP ratio
const assetPerLp = await client.getCurrentAssetPerLpForVault(vaultPubkey);
console.log("Current asset per LP:", assetPerLp);
// Get LP supply breakdown
const lpBreakdown = await client.getVaultLpSupplyBreakdown(vaultPubkey);
console.log("Circulating LP:", lpBreakdown.circulating.toString());
console.log("Unharvested fees:", lpBreakdown.unharvestedFees.toString());
console.log("Unrealised fees:", lpBreakdown.unrealisedFees.toString());
console.log("Total LP:", lpBreakdown.total.toString());