drift-labs / protocol-v2

On-chain perpetuals dex with multiple liquidity mechanisms
Apache License 2.0
216 stars 116 forks source link

program: calculate_accumulated_interest return early based on ts #1192

Closed crispheaney closed 3 months ago