Versie 0.2.0

This commit is contained in:
Atreides Assets committed 2026-10-29 11:57:29 +01:00
commit e77d8fd373
495 files changed
+81026

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
// Generated, do not edit. sha256:030fb9043ec0bb393242bec50f13de9146004cd70907c5230c0bfc59d06b39b7
const empty = v => v == null || String(v).trim() === '';
export function compoundsViaBalance(s) {
return s.rateKind === 'fixed' && empty(s.principalAmount)
&& !empty(s.principalAssetId) && Number(s.principalAssetId) === Number(s.payoutAssetId);
}
export function looksLikeDepositWithoutPrincipal(s) {
return compoundsViaBalance(s) && !empty(s.endsOn);
}