@neutral-trade/sdk - v1.0.13
    Preparing search index...

    Function estimateWithdrawalCooldownSeconds

    • Mirrors calculate_withdrawal_cooldown_time at bundle.rs:220-238. The program converts the integer inputs to f64; Number follows the same IEEE-754 binary64 arithmetic before the result is rounded up.

      Parameters

      • args: {
            sharesAmount: bigint;
            totalShares: bigint;
            withdrawalCurve: number;
            withdrawalTMax: bigint;
            withdrawalTMin: bigint;
        }

      Returns bigint