@sign-global/tokentable 0.4.1-beta.3 → 0.4.1-beta.5

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.
Files changed (62) hide show
  1. package/dist/cjs/airdrop/SignatureAirdropClient.d.ts +3 -1
  2. package/dist/cjs/airdrop/SignatureAirdropClient.js +31 -15
  3. package/dist/cjs/airdrop/SignatureAirdropClient.js.map +1 -1
  4. package/dist/cjs/airdrop/common/index.d.ts +35 -0
  5. package/dist/cjs/airdrop/constants/chain-config.d.ts +36 -0
  6. package/dist/cjs/airdrop/constants/chain-config.js +5 -0
  7. package/dist/cjs/airdrop/constants/chain-config.js.map +1 -1
  8. package/dist/cjs/airdrop/contracts/evm/SignatureAirdropService.d.ts +1 -1
  9. package/dist/cjs/airdrop/contracts/evm/SignatureAirdropService.js +6 -1
  10. package/dist/cjs/airdrop/contracts/evm/SignatureAirdropService.js.map +1 -1
  11. package/dist/cjs/airdrop/contracts/solana/AirdropSignatureClient.d.ts +1 -0
  12. package/dist/cjs/airdrop/contracts/solana/AirdropSignatureClient.js +3 -6
  13. package/dist/cjs/airdrop/contracts/solana/AirdropSignatureClient.js.map +1 -1
  14. package/dist/cjs/airdrop/contracts/solana/FeeCollectorClient.d.ts +1 -0
  15. package/dist/cjs/airdrop/contracts/solana/FeeCollectorClient.js +5 -0
  16. package/dist/cjs/airdrop/contracts/solana/FeeCollectorClient.js.map +1 -1
  17. package/dist/cjs/airdrop/contracts/solana/SignatureAirdropService.d.ts +2 -2
  18. package/dist/cjs/airdrop/contracts/solana/SignatureAirdropService.js +3 -9
  19. package/dist/cjs/airdrop/contracts/solana/SignatureAirdropService.js.map +1 -1
  20. package/dist/cjs/airdrop/contracts/solana/fee_collector.d.ts +601 -352
  21. package/dist/cjs/airdrop/contracts/solana/fee_collector.json +1 -1
  22. package/dist/cjs/airdrop/contracts/solana/fungible_token_distributor_solana.d.ts +939 -504
  23. package/dist/cjs/airdrop/contracts/solana/fungible_token_distributor_solana.json +2 -2
  24. package/dist/cjs/airdrop/types/index.d.ts +4 -3
  25. package/dist/cjs/airdrop/types/index.js.map +1 -1
  26. package/dist/esm/airdrop/SignatureAirdropClient.d.ts +3 -1
  27. package/dist/esm/airdrop/SignatureAirdropClient.js +31 -15
  28. package/dist/esm/airdrop/SignatureAirdropClient.js.map +1 -1
  29. package/dist/esm/airdrop/common/index.d.ts +35 -0
  30. package/dist/esm/airdrop/constants/chain-config.d.ts +36 -0
  31. package/dist/esm/airdrop/constants/chain-config.js +6 -1
  32. package/dist/esm/airdrop/constants/chain-config.js.map +1 -1
  33. package/dist/esm/airdrop/contracts/evm/SignatureAirdropService.d.ts +1 -1
  34. package/dist/esm/airdrop/contracts/evm/SignatureAirdropService.js +6 -1
  35. package/dist/esm/airdrop/contracts/evm/SignatureAirdropService.js.map +1 -1
  36. package/dist/esm/airdrop/contracts/solana/AirdropSignatureClient.d.ts +1 -0
  37. package/dist/esm/airdrop/contracts/solana/AirdropSignatureClient.js +3 -6
  38. package/dist/esm/airdrop/contracts/solana/AirdropSignatureClient.js.map +1 -1
  39. package/dist/esm/airdrop/contracts/solana/FeeCollectorClient.d.ts +1 -0
  40. package/dist/esm/airdrop/contracts/solana/FeeCollectorClient.js +5 -0
  41. package/dist/esm/airdrop/contracts/solana/FeeCollectorClient.js.map +1 -1
  42. package/dist/esm/airdrop/contracts/solana/SignatureAirdropService.d.ts +2 -2
  43. package/dist/esm/airdrop/contracts/solana/SignatureAirdropService.js +3 -9
  44. package/dist/esm/airdrop/contracts/solana/SignatureAirdropService.js.map +1 -1
  45. package/dist/esm/airdrop/contracts/solana/fee_collector.d.ts +601 -352
  46. package/dist/esm/airdrop/contracts/solana/fee_collector.json +1 -1
  47. package/dist/esm/airdrop/contracts/solana/fungible_token_distributor_solana.d.ts +939 -504
  48. package/dist/esm/airdrop/contracts/solana/fungible_token_distributor_solana.json +2 -2
  49. package/dist/esm/airdrop/types/index.d.ts +4 -3
  50. package/dist/esm/airdrop/types/index.js.map +1 -1
  51. package/package.json +1 -1
  52. package/src/airdrop/SignatureAirdropClient.ts +44 -24
  53. package/src/airdrop/constants/chain-config.ts +7 -2
  54. package/src/airdrop/contracts/evm/SignatureAirdropService.ts +6 -1
  55. package/src/airdrop/contracts/solana/AirdropSignatureClient.ts +4 -20
  56. package/src/airdrop/contracts/solana/FeeCollectorClient.ts +6 -0
  57. package/src/airdrop/contracts/solana/SignatureAirdropService.ts +4 -10
  58. package/src/airdrop/contracts/solana/fee_collector.json +1 -1
  59. package/src/airdrop/contracts/solana/fee_collector.ts +679 -430
  60. package/src/airdrop/contracts/solana/fungible_token_distributor_solana.json +2 -2
  61. package/src/airdrop/contracts/solana/fungible_token_distributor_solana.ts +1049 -614
  62. package/src/airdrop/types/index.ts +4 -2
@@ -5,67 +5,89 @@
5
5
  * IDL can be found at `target/idl/fungible_token_distributor_solana.json`.
6
6
  */
7
7
  export type FungibleTokenDistributorSolana = {
8
- address: 'A2oJtZTbQLBog867bBQeqGhDiZ7MbCcGQLptyK5CGRi8';
9
- metadata: {
10
- name: 'fungibleTokenDistributorSolana';
11
- version: '0.1.0';
12
- spec: '0.1.0';
13
- description: 'Created with Anchor';
8
+ "address": "FCkSnf5Qd5Jva3ZdjFNGyZNhpCxmvjikXDkpWgE1vD3R";
9
+ "metadata": {
10
+ "name": "fungibleTokenDistributorSolana";
11
+ "version": "0.1.0";
12
+ "spec": "0.1.0";
13
+ "description": "Created with Anchor";
14
14
  };
15
- instructions: [
15
+ "instructions": [
16
16
  {
17
- name: 'claim';
18
- discriminator: [62, 198, 214, 193, 213, 159, 108, 210];
19
- accounts: [
17
+ "name": "claim";
18
+ "discriminator": [
19
+ 62,
20
+ 198,
21
+ 214,
22
+ 193,
23
+ 213,
24
+ 159,
25
+ 108,
26
+ 210
27
+ ];
28
+ "accounts": [
20
29
  {
21
- name: 'authority';
22
- writable: true;
23
- signer: true;
30
+ "name": "authority";
31
+ "writable": true;
32
+ "signer": true;
24
33
  },
25
34
  {
26
- name: 'airdrop';
27
- writable: true;
28
- pda: {
29
- seeds: [
35
+ "name": "airdrop";
36
+ "pda": {
37
+ "seeds": [
30
38
  {
31
- kind: 'const';
32
- value: [97, 105, 114, 100, 114, 111, 112];
39
+ "kind": "const";
40
+ "value": [
41
+ 97,
42
+ 105,
43
+ 114,
44
+ 100,
45
+ 114,
46
+ 111,
47
+ 112
48
+ ];
33
49
  },
34
50
  {
35
- kind: 'arg';
36
- path: 'projectId';
51
+ "kind": "arg";
52
+ "path": "projectId";
37
53
  }
38
54
  ];
39
55
  };
40
56
  },
41
57
  {
42
- name: 'vault';
43
- writable: true;
44
- pda: {
45
- seeds: [
58
+ "name": "vault";
59
+ "writable": true;
60
+ "pda": {
61
+ "seeds": [
46
62
  {
47
- kind: 'const';
48
- value: [118, 97, 117, 108, 116];
63
+ "kind": "const";
64
+ "value": [
65
+ 118,
66
+ 97,
67
+ 117,
68
+ 108,
69
+ 116
70
+ ];
49
71
  },
50
72
  {
51
- kind: 'arg';
52
- path: 'projectId';
73
+ "kind": "account";
74
+ "path": "airdrop";
53
75
  }
54
76
  ];
55
77
  };
56
78
  },
57
79
  {
58
- name: 'authorityAta';
59
- writable: true;
60
- pda: {
61
- seeds: [
80
+ "name": "authorityAta";
81
+ "writable": true;
82
+ "pda": {
83
+ "seeds": [
62
84
  {
63
- kind: 'account';
64
- path: 'authority';
85
+ "kind": "account";
86
+ "path": "authority";
65
87
  },
66
88
  {
67
- kind: 'const';
68
- value: [
89
+ "kind": "const";
90
+ "value": [
69
91
  6,
70
92
  221,
71
93
  246,
@@ -101,13 +123,13 @@ export type FungibleTokenDistributorSolana = {
101
123
  ];
102
124
  },
103
125
  {
104
- kind: 'account';
105
- path: 'tokenMint';
126
+ "kind": "account";
127
+ "path": "tokenMint";
106
128
  }
107
129
  ];
108
- program: {
109
- kind: 'const';
110
- value: [
130
+ "program": {
131
+ "kind": "const";
132
+ "value": [
111
133
  140,
112
134
  151,
113
135
  37,
@@ -145,591 +167,915 @@ export type FungibleTokenDistributorSolana = {
145
167
  };
146
168
  },
147
169
  {
148
- name: 'authorityFeeAta';
149
- writable: true;
150
- optional: true;
170
+ "name": "authorityFeeAta";
171
+ "writable": true;
172
+ "optional": true;
151
173
  },
152
174
  {
153
- name: 'claim';
154
- writable: true;
155
- pda: {
156
- seeds: [
175
+ "name": "claim";
176
+ "writable": true;
177
+ "pda": {
178
+ "seeds": [
157
179
  {
158
- kind: 'const';
159
- value: [99, 108, 97, 105, 109];
180
+ "kind": "const";
181
+ "value": [
182
+ 99,
183
+ 108,
184
+ 97,
185
+ 105,
186
+ 109
187
+ ];
160
188
  },
161
189
  {
162
- kind: 'arg';
163
- path: 'projectId';
190
+ "kind": "account";
191
+ "path": "airdrop";
164
192
  },
165
193
  {
166
- kind: 'arg';
167
- path: 'claimId';
194
+ "kind": "arg";
195
+ "path": "claimId";
168
196
  }
169
197
  ];
170
198
  };
171
199
  },
172
200
  {
173
- name: 'tokenMint';
201
+ "name": "tokenMint";
174
202
  },
175
203
  {
176
- name: 'feeCollectorStorage';
177
- writable: true;
178
- optional: true;
204
+ "name": "feeCollectorStorage";
205
+ "writable": true;
206
+ "optional": true;
179
207
  },
180
208
  {
181
- name: 'feeCollectorVault';
182
- writable: true;
183
- optional: true;
209
+ "name": "feeCollectorVault";
210
+ "writable": true;
211
+ "optional": true;
184
212
  },
185
213
  {
186
- name: 'feeCollector';
187
- optional: true;
188
- address: 'BiSXnuUr1HisEsAVd9DjYpthjLhG286ehYQsABkMMuJq';
214
+ "name": "feeCollector";
215
+ "optional": true;
216
+ "address": "4dfP4CMvznzUuuYLhybXy71zasrhtjrFkChSFjtqS3on";
189
217
  },
190
218
  {
191
- name: 'userFee';
192
- writable: true;
219
+ "name": "userFee";
220
+ "writable": true;
193
221
  },
194
222
  {
195
- name: 'systemProgram';
196
- address: '11111111111111111111111111111111';
223
+ "name": "systemProgram";
224
+ "address": "11111111111111111111111111111111";
197
225
  },
198
226
  {
199
- name: 'tokenProgram';
227
+ "name": "tokenProgram";
200
228
  },
201
229
  {
202
- name: 'associatedTokenProgram';
203
- address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
230
+ "name": "associatedTokenProgram";
231
+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
204
232
  },
205
233
  {
206
- name: 'ixSysvar';
207
- docs: [
208
- 'the supplied Sysvar could be anything else.',
209
- 'The Instruction Sysvar has not been implemented',
210
- 'in the Anchor framework yet, so this is the safe approach.'
234
+ "name": "ixSysvar";
235
+ "docs": [
236
+ "the supplied Sysvar could be anything else.",
237
+ "The Instruction Sysvar has not been implemented",
238
+ "in the Anchor framework yet, so this is the safe approach."
211
239
  ];
212
- address: 'Sysvar1nstructions1111111111111111111111111';
240
+ "address": "Sysvar1nstructions1111111111111111111111111";
213
241
  }
214
242
  ];
215
- args: [
243
+ "args": [
216
244
  {
217
- name: 'projectId';
218
- type: 'string';
245
+ "name": "projectId";
246
+ "type": "string";
219
247
  },
220
248
  {
221
- name: 'userClaimId';
222
- type: {
223
- array: ['u8', 32];
249
+ "name": "userClaimId";
250
+ "type": {
251
+ "array": [
252
+ "u8",
253
+ 32
254
+ ];
224
255
  };
225
256
  },
226
257
  {
227
- name: 'recipient';
228
- type: 'pubkey';
229
- },
230
- {
231
- name: 'group';
232
- type: {
233
- array: ['u8', 32];
258
+ "name": "group";
259
+ "type": {
260
+ "array": [
261
+ "u8",
262
+ 32
263
+ ];
234
264
  };
235
265
  },
236
266
  {
237
- name: 'userClaimData';
238
- type: {
239
- defined: {
240
- name: 'tokenTableFungibleDistributorData';
267
+ "name": "userClaimData";
268
+ "type": {
269
+ "defined": {
270
+ "name": "tokenTableFungibleDistributorData";
241
271
  };
242
272
  };
243
273
  },
244
274
  {
245
- name: 'signature';
246
- type: 'bytes';
275
+ "name": "signature";
276
+ "type": "bytes";
247
277
  }
248
278
  ];
249
279
  },
250
280
  {
251
- name: 'deploy';
252
- discriminator: [67, 36, 143, 118, 36, 164, 92, 217];
253
- accounts: [
254
- {
255
- name: 'config';
256
- writable: true;
257
- pda: {
258
- seeds: [
281
+ "name": "deploy";
282
+ "discriminator": [
283
+ 67,
284
+ 36,
285
+ 143,
286
+ 118,
287
+ 36,
288
+ 164,
289
+ 92,
290
+ 217
291
+ ];
292
+ "accounts": [
293
+ {
294
+ "name": "config";
295
+ "writable": true;
296
+ "pda": {
297
+ "seeds": [
259
298
  {
260
- kind: 'const';
261
- value: [99, 111, 110, 102, 105, 103];
299
+ "kind": "const";
300
+ "value": [
301
+ 99,
302
+ 111,
303
+ 110,
304
+ 102,
305
+ 105,
306
+ 103
307
+ ];
262
308
  }
263
309
  ];
264
310
  };
265
311
  },
266
312
  {
267
- name: 'authority';
268
- writable: true;
269
- signer: true;
313
+ "name": "authority";
314
+ "writable": true;
315
+ "signer": true;
270
316
  },
271
317
  {
272
- name: 'systemProgram';
273
- address: '11111111111111111111111111111111';
318
+ "name": "systemProgram";
319
+ "address": "11111111111111111111111111111111";
274
320
  }
275
321
  ];
276
- args: [];
322
+ "args": [];
277
323
  },
278
324
  {
279
- name: 'deposit';
280
- discriminator: [242, 35, 198, 137, 82, 225, 242, 182];
281
- accounts: [
325
+ "name": "deposit";
326
+ "discriminator": [
327
+ 242,
328
+ 35,
329
+ 198,
330
+ 137,
331
+ 82,
332
+ 225,
333
+ 242,
334
+ 182
335
+ ];
336
+ "accounts": [
282
337
  {
283
- name: 'authority';
284
- writable: true;
285
- signer: true;
338
+ "name": "authority";
339
+ "writable": true;
340
+ "signer": true;
286
341
  },
287
342
  {
288
- name: 'airdrop';
289
- writable: true;
290
- pda: {
291
- seeds: [
343
+ "name": "airdrop";
344
+ "writable": true;
345
+ "pda": {
346
+ "seeds": [
292
347
  {
293
- kind: 'const';
294
- value: [97, 105, 114, 100, 114, 111, 112];
348
+ "kind": "const";
349
+ "value": [
350
+ 97,
351
+ 105,
352
+ 114,
353
+ 100,
354
+ 114,
355
+ 111,
356
+ 112
357
+ ];
295
358
  },
296
359
  {
297
- kind: 'arg';
298
- path: 'projectId';
360
+ "kind": "arg";
361
+ "path": "projectId";
299
362
  }
300
363
  ];
301
364
  };
302
365
  },
303
366
  {
304
- name: 'vault';
305
- writable: true;
306
- pda: {
307
- seeds: [
367
+ "name": "vault";
368
+ "writable": true;
369
+ "pda": {
370
+ "seeds": [
308
371
  {
309
- kind: 'const';
310
- value: [118, 97, 117, 108, 116];
372
+ "kind": "const";
373
+ "value": [
374
+ 118,
375
+ 97,
376
+ 117,
377
+ 108,
378
+ 116
379
+ ];
311
380
  },
312
381
  {
313
- kind: 'arg';
314
- path: 'projectId';
382
+ "kind": "account";
383
+ "path": "airdrop";
315
384
  }
316
385
  ];
317
386
  };
318
387
  },
319
388
  {
320
- name: 'authorityAta';
321
- writable: true;
389
+ "name": "authorityAta";
390
+ "writable": true;
322
391
  },
323
392
  {
324
- name: 'tokenMint';
393
+ "name": "tokenMint";
325
394
  },
326
395
  {
327
- name: 'systemProgram';
328
- address: '11111111111111111111111111111111';
396
+ "name": "systemProgram";
397
+ "address": "11111111111111111111111111111111";
329
398
  },
330
399
  {
331
- name: 'tokenProgram';
400
+ "name": "tokenProgram";
332
401
  },
333
402
  {
334
- name: 'associatedTokenProgram';
335
- address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
403
+ "name": "associatedTokenProgram";
404
+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
336
405
  }
337
406
  ];
338
- args: [
407
+ "args": [
339
408
  {
340
- name: 'projectId';
341
- type: 'string';
409
+ "name": "projectId";
410
+ "type": "string";
342
411
  },
343
412
  {
344
- name: 'amount';
345
- type: 'u64';
413
+ "name": "amount";
414
+ "type": "u64";
346
415
  }
347
416
  ];
348
417
  },
349
418
  {
350
- name: 'encodeHashToBeSigned';
351
- discriminator: [15, 245, 227, 180, 152, 94, 134, 20];
352
- accounts: [];
353
- args: [
354
- {
355
- name: 'userClaimId';
356
- type: {
357
- array: ['u8', 32];
419
+ "name": "encodeHashToBeSigned";
420
+ "discriminator": [
421
+ 15,
422
+ 245,
423
+ 227,
424
+ 180,
425
+ 152,
426
+ 94,
427
+ 134,
428
+ 20
429
+ ];
430
+ "accounts": [];
431
+ "args": [
432
+ {
433
+ "name": "userClaimId";
434
+ "type": {
435
+ "array": [
436
+ "u8",
437
+ 32
438
+ ];
358
439
  };
359
440
  },
360
441
  {
361
- name: 'userClaimData';
362
- type: {
363
- defined: {
364
- name: 'tokenTableFungibleDistributorData';
442
+ "name": "userClaimData";
443
+ "type": {
444
+ "defined": {
445
+ "name": "tokenTableFungibleDistributorData";
365
446
  };
366
447
  };
448
+ },
449
+ {
450
+ "name": "airdrop";
451
+ "type": "pubkey";
367
452
  }
368
453
  ];
369
- returns: {
370
- array: ['u8', 32];
454
+ "returns": {
455
+ "array": [
456
+ "u8",
457
+ 32
458
+ ];
371
459
  };
372
460
  },
373
461
  {
374
- name: 'initialize';
375
- discriminator: [175, 175, 109, 31, 13, 152, 155, 237];
376
- accounts: [
377
- {
378
- name: 'airdrop';
379
- writable: true;
380
- pda: {
381
- seeds: [
462
+ "name": "initialize";
463
+ "discriminator": [
464
+ 175,
465
+ 175,
466
+ 109,
467
+ 31,
468
+ 13,
469
+ 152,
470
+ 155,
471
+ 237
472
+ ];
473
+ "accounts": [
474
+ {
475
+ "name": "airdrop";
476
+ "writable": true;
477
+ "pda": {
478
+ "seeds": [
382
479
  {
383
- kind: 'const';
384
- value: [97, 105, 114, 100, 114, 111, 112];
480
+ "kind": "const";
481
+ "value": [
482
+ 97,
483
+ 105,
484
+ 114,
485
+ 100,
486
+ 114,
487
+ 111,
488
+ 112
489
+ ];
385
490
  },
386
491
  {
387
- kind: 'arg';
388
- path: 'projectId';
492
+ "kind": "arg";
493
+ "path": "projectId";
389
494
  }
390
495
  ];
391
496
  };
392
497
  },
393
498
  {
394
- name: 'authority';
395
- writable: true;
396
- signer: true;
499
+ "name": "authority";
500
+ "writable": true;
501
+ "signer": true;
397
502
  },
398
503
  {
399
- name: 'systemProgram';
400
- address: '11111111111111111111111111111111';
504
+ "name": "systemProgram";
505
+ "address": "11111111111111111111111111111111";
401
506
  }
402
507
  ];
403
- args: [
508
+ "args": [
404
509
  {
405
- name: 'projectId';
406
- type: 'string';
510
+ "name": "projectId";
511
+ "type": "string";
407
512
  },
408
513
  {
409
- name: 'owner';
410
- type: 'pubkey';
514
+ "name": "owner";
515
+ "type": "pubkey";
411
516
  },
412
517
  {
413
- name: 'feeCollector';
414
- type: 'pubkey';
518
+ "name": "feeCollector";
519
+ "type": "pubkey";
415
520
  }
416
521
  ];
417
522
  },
418
523
  {
419
- name: 'setBaseParams';
420
- discriminator: [53, 16, 151, 65, 155, 108, 105, 229];
421
- accounts: [
524
+ "name": "setBaseParams";
525
+ "discriminator": [
526
+ 53,
527
+ 16,
528
+ 151,
529
+ 65,
530
+ 155,
531
+ 108,
532
+ 105,
533
+ 229
534
+ ];
535
+ "accounts": [
422
536
  {
423
- name: 'authority';
424
- writable: true;
425
- signer: true;
537
+ "name": "authority";
538
+ "writable": true;
539
+ "signer": true;
426
540
  },
427
541
  {
428
- name: 'airdrop';
429
- writable: true;
430
- pda: {
431
- seeds: [
542
+ "name": "airdrop";
543
+ "writable": true;
544
+ "pda": {
545
+ "seeds": [
432
546
  {
433
- kind: 'const';
434
- value: [97, 105, 114, 100, 114, 111, 112];
547
+ "kind": "const";
548
+ "value": [
549
+ 97,
550
+ 105,
551
+ 114,
552
+ 100,
553
+ 114,
554
+ 111,
555
+ 112
556
+ ];
435
557
  },
436
558
  {
437
- kind: 'arg';
438
- path: 'projectId';
559
+ "kind": "arg";
560
+ "path": "projectId";
439
561
  }
440
562
  ];
441
563
  };
442
564
  },
443
565
  {
444
- name: 'systemProgram';
445
- address: '11111111111111111111111111111111';
566
+ "name": "systemProgram";
567
+ "address": "11111111111111111111111111111111";
446
568
  }
447
569
  ];
448
- args: [
570
+ "args": [
449
571
  {
450
- name: 'projectId';
451
- type: 'string';
572
+ "name": "projectId";
573
+ "type": "string";
452
574
  },
453
575
  {
454
- name: 'token';
455
- type: 'pubkey';
576
+ "name": "token";
577
+ "type": "pubkey";
456
578
  },
457
579
  {
458
- name: 'startTime';
459
- type: 'u64';
580
+ "name": "startTime";
581
+ "type": "u64";
460
582
  },
461
583
  {
462
- name: 'endTime';
463
- type: 'u64';
584
+ "name": "endTime";
585
+ "type": "u64";
464
586
  },
465
587
  {
466
- name: 'authorizedSigner';
467
- type: 'pubkey';
588
+ "name": "authorizedSigner";
589
+ "type": "pubkey";
468
590
  }
469
591
  ];
470
592
  },
471
593
  {
472
- name: 'setFeeCollector';
473
- discriminator: [143, 46, 10, 113, 121, 157, 245, 166];
474
- accounts: [
594
+ "name": "setFeeCollector";
595
+ "discriminator": [
596
+ 143,
597
+ 46,
598
+ 10,
599
+ 113,
600
+ 121,
601
+ 157,
602
+ 245,
603
+ 166
604
+ ];
605
+ "accounts": [
475
606
  {
476
- name: 'authority';
477
- writable: true;
478
- signer: true;
607
+ "name": "authority";
608
+ "writable": true;
609
+ "signer": true;
479
610
  },
480
611
  {
481
- name: 'config';
482
- pda: {
483
- seeds: [
612
+ "name": "config";
613
+ "pda": {
614
+ "seeds": [
484
615
  {
485
- kind: 'const';
486
- value: [99, 111, 110, 102, 105, 103];
616
+ "kind": "const";
617
+ "value": [
618
+ 99,
619
+ 111,
620
+ 110,
621
+ 102,
622
+ 105,
623
+ 103
624
+ ];
487
625
  }
488
626
  ];
489
627
  };
490
628
  },
491
629
  {
492
- name: 'airdrop';
493
- writable: true;
494
- pda: {
495
- seeds: [
630
+ "name": "airdrop";
631
+ "writable": true;
632
+ "pda": {
633
+ "seeds": [
496
634
  {
497
- kind: 'const';
498
- value: [97, 105, 114, 100, 114, 111, 112];
635
+ "kind": "const";
636
+ "value": [
637
+ 97,
638
+ 105,
639
+ 114,
640
+ 100,
641
+ 114,
642
+ 111,
643
+ 112
644
+ ];
499
645
  },
500
646
  {
501
- kind: 'arg';
502
- path: 'projectId';
647
+ "kind": "arg";
648
+ "path": "projectId";
503
649
  }
504
650
  ];
505
651
  };
506
652
  },
507
653
  {
508
- name: 'systemProgram';
509
- address: '11111111111111111111111111111111';
654
+ "name": "systemProgram";
655
+ "address": "11111111111111111111111111111111";
510
656
  }
511
657
  ];
512
- args: [
658
+ "args": [
513
659
  {
514
- name: 'projectId';
515
- type: 'string';
660
+ "name": "projectId";
661
+ "type": "string";
516
662
  },
517
663
  {
518
- name: 'feeCollector';
519
- type: 'pubkey';
664
+ "name": "feeCollector";
665
+ "type": "pubkey";
520
666
  }
521
667
  ];
522
668
  },
523
669
  {
524
- name: 'setFeeToken';
525
- discriminator: [52, 90, 163, 123, 220, 202, 90, 217];
526
- accounts: [
670
+ "name": "setFeeToken";
671
+ "discriminator": [
672
+ 52,
673
+ 90,
674
+ 163,
675
+ 123,
676
+ 220,
677
+ 202,
678
+ 90,
679
+ 217
680
+ ];
681
+ "accounts": [
527
682
  {
528
- name: 'authority';
529
- writable: true;
530
- signer: true;
683
+ "name": "authority";
684
+ "writable": true;
685
+ "signer": true;
531
686
  },
532
687
  {
533
- name: 'config';
534
- pda: {
535
- seeds: [
688
+ "name": "config";
689
+ "pda": {
690
+ "seeds": [
536
691
  {
537
- kind: 'const';
538
- value: [99, 111, 110, 102, 105, 103];
692
+ "kind": "const";
693
+ "value": [
694
+ 99,
695
+ 111,
696
+ 110,
697
+ 102,
698
+ 105,
699
+ 103
700
+ ];
539
701
  }
540
702
  ];
541
703
  };
542
704
  },
543
705
  {
544
- name: 'airdrop';
545
- writable: true;
546
- pda: {
547
- seeds: [
706
+ "name": "airdrop";
707
+ "writable": true;
708
+ "pda": {
709
+ "seeds": [
548
710
  {
549
- kind: 'const';
550
- value: [97, 105, 114, 100, 114, 111, 112];
711
+ "kind": "const";
712
+ "value": [
713
+ 97,
714
+ 105,
715
+ 114,
716
+ 100,
717
+ 114,
718
+ 111,
719
+ 112
720
+ ];
551
721
  },
552
722
  {
553
- kind: 'arg';
554
- path: 'projectId';
723
+ "kind": "arg";
724
+ "path": "projectId";
555
725
  }
556
726
  ];
557
727
  };
558
728
  },
559
729
  {
560
- name: 'systemProgram';
561
- address: '11111111111111111111111111111111';
730
+ "name": "systemProgram";
731
+ "address": "11111111111111111111111111111111";
562
732
  }
563
733
  ];
564
- args: [
734
+ "args": [
565
735
  {
566
- name: 'projectId';
567
- type: 'string';
736
+ "name": "projectId";
737
+ "type": "string";
568
738
  },
569
739
  {
570
- name: 'feeToken';
571
- type: 'pubkey';
740
+ "name": "feeToken";
741
+ "type": "pubkey";
572
742
  }
573
743
  ];
574
744
  },
575
745
  {
576
- name: 'togglePause';
577
- discriminator: [238, 237, 206, 27, 255, 95, 123, 229];
578
- accounts: [
746
+ "name": "togglePause";
747
+ "discriminator": [
748
+ 238,
749
+ 237,
750
+ 206,
751
+ 27,
752
+ 255,
753
+ 95,
754
+ 123,
755
+ 229
756
+ ];
757
+ "accounts": [
579
758
  {
580
- name: 'authority';
581
- writable: true;
582
- signer: true;
759
+ "name": "authority";
760
+ "writable": true;
761
+ "signer": true;
583
762
  },
584
763
  {
585
- name: 'airdrop';
586
- writable: true;
587
- pda: {
588
- seeds: [
764
+ "name": "airdrop";
765
+ "writable": true;
766
+ "pda": {
767
+ "seeds": [
589
768
  {
590
- kind: 'const';
591
- value: [97, 105, 114, 100, 114, 111, 112];
769
+ "kind": "const";
770
+ "value": [
771
+ 97,
772
+ 105,
773
+ 114,
774
+ 100,
775
+ 114,
776
+ 111,
777
+ 112
778
+ ];
592
779
  },
593
780
  {
594
- kind: 'arg';
595
- path: 'projectId';
781
+ "kind": "arg";
782
+ "path": "projectId";
596
783
  }
597
784
  ];
598
785
  };
599
786
  },
600
787
  {
601
- name: 'systemProgram';
602
- address: '11111111111111111111111111111111';
788
+ "name": "systemProgram";
789
+ "address": "11111111111111111111111111111111";
603
790
  }
604
791
  ];
605
- args: [
792
+ "args": [
606
793
  {
607
- name: 'projectId';
608
- type: 'string';
794
+ "name": "projectId";
795
+ "type": "string";
609
796
  }
610
797
  ];
611
798
  },
612
799
  {
613
- name: 'verify';
614
- discriminator: [133, 161, 141, 48, 120, 198, 88, 150];
615
- accounts: [
800
+ "name": "transferOwnership";
801
+ "discriminator": [
802
+ 65,
803
+ 177,
804
+ 215,
805
+ 73,
806
+ 53,
807
+ 45,
808
+ 99,
809
+ 47
810
+ ];
811
+ "accounts": [
616
812
  {
617
- name: 'authority';
618
- writable: true;
619
- signer: true;
813
+ "name": "airdrop";
814
+ "writable": true;
815
+ "pda": {
816
+ "seeds": [
817
+ {
818
+ "kind": "const";
819
+ "value": [
820
+ 97,
821
+ 105,
822
+ 114,
823
+ 100,
824
+ 114,
825
+ 111,
826
+ 112
827
+ ];
828
+ },
829
+ {
830
+ "kind": "arg";
831
+ "path": "projectId";
832
+ }
833
+ ];
834
+ };
620
835
  },
621
836
  {
622
- name: 'systemProgram';
623
- address: '11111111111111111111111111111111';
837
+ "name": "authority";
838
+ "writable": true;
839
+ "signer": true;
624
840
  },
625
841
  {
626
- name: 'ixSysvar';
627
- docs: [
628
- 'the supplied Sysvar could be anything else.',
629
- 'The Instruction Sysvar has not been implemented',
630
- 'in the Anchor framework yet, so this is the safe approach.'
842
+ "name": "systemProgram";
843
+ "address": "11111111111111111111111111111111";
844
+ }
845
+ ];
846
+ "args": [
847
+ {
848
+ "name": "projectId";
849
+ "type": "string";
850
+ },
851
+ {
852
+ "name": "newOwner";
853
+ "type": "pubkey";
854
+ }
855
+ ];
856
+ },
857
+ {
858
+ "name": "transferProgramAdmin";
859
+ "discriminator": [
860
+ 47,
861
+ 201,
862
+ 152,
863
+ 248,
864
+ 132,
865
+ 27,
866
+ 33,
867
+ 139
868
+ ];
869
+ "accounts": [
870
+ {
871
+ "name": "config";
872
+ "writable": true;
873
+ "pda": {
874
+ "seeds": [
875
+ {
876
+ "kind": "const";
877
+ "value": [
878
+ 99,
879
+ 111,
880
+ 110,
881
+ 102,
882
+ 105,
883
+ 103
884
+ ];
885
+ }
886
+ ];
887
+ };
888
+ },
889
+ {
890
+ "name": "authority";
891
+ "writable": true;
892
+ "signer": true;
893
+ },
894
+ {
895
+ "name": "systemProgram";
896
+ "address": "11111111111111111111111111111111";
897
+ }
898
+ ];
899
+ "args": [
900
+ {
901
+ "name": "newAdmin";
902
+ "type": "pubkey";
903
+ }
904
+ ];
905
+ },
906
+ {
907
+ "name": "verify";
908
+ "discriminator": [
909
+ 133,
910
+ 161,
911
+ 141,
912
+ 48,
913
+ 120,
914
+ 198,
915
+ 88,
916
+ 150
917
+ ];
918
+ "accounts": [
919
+ {
920
+ "name": "authority";
921
+ "writable": true;
922
+ "signer": true;
923
+ },
924
+ {
925
+ "name": "systemProgram";
926
+ "address": "11111111111111111111111111111111";
927
+ },
928
+ {
929
+ "name": "ixSysvar";
930
+ "docs": [
931
+ "the supplied Sysvar could be anything else.",
932
+ "The Instruction Sysvar has not been implemented",
933
+ "in the Anchor framework yet, so this is the safe approach."
631
934
  ];
632
- address: 'Sysvar1nstructions1111111111111111111111111';
935
+ "address": "Sysvar1nstructions1111111111111111111111111";
633
936
  }
634
937
  ];
635
- args: [
938
+ "args": [
636
939
  {
637
- name: 'signer';
638
- type: 'pubkey';
940
+ "name": "signer";
941
+ "type": "pubkey";
639
942
  },
640
943
  {
641
- name: 'hash';
642
- type: {
643
- array: ['u8', 32];
944
+ "name": "hash";
945
+ "type": {
946
+ "array": [
947
+ "u8",
948
+ 32
949
+ ];
644
950
  };
645
951
  },
646
952
  {
647
- name: 'signature';
648
- type: 'bytes';
953
+ "name": "signature";
954
+ "type": "bytes";
649
955
  }
650
956
  ];
651
957
  },
652
958
  {
653
- name: 'version';
654
- discriminator: [118, 65, 195, 198, 129, 216, 252, 192];
655
- accounts: [
656
- {
657
- name: 'version';
658
- writable: true;
659
- pda: {
660
- seeds: [
959
+ "name": "version";
960
+ "discriminator": [
961
+ 118,
962
+ 65,
963
+ 195,
964
+ 198,
965
+ 129,
966
+ 216,
967
+ 252,
968
+ 192
969
+ ];
970
+ "accounts": [
971
+ {
972
+ "name": "version";
973
+ "writable": true;
974
+ "pda": {
975
+ "seeds": [
661
976
  {
662
- kind: 'const';
663
- value: [118, 101, 114, 115, 105, 111, 110];
977
+ "kind": "const";
978
+ "value": [
979
+ 118,
980
+ 101,
981
+ 114,
982
+ 115,
983
+ 105,
984
+ 111,
985
+ 110
986
+ ];
664
987
  }
665
988
  ];
666
989
  };
667
990
  },
668
991
  {
669
- name: 'authority';
670
- writable: true;
671
- signer: true;
992
+ "name": "authority";
993
+ "writable": true;
994
+ "signer": true;
672
995
  },
673
996
  {
674
- name: 'systemProgram';
675
- address: '11111111111111111111111111111111';
997
+ "name": "systemProgram";
998
+ "address": "11111111111111111111111111111111";
676
999
  }
677
1000
  ];
678
- args: [];
1001
+ "args": [];
679
1002
  },
680
1003
  {
681
- name: 'withdraw';
682
- discriminator: [183, 18, 70, 156, 148, 109, 161, 34];
683
- accounts: [
1004
+ "name": "withdraw";
1005
+ "discriminator": [
1006
+ 183,
1007
+ 18,
1008
+ 70,
1009
+ 156,
1010
+ 148,
1011
+ 109,
1012
+ 161,
1013
+ 34
1014
+ ];
1015
+ "accounts": [
684
1016
  {
685
- name: 'authority';
686
- writable: true;
687
- signer: true;
1017
+ "name": "authority";
1018
+ "writable": true;
1019
+ "signer": true;
688
1020
  },
689
1021
  {
690
- name: 'airdrop';
691
- writable: true;
692
- pda: {
693
- seeds: [
1022
+ "name": "airdrop";
1023
+ "writable": true;
1024
+ "pda": {
1025
+ "seeds": [
694
1026
  {
695
- kind: 'const';
696
- value: [97, 105, 114, 100, 114, 111, 112];
1027
+ "kind": "const";
1028
+ "value": [
1029
+ 97,
1030
+ 105,
1031
+ 114,
1032
+ 100,
1033
+ 114,
1034
+ 111,
1035
+ 112
1036
+ ];
697
1037
  },
698
1038
  {
699
- kind: 'arg';
700
- path: 'projectId';
1039
+ "kind": "arg";
1040
+ "path": "projectId";
701
1041
  }
702
1042
  ];
703
1043
  };
704
1044
  },
705
1045
  {
706
- name: 'vault';
707
- writable: true;
708
- pda: {
709
- seeds: [
1046
+ "name": "vault";
1047
+ "writable": true;
1048
+ "pda": {
1049
+ "seeds": [
710
1050
  {
711
- kind: 'const';
712
- value: [118, 97, 117, 108, 116];
1051
+ "kind": "const";
1052
+ "value": [
1053
+ 118,
1054
+ 97,
1055
+ 117,
1056
+ 108,
1057
+ 116
1058
+ ];
713
1059
  },
714
1060
  {
715
- kind: 'arg';
716
- path: 'projectId';
1061
+ "kind": "account";
1062
+ "path": "airdrop";
717
1063
  }
718
1064
  ];
719
1065
  };
720
1066
  },
721
1067
  {
722
- name: 'authorityAta';
723
- writable: true;
724
- pda: {
725
- seeds: [
1068
+ "name": "authorityAta";
1069
+ "writable": true;
1070
+ "pda": {
1071
+ "seeds": [
726
1072
  {
727
- kind: 'account';
728
- path: 'authority';
1073
+ "kind": "account";
1074
+ "path": "authority";
729
1075
  },
730
1076
  {
731
- kind: 'const';
732
- value: [
1077
+ "kind": "const";
1078
+ "value": [
733
1079
  6,
734
1080
  221,
735
1081
  246,
@@ -765,13 +1111,13 @@ export type FungibleTokenDistributorSolana = {
765
1111
  ];
766
1112
  },
767
1113
  {
768
- kind: 'account';
769
- path: 'tokenMint';
1114
+ "kind": "account";
1115
+ "path": "tokenMint";
770
1116
  }
771
1117
  ];
772
- program: {
773
- kind: 'const';
774
- value: [
1118
+ "program": {
1119
+ "kind": "const";
1120
+ "value": [
775
1121
  140,
776
1122
  151,
777
1123
  37,
@@ -809,210 +1155,299 @@ export type FungibleTokenDistributorSolana = {
809
1155
  };
810
1156
  },
811
1157
  {
812
- name: 'tokenMint';
1158
+ "name": "tokenMint";
813
1159
  },
814
1160
  {
815
- name: 'systemProgram';
816
- address: '11111111111111111111111111111111';
1161
+ "name": "systemProgram";
1162
+ "address": "11111111111111111111111111111111";
817
1163
  },
818
1164
  {
819
- name: 'tokenProgram';
1165
+ "name": "tokenProgram";
820
1166
  },
821
1167
  {
822
- name: 'associatedTokenProgram';
823
- address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
1168
+ "name": "associatedTokenProgram";
1169
+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
824
1170
  }
825
1171
  ];
826
- args: [
1172
+ "args": [
827
1173
  {
828
- name: 'projectId';
829
- type: 'string';
1174
+ "name": "projectId";
1175
+ "type": "string";
830
1176
  }
831
1177
  ];
832
1178
  }
833
1179
  ];
834
- accounts: [
1180
+ "accounts": [
835
1181
  {
836
- name: 'airdrop';
837
- discriminator: [31, 112, 159, 158, 124, 237, 9, 241];
1182
+ "name": "airdrop";
1183
+ "discriminator": [
1184
+ 31,
1185
+ 112,
1186
+ 159,
1187
+ 158,
1188
+ 124,
1189
+ 237,
1190
+ 9,
1191
+ 241
1192
+ ];
838
1193
  },
839
1194
  {
840
- name: 'claim';
841
- discriminator: [155, 70, 22, 176, 123, 215, 246, 102];
1195
+ "name": "claim";
1196
+ "discriminator": [
1197
+ 155,
1198
+ 70,
1199
+ 22,
1200
+ 176,
1201
+ 123,
1202
+ 215,
1203
+ 246,
1204
+ 102
1205
+ ];
842
1206
  },
843
1207
  {
844
- name: 'config';
845
- discriminator: [155, 12, 170, 224, 30, 250, 204, 130];
1208
+ "name": "config";
1209
+ "discriminator": [
1210
+ 155,
1211
+ 12,
1212
+ 170,
1213
+ 224,
1214
+ 30,
1215
+ 250,
1216
+ 204,
1217
+ 130
1218
+ ];
846
1219
  },
847
1220
  {
848
- name: 'feeCollectorStorage';
849
- discriminator: [204, 100, 40, 33, 80, 124, 161, 126];
1221
+ "name": "feeCollectorStorage";
1222
+ "discriminator": [
1223
+ 204,
1224
+ 100,
1225
+ 40,
1226
+ 33,
1227
+ 80,
1228
+ 124,
1229
+ 161,
1230
+ 126
1231
+ ];
850
1232
  },
851
1233
  {
852
- name: 'version';
853
- discriminator: [234, 4, 254, 42, 242, 196, 136, 199];
1234
+ "name": "version";
1235
+ "discriminator": [
1236
+ 234,
1237
+ 4,
1238
+ 254,
1239
+ 42,
1240
+ 242,
1241
+ 196,
1242
+ 136,
1243
+ 199
1244
+ ];
854
1245
  }
855
1246
  ];
856
- events: [
1247
+ "events": [
857
1248
  {
858
- name: 'claimDelegateSet';
859
- discriminator: [82, 153, 121, 138, 224, 132, 71, 59];
1249
+ "name": "claimDelegateSet";
1250
+ "discriminator": [
1251
+ 82,
1252
+ 153,
1253
+ 121,
1254
+ 138,
1255
+ 224,
1256
+ 132,
1257
+ 71,
1258
+ 59
1259
+ ];
860
1260
  },
861
1261
  {
862
- name: 'claimed';
863
- discriminator: [217, 192, 123, 72, 108, 150, 248, 33];
1262
+ "name": "claimed";
1263
+ "discriminator": [
1264
+ 217,
1265
+ 192,
1266
+ 123,
1267
+ 72,
1268
+ 108,
1269
+ 150,
1270
+ 248,
1271
+ 33
1272
+ ];
864
1273
  },
865
1274
  {
866
- name: 'deployed';
867
- discriminator: [50, 145, 94, 59, 169, 255, 159, 186];
1275
+ "name": "deployed";
1276
+ "discriminator": [
1277
+ 50,
1278
+ 145,
1279
+ 94,
1280
+ 59,
1281
+ 169,
1282
+ 255,
1283
+ 159,
1284
+ 186
1285
+ ];
868
1286
  },
869
1287
  {
870
- name: 'initialized';
871
- discriminator: [208, 213, 115, 98, 115, 82, 201, 209];
1288
+ "name": "initialized";
1289
+ "discriminator": [
1290
+ 208,
1291
+ 213,
1292
+ 115,
1293
+ 98,
1294
+ 115,
1295
+ 82,
1296
+ 201,
1297
+ 209
1298
+ ];
872
1299
  }
873
1300
  ];
874
- errors: [
1301
+ "errors": [
875
1302
  {
876
- code: 6000;
877
- name: 'alreadyDeployed';
878
- msg: 'alreadyDeployed';
1303
+ "code": 6000;
1304
+ "name": "alreadyDeployed";
1305
+ "msg": "alreadyDeployed";
879
1306
  },
880
1307
  {
881
- code: 6001;
882
- name: 'unsupportedOperation';
883
- msg: 'unsupportedOperation';
1308
+ "code": 6001;
1309
+ "name": "unsupportedOperation";
1310
+ "msg": "unsupportedOperation";
884
1311
  },
885
1312
  {
886
- code: 6002;
887
- name: 'timeInactive';
888
- msg: 'timeInactive';
1313
+ "code": 6002;
1314
+ "name": "timeInactive";
1315
+ "msg": "timeInactive";
889
1316
  },
890
1317
  {
891
- code: 6003;
892
- name: 'invalidSignature';
893
- msg: 'invalidSignature';
1318
+ "code": 6003;
1319
+ "name": "invalidSignature";
1320
+ "msg": "invalidSignature";
894
1321
  },
895
1322
  {
896
- code: 6004;
897
- name: 'incorrectFees';
898
- msg: 'incorrectFees';
1323
+ "code": 6004;
1324
+ "name": "incorrectFees";
1325
+ "msg": "incorrectFees";
899
1326
  },
900
1327
  {
901
- code: 6005;
902
- name: 'outsideClaimableTimeRange';
903
- msg: 'outsideClaimableTimeRange';
1328
+ "code": 6005;
1329
+ "name": "outsideClaimableTimeRange";
1330
+ "msg": "outsideClaimableTimeRange";
904
1331
  },
905
1332
  {
906
- code: 6006;
907
- name: 'alreadyInitialized';
908
- msg: 'alreadyInitialized';
1333
+ "code": 6006;
1334
+ "name": "alreadyInitialized";
1335
+ "msg": "alreadyInitialized";
909
1336
  },
910
1337
  {
911
- code: 6007;
912
- name: 'notOwner';
913
- msg: 'notOwner';
1338
+ "code": 6007;
1339
+ "name": "notOwner";
1340
+ "msg": "notOwner";
914
1341
  },
915
1342
  {
916
- code: 6008;
917
- name: 'notDeployer';
918
- msg: 'notDeployer';
1343
+ "code": 6008;
1344
+ "name": "notDeployer";
1345
+ "msg": "notDeployer";
919
1346
  },
920
1347
  {
921
- code: 6009;
922
- name: 'ownableUnauthorizedAccount';
923
- msg: 'ownableUnauthorizedAccount';
1348
+ "code": 6009;
1349
+ "name": "ownableUnauthorizedAccount";
1350
+ "msg": "ownableUnauthorizedAccount";
924
1351
  },
925
1352
  {
926
- code: 6010;
927
- name: 'invalidFeeCollector';
928
- msg: 'invalidFeeCollector';
1353
+ "code": 6010;
1354
+ "name": "invalidFeeCollector";
1355
+ "msg": "invalidFeeCollector";
1356
+ },
1357
+ {
1358
+ "code": 6011;
1359
+ "name": "paused";
1360
+ "msg": "paused";
929
1361
  }
930
1362
  ];
931
- types: [
1363
+ "types": [
932
1364
  {
933
- name: 'airdrop';
934
- type: {
935
- kind: 'struct';
936
- fields: [
1365
+ "name": "airdrop";
1366
+ "type": {
1367
+ "kind": "struct";
1368
+ "fields": [
937
1369
  {
938
- name: 'owner';
939
- type: 'pubkey';
1370
+ "name": "owner";
1371
+ "type": "pubkey";
940
1372
  },
941
1373
  {
942
- name: 'authorizedSigner';
943
- type: 'pubkey';
1374
+ "name": "authorizedSigner";
1375
+ "type": "pubkey";
944
1376
  },
945
1377
  {
946
- name: 'token';
947
- type: 'pubkey';
1378
+ "name": "token";
1379
+ "type": "pubkey";
948
1380
  },
949
1381
  {
950
- name: 'startTime';
951
- type: 'u64';
1382
+ "name": "startTime";
1383
+ "type": "u64";
952
1384
  },
953
1385
  {
954
- name: 'endTime';
955
- type: 'u64';
1386
+ "name": "endTime";
1387
+ "type": "u64";
956
1388
  },
957
1389
  {
958
- name: 'feeCollector';
959
- type: 'pubkey';
1390
+ "name": "feeCollector";
1391
+ "type": "pubkey";
960
1392
  },
961
1393
  {
962
- name: 'feeToken';
963
- type: 'pubkey';
1394
+ "name": "feeToken";
1395
+ "type": "pubkey";
964
1396
  },
965
1397
  {
966
- name: 'paused';
967
- type: 'bool';
1398
+ "name": "paused";
1399
+ "type": "bool";
968
1400
  }
969
1401
  ];
970
1402
  };
971
1403
  },
972
1404
  {
973
- name: 'claim';
974
- type: {
975
- kind: 'struct';
976
- fields: [
1405
+ "name": "claim";
1406
+ "type": {
1407
+ "kind": "struct";
1408
+ "fields": [
977
1409
  {
978
- name: 'used';
979
- type: 'bool';
1410
+ "name": "used";
1411
+ "type": "bool";
980
1412
  }
981
1413
  ];
982
1414
  };
983
1415
  },
984
1416
  {
985
- name: 'claimDelegateSet';
986
- type: {
987
- kind: 'struct';
988
- fields: [
1417
+ "name": "claimDelegateSet";
1418
+ "type": {
1419
+ "kind": "struct";
1420
+ "fields": [
989
1421
  {
990
- name: 'delegate';
991
- type: 'pubkey';
1422
+ "name": "delegate";
1423
+ "type": "pubkey";
992
1424
  }
993
1425
  ];
994
1426
  };
995
1427
  },
996
1428
  {
997
- name: 'claimed';
998
- type: {
999
- kind: 'struct';
1000
- fields: [
1429
+ "name": "claimed";
1430
+ "type": {
1431
+ "kind": "struct";
1432
+ "fields": [
1001
1433
  {
1002
- name: 'recipient';
1003
- type: 'pubkey';
1434
+ "name": "recipient";
1435
+ "type": "pubkey";
1004
1436
  },
1005
1437
  {
1006
- name: 'group';
1007
- type: {
1008
- array: ['u8', 32];
1438
+ "name": "group";
1439
+ "type": {
1440
+ "array": [
1441
+ "u8",
1442
+ 32
1443
+ ];
1009
1444
  };
1010
1445
  },
1011
1446
  {
1012
- name: 'data';
1013
- type: {
1014
- defined: {
1015
- name: 'tokenTableFungibleDistributorData';
1447
+ "name": "data";
1448
+ "type": {
1449
+ "defined": {
1450
+ "name": "tokenTableFungibleDistributorData";
1016
1451
  };
1017
1452
  };
1018
1453
  }
@@ -1020,76 +1455,76 @@ export type FungibleTokenDistributorSolana = {
1020
1455
  };
1021
1456
  },
1022
1457
  {
1023
- name: 'config';
1024
- type: {
1025
- kind: 'struct';
1026
- fields: [
1458
+ "name": "config";
1459
+ "type": {
1460
+ "kind": "struct";
1461
+ "fields": [
1027
1462
  {
1028
- name: 'deployer';
1029
- type: 'pubkey';
1463
+ "name": "admin";
1464
+ "type": "pubkey";
1030
1465
  }
1031
1466
  ];
1032
1467
  };
1033
1468
  },
1034
1469
  {
1035
- name: 'deployed';
1036
- type: {
1037
- kind: 'struct';
1038
- fields: [];
1470
+ "name": "deployed";
1471
+ "type": {
1472
+ "kind": "struct";
1473
+ "fields": [];
1039
1474
  };
1040
1475
  },
1041
1476
  {
1042
- name: 'feeCollectorStorage';
1043
- type: {
1044
- kind: 'struct';
1045
- fields: [
1477
+ "name": "feeCollectorStorage";
1478
+ "type": {
1479
+ "kind": "struct";
1480
+ "fields": [
1046
1481
  {
1047
- name: 'owner';
1048
- type: 'pubkey';
1482
+ "name": "owner";
1483
+ "type": "pubkey";
1049
1484
  },
1050
1485
  {
1051
- name: 'defaultFeesBips';
1052
- type: 'u64';
1486
+ "name": "defaultFeesBips";
1487
+ "type": "u64";
1053
1488
  }
1054
1489
  ];
1055
1490
  };
1056
1491
  },
1057
1492
  {
1058
- name: 'initialized';
1059
- type: {
1060
- kind: 'struct';
1061
- fields: [
1493
+ "name": "initialized";
1494
+ "type": {
1495
+ "kind": "struct";
1496
+ "fields": [
1062
1497
  {
1063
- name: 'projectId';
1064
- type: 'string';
1498
+ "name": "projectId";
1499
+ "type": "string";
1065
1500
  }
1066
1501
  ];
1067
1502
  };
1068
1503
  },
1069
1504
  {
1070
- name: 'tokenTableFungibleDistributorData';
1071
- type: {
1072
- kind: 'struct';
1073
- fields: [
1505
+ "name": "tokenTableFungibleDistributorData";
1506
+ "type": {
1507
+ "kind": "struct";
1508
+ "fields": [
1074
1509
  {
1075
- name: 'claimableTimestamp';
1076
- type: 'u64';
1510
+ "name": "claimableTimestamp";
1511
+ "type": "u64";
1077
1512
  },
1078
1513
  {
1079
- name: 'claimableAmount';
1080
- type: 'u64';
1514
+ "name": "claimableAmount";
1515
+ "type": "u64";
1081
1516
  }
1082
1517
  ];
1083
1518
  };
1084
1519
  },
1085
1520
  {
1086
- name: 'version';
1087
- type: {
1088
- kind: 'struct';
1089
- fields: [
1521
+ "name": "version";
1522
+ "type": {
1523
+ "kind": "struct";
1524
+ "fields": [
1090
1525
  {
1091
- name: 'version';
1092
- type: 'string';
1526
+ "name": "version";
1527
+ "type": "string";
1093
1528
  }
1094
1529
  ];
1095
1530
  };