Skip to content

PoolsClient ​

Functions ​

FunctionDescription
decodePoolAccount-
fetchAllMaybePoolAccount-
fetchAllPoolAccount-
fetchMaybePoolAccount-
fetchPoolAccount-
getClaimFeeDiscriminatorBytes-
getClaimFeeInstruction-
getClaimFeeInstructionDataCodec-
getClaimFeeInstructionDataDecoder-
getClaimFeeInstructionDataEncoder-
getClaimTransferDiscriminatorBytes-
getClaimTransferInstruction-
getClaimTransferInstructionDataCodec-
getClaimTransferInstructionDataDecoder-
getClaimTransferInstructionDataEncoder-
getCloseDiscriminatorBytes-
getCloseInstruction-
getCloseInstructionDataCodec-
getCloseInstructionDataDecoder-
getCloseInstructionDataEncoder-
getNosanaPoolsErrorMessage-
getOpenDiscriminatorBytes-
getOpenInstruction-
getOpenInstructionAsync-
getOpenInstructionDataCodec-
getOpenInstructionDataDecoder-
getOpenInstructionDataEncoder-
getPoolAccountCodecGets the codec for PoolAccount account data.
getPoolAccountDecoderGets the decoder for PoolAccount account data.
getPoolAccountDiscriminatorBytes-
getPoolAccountEncoderGets the encoder for PoolAccountArgs account data.
getPoolAccountSize-
getReflectionAccountCodec-
getReflectionAccountDecoder-
getReflectionAccountEncoder-
getUpdateBeneficiaryDiscriminatorBytes-
getUpdateBeneficiaryInstruction-
getUpdateBeneficiaryInstructionDataCodec-
getUpdateBeneficiaryInstructionDataDecoder-
getUpdateBeneficiaryInstructionDataEncoder-
identifyNosanaPoolsAccount-
identifyNosanaPoolsInstruction-
isNosanaPoolsError-
parseClaimFeeInstruction-
parseClaimTransferInstruction-
parseCloseInstruction-
parseOpenInstruction-
parseUpdateBeneficiaryInstruction-

Type Aliases ​

Type AliasDescription
ClaimFeeInput-
ClaimFeeInstruction-
ClaimFeeInstructionAccountName-
ClaimFeeInstructionData-
ClaimFeeInstructionDataArgs-
ClaimTransferInput-
ClaimTransferInstruction-
ClaimTransferInstructionAccountName-
ClaimTransferInstructionData-
ClaimTransferInstructionDataArgs-
CloseInput-
CloseInstruction-
CloseInstructionAccountName-
CloseInstructionData-
CloseInstructionDataArgs-
NosanaPoolsAccount-
NosanaPoolsError-
NosanaPoolsInstruction-
OpenAsyncInput-
OpenInput-
OpenInstruction-
OpenInstructionAccountName-
OpenInstructionData-
OpenInstructionDataArgs-
ParsedClaimFeeInstruction-
ParsedClaimTransferInstruction-
ParsedCloseInstruction-
ParsedNosanaPoolsInstruction-
ParsedOpenInstruction-
ParsedUpdateBeneficiaryInstruction-
PoolAccount-
PoolAccountArgs-
ReflectionAccountThe ReflectionAccount struct holds all the information on the reflection pool.
ReflectionAccountArgs-
UpdateBeneficiaryInput-
UpdateBeneficiaryInstruction-
UpdateBeneficiaryInstructionAccountName-
UpdateBeneficiaryInstructionData-
UpdateBeneficiaryInstructionDataArgs-

Variables ​

VariableDescription
CLAIM_FEE_DISCRIMINATOR-
CLAIM_FEE_INSTRUCTION_ACCOUNTS-
CLAIM_TRANSFER_DISCRIMINATOR-
CLAIM_TRANSFER_INSTRUCTION_ACCOUNTS-
CLOSE_DISCRIMINATOR-
CLOSE_INSTRUCTION_ACCOUNTS-
NOSANA_POOLS_ERROR__NOT_CLOSEABLENotCloseable: This pool is not closeable.
NOSANA_POOLS_ERROR__NOT_STARTEDNotStarted: This pool has not started yet.
NOSANA_POOLS_ERROR__UNDERFUNDEDUnderfunded: This pool does not have enough funds.
NOSANA_POOLS_ERROR__WRONG_BENEFICIARYWrongBeneficiary: This pool does not match the beneficiary.
NOSANA_POOLS_ERROR__WRONG_CLAIM_TYPEWrongClaimType: This pool has a different claim type.
NOSANA_POOLS_PROGRAM_ADDRESS-
NosanaPoolsAccount-
NosanaPoolsInstruction-
OPEN_DISCRIMINATOR-
OPEN_INSTRUCTION_ACCOUNTS-
POOL_ACCOUNT_DISCRIMINATOR-
UPDATE_BENEFICIARY_DISCRIMINATOR-
UPDATE_BENEFICIARY_INSTRUCTION_ACCOUNTS-