Preparing search index...
The search index is not available
@staratlas/score
@staratlas/score
ScoreVarsShip
Class ScoreVarsShip
Hierarchy
ScoreVarsShip
Implements
Account
Index
Constructors
constructor
Properties
ACCOUNT_
NAME
MIN_
DATA_
SIZE
Accessors
data
key
Methods
decode
Data
find
Address
Constructors
constructor
new
Score
Vars
Ship
(
_data
:
AnchorTypeDef
<
Object
,
AnchorDefined
<
ScoreIDL
,
Record
<
string
,
never
>
>
>
, _key
:
PublicKey
)
:
ScoreVarsShip
Parameters
_data:
AnchorTypeDef
<
Object
,
AnchorDefined
<
ScoreIDL
,
Record
<
string
,
never
>
>
>
_key:
PublicKey
Returns
ScoreVarsShip
Properties
Static
Readonly
ACCOUNT_
NAME
ACCOUNT_
NAME
:
"scoreVars"
|
"scoreVarsShip"
|
"shipStaking"
= 'scoreVarsShip'
Static
Readonly
MIN_
DATA_
SIZE
MIN_
DATA_
SIZE
:
number
= ...
Accessors
data
get
data
(
)
:
Readonly
<
AnchorTypeDef
<
Object
,
AnchorDefined
<
ScoreIDL
,
Record
<
string
,
never
>
>
>
>
Returns
Readonly
<
AnchorTypeDef
<
Object
,
AnchorDefined
<
ScoreIDL
,
Record
<
string
,
never
>
>
>
>
key
get
key
(
)
:
PublicKey
Returns
PublicKey
Methods
Static
decode
Data
decode
Data
(
account
:
KeyedAccountInfo
, program
:
ScoreIDLProgram
)
:
DecodedAccountData
<
ScoreVarsShip
>
Parameters
account:
KeyedAccountInfo
program:
ScoreIDLProgram
Returns
DecodedAccountData
<
ScoreVarsShip
>
Static
find
Address
find
Address
(
program
:
ScoreIDLProgram
, args
:
ScoreVarsShipSeedsArgs
)
:
[
PublicKey
,
number
]
Parameters
program:
ScoreIDLProgram
args:
ScoreVarsShipSeedsArgs
Returns
[
PublicKey
,
number
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
@staratlas/score
Score
Vars
Ship
constructor
ACCOUNT_
NAME
MIN_
DATA_
SIZE
data
key
decode
Data
find
Address
Generated using
TypeDoc