/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { type Address, type SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, type SolanaError } from "@solana/kit"; /** InsufficientUnlockedTokens: Insufficient unlocked tokens */ export declare const MERKLE_DISTRIBUTOR_ERROR__INSUFFICIENT_UNLOCKED_TOKENS = 6000; /** StartTooFarInFuture: Deposit Start too far in future */ export declare const MERKLE_DISTRIBUTOR_ERROR__START_TOO_FAR_IN_FUTURE = 6001; /** InvalidProof: Invalid Merkle proof. */ export declare const MERKLE_DISTRIBUTOR_ERROR__INVALID_PROOF = 6002; /** ExceededMaxClaim: Exceeded maximum claim amount */ export declare const MERKLE_DISTRIBUTOR_ERROR__EXCEEDED_MAX_CLAIM = 6003; /** MaxNodesExceeded: Exceeded maximum node count */ export declare const MERKLE_DISTRIBUTOR_ERROR__MAX_NODES_EXCEEDED = 6004; /** Unauthorized: Account is not authorized to execute this instruction */ export declare const MERKLE_DISTRIBUTOR_ERROR__UNAUTHORIZED = 6005; /** OwnerMismatch: Token account owner did not match intended owner */ export declare const MERKLE_DISTRIBUTOR_ERROR__OWNER_MISMATCH = 6006; /** ClawbackDuringVesting: Clawback cannot be before vesting ends */ export declare const MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_DURING_VESTING = 6007; /** ClawbackBeforeStart: Attempted clawback before start */ export declare const MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_BEFORE_START = 6008; /** ClawbackAlreadyClaimed: Clawback already claimed */ export declare const MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_ALREADY_CLAIMED = 6009; /** InsufficientClawbackDelay: Clawback start must be at least one day after vesting end */ export declare const MERKLE_DISTRIBUTOR_ERROR__INSUFFICIENT_CLAWBACK_DELAY = 6010; /** SameClawbackReceiver: New and old Clawback receivers are identical */ export declare const MERKLE_DISTRIBUTOR_ERROR__SAME_CLAWBACK_RECEIVER = 6011; /** SameAdmin: New and old admin are identical */ export declare const MERKLE_DISTRIBUTOR_ERROR__SAME_ADMIN = 6012; /** ClaimExpired: Claim window expired */ export declare const MERKLE_DISTRIBUTOR_ERROR__CLAIM_EXPIRED = 6013; /** ArithmeticError: Arithmetic Error (overflow/underflow) */ export declare const MERKLE_DISTRIBUTOR_ERROR__ARITHMETIC_ERROR = 6014; /** StartTimestampAfterEnd: Start Timestamp cannot be after end Timestamp */ export declare const MERKLE_DISTRIBUTOR_ERROR__START_TIMESTAMP_AFTER_END = 6015; /** TimestampsNotInFuture: Timestamps cannot be in the past */ export declare const MERKLE_DISTRIBUTOR_ERROR__TIMESTAMPS_NOT_IN_FUTURE = 6016; /** InvalidVersion: Airdrop Version Mismatch */ export declare const MERKLE_DISTRIBUTOR_ERROR__INVALID_VERSION = 6017; /** ClaimingIsNotStarted: Claiming is not started */ export declare const MERKLE_DISTRIBUTOR_ERROR__CLAIMING_IS_NOT_STARTED = 6018; /** CannotCloseDistributor: Cannot close distributor */ export declare const MERKLE_DISTRIBUTOR_ERROR__CANNOT_CLOSE_DISTRIBUTOR = 6019; /** CannotCloseClaimStatus: Cannot close claim status */ export declare const MERKLE_DISTRIBUTOR_ERROR__CANNOT_CLOSE_CLAIM_STATUS = 6020; /** InvalidVote: Can only claim to vote address */ export declare const MERKLE_DISTRIBUTOR_ERROR__INVALID_VOTE = 6021; export type MerkleDistributorError = typeof MERKLE_DISTRIBUTOR_ERROR__ARITHMETIC_ERROR | typeof MERKLE_DISTRIBUTOR_ERROR__CANNOT_CLOSE_CLAIM_STATUS | typeof MERKLE_DISTRIBUTOR_ERROR__CANNOT_CLOSE_DISTRIBUTOR | typeof MERKLE_DISTRIBUTOR_ERROR__CLAIM_EXPIRED | typeof MERKLE_DISTRIBUTOR_ERROR__CLAIMING_IS_NOT_STARTED | typeof MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_ALREADY_CLAIMED | typeof MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_BEFORE_START | typeof MERKLE_DISTRIBUTOR_ERROR__CLAWBACK_DURING_VESTING | typeof MERKLE_DISTRIBUTOR_ERROR__EXCEEDED_MAX_CLAIM | typeof MERKLE_DISTRIBUTOR_ERROR__INSUFFICIENT_CLAWBACK_DELAY | typeof MERKLE_DISTRIBUTOR_ERROR__INSUFFICIENT_UNLOCKED_TOKENS | typeof MERKLE_DISTRIBUTOR_ERROR__INVALID_PROOF | typeof MERKLE_DISTRIBUTOR_ERROR__INVALID_VERSION | typeof MERKLE_DISTRIBUTOR_ERROR__INVALID_VOTE | typeof MERKLE_DISTRIBUTOR_ERROR__MAX_NODES_EXCEEDED | typeof MERKLE_DISTRIBUTOR_ERROR__OWNER_MISMATCH | typeof MERKLE_DISTRIBUTOR_ERROR__SAME_ADMIN | typeof MERKLE_DISTRIBUTOR_ERROR__SAME_CLAWBACK_RECEIVER | typeof MERKLE_DISTRIBUTOR_ERROR__START_TIMESTAMP_AFTER_END | typeof MERKLE_DISTRIBUTOR_ERROR__START_TOO_FAR_IN_FUTURE | typeof MERKLE_DISTRIBUTOR_ERROR__TIMESTAMPS_NOT_IN_FUTURE | typeof MERKLE_DISTRIBUTOR_ERROR__UNAUTHORIZED; export declare function getMerkleDistributorErrorMessage(code: MerkleDistributorError): string; export declare function isMerkleDistributorError(error: unknown, transactionMessage: { instructions: Record; }, code?: TProgramErrorCode): error is SolanaError & Readonly<{ context: Readonly<{ code: TProgramErrorCode; }>; }>; //# sourceMappingURL=merkleDistributor.d.ts.map