@owney/sdk 0.7.16-beta.0 → 0.7.16-beta.2
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.
- package/README.md +2 -0
- package/dist/index.cjs +2269 -651
- package/dist/index.d.cts +137 -10
- package/dist/index.d.ts +137 -10
- package/dist/index.js +2279 -649
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -572,12 +572,14 @@ interface AccountAgentApy {
|
|
|
572
572
|
weightedApyAfterFee?: number;
|
|
573
573
|
weightedApyAfterFeeDetails?: AgentApyDetails;
|
|
574
574
|
apyByChainAndAsset?: ApyByChainAndAsset;
|
|
575
|
+
history?: ApyHistoryPoint[];
|
|
575
576
|
}
|
|
576
577
|
|
|
577
578
|
interface OwneyAccountApy {
|
|
578
579
|
totalApy: string;
|
|
579
580
|
agentApy: Record<AgentId, AccountAgentApy>;
|
|
580
581
|
apyByChainAndAsset: ApyByChainAndAsset;
|
|
582
|
+
history?: ApyHistoryPoint[]; // balance-weighted aggregate daily series
|
|
581
583
|
}
|
|
582
584
|
|
|
583
585
|
type HistoryAction = "Rebalance" | "Deposit" | "Top up" | "Withdraw" | "Earned";
|