Readonly
allowedReadonly
bumpReadonly
collectionsReadonly
cooldownReadonly
creatorsReadonly
currencyReadonly
endReadonly
keyReadonly
lockReadonly
maxReadonly
minReadonly
nameReadonly
projectReadonly
resetReadonly
rewardsReadonly
rewardsReadonly
startReadonly
tempReadonly
tempReadonly
totalReturns a readable version of StakingPool properties and can be used to convert to JSON and/or logging
Serializes the StakingPool into a Buffer.
a tuple of the created Buffer and the offset up to which the buffer was written to store it.
Static
byteReturns the byteSize of a Buffer holding the serialized data of StakingPool for the provided args.
need to be provided since the byte size for this account depends on them
Static
deserializeDeserializes the StakingPool from the provided data Buffer.
Optional
offset: numbera tuple of the account data and the offset up to which the buffer was read to obtain it.
Static
fromRetrieves the account info from the provided address and deserializes the StakingPool from its data.
Optional
commitmentOrConfig: Commitment | GetAccountInfoConfigError if no account info is found at the address or if deserialization fails
Static
fromDeserializes the StakingPool from the data of the provided web3.AccountInfo.
Optional
offset: numbera tuple of the account data and the offset up to which the buffer was read to obtain it.
Static
fromCreates a StakingPool instance from the provided args.
Static
getFetches the minimum balance needed to exempt an account holding StakingPool data from rent
need to be provided since the byte size for this account depends on them
used to retrieve the rent exemption information
Optional
commitment: CommitmentStatic
gpaProvides a web3.Connection.getProgramAccounts config builder, to fetch accounts matching filters that can be specified via that builder.
Optional
programId: PublicKeythe program that owns the accounts we are filtering
Generated using TypeDoc
Holds the data for the StakingPool Account and provides de/serialization functionality for that data