Skip to content
Nosana Kit
Search
Main Navigation
Home
Guide
Examples
SDK Reference
Appearance
Menu
Return to top
On this page
MerkleDistributorClient
Functions
Function
Description
decodeClaimStatus
-
decodeMerkleDistributor
-
fetchAllClaimStatus
-
fetchAllMaybeClaimStatus
-
fetchAllMaybeMerkleDistributor
-
fetchAllMerkleDistributor
-
fetchClaimStatus
-
fetchMaybeClaimStatus
-
fetchMaybeMerkleDistributor
-
fetchMerkleDistributor
-
getClaimLockedDiscriminatorBytes
-
getClaimLockedInstruction
-
getClaimLockedInstructionDataCodec
-
getClaimLockedInstructionDataDecoder
-
getClaimLockedInstructionDataEncoder
-
getClaimStatusCodec
Gets the codec for
ClaimStatus
account data.
getClaimStatusDecoder
Gets the decoder for
ClaimStatus
account data.
getClaimStatusDiscriminatorBytes
-
getClaimStatusEncoder
Gets the encoder for
ClaimStatusArgs
account data.
getClaimStatusSize
-
getClawbackDiscriminatorBytes
-
getClawbackInstruction
-
getClawbackInstructionDataCodec
-
getClawbackInstructionDataDecoder
-
getClawbackInstructionDataEncoder
-
getCloseClaimStatusDiscriminatorBytes
-
getCloseClaimStatusInstruction
-
getCloseClaimStatusInstructionDataCodec
-
getCloseClaimStatusInstructionDataDecoder
-
getCloseClaimStatusInstructionDataEncoder
-
getCloseDistributorDiscriminatorBytes
-
getCloseDistributorInstruction
-
getCloseDistributorInstructionDataCodec
-
getCloseDistributorInstructionDataDecoder
-
getCloseDistributorInstructionDataEncoder
-
getMerkleDistributorCodec
Gets the codec for
MerkleDistributor
account data.
getMerkleDistributorDecoder
Gets the decoder for
MerkleDistributor
account data.
getMerkleDistributorDiscriminatorBytes
-
getMerkleDistributorEncoder
Gets the encoder for
MerkleDistributorArgs
account data.
getMerkleDistributorErrorMessage
-
getMerkleDistributorSize
-
getNewClaimDiscriminatorBytes
-
getNewClaimInstruction
-
getNewClaimInstructionDataCodec
-
getNewClaimInstructionDataDecoder
-
getNewClaimInstructionDataEncoder
-
getNewDistributorDiscriminatorBytes
-
getNewDistributorInstruction
-
getNewDistributorInstructionDataCodec
-
getNewDistributorInstructionDataDecoder
-
getNewDistributorInstructionDataEncoder
-
getSetAdminDiscriminatorBytes
-
getSetAdminInstruction
-
getSetAdminInstructionDataCodec
-
getSetAdminInstructionDataDecoder
-
getSetAdminInstructionDataEncoder
-
getSetClawbackReceiverDiscriminatorBytes
-
getSetClawbackReceiverInstruction
-
getSetClawbackReceiverInstructionDataCodec
-
getSetClawbackReceiverInstructionDataDecoder
-
getSetClawbackReceiverInstructionDataEncoder
-
getSetEnableSlotDiscriminatorBytes
-
getSetEnableSlotInstruction
-
getSetEnableSlotInstructionDataCodec
-
getSetEnableSlotInstructionDataDecoder
-
getSetEnableSlotInstructionDataEncoder
-
identifyMerkleDistributorAccount
-
identifyMerkleDistributorInstruction
-
isMerkleDistributorError
-
parseClaimLockedInstruction
-
parseClawbackInstruction
-
parseCloseClaimStatusInstruction
-
parseCloseDistributorInstruction
-
parseNewClaimInstruction
-
parseNewDistributorInstruction
-
parseSetAdminInstruction
-
parseSetClawbackReceiverInstruction
-
parseSetEnableSlotInstruction
-
Type Aliases
Type Alias
Description
ClaimLockedInput
-
ClaimLockedInstruction
-
ClaimLockedInstructionAccountName
-
ClaimLockedInstructionData
-
ClaimLockedInstructionDataArgs
-
ClaimStatus
Holds whether or not a claimant has claimed tokens.
ClaimStatusArgs
-
ClawbackInput
-
ClawbackInstruction
-
ClawbackInstructionAccountName
-
ClawbackInstructionData
-
ClawbackInstructionDataArgs
-
CloseClaimStatusInput
-
CloseClaimStatusInstruction
-
CloseClaimStatusInstructionAccountName
-
CloseClaimStatusInstructionData
-
CloseClaimStatusInstructionDataArgs
-
CloseDistributorInput
-
CloseDistributorInstruction
-
CloseDistributorInstructionAccountName
-
CloseDistributorInstructionData
-
CloseDistributorInstructionDataArgs
-
MerkleDistributor
State for the account which distributes tokens.
MerkleDistributorAccount
-
MerkleDistributorArgs
-
MerkleDistributorError
-
MerkleDistributorInstruction
-
NewClaimInput
-
NewClaimInstruction
-
NewClaimInstructionAccountName
-
NewClaimInstructionData
-
NewClaimInstructionDataArgs
-
NewDistributorInput
-
NewDistributorInstruction
-
NewDistributorInstructionAccountName
-
NewDistributorInstructionData
-
NewDistributorInstructionDataArgs
-
ParsedClaimLockedInstruction
-
ParsedClawbackInstruction
-
ParsedCloseClaimStatusInstruction
-
ParsedCloseDistributorInstruction
-
ParsedMerkleDistributorInstruction
-
ParsedNewClaimInstruction
-
ParsedNewDistributorInstruction
-
ParsedSetAdminInstruction
-
ParsedSetClawbackReceiverInstruction
-
ParsedSetEnableSlotInstruction
-
SetAdminInput
-
SetAdminInstruction
-
SetAdminInstructionAccountName
-
SetAdminInstructionData
-
SetAdminInstructionDataArgs
-
SetClawbackReceiverInput
-
SetClawbackReceiverInstruction
-
SetClawbackReceiverInstructionAccountName
-
SetClawbackReceiverInstructionData
-
SetClawbackReceiverInstructionDataArgs
-
SetEnableSlotInput
-
SetEnableSlotInstruction
-
SetEnableSlotInstructionAccountName
-
SetEnableSlotInstructionData
-
SetEnableSlotInstructionDataArgs
-
Variables
Variable
Description
CLAIM_LOCKED_DISCRIMINATOR
-
CLAIM_LOCKED_INSTRUCTION_ACCOUNTS
-
CLAIM_STATUS_DISCRIMINATOR
-
CLAWBACK_DISCRIMINATOR
-
CLAWBACK_INSTRUCTION_ACCOUNTS
-
CLOSE_CLAIM_STATUS_DISCRIMINATOR
-
CLOSE_CLAIM_STATUS_INSTRUCTION_ACCOUNTS
-
CLOSE_DISTRIBUTOR_DISCRIMINATOR
-
CLOSE_DISTRIBUTOR_INSTRUCTION_ACCOUNTS
-
MERKLE_DISTRIBUTOR_DISCRIMINATOR
-
MERKLE_DISTRIBUTOR_ERROR__ARITHMETIC_ERROR
ArithmeticError: Arithmetic Error (overflow/underflow)
MERKLE_DISTRIBUTOR_ERROR__CANNOT_CLOSE_CLAIM_STATUS
CannotCloseClaimStatus: Cannot close claim status
MERKLE_DISTRIBUTOR_ERROR__CANNOT_CLOSE_DISTRIBUTOR
CannotCloseDistributor: Cannot close distributor
MERKLE_DISTRIBUTOR_ERROR__CLAIM_EXPIRED
ClaimExpired: Claim window expired
MERKLE_DISTRIBUTOR_ERROR__CLAIMING_IS_NOT_STARTED
ClaimingIsNotStarted: Claiming is not started
MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_ALREADY_CLAIMED
ClawbackAlreadyClaimed: Clawback already claimed
MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_BEFORE_START
ClawbackBeforeStart: Attempted clawback before start
MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_DURING_VESTING
ClawbackDuringVesting: Clawback cannot be before vesting ends
MERKLE_DISTRIBUTOR_ERROR__EXCEEDED_MAX_CLAIM
ExceededMaxClaim: Exceeded maximum claim amount
MERKLE_DISTRIBUTOR_ERROR__INSUFFICIENT_CLAWBACK_DELAY
InsufficientClawbackDelay: Clawback start must be at least one day after vesting end
MERKLE_DISTRIBUTOR_ERROR__INSUFFICIENT_UNLOCKED_TOKENS
InsufficientUnlockedTokens: Insufficient unlocked tokens
MERKLE_DISTRIBUTOR_ERROR__INVALID_PROOF
InvalidProof: Invalid Merkle proof.
MERKLE_DISTRIBUTOR_ERROR__INVALID_VERSION
InvalidVersion: Airdrop Version Mismatch
MERKLE_DISTRIBUTOR_ERROR__INVALID_VOTE
InvalidVote: Can only claim to vote address
MERKLE_DISTRIBUTOR_ERROR__MAX_NODES_EXCEEDED
MaxNodesExceeded: Exceeded maximum node count
MERKLE_DISTRIBUTOR_ERROR__OWNER_MISMATCH
OwnerMismatch: Token account owner did not match intended owner
MERKLE_DISTRIBUTOR_ERROR__SAME_ADMIN
SameAdmin: New and old admin are identical
MERKLE_DISTRIBUTOR_ERROR__SAME_CLAWBACK_RECEIVER
SameClawbackReceiver: New and old Clawback receivers are identical
MERKLE_DISTRIBUTOR_ERROR__START_TIMESTAMP_AFTER_END
StartTimestampAfterEnd: Start Timestamp cannot be after end Timestamp
MERKLE_DISTRIBUTOR_ERROR__START_TOO_FAR_IN_FUTURE
StartTooFarInFuture: Deposit Start too far in future
MERKLE_DISTRIBUTOR_ERROR__TIMESTAMPS_NOT_IN_FUTURE
TimestampsNotInFuture: Timestamps cannot be in the past
MERKLE_DISTRIBUTOR_ERROR__UNAUTHORIZED
Unauthorized: Account is not authorized to execute this instruction
MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS
-
MerkleDistributorAccount
-
MerkleDistributorInstruction
-
NEW_CLAIM_DISCRIMINATOR
-
NEW_CLAIM_INSTRUCTION_ACCOUNTS
-
NEW_DISTRIBUTOR_DISCRIMINATOR
-
NEW_DISTRIBUTOR_INSTRUCTION_ACCOUNTS
-
SET_ADMIN_DISCRIMINATOR
-
SET_ADMIN_INSTRUCTION_ACCOUNTS
-
SET_CLAWBACK_RECEIVER_DISCRIMINATOR
-
SET_CLAWBACK_RECEIVER_INSTRUCTION_ACCOUNTS
-
SET_ENABLE_SLOT_DISCRIMINATOR
-
SET_ENABLE_SLOT_INSTRUCTION_ACCOUNTS
-