Skip to main content

makeOmniaLockTerms

@totemsdk/omnia-pool


@totemsdk/omnia-pool / makeOmniaLockTerms

Function: makeOmniaLockTerms()

makeOmniaLockTerms(minLockMs?, earlyWithdrawalAllowed?, earlyWithdrawalPenaltyBps?): LiquidityLockTerms

Convenience helper to build a default Omnia pool lock terms.

Parameters​

minLockMs?​

number = 0

earlyWithdrawalAllowed?​

boolean = true

earlyWithdrawalPenaltyBps?​

number = 0

Returns​

LiquidityLockTerms