@dropsy/airdrop 0.2.7 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,100 +1,4 @@
1
- import * as _solana_kit from '@solana/kit';
2
- import { ReadonlyUint8Array, Address, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, AccountMeta, Instruction, InstructionWithData, InstructionWithAccounts, ReadonlyAccount, WritableAccount, WritableSignerAccount, AccountSignerMeta, Encoder, Decoder, Codec, TransactionSigner, Option, OptionOrNullable, Rpc, SolanaRpcApi, RpcSubscriptions, SolanaRpcSubscriptionsApi, ProgramDerivedAddressBump } from '@solana/kit';
3
- import MerkleTree from 'merkletreejs';
4
-
5
- /**
6
- * This code was AUTOGENERATED using the Codama library.
7
- * Please DO NOT EDIT THIS FILE, instead use visitors
8
- * to add features, then rerun Codama to update it.
9
- *
10
- * @see https://github.com/codama-idl/codama
11
- */
12
-
13
- declare const AFFILIATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
14
- declare function getAffiliateDiscriminatorBytes(): ReadonlyUint8Array;
15
- type Affiliate = {
16
- discriminator: ReadonlyUint8Array;
17
- master: Address;
18
- authority: Address;
19
- totalEarned: bigint;
20
- referrals: number;
21
- level: number;
22
- bump: number;
23
- };
24
- type AffiliateArgs = {
25
- master: Address;
26
- authority: Address;
27
- totalEarned: number | bigint;
28
- referrals: number;
29
- level: number;
30
- bump: number;
31
- };
32
- /** Gets the encoder for {@link AffiliateArgs} account data. */
33
- declare function getAffiliateEncoder(): FixedSizeEncoder<AffiliateArgs>;
34
- /** Gets the decoder for {@link Affiliate} account data. */
35
- declare function getAffiliateDecoder(): FixedSizeDecoder<Affiliate>;
36
- /** Gets the codec for {@link Affiliate} account data. */
37
- declare function getAffiliateCodec(): FixedSizeCodec<AffiliateArgs, Affiliate>;
38
- declare function decodeAffiliate<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<Affiliate, TAddress>;
39
- declare function decodeAffiliate<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<Affiliate, TAddress>;
40
- declare function fetchAffiliate<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<Affiliate, TAddress>>;
41
- declare function fetchMaybeAffiliate<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<Affiliate, TAddress>>;
42
- declare function fetchAllAffiliate(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<Affiliate>[]>;
43
- declare function fetchAllMaybeAffiliate(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<Affiliate>[]>;
44
- declare function getAffiliateSize(): number;
45
-
46
- /**
47
- * This code was AUTOGENERATED using the Codama library.
48
- * Please DO NOT EDIT THIS FILE, instead use visitors
49
- * to add features, then rerun Codama to update it.
50
- *
51
- * @see https://github.com/codama-idl/codama
52
- */
53
-
54
- declare const AFFILIATE_MASTER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
55
- declare function getAffiliateMasterDiscriminatorBytes(): ReadonlyUint8Array;
56
- type AffiliateMaster = {
57
- discriminator: ReadonlyUint8Array;
58
- authority: Address;
59
- tokenMint: Address;
60
- affiliatesCreated: bigint;
61
- maxAffiliatesAllowed: bigint;
62
- totalFeesCollected: bigint;
63
- affiliateCreationFee: bigint;
64
- affiliateUpgradeAmount: bigint;
65
- affiliateWithdrawFeeBasis: number;
66
- burnPercentageBasis: number;
67
- treasuryPercentageBasis: number;
68
- upgradeRewardPercentageBasis: number;
69
- bump: number;
70
- };
71
- type AffiliateMasterArgs = {
72
- authority: Address;
73
- tokenMint: Address;
74
- affiliatesCreated: number | bigint;
75
- maxAffiliatesAllowed: number | bigint;
76
- totalFeesCollected: number | bigint;
77
- affiliateCreationFee: number | bigint;
78
- affiliateUpgradeAmount: number | bigint;
79
- affiliateWithdrawFeeBasis: number;
80
- burnPercentageBasis: number;
81
- treasuryPercentageBasis: number;
82
- upgradeRewardPercentageBasis: number;
83
- bump: number;
84
- };
85
- /** Gets the encoder for {@link AffiliateMasterArgs} account data. */
86
- declare function getAffiliateMasterEncoder(): FixedSizeEncoder<AffiliateMasterArgs>;
87
- /** Gets the decoder for {@link AffiliateMaster} account data. */
88
- declare function getAffiliateMasterDecoder(): FixedSizeDecoder<AffiliateMaster>;
89
- /** Gets the codec for {@link AffiliateMaster} account data. */
90
- declare function getAffiliateMasterCodec(): FixedSizeCodec<AffiliateMasterArgs, AffiliateMaster>;
91
- declare function decodeAffiliateMaster<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<AffiliateMaster, TAddress>;
92
- declare function decodeAffiliateMaster<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<AffiliateMaster, TAddress>;
93
- declare function fetchAffiliateMaster<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<AffiliateMaster, TAddress>>;
94
- declare function fetchMaybeAffiliateMaster<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<AffiliateMaster, TAddress>>;
95
- declare function fetchAllAffiliateMaster(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<AffiliateMaster>[]>;
96
- declare function fetchAllMaybeAffiliateMaster(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<AffiliateMaster>[]>;
97
- declare function getAffiliateMasterSize(): number;
1
+ import { ReadonlyUint8Array, Address, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, Instruction, InstructionWithData, TransactionSigner, AccountMeta, InstructionWithAccounts, WritableAccount, WritableSignerAccount, AccountSignerMeta, ReadonlyAccount, Codec, Decoder, Encoder, OptionOrNullable, Option } from '@solana/kit';
98
2
 
99
3
  /**
100
4
  * This code was AUTOGENERATED using the Codama library.
@@ -105,22 +9,20 @@ declare function getAffiliateMasterSize(): number;
105
9
  */
106
10
 
107
11
  declare const AIRDROP_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
108
- declare function getAirdropDiscriminatorBytes(): ReadonlyUint8Array;
12
+ declare function getAirdropDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
109
13
  type Airdrop = {
110
14
  discriminator: ReadonlyUint8Array;
111
15
  master: Address;
112
16
  authority: Address;
113
17
  mint: Address;
114
18
  delegateAuthority: Address;
115
- presale: Address;
116
19
  merkleRoot: ReadonlyUint8Array;
20
+ id: bigint;
117
21
  supply: bigint;
118
22
  boost: bigint;
119
23
  startsAt: bigint;
120
24
  endsAt: bigint;
121
25
  bitmapCount: number;
122
- delegatePermissions: number;
123
- mutable: number;
124
26
  state: number;
125
27
  version: number;
126
28
  bump: number;
@@ -131,15 +33,13 @@ type AirdropArgs = {
131
33
  authority: Address;
132
34
  mint: Address;
133
35
  delegateAuthority: Address;
134
- presale: Address;
135
36
  merkleRoot: ReadonlyUint8Array;
37
+ id: number | bigint;
136
38
  supply: number | bigint;
137
39
  boost: number | bigint;
138
40
  startsAt: number | bigint;
139
41
  endsAt: number | bigint;
140
42
  bitmapCount: number;
141
- delegatePermissions: number;
142
- mutable: number;
143
43
  state: number;
144
44
  version: number;
145
45
  bump: number;
@@ -168,29 +68,43 @@ declare function getAirdropSize(): number;
168
68
  */
169
69
 
170
70
  declare const AIRDROP_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
171
- declare function getAirdropConfigDiscriminatorBytes(): ReadonlyUint8Array;
71
+ declare function getAirdropConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
172
72
  type AirdropConfig = {
173
73
  discriminator: ReadonlyUint8Array;
174
- merkleRoot: ReadonlyUint8Array;
74
+ authority: Address;
75
+ protocolTreasury: Address;
76
+ wlRoot: ReadonlyUint8Array;
77
+ protocolFee: bigint;
78
+ airdropMasterCreateFee: bigint;
79
+ maxClaimFee: bigint;
80
+ maxActionFee: bigint;
175
81
  minAirdropDuration: bigint;
82
+ defaultAirdropDuration: bigint;
176
83
  maxAirdropDuration: bigint;
177
84
  updateGracePeriod: bigint;
178
- createAirdropMasterFee: bigint;
179
- upgradeAirdropMasterFee: bigint;
180
- withdrawFeeBasis: bigint;
181
- perBoostAmount: bigint;
85
+ masterFeeBps: number;
86
+ version: number;
182
87
  bump: number;
88
+ padding: ReadonlyUint8Array;
89
+ reserved: ReadonlyUint8Array;
183
90
  };
184
91
  type AirdropConfigArgs = {
185
- merkleRoot: ReadonlyUint8Array;
92
+ authority: Address;
93
+ protocolTreasury: Address;
94
+ wlRoot: ReadonlyUint8Array;
95
+ protocolFee: number | bigint;
96
+ airdropMasterCreateFee: number | bigint;
97
+ maxClaimFee: number | bigint;
98
+ maxActionFee: number | bigint;
186
99
  minAirdropDuration: number | bigint;
100
+ defaultAirdropDuration: number | bigint;
187
101
  maxAirdropDuration: number | bigint;
188
102
  updateGracePeriod: number | bigint;
189
- createAirdropMasterFee: number | bigint;
190
- upgradeAirdropMasterFee: number | bigint;
191
- withdrawFeeBasis: number | bigint;
192
- perBoostAmount: number | bigint;
103
+ masterFeeBps: number;
104
+ version: number;
193
105
  bump: number;
106
+ padding: ReadonlyUint8Array;
107
+ reserved: ReadonlyUint8Array;
194
108
  };
195
109
  /** Gets the encoder for {@link AirdropConfigArgs} account data. */
196
110
  declare function getAirdropConfigEncoder(): FixedSizeEncoder<AirdropConfigArgs>;
@@ -215,39 +129,39 @@ declare function getAirdropConfigSize(): number;
215
129
  */
216
130
 
217
131
  declare const AIRDROP_MASTER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
218
- declare function getAirdropMasterDiscriminatorBytes(): ReadonlyUint8Array;
132
+ declare function getAirdropMasterDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
219
133
  type AirdropMaster = {
220
134
  discriminator: ReadonlyUint8Array;
221
- affiliateMaster: Address;
135
+ creator: Address;
222
136
  authority: Address;
223
- merkleRoot: ReadonlyUint8Array;
224
- airdropsCreated: bigint;
225
- maxAirdropsAllowed: bigint;
226
- bitmapCreated: bigint;
227
- maxBitmapAllowed: bigint;
228
- airdropCreationFee: bigint;
229
- bitmapCreationFee: bigint;
137
+ treasury: Address;
138
+ createdAirdrops: bigint;
139
+ points: bigint;
140
+ totalClaimCount: bigint;
141
+ monetizedClaimQuota: bigint;
142
+ monetizedClaimCount: bigint;
230
143
  airdropUpdateFee: bigint;
144
+ airdropCreationFee: bigint;
231
145
  airdropClaimFee: bigint;
232
146
  airdropDelegateFee: bigint;
233
- airdropDepositFee: bigint;
147
+ bitmapCreationFee: bigint;
234
148
  bump: number;
235
149
  padding: ReadonlyUint8Array;
236
150
  };
237
151
  type AirdropMasterArgs = {
238
- affiliateMaster: Address;
152
+ creator: Address;
239
153
  authority: Address;
240
- merkleRoot: ReadonlyUint8Array;
241
- airdropsCreated: number | bigint;
242
- maxAirdropsAllowed: number | bigint;
243
- bitmapCreated: number | bigint;
244
- maxBitmapAllowed: number | bigint;
245
- airdropCreationFee: number | bigint;
246
- bitmapCreationFee: number | bigint;
154
+ treasury: Address;
155
+ createdAirdrops: number | bigint;
156
+ points: number | bigint;
157
+ totalClaimCount: number | bigint;
158
+ monetizedClaimQuota: number | bigint;
159
+ monetizedClaimCount: number | bigint;
247
160
  airdropUpdateFee: number | bigint;
161
+ airdropCreationFee: number | bigint;
248
162
  airdropClaimFee: number | bigint;
249
163
  airdropDelegateFee: number | bigint;
250
- airdropDepositFee: number | bigint;
164
+ bitmapCreationFee: number | bigint;
251
165
  bump: number;
252
166
  padding: ReadonlyUint8Array;
253
167
  };
@@ -273,79 +187,40 @@ declare function getAirdropMasterSize(): number;
273
187
  * @see https://github.com/codama-idl/codama
274
188
  */
275
189
 
276
- declare const CLAIM_MAP_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
277
- declare function getClaimMapDiscriminatorBytes(): ReadonlyUint8Array;
278
- type ClaimMap = {
190
+ declare const BITMAP_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
191
+ declare function getBitmapAccountDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
192
+ type BitmapAccount = {
279
193
  discriminator: ReadonlyUint8Array;
280
194
  authority: Address;
281
195
  airdrop: Address;
282
- claimedBitmap: ReadonlyUint8Array;
283
196
  total: number;
197
+ claimedBitmap: ReadonlyUint8Array;
284
198
  id: number;
285
199
  version: number;
286
200
  bump: number;
287
201
  };
288
- type ClaimMapArgs = {
202
+ type BitmapAccountArgs = {
289
203
  authority: Address;
290
204
  airdrop: Address;
291
- claimedBitmap: ReadonlyUint8Array;
292
205
  total: number;
206
+ claimedBitmap: ReadonlyUint8Array;
293
207
  id: number;
294
208
  version: number;
295
209
  bump: number;
296
210
  };
297
- /** Gets the encoder for {@link ClaimMapArgs} account data. */
298
- declare function getClaimMapEncoder(): FixedSizeEncoder<ClaimMapArgs>;
299
- /** Gets the decoder for {@link ClaimMap} account data. */
300
- declare function getClaimMapDecoder(): FixedSizeDecoder<ClaimMap>;
301
- /** Gets the codec for {@link ClaimMap} account data. */
302
- declare function getClaimMapCodec(): FixedSizeCodec<ClaimMapArgs, ClaimMap>;
303
- declare function decodeClaimMap<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<ClaimMap, TAddress>;
304
- declare function decodeClaimMap<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<ClaimMap, TAddress>;
305
- declare function fetchClaimMap<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<ClaimMap, TAddress>>;
306
- declare function fetchMaybeClaimMap<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<ClaimMap, TAddress>>;
307
- declare function fetchAllClaimMap(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<ClaimMap>[]>;
308
- declare function fetchAllMaybeClaimMap(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<ClaimMap>[]>;
309
- declare function getClaimMapSize(): number;
310
-
311
- /**
312
- * This code was AUTOGENERATED using the Codama library.
313
- * Please DO NOT EDIT THIS FILE, instead use visitors
314
- * to add features, then rerun Codama to update it.
315
- *
316
- * @see https://github.com/codama-idl/codama
317
- */
318
-
319
- declare const MASTER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
320
- declare function getMasterDiscriminatorBytes(): ReadonlyUint8Array;
321
- type Master = {
322
- discriminator: ReadonlyUint8Array;
323
- authority: Address;
324
- treasury: Address;
325
- tokenMint: Address;
326
- protocolFee: bigint;
327
- bump: number;
328
- };
329
- type MasterArgs = {
330
- authority: Address;
331
- treasury: Address;
332
- tokenMint: Address;
333
- protocolFee: number | bigint;
334
- bump: number;
335
- };
336
- /** Gets the encoder for {@link MasterArgs} account data. */
337
- declare function getMasterEncoder(): FixedSizeEncoder<MasterArgs>;
338
- /** Gets the decoder for {@link Master} account data. */
339
- declare function getMasterDecoder(): FixedSizeDecoder<Master>;
340
- /** Gets the codec for {@link Master} account data. */
341
- declare function getMasterCodec(): FixedSizeCodec<MasterArgs, Master>;
342
- declare function decodeMaster<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<Master, TAddress>;
343
- declare function decodeMaster<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<Master, TAddress>;
344
- declare function fetchMaster<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<Master, TAddress>>;
345
- declare function fetchMaybeMaster<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<Master, TAddress>>;
346
- declare function fetchAllMaster(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<Master>[]>;
347
- declare function fetchAllMaybeMaster(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<Master>[]>;
348
- declare function getMasterSize(): number;
211
+ /** Gets the encoder for {@link BitmapAccountArgs} account data. */
212
+ declare function getBitmapAccountEncoder(): FixedSizeEncoder<BitmapAccountArgs>;
213
+ /** Gets the decoder for {@link BitmapAccount} account data. */
214
+ declare function getBitmapAccountDecoder(): FixedSizeDecoder<BitmapAccount>;
215
+ /** Gets the codec for {@link BitmapAccount} account data. */
216
+ declare function getBitmapAccountCodec(): FixedSizeCodec<BitmapAccountArgs, BitmapAccount>;
217
+ declare function decodeBitmapAccount<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<BitmapAccount, TAddress>;
218
+ declare function decodeBitmapAccount<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<BitmapAccount, TAddress>;
219
+ declare function fetchBitmapAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<BitmapAccount, TAddress>>;
220
+ declare function fetchMaybeBitmapAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<BitmapAccount, TAddress>>;
221
+ declare function fetchAllBitmapAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<BitmapAccount>[]>;
222
+ declare function fetchAllMaybeBitmapAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<BitmapAccount>[]>;
223
+ declare function getBitmapAccountSize(): number;
349
224
 
350
225
  /**
351
226
  * This code was AUTOGENERATED using the Codama library.
@@ -356,158 +231,154 @@ declare function getMasterSize(): number;
356
231
  */
357
232
 
358
233
  /** ValueOutOfRange: Value out of range */
359
- declare const DROPSY_ERROR__VALUE_OUT_OF_RANGE = 6001;
234
+ declare const DROPSY_AIRDROP_ERROR__VALUE_OUT_OF_RANGE = 6001;
360
235
  /** ValueBelowTheMinimum: Value below the minimum */
361
- declare const DROPSY_ERROR__VALUE_BELOW_THE_MINIMUM = 6002;
236
+ declare const DROPSY_AIRDROP_ERROR__VALUE_BELOW_THE_MINIMUM = 6002;
362
237
  /** ValueExceedsMaximum: Value exceeds the maximum */
363
- declare const DROPSY_ERROR__VALUE_EXCEEDS_MAXIMUM = 6003;
238
+ declare const DROPSY_AIRDROP_ERROR__VALUE_EXCEEDS_MAXIMUM = 6003;
364
239
  /** InvalidPercentage: Invalid percentage (must be 0-100) */
365
- declare const DROPSY_ERROR__INVALID_PERCENTAGE = 6004;
240
+ declare const DROPSY_AIRDROP_ERROR__INVALID_PERCENTAGE = 6004;
366
241
  /** InvalidTimestamp: Invalid timestamp or duration */
367
- declare const DROPSY_ERROR__INVALID_TIMESTAMP = 6006;
242
+ declare const DROPSY_AIRDROP_ERROR__INVALID_TIMESTAMP = 6006;
368
243
  /** NonZeroValueRequired: Number must be non-zero */
369
- declare const DROPSY_ERROR__NON_ZERO_VALUE_REQUIRED = 6007;
244
+ declare const DROPSY_AIRDROP_ERROR__NON_ZERO_VALUE_REQUIRED = 6007;
370
245
  /** InvalidPubKey: Invalid Pubkey provided */
371
- declare const DROPSY_ERROR__INVALID_PUB_KEY = 6008;
246
+ declare const DROPSY_AIRDROP_ERROR__INVALID_PUB_KEY = 6008;
372
247
  /** UnAuthorized: Invalid Authority Pubkey */
373
- declare const DROPSY_ERROR__UN_AUTHORIZED = 6009;
248
+ declare const DROPSY_AIRDROP_ERROR__UN_AUTHORIZED = 6009;
374
249
  /** InvalidMutability: Invalid mutability Value */
375
- declare const DROPSY_ERROR__INVALID_MUTABILITY = 6010;
250
+ declare const DROPSY_AIRDROP_ERROR__INVALID_MUTABILITY = 6010;
376
251
  /** InvalidDelegatePermission: Invalid delegate permission Value */
377
- declare const DROPSY_ERROR__INVALID_DELEGATE_PERMISSION = 6011;
252
+ declare const DROPSY_AIRDROP_ERROR__INVALID_DELEGATE_PERMISSION = 6011;
253
+ /** ClaimFeeTooHigh: Claim fee exceeds maximum allowed */
254
+ declare const DROPSY_AIRDROP_ERROR__CLAIM_FEE_TOO_HIGH = 6012;
255
+ /** ActionFeeTooHigh: Action fee exceeds maximum allowed */
256
+ declare const DROPSY_AIRDROP_ERROR__ACTION_FEE_TOO_HIGH = 6013;
378
257
  /** AirdropNotStarted: Airdrop has not started yet */
379
- declare const DROPSY_ERROR__AIRDROP_NOT_STARTED = 6100;
258
+ declare const DROPSY_AIRDROP_ERROR__AIRDROP_NOT_STARTED = 6100;
380
259
  /** AirdropEnded: Airdrop has already ended */
381
- declare const DROPSY_ERROR__AIRDROP_ENDED = 6101;
260
+ declare const DROPSY_AIRDROP_ERROR__AIRDROP_ENDED = 6101;
382
261
  /** AirdropNotEnded: Airdrop not yet ended */
383
- declare const DROPSY_ERROR__AIRDROP_NOT_ENDED = 6102;
262
+ declare const DROPSY_AIRDROP_ERROR__AIRDROP_NOT_ENDED = 6102;
384
263
  /** DurationTooShort: Airdrop duration must be at least 24 hours */
385
- declare const DROPSY_ERROR__DURATION_TOO_SHORT = 6103;
264
+ declare const DROPSY_AIRDROP_ERROR__DURATION_TOO_SHORT = 6103;
386
265
  /** InvalidEndTime: Airdrop must end at least 24 hours in the future */
387
- declare const DROPSY_ERROR__INVALID_END_TIME = 6104;
266
+ declare const DROPSY_AIRDROP_ERROR__INVALID_END_TIME = 6104;
388
267
  /** InvalidVestingSchedule: Vesting schedule is invalid */
389
- declare const DROPSY_ERROR__INVALID_VESTING_SCHEDULE = 6105;
268
+ declare const DROPSY_AIRDROP_ERROR__INVALID_VESTING_SCHEDULE = 6105;
390
269
  /** ImmutableAirdrop: Airdrop is immutable */
391
- declare const DROPSY_ERROR__IMMUTABLE_AIRDROP = 6106;
270
+ declare const DROPSY_AIRDROP_ERROR__IMMUTABLE_AIRDROP = 6106;
392
271
  /** ImmutableField: The target field is immutable */
393
- declare const DROPSY_ERROR__IMMUTABLE_FIELD = 6107;
272
+ declare const DROPSY_AIRDROP_ERROR__IMMUTABLE_FIELD = 6107;
394
273
  /** UpdateCutoffTimePassed: Airdrop updates are only allowed until cutoff time before start */
395
- declare const DROPSY_ERROR__UPDATE_CUTOFF_TIME_PASSED = 6108;
396
- /** MaxAirdropsReached: Airdrop quota reached. Upgrade required for Airdrop Master. */
397
- declare const DROPSY_ERROR__MAX_AIRDROPS_REACHED = 6109;
398
- /** MaxClaimMapsReached: ClaimMap quota reached. Upgrade required for Airdrop Master. */
399
- declare const DROPSY_ERROR__MAX_CLAIM_MAPS_REACHED = 6110;
274
+ declare const DROPSY_AIRDROP_ERROR__UPDATE_CUTOFF_TIME_PASSED = 6108;
400
275
  /** InvalidAdmin: This Request Requires Admin Privileges */
401
- declare const DROPSY_ERROR__INVALID_ADMIN = 6200;
276
+ declare const DROPSY_AIRDROP_ERROR__INVALID_ADMIN = 6200;
402
277
  /** OwnerMismatch: Airdrop owner mismatch */
403
- declare const DROPSY_ERROR__OWNER_MISMATCH = 6201;
278
+ declare const DROPSY_AIRDROP_ERROR__OWNER_MISMATCH = 6201;
404
279
  /** InvalidVaultAuthority: Invalid vault authority */
405
- declare const DROPSY_ERROR__INVALID_VAULT_AUTHORITY = 6202;
280
+ declare const DROPSY_AIRDROP_ERROR__INVALID_VAULT_AUTHORITY = 6202;
406
281
  /** InvalidDestinationOwner: Destination account owner is not the signer */
407
- declare const DROPSY_ERROR__INVALID_DESTINATION_OWNER = 6203;
282
+ declare const DROPSY_AIRDROP_ERROR__INVALID_DESTINATION_OWNER = 6203;
408
283
  /** InvalidAffiliatePda: Mismatched affiliate PDA */
409
- declare const DROPSY_ERROR__INVALID_AFFILIATE_PDA = 6204;
284
+ declare const DROPSY_AIRDROP_ERROR__INVALID_AFFILIATE_PDA = 6204;
410
285
  /** Unauthorized: Not Authorized */
411
- declare const DROPSY_ERROR__UNAUTHORIZED = 6205;
286
+ declare const DROPSY_AIRDROP_ERROR__UNAUTHORIZED = 6205;
412
287
  /** InvalidOwner: Transaction sender is not the owner */
413
- declare const DROPSY_ERROR__INVALID_OWNER = 6206;
288
+ declare const DROPSY_AIRDROP_ERROR__INVALID_OWNER = 6206;
414
289
  /** InvalidMint: Mint does not match stored state */
415
- declare const DROPSY_ERROR__INVALID_MINT = 6300;
290
+ declare const DROPSY_AIRDROP_ERROR__INVALID_MINT = 6300;
416
291
  /** MintMismatch: Provided mint doesn't match expected mint */
417
- declare const DROPSY_ERROR__MINT_MISMATCH = 6301;
292
+ declare const DROPSY_AIRDROP_ERROR__MINT_MISMATCH = 6301;
418
293
  /** VaultMintMismatch: Vault mint doesn't match airdrop mint */
419
- declare const DROPSY_ERROR__VAULT_MINT_MISMATCH = 6302;
294
+ declare const DROPSY_AIRDROP_ERROR__VAULT_MINT_MISMATCH = 6302;
420
295
  /** DestinationMintMismatch: Destination mint doesn't match */
421
- declare const DROPSY_ERROR__DESTINATION_MINT_MISMATCH = 6303;
296
+ declare const DROPSY_AIRDROP_ERROR__DESTINATION_MINT_MISMATCH = 6303;
422
297
  /** MintIsFrozen: Mint is frozen */
423
- declare const DROPSY_ERROR__MINT_IS_FROZEN = 6304;
298
+ declare const DROPSY_AIRDROP_ERROR__MINT_IS_FROZEN = 6304;
424
299
  /** InvalidMintOwner: Invalid token program owner */
425
- declare const DROPSY_ERROR__INVALID_MINT_OWNER = 6305;
300
+ declare const DROPSY_AIRDROP_ERROR__INVALID_MINT_OWNER = 6305;
426
301
  /** MintIsNotInitialized: Mint must be initialized */
427
- declare const DROPSY_ERROR__MINT_IS_NOT_INITIALIZED = 6306;
302
+ declare const DROPSY_AIRDROP_ERROR__MINT_IS_NOT_INITIALIZED = 6306;
428
303
  /** MintHasFreezeAuthority: Mint has freeze authority */
429
- declare const DROPSY_ERROR__MINT_HAS_FREEZE_AUTHORITY = 6307;
304
+ declare const DROPSY_AIRDROP_ERROR__MINT_HAS_FREEZE_AUTHORITY = 6307;
430
305
  /** NftNotAllowed: Fungible tokens only (no NFTs) */
431
- declare const DROPSY_ERROR__NFT_NOT_ALLOWED = 6308;
306
+ declare const DROPSY_AIRDROP_ERROR__NFT_NOT_ALLOWED = 6308;
432
307
  /** VaultHasDelegate: Vault has delegate set */
433
- declare const DROPSY_ERROR__VAULT_HAS_DELEGATE = 6401;
308
+ declare const DROPSY_AIRDROP_ERROR__VAULT_HAS_DELEGATE = 6401;
434
309
  /** VaultFrozen: Vault is frozen */
435
- declare const DROPSY_ERROR__VAULT_FROZEN = 6402;
310
+ declare const DROPSY_AIRDROP_ERROR__VAULT_FROZEN = 6402;
436
311
  /** VaultHasCloseAuthority: Vault has close authority */
437
- declare const DROPSY_ERROR__VAULT_HAS_CLOSE_AUTHORITY = 6403;
312
+ declare const DROPSY_AIRDROP_ERROR__VAULT_HAS_CLOSE_AUTHORITY = 6403;
438
313
  /** InvalidAirdropPda: Invalid vault account */
439
- declare const DROPSY_ERROR__INVALID_AIRDROP_PDA = 6404;
314
+ declare const DROPSY_AIRDROP_ERROR__INVALID_AIRDROP_PDA = 6404;
440
315
  /** VaultNotInitialized: Vault not initialized */
441
- declare const DROPSY_ERROR__VAULT_NOT_INITIALIZED = 6405;
316
+ declare const DROPSY_AIRDROP_ERROR__VAULT_NOT_INITIALIZED = 6405;
442
317
  /** InsufficientVaultFunds: Insufficient vault funds */
443
- declare const DROPSY_ERROR__INSUFFICIENT_VAULT_FUNDS = 6406;
318
+ declare const DROPSY_AIRDROP_ERROR__INSUFFICIENT_VAULT_FUNDS = 6406;
444
319
  /** SourceHasDelegate: Source has delegate set */
445
- declare const DROPSY_ERROR__SOURCE_HAS_DELEGATE = 6450;
320
+ declare const DROPSY_AIRDROP_ERROR__SOURCE_HAS_DELEGATE = 6450;
446
321
  /** SourceAccountFrozen: Source account is frozen */
447
- declare const DROPSY_ERROR__SOURCE_ACCOUNT_FROZEN = 6451;
322
+ declare const DROPSY_AIRDROP_ERROR__SOURCE_ACCOUNT_FROZEN = 6451;
448
323
  /** SourceHasCloseAuthority: Source has close authority */
449
- declare const DROPSY_ERROR__SOURCE_HAS_CLOSE_AUTHORITY = 6452;
324
+ declare const DROPSY_AIRDROP_ERROR__SOURCE_HAS_CLOSE_AUTHORITY = 6452;
450
325
  /** InvalidProof: Invalid merkle proof */
451
- declare const DROPSY_ERROR__INVALID_PROOF = 6500;
326
+ declare const DROPSY_AIRDROP_ERROR__INVALID_PROOF = 6500;
452
327
  /** AlreadyClaimed: Tokens already claimed */
453
- declare const DROPSY_ERROR__ALREADY_CLAIMED = 6501;
328
+ declare const DROPSY_AIRDROP_ERROR__ALREADY_CLAIMED = 6501;
454
329
  /** MissingBitmapPda: Missing bitmap PDA */
455
- declare const DROPSY_ERROR__MISSING_BITMAP_PDA = 6502;
330
+ declare const DROPSY_AIRDROP_ERROR__MISSING_BITMAP_PDA = 6502;
456
331
  /** InvalidBitmapAccount: Invalid bitmap account */
457
- declare const DROPSY_ERROR__INVALID_BITMAP_ACCOUNT = 6503;
332
+ declare const DROPSY_AIRDROP_ERROR__INVALID_BITMAP_ACCOUNT = 6503;
458
333
  /** InvalidBitmapIndex: Invalid bitmap index */
459
- declare const DROPSY_ERROR__INVALID_BITMAP_INDEX = 6504;
334
+ declare const DROPSY_AIRDROP_ERROR__INVALID_BITMAP_INDEX = 6504;
460
335
  /** TooManyBitmaps: Too many bitmap accounts */
461
- declare const DROPSY_ERROR__TOO_MANY_BITMAPS = 6505;
336
+ declare const DROPSY_AIRDROP_ERROR__TOO_MANY_BITMAPS = 6505;
462
337
  /** BitmapTooLarge: Bitmap size exceeds limit */
463
- declare const DROPSY_ERROR__BITMAP_TOO_LARGE = 6506;
338
+ declare const DROPSY_AIRDROP_ERROR__BITMAP_TOO_LARGE = 6506;
464
339
  /** InvalidTotal: Invalid total claimers */
465
- declare const DROPSY_ERROR__INVALID_TOTAL = 6507;
340
+ declare const DROPSY_AIRDROP_ERROR__INVALID_TOTAL = 6507;
466
341
  /** BitmapAirdropMismatch: Bitmap/airdrop mismatch */
467
- declare const DROPSY_ERROR__BITMAP_AIRDROP_MISMATCH = 6508;
342
+ declare const DROPSY_AIRDROP_ERROR__BITMAP_AIRDROP_MISMATCH = 6508;
468
343
  /** ActiveBitmapsExist: Active bitmaps exist */
469
- declare const DROPSY_ERROR__ACTIVE_BITMAPS_EXIST = 6509;
344
+ declare const DROPSY_AIRDROP_ERROR__ACTIVE_BITMAPS_EXIST = 6509;
470
345
  /** BitmapCountUnderflow: Bitmaps already closed */
471
- declare const DROPSY_ERROR__BITMAP_COUNT_UNDERFLOW = 6510;
346
+ declare const DROPSY_AIRDROP_ERROR__BITMAP_COUNT_UNDERFLOW = 6510;
472
347
  /** InsufficientDeposit: Insufficient SOL deposit */
473
- declare const DROPSY_ERROR__INSUFFICIENT_DEPOSIT = 6600;
348
+ declare const DROPSY_AIRDROP_ERROR__INSUFFICIENT_DEPOSIT = 6600;
474
349
  /** CreateFeeTooHigh: Create fee too high (>0.05 SOL) */
475
- declare const DROPSY_ERROR__CREATE_FEE_TOO_HIGH = 6601;
476
- /** ClaimFeeTooHigh: Claim fee too high (>0.005 SOL) */
477
- declare const DROPSY_ERROR__CLAIM_FEE_TOO_HIGH = 6602;
350
+ declare const DROPSY_AIRDROP_ERROR__CREATE_FEE_TOO_HIGH = 6601;
478
351
  /** InsufficientFundsForFee: Insufficient funds for fee */
479
- declare const DROPSY_ERROR__INSUFFICIENT_FUNDS_FOR_FEE = 6603;
352
+ declare const DROPSY_AIRDROP_ERROR__INSUFFICIENT_FUNDS_FOR_FEE = 6603;
480
353
  /** InvalidFeeVault: Invalid fee vault */
481
- declare const DROPSY_ERROR__INVALID_FEE_VAULT = 6604;
354
+ declare const DROPSY_AIRDROP_ERROR__INVALID_FEE_VAULT = 6604;
482
355
  /** InvalidFeeVaultOwner: Invalid fee vault owner */
483
- declare const DROPSY_ERROR__INVALID_FEE_VAULT_OWNER = 6605;
356
+ declare const DROPSY_AIRDROP_ERROR__INVALID_FEE_VAULT_OWNER = 6605;
484
357
  /** InvalidFeeVaultCurve: Fee vault not in curve */
485
- declare const DROPSY_ERROR__INVALID_FEE_VAULT_CURVE = 6606;
358
+ declare const DROPSY_AIRDROP_ERROR__INVALID_FEE_VAULT_CURVE = 6606;
486
359
  /** InvalidPda: Invalid PDA account */
487
- declare const DROPSY_ERROR__INVALID_PDA = 6700;
360
+ declare const DROPSY_AIRDROP_ERROR__INVALID_PDA = 6700;
488
361
  /** InvalidAmount: Invalid amount */
489
- declare const DROPSY_ERROR__INVALID_AMOUNT = 6701;
362
+ declare const DROPSY_AIRDROP_ERROR__INVALID_AMOUNT = 6701;
490
363
  /** Overflow: Arithmetic overflow */
491
- declare const DROPSY_ERROR__OVERFLOW = 6702;
364
+ declare const DROPSY_AIRDROP_ERROR__OVERFLOW = 6702;
492
365
  /** VaultNotRentExempt: Vault not rent exempt */
493
- declare const DROPSY_ERROR__VAULT_NOT_RENT_EXEMPT = 6703;
366
+ declare const DROPSY_AIRDROP_ERROR__VAULT_NOT_RENT_EXEMPT = 6703;
494
367
  /** InvalidTreasuryAccount: invalid treasury account */
495
- declare const DROPSY_ERROR__INVALID_TREASURY_ACCOUNT = 6704;
368
+ declare const DROPSY_AIRDROP_ERROR__INVALID_TREASURY_ACCOUNT = 6704;
496
369
  /** InvalidAirdropVersion: invalid airdrop version */
497
- declare const DROPSY_ERROR__INVALID_AIRDROP_VERSION = 6705;
370
+ declare const DROPSY_AIRDROP_ERROR__INVALID_AIRDROP_VERSION = 6705;
498
371
  /** InvalidVestingType: Invalid vesting type */
499
- declare const DROPSY_ERROR__INVALID_VESTING_TYPE = 6707;
372
+ declare const DROPSY_AIRDROP_ERROR__INVALID_VESTING_TYPE = 6707;
500
373
  /** VestingAccountRequired: vesting account required for vested airdrop */
501
- declare const DROPSY_ERROR__VESTING_ACCOUNT_REQUIRED = 6708;
374
+ declare const DROPSY_AIRDROP_ERROR__VESTING_ACCOUNT_REQUIRED = 6708;
502
375
  /** InvalidParentAccount: Invalid Parent account provided */
503
- declare const DROPSY_ERROR__INVALID_PARENT_ACCOUNT = 6709;
376
+ declare const DROPSY_AIRDROP_ERROR__INVALID_PARENT_ACCOUNT = 6709;
504
377
  /** InvalidAirdropVestingVersion: Airdrop version don't support vesting */
505
- declare const DROPSY_ERROR__INVALID_AIRDROP_VESTING_VERSION = 6710;
506
- /** InvalidAirdropMasterAccount: Invalid Airdrop Master */
507
- declare const DROPSY_ERROR__INVALID_AIRDROP_MASTER_ACCOUNT = 6711;
508
- type DropsyError = typeof DROPSY_ERROR__ACTIVE_BITMAPS_EXIST | typeof DROPSY_ERROR__AIRDROP_ENDED | typeof DROPSY_ERROR__AIRDROP_NOT_ENDED | typeof DROPSY_ERROR__AIRDROP_NOT_STARTED | typeof DROPSY_ERROR__ALREADY_CLAIMED | typeof DROPSY_ERROR__BITMAP_AIRDROP_MISMATCH | typeof DROPSY_ERROR__BITMAP_COUNT_UNDERFLOW | typeof DROPSY_ERROR__BITMAP_TOO_LARGE | typeof DROPSY_ERROR__CLAIM_FEE_TOO_HIGH | typeof DROPSY_ERROR__CREATE_FEE_TOO_HIGH | typeof DROPSY_ERROR__DESTINATION_MINT_MISMATCH | typeof DROPSY_ERROR__DURATION_TOO_SHORT | typeof DROPSY_ERROR__IMMUTABLE_AIRDROP | typeof DROPSY_ERROR__IMMUTABLE_FIELD | typeof DROPSY_ERROR__INSUFFICIENT_DEPOSIT | typeof DROPSY_ERROR__INSUFFICIENT_FUNDS_FOR_FEE | typeof DROPSY_ERROR__INSUFFICIENT_VAULT_FUNDS | typeof DROPSY_ERROR__INVALID_ADMIN | typeof DROPSY_ERROR__INVALID_AFFILIATE_PDA | typeof DROPSY_ERROR__INVALID_AIRDROP_MASTER_ACCOUNT | typeof DROPSY_ERROR__INVALID_AIRDROP_PDA | typeof DROPSY_ERROR__INVALID_AIRDROP_VERSION | typeof DROPSY_ERROR__INVALID_AIRDROP_VESTING_VERSION | typeof DROPSY_ERROR__INVALID_AMOUNT | typeof DROPSY_ERROR__INVALID_BITMAP_ACCOUNT | typeof DROPSY_ERROR__INVALID_BITMAP_INDEX | typeof DROPSY_ERROR__INVALID_DELEGATE_PERMISSION | typeof DROPSY_ERROR__INVALID_DESTINATION_OWNER | typeof DROPSY_ERROR__INVALID_END_TIME | typeof DROPSY_ERROR__INVALID_FEE_VAULT | typeof DROPSY_ERROR__INVALID_FEE_VAULT_CURVE | typeof DROPSY_ERROR__INVALID_FEE_VAULT_OWNER | typeof DROPSY_ERROR__INVALID_MINT | typeof DROPSY_ERROR__INVALID_MINT_OWNER | typeof DROPSY_ERROR__INVALID_MUTABILITY | typeof DROPSY_ERROR__INVALID_OWNER | typeof DROPSY_ERROR__INVALID_PARENT_ACCOUNT | typeof DROPSY_ERROR__INVALID_PDA | typeof DROPSY_ERROR__INVALID_PERCENTAGE | typeof DROPSY_ERROR__INVALID_PROOF | typeof DROPSY_ERROR__INVALID_PUB_KEY | typeof DROPSY_ERROR__INVALID_TIMESTAMP | typeof DROPSY_ERROR__INVALID_TOTAL | typeof DROPSY_ERROR__INVALID_TREASURY_ACCOUNT | typeof DROPSY_ERROR__INVALID_VAULT_AUTHORITY | typeof DROPSY_ERROR__INVALID_VESTING_SCHEDULE | typeof DROPSY_ERROR__INVALID_VESTING_TYPE | typeof DROPSY_ERROR__MAX_AIRDROPS_REACHED | typeof DROPSY_ERROR__MAX_CLAIM_MAPS_REACHED | typeof DROPSY_ERROR__MINT_HAS_FREEZE_AUTHORITY | typeof DROPSY_ERROR__MINT_IS_FROZEN | typeof DROPSY_ERROR__MINT_IS_NOT_INITIALIZED | typeof DROPSY_ERROR__MINT_MISMATCH | typeof DROPSY_ERROR__MISSING_BITMAP_PDA | typeof DROPSY_ERROR__NFT_NOT_ALLOWED | typeof DROPSY_ERROR__NON_ZERO_VALUE_REQUIRED | typeof DROPSY_ERROR__OVERFLOW | typeof DROPSY_ERROR__OWNER_MISMATCH | typeof DROPSY_ERROR__SOURCE_ACCOUNT_FROZEN | typeof DROPSY_ERROR__SOURCE_HAS_CLOSE_AUTHORITY | typeof DROPSY_ERROR__SOURCE_HAS_DELEGATE | typeof DROPSY_ERROR__TOO_MANY_BITMAPS | typeof DROPSY_ERROR__UNAUTHORIZED | typeof DROPSY_ERROR__UN_AUTHORIZED | typeof DROPSY_ERROR__UPDATE_CUTOFF_TIME_PASSED | typeof DROPSY_ERROR__VALUE_BELOW_THE_MINIMUM | typeof DROPSY_ERROR__VALUE_EXCEEDS_MAXIMUM | typeof DROPSY_ERROR__VALUE_OUT_OF_RANGE | typeof DROPSY_ERROR__VAULT_FROZEN | typeof DROPSY_ERROR__VAULT_HAS_CLOSE_AUTHORITY | typeof DROPSY_ERROR__VAULT_HAS_DELEGATE | typeof DROPSY_ERROR__VAULT_MINT_MISMATCH | typeof DROPSY_ERROR__VAULT_NOT_INITIALIZED | typeof DROPSY_ERROR__VAULT_NOT_RENT_EXEMPT | typeof DROPSY_ERROR__VESTING_ACCOUNT_REQUIRED;
509
- declare function getDropsyErrorMessage(code: DropsyError): string;
510
- declare function isDropsyError<TProgramErrorCode extends DropsyError>(error: unknown, transactionMessage: {
378
+ declare const DROPSY_AIRDROP_ERROR__INVALID_AIRDROP_VESTING_VERSION = 6710;
379
+ type DropsyAirdropError = typeof DROPSY_AIRDROP_ERROR__ACTION_FEE_TOO_HIGH | typeof DROPSY_AIRDROP_ERROR__ACTIVE_BITMAPS_EXIST | typeof DROPSY_AIRDROP_ERROR__AIRDROP_ENDED | typeof DROPSY_AIRDROP_ERROR__AIRDROP_NOT_ENDED | typeof DROPSY_AIRDROP_ERROR__AIRDROP_NOT_STARTED | typeof DROPSY_AIRDROP_ERROR__ALREADY_CLAIMED | typeof DROPSY_AIRDROP_ERROR__BITMAP_AIRDROP_MISMATCH | typeof DROPSY_AIRDROP_ERROR__BITMAP_COUNT_UNDERFLOW | typeof DROPSY_AIRDROP_ERROR__BITMAP_TOO_LARGE | typeof DROPSY_AIRDROP_ERROR__CLAIM_FEE_TOO_HIGH | typeof DROPSY_AIRDROP_ERROR__CREATE_FEE_TOO_HIGH | typeof DROPSY_AIRDROP_ERROR__DESTINATION_MINT_MISMATCH | typeof DROPSY_AIRDROP_ERROR__DURATION_TOO_SHORT | typeof DROPSY_AIRDROP_ERROR__IMMUTABLE_AIRDROP | typeof DROPSY_AIRDROP_ERROR__IMMUTABLE_FIELD | typeof DROPSY_AIRDROP_ERROR__INSUFFICIENT_DEPOSIT | typeof DROPSY_AIRDROP_ERROR__INSUFFICIENT_FUNDS_FOR_FEE | typeof DROPSY_AIRDROP_ERROR__INSUFFICIENT_VAULT_FUNDS | typeof DROPSY_AIRDROP_ERROR__INVALID_ADMIN | typeof DROPSY_AIRDROP_ERROR__INVALID_AFFILIATE_PDA | typeof DROPSY_AIRDROP_ERROR__INVALID_AIRDROP_PDA | typeof DROPSY_AIRDROP_ERROR__INVALID_AIRDROP_VERSION | typeof DROPSY_AIRDROP_ERROR__INVALID_AIRDROP_VESTING_VERSION | typeof DROPSY_AIRDROP_ERROR__INVALID_AMOUNT | typeof DROPSY_AIRDROP_ERROR__INVALID_BITMAP_ACCOUNT | typeof DROPSY_AIRDROP_ERROR__INVALID_BITMAP_INDEX | typeof DROPSY_AIRDROP_ERROR__INVALID_DELEGATE_PERMISSION | typeof DROPSY_AIRDROP_ERROR__INVALID_DESTINATION_OWNER | typeof DROPSY_AIRDROP_ERROR__INVALID_END_TIME | typeof DROPSY_AIRDROP_ERROR__INVALID_FEE_VAULT | typeof DROPSY_AIRDROP_ERROR__INVALID_FEE_VAULT_CURVE | typeof DROPSY_AIRDROP_ERROR__INVALID_FEE_VAULT_OWNER | typeof DROPSY_AIRDROP_ERROR__INVALID_MINT | typeof DROPSY_AIRDROP_ERROR__INVALID_MINT_OWNER | typeof DROPSY_AIRDROP_ERROR__INVALID_MUTABILITY | typeof DROPSY_AIRDROP_ERROR__INVALID_OWNER | typeof DROPSY_AIRDROP_ERROR__INVALID_PARENT_ACCOUNT | typeof DROPSY_AIRDROP_ERROR__INVALID_PDA | typeof DROPSY_AIRDROP_ERROR__INVALID_PERCENTAGE | typeof DROPSY_AIRDROP_ERROR__INVALID_PROOF | typeof DROPSY_AIRDROP_ERROR__INVALID_PUB_KEY | typeof DROPSY_AIRDROP_ERROR__INVALID_TIMESTAMP | typeof DROPSY_AIRDROP_ERROR__INVALID_TOTAL | typeof DROPSY_AIRDROP_ERROR__INVALID_TREASURY_ACCOUNT | typeof DROPSY_AIRDROP_ERROR__INVALID_VAULT_AUTHORITY | typeof DROPSY_AIRDROP_ERROR__INVALID_VESTING_SCHEDULE | typeof DROPSY_AIRDROP_ERROR__INVALID_VESTING_TYPE | typeof DROPSY_AIRDROP_ERROR__MINT_HAS_FREEZE_AUTHORITY | typeof DROPSY_AIRDROP_ERROR__MINT_IS_FROZEN | typeof DROPSY_AIRDROP_ERROR__MINT_IS_NOT_INITIALIZED | typeof DROPSY_AIRDROP_ERROR__MINT_MISMATCH | typeof DROPSY_AIRDROP_ERROR__MISSING_BITMAP_PDA | typeof DROPSY_AIRDROP_ERROR__NFT_NOT_ALLOWED | typeof DROPSY_AIRDROP_ERROR__NON_ZERO_VALUE_REQUIRED | typeof DROPSY_AIRDROP_ERROR__OVERFLOW | typeof DROPSY_AIRDROP_ERROR__OWNER_MISMATCH | typeof DROPSY_AIRDROP_ERROR__SOURCE_ACCOUNT_FROZEN | typeof DROPSY_AIRDROP_ERROR__SOURCE_HAS_CLOSE_AUTHORITY | typeof DROPSY_AIRDROP_ERROR__SOURCE_HAS_DELEGATE | typeof DROPSY_AIRDROP_ERROR__TOO_MANY_BITMAPS | typeof DROPSY_AIRDROP_ERROR__UNAUTHORIZED | typeof DROPSY_AIRDROP_ERROR__UN_AUTHORIZED | typeof DROPSY_AIRDROP_ERROR__UPDATE_CUTOFF_TIME_PASSED | typeof DROPSY_AIRDROP_ERROR__VALUE_BELOW_THE_MINIMUM | typeof DROPSY_AIRDROP_ERROR__VALUE_EXCEEDS_MAXIMUM | typeof DROPSY_AIRDROP_ERROR__VALUE_OUT_OF_RANGE | typeof DROPSY_AIRDROP_ERROR__VAULT_FROZEN | typeof DROPSY_AIRDROP_ERROR__VAULT_HAS_CLOSE_AUTHORITY | typeof DROPSY_AIRDROP_ERROR__VAULT_HAS_DELEGATE | typeof DROPSY_AIRDROP_ERROR__VAULT_MINT_MISMATCH | typeof DROPSY_AIRDROP_ERROR__VAULT_NOT_INITIALIZED | typeof DROPSY_AIRDROP_ERROR__VAULT_NOT_RENT_EXEMPT | typeof DROPSY_AIRDROP_ERROR__VESTING_ACCOUNT_REQUIRED;
380
+ declare function getDropsyAirdropErrorMessage(code: DropsyAirdropError): string;
381
+ declare function isDropsyAirdropError<TProgramErrorCode extends DropsyAirdropError>(error: unknown, transactionMessage: {
511
382
  instructions: Record<number, {
512
383
  programAddress: Address;
513
384
  }>;
@@ -525,46 +396,41 @@ declare function isDropsyError<TProgramErrorCode extends DropsyError>(error: unk
525
396
  * @see https://github.com/codama-idl/codama
526
397
  */
527
398
 
528
- declare const DROPSY_PROGRAM_ADDRESS: Address<"6Bd4YUkwyvZTPMt1bu13zvw9t4TtoMTd6CFVMmaswB2M">;
529
- declare enum DropsyAccount {
530
- Affiliate = 0,
531
- AffiliateMaster = 1,
532
- Airdrop = 2,
533
- AirdropConfig = 3,
534
- AirdropMaster = 4,
535
- ClaimMap = 5,
536
- Master = 6
399
+ declare const DROPSY_AIRDROP_PROGRAM_ADDRESS: Address<"3b97gLF94DDpa7sJQ8orbE3Ab6JQWBsDQTdQ5azoZqcz">;
400
+ declare enum DropsyAirdropAccount {
401
+ Airdrop = 0,
402
+ AirdropConfig = 1,
403
+ AirdropMaster = 2,
404
+ BitmapAccount = 3
537
405
  }
538
- declare function identifyDropsyAccount(account: {
406
+ declare function identifyDropsyAirdropAccount(account: {
539
407
  data: ReadonlyUint8Array;
540
- } | ReadonlyUint8Array): DropsyAccount;
541
- declare enum DropsyInstruction {
408
+ } | ReadonlyUint8Array): DropsyAirdropAccount;
409
+ declare enum DropsyAirdropInstruction {
542
410
  ClaimAirdrop = 0,
543
411
  CreateAirdrop = 1,
544
- CreateClaimMap = 2,
412
+ CreateBitmap = 2,
545
413
  DepositTokens = 3,
546
- InitializeAirdropMaster = 4,
547
- InitializeMaster = 5,
548
- RedeemAirdropTokens = 6
414
+ InitializeAirdropConfig = 4,
415
+ InitializeAirdropMaster = 5
549
416
  }
550
- declare function identifyDropsyInstruction(instruction: {
417
+ declare function identifyDropsyAirdropInstruction(instruction: {
551
418
  data: ReadonlyUint8Array;
552
- } | ReadonlyUint8Array): DropsyInstruction;
553
- type ParsedDropsyInstruction<TProgram extends string = "6Bd4YUkwyvZTPMt1bu13zvw9t4TtoMTd6CFVMmaswB2M"> = ({
554
- instructionType: DropsyInstruction.ClaimAirdrop;
419
+ } | ReadonlyUint8Array): DropsyAirdropInstruction;
420
+ type ParsedDropsyAirdropInstruction<TProgram extends string = "3b97gLF94DDpa7sJQ8orbE3Ab6JQWBsDQTdQ5azoZqcz"> = ({
421
+ instructionType: DropsyAirdropInstruction.ClaimAirdrop;
555
422
  } & ParsedClaimAirdropInstruction<TProgram>) | ({
556
- instructionType: DropsyInstruction.CreateAirdrop;
423
+ instructionType: DropsyAirdropInstruction.CreateAirdrop;
557
424
  } & ParsedCreateAirdropInstruction<TProgram>) | ({
558
- instructionType: DropsyInstruction.CreateClaimMap;
559
- } & ParsedCreateClaimMapInstruction<TProgram>) | ({
560
- instructionType: DropsyInstruction.DepositTokens;
425
+ instructionType: DropsyAirdropInstruction.CreateBitmap;
426
+ } & ParsedCreateBitmapInstruction<TProgram>) | ({
427
+ instructionType: DropsyAirdropInstruction.DepositTokens;
561
428
  } & ParsedDepositTokensInstruction<TProgram>) | ({
562
- instructionType: DropsyInstruction.InitializeAirdropMaster;
563
- } & ParsedInitializeAirdropMasterInstruction<TProgram>) | ({
564
- instructionType: DropsyInstruction.InitializeMaster;
565
- } & ParsedInitializeMasterInstruction<TProgram>) | ({
566
- instructionType: DropsyInstruction.RedeemAirdropTokens;
567
- } & ParsedRedeemAirdropTokensInstruction<TProgram>);
429
+ instructionType: DropsyAirdropInstruction.InitializeAirdropConfig;
430
+ } & ParsedInitializeAirdropConfigInstruction<TProgram>) | ({
431
+ instructionType: DropsyAirdropInstruction.InitializeAirdropMaster;
432
+ } & ParsedInitializeAirdropMasterInstruction<TProgram>);
433
+ declare function parseDropsyAirdropInstruction<TProgram extends string>(instruction: Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array>): ParsedDropsyAirdropInstruction<TProgram>;
568
434
 
569
435
  /**
570
436
  * This code was AUTOGENERATED using the Codama library.
@@ -575,23 +441,23 @@ type ParsedDropsyInstruction<TProgram extends string = "6Bd4YUkwyvZTPMt1bu13zvw9
575
441
  */
576
442
 
577
443
  declare const CLAIM_AIRDROP_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
578
- declare function getClaimAirdropDiscriminatorBytes(): ReadonlyUint8Array;
579
- type ClaimAirdropInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMaster extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountAirdropMaster extends string | AccountMeta<string> = string, TAccountAffiliate extends string | AccountMeta<string> = string, TAccountSourceTokenAccount extends string | AccountMeta<string> = string, TAccountDestinationTokenAccount extends string | AccountMeta<string> = string, TAccountAirdrop extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountBitmap extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountClaimer extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
580
- TAccountMaster extends string ? ReadonlyAccount<TAccountMaster> : TAccountMaster,
581
- TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
582
- TAccountTreasury extends string ? WritableAccount<TAccountTreasury> : TAccountTreasury,
583
- TAccountAirdropMaster extends string ? WritableAccount<TAccountAirdropMaster> : TAccountAirdropMaster,
584
- TAccountAffiliate extends string ? WritableAccount<TAccountAffiliate> : TAccountAffiliate,
444
+ declare function getClaimAirdropDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
445
+ type ClaimAirdropInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountSourceTokenAccount extends string | AccountMeta<string> = string, TAccountDestinationTokenAccount extends string | AccountMeta<string> = string, TAccountClaimer extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountAirdropConfig extends string | AccountMeta<string> = string, TAccountProtocolTreasury extends string | AccountMeta<string> = string, TAccountAirdropMaster extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountMasterCreator extends string | AccountMeta<string> = string, TAccountAirdrop extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountBitmap extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
585
446
  TAccountSourceTokenAccount extends string ? WritableAccount<TAccountSourceTokenAccount> : TAccountSourceTokenAccount,
586
447
  TAccountDestinationTokenAccount extends string ? WritableAccount<TAccountDestinationTokenAccount> : TAccountDestinationTokenAccount,
587
- TAccountAirdrop extends string ? ReadonlyAccount<TAccountAirdrop> : TAccountAirdrop,
588
- TAccountAuthority extends string ? ReadonlyAccount<TAccountAuthority> : TAccountAuthority,
589
- TAccountBitmap extends string ? WritableAccount<TAccountBitmap> : TAccountBitmap,
590
- TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
591
448
  TAccountClaimer extends string ? WritableSignerAccount<TAccountClaimer> & AccountSignerMeta<TAccountClaimer> : TAccountClaimer,
449
+ TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
592
450
  TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
593
451
  TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram,
594
452
  TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
453
+ TAccountAirdropConfig extends string ? ReadonlyAccount<TAccountAirdropConfig> : TAccountAirdropConfig,
454
+ TAccountProtocolTreasury extends string ? WritableAccount<TAccountProtocolTreasury> : TAccountProtocolTreasury,
455
+ TAccountAirdropMaster extends string ? ReadonlyAccount<TAccountAirdropMaster> : TAccountAirdropMaster,
456
+ TAccountTreasury extends string ? WritableAccount<TAccountTreasury> : TAccountTreasury,
457
+ TAccountMasterCreator extends string ? ReadonlyAccount<TAccountMasterCreator> : TAccountMasterCreator,
458
+ TAccountAirdrop extends string ? WritableAccount<TAccountAirdrop> : TAccountAirdrop,
459
+ TAccountAuthority extends string ? ReadonlyAccount<TAccountAuthority> : TAccountAuthority,
460
+ TAccountBitmap extends string ? WritableAccount<TAccountBitmap> : TAccountBitmap,
595
461
  ...TRemainingAccounts
596
462
  ]>;
597
463
  type ClaimAirdropInstructionData = {
@@ -610,72 +476,72 @@ type ClaimAirdropInstructionDataArgs = {
610
476
  declare function getClaimAirdropInstructionDataEncoder(): Encoder<ClaimAirdropInstructionDataArgs>;
611
477
  declare function getClaimAirdropInstructionDataDecoder(): Decoder<ClaimAirdropInstructionData>;
612
478
  declare function getClaimAirdropInstructionDataCodec(): Codec<ClaimAirdropInstructionDataArgs, ClaimAirdropInstructionData>;
613
- type ClaimAirdropAsyncInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountAffiliate extends string = string, TAccountSourceTokenAccount extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountAirdrop extends string = string, TAccountAuthority extends string = string, TAccountBitmap extends string = string, TAccountMint extends string = string, TAccountClaimer extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
614
- master?: Address<TAccountMaster>;
615
- config?: Address<TAccountConfig>;
616
- treasury: Address<TAccountTreasury>;
617
- airdropMaster: Address<TAccountAirdropMaster>;
618
- affiliate?: Address<TAccountAffiliate>;
479
+ type ClaimAirdropAsyncInput<TAccountSourceTokenAccount extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountClaimer extends string = string, TAccountMint extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountAirdropConfig extends string = string, TAccountProtocolTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountTreasury extends string = string, TAccountMasterCreator extends string = string, TAccountAirdrop extends string = string, TAccountAuthority extends string = string, TAccountBitmap extends string = string> = {
619
480
  sourceTokenAccount: Address<TAccountSourceTokenAccount>;
620
481
  destinationTokenAccount?: Address<TAccountDestinationTokenAccount>;
621
- airdrop?: Address<TAccountAirdrop>;
622
- authority: Address<TAccountAuthority>;
623
- bitmap: Address<TAccountBitmap>;
624
- mint: Address<TAccountMint>;
625
482
  claimer: TransactionSigner<TAccountClaimer>;
483
+ mint: Address<TAccountMint>;
626
484
  tokenProgram?: Address<TAccountTokenProgram>;
627
485
  associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
628
486
  systemProgram?: Address<TAccountSystemProgram>;
487
+ airdropConfig?: Address<TAccountAirdropConfig>;
488
+ protocolTreasury: Address<TAccountProtocolTreasury>;
489
+ airdropMaster?: Address<TAccountAirdropMaster>;
490
+ treasury: Address<TAccountTreasury>;
491
+ masterCreator: Address<TAccountMasterCreator>;
492
+ airdrop: Address<TAccountAirdrop>;
493
+ authority: Address<TAccountAuthority>;
494
+ bitmap: Address<TAccountBitmap>;
629
495
  index: ClaimAirdropInstructionDataArgs["index"];
630
496
  proof: ClaimAirdropInstructionDataArgs["proof"];
631
497
  amount: ClaimAirdropInstructionDataArgs["amount"];
632
498
  claimMapIndex: ClaimAirdropInstructionDataArgs["claimMapIndex"];
633
499
  };
634
- declare function getClaimAirdropInstructionAsync<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAirdropMaster extends string, TAccountAffiliate extends string, TAccountSourceTokenAccount extends string, TAccountDestinationTokenAccount extends string, TAccountAirdrop extends string, TAccountAuthority extends string, TAccountBitmap extends string, TAccountMint extends string, TAccountClaimer extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: ClaimAirdropAsyncInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountAuthority, TAccountBitmap, TAccountMint, TAccountClaimer, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
500
+ declare function getClaimAirdropInstructionAsync<TAccountSourceTokenAccount extends string, TAccountDestinationTokenAccount extends string, TAccountClaimer extends string, TAccountMint extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TAccountAirdropConfig extends string, TAccountProtocolTreasury extends string, TAccountAirdropMaster extends string, TAccountTreasury extends string, TAccountMasterCreator extends string, TAccountAirdrop extends string, TAccountAuthority extends string, TAccountBitmap extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: ClaimAirdropAsyncInput<TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountClaimer, TAccountMint, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram, TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountAirdrop, TAccountAuthority, TAccountBitmap>, config?: {
635
501
  programAddress?: TProgramAddress;
636
- }): Promise<ClaimAirdropInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountAuthority, TAccountBitmap, TAccountMint, TAccountClaimer, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>>;
637
- type ClaimAirdropInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountAffiliate extends string = string, TAccountSourceTokenAccount extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountAirdrop extends string = string, TAccountAuthority extends string = string, TAccountBitmap extends string = string, TAccountMint extends string = string, TAccountClaimer extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
638
- master: Address<TAccountMaster>;
639
- config: Address<TAccountConfig>;
640
- treasury: Address<TAccountTreasury>;
641
- airdropMaster: Address<TAccountAirdropMaster>;
642
- affiliate?: Address<TAccountAffiliate>;
502
+ }): Promise<ClaimAirdropInstruction<TProgramAddress, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountClaimer, TAccountMint, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram, TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountAirdrop, TAccountAuthority, TAccountBitmap>>;
503
+ type ClaimAirdropInput<TAccountSourceTokenAccount extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountClaimer extends string = string, TAccountMint extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountAirdropConfig extends string = string, TAccountProtocolTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountTreasury extends string = string, TAccountMasterCreator extends string = string, TAccountAirdrop extends string = string, TAccountAuthority extends string = string, TAccountBitmap extends string = string> = {
643
504
  sourceTokenAccount: Address<TAccountSourceTokenAccount>;
644
505
  destinationTokenAccount: Address<TAccountDestinationTokenAccount>;
645
- airdrop: Address<TAccountAirdrop>;
646
- authority: Address<TAccountAuthority>;
647
- bitmap: Address<TAccountBitmap>;
648
- mint: Address<TAccountMint>;
649
506
  claimer: TransactionSigner<TAccountClaimer>;
507
+ mint: Address<TAccountMint>;
650
508
  tokenProgram?: Address<TAccountTokenProgram>;
651
509
  associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
652
510
  systemProgram?: Address<TAccountSystemProgram>;
511
+ airdropConfig: Address<TAccountAirdropConfig>;
512
+ protocolTreasury: Address<TAccountProtocolTreasury>;
513
+ airdropMaster: Address<TAccountAirdropMaster>;
514
+ treasury: Address<TAccountTreasury>;
515
+ masterCreator: Address<TAccountMasterCreator>;
516
+ airdrop: Address<TAccountAirdrop>;
517
+ authority: Address<TAccountAuthority>;
518
+ bitmap: Address<TAccountBitmap>;
653
519
  index: ClaimAirdropInstructionDataArgs["index"];
654
520
  proof: ClaimAirdropInstructionDataArgs["proof"];
655
521
  amount: ClaimAirdropInstructionDataArgs["amount"];
656
522
  claimMapIndex: ClaimAirdropInstructionDataArgs["claimMapIndex"];
657
523
  };
658
- declare function getClaimAirdropInstruction<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAirdropMaster extends string, TAccountAffiliate extends string, TAccountSourceTokenAccount extends string, TAccountDestinationTokenAccount extends string, TAccountAirdrop extends string, TAccountAuthority extends string, TAccountBitmap extends string, TAccountMint extends string, TAccountClaimer extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: ClaimAirdropInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountAuthority, TAccountBitmap, TAccountMint, TAccountClaimer, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
524
+ declare function getClaimAirdropInstruction<TAccountSourceTokenAccount extends string, TAccountDestinationTokenAccount extends string, TAccountClaimer extends string, TAccountMint extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TAccountAirdropConfig extends string, TAccountProtocolTreasury extends string, TAccountAirdropMaster extends string, TAccountTreasury extends string, TAccountMasterCreator extends string, TAccountAirdrop extends string, TAccountAuthority extends string, TAccountBitmap extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: ClaimAirdropInput<TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountClaimer, TAccountMint, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram, TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountAirdrop, TAccountAuthority, TAccountBitmap>, config?: {
659
525
  programAddress?: TProgramAddress;
660
- }): ClaimAirdropInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountAuthority, TAccountBitmap, TAccountMint, TAccountClaimer, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>;
661
- type ParsedClaimAirdropInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
526
+ }): ClaimAirdropInstruction<TProgramAddress, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountClaimer, TAccountMint, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram, TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountAirdrop, TAccountAuthority, TAccountBitmap>;
527
+ type ParsedClaimAirdropInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
662
528
  programAddress: Address<TProgram>;
663
529
  accounts: {
664
- master: TAccountMetas[0];
665
- config: TAccountMetas[1];
666
- treasury: TAccountMetas[2];
667
- airdropMaster: TAccountMetas[3];
668
- affiliate?: TAccountMetas[4] | undefined;
669
- sourceTokenAccount: TAccountMetas[5];
670
- destinationTokenAccount: TAccountMetas[6];
671
- airdrop: TAccountMetas[7];
672
- authority: TAccountMetas[8];
673
- bitmap: TAccountMetas[9];
674
- mint: TAccountMetas[10];
675
- claimer: TAccountMetas[11];
676
- tokenProgram: TAccountMetas[12];
677
- associatedTokenProgram: TAccountMetas[13];
678
- systemProgram: TAccountMetas[14];
530
+ sourceTokenAccount: TAccountMetas[0];
531
+ destinationTokenAccount: TAccountMetas[1];
532
+ claimer: TAccountMetas[2];
533
+ mint: TAccountMetas[3];
534
+ tokenProgram: TAccountMetas[4];
535
+ associatedTokenProgram: TAccountMetas[5];
536
+ systemProgram: TAccountMetas[6];
537
+ airdropConfig: TAccountMetas[7];
538
+ protocolTreasury: TAccountMetas[8];
539
+ airdropMaster: TAccountMetas[9];
540
+ treasury: TAccountMetas[10];
541
+ masterCreator: TAccountMetas[11];
542
+ airdrop: TAccountMetas[12];
543
+ authority: TAccountMetas[13];
544
+ bitmap: TAccountMetas[14];
679
545
  };
680
546
  data: ClaimAirdropInstructionData;
681
547
  };
@@ -690,13 +556,13 @@ declare function parseClaimAirdropInstruction<TProgram extends string, TAccountM
690
556
  */
691
557
 
692
558
  declare const CREATE_AIRDROP_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
693
- declare function getCreateAirdropDiscriminatorBytes(): ReadonlyUint8Array;
694
- type CreateAirdropInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMaster extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountAirdropMaster extends string | AccountMeta<string> = string, TAccountAffiliate extends string | AccountMeta<string> = string, TAccountAirdrop extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
695
- TAccountMaster extends string ? ReadonlyAccount<TAccountMaster> : TAccountMaster,
696
- TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
559
+ declare function getCreateAirdropDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
560
+ type CreateAirdropInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountAirdropConfig extends string | AccountMeta<string> = string, TAccountProtocolTreasury extends string | AccountMeta<string> = string, TAccountAirdropMaster extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountMasterCreator extends string | AccountMeta<string> = string, TAccountAirdrop extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
561
+ TAccountAirdropConfig extends string ? ReadonlyAccount<TAccountAirdropConfig> : TAccountAirdropConfig,
562
+ TAccountProtocolTreasury extends string ? WritableAccount<TAccountProtocolTreasury> : TAccountProtocolTreasury,
563
+ TAccountAirdropMaster extends string ? ReadonlyAccount<TAccountAirdropMaster> : TAccountAirdropMaster,
697
564
  TAccountTreasury extends string ? WritableAccount<TAccountTreasury> : TAccountTreasury,
698
- TAccountAirdropMaster extends string ? WritableAccount<TAccountAirdropMaster> : TAccountAirdropMaster,
699
- TAccountAffiliate extends string ? WritableAccount<TAccountAffiliate> : TAccountAffiliate,
565
+ TAccountMasterCreator extends string ? ReadonlyAccount<TAccountMasterCreator> : TAccountMasterCreator,
700
566
  TAccountAirdrop extends string ? WritableAccount<TAccountAirdrop> : TAccountAirdrop,
701
567
  TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
702
568
  TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
@@ -705,76 +571,72 @@ type CreateAirdropInstruction<TProgram extends string = typeof DROPSY_PROGRAM_AD
705
571
  ]>;
706
572
  type CreateAirdropInstructionData = {
707
573
  discriminator: ReadonlyUint8Array;
574
+ id: bigint;
708
575
  merkleRoot: Option<ReadonlyUint8Array>;
709
576
  startsAt: Option<bigint>;
710
577
  endsAt: Option<bigint>;
711
578
  version: Option<number>;
712
- mutable: Option<number>;
713
579
  delegateAuthority: Option<Address>;
714
- delegatePermissions: Option<number>;
715
580
  };
716
581
  type CreateAirdropInstructionDataArgs = {
582
+ id: number | bigint;
717
583
  merkleRoot: OptionOrNullable<ReadonlyUint8Array>;
718
584
  startsAt: OptionOrNullable<number | bigint>;
719
585
  endsAt: OptionOrNullable<number | bigint>;
720
586
  version: OptionOrNullable<number>;
721
- mutable: OptionOrNullable<number>;
722
587
  delegateAuthority: OptionOrNullable<Address>;
723
- delegatePermissions: OptionOrNullable<number>;
724
588
  };
725
589
  declare function getCreateAirdropInstructionDataEncoder(): Encoder<CreateAirdropInstructionDataArgs>;
726
590
  declare function getCreateAirdropInstructionDataDecoder(): Decoder<CreateAirdropInstructionData>;
727
591
  declare function getCreateAirdropInstructionDataCodec(): Codec<CreateAirdropInstructionDataArgs, CreateAirdropInstructionData>;
728
- type CreateAirdropAsyncInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountAffiliate extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
729
- master?: Address<TAccountMaster>;
730
- config?: Address<TAccountConfig>;
592
+ type CreateAirdropAsyncInput<TAccountAirdropConfig extends string = string, TAccountProtocolTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountTreasury extends string = string, TAccountMasterCreator extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
593
+ airdropConfig?: Address<TAccountAirdropConfig>;
594
+ protocolTreasury: Address<TAccountProtocolTreasury>;
595
+ airdropMaster?: Address<TAccountAirdropMaster>;
731
596
  treasury: Address<TAccountTreasury>;
732
- airdropMaster: Address<TAccountAirdropMaster>;
733
- affiliate?: Address<TAccountAffiliate>;
734
- airdrop?: Address<TAccountAirdrop>;
597
+ masterCreator: Address<TAccountMasterCreator>;
598
+ airdrop: Address<TAccountAirdrop>;
735
599
  mint: Address<TAccountMint>;
736
600
  authority: TransactionSigner<TAccountAuthority>;
737
601
  systemProgram?: Address<TAccountSystemProgram>;
602
+ id: CreateAirdropInstructionDataArgs["id"];
738
603
  merkleRoot: CreateAirdropInstructionDataArgs["merkleRoot"];
739
604
  startsAt: CreateAirdropInstructionDataArgs["startsAt"];
740
605
  endsAt: CreateAirdropInstructionDataArgs["endsAt"];
741
606
  version: CreateAirdropInstructionDataArgs["version"];
742
- mutable: CreateAirdropInstructionDataArgs["mutable"];
743
607
  delegateAuthority: CreateAirdropInstructionDataArgs["delegateAuthority"];
744
- delegatePermissions: CreateAirdropInstructionDataArgs["delegatePermissions"];
745
608
  };
746
- declare function getCreateAirdropInstructionAsync<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAirdropMaster extends string, TAccountAffiliate extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: CreateAirdropAsyncInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>, config?: {
609
+ declare function getCreateAirdropInstructionAsync<TAccountAirdropConfig extends string, TAccountProtocolTreasury extends string, TAccountAirdropMaster extends string, TAccountTreasury extends string, TAccountMasterCreator extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: CreateAirdropAsyncInput<TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>, config?: {
747
610
  programAddress?: TProgramAddress;
748
- }): Promise<CreateAirdropInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>>;
749
- type CreateAirdropInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountAffiliate extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
750
- master: Address<TAccountMaster>;
751
- config: Address<TAccountConfig>;
752
- treasury: Address<TAccountTreasury>;
611
+ }): Promise<CreateAirdropInstruction<TProgramAddress, TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>>;
612
+ type CreateAirdropInput<TAccountAirdropConfig extends string = string, TAccountProtocolTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountTreasury extends string = string, TAccountMasterCreator extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
613
+ airdropConfig: Address<TAccountAirdropConfig>;
614
+ protocolTreasury: Address<TAccountProtocolTreasury>;
753
615
  airdropMaster: Address<TAccountAirdropMaster>;
754
- affiliate?: Address<TAccountAffiliate>;
616
+ treasury: Address<TAccountTreasury>;
617
+ masterCreator: Address<TAccountMasterCreator>;
755
618
  airdrop: Address<TAccountAirdrop>;
756
619
  mint: Address<TAccountMint>;
757
620
  authority: TransactionSigner<TAccountAuthority>;
758
621
  systemProgram?: Address<TAccountSystemProgram>;
622
+ id: CreateAirdropInstructionDataArgs["id"];
759
623
  merkleRoot: CreateAirdropInstructionDataArgs["merkleRoot"];
760
624
  startsAt: CreateAirdropInstructionDataArgs["startsAt"];
761
625
  endsAt: CreateAirdropInstructionDataArgs["endsAt"];
762
626
  version: CreateAirdropInstructionDataArgs["version"];
763
- mutable: CreateAirdropInstructionDataArgs["mutable"];
764
627
  delegateAuthority: CreateAirdropInstructionDataArgs["delegateAuthority"];
765
- delegatePermissions: CreateAirdropInstructionDataArgs["delegatePermissions"];
766
628
  };
767
- declare function getCreateAirdropInstruction<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAirdropMaster extends string, TAccountAffiliate extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: CreateAirdropInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>, config?: {
629
+ declare function getCreateAirdropInstruction<TAccountAirdropConfig extends string, TAccountProtocolTreasury extends string, TAccountAirdropMaster extends string, TAccountTreasury extends string, TAccountMasterCreator extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: CreateAirdropInput<TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>, config?: {
768
630
  programAddress?: TProgramAddress;
769
- }): CreateAirdropInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>;
770
- type ParsedCreateAirdropInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
631
+ }): CreateAirdropInstruction<TProgramAddress, TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>;
632
+ type ParsedCreateAirdropInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
771
633
  programAddress: Address<TProgram>;
772
634
  accounts: {
773
- master: TAccountMetas[0];
774
- config: TAccountMetas[1];
775
- treasury: TAccountMetas[2];
776
- airdropMaster: TAccountMetas[3];
777
- affiliate?: TAccountMetas[4] | undefined;
635
+ airdropConfig: TAccountMetas[0];
636
+ protocolTreasury: TAccountMetas[1];
637
+ airdropMaster: TAccountMetas[2];
638
+ treasury: TAccountMetas[3];
639
+ masterCreator: TAccountMetas[4];
778
640
  airdrop: TAccountMetas[5];
779
641
  mint: TAccountMetas[6];
780
642
  authority: TAccountMetas[7];
@@ -783,16 +645,6 @@ type ParsedCreateAirdropInstruction<TProgram extends string = typeof DROPSY_PROG
783
645
  data: CreateAirdropInstructionData;
784
646
  };
785
647
  declare function parseCreateAirdropInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateAirdropInstruction<TProgram, TAccountMetas>;
786
- type CreateAirdropV0Input = {
787
- airdropMaster?: Address;
788
- airdrop?: Address;
789
- mint: Address;
790
- authority: TransactionSigner<string>;
791
- merkleRoot?: ReadonlyUint8Array | null;
792
- startsAt?: Date | null;
793
- endsAt?: Date | null;
794
- };
795
- declare function getCreateAirdropV0Instruction(input: CreateAirdropV0Input): Promise<CreateAirdropInstruction<Address<"6Bd4YUkwyvZTPMt1bu13zvw9t4TtoMTd6CFVMmaswB2M">, string, string, "8mtUD2XrkNnTxnjCehZ4DEtTXeGR1yrepSEGhCaSj2kT", string, string, string, string, string, string, []>>;
796
648
 
797
649
  /**
798
650
  * This code was AUTOGENERATED using the Codama library.
@@ -802,94 +654,84 @@ declare function getCreateAirdropV0Instruction(input: CreateAirdropV0Input): Pro
802
654
  * @see https://github.com/codama-idl/codama
803
655
  */
804
656
 
805
- declare const CREATE_CLAIM_MAP_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
806
- declare function getCreateClaimMapDiscriminatorBytes(): ReadonlyUint8Array;
807
- type CreateClaimMapInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMaster extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountAirdropMaster extends string | AccountMeta<string> = string, TAccountAffiliate extends string | AccountMeta<string> = string, TAccountAirdrop extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountBitmap extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
808
- TAccountMaster extends string ? ReadonlyAccount<TAccountMaster> : TAccountMaster,
809
- TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
657
+ declare const CREATE_BITMAP_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
658
+ declare function getCreateBitmapDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
659
+ type CreateBitmapInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountAirdropConfig extends string | AccountMeta<string> = string, TAccountProtocolTreasury extends string | AccountMeta<string> = string, TAccountAirdropMaster extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountMasterCreator extends string | AccountMeta<string> = string, TAccountBitmap extends string | AccountMeta<string> = string, TAccountAirdrop extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
660
+ TAccountAirdropConfig extends string ? ReadonlyAccount<TAccountAirdropConfig> : TAccountAirdropConfig,
661
+ TAccountProtocolTreasury extends string ? WritableAccount<TAccountProtocolTreasury> : TAccountProtocolTreasury,
662
+ TAccountAirdropMaster extends string ? ReadonlyAccount<TAccountAirdropMaster> : TAccountAirdropMaster,
810
663
  TAccountTreasury extends string ? WritableAccount<TAccountTreasury> : TAccountTreasury,
811
- TAccountAirdropMaster extends string ? WritableAccount<TAccountAirdropMaster> : TAccountAirdropMaster,
812
- TAccountAffiliate extends string ? WritableAccount<TAccountAffiliate> : TAccountAffiliate,
664
+ TAccountMasterCreator extends string ? ReadonlyAccount<TAccountMasterCreator> : TAccountMasterCreator,
665
+ TAccountBitmap extends string ? WritableAccount<TAccountBitmap> : TAccountBitmap,
813
666
  TAccountAirdrop extends string ? WritableAccount<TAccountAirdrop> : TAccountAirdrop,
814
667
  TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
815
- TAccountBitmap extends string ? WritableAccount<TAccountBitmap> : TAccountBitmap,
816
668
  TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
817
669
  TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
818
670
  ...TRemainingAccounts
819
671
  ]>;
820
- type CreateClaimMapInstructionData = {
672
+ type CreateBitmapInstructionData = {
821
673
  discriminator: ReadonlyUint8Array;
822
674
  id: number;
823
675
  total: number;
824
676
  };
825
- type CreateClaimMapInstructionDataArgs = {
677
+ type CreateBitmapInstructionDataArgs = {
826
678
  id: number;
827
679
  total: number;
828
680
  };
829
- declare function getCreateClaimMapInstructionDataEncoder(): FixedSizeEncoder<CreateClaimMapInstructionDataArgs>;
830
- declare function getCreateClaimMapInstructionDataDecoder(): FixedSizeDecoder<CreateClaimMapInstructionData>;
831
- declare function getCreateClaimMapInstructionDataCodec(): FixedSizeCodec<CreateClaimMapInstructionDataArgs, CreateClaimMapInstructionData>;
832
- type CreateClaimMapAsyncInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountAffiliate extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountBitmap extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
833
- master?: Address<TAccountMaster>;
834
- config?: Address<TAccountConfig>;
681
+ declare function getCreateBitmapInstructionDataEncoder(): FixedSizeEncoder<CreateBitmapInstructionDataArgs>;
682
+ declare function getCreateBitmapInstructionDataDecoder(): FixedSizeDecoder<CreateBitmapInstructionData>;
683
+ declare function getCreateBitmapInstructionDataCodec(): FixedSizeCodec<CreateBitmapInstructionDataArgs, CreateBitmapInstructionData>;
684
+ type CreateBitmapAsyncInput<TAccountAirdropConfig extends string = string, TAccountProtocolTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountTreasury extends string = string, TAccountMasterCreator extends string = string, TAccountBitmap extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
685
+ airdropConfig?: Address<TAccountAirdropConfig>;
686
+ protocolTreasury: Address<TAccountProtocolTreasury>;
687
+ airdropMaster?: Address<TAccountAirdropMaster>;
835
688
  treasury: Address<TAccountTreasury>;
836
- airdropMaster: Address<TAccountAirdropMaster>;
837
- affiliate?: Address<TAccountAffiliate>;
689
+ masterCreator: Address<TAccountMasterCreator>;
690
+ bitmap?: Address<TAccountBitmap>;
838
691
  airdrop?: Address<TAccountAirdrop>;
839
692
  mint: Address<TAccountMint>;
840
- bitmap?: Address<TAccountBitmap>;
841
693
  authority: TransactionSigner<TAccountAuthority>;
842
694
  systemProgram?: Address<TAccountSystemProgram>;
843
- id: CreateClaimMapInstructionDataArgs["id"];
844
- total: CreateClaimMapInstructionDataArgs["total"];
695
+ id: CreateBitmapInstructionDataArgs["id"];
696
+ total: CreateBitmapInstructionDataArgs["total"];
845
697
  };
846
- declare function getCreateClaimMapInstructionAsync<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAirdropMaster extends string, TAccountAffiliate extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountBitmap extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: CreateClaimMapAsyncInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountAirdrop, TAccountMint, TAccountBitmap, TAccountAuthority, TAccountSystemProgram>, config?: {
698
+ declare function getCreateBitmapInstructionAsync<TAccountAirdropConfig extends string, TAccountProtocolTreasury extends string, TAccountAirdropMaster extends string, TAccountTreasury extends string, TAccountMasterCreator extends string, TAccountBitmap extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: CreateBitmapAsyncInput<TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountBitmap, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>, config?: {
847
699
  programAddress?: TProgramAddress;
848
- }): Promise<CreateClaimMapInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountAirdrop, TAccountMint, TAccountBitmap, TAccountAuthority, TAccountSystemProgram>>;
849
- type CreateClaimMapInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountAffiliate extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountBitmap extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
850
- master: Address<TAccountMaster>;
851
- config: Address<TAccountConfig>;
852
- treasury: Address<TAccountTreasury>;
700
+ }): Promise<CreateBitmapInstruction<TProgramAddress, TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountBitmap, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>>;
701
+ type CreateBitmapInput<TAccountAirdropConfig extends string = string, TAccountProtocolTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountTreasury extends string = string, TAccountMasterCreator extends string = string, TAccountBitmap extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
702
+ airdropConfig: Address<TAccountAirdropConfig>;
703
+ protocolTreasury: Address<TAccountProtocolTreasury>;
853
704
  airdropMaster: Address<TAccountAirdropMaster>;
854
- affiliate?: Address<TAccountAffiliate>;
705
+ treasury: Address<TAccountTreasury>;
706
+ masterCreator: Address<TAccountMasterCreator>;
707
+ bitmap: Address<TAccountBitmap>;
855
708
  airdrop: Address<TAccountAirdrop>;
856
709
  mint: Address<TAccountMint>;
857
- bitmap: Address<TAccountBitmap>;
858
710
  authority: TransactionSigner<TAccountAuthority>;
859
711
  systemProgram?: Address<TAccountSystemProgram>;
860
- id: CreateClaimMapInstructionDataArgs["id"];
861
- total: CreateClaimMapInstructionDataArgs["total"];
712
+ id: CreateBitmapInstructionDataArgs["id"];
713
+ total: CreateBitmapInstructionDataArgs["total"];
862
714
  };
863
- declare function getCreateClaimMapInstruction<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAirdropMaster extends string, TAccountAffiliate extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountBitmap extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: CreateClaimMapInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountAirdrop, TAccountMint, TAccountBitmap, TAccountAuthority, TAccountSystemProgram>, config?: {
715
+ declare function getCreateBitmapInstruction<TAccountAirdropConfig extends string, TAccountProtocolTreasury extends string, TAccountAirdropMaster extends string, TAccountTreasury extends string, TAccountMasterCreator extends string, TAccountBitmap extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: CreateBitmapInput<TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountBitmap, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>, config?: {
864
716
  programAddress?: TProgramAddress;
865
- }): CreateClaimMapInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountAirdrop, TAccountMint, TAccountBitmap, TAccountAuthority, TAccountSystemProgram>;
866
- type ParsedCreateClaimMapInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
717
+ }): CreateBitmapInstruction<TProgramAddress, TAccountAirdropConfig, TAccountProtocolTreasury, TAccountAirdropMaster, TAccountTreasury, TAccountMasterCreator, TAccountBitmap, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountSystemProgram>;
718
+ type ParsedCreateBitmapInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
867
719
  programAddress: Address<TProgram>;
868
720
  accounts: {
869
- master: TAccountMetas[0];
870
- config: TAccountMetas[1];
871
- treasury: TAccountMetas[2];
872
- airdropMaster: TAccountMetas[3];
873
- affiliate?: TAccountMetas[4] | undefined;
874
- airdrop: TAccountMetas[5];
875
- mint: TAccountMetas[6];
876
- bitmap: TAccountMetas[7];
721
+ airdropConfig: TAccountMetas[0];
722
+ protocolTreasury: TAccountMetas[1];
723
+ airdropMaster: TAccountMetas[2];
724
+ treasury: TAccountMetas[3];
725
+ masterCreator: TAccountMetas[4];
726
+ bitmap: TAccountMetas[5];
727
+ airdrop: TAccountMetas[6];
728
+ mint: TAccountMetas[7];
877
729
  authority: TAccountMetas[8];
878
730
  systemProgram: TAccountMetas[9];
879
731
  };
880
- data: CreateClaimMapInstructionData;
881
- };
882
- declare function parseCreateClaimMapInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateClaimMapInstruction<TProgram, TAccountMetas>;
883
- type CreateClaimMapV0Input = {
884
- airdropMaster?: Address;
885
- airdrop?: Address;
886
- claimMap?: Address;
887
- mint: Address;
888
- authority: TransactionSigner<string>;
889
- id?: number;
890
- total?: number;
732
+ data: CreateBitmapInstructionData;
891
733
  };
892
- declare function getCreateClaimMapV0Instruction(input: CreateClaimMapV0Input): Promise<CreateClaimMapInstruction<Address<"6Bd4YUkwyvZTPMt1bu13zvw9t4TtoMTd6CFVMmaswB2M">, string, string, "8mtUD2XrkNnTxnjCehZ4DEtTXeGR1yrepSEGhCaSj2kT", string, string, string, string, string, string, string, []>>;
734
+ declare function parseCreateBitmapInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateBitmapInstruction<TProgram, TAccountMetas>;
893
735
 
894
736
  /**
895
737
  * This code was AUTOGENERATED using the Codama library.
@@ -900,15 +742,10 @@ declare function getCreateClaimMapV0Instruction(input: CreateClaimMapV0Input): P
900
742
  */
901
743
 
902
744
  declare const DEPOSIT_TOKENS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
903
- declare function getDepositTokensDiscriminatorBytes(): ReadonlyUint8Array;
904
- type DepositTokensInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMaster extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountAirdropMaster extends string | AccountMeta<string> = string, TAccountAffiliate extends string | AccountMeta<string> = string, TAccountSourceTokenAccount extends string | AccountMeta<string> = string, TAccountDestinationTokenAccount extends string | AccountMeta<string> = string, TAccountAirdrop extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
905
- TAccountMaster extends string ? ReadonlyAccount<TAccountMaster> : TAccountMaster,
906
- TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
907
- TAccountTreasury extends string ? WritableAccount<TAccountTreasury> : TAccountTreasury,
908
- TAccountAirdropMaster extends string ? WritableAccount<TAccountAirdropMaster> : TAccountAirdropMaster,
909
- TAccountAffiliate extends string ? WritableAccount<TAccountAffiliate> : TAccountAffiliate,
745
+ declare function getDepositTokensDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
746
+ type DepositTokensInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountSourceTokenAccount extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountAirdrop extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
910
747
  TAccountSourceTokenAccount extends string ? WritableAccount<TAccountSourceTokenAccount> : TAccountSourceTokenAccount,
911
- TAccountDestinationTokenAccount extends string ? WritableAccount<TAccountDestinationTokenAccount> : TAccountDestinationTokenAccount,
748
+ TAccountVault extends string ? WritableAccount<TAccountVault> : TAccountVault,
912
749
  TAccountAirdrop extends string ? WritableAccount<TAccountAirdrop> : TAccountAirdrop,
913
750
  TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
914
751
  TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
@@ -927,14 +764,9 @@ type DepositTokensInstructionDataArgs = {
927
764
  declare function getDepositTokensInstructionDataEncoder(): FixedSizeEncoder<DepositTokensInstructionDataArgs>;
928
765
  declare function getDepositTokensInstructionDataDecoder(): FixedSizeDecoder<DepositTokensInstructionData>;
929
766
  declare function getDepositTokensInstructionDataCodec(): FixedSizeCodec<DepositTokensInstructionDataArgs, DepositTokensInstructionData>;
930
- type DepositTokensAsyncInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountAffiliate extends string = string, TAccountSourceTokenAccount extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
931
- master?: Address<TAccountMaster>;
932
- config?: Address<TAccountConfig>;
933
- treasury?: Address<TAccountTreasury>;
934
- airdropMaster?: Address<TAccountAirdropMaster>;
935
- affiliate?: Address<TAccountAffiliate>;
767
+ type DepositTokensAsyncInput<TAccountSourceTokenAccount extends string = string, TAccountVault extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
936
768
  sourceTokenAccount: Address<TAccountSourceTokenAccount>;
937
- destinationTokenAccount?: Address<TAccountDestinationTokenAccount>;
769
+ vault?: Address<TAccountVault>;
938
770
  airdrop?: Address<TAccountAirdrop>;
939
771
  mint: Address<TAccountMint>;
940
772
  authority: TransactionSigner<TAccountAuthority>;
@@ -943,17 +775,12 @@ type DepositTokensAsyncInput<TAccountMaster extends string = string, TAccountCon
943
775
  systemProgram?: Address<TAccountSystemProgram>;
944
776
  amount: DepositTokensInstructionDataArgs["amount"];
945
777
  };
946
- declare function getDepositTokensInstructionAsync<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAirdropMaster extends string, TAccountAffiliate extends string, TAccountSourceTokenAccount extends string, TAccountDestinationTokenAccount extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: DepositTokensAsyncInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
778
+ declare function getDepositTokensInstructionAsync<TAccountSourceTokenAccount extends string, TAccountVault extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: DepositTokensAsyncInput<TAccountSourceTokenAccount, TAccountVault, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
947
779
  programAddress?: TProgramAddress;
948
- }): Promise<DepositTokensInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>>;
949
- type DepositTokensInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountAffiliate extends string = string, TAccountSourceTokenAccount extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
950
- master: Address<TAccountMaster>;
951
- config: Address<TAccountConfig>;
952
- treasury: Address<TAccountTreasury>;
953
- airdropMaster: Address<TAccountAirdropMaster>;
954
- affiliate?: Address<TAccountAffiliate>;
780
+ }): Promise<DepositTokensInstruction<TProgramAddress, TAccountSourceTokenAccount, TAccountVault, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>>;
781
+ type DepositTokensInput<TAccountSourceTokenAccount extends string = string, TAccountVault extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
955
782
  sourceTokenAccount: Address<TAccountSourceTokenAccount>;
956
- destinationTokenAccount: Address<TAccountDestinationTokenAccount>;
783
+ vault: Address<TAccountVault>;
957
784
  airdrop: Address<TAccountAirdrop>;
958
785
  mint: Address<TAccountMint>;
959
786
  authority: TransactionSigner<TAccountAuthority>;
@@ -962,25 +789,20 @@ type DepositTokensInput<TAccountMaster extends string = string, TAccountConfig e
962
789
  systemProgram?: Address<TAccountSystemProgram>;
963
790
  amount: DepositTokensInstructionDataArgs["amount"];
964
791
  };
965
- declare function getDepositTokensInstruction<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAirdropMaster extends string, TAccountAffiliate extends string, TAccountSourceTokenAccount extends string, TAccountDestinationTokenAccount extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: DepositTokensInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
792
+ declare function getDepositTokensInstruction<TAccountSourceTokenAccount extends string, TAccountVault extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: DepositTokensInput<TAccountSourceTokenAccount, TAccountVault, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
966
793
  programAddress?: TProgramAddress;
967
- }): DepositTokensInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>;
968
- type ParsedDepositTokensInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
794
+ }): DepositTokensInstruction<TProgramAddress, TAccountSourceTokenAccount, TAccountVault, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>;
795
+ type ParsedDepositTokensInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
969
796
  programAddress: Address<TProgram>;
970
797
  accounts: {
971
- master: TAccountMetas[0];
972
- config: TAccountMetas[1];
973
- treasury: TAccountMetas[2];
974
- airdropMaster: TAccountMetas[3];
975
- affiliate?: TAccountMetas[4] | undefined;
976
- sourceTokenAccount: TAccountMetas[5];
977
- destinationTokenAccount: TAccountMetas[6];
978
- airdrop: TAccountMetas[7];
979
- mint: TAccountMetas[8];
980
- authority: TAccountMetas[9];
981
- tokenProgram: TAccountMetas[10];
982
- associatedTokenProgram: TAccountMetas[11];
983
- systemProgram: TAccountMetas[12];
798
+ sourceTokenAccount: TAccountMetas[0];
799
+ vault: TAccountMetas[1];
800
+ airdrop: TAccountMetas[2];
801
+ mint: TAccountMetas[3];
802
+ authority: TAccountMetas[4];
803
+ tokenProgram: TAccountMetas[5];
804
+ associatedTokenProgram: TAccountMetas[6];
805
+ systemProgram: TAccountMetas[7];
984
806
  };
985
807
  data: DepositTokensInstructionData;
986
808
  };
@@ -994,19 +816,92 @@ declare function parseDepositTokensInstruction<TProgram extends string, TAccount
994
816
  * @see https://github.com/codama-idl/codama
995
817
  */
996
818
 
997
- type AdvancedFeeConfig = {
998
- claimFee: bigint;
999
- depositFee: bigint;
1000
- delegateFee: bigint;
1001
- };
1002
- type AdvancedFeeConfigArgs = {
1003
- claimFee: number | bigint;
1004
- depositFee: number | bigint;
1005
- delegateFee: number | bigint;
819
+ declare const INITIALIZE_AIRDROP_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
820
+ declare function getInitializeAirdropConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
821
+ type InitializeAirdropConfigInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountProtocolTreasury extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = "79xcTj8QDPhqg7Bwvoz9CrckmGyo2JJXU9duVqJbCLxc", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
822
+ TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
823
+ TAccountProtocolTreasury extends string ? ReadonlyAccount<TAccountProtocolTreasury> : TAccountProtocolTreasury,
824
+ TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
825
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
826
+ ...TRemainingAccounts
827
+ ]>;
828
+ type InitializeAirdropConfigInstructionData = {
829
+ discriminator: ReadonlyUint8Array;
830
+ wlRoot: Option<ReadonlyUint8Array>;
831
+ airdropMasterCreateFee: Option<bigint>;
832
+ maxClaimFee: Option<bigint>;
833
+ maxActionFee: Option<bigint>;
834
+ minAirdropDuration: Option<bigint>;
835
+ defaultAirdropDuration: Option<bigint>;
836
+ maxAirdropDuration: Option<bigint>;
837
+ updateGracePeriod: Option<bigint>;
838
+ protocolFee: Option<bigint>;
839
+ masterFeeBps: Option<number>;
840
+ };
841
+ type InitializeAirdropConfigInstructionDataArgs = {
842
+ wlRoot: OptionOrNullable<ReadonlyUint8Array>;
843
+ airdropMasterCreateFee: OptionOrNullable<number | bigint>;
844
+ maxClaimFee: OptionOrNullable<number | bigint>;
845
+ maxActionFee: OptionOrNullable<number | bigint>;
846
+ minAirdropDuration: OptionOrNullable<number | bigint>;
847
+ defaultAirdropDuration: OptionOrNullable<number | bigint>;
848
+ maxAirdropDuration: OptionOrNullable<number | bigint>;
849
+ updateGracePeriod: OptionOrNullable<number | bigint>;
850
+ protocolFee: OptionOrNullable<number | bigint>;
851
+ masterFeeBps: OptionOrNullable<number>;
852
+ };
853
+ declare function getInitializeAirdropConfigInstructionDataEncoder(): Encoder<InitializeAirdropConfigInstructionDataArgs>;
854
+ declare function getInitializeAirdropConfigInstructionDataDecoder(): Decoder<InitializeAirdropConfigInstructionData>;
855
+ declare function getInitializeAirdropConfigInstructionDataCodec(): Codec<InitializeAirdropConfigInstructionDataArgs, InitializeAirdropConfigInstructionData>;
856
+ type InitializeAirdropConfigAsyncInput<TAccountConfig extends string = string, TAccountProtocolTreasury extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
857
+ config?: Address<TAccountConfig>;
858
+ protocolTreasury: Address<TAccountProtocolTreasury>;
859
+ authority?: TransactionSigner<TAccountAuthority>;
860
+ systemProgram?: Address<TAccountSystemProgram>;
861
+ wlRoot: InitializeAirdropConfigInstructionDataArgs["wlRoot"];
862
+ airdropMasterCreateFee: InitializeAirdropConfigInstructionDataArgs["airdropMasterCreateFee"];
863
+ maxClaimFee: InitializeAirdropConfigInstructionDataArgs["maxClaimFee"];
864
+ maxActionFee: InitializeAirdropConfigInstructionDataArgs["maxActionFee"];
865
+ minAirdropDuration: InitializeAirdropConfigInstructionDataArgs["minAirdropDuration"];
866
+ defaultAirdropDuration: InitializeAirdropConfigInstructionDataArgs["defaultAirdropDuration"];
867
+ maxAirdropDuration: InitializeAirdropConfigInstructionDataArgs["maxAirdropDuration"];
868
+ updateGracePeriod: InitializeAirdropConfigInstructionDataArgs["updateGracePeriod"];
869
+ protocolFee: InitializeAirdropConfigInstructionDataArgs["protocolFee"];
870
+ masterFeeBps: InitializeAirdropConfigInstructionDataArgs["masterFeeBps"];
871
+ };
872
+ declare function getInitializeAirdropConfigInstructionAsync<TAccountConfig extends string, TAccountProtocolTreasury extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: InitializeAirdropConfigAsyncInput<TAccountConfig, TAccountProtocolTreasury, TAccountAuthority, TAccountSystemProgram>, config?: {
873
+ programAddress?: TProgramAddress;
874
+ }): Promise<InitializeAirdropConfigInstruction<TProgramAddress, TAccountConfig, TAccountProtocolTreasury, TAccountAuthority, TAccountSystemProgram>>;
875
+ type InitializeAirdropConfigInput<TAccountConfig extends string = string, TAccountProtocolTreasury extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
876
+ config: Address<TAccountConfig>;
877
+ protocolTreasury: Address<TAccountProtocolTreasury>;
878
+ authority?: TransactionSigner<TAccountAuthority>;
879
+ systemProgram?: Address<TAccountSystemProgram>;
880
+ wlRoot: InitializeAirdropConfigInstructionDataArgs["wlRoot"];
881
+ airdropMasterCreateFee: InitializeAirdropConfigInstructionDataArgs["airdropMasterCreateFee"];
882
+ maxClaimFee: InitializeAirdropConfigInstructionDataArgs["maxClaimFee"];
883
+ maxActionFee: InitializeAirdropConfigInstructionDataArgs["maxActionFee"];
884
+ minAirdropDuration: InitializeAirdropConfigInstructionDataArgs["minAirdropDuration"];
885
+ defaultAirdropDuration: InitializeAirdropConfigInstructionDataArgs["defaultAirdropDuration"];
886
+ maxAirdropDuration: InitializeAirdropConfigInstructionDataArgs["maxAirdropDuration"];
887
+ updateGracePeriod: InitializeAirdropConfigInstructionDataArgs["updateGracePeriod"];
888
+ protocolFee: InitializeAirdropConfigInstructionDataArgs["protocolFee"];
889
+ masterFeeBps: InitializeAirdropConfigInstructionDataArgs["masterFeeBps"];
890
+ };
891
+ declare function getInitializeAirdropConfigInstruction<TAccountConfig extends string, TAccountProtocolTreasury extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: InitializeAirdropConfigInput<TAccountConfig, TAccountProtocolTreasury, TAccountAuthority, TAccountSystemProgram>, config?: {
892
+ programAddress?: TProgramAddress;
893
+ }): InitializeAirdropConfigInstruction<TProgramAddress, TAccountConfig, TAccountProtocolTreasury, TAccountAuthority, TAccountSystemProgram>;
894
+ type ParsedInitializeAirdropConfigInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
895
+ programAddress: Address<TProgram>;
896
+ accounts: {
897
+ config: TAccountMetas[0];
898
+ protocolTreasury: TAccountMetas[1];
899
+ authority: TAccountMetas[2];
900
+ systemProgram: TAccountMetas[3];
901
+ };
902
+ data: InitializeAirdropConfigInstructionData;
1006
903
  };
1007
- declare function getAdvancedFeeConfigEncoder(): FixedSizeEncoder<AdvancedFeeConfigArgs>;
1008
- declare function getAdvancedFeeConfigDecoder(): FixedSizeDecoder<AdvancedFeeConfig>;
1009
- declare function getAdvancedFeeConfigCodec(): FixedSizeCodec<AdvancedFeeConfigArgs, AdvancedFeeConfig>;
904
+ declare function parseInitializeAirdropConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeAirdropConfigInstruction<TProgram, TAccountMetas>;
1010
905
 
1011
906
  /**
1012
907
  * This code was AUTOGENERATED using the Codama library.
@@ -1016,62 +911,88 @@ declare function getAdvancedFeeConfigCodec(): FixedSizeCodec<AdvancedFeeConfigAr
1016
911
  * @see https://github.com/codama-idl/codama
1017
912
  */
1018
913
 
1019
- type AirdropBoosted = {
1020
- airdrop: Address;
1021
- boostedBy: Address;
1022
- boostAmount: bigint;
1023
- timestamp: bigint;
914
+ declare const INITIALIZE_AIRDROP_MASTER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
915
+ declare function getInitializeAirdropMasterDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
916
+ type InitializeAirdropMasterInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountAirdropMaster extends string | AccountMeta<string> = string, TAccountProtocolTreasury extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountAffiliate extends string | AccountMeta<string> = string, TAccountCreator extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
917
+ TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
918
+ TAccountAirdropMaster extends string ? WritableAccount<TAccountAirdropMaster> : TAccountAirdropMaster,
919
+ TAccountProtocolTreasury extends string ? WritableAccount<TAccountProtocolTreasury> : TAccountProtocolTreasury,
920
+ TAccountTreasury extends string ? ReadonlyAccount<TAccountTreasury> : TAccountTreasury,
921
+ TAccountAffiliate extends string ? WritableAccount<TAccountAffiliate> : TAccountAffiliate,
922
+ TAccountCreator extends string ? WritableSignerAccount<TAccountCreator> & AccountSignerMeta<TAccountCreator> : TAccountCreator,
923
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
924
+ ...TRemainingAccounts
925
+ ]>;
926
+ type InitializeAirdropMasterInstructionData = {
927
+ discriminator: ReadonlyUint8Array;
928
+ airdropUpdateFee: Option<bigint>;
929
+ airdropCreationFee: Option<bigint>;
930
+ airdropClaimFee: Option<bigint>;
931
+ airdropDelegateFee: Option<bigint>;
932
+ bitmapCreationFee: Option<bigint>;
933
+ discountProof: Option<Array<ReadonlyUint8Array>>;
1024
934
  };
1025
- type AirdropBoostedArgs = {
1026
- airdrop: Address;
1027
- boostedBy: Address;
1028
- boostAmount: number | bigint;
1029
- timestamp: number | bigint;
935
+ type InitializeAirdropMasterInstructionDataArgs = {
936
+ airdropUpdateFee: OptionOrNullable<number | bigint>;
937
+ airdropCreationFee: OptionOrNullable<number | bigint>;
938
+ airdropClaimFee: OptionOrNullable<number | bigint>;
939
+ airdropDelegateFee: OptionOrNullable<number | bigint>;
940
+ bitmapCreationFee: OptionOrNullable<number | bigint>;
941
+ discountProof: OptionOrNullable<Array<ReadonlyUint8Array>>;
1030
942
  };
1031
- declare function getAirdropBoostedEncoder(): FixedSizeEncoder<AirdropBoostedArgs>;
1032
- declare function getAirdropBoostedDecoder(): FixedSizeDecoder<AirdropBoosted>;
1033
- declare function getAirdropBoostedCodec(): FixedSizeCodec<AirdropBoostedArgs, AirdropBoosted>;
1034
-
1035
- /**
1036
- * This code was AUTOGENERATED using the Codama library.
1037
- * Please DO NOT EDIT THIS FILE, instead use visitors
1038
- * to add features, then rerun Codama to update it.
1039
- *
1040
- * @see https://github.com/codama-idl/codama
1041
- */
1042
-
1043
- type AirdropClosed = {
1044
- airdrop: Address;
1045
- authority: Address;
1046
- timestamp: bigint;
943
+ declare function getInitializeAirdropMasterInstructionDataEncoder(): Encoder<InitializeAirdropMasterInstructionDataArgs>;
944
+ declare function getInitializeAirdropMasterInstructionDataDecoder(): Decoder<InitializeAirdropMasterInstructionData>;
945
+ declare function getInitializeAirdropMasterInstructionDataCodec(): Codec<InitializeAirdropMasterInstructionDataArgs, InitializeAirdropMasterInstructionData>;
946
+ type InitializeAirdropMasterAsyncInput<TAccountConfig extends string = string, TAccountAirdropMaster extends string = string, TAccountProtocolTreasury extends string = string, TAccountTreasury extends string = string, TAccountAffiliate extends string = string, TAccountCreator extends string = string, TAccountSystemProgram extends string = string> = {
947
+ config?: Address<TAccountConfig>;
948
+ airdropMaster?: Address<TAccountAirdropMaster>;
949
+ protocolTreasury: Address<TAccountProtocolTreasury>;
950
+ treasury: Address<TAccountTreasury>;
951
+ affiliate?: Address<TAccountAffiliate>;
952
+ creator: TransactionSigner<TAccountCreator>;
953
+ systemProgram?: Address<TAccountSystemProgram>;
954
+ airdropUpdateFee: InitializeAirdropMasterInstructionDataArgs["airdropUpdateFee"];
955
+ airdropCreationFee: InitializeAirdropMasterInstructionDataArgs["airdropCreationFee"];
956
+ airdropClaimFee: InitializeAirdropMasterInstructionDataArgs["airdropClaimFee"];
957
+ airdropDelegateFee: InitializeAirdropMasterInstructionDataArgs["airdropDelegateFee"];
958
+ bitmapCreationFee: InitializeAirdropMasterInstructionDataArgs["bitmapCreationFee"];
959
+ discountProof: InitializeAirdropMasterInstructionDataArgs["discountProof"];
1047
960
  };
1048
- type AirdropClosedArgs = {
1049
- airdrop: Address;
1050
- authority: Address;
1051
- timestamp: number | bigint;
961
+ declare function getInitializeAirdropMasterInstructionAsync<TAccountConfig extends string, TAccountAirdropMaster extends string, TAccountProtocolTreasury extends string, TAccountTreasury extends string, TAccountAffiliate extends string, TAccountCreator extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: InitializeAirdropMasterAsyncInput<TAccountConfig, TAccountAirdropMaster, TAccountProtocolTreasury, TAccountTreasury, TAccountAffiliate, TAccountCreator, TAccountSystemProgram>, config?: {
962
+ programAddress?: TProgramAddress;
963
+ }): Promise<InitializeAirdropMasterInstruction<TProgramAddress, TAccountConfig, TAccountAirdropMaster, TAccountProtocolTreasury, TAccountTreasury, TAccountAffiliate, TAccountCreator, TAccountSystemProgram>>;
964
+ type InitializeAirdropMasterInput<TAccountConfig extends string = string, TAccountAirdropMaster extends string = string, TAccountProtocolTreasury extends string = string, TAccountTreasury extends string = string, TAccountAffiliate extends string = string, TAccountCreator extends string = string, TAccountSystemProgram extends string = string> = {
965
+ config: Address<TAccountConfig>;
966
+ airdropMaster: Address<TAccountAirdropMaster>;
967
+ protocolTreasury: Address<TAccountProtocolTreasury>;
968
+ treasury: Address<TAccountTreasury>;
969
+ affiliate?: Address<TAccountAffiliate>;
970
+ creator: TransactionSigner<TAccountCreator>;
971
+ systemProgram?: Address<TAccountSystemProgram>;
972
+ airdropUpdateFee: InitializeAirdropMasterInstructionDataArgs["airdropUpdateFee"];
973
+ airdropCreationFee: InitializeAirdropMasterInstructionDataArgs["airdropCreationFee"];
974
+ airdropClaimFee: InitializeAirdropMasterInstructionDataArgs["airdropClaimFee"];
975
+ airdropDelegateFee: InitializeAirdropMasterInstructionDataArgs["airdropDelegateFee"];
976
+ bitmapCreationFee: InitializeAirdropMasterInstructionDataArgs["bitmapCreationFee"];
977
+ discountProof: InitializeAirdropMasterInstructionDataArgs["discountProof"];
1052
978
  };
1053
- declare function getAirdropClosedEncoder(): FixedSizeEncoder<AirdropClosedArgs>;
1054
- declare function getAirdropClosedDecoder(): FixedSizeDecoder<AirdropClosed>;
1055
- declare function getAirdropClosedCodec(): FixedSizeCodec<AirdropClosedArgs, AirdropClosed>;
1056
-
1057
- /**
1058
- * This code was AUTOGENERATED using the Codama library.
1059
- * Please DO NOT EDIT THIS FILE, instead use visitors
1060
- * to add features, then rerun Codama to update it.
1061
- *
1062
- * @see https://github.com/codama-idl/codama
1063
- */
1064
-
1065
- type AirdropDelegated = {
1066
- airdrop: Address;
1067
- authority: Address;
1068
- delegate: Address;
1069
- permissions: number;
979
+ declare function getInitializeAirdropMasterInstruction<TAccountConfig extends string, TAccountAirdropMaster extends string, TAccountProtocolTreasury extends string, TAccountTreasury extends string, TAccountAffiliate extends string, TAccountCreator extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS>(input: InitializeAirdropMasterInput<TAccountConfig, TAccountAirdropMaster, TAccountProtocolTreasury, TAccountTreasury, TAccountAffiliate, TAccountCreator, TAccountSystemProgram>, config?: {
980
+ programAddress?: TProgramAddress;
981
+ }): InitializeAirdropMasterInstruction<TProgramAddress, TAccountConfig, TAccountAirdropMaster, TAccountProtocolTreasury, TAccountTreasury, TAccountAffiliate, TAccountCreator, TAccountSystemProgram>;
982
+ type ParsedInitializeAirdropMasterInstruction<TProgram extends string = typeof DROPSY_AIRDROP_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
983
+ programAddress: Address<TProgram>;
984
+ accounts: {
985
+ config: TAccountMetas[0];
986
+ airdropMaster: TAccountMetas[1];
987
+ protocolTreasury: TAccountMetas[2];
988
+ treasury: TAccountMetas[3];
989
+ affiliate?: TAccountMetas[4] | undefined;
990
+ creator: TAccountMetas[5];
991
+ systemProgram: TAccountMetas[6];
992
+ };
993
+ data: InitializeAirdropMasterInstructionData;
1070
994
  };
1071
- type AirdropDelegatedArgs = AirdropDelegated;
1072
- declare function getAirdropDelegatedEncoder(): FixedSizeEncoder<AirdropDelegatedArgs>;
1073
- declare function getAirdropDelegatedDecoder(): FixedSizeDecoder<AirdropDelegated>;
1074
- declare function getAirdropDelegatedCodec(): FixedSizeCodec<AirdropDelegatedArgs, AirdropDelegated>;
995
+ declare function parseInitializeAirdropMasterInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeAirdropMasterInstruction<TProgram, TAccountMetas>;
1075
996
 
1076
997
  /**
1077
998
  * This code was AUTOGENERATED using the Codama library.
@@ -1085,7 +1006,7 @@ type AirdropInitialized = {
1085
1006
  airdrop: Address;
1086
1007
  mint: Address;
1087
1008
  authority: Address;
1088
- controller: Address;
1009
+ master: Address;
1089
1010
  merkleRoot: ReadonlyUint8Array;
1090
1011
  startTime: bigint;
1091
1012
  endTime: bigint;
@@ -1095,7 +1016,7 @@ type AirdropInitializedArgs = {
1095
1016
  airdrop: Address;
1096
1017
  mint: Address;
1097
1018
  authority: Address;
1098
- controller: Address;
1019
+ master: Address;
1099
1020
  merkleRoot: ReadonlyUint8Array;
1100
1021
  startTime: number | bigint;
1101
1022
  endTime: number | bigint;
@@ -1113,98 +1034,15 @@ declare function getAirdropInitializedCodec(): FixedSizeCodec<AirdropInitialized
1113
1034
  * @see https://github.com/codama-idl/codama
1114
1035
  */
1115
1036
 
1116
- type AirdropUpdated = {
1117
- airdrop: Address;
1118
- updatedBy: Address;
1119
- };
1120
- type AirdropUpdatedArgs = AirdropUpdated;
1121
- declare function getAirdropUpdatedEncoder(): FixedSizeEncoder<AirdropUpdatedArgs>;
1122
- declare function getAirdropUpdatedDecoder(): FixedSizeDecoder<AirdropUpdated>;
1123
- declare function getAirdropUpdatedCodec(): FixedSizeCodec<AirdropUpdatedArgs, AirdropUpdated>;
1124
-
1125
- /**
1126
- * This code was AUTOGENERATED using the Codama library.
1127
- * Please DO NOT EDIT THIS FILE, instead use visitors
1128
- * to add features, then rerun Codama to update it.
1129
- *
1130
- * @see https://github.com/codama-idl/codama
1131
- */
1132
-
1133
- type BaseDurationConfig = {
1134
- minimum: bigint;
1135
- maximum: bigint;
1136
- updateGrace: bigint;
1137
- };
1138
- type BaseDurationConfigArgs = {
1139
- minimum: number | bigint;
1140
- maximum: number | bigint;
1141
- updateGrace: number | bigint;
1142
- };
1143
- declare function getBaseDurationConfigEncoder(): FixedSizeEncoder<BaseDurationConfigArgs>;
1144
- declare function getBaseDurationConfigDecoder(): FixedSizeDecoder<BaseDurationConfig>;
1145
- declare function getBaseDurationConfigCodec(): FixedSizeCodec<BaseDurationConfigArgs, BaseDurationConfig>;
1146
-
1147
- /**
1148
- * This code was AUTOGENERATED using the Codama library.
1149
- * Please DO NOT EDIT THIS FILE, instead use visitors
1150
- * to add features, then rerun Codama to update it.
1151
- *
1152
- * @see https://github.com/codama-idl/codama
1153
- */
1154
-
1155
- type BaseFeatureFeeConfig = {
1156
- creationFee: bigint;
1157
- upgradeFee: bigint;
1158
- withdrawFeeBasis: bigint;
1159
- };
1160
- type BaseFeatureFeeConfigArgs = {
1161
- creationFee: number | bigint;
1162
- upgradeFee: number | bigint;
1163
- withdrawFeeBasis: number | bigint;
1164
- };
1165
- declare function getBaseFeatureFeeConfigEncoder(): FixedSizeEncoder<BaseFeatureFeeConfigArgs>;
1166
- declare function getBaseFeatureFeeConfigDecoder(): FixedSizeDecoder<BaseFeatureFeeConfig>;
1167
- declare function getBaseFeatureFeeConfigCodec(): FixedSizeCodec<BaseFeatureFeeConfigArgs, BaseFeatureFeeConfig>;
1168
-
1169
- /**
1170
- * This code was AUTOGENERATED using the Codama library.
1171
- * Please DO NOT EDIT THIS FILE, instead use visitors
1172
- * to add features, then rerun Codama to update it.
1173
- *
1174
- * @see https://github.com/codama-idl/codama
1175
- */
1176
-
1177
- type BaseFeeConfig = {
1178
- creationFee: bigint;
1179
- updateFee: Option<bigint>;
1180
- closeFee: bigint;
1181
- };
1182
- type BaseFeeConfigArgs = {
1183
- creationFee: number | bigint;
1184
- updateFee: OptionOrNullable<number | bigint>;
1185
- closeFee: number | bigint;
1186
- };
1187
- declare function getBaseFeeConfigEncoder(): Encoder<BaseFeeConfigArgs>;
1188
- declare function getBaseFeeConfigDecoder(): Decoder<BaseFeeConfig>;
1189
- declare function getBaseFeeConfigCodec(): Codec<BaseFeeConfigArgs, BaseFeeConfig>;
1190
-
1191
- /**
1192
- * This code was AUTOGENERATED using the Codama library.
1193
- * Please DO NOT EDIT THIS FILE, instead use visitors
1194
- * to add features, then rerun Codama to update it.
1195
- *
1196
- * @see https://github.com/codama-idl/codama
1197
- */
1198
-
1199
- type ClaimMapClosed = {
1037
+ type BitmapClosed = {
1200
1038
  airdrop: Address;
1201
1039
  bitmap: Address;
1202
1040
  authority: Address;
1203
1041
  };
1204
- type ClaimMapClosedArgs = ClaimMapClosed;
1205
- declare function getClaimMapClosedEncoder(): FixedSizeEncoder<ClaimMapClosedArgs>;
1206
- declare function getClaimMapClosedDecoder(): FixedSizeDecoder<ClaimMapClosed>;
1207
- declare function getClaimMapClosedCodec(): FixedSizeCodec<ClaimMapClosedArgs, ClaimMapClosed>;
1042
+ type BitmapClosedArgs = BitmapClosed;
1043
+ declare function getBitmapClosedEncoder(): FixedSizeEncoder<BitmapClosedArgs>;
1044
+ declare function getBitmapClosedDecoder(): FixedSizeDecoder<BitmapClosed>;
1045
+ declare function getBitmapClosedCodec(): FixedSizeCodec<BitmapClosedArgs, BitmapClosed>;
1208
1046
 
1209
1047
  /**
1210
1048
  * This code was AUTOGENERATED using the Codama library.
@@ -1214,71 +1052,21 @@ declare function getClaimMapClosedCodec(): FixedSizeCodec<ClaimMapClosedArgs, Cl
1214
1052
  * @see https://github.com/codama-idl/codama
1215
1053
  */
1216
1054
 
1217
- type ClaimMapInitialized = {
1055
+ type BitmapInitialized = {
1218
1056
  airdrop: Address;
1219
1057
  bitmap: Address;
1220
1058
  bitmapId: number;
1221
1059
  timestamp: bigint;
1222
1060
  };
1223
- type ClaimMapInitializedArgs = {
1061
+ type BitmapInitializedArgs = {
1224
1062
  airdrop: Address;
1225
1063
  bitmap: Address;
1226
1064
  bitmapId: number;
1227
1065
  timestamp: number | bigint;
1228
1066
  };
1229
- declare function getClaimMapInitializedEncoder(): FixedSizeEncoder<ClaimMapInitializedArgs>;
1230
- declare function getClaimMapInitializedDecoder(): FixedSizeDecoder<ClaimMapInitialized>;
1231
- declare function getClaimMapInitializedCodec(): FixedSizeCodec<ClaimMapInitializedArgs, ClaimMapInitialized>;
1232
-
1233
- /**
1234
- * This code was AUTOGENERATED using the Codama library.
1235
- * Please DO NOT EDIT THIS FILE, instead use visitors
1236
- * to add features, then rerun Codama to update it.
1237
- *
1238
- * @see https://github.com/codama-idl/codama
1239
- */
1240
-
1241
- type InitAirdropConfigArgs = {
1242
- merkleRoot: Option<ReadonlyUint8Array>;
1243
- durationConfig: BaseDurationConfig;
1244
- masterConfig: BaseFeatureFeeConfig;
1245
- bitmapActionFee: bigint;
1246
- perBoostAmount: bigint;
1247
- };
1248
- type InitAirdropConfigArgsArgs = {
1249
- merkleRoot: OptionOrNullable<ReadonlyUint8Array>;
1250
- durationConfig: BaseDurationConfigArgs;
1251
- masterConfig: BaseFeatureFeeConfigArgs;
1252
- bitmapActionFee: number | bigint;
1253
- perBoostAmount: number | bigint;
1254
- };
1255
- declare function getInitAirdropConfigArgsEncoder(): Encoder<InitAirdropConfigArgsArgs>;
1256
- declare function getInitAirdropConfigArgsDecoder(): Decoder<InitAirdropConfigArgs>;
1257
- declare function getInitAirdropConfigArgsCodec(): Codec<InitAirdropConfigArgsArgs, InitAirdropConfigArgs>;
1258
-
1259
- /**
1260
- * This code was AUTOGENERATED using the Codama library.
1261
- * Please DO NOT EDIT THIS FILE, instead use visitors
1262
- * to add features, then rerun Codama to update it.
1263
- *
1264
- * @see https://github.com/codama-idl/codama
1265
- */
1266
-
1267
- type MasterInitialized = {
1268
- address: Address;
1269
- authority: Address;
1270
- treasury: Address;
1271
- timestamp: bigint;
1272
- };
1273
- type MasterInitializedArgs = {
1274
- address: Address;
1275
- authority: Address;
1276
- treasury: Address;
1277
- timestamp: number | bigint;
1278
- };
1279
- declare function getMasterInitializedEncoder(): FixedSizeEncoder<MasterInitializedArgs>;
1280
- declare function getMasterInitializedDecoder(): FixedSizeDecoder<MasterInitialized>;
1281
- declare function getMasterInitializedCodec(): FixedSizeCodec<MasterInitializedArgs, MasterInitialized>;
1067
+ declare function getBitmapInitializedEncoder(): FixedSizeEncoder<BitmapInitializedArgs>;
1068
+ declare function getBitmapInitializedDecoder(): FixedSizeDecoder<BitmapInitialized>;
1069
+ declare function getBitmapInitializedCodec(): FixedSizeCodec<BitmapInitializedArgs, BitmapInitialized>;
1282
1070
 
1283
1071
  /**
1284
1072
  * This code was AUTOGENERATED using the Codama library.
@@ -1328,346 +1116,4 @@ declare function getTokensRedeemedEncoder(): FixedSizeEncoder<TokensRedeemedArgs
1328
1116
  declare function getTokensRedeemedDecoder(): FixedSizeDecoder<TokensRedeemed>;
1329
1117
  declare function getTokensRedeemedCodec(): FixedSizeCodec<TokensRedeemedArgs, TokensRedeemed>;
1330
1118
 
1331
- /**
1332
- * This code was AUTOGENERATED using the Codama library.
1333
- * Please DO NOT EDIT THIS FILE, instead use visitors
1334
- * to add features, then rerun Codama to update it.
1335
- *
1336
- * @see https://github.com/codama-idl/codama
1337
- */
1338
-
1339
- declare const INITIALIZE_AIRDROP_MASTER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1340
- declare function getInitializeAirdropMasterDiscriminatorBytes(): ReadonlyUint8Array;
1341
- type InitializeAirdropMasterInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMaster extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountAffiliateMaster extends string | AccountMeta<string> = string, TAccountAirdropMaster extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1342
- TAccountMaster extends string ? ReadonlyAccount<TAccountMaster> : TAccountMaster,
1343
- TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
1344
- TAccountTreasury extends string ? WritableAccount<TAccountTreasury> : TAccountTreasury,
1345
- TAccountAffiliateMaster extends string ? ReadonlyAccount<TAccountAffiliateMaster> : TAccountAffiliateMaster,
1346
- TAccountAirdropMaster extends string ? WritableAccount<TAccountAirdropMaster> : TAccountAirdropMaster,
1347
- TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1348
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1349
- ...TRemainingAccounts
1350
- ]>;
1351
- type InitializeAirdropMasterInstructionData = {
1352
- discriminator: ReadonlyUint8Array;
1353
- merkleRoot: Option<ReadonlyUint8Array>;
1354
- airdropCreateFee: Option<bigint>;
1355
- airdropUpdateFee: Option<bigint>;
1356
- bitmapCreateFee: Option<bigint>;
1357
- advancedConfig: Option<AdvancedFeeConfig>;
1358
- wlProof: Option<Array<ReadonlyUint8Array>>;
1359
- };
1360
- type InitializeAirdropMasterInstructionDataArgs = {
1361
- merkleRoot: OptionOrNullable<ReadonlyUint8Array>;
1362
- airdropCreateFee: OptionOrNullable<number | bigint>;
1363
- airdropUpdateFee: OptionOrNullable<number | bigint>;
1364
- bitmapCreateFee: OptionOrNullable<number | bigint>;
1365
- advancedConfig: OptionOrNullable<AdvancedFeeConfigArgs>;
1366
- wlProof: OptionOrNullable<Array<ReadonlyUint8Array>>;
1367
- };
1368
- declare function getInitializeAirdropMasterInstructionDataEncoder(): Encoder<InitializeAirdropMasterInstructionDataArgs>;
1369
- declare function getInitializeAirdropMasterInstructionDataDecoder(): Decoder<InitializeAirdropMasterInstructionData>;
1370
- declare function getInitializeAirdropMasterInstructionDataCodec(): Codec<InitializeAirdropMasterInstructionDataArgs, InitializeAirdropMasterInstructionData>;
1371
- type InitializeAirdropMasterAsyncInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAffiliateMaster extends string = string, TAccountAirdropMaster extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
1372
- master?: Address<TAccountMaster>;
1373
- config?: Address<TAccountConfig>;
1374
- treasury: Address<TAccountTreasury>;
1375
- affiliateMaster?: Address<TAccountAffiliateMaster>;
1376
- airdropMaster?: Address<TAccountAirdropMaster>;
1377
- authority: TransactionSigner<TAccountAuthority>;
1378
- systemProgram?: Address<TAccountSystemProgram>;
1379
- merkleRoot: InitializeAirdropMasterInstructionDataArgs["merkleRoot"];
1380
- airdropCreateFee: InitializeAirdropMasterInstructionDataArgs["airdropCreateFee"];
1381
- airdropUpdateFee: InitializeAirdropMasterInstructionDataArgs["airdropUpdateFee"];
1382
- bitmapCreateFee: InitializeAirdropMasterInstructionDataArgs["bitmapCreateFee"];
1383
- advancedConfig: InitializeAirdropMasterInstructionDataArgs["advancedConfig"];
1384
- wlProof: InitializeAirdropMasterInstructionDataArgs["wlProof"];
1385
- };
1386
- declare function getInitializeAirdropMasterInstructionAsync<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAffiliateMaster extends string, TAccountAirdropMaster extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: InitializeAirdropMasterAsyncInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAffiliateMaster, TAccountAirdropMaster, TAccountAuthority, TAccountSystemProgram>, config?: {
1387
- programAddress?: TProgramAddress;
1388
- }): Promise<InitializeAirdropMasterInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAffiliateMaster, TAccountAirdropMaster, TAccountAuthority, TAccountSystemProgram>>;
1389
- type InitializeAirdropMasterInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAffiliateMaster extends string = string, TAccountAirdropMaster extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
1390
- master: Address<TAccountMaster>;
1391
- config: Address<TAccountConfig>;
1392
- treasury: Address<TAccountTreasury>;
1393
- affiliateMaster?: Address<TAccountAffiliateMaster>;
1394
- airdropMaster: Address<TAccountAirdropMaster>;
1395
- authority: TransactionSigner<TAccountAuthority>;
1396
- systemProgram?: Address<TAccountSystemProgram>;
1397
- merkleRoot: InitializeAirdropMasterInstructionDataArgs["merkleRoot"];
1398
- airdropCreateFee: InitializeAirdropMasterInstructionDataArgs["airdropCreateFee"];
1399
- airdropUpdateFee: InitializeAirdropMasterInstructionDataArgs["airdropUpdateFee"];
1400
- bitmapCreateFee: InitializeAirdropMasterInstructionDataArgs["bitmapCreateFee"];
1401
- advancedConfig: InitializeAirdropMasterInstructionDataArgs["advancedConfig"];
1402
- wlProof: InitializeAirdropMasterInstructionDataArgs["wlProof"];
1403
- };
1404
- declare function getInitializeAirdropMasterInstruction<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAffiliateMaster extends string, TAccountAirdropMaster extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: InitializeAirdropMasterInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAffiliateMaster, TAccountAirdropMaster, TAccountAuthority, TAccountSystemProgram>, config?: {
1405
- programAddress?: TProgramAddress;
1406
- }): InitializeAirdropMasterInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAffiliateMaster, TAccountAirdropMaster, TAccountAuthority, TAccountSystemProgram>;
1407
- type ParsedInitializeAirdropMasterInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1408
- programAddress: Address<TProgram>;
1409
- accounts: {
1410
- master: TAccountMetas[0];
1411
- config: TAccountMetas[1];
1412
- treasury: TAccountMetas[2];
1413
- affiliateMaster?: TAccountMetas[3] | undefined;
1414
- airdropMaster: TAccountMetas[4];
1415
- authority: TAccountMetas[5];
1416
- systemProgram: TAccountMetas[6];
1417
- };
1418
- data: InitializeAirdropMasterInstructionData;
1419
- };
1420
- declare function parseInitializeAirdropMasterInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeAirdropMasterInstruction<TProgram, TAccountMetas>;
1421
-
1422
- /**
1423
- * This code was AUTOGENERATED using the Codama library.
1424
- * Please DO NOT EDIT THIS FILE, instead use visitors
1425
- * to add features, then rerun Codama to update it.
1426
- *
1427
- * @see https://github.com/codama-idl/codama
1428
- */
1429
-
1430
- declare const INITIALIZE_MASTER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1431
- declare function getInitializeMasterDiscriminatorBytes(): ReadonlyUint8Array;
1432
- type InitializeMasterInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMaster extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = "8mtUD2XrkNnTxnjCehZ4DEtTXeGR1yrepSEGhCaSj2kT", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1433
- TAccountMaster extends string ? WritableAccount<TAccountMaster> : TAccountMaster,
1434
- TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
1435
- TAccountTreasury extends string ? ReadonlyAccount<TAccountTreasury> : TAccountTreasury,
1436
- TAccountTokenMint extends string ? ReadonlyAccount<TAccountTokenMint> : TAccountTokenMint,
1437
- TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1438
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1439
- ...TRemainingAccounts
1440
- ]>;
1441
- type InitializeMasterInstructionData = {
1442
- discriminator: ReadonlyUint8Array;
1443
- airdropConfig: InitAirdropConfigArgs;
1444
- protocolFee: bigint;
1445
- };
1446
- type InitializeMasterInstructionDataArgs = {
1447
- airdropConfig: InitAirdropConfigArgsArgs;
1448
- protocolFee: number | bigint;
1449
- };
1450
- declare function getInitializeMasterInstructionDataEncoder(): Encoder<InitializeMasterInstructionDataArgs>;
1451
- declare function getInitializeMasterInstructionDataDecoder(): Decoder<InitializeMasterInstructionData>;
1452
- declare function getInitializeMasterInstructionDataCodec(): Codec<InitializeMasterInstructionDataArgs, InitializeMasterInstructionData>;
1453
- type InitializeMasterAsyncInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountTokenMint extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
1454
- master?: Address<TAccountMaster>;
1455
- config?: Address<TAccountConfig>;
1456
- treasury: Address<TAccountTreasury>;
1457
- tokenMint?: Address<TAccountTokenMint>;
1458
- authority?: TransactionSigner<TAccountAuthority>;
1459
- systemProgram?: Address<TAccountSystemProgram>;
1460
- airdropConfig: InitializeMasterInstructionDataArgs["airdropConfig"];
1461
- protocolFee: InitializeMasterInstructionDataArgs["protocolFee"];
1462
- };
1463
- declare function getInitializeMasterInstructionAsync<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountTokenMint extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: InitializeMasterAsyncInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountTokenMint, TAccountAuthority, TAccountSystemProgram>, config?: {
1464
- programAddress?: TProgramAddress;
1465
- }): Promise<InitializeMasterInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountTokenMint, TAccountAuthority, TAccountSystemProgram>>;
1466
- type InitializeMasterInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountTokenMint extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
1467
- master: Address<TAccountMaster>;
1468
- config: Address<TAccountConfig>;
1469
- treasury: Address<TAccountTreasury>;
1470
- tokenMint?: Address<TAccountTokenMint>;
1471
- authority?: TransactionSigner<TAccountAuthority>;
1472
- systemProgram?: Address<TAccountSystemProgram>;
1473
- airdropConfig: InitializeMasterInstructionDataArgs["airdropConfig"];
1474
- protocolFee: InitializeMasterInstructionDataArgs["protocolFee"];
1475
- };
1476
- declare function getInitializeMasterInstruction<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountTokenMint extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: InitializeMasterInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountTokenMint, TAccountAuthority, TAccountSystemProgram>, config?: {
1477
- programAddress?: TProgramAddress;
1478
- }): InitializeMasterInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountTokenMint, TAccountAuthority, TAccountSystemProgram>;
1479
- type ParsedInitializeMasterInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1480
- programAddress: Address<TProgram>;
1481
- accounts: {
1482
- master: TAccountMetas[0];
1483
- config: TAccountMetas[1];
1484
- treasury: TAccountMetas[2];
1485
- tokenMint?: TAccountMetas[3] | undefined;
1486
- authority: TAccountMetas[4];
1487
- systemProgram: TAccountMetas[5];
1488
- };
1489
- data: InitializeMasterInstructionData;
1490
- };
1491
- declare function parseInitializeMasterInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeMasterInstruction<TProgram, TAccountMetas>;
1492
-
1493
- /**
1494
- * This code was AUTOGENERATED using the Codama library.
1495
- * Please DO NOT EDIT THIS FILE, instead use visitors
1496
- * to add features, then rerun Codama to update it.
1497
- *
1498
- * @see https://github.com/codama-idl/codama
1499
- */
1500
-
1501
- declare const REDEEM_AIRDROP_TOKENS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1502
- declare function getRedeemAirdropTokensDiscriminatorBytes(): ReadonlyUint8Array;
1503
- type RedeemAirdropTokensInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMaster extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountAirdropMaster extends string | AccountMeta<string> = string, TAccountAffiliate extends string | AccountMeta<string> = string, TAccountSourceTokenAccount extends string | AccountMeta<string> = string, TAccountDestinationTokenAccount extends string | AccountMeta<string> = string, TAccountAirdrop extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1504
- TAccountMaster extends string ? ReadonlyAccount<TAccountMaster> : TAccountMaster,
1505
- TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
1506
- TAccountTreasury extends string ? WritableAccount<TAccountTreasury> : TAccountTreasury,
1507
- TAccountAirdropMaster extends string ? WritableAccount<TAccountAirdropMaster> : TAccountAirdropMaster,
1508
- TAccountAffiliate extends string ? WritableAccount<TAccountAffiliate> : TAccountAffiliate,
1509
- TAccountSourceTokenAccount extends string ? WritableAccount<TAccountSourceTokenAccount> : TAccountSourceTokenAccount,
1510
- TAccountDestinationTokenAccount extends string ? WritableAccount<TAccountDestinationTokenAccount> : TAccountDestinationTokenAccount,
1511
- TAccountAirdrop extends string ? WritableAccount<TAccountAirdrop> : TAccountAirdrop,
1512
- TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
1513
- TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1514
- TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
1515
- TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram,
1516
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1517
- ...TRemainingAccounts
1518
- ]>;
1519
- type RedeemAirdropTokensInstructionData = {
1520
- discriminator: ReadonlyUint8Array;
1521
- };
1522
- type RedeemAirdropTokensInstructionDataArgs = {};
1523
- declare function getRedeemAirdropTokensInstructionDataEncoder(): FixedSizeEncoder<RedeemAirdropTokensInstructionDataArgs>;
1524
- declare function getRedeemAirdropTokensInstructionDataDecoder(): FixedSizeDecoder<RedeemAirdropTokensInstructionData>;
1525
- declare function getRedeemAirdropTokensInstructionDataCodec(): FixedSizeCodec<RedeemAirdropTokensInstructionDataArgs, RedeemAirdropTokensInstructionData>;
1526
- type RedeemAirdropTokensAsyncInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountAffiliate extends string = string, TAccountSourceTokenAccount extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
1527
- master?: Address<TAccountMaster>;
1528
- config?: Address<TAccountConfig>;
1529
- treasury: Address<TAccountTreasury>;
1530
- airdropMaster: Address<TAccountAirdropMaster>;
1531
- affiliate?: Address<TAccountAffiliate>;
1532
- sourceTokenAccount: Address<TAccountSourceTokenAccount>;
1533
- destinationTokenAccount?: Address<TAccountDestinationTokenAccount>;
1534
- airdrop?: Address<TAccountAirdrop>;
1535
- mint: Address<TAccountMint>;
1536
- authority: TransactionSigner<TAccountAuthority>;
1537
- tokenProgram?: Address<TAccountTokenProgram>;
1538
- associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
1539
- systemProgram?: Address<TAccountSystemProgram>;
1540
- };
1541
- declare function getRedeemAirdropTokensInstructionAsync<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAirdropMaster extends string, TAccountAffiliate extends string, TAccountSourceTokenAccount extends string, TAccountDestinationTokenAccount extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: RedeemAirdropTokensAsyncInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
1542
- programAddress?: TProgramAddress;
1543
- }): Promise<RedeemAirdropTokensInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>>;
1544
- type RedeemAirdropTokensInput<TAccountMaster extends string = string, TAccountConfig extends string = string, TAccountTreasury extends string = string, TAccountAirdropMaster extends string = string, TAccountAffiliate extends string = string, TAccountSourceTokenAccount extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountAirdrop extends string = string, TAccountMint extends string = string, TAccountAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
1545
- master: Address<TAccountMaster>;
1546
- config: Address<TAccountConfig>;
1547
- treasury: Address<TAccountTreasury>;
1548
- airdropMaster: Address<TAccountAirdropMaster>;
1549
- affiliate?: Address<TAccountAffiliate>;
1550
- sourceTokenAccount: Address<TAccountSourceTokenAccount>;
1551
- destinationTokenAccount: Address<TAccountDestinationTokenAccount>;
1552
- airdrop: Address<TAccountAirdrop>;
1553
- mint: Address<TAccountMint>;
1554
- authority: TransactionSigner<TAccountAuthority>;
1555
- tokenProgram?: Address<TAccountTokenProgram>;
1556
- associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
1557
- systemProgram?: Address<TAccountSystemProgram>;
1558
- };
1559
- declare function getRedeemAirdropTokensInstruction<TAccountMaster extends string, TAccountConfig extends string, TAccountTreasury extends string, TAccountAirdropMaster extends string, TAccountAffiliate extends string, TAccountSourceTokenAccount extends string, TAccountDestinationTokenAccount extends string, TAccountAirdrop extends string, TAccountMint extends string, TAccountAuthority extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DROPSY_PROGRAM_ADDRESS>(input: RedeemAirdropTokensInput<TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
1560
- programAddress?: TProgramAddress;
1561
- }): RedeemAirdropTokensInstruction<TProgramAddress, TAccountMaster, TAccountConfig, TAccountTreasury, TAccountAirdropMaster, TAccountAffiliate, TAccountSourceTokenAccount, TAccountDestinationTokenAccount, TAccountAirdrop, TAccountMint, TAccountAuthority, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>;
1562
- type ParsedRedeemAirdropTokensInstruction<TProgram extends string = typeof DROPSY_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1563
- programAddress: Address<TProgram>;
1564
- accounts: {
1565
- master: TAccountMetas[0];
1566
- config: TAccountMetas[1];
1567
- treasury: TAccountMetas[2];
1568
- airdropMaster: TAccountMetas[3];
1569
- affiliate?: TAccountMetas[4] | undefined;
1570
- sourceTokenAccount: TAccountMetas[5];
1571
- destinationTokenAccount: TAccountMetas[6];
1572
- airdrop: TAccountMetas[7];
1573
- mint: TAccountMetas[8];
1574
- authority: TAccountMetas[9];
1575
- tokenProgram: TAccountMetas[10];
1576
- associatedTokenProgram: TAccountMetas[11];
1577
- systemProgram: TAccountMetas[12];
1578
- };
1579
- data: RedeemAirdropTokensInstructionData;
1580
- };
1581
- declare function parseRedeemAirdropTokensInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRedeemAirdropTokensInstruction<TProgram, TAccountMetas>;
1582
-
1583
- type RpcClient = {
1584
- rpc: Rpc<SolanaRpcApi>;
1585
- rpcSubscriptions: RpcSubscriptions<SolanaRpcSubscriptionsApi>;
1586
- };
1587
- declare const generateKeyPairSignerWithSol: (rpcClient: RpcClient, putativeLamports?: bigint) => Promise<_solana_kit.KeyPairSigner<string>>;
1588
- declare const createDefaultSolanaClient: () => RpcClient;
1589
- declare const createTransactionMessageFromInstructions: (rpc: Rpc<SolanaRpcApi>, signer: TransactionSigner, instruction: Instruction[]) => Promise<Omit<_solana_kit.ExcludeTransactionMessageWithinSizeLimit<Omit<_solana_kit.ExcludeTransactionMessageLifetime<Omit<Readonly<{
1590
- instructions: readonly Instruction<string, readonly (_solana_kit.AccountMeta<string> | _solana_kit.AccountLookupMeta<string, string>)[]>[];
1591
- version: 0;
1592
- }>, "instructions"> & _solana_kit.TransactionMessageWithinSizeLimit & {
1593
- instructions: readonly [];
1594
- }> & _solana_kit.TransactionMessageWithBlockhashLifetime, "feePayer"> & _solana_kit.TransactionMessageWithFeePayerSigner<string, TransactionSigner<string>>>, "instructions"> & {
1595
- readonly instructions: readonly Instruction<string, readonly (_solana_kit.AccountMeta<string> | _solana_kit.AccountLookupMeta<string, string>)[]>[];
1596
- }>;
1597
-
1598
- type DropsyPda = readonly [Address<string>, ProgramDerivedAddressBump];
1599
- type Seed = ReadonlyUint8Array | string;
1600
- declare function getDropsyDerivedAddress(seeds: Seed[]): Promise<DropsyPda>;
1601
- declare function getMasterDerivedAddress(): Promise<DropsyPda>;
1602
- declare function getAirdropConfigDerivedAddress(): Promise<DropsyPda>;
1603
- declare function getAirdropMasterDerivedAddress(authority: Address): Promise<DropsyPda>;
1604
- declare function getAffiliateDerivedAddress(authority: Address): Promise<DropsyPda>;
1605
- declare function getAirdropDerivedAddress(authority: Address, mint: Address): Promise<DropsyPda>;
1606
- declare function getClaimMapDerivedAddress(airdrop: Address, id: number): Promise<DropsyPda>;
1607
-
1608
- declare function toUnixTimestamp(date?: Date | null): number | null;
1609
-
1610
- declare const createWLMerkleTree: (wallets: string[]) => MerkleTree;
1611
- declare const getSimpleMerkleProof: (merkleTree: MerkleTree, address: string) => Buffer[];
1612
- declare const getMerkleRootArray: (merkleTree: MerkleTree) => ReadonlyUint8Array;
1613
- declare const createMerkleTree: (claimList: {
1614
- index: number;
1615
- address: string;
1616
- amount: number;
1617
- }[]) => MerkleTree;
1618
-
1619
- /**
1620
- * -------------------------
1621
- * PDA Seed Constants
1622
- * -------------------------
1623
- * Used for deriving program addresses (PDAs) in Dropsy
1624
- */
1625
- declare const DROPSY_MASTER_SEED = "master";
1626
- declare const AIRDROP_CONFIG_SEED = "airdrop_config";
1627
- declare const AFFILIATE_MASTER_SEED = "affiliate_master";
1628
- declare const AIRDROP_MASTER_SEED = "airdrop_master";
1629
- declare const AIRDROP_SEED = "airdrop";
1630
- declare const AFFILIATE_SEED = "affiliate";
1631
- declare const BITMAP_SEED = "bitmap";
1632
- declare const VESTING_SEED = "vesting";
1633
- declare const PRESALE_SEED = "presale";
1634
- declare const VAULT_SEED = "vault";
1635
- /**
1636
- * -------------------------
1637
- * Admin / Protocol Keys
1638
- * -------------------------
1639
- */
1640
- declare const ADMIN: _solana_kit.Address<"8mtUD2XrkNnTxnjCehZ4DEtTXeGR1yrepSEGhCaSj2kT">;
1641
- declare const DROPSY_TREASURY: _solana_kit.Address<"8mtUD2XrkNnTxnjCehZ4DEtTXeGR1yrepSEGhCaSj2kT">;
1642
- declare const DEFAULT_MASTER_PDA: _solana_kit.Address<"8mtUD2XrkNnTxnjCehZ4DEtTXeGR1yrepSEGhCaSj2kT">;
1643
- declare const DEFAULT_MASTER_PDA_AUTHORITY: _solana_kit.Address<"8mtUD2XrkNnTxnjCehZ4DEtTXeGR1yrepSEGhCaSj2kT">;
1644
- /**
1645
- * -------------------------
1646
- * Bitmap / Claim Config
1647
- * -------------------------
1648
- */
1649
- declare const BITMAP_SIZE = 8000;
1650
- declare const MAX_BITMAP_CLAIM: number;
1651
- /**
1652
- * -------------------------
1653
- * Airdrop Versions
1654
- * -------------------------
1655
- */
1656
- declare const VERSION_BASIC = 0;
1657
- declare const VERSION_VESTED = 1;
1658
- /**
1659
- * -------------------------
1660
- * Airdrop State
1661
- * -------------------------
1662
- */
1663
- declare const STATE_INITIALIZED = 0;
1664
- declare const STATE_DELEGATED = 1;
1665
- declare const STATE_REDEEMED = 2;
1666
- /**
1667
- * -------------------------
1668
- * Mutability Flags
1669
- * -------------------------
1670
- */
1671
- declare const MUTABLE_NONE = 0;
1672
-
1673
- export { ADMIN, AFFILIATE_DISCRIMINATOR, AFFILIATE_MASTER_DISCRIMINATOR, AFFILIATE_MASTER_SEED, AFFILIATE_SEED, AIRDROP_CONFIG_DISCRIMINATOR, AIRDROP_CONFIG_SEED, AIRDROP_DISCRIMINATOR, AIRDROP_MASTER_DISCRIMINATOR, AIRDROP_MASTER_SEED, AIRDROP_SEED, type AdvancedFeeConfig, type AdvancedFeeConfigArgs, type Affiliate, type AffiliateArgs, type AffiliateMaster, type AffiliateMasterArgs, type Airdrop, type AirdropArgs, type AirdropBoosted, type AirdropBoostedArgs, type AirdropClosed, type AirdropClosedArgs, type AirdropConfig, type AirdropConfigArgs, type AirdropDelegated, type AirdropDelegatedArgs, type AirdropInitialized, type AirdropInitializedArgs, type AirdropMaster, type AirdropMasterArgs, type AirdropUpdated, type AirdropUpdatedArgs, BITMAP_SEED, BITMAP_SIZE, type BaseDurationConfig, type BaseDurationConfigArgs, type BaseFeatureFeeConfig, type BaseFeatureFeeConfigArgs, type BaseFeeConfig, type BaseFeeConfigArgs, CLAIM_AIRDROP_DISCRIMINATOR, CLAIM_MAP_DISCRIMINATOR, CREATE_AIRDROP_DISCRIMINATOR, CREATE_CLAIM_MAP_DISCRIMINATOR, type ClaimAirdropAsyncInput, type ClaimAirdropInput, type ClaimAirdropInstruction, type ClaimAirdropInstructionData, type ClaimAirdropInstructionDataArgs, type ClaimMap, type ClaimMapArgs, type ClaimMapClosed, type ClaimMapClosedArgs, type ClaimMapInitialized, type ClaimMapInitializedArgs, type CreateAirdropAsyncInput, type CreateAirdropInput, type CreateAirdropInstruction, type CreateAirdropInstructionData, type CreateAirdropInstructionDataArgs, type CreateAirdropV0Input, type CreateClaimMapAsyncInput, type CreateClaimMapInput, type CreateClaimMapInstruction, type CreateClaimMapInstructionData, type CreateClaimMapInstructionDataArgs, type CreateClaimMapV0Input, DEFAULT_MASTER_PDA, DEFAULT_MASTER_PDA_AUTHORITY, DEPOSIT_TOKENS_DISCRIMINATOR, DROPSY_ERROR__ACTIVE_BITMAPS_EXIST, DROPSY_ERROR__AIRDROP_ENDED, DROPSY_ERROR__AIRDROP_NOT_ENDED, DROPSY_ERROR__AIRDROP_NOT_STARTED, DROPSY_ERROR__ALREADY_CLAIMED, DROPSY_ERROR__BITMAP_AIRDROP_MISMATCH, DROPSY_ERROR__BITMAP_COUNT_UNDERFLOW, DROPSY_ERROR__BITMAP_TOO_LARGE, DROPSY_ERROR__CLAIM_FEE_TOO_HIGH, DROPSY_ERROR__CREATE_FEE_TOO_HIGH, DROPSY_ERROR__DESTINATION_MINT_MISMATCH, DROPSY_ERROR__DURATION_TOO_SHORT, DROPSY_ERROR__IMMUTABLE_AIRDROP, DROPSY_ERROR__IMMUTABLE_FIELD, DROPSY_ERROR__INSUFFICIENT_DEPOSIT, DROPSY_ERROR__INSUFFICIENT_FUNDS_FOR_FEE, DROPSY_ERROR__INSUFFICIENT_VAULT_FUNDS, DROPSY_ERROR__INVALID_ADMIN, DROPSY_ERROR__INVALID_AFFILIATE_PDA, DROPSY_ERROR__INVALID_AIRDROP_MASTER_ACCOUNT, DROPSY_ERROR__INVALID_AIRDROP_PDA, DROPSY_ERROR__INVALID_AIRDROP_VERSION, DROPSY_ERROR__INVALID_AIRDROP_VESTING_VERSION, DROPSY_ERROR__INVALID_AMOUNT, DROPSY_ERROR__INVALID_BITMAP_ACCOUNT, DROPSY_ERROR__INVALID_BITMAP_INDEX, DROPSY_ERROR__INVALID_DELEGATE_PERMISSION, DROPSY_ERROR__INVALID_DESTINATION_OWNER, DROPSY_ERROR__INVALID_END_TIME, DROPSY_ERROR__INVALID_FEE_VAULT, DROPSY_ERROR__INVALID_FEE_VAULT_CURVE, DROPSY_ERROR__INVALID_FEE_VAULT_OWNER, DROPSY_ERROR__INVALID_MINT, DROPSY_ERROR__INVALID_MINT_OWNER, DROPSY_ERROR__INVALID_MUTABILITY, DROPSY_ERROR__INVALID_OWNER, DROPSY_ERROR__INVALID_PARENT_ACCOUNT, DROPSY_ERROR__INVALID_PDA, DROPSY_ERROR__INVALID_PERCENTAGE, DROPSY_ERROR__INVALID_PROOF, DROPSY_ERROR__INVALID_PUB_KEY, DROPSY_ERROR__INVALID_TIMESTAMP, DROPSY_ERROR__INVALID_TOTAL, DROPSY_ERROR__INVALID_TREASURY_ACCOUNT, DROPSY_ERROR__INVALID_VAULT_AUTHORITY, DROPSY_ERROR__INVALID_VESTING_SCHEDULE, DROPSY_ERROR__INVALID_VESTING_TYPE, DROPSY_ERROR__MAX_AIRDROPS_REACHED, DROPSY_ERROR__MAX_CLAIM_MAPS_REACHED, DROPSY_ERROR__MINT_HAS_FREEZE_AUTHORITY, DROPSY_ERROR__MINT_IS_FROZEN, DROPSY_ERROR__MINT_IS_NOT_INITIALIZED, DROPSY_ERROR__MINT_MISMATCH, DROPSY_ERROR__MISSING_BITMAP_PDA, DROPSY_ERROR__NFT_NOT_ALLOWED, DROPSY_ERROR__NON_ZERO_VALUE_REQUIRED, DROPSY_ERROR__OVERFLOW, DROPSY_ERROR__OWNER_MISMATCH, DROPSY_ERROR__SOURCE_ACCOUNT_FROZEN, DROPSY_ERROR__SOURCE_HAS_CLOSE_AUTHORITY, DROPSY_ERROR__SOURCE_HAS_DELEGATE, DROPSY_ERROR__TOO_MANY_BITMAPS, DROPSY_ERROR__UNAUTHORIZED, DROPSY_ERROR__UN_AUTHORIZED, DROPSY_ERROR__UPDATE_CUTOFF_TIME_PASSED, DROPSY_ERROR__VALUE_BELOW_THE_MINIMUM, DROPSY_ERROR__VALUE_EXCEEDS_MAXIMUM, DROPSY_ERROR__VALUE_OUT_OF_RANGE, DROPSY_ERROR__VAULT_FROZEN, DROPSY_ERROR__VAULT_HAS_CLOSE_AUTHORITY, DROPSY_ERROR__VAULT_HAS_DELEGATE, DROPSY_ERROR__VAULT_MINT_MISMATCH, DROPSY_ERROR__VAULT_NOT_INITIALIZED, DROPSY_ERROR__VAULT_NOT_RENT_EXEMPT, DROPSY_ERROR__VESTING_ACCOUNT_REQUIRED, DROPSY_MASTER_SEED, DROPSY_PROGRAM_ADDRESS, DROPSY_TREASURY, type DepositTokensAsyncInput, type DepositTokensInput, type DepositTokensInstruction, type DepositTokensInstructionData, type DepositTokensInstructionDataArgs, DropsyAccount, type DropsyError, DropsyInstruction, type DropsyPda, INITIALIZE_AIRDROP_MASTER_DISCRIMINATOR, INITIALIZE_MASTER_DISCRIMINATOR, type InitAirdropConfigArgs, type InitAirdropConfigArgsArgs, type InitializeAirdropMasterAsyncInput, type InitializeAirdropMasterInput, type InitializeAirdropMasterInstruction, type InitializeAirdropMasterInstructionData, type InitializeAirdropMasterInstructionDataArgs, type InitializeMasterAsyncInput, type InitializeMasterInput, type InitializeMasterInstruction, type InitializeMasterInstructionData, type InitializeMasterInstructionDataArgs, MASTER_DISCRIMINATOR, MAX_BITMAP_CLAIM, MUTABLE_NONE, type Master, type MasterArgs, type MasterInitialized, type MasterInitializedArgs, PRESALE_SEED, type ParsedClaimAirdropInstruction, type ParsedCreateAirdropInstruction, type ParsedCreateClaimMapInstruction, type ParsedDepositTokensInstruction, type ParsedDropsyInstruction, type ParsedInitializeAirdropMasterInstruction, type ParsedInitializeMasterInstruction, type ParsedRedeemAirdropTokensInstruction, REDEEM_AIRDROP_TOKENS_DISCRIMINATOR, type RedeemAirdropTokensAsyncInput, type RedeemAirdropTokensInput, type RedeemAirdropTokensInstruction, type RedeemAirdropTokensInstructionData, type RedeemAirdropTokensInstructionDataArgs, STATE_DELEGATED, STATE_INITIALIZED, STATE_REDEEMED, type TokensDeposited, type TokensDepositedArgs, type TokensRedeemed, type TokensRedeemedArgs, VAULT_SEED, VERSION_BASIC, VERSION_VESTED, VESTING_SEED, createDefaultSolanaClient, createMerkleTree, createTransactionMessageFromInstructions, createWLMerkleTree, decodeAffiliate, decodeAffiliateMaster, decodeAirdrop, decodeAirdropConfig, decodeAirdropMaster, decodeClaimMap, decodeMaster, fetchAffiliate, fetchAffiliateMaster, fetchAirdrop, fetchAirdropConfig, fetchAirdropMaster, fetchAllAffiliate, fetchAllAffiliateMaster, fetchAllAirdrop, fetchAllAirdropConfig, fetchAllAirdropMaster, fetchAllClaimMap, fetchAllMaster, fetchAllMaybeAffiliate, fetchAllMaybeAffiliateMaster, fetchAllMaybeAirdrop, fetchAllMaybeAirdropConfig, fetchAllMaybeAirdropMaster, fetchAllMaybeClaimMap, fetchAllMaybeMaster, fetchClaimMap, fetchMaster, fetchMaybeAffiliate, fetchMaybeAffiliateMaster, fetchMaybeAirdrop, fetchMaybeAirdropConfig, fetchMaybeAirdropMaster, fetchMaybeClaimMap, fetchMaybeMaster, generateKeyPairSignerWithSol, getAdvancedFeeConfigCodec, getAdvancedFeeConfigDecoder, getAdvancedFeeConfigEncoder, getAffiliateCodec, getAffiliateDecoder, getAffiliateDerivedAddress, getAffiliateDiscriminatorBytes, getAffiliateEncoder, getAffiliateMasterCodec, getAffiliateMasterDecoder, getAffiliateMasterDiscriminatorBytes, getAffiliateMasterEncoder, getAffiliateMasterSize, getAffiliateSize, getAirdropBoostedCodec, getAirdropBoostedDecoder, getAirdropBoostedEncoder, getAirdropClosedCodec, getAirdropClosedDecoder, getAirdropClosedEncoder, getAirdropCodec, getAirdropConfigCodec, getAirdropConfigDecoder, getAirdropConfigDerivedAddress, getAirdropConfigDiscriminatorBytes, getAirdropConfigEncoder, getAirdropConfigSize, getAirdropDecoder, getAirdropDelegatedCodec, getAirdropDelegatedDecoder, getAirdropDelegatedEncoder, getAirdropDerivedAddress, getAirdropDiscriminatorBytes, getAirdropEncoder, getAirdropInitializedCodec, getAirdropInitializedDecoder, getAirdropInitializedEncoder, getAirdropMasterCodec, getAirdropMasterDecoder, getAirdropMasterDerivedAddress, getAirdropMasterDiscriminatorBytes, getAirdropMasterEncoder, getAirdropMasterSize, getAirdropSize, getAirdropUpdatedCodec, getAirdropUpdatedDecoder, getAirdropUpdatedEncoder, getBaseDurationConfigCodec, getBaseDurationConfigDecoder, getBaseDurationConfigEncoder, getBaseFeatureFeeConfigCodec, getBaseFeatureFeeConfigDecoder, getBaseFeatureFeeConfigEncoder, getBaseFeeConfigCodec, getBaseFeeConfigDecoder, getBaseFeeConfigEncoder, getClaimAirdropDiscriminatorBytes, getClaimAirdropInstruction, getClaimAirdropInstructionAsync, getClaimAirdropInstructionDataCodec, getClaimAirdropInstructionDataDecoder, getClaimAirdropInstructionDataEncoder, getClaimMapClosedCodec, getClaimMapClosedDecoder, getClaimMapClosedEncoder, getClaimMapCodec, getClaimMapDecoder, getClaimMapDerivedAddress, getClaimMapDiscriminatorBytes, getClaimMapEncoder, getClaimMapInitializedCodec, getClaimMapInitializedDecoder, getClaimMapInitializedEncoder, getClaimMapSize, getCreateAirdropDiscriminatorBytes, getCreateAirdropInstruction, getCreateAirdropInstructionAsync, getCreateAirdropInstructionDataCodec, getCreateAirdropInstructionDataDecoder, getCreateAirdropInstructionDataEncoder, getCreateAirdropV0Instruction, getCreateClaimMapDiscriminatorBytes, getCreateClaimMapInstruction, getCreateClaimMapInstructionAsync, getCreateClaimMapInstructionDataCodec, getCreateClaimMapInstructionDataDecoder, getCreateClaimMapInstructionDataEncoder, getCreateClaimMapV0Instruction, getDepositTokensDiscriminatorBytes, getDepositTokensInstruction, getDepositTokensInstructionAsync, getDepositTokensInstructionDataCodec, getDepositTokensInstructionDataDecoder, getDepositTokensInstructionDataEncoder, getDropsyDerivedAddress, getDropsyErrorMessage, getInitAirdropConfigArgsCodec, getInitAirdropConfigArgsDecoder, getInitAirdropConfigArgsEncoder, getInitializeAirdropMasterDiscriminatorBytes, getInitializeAirdropMasterInstruction, getInitializeAirdropMasterInstructionAsync, getInitializeAirdropMasterInstructionDataCodec, getInitializeAirdropMasterInstructionDataDecoder, getInitializeAirdropMasterInstructionDataEncoder, getInitializeMasterDiscriminatorBytes, getInitializeMasterInstruction, getInitializeMasterInstructionAsync, getInitializeMasterInstructionDataCodec, getInitializeMasterInstructionDataDecoder, getInitializeMasterInstructionDataEncoder, getMasterCodec, getMasterDecoder, getMasterDerivedAddress, getMasterDiscriminatorBytes, getMasterEncoder, getMasterInitializedCodec, getMasterInitializedDecoder, getMasterInitializedEncoder, getMasterSize, getMerkleRootArray, getRedeemAirdropTokensDiscriminatorBytes, getRedeemAirdropTokensInstruction, getRedeemAirdropTokensInstructionAsync, getRedeemAirdropTokensInstructionDataCodec, getRedeemAirdropTokensInstructionDataDecoder, getRedeemAirdropTokensInstructionDataEncoder, getSimpleMerkleProof, getTokensDepositedCodec, getTokensDepositedDecoder, getTokensDepositedEncoder, getTokensRedeemedCodec, getTokensRedeemedDecoder, getTokensRedeemedEncoder, identifyDropsyAccount, identifyDropsyInstruction, isDropsyError, parseClaimAirdropInstruction, parseCreateAirdropInstruction, parseCreateClaimMapInstruction, parseDepositTokensInstruction, parseInitializeAirdropMasterInstruction, parseInitializeMasterInstruction, parseRedeemAirdropTokensInstruction, toUnixTimestamp };
1119
+ export { AIRDROP_CONFIG_DISCRIMINATOR, AIRDROP_DISCRIMINATOR, AIRDROP_MASTER_DISCRIMINATOR, type Airdrop, type AirdropArgs, type AirdropConfig, type AirdropConfigArgs, type AirdropInitialized, type AirdropInitializedArgs, type AirdropMaster, type AirdropMasterArgs, BITMAP_ACCOUNT_DISCRIMINATOR, type BitmapAccount, type BitmapAccountArgs, type BitmapClosed, type BitmapClosedArgs, type BitmapInitialized, type BitmapInitializedArgs, CLAIM_AIRDROP_DISCRIMINATOR, CREATE_AIRDROP_DISCRIMINATOR, CREATE_BITMAP_DISCRIMINATOR, type ClaimAirdropAsyncInput, type ClaimAirdropInput, type ClaimAirdropInstruction, type ClaimAirdropInstructionData, type ClaimAirdropInstructionDataArgs, type CreateAirdropAsyncInput, type CreateAirdropInput, type CreateAirdropInstruction, type CreateAirdropInstructionData, type CreateAirdropInstructionDataArgs, type CreateBitmapAsyncInput, type CreateBitmapInput, type CreateBitmapInstruction, type CreateBitmapInstructionData, type CreateBitmapInstructionDataArgs, DEPOSIT_TOKENS_DISCRIMINATOR, DROPSY_AIRDROP_ERROR__ACTION_FEE_TOO_HIGH, DROPSY_AIRDROP_ERROR__ACTIVE_BITMAPS_EXIST, DROPSY_AIRDROP_ERROR__AIRDROP_ENDED, DROPSY_AIRDROP_ERROR__AIRDROP_NOT_ENDED, DROPSY_AIRDROP_ERROR__AIRDROP_NOT_STARTED, DROPSY_AIRDROP_ERROR__ALREADY_CLAIMED, DROPSY_AIRDROP_ERROR__BITMAP_AIRDROP_MISMATCH, DROPSY_AIRDROP_ERROR__BITMAP_COUNT_UNDERFLOW, DROPSY_AIRDROP_ERROR__BITMAP_TOO_LARGE, DROPSY_AIRDROP_ERROR__CLAIM_FEE_TOO_HIGH, DROPSY_AIRDROP_ERROR__CREATE_FEE_TOO_HIGH, DROPSY_AIRDROP_ERROR__DESTINATION_MINT_MISMATCH, DROPSY_AIRDROP_ERROR__DURATION_TOO_SHORT, DROPSY_AIRDROP_ERROR__IMMUTABLE_AIRDROP, DROPSY_AIRDROP_ERROR__IMMUTABLE_FIELD, DROPSY_AIRDROP_ERROR__INSUFFICIENT_DEPOSIT, DROPSY_AIRDROP_ERROR__INSUFFICIENT_FUNDS_FOR_FEE, DROPSY_AIRDROP_ERROR__INSUFFICIENT_VAULT_FUNDS, DROPSY_AIRDROP_ERROR__INVALID_ADMIN, DROPSY_AIRDROP_ERROR__INVALID_AFFILIATE_PDA, DROPSY_AIRDROP_ERROR__INVALID_AIRDROP_PDA, DROPSY_AIRDROP_ERROR__INVALID_AIRDROP_VERSION, DROPSY_AIRDROP_ERROR__INVALID_AIRDROP_VESTING_VERSION, DROPSY_AIRDROP_ERROR__INVALID_AMOUNT, DROPSY_AIRDROP_ERROR__INVALID_BITMAP_ACCOUNT, DROPSY_AIRDROP_ERROR__INVALID_BITMAP_INDEX, DROPSY_AIRDROP_ERROR__INVALID_DELEGATE_PERMISSION, DROPSY_AIRDROP_ERROR__INVALID_DESTINATION_OWNER, DROPSY_AIRDROP_ERROR__INVALID_END_TIME, DROPSY_AIRDROP_ERROR__INVALID_FEE_VAULT, DROPSY_AIRDROP_ERROR__INVALID_FEE_VAULT_CURVE, DROPSY_AIRDROP_ERROR__INVALID_FEE_VAULT_OWNER, DROPSY_AIRDROP_ERROR__INVALID_MINT, DROPSY_AIRDROP_ERROR__INVALID_MINT_OWNER, DROPSY_AIRDROP_ERROR__INVALID_MUTABILITY, DROPSY_AIRDROP_ERROR__INVALID_OWNER, DROPSY_AIRDROP_ERROR__INVALID_PARENT_ACCOUNT, DROPSY_AIRDROP_ERROR__INVALID_PDA, DROPSY_AIRDROP_ERROR__INVALID_PERCENTAGE, DROPSY_AIRDROP_ERROR__INVALID_PROOF, DROPSY_AIRDROP_ERROR__INVALID_PUB_KEY, DROPSY_AIRDROP_ERROR__INVALID_TIMESTAMP, DROPSY_AIRDROP_ERROR__INVALID_TOTAL, DROPSY_AIRDROP_ERROR__INVALID_TREASURY_ACCOUNT, DROPSY_AIRDROP_ERROR__INVALID_VAULT_AUTHORITY, DROPSY_AIRDROP_ERROR__INVALID_VESTING_SCHEDULE, DROPSY_AIRDROP_ERROR__INVALID_VESTING_TYPE, DROPSY_AIRDROP_ERROR__MINT_HAS_FREEZE_AUTHORITY, DROPSY_AIRDROP_ERROR__MINT_IS_FROZEN, DROPSY_AIRDROP_ERROR__MINT_IS_NOT_INITIALIZED, DROPSY_AIRDROP_ERROR__MINT_MISMATCH, DROPSY_AIRDROP_ERROR__MISSING_BITMAP_PDA, DROPSY_AIRDROP_ERROR__NFT_NOT_ALLOWED, DROPSY_AIRDROP_ERROR__NON_ZERO_VALUE_REQUIRED, DROPSY_AIRDROP_ERROR__OVERFLOW, DROPSY_AIRDROP_ERROR__OWNER_MISMATCH, DROPSY_AIRDROP_ERROR__SOURCE_ACCOUNT_FROZEN, DROPSY_AIRDROP_ERROR__SOURCE_HAS_CLOSE_AUTHORITY, DROPSY_AIRDROP_ERROR__SOURCE_HAS_DELEGATE, DROPSY_AIRDROP_ERROR__TOO_MANY_BITMAPS, DROPSY_AIRDROP_ERROR__UNAUTHORIZED, DROPSY_AIRDROP_ERROR__UN_AUTHORIZED, DROPSY_AIRDROP_ERROR__UPDATE_CUTOFF_TIME_PASSED, DROPSY_AIRDROP_ERROR__VALUE_BELOW_THE_MINIMUM, DROPSY_AIRDROP_ERROR__VALUE_EXCEEDS_MAXIMUM, DROPSY_AIRDROP_ERROR__VALUE_OUT_OF_RANGE, DROPSY_AIRDROP_ERROR__VAULT_FROZEN, DROPSY_AIRDROP_ERROR__VAULT_HAS_CLOSE_AUTHORITY, DROPSY_AIRDROP_ERROR__VAULT_HAS_DELEGATE, DROPSY_AIRDROP_ERROR__VAULT_MINT_MISMATCH, DROPSY_AIRDROP_ERROR__VAULT_NOT_INITIALIZED, DROPSY_AIRDROP_ERROR__VAULT_NOT_RENT_EXEMPT, DROPSY_AIRDROP_ERROR__VESTING_ACCOUNT_REQUIRED, DROPSY_AIRDROP_PROGRAM_ADDRESS, type DepositTokensAsyncInput, type DepositTokensInput, type DepositTokensInstruction, type DepositTokensInstructionData, type DepositTokensInstructionDataArgs, DropsyAirdropAccount, type DropsyAirdropError, DropsyAirdropInstruction, INITIALIZE_AIRDROP_CONFIG_DISCRIMINATOR, INITIALIZE_AIRDROP_MASTER_DISCRIMINATOR, type InitializeAirdropConfigAsyncInput, type InitializeAirdropConfigInput, type InitializeAirdropConfigInstruction, type InitializeAirdropConfigInstructionData, type InitializeAirdropConfigInstructionDataArgs, type InitializeAirdropMasterAsyncInput, type InitializeAirdropMasterInput, type InitializeAirdropMasterInstruction, type InitializeAirdropMasterInstructionData, type InitializeAirdropMasterInstructionDataArgs, type ParsedClaimAirdropInstruction, type ParsedCreateAirdropInstruction, type ParsedCreateBitmapInstruction, type ParsedDepositTokensInstruction, type ParsedDropsyAirdropInstruction, type ParsedInitializeAirdropConfigInstruction, type ParsedInitializeAirdropMasterInstruction, type TokensDeposited, type TokensDepositedArgs, type TokensRedeemed, type TokensRedeemedArgs, decodeAirdrop, decodeAirdropConfig, decodeAirdropMaster, decodeBitmapAccount, fetchAirdrop, fetchAirdropConfig, fetchAirdropMaster, fetchAllAirdrop, fetchAllAirdropConfig, fetchAllAirdropMaster, fetchAllBitmapAccount, fetchAllMaybeAirdrop, fetchAllMaybeAirdropConfig, fetchAllMaybeAirdropMaster, fetchAllMaybeBitmapAccount, fetchBitmapAccount, fetchMaybeAirdrop, fetchMaybeAirdropConfig, fetchMaybeAirdropMaster, fetchMaybeBitmapAccount, getAirdropCodec, getAirdropConfigCodec, getAirdropConfigDecoder, getAirdropConfigDiscriminatorBytes, getAirdropConfigEncoder, getAirdropConfigSize, getAirdropDecoder, getAirdropDiscriminatorBytes, getAirdropEncoder, getAirdropInitializedCodec, getAirdropInitializedDecoder, getAirdropInitializedEncoder, getAirdropMasterCodec, getAirdropMasterDecoder, getAirdropMasterDiscriminatorBytes, getAirdropMasterEncoder, getAirdropMasterSize, getAirdropSize, getBitmapAccountCodec, getBitmapAccountDecoder, getBitmapAccountDiscriminatorBytes, getBitmapAccountEncoder, getBitmapAccountSize, getBitmapClosedCodec, getBitmapClosedDecoder, getBitmapClosedEncoder, getBitmapInitializedCodec, getBitmapInitializedDecoder, getBitmapInitializedEncoder, getClaimAirdropDiscriminatorBytes, getClaimAirdropInstruction, getClaimAirdropInstructionAsync, getClaimAirdropInstructionDataCodec, getClaimAirdropInstructionDataDecoder, getClaimAirdropInstructionDataEncoder, getCreateAirdropDiscriminatorBytes, getCreateAirdropInstruction, getCreateAirdropInstructionAsync, getCreateAirdropInstructionDataCodec, getCreateAirdropInstructionDataDecoder, getCreateAirdropInstructionDataEncoder, getCreateBitmapDiscriminatorBytes, getCreateBitmapInstruction, getCreateBitmapInstructionAsync, getCreateBitmapInstructionDataCodec, getCreateBitmapInstructionDataDecoder, getCreateBitmapInstructionDataEncoder, getDepositTokensDiscriminatorBytes, getDepositTokensInstruction, getDepositTokensInstructionAsync, getDepositTokensInstructionDataCodec, getDepositTokensInstructionDataDecoder, getDepositTokensInstructionDataEncoder, getDropsyAirdropErrorMessage, getInitializeAirdropConfigDiscriminatorBytes, getInitializeAirdropConfigInstruction, getInitializeAirdropConfigInstructionAsync, getInitializeAirdropConfigInstructionDataCodec, getInitializeAirdropConfigInstructionDataDecoder, getInitializeAirdropConfigInstructionDataEncoder, getInitializeAirdropMasterDiscriminatorBytes, getInitializeAirdropMasterInstruction, getInitializeAirdropMasterInstructionAsync, getInitializeAirdropMasterInstructionDataCodec, getInitializeAirdropMasterInstructionDataDecoder, getInitializeAirdropMasterInstructionDataEncoder, getTokensDepositedCodec, getTokensDepositedDecoder, getTokensDepositedEncoder, getTokensRedeemedCodec, getTokensRedeemedDecoder, getTokensRedeemedEncoder, identifyDropsyAirdropAccount, identifyDropsyAirdropInstruction, isDropsyAirdropError, parseClaimAirdropInstruction, parseCreateAirdropInstruction, parseCreateBitmapInstruction, parseDepositTokensInstruction, parseDropsyAirdropInstruction, parseInitializeAirdropConfigInstruction, parseInitializeAirdropMasterInstruction };