UNPKG
@dainprotocol/drift-sdk
Version:
latest (2.122.0-beta.18)
2.122.0-beta.18
2.122.0-beta.17
2.122.0-beta.16
2.122.0-beta.15
2.122.0-beta.14
2.122.0-beta.13
2.122.0-beta.12
2.122.0-beta.11
2.122.0-beta.10
2.122.0-beta.9
2.122.0-beta.8
SDK for Drift Protocol
www.drift.trade
@dainprotocol/drift-sdk
/
lib
/
browser
/
math
/
state.d.ts
6 lines
(5 loc)
•
260 B
TypeScript
View Raw
1
2
3
4
5
6
/// <reference types="bn.js" />
import
{
StateAccount
}
from
'../types'
;
import
{
BN
}
from
'../'
;
export
declare
function
calculateInitUserFee
(
stateAccount: StateAccount
):
BN
;
export
declare
function
getMaxNumberOfSubAccounts
(
stateAccount: StateAccount
):
BN
;