Preparing search index...
The search index is not available
@staratlas/atlas-staking
@staratlas/atlas-staking
StakingVars
Class StakingVars
Hierarchy
StakingVars
Implements
Account
Index
Constructors
constructor
Properties
ACCOUNT_
NAME
MIN_
DATA_
SIZE
Accessors
data
key
Methods
decode
Data
find
Address
Constructors
constructor
new
Staking
Vars
(
_data
:
AnchorTypeDef
<
Object
,
AnchorDefined
<
AtlasStakingIDL
,
Record
<
string
,
never
>
>
>
, _key
:
PublicKey
)
:
StakingVars
Parameters
_data:
AnchorTypeDef
<
Object
,
AnchorDefined
<
AtlasStakingIDL
,
Record
<
string
,
never
>
>
>
_key:
PublicKey
Returns
StakingVars
Properties
Static
Readonly
ACCOUNT_
NAME
ACCOUNT_
NAME
:
"registeredStake"
|
"stakingAccount"
|
"stakingVars"
= 'stakingVars'
Static
Readonly
MIN_
DATA_
SIZE
MIN_
DATA_
SIZE
:
number
= ...
Accessors
data
get
data
(
)
:
Readonly
<
AnchorTypeDef
<
Object
,
AnchorDefined
<
AtlasStakingIDL
,
Record
<
string
,
never
>
>
>
>
Returns
Readonly
<
AnchorTypeDef
<
Object
,
AnchorDefined
<
AtlasStakingIDL
,
Record
<
string
,
never
>
>
>
>
key
get
key
(
)
:
PublicKey
Returns
PublicKey
Methods
Static
decode
Data
decode
Data
(
account
:
KeyedAccountInfo
, program
:
AtlasStakingIDLProgram
)
:
DecodedAccountData
<
StakingVars
>
Parameters
account:
KeyedAccountInfo
program:
AtlasStakingIDLProgram
Returns
DecodedAccountData
<
StakingVars
>
Static
find
Address
find
Address
(
program
:
AtlasStakingIDLProgram
)
:
[
PublicKey
,
number
]
Parameters
program:
AtlasStakingIDLProgram
Returns
[
PublicKey
,
number
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
@staratlas/atlas-
staking
Staking
Vars
constructor
ACCOUNT_
NAME
MIN_
DATA_
SIZE
data
key
decode
Data
find
Address
Generated using
TypeDoc