Preparing search index...
The search index is not available
flash-sdk
flash-sdk
PositionAccount
Class PositionAccount
Implements
Position
Index
Constructors
constructor
Properties
buffer
bump
collateral
Decimals
collateral
Usd
cumulative
Lock
Fee
Snapshot
degen
Size
Usd
delegate
entry
Price
is
Active
locked
Amount
locked
Decimals
locked
Usd
market
open
Time
owner
padding
price
Impact
Set
price
Impact
Usd
public
Key
reference
Price
size
Amount
size
Decimals
size
Usd
unsettled
Fees
Usd
unsettled
Value
Usd
update
Time
Methods
clone
is
Degen
Mode
update
Position
Data
from
Constructors
constructor
new
Position
Account
(
publicKey
,
parseData
)
:
PositionAccount
Parameters
publicKey
:
PublicKey
parseData
:
Position
Returns
PositionAccount
Properties
buffer
buffer
:
number
[]
bump
bump
:
number
collateral
Decimals
collateral
Decimals
:
number
collateral
Usd
collateral
Usd
:
BN
cumulative
Lock
Fee
Snapshot
cumulative
Lock
Fee
Snapshot
:
BN
degen
Size
Usd
degen
Size
Usd
:
BN
delegate
delegate
:
PublicKey
entry
Price
entry
Price
:
ContractOraclePrice
is
Active
is
Active
:
boolean
locked
Amount
locked
Amount
:
BN
locked
Decimals
locked
Decimals
:
number
locked
Usd
locked
Usd
:
BN
market
market
:
PublicKey
open
Time
open
Time
:
BN
owner
owner
:
PublicKey
padding
padding
:
number
[]
price
Impact
Set
price
Impact
Set
:
number
price
Impact
Usd
price
Impact
Usd
:
BN
public
Key
public
Key
:
PublicKey
reference
Price
reference
Price
:
ContractOraclePrice
size
Amount
size
Amount
:
BN
size
Decimals
size
Decimals
:
number
size
Usd
size
Usd
:
BN
unsettled
Fees
Usd
unsettled
Fees
Usd
:
BN
unsettled
Value
Usd
unsettled
Value
Usd
:
BN
update
Time
update
Time
:
BN
Methods
clone
clone
(
)
:
PositionAccount
Returns
PositionAccount
is
Degen
Mode
is
Degen
Mode
(
)
:
boolean
Returns
boolean
update
Position
Data
update
Position
Data
(
position
)
:
void
Parameters
position
:
Position
Returns
void
Static
from
from
(
publicKey
,
parseData
)
:
PositionAccount
Parameters
publicKey
:
PublicKey
parseData
:
Position
Returns
PositionAccount
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
buffer
bump
collateral
Decimals
collateral
Usd
cumulative
Lock
Fee
Snapshot
degen
Size
Usd
delegate
entry
Price
is
Active
locked
Amount
locked
Decimals
locked
Usd
market
open
Time
owner
padding
price
Impact
Set
price
Impact
Usd
public
Key
reference
Price
size
Amount
size
Decimals
size
Usd
unsettled
Fees
Usd
unsettled
Value
Usd
update
Time
clone
is
Degen
Mode
update
Position
Data
from
flash-sdk
Loading...