// 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); }