@lightprotocol/stateless.js 0.16.0 → 0.17.1
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/cjs/browser/actions/common.d.ts +1 -4
- package/dist/cjs/browser/actions/compress.d.ts +2 -14
- package/dist/cjs/browser/actions/create-account.d.ts +3 -27
- package/dist/cjs/browser/actions/decompress.d.ts +2 -14
- package/dist/cjs/browser/actions/transfer.d.ts +2 -15
- package/dist/cjs/browser/constants.d.ts +7 -14
- package/dist/cjs/browser/errors.d.ts +49 -40
- package/dist/cjs/browser/idls/account_compression.d.ts +56 -56
- package/dist/cjs/browser/idls/index.d.ts +4 -22
- package/dist/cjs/browser/idls/light_compressed_token.d.ts +209 -89
- package/dist/cjs/browser/idls/light_registry.d.ts +60 -60
- package/dist/cjs/browser/idls/light_system_program.d.ts +55 -55
- package/dist/cjs/browser/index.cjs +3223 -4792
- package/dist/cjs/browser/index.cjs.map +1 -1
- package/dist/cjs/browser/instruction/pack-compressed-accounts.d.ts +5 -24
- package/dist/cjs/browser/programs/system.d.ts +10 -61
- package/dist/cjs/browser/rpc-interface.d.ts +871 -1127
- package/dist/cjs/browser/rpc.d.ts +31 -143
- package/dist/cjs/browser/state/BN254.d.ts +2 -9
- package/dist/cjs/browser/state/compressed-account.d.ts +6 -23
- package/dist/cjs/browser/test-helpers/merkle-tree/indexed-array.d.ts +4 -18
- package/dist/cjs/browser/test-helpers/merkle-tree/merkle-tree.d.ts +6 -19
- package/dist/cjs/browser/test-helpers/test-rpc/get-compressed-accounts.d.ts +3 -12
- package/dist/cjs/browser/test-helpers/test-rpc/get-compressed-token-accounts.d.ts +5 -21
- package/dist/cjs/browser/test-helpers/test-rpc/get-parsed-events.d.ts +3 -10
- package/dist/cjs/browser/test-helpers/test-rpc/test-rpc.d.ts +31 -135
- package/dist/cjs/browser/utils/address.d.ts +3 -12
- package/dist/cjs/browser/utils/airdrop.d.ts +2 -14
- package/dist/cjs/browser/utils/calculate-compute-unit-price.d.ts +1 -4
- package/dist/cjs/browser/utils/conversion.d.ts +3 -9
- package/dist/cjs/browser/utils/parse-validity-proof.d.ts +1 -3
- package/dist/cjs/browser/utils/pipe.d.ts +1 -4
- package/dist/cjs/browser/utils/send-and-confirm.d.ts +11 -42
- package/dist/cjs/browser/utils/test-utils.d.ts +1 -5
- package/dist/cjs/browser/utils/validation.d.ts +2 -9
- package/dist/cjs/browser/wallet/interface.d.ts +4 -15
- package/dist/cjs/browser/wallet/use-wallet.d.ts +5 -20
- package/dist/cjs/node/actions/common.d.ts +1 -4
- package/dist/cjs/node/actions/compress.d.ts +2 -14
- package/dist/cjs/node/actions/create-account.d.ts +3 -27
- package/dist/cjs/node/actions/decompress.d.ts +2 -14
- package/dist/cjs/node/actions/transfer.d.ts +2 -15
- package/dist/cjs/node/constants.d.ts +7 -14
- package/dist/cjs/node/errors.d.ts +49 -40
- package/dist/cjs/node/idls/account_compression.d.ts +56 -56
- package/dist/cjs/node/idls/index.d.ts +4 -22
- package/dist/cjs/node/idls/light_compressed_token.d.ts +209 -89
- package/dist/cjs/node/idls/light_registry.d.ts +60 -60
- package/dist/cjs/node/idls/light_system_program.d.ts +55 -55
- package/dist/cjs/node/index.cjs +1070 -2329
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/cjs/node/instruction/pack-compressed-accounts.d.ts +5 -24
- package/dist/cjs/node/programs/system.d.ts +10 -61
- package/dist/cjs/node/rpc-interface.d.ts +871 -1127
- package/dist/cjs/node/rpc.d.ts +31 -143
- package/dist/cjs/node/state/BN254.d.ts +2 -9
- package/dist/cjs/node/state/compressed-account.d.ts +6 -23
- package/dist/cjs/node/test-helpers/merkle-tree/indexed-array.d.ts +4 -18
- package/dist/cjs/node/test-helpers/merkle-tree/merkle-tree.d.ts +6 -19
- package/dist/cjs/node/test-helpers/test-rpc/get-compressed-accounts.d.ts +3 -12
- package/dist/cjs/node/test-helpers/test-rpc/get-compressed-token-accounts.d.ts +5 -21
- package/dist/cjs/node/test-helpers/test-rpc/get-parsed-events.d.ts +3 -10
- package/dist/cjs/node/test-helpers/test-rpc/test-rpc.d.ts +31 -135
- package/dist/cjs/node/utils/address.d.ts +3 -12
- package/dist/cjs/node/utils/airdrop.d.ts +2 -14
- package/dist/cjs/node/utils/calculate-compute-unit-price.d.ts +1 -4
- package/dist/cjs/node/utils/conversion.d.ts +3 -9
- package/dist/cjs/node/utils/parse-validity-proof.d.ts +1 -3
- package/dist/cjs/node/utils/pipe.d.ts +1 -4
- package/dist/cjs/node/utils/send-and-confirm.d.ts +11 -42
- package/dist/cjs/node/utils/test-utils.d.ts +1 -5
- package/dist/cjs/node/utils/validation.d.ts +2 -9
- package/dist/cjs/node/wallet/interface.d.ts +4 -15
- package/dist/cjs/node/wallet/use-wallet.d.ts +5 -20
- package/dist/es/browser/actions/common.d.ts +1 -4
- package/dist/es/browser/actions/compress.d.ts +2 -14
- package/dist/es/browser/actions/create-account.d.ts +3 -27
- package/dist/es/browser/actions/decompress.d.ts +2 -14
- package/dist/es/browser/actions/transfer.d.ts +2 -15
- package/dist/es/browser/constants.d.ts +7 -14
- package/dist/es/browser/errors.d.ts +49 -40
- package/dist/es/browser/idls/account_compression.d.ts +56 -56
- package/dist/es/browser/idls/index.d.ts +4 -22
- package/dist/es/browser/idls/light_compressed_token.d.ts +209 -89
- package/dist/es/browser/idls/light_registry.d.ts +60 -60
- package/dist/es/browser/idls/light_system_program.d.ts +55 -55
- package/dist/es/browser/index.js +3209 -4698
- package/dist/es/browser/index.js.map +1 -1
- package/dist/es/browser/instruction/pack-compressed-accounts.d.ts +5 -24
- package/dist/es/browser/programs/system.d.ts +10 -61
- package/dist/es/browser/rpc-interface.d.ts +871 -1127
- package/dist/es/browser/rpc.d.ts +31 -143
- package/dist/es/browser/state/BN254.d.ts +2 -9
- package/dist/es/browser/state/compressed-account.d.ts +6 -23
- package/dist/es/browser/test-helpers/merkle-tree/indexed-array.d.ts +4 -18
- package/dist/es/browser/test-helpers/merkle-tree/merkle-tree.d.ts +6 -19
- package/dist/es/browser/test-helpers/test-rpc/get-compressed-accounts.d.ts +3 -12
- package/dist/es/browser/test-helpers/test-rpc/get-compressed-token-accounts.d.ts +5 -21
- package/dist/es/browser/test-helpers/test-rpc/get-parsed-events.d.ts +3 -10
- package/dist/es/browser/test-helpers/test-rpc/test-rpc.d.ts +31 -135
- package/dist/es/browser/utils/address.d.ts +3 -12
- package/dist/es/browser/utils/airdrop.d.ts +2 -14
- package/dist/es/browser/utils/calculate-compute-unit-price.d.ts +1 -4
- package/dist/es/browser/utils/conversion.d.ts +3 -9
- package/dist/es/browser/utils/parse-validity-proof.d.ts +1 -3
- package/dist/es/browser/utils/pipe.d.ts +1 -4
- package/dist/es/browser/utils/send-and-confirm.d.ts +11 -42
- package/dist/es/browser/utils/test-utils.d.ts +1 -5
- package/dist/es/browser/utils/validation.d.ts +2 -9
- package/dist/es/browser/wallet/interface.d.ts +4 -15
- package/dist/es/browser/wallet/use-wallet.d.ts +5 -20
- package/dist/types/index.d.ts +1433 -2192
- package/package.json +1 -1
|
@@ -83,7 +83,7 @@ export type AccountCompression = {
|
|
|
83
83
|
array: ['u8', 32];
|
|
84
84
|
};
|
|
85
85
|
value: '[11 , 188 , 15 , 192 , 187 , 71 , 202 , 47 , 116 , 196 , 17 , 46 , 148 , 171 , 19 , 207 , 163 , 198 , 52 , 229 , 220 , 23 , 234 , 203 , 3 , 205 , 26 , 35 , 205 , 126 , 120 , 124 ,]';
|
|
86
|
-
}
|
|
86
|
+
}
|
|
87
87
|
];
|
|
88
88
|
instructions: [
|
|
89
89
|
{
|
|
@@ -109,7 +109,7 @@ export type AccountCompression = {
|
|
|
109
109
|
isMut: false;
|
|
110
110
|
isSigner: false;
|
|
111
111
|
isOptional: true;
|
|
112
|
-
}
|
|
112
|
+
}
|
|
113
113
|
];
|
|
114
114
|
args: [
|
|
115
115
|
{
|
|
@@ -139,7 +139,7 @@ export type AccountCompression = {
|
|
|
139
139
|
type: {
|
|
140
140
|
defined: 'AddressQueueConfig';
|
|
141
141
|
};
|
|
142
|
-
}
|
|
142
|
+
}
|
|
143
143
|
];
|
|
144
144
|
},
|
|
145
145
|
{
|
|
@@ -166,7 +166,7 @@ export type AccountCompression = {
|
|
|
166
166
|
name: 'systemProgram';
|
|
167
167
|
isMut: false;
|
|
168
168
|
isSigner: false;
|
|
169
|
-
}
|
|
169
|
+
}
|
|
170
170
|
];
|
|
171
171
|
args: [
|
|
172
172
|
{
|
|
@@ -176,7 +176,7 @@ export type AccountCompression = {
|
|
|
176
176
|
array: ['u8', 32];
|
|
177
177
|
};
|
|
178
178
|
};
|
|
179
|
-
}
|
|
179
|
+
}
|
|
180
180
|
];
|
|
181
181
|
},
|
|
182
182
|
{
|
|
@@ -208,7 +208,7 @@ export type AccountCompression = {
|
|
|
208
208
|
name: 'logWrapper';
|
|
209
209
|
isMut: false;
|
|
210
210
|
isSigner: false;
|
|
211
|
-
}
|
|
211
|
+
}
|
|
212
212
|
];
|
|
213
213
|
args: [
|
|
214
214
|
{
|
|
@@ -250,10 +250,10 @@ export type AccountCompression = {
|
|
|
250
250
|
{
|
|
251
251
|
array: ['u8', 32];
|
|
252
252
|
},
|
|
253
|
-
16
|
|
253
|
+
16
|
|
254
254
|
];
|
|
255
255
|
};
|
|
256
|
-
}
|
|
256
|
+
}
|
|
257
257
|
];
|
|
258
258
|
},
|
|
259
259
|
{
|
|
@@ -264,7 +264,7 @@ export type AccountCompression = {
|
|
|
264
264
|
isMut: true;
|
|
265
265
|
isSigner: true;
|
|
266
266
|
docs: [
|
|
267
|
-
'Signer used to receive rollover accounts rentexemption reimbursement.'
|
|
267
|
+
'Signer used to receive rollover accounts rentexemption reimbursement.'
|
|
268
268
|
];
|
|
269
269
|
},
|
|
270
270
|
{
|
|
@@ -297,7 +297,7 @@ export type AccountCompression = {
|
|
|
297
297
|
name: 'oldQueue';
|
|
298
298
|
isMut: true;
|
|
299
299
|
isSigner: false;
|
|
300
|
-
}
|
|
300
|
+
}
|
|
301
301
|
];
|
|
302
302
|
args: [];
|
|
303
303
|
},
|
|
@@ -305,7 +305,7 @@ export type AccountCompression = {
|
|
|
305
305
|
name: 'initializeGroupAuthority';
|
|
306
306
|
docs: [
|
|
307
307
|
'initialize group (a group can be used to give multiple programs access',
|
|
308
|
-
'to the same Merkle trees by registering the programs to the group)'
|
|
308
|
+
'to the same Merkle trees by registering the programs to the group)'
|
|
309
309
|
];
|
|
310
310
|
accounts: [
|
|
311
311
|
{
|
|
@@ -318,7 +318,7 @@ export type AccountCompression = {
|
|
|
318
318
|
isMut: false;
|
|
319
319
|
isSigner: true;
|
|
320
320
|
docs: [
|
|
321
|
-
'Seed public key used to derive the group authority.'
|
|
321
|
+
'Seed public key used to derive the group authority.'
|
|
322
322
|
];
|
|
323
323
|
},
|
|
324
324
|
{
|
|
@@ -330,13 +330,13 @@ export type AccountCompression = {
|
|
|
330
330
|
name: 'systemProgram';
|
|
331
331
|
isMut: false;
|
|
332
332
|
isSigner: false;
|
|
333
|
-
}
|
|
333
|
+
}
|
|
334
334
|
];
|
|
335
335
|
args: [
|
|
336
336
|
{
|
|
337
337
|
name: 'authority';
|
|
338
338
|
type: 'publicKey';
|
|
339
|
-
}
|
|
339
|
+
}
|
|
340
340
|
];
|
|
341
341
|
},
|
|
342
342
|
{
|
|
@@ -351,13 +351,13 @@ export type AccountCompression = {
|
|
|
351
351
|
name: 'groupAuthority';
|
|
352
352
|
isMut: true;
|
|
353
353
|
isSigner: false;
|
|
354
|
-
}
|
|
354
|
+
}
|
|
355
355
|
];
|
|
356
356
|
args: [
|
|
357
357
|
{
|
|
358
358
|
name: 'authority';
|
|
359
359
|
type: 'publicKey';
|
|
360
|
-
}
|
|
360
|
+
}
|
|
361
361
|
];
|
|
362
362
|
},
|
|
363
363
|
{
|
|
@@ -387,7 +387,7 @@ export type AccountCompression = {
|
|
|
387
387
|
name: 'systemProgram';
|
|
388
388
|
isMut: false;
|
|
389
389
|
isSigner: false;
|
|
390
|
-
}
|
|
390
|
+
}
|
|
391
391
|
];
|
|
392
392
|
args: [];
|
|
393
393
|
},
|
|
@@ -413,7 +413,7 @@ export type AccountCompression = {
|
|
|
413
413
|
name: 'closeRecipient';
|
|
414
414
|
isMut: true;
|
|
415
415
|
isSigner: false;
|
|
416
|
-
}
|
|
416
|
+
}
|
|
417
417
|
];
|
|
418
418
|
args: [];
|
|
419
419
|
},
|
|
@@ -421,7 +421,7 @@ export type AccountCompression = {
|
|
|
421
421
|
name: 'initializeStateMerkleTreeAndNullifierQueue';
|
|
422
422
|
docs: [
|
|
423
423
|
'Initializes a new Merkle tree from config bytes.',
|
|
424
|
-
'Index is an optional identifier and not checked by the program.'
|
|
424
|
+
'Index is an optional identifier and not checked by the program.'
|
|
425
425
|
];
|
|
426
426
|
accounts: [
|
|
427
427
|
{
|
|
@@ -444,7 +444,7 @@ export type AccountCompression = {
|
|
|
444
444
|
isMut: false;
|
|
445
445
|
isSigner: false;
|
|
446
446
|
isOptional: true;
|
|
447
|
-
}
|
|
447
|
+
}
|
|
448
448
|
];
|
|
449
449
|
args: [
|
|
450
450
|
{
|
|
@@ -478,7 +478,7 @@ export type AccountCompression = {
|
|
|
478
478
|
{
|
|
479
479
|
name: 'additionalBytes';
|
|
480
480
|
type: 'u64';
|
|
481
|
-
}
|
|
481
|
+
}
|
|
482
482
|
];
|
|
483
483
|
},
|
|
484
484
|
{
|
|
@@ -495,7 +495,7 @@ export type AccountCompression = {
|
|
|
495
495
|
isMut: false;
|
|
496
496
|
isSigner: true;
|
|
497
497
|
docs: [
|
|
498
|
-
'Checked whether instruction is accessed by a registered program or owner = authority.'
|
|
498
|
+
'Checked whether instruction is accessed by a registered program or owner = authority.'
|
|
499
499
|
];
|
|
500
500
|
},
|
|
501
501
|
{
|
|
@@ -505,14 +505,14 @@ export type AccountCompression = {
|
|
|
505
505
|
isOptional: true;
|
|
506
506
|
docs: [
|
|
507
507
|
'Some assumes that the Merkle trees are accessed by a registered program.',
|
|
508
|
-
'None assumes that the Merkle trees are accessed by its owner.'
|
|
508
|
+
'None assumes that the Merkle trees are accessed by its owner.'
|
|
509
509
|
];
|
|
510
510
|
},
|
|
511
511
|
{
|
|
512
512
|
name: 'systemProgram';
|
|
513
513
|
isMut: false;
|
|
514
514
|
isSigner: false;
|
|
515
|
-
}
|
|
515
|
+
}
|
|
516
516
|
];
|
|
517
517
|
args: [
|
|
518
518
|
{
|
|
@@ -522,7 +522,7 @@ export type AccountCompression = {
|
|
|
522
522
|
defined: '(u8,[u8;32])';
|
|
523
523
|
};
|
|
524
524
|
};
|
|
525
|
-
}
|
|
525
|
+
}
|
|
526
526
|
];
|
|
527
527
|
},
|
|
528
528
|
{
|
|
@@ -553,7 +553,7 @@ export type AccountCompression = {
|
|
|
553
553
|
name: 'nullifierQueue';
|
|
554
554
|
isMut: true;
|
|
555
555
|
isSigner: false;
|
|
556
|
-
}
|
|
556
|
+
}
|
|
557
557
|
];
|
|
558
558
|
args: [
|
|
559
559
|
{
|
|
@@ -583,7 +583,7 @@ export type AccountCompression = {
|
|
|
583
583
|
};
|
|
584
584
|
};
|
|
585
585
|
};
|
|
586
|
-
}
|
|
586
|
+
}
|
|
587
587
|
];
|
|
588
588
|
},
|
|
589
589
|
{
|
|
@@ -610,7 +610,7 @@ export type AccountCompression = {
|
|
|
610
610
|
name: 'systemProgram';
|
|
611
611
|
isMut: false;
|
|
612
612
|
isSigner: false;
|
|
613
|
-
}
|
|
613
|
+
}
|
|
614
614
|
];
|
|
615
615
|
args: [
|
|
616
616
|
{
|
|
@@ -620,7 +620,7 @@ export type AccountCompression = {
|
|
|
620
620
|
array: ['u8', 32];
|
|
621
621
|
};
|
|
622
622
|
};
|
|
623
|
-
}
|
|
623
|
+
}
|
|
624
624
|
];
|
|
625
625
|
},
|
|
626
626
|
{
|
|
@@ -631,7 +631,7 @@ export type AccountCompression = {
|
|
|
631
631
|
isMut: true;
|
|
632
632
|
isSigner: true;
|
|
633
633
|
docs: [
|
|
634
|
-
'Signer used to receive rollover accounts rentexemption reimbursement.'
|
|
634
|
+
'Signer used to receive rollover accounts rentexemption reimbursement.'
|
|
635
635
|
];
|
|
636
636
|
},
|
|
637
637
|
{
|
|
@@ -664,10 +664,10 @@ export type AccountCompression = {
|
|
|
664
664
|
name: 'oldNullifierQueue';
|
|
665
665
|
isMut: true;
|
|
666
666
|
isSigner: false;
|
|
667
|
-
}
|
|
667
|
+
}
|
|
668
668
|
];
|
|
669
669
|
args: [];
|
|
670
|
-
}
|
|
670
|
+
}
|
|
671
671
|
];
|
|
672
672
|
accounts: [
|
|
673
673
|
{
|
|
@@ -682,7 +682,7 @@ export type AccountCompression = {
|
|
|
682
682
|
{
|
|
683
683
|
name: 'groupAuthorityPda';
|
|
684
684
|
type: 'publicKey';
|
|
685
|
-
}
|
|
685
|
+
}
|
|
686
686
|
];
|
|
687
687
|
};
|
|
688
688
|
},
|
|
@@ -699,7 +699,7 @@ export type AccountCompression = {
|
|
|
699
699
|
{
|
|
700
700
|
name: 'programOwner';
|
|
701
701
|
docs: [
|
|
702
|
-
'Program owner of the Merkle tree. This will be used for program owned Merkle trees.'
|
|
702
|
+
'Program owner of the Merkle tree. This will be used for program owned Merkle trees.'
|
|
703
703
|
];
|
|
704
704
|
type: 'publicKey';
|
|
705
705
|
},
|
|
@@ -711,10 +711,10 @@ export type AccountCompression = {
|
|
|
711
711
|
'forested by light foresters. The variable is not used in the account',
|
|
712
712
|
'compression program but the registry program. The registry program',
|
|
713
713
|
'implements access control to prevent contention during forester. The',
|
|
714
|
-
'forester pubkey specified in this struct can bypass contention checks.'
|
|
714
|
+
'forester pubkey specified in this struct can bypass contention checks.'
|
|
715
715
|
];
|
|
716
716
|
type: 'publicKey';
|
|
717
|
-
}
|
|
717
|
+
}
|
|
718
718
|
];
|
|
719
719
|
};
|
|
720
720
|
},
|
|
@@ -728,7 +728,7 @@ export type AccountCompression = {
|
|
|
728
728
|
type: {
|
|
729
729
|
defined: 'MerkleTreeMetadata';
|
|
730
730
|
};
|
|
731
|
-
}
|
|
731
|
+
}
|
|
732
732
|
];
|
|
733
733
|
};
|
|
734
734
|
},
|
|
@@ -744,7 +744,7 @@ export type AccountCompression = {
|
|
|
744
744
|
{
|
|
745
745
|
name: 'seed';
|
|
746
746
|
type: 'publicKey';
|
|
747
|
-
}
|
|
747
|
+
}
|
|
748
748
|
];
|
|
749
749
|
};
|
|
750
750
|
},
|
|
@@ -772,14 +772,14 @@ export type AccountCompression = {
|
|
|
772
772
|
{
|
|
773
773
|
name: 'nextMerkleTree';
|
|
774
774
|
type: 'publicKey';
|
|
775
|
-
}
|
|
775
|
+
}
|
|
776
776
|
];
|
|
777
777
|
};
|
|
778
778
|
},
|
|
779
779
|
{
|
|
780
780
|
name: 'stateMerkleTreeAccount';
|
|
781
781
|
docs: [
|
|
782
|
-
'Concurrent state Merkle tree used for public compressed transactions.'
|
|
782
|
+
'Concurrent state Merkle tree used for public compressed transactions.'
|
|
783
783
|
];
|
|
784
784
|
type: {
|
|
785
785
|
kind: 'struct';
|
|
@@ -789,7 +789,7 @@ export type AccountCompression = {
|
|
|
789
789
|
type: {
|
|
790
790
|
defined: 'MerkleTreeMetadata';
|
|
791
791
|
};
|
|
792
|
-
}
|
|
792
|
+
}
|
|
793
793
|
];
|
|
794
794
|
};
|
|
795
795
|
},
|
|
@@ -821,7 +821,7 @@ export type AccountCompression = {
|
|
|
821
821
|
{
|
|
822
822
|
name: 'queueType';
|
|
823
823
|
type: 'u64';
|
|
824
|
-
}
|
|
824
|
+
}
|
|
825
825
|
];
|
|
826
826
|
};
|
|
827
827
|
},
|
|
@@ -835,7 +835,7 @@ export type AccountCompression = {
|
|
|
835
835
|
type: {
|
|
836
836
|
defined: 'QueueMetadata';
|
|
837
837
|
};
|
|
838
|
-
}
|
|
838
|
+
}
|
|
839
839
|
];
|
|
840
840
|
};
|
|
841
841
|
},
|
|
@@ -853,14 +853,14 @@ export type AccountCompression = {
|
|
|
853
853
|
name: 'rolloverFee';
|
|
854
854
|
docs: [
|
|
855
855
|
'This fee is used for rent for the next account.',
|
|
856
|
-
'It accumulates in the account so that once the corresponding Merkle tree account is full it can be rolled over'
|
|
856
|
+
'It accumulates in the account so that once the corresponding Merkle tree account is full it can be rolled over'
|
|
857
857
|
];
|
|
858
858
|
type: 'u64';
|
|
859
859
|
},
|
|
860
860
|
{
|
|
861
861
|
name: 'rolloverThreshold';
|
|
862
862
|
docs: [
|
|
863
|
-
'The threshold in percentage points when the account should be rolled over (95 corresponds to 95% filled).'
|
|
863
|
+
'The threshold in percentage points when the account should be rolled over (95 corresponds to 95% filled).'
|
|
864
864
|
];
|
|
865
865
|
type: 'u64';
|
|
866
866
|
},
|
|
@@ -872,7 +872,7 @@ export type AccountCompression = {
|
|
|
872
872
|
{
|
|
873
873
|
name: 'rolledoverSlot';
|
|
874
874
|
docs: [
|
|
875
|
-
'The slot when the account was rolled over, a rolled over account should not be written to.'
|
|
875
|
+
'The slot when the account was rolled over, a rolled over account should not be written to.'
|
|
876
876
|
];
|
|
877
877
|
type: 'u64';
|
|
878
878
|
},
|
|
@@ -881,7 +881,7 @@ export type AccountCompression = {
|
|
|
881
881
|
docs: [
|
|
882
882
|
'If current slot is greater than rolledover_slot + close_threshold and',
|
|
883
883
|
"the account is empty it can be closed. No 'close' functionality has been",
|
|
884
|
-
'implemented yet.'
|
|
884
|
+
'implemented yet.'
|
|
885
885
|
];
|
|
886
886
|
type: 'u64';
|
|
887
887
|
},
|
|
@@ -889,13 +889,13 @@ export type AccountCompression = {
|
|
|
889
889
|
name: 'additionalBytes';
|
|
890
890
|
docs: [
|
|
891
891
|
'Placeholder for bytes of additional accounts which are tied to the',
|
|
892
|
-
'Merkle trees operation and need to be rolled over as well.'
|
|
892
|
+
'Merkle trees operation and need to be rolled over as well.'
|
|
893
893
|
];
|
|
894
894
|
type: 'u64';
|
|
895
|
-
}
|
|
895
|
+
}
|
|
896
896
|
];
|
|
897
897
|
};
|
|
898
|
-
}
|
|
898
|
+
}
|
|
899
899
|
];
|
|
900
900
|
types: [
|
|
901
901
|
{
|
|
@@ -940,7 +940,7 @@ export type AccountCompression = {
|
|
|
940
940
|
type: {
|
|
941
941
|
option: 'u64';
|
|
942
942
|
};
|
|
943
|
-
}
|
|
943
|
+
}
|
|
944
944
|
];
|
|
945
945
|
};
|
|
946
946
|
},
|
|
@@ -982,7 +982,7 @@ export type AccountCompression = {
|
|
|
982
982
|
type: {
|
|
983
983
|
option: 'u64';
|
|
984
984
|
};
|
|
985
|
-
}
|
|
985
|
+
}
|
|
986
986
|
];
|
|
987
987
|
};
|
|
988
988
|
},
|
|
@@ -1004,7 +1004,7 @@ export type AccountCompression = {
|
|
|
1004
1004
|
type: {
|
|
1005
1005
|
option: 'u64';
|
|
1006
1006
|
};
|
|
1007
|
-
}
|
|
1007
|
+
}
|
|
1008
1008
|
];
|
|
1009
1009
|
};
|
|
1010
1010
|
},
|
|
@@ -1018,7 +1018,7 @@ export type AccountCompression = {
|
|
|
1018
1018
|
},
|
|
1019
1019
|
{
|
|
1020
1020
|
name: 'AddressQueue';
|
|
1021
|
-
}
|
|
1021
|
+
}
|
|
1022
1022
|
];
|
|
1023
1023
|
};
|
|
1024
1024
|
},
|
|
@@ -1030,7 +1030,7 @@ export type AccountCompression = {
|
|
|
1030
1030
|
defined: 'NullifierQueueConfig';
|
|
1031
1031
|
};
|
|
1032
1032
|
};
|
|
1033
|
-
}
|
|
1033
|
+
}
|
|
1034
1034
|
];
|
|
1035
1035
|
errors: [
|
|
1036
1036
|
{
|
|
@@ -1164,7 +1164,7 @@ export type AccountCompression = {
|
|
|
1164
1164
|
{
|
|
1165
1165
|
code: 6026;
|
|
1166
1166
|
name: 'ProofLengthMismatch';
|
|
1167
|
-
}
|
|
1167
|
+
}
|
|
1168
1168
|
];
|
|
1169
1169
|
};
|
|
1170
1170
|
export declare const IDL: AccountCompression;
|
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
IDL as AccountCompressionIDL,
|
|
3
|
-
AccountCompression,
|
|
4
|
-
} from './account_compression';
|
|
1
|
+
import { IDL as AccountCompressionIDL, AccountCompression } from './account_compression';
|
|
5
2
|
import { IDL as LightRegistryIDL, LightRegistry } from './light_registry';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from './light_system_program';
|
|
10
|
-
import {
|
|
11
|
-
IDL as LightCompressedTokenIDL,
|
|
12
|
-
LightCompressedToken,
|
|
13
|
-
} from './light_compressed_token';
|
|
14
|
-
export {
|
|
15
|
-
AccountCompressionIDL,
|
|
16
|
-
AccountCompression,
|
|
17
|
-
LightRegistryIDL,
|
|
18
|
-
LightRegistry,
|
|
19
|
-
LightSystemIDL,
|
|
20
|
-
LightSystem,
|
|
21
|
-
LightCompressedTokenIDL,
|
|
22
|
-
LightCompressedToken,
|
|
23
|
-
};
|
|
3
|
+
import { IDL as LightSystemIDL, LightSystemProgram as LightSystem } from './light_system_program';
|
|
4
|
+
import { IDL as LightCompressedTokenIDL, LightCompressedToken } from './light_compressed_token';
|
|
5
|
+
export { AccountCompressionIDL, AccountCompression, LightRegistryIDL, LightRegistry, LightSystemIDL, LightSystem, LightCompressedTokenIDL, LightCompressedToken, };
|