Skip to content

MerkleDistributorClient

Functions

FunctionDescription
decodeClaimStatus-
decodeMerkleDistributor-
fetchAllClaimStatus-
fetchAllMaybeClaimStatus-
fetchAllMaybeMerkleDistributor-
fetchAllMerkleDistributor-
fetchClaimStatus-
fetchMaybeClaimStatus-
fetchMaybeMerkleDistributor-
fetchMerkleDistributor-
getClaimLockedDiscriminatorBytes-
getClaimLockedInstruction-
getClaimLockedInstructionDataCodec-
getClaimLockedInstructionDataDecoder-
getClaimLockedInstructionDataEncoder-
getClaimStatusCodecGets the codec for ClaimStatus account data.
getClaimStatusDecoderGets the decoder for ClaimStatus account data.
getClaimStatusDiscriminatorBytes-
getClaimStatusEncoderGets the encoder for ClaimStatusArgs account data.
getClaimStatusSize-
getClawbackDiscriminatorBytes-
getClawbackInstruction-
getClawbackInstructionDataCodec-
getClawbackInstructionDataDecoder-
getClawbackInstructionDataEncoder-
getCloseClaimStatusDiscriminatorBytes-
getCloseClaimStatusInstruction-
getCloseClaimStatusInstructionDataCodec-
getCloseClaimStatusInstructionDataDecoder-
getCloseClaimStatusInstructionDataEncoder-
getCloseDistributorDiscriminatorBytes-
getCloseDistributorInstruction-
getCloseDistributorInstructionDataCodec-
getCloseDistributorInstructionDataDecoder-
getCloseDistributorInstructionDataEncoder-
getMerkleDistributorCodecGets the codec for MerkleDistributor account data.
getMerkleDistributorDecoderGets the decoder for MerkleDistributor account data.
getMerkleDistributorDiscriminatorBytes-
getMerkleDistributorEncoderGets 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 AliasDescription
ClaimLockedInput-
ClaimLockedInstruction-
ClaimLockedInstructionAccountName-
ClaimLockedInstructionData-
ClaimLockedInstructionDataArgs-
ClaimStatusHolds whether or not a claimant has claimed tokens.
ClaimStatusArgs-
ClawbackInput-
ClawbackInstruction-
ClawbackInstructionAccountName-
ClawbackInstructionData-
ClawbackInstructionDataArgs-
CloseClaimStatusInput-
CloseClaimStatusInstruction-
CloseClaimStatusInstructionAccountName-
CloseClaimStatusInstructionData-
CloseClaimStatusInstructionDataArgs-
CloseDistributorInput-
CloseDistributorInstruction-
CloseDistributorInstructionAccountName-
CloseDistributorInstructionData-
CloseDistributorInstructionDataArgs-
MerkleDistributorState 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

VariableDescription
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_ERRORArithmeticError: Arithmetic Error (overflow/underflow)
MERKLE_DISTRIBUTOR_ERROR__CANNOT_CLOSE_CLAIM_STATUSCannotCloseClaimStatus: Cannot close claim status
MERKLE_DISTRIBUTOR_ERROR__CANNOT_CLOSE_DISTRIBUTORCannotCloseDistributor: Cannot close distributor
MERKLE_DISTRIBUTOR_ERROR__CLAIM_EXPIREDClaimExpired: Claim window expired
MERKLE_DISTRIBUTOR_ERROR__CLAIMING_IS_NOT_STARTEDClaimingIsNotStarted: Claiming is not started
MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_ALREADY_CLAIMEDClawbackAlreadyClaimed: Clawback already claimed
MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_BEFORE_STARTClawbackBeforeStart: Attempted clawback before start
MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_DURING_VESTINGClawbackDuringVesting: Clawback cannot be before vesting ends
MERKLE_DISTRIBUTOR_ERROR__EXCEEDED_MAX_CLAIMExceededMaxClaim: Exceeded maximum claim amount
MERKLE_DISTRIBUTOR_ERROR__INSUFFICIENT_CLAWBACK_DELAYInsufficientClawbackDelay: Clawback start must be at least one day after vesting end
MERKLE_DISTRIBUTOR_ERROR__INSUFFICIENT_UNLOCKED_TOKENSInsufficientUnlockedTokens: Insufficient unlocked tokens
MERKLE_DISTRIBUTOR_ERROR__INVALID_PROOFInvalidProof: Invalid Merkle proof.
MERKLE_DISTRIBUTOR_ERROR__INVALID_VERSIONInvalidVersion: Airdrop Version Mismatch
MERKLE_DISTRIBUTOR_ERROR__INVALID_VOTEInvalidVote: Can only claim to vote address
MERKLE_DISTRIBUTOR_ERROR__MAX_NODES_EXCEEDEDMaxNodesExceeded: Exceeded maximum node count
MERKLE_DISTRIBUTOR_ERROR__OWNER_MISMATCHOwnerMismatch: Token account owner did not match intended owner
MERKLE_DISTRIBUTOR_ERROR__SAME_ADMINSameAdmin: New and old admin are identical
MERKLE_DISTRIBUTOR_ERROR__SAME_CLAWBACK_RECEIVERSameClawbackReceiver: New and old Clawback receivers are identical
MERKLE_DISTRIBUTOR_ERROR__START_TIMESTAMP_AFTER_ENDStartTimestampAfterEnd: Start Timestamp cannot be after end Timestamp
MERKLE_DISTRIBUTOR_ERROR__START_TOO_FAR_IN_FUTUREStartTooFarInFuture: Deposit Start too far in future
MERKLE_DISTRIBUTOR_ERROR__TIMESTAMPS_NOT_IN_FUTURETimestampsNotInFuture: Timestamps cannot be in the past
MERKLE_DISTRIBUTOR_ERROR__UNAUTHORIZEDUnauthorized: 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-