@win-trader/bindings 0.0.4 → 0.3.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.
@@ -17,64 +17,9 @@ export declare const MockTokenError: {
17
17
  4: {
18
18
  message: string;
19
19
  };
20
- };
21
- export interface OwnerTokensKey {
22
- index: u32;
23
- owner: string;
24
- }
25
- /**
26
- * Storage keys for the data associated with the enumerable extension of
27
- * `NonFungibleToken`
28
- */
29
- export type NFTEnumerableStorageKey = {
30
- tag: "TotalSupply";
31
- values: void;
32
- } | {
33
- tag: "OwnerTokens";
34
- values: readonly [OwnerTokensKey];
35
- } | {
36
- tag: "OwnerTokensIndex";
37
- values: readonly [u32];
38
- } | {
39
- tag: "GlobalTokens";
40
- values: readonly [u32];
41
- } | {
42
- tag: "GlobalTokensIndex";
43
- values: readonly [u32];
44
- };
45
- /**
46
- * Storage keys for the data associated with the consecutive extension of
47
- * `NonFungibleToken`
48
- */
49
- export type NFTConsecutiveStorageKey = {
50
- tag: "Approval";
51
- values: readonly [u32];
52
- } | {
53
- tag: "Owner";
54
- values: readonly [u32];
55
- } | {
56
- tag: "OwnershipBucket";
57
- values: readonly [u32];
58
- } | {
59
- tag: "BurnedToken";
60
- values: readonly [u32];
61
- };
62
- /**
63
- * Storage container for royalty information
64
- */
65
- export interface RoyaltyInfo {
66
- basis_points: u32;
67
- receiver: string;
68
- }
69
- /**
70
- * Storage keys for royalty data
71
- */
72
- export type NFTRoyaltiesStorageKey = {
73
- tag: "DefaultRoyalty";
74
- values: void;
75
- } | {
76
- tag: "TokenRoyalty";
77
- values: readonly [u32];
20
+ 5: {
21
+ message: string;
22
+ };
78
23
  };
79
24
  export declare const NonFungibleTokenError: {
80
25
  /**
@@ -171,755 +116,536 @@ export declare const NonFungibleTokenError: {
171
116
  message: string;
172
117
  };
173
118
  };
174
- export type NFTSequentialStorageKey = {
175
- tag: "TokenIdCounter";
176
- values: void;
177
- };
178
- /**
179
- * Storage container for token metadata
180
- */
181
- export interface Metadata {
182
- base_uri: string;
183
- name: string;
184
- symbol: string;
185
- }
186
- /**
187
- * Storage container for the token for which an approval is granted
188
- * and the ledger number at which this approval expires.
189
- */
190
- export interface ApprovalData {
191
- approved: string;
192
- live_until_ledger: u32;
193
- }
194
- /**
195
- * Storage keys for the data associated with `NonFungibleToken`
196
- */
197
- export type NFTStorageKey = {
198
- tag: "Owner";
199
- values: readonly [u32];
200
- } | {
201
- tag: "Balance";
202
- values: readonly [string];
203
- } | {
204
- tag: "Approval";
205
- values: readonly [u32];
206
- } | {
207
- tag: "ApprovalForAll";
208
- values: readonly [string, string];
209
- } | {
210
- tag: "Metadata";
211
- values: void;
212
- };
213
- /**
214
- * Hook types for modular compliance system.
215
- *
216
- * Each hook type represents a specific event or validation point
217
- * where compliance modules can be executed.
218
- */
219
- export type ComplianceHook = {
220
- tag: "Transferred";
221
- values: void;
222
- } | {
223
- tag: "Created";
224
- values: void;
225
- } | {
226
- tag: "Destroyed";
227
- values: void;
228
- } | {
229
- tag: "CanTransfer";
230
- values: void;
231
- } | {
232
- tag: "CanCreate";
233
- values: void;
234
- };
235
- export declare const ComplianceError: {
119
+ export declare const RWAError: {
236
120
  /**
237
- * Indicates a module is already registered for this hook.
121
+ * Indicates an error related to insufficient balance for the operation.
238
122
  */
239
- 360: {
123
+ 300: {
240
124
  message: string;
241
125
  };
242
126
  /**
243
- * Indicates a module is not registered for this hook.
127
+ * Indicates an error when an input must be >= 0.
244
128
  */
245
- 361: {
129
+ 301: {
246
130
  message: string;
247
131
  };
248
132
  /**
249
- * Indicates a module bound is exceeded.
133
+ * Indicates the address is frozen and cannot perform operations.
250
134
  */
251
- 362: {
135
+ 302: {
252
136
  message: string;
253
137
  };
254
138
  /**
255
- * Indicates a token is not bound to this compliance contract.
139
+ * Indicates insufficient free tokens (due to partial freezing).
256
140
  */
257
- 363: {
141
+ 303: {
258
142
  message: string;
259
143
  };
260
- };
261
- /**
262
- * Storage keys for the modular compliance contract.
263
- */
264
- export type ComplianceDataKey = {
265
- tag: "HookModules";
266
- values: readonly [ComplianceHook];
267
- };
268
- /**
269
- * Error codes for document management operations.
270
- */
271
- export declare const DocumentError: {
272
144
  /**
273
- * The specified document was not found.
145
+ * Indicates an identity cannot be verified.
274
146
  */
275
- 380: {
147
+ 304: {
276
148
  message: string;
277
149
  };
278
150
  /**
279
- * Maximum number of documents has been reached.
151
+ * Indicates the transfer does not comply with the compliance rules.
280
152
  */
281
- 381: {
153
+ 305: {
282
154
  message: string;
283
155
  };
284
156
  /**
285
- * The URI exceeds the maximum allowed length.
157
+ * Indicates the mint operation does not comply with the compliance rules.
286
158
  */
287
- 382: {
159
+ 306: {
288
160
  message: string;
289
161
  };
290
- };
291
- /**
292
- * Represents a document with its metadata.
293
- */
294
- export interface Document {
295
162
  /**
296
- * The hash of the document contents.
297
- */
298
- document_hash: Buffer;
163
+ * Indicates the compliance contract is not set.
164
+ */
165
+ 307: {
166
+ message: string;
167
+ };
299
168
  /**
300
- * Timestamp when the document was last modified.
301
- */
302
- timestamp: u64;
169
+ * Indicates the onchain ID is not set.
170
+ */
171
+ 308: {
172
+ message: string;
173
+ };
303
174
  /**
304
- * The URI where the document can be accessed.
305
- */
306
- uri: string;
307
- }
308
- /**
309
- * Storage keys for document management.
310
- */
311
- export type DocumentStorageKey = {
312
- tag: "Index";
313
- values: readonly [Buffer];
314
- } | {
315
- tag: "Bucket";
316
- values: readonly [u32];
317
- } | {
318
- tag: "Count";
319
- values: void;
320
- };
321
- export declare const ClaimIssuerError: {
175
+ * Indicates the version is not set.
176
+ */
177
+ 309: {
178
+ message: string;
179
+ };
322
180
  /**
323
- * Signature data length does not match the expected scheme.
181
+ * Indicates the claim topics and issuers contract is not set.
324
182
  */
325
- 350: {
183
+ 310: {
326
184
  message: string;
327
185
  };
328
186
  /**
329
- * The provided key is empty.
187
+ * Indicates the identity registry storage contract is not set.
330
188
  */
331
- 351: {
189
+ 311: {
332
190
  message: string;
333
191
  };
334
192
  /**
335
- * The key is already allowed for the specified topic.
193
+ * Indicates the identity verifier contract is not set.
336
194
  */
337
- 352: {
195
+ 312: {
338
196
  message: string;
339
197
  };
340
198
  /**
341
- * The specified key was not found in the allowed keys.
199
+ * Indicates the old account and new account have different identities.
342
200
  */
343
- 353: {
201
+ 313: {
344
202
  message: string;
345
203
  };
204
+ };
205
+ export declare const VaultTokenError: {
346
206
  /**
347
- * The claim issuer is not allowed to sign claims about the specified
348
- * claim topic.
207
+ * Indicates access to uninitialized vault asset address.
349
208
  */
350
- 354: {
209
+ 400: {
351
210
  message: string;
352
211
  };
353
212
  /**
354
- * Maximum limit exceeded (keys per topic or registries per key).
213
+ * Indicates that vault asset address is already set.
355
214
  */
356
- 355: {
215
+ 401: {
357
216
  message: string;
358
217
  };
359
218
  /**
360
- * No signing keys found for the specified claim topic.
219
+ * Indicates that vault virtual decimals offset is already set.
361
220
  */
362
- 356: {
221
+ 402: {
363
222
  message: string;
364
223
  };
365
224
  /**
366
- * Invalid claim data encoding.
225
+ * Indicates the amount is not a valid vault assets value.
367
226
  */
368
- 357: {
227
+ 403: {
369
228
  message: string;
370
229
  };
371
230
  /**
372
- * Recovery of the Secp256k1 public key failed.
231
+ * Indicates the amount is not a valid vault shares value.
373
232
  */
374
- 358: {
233
+ 404: {
375
234
  message: string;
376
235
  };
377
236
  /**
378
- * Indicates overflow when adding two values.
237
+ * Attempted to deposit more assets than the max amount for address.
379
238
  */
380
- 359: {
239
+ 405: {
381
240
  message: string;
382
241
  };
383
- };
384
- export interface SigningKey {
385
- public_key: Buffer;
386
- scheme: u32;
387
- }
388
- /**
389
- * Signature data for Ed25519 scheme.
390
- */
391
- export interface Ed25519SignatureData {
392
- public_key: Buffer;
393
- signature: Buffer;
394
- }
395
- /**
396
- * Storage keys for claim issuer key management.
397
- */
398
- export type ClaimIssuerStorageKey = {
399
- tag: "Topics";
400
- values: readonly [u32];
401
- } | {
402
- tag: "Pairs";
403
- values: readonly [SigningKey];
404
- } | {
405
- tag: "RevokedClaim";
406
- values: readonly [Buffer];
407
- } | {
408
- tag: "ClaimNonce";
409
- values: readonly [string, u32];
410
- };
411
- /**
412
- * Signature data for Secp256k1 scheme.
413
- */
414
- export interface Secp256k1SignatureData {
415
- public_key: Buffer;
416
- recovery_id: u32;
417
- signature: Buffer;
418
- }
419
- /**
420
- * Signature data for Secp256r1 scheme.
421
- */
422
- export interface Secp256r1SignatureData {
423
- public_key: Buffer;
424
- signature: Buffer;
425
- }
426
- export declare const ClaimsError: {
427
242
  /**
428
- * Claim ID does not exist.
243
+ * Attempted to mint more shares than the max amount for address.
429
244
  */
430
- 340: {
245
+ 406: {
431
246
  message: string;
432
247
  };
433
248
  /**
434
- * Claim Issuer cannot validate the claim (revocation, signature mismatch,
435
- * unauthorized signing key, etc.)
249
+ * Attempted to withdraw more assets than the max amount for address.
436
250
  */
437
- 341: {
251
+ 407: {
438
252
  message: string;
439
253
  };
440
- };
441
- /**
442
- * Represents a claim stored on-chain.
443
- */
444
- export interface Claim {
445
- /**
446
- * The claim data
447
- */
448
- data: Buffer;
449
- /**
450
- * The address of the claim issuer
451
- */
452
- issuer: string;
453
- /**
454
- * The signature scheme used
455
- */
456
- scheme: u32;
457
254
  /**
458
- * The cryptographic signature
459
- */
460
- signature: Buffer;
461
- /**
462
- * The claim topic (numeric identifier)
463
- */
464
- topic: u32;
465
- /**
466
- * Optional URI for additional information
467
- */
468
- uri: string;
469
- }
470
- /**
471
- * Storage keys for the data associated with Identity Claims.
472
- */
473
- export type ClaimsStorageKey = {
474
- tag: "Claim";
475
- values: readonly [Buffer];
476
- } | {
477
- tag: "ClaimsByTopic";
478
- values: readonly [u32];
479
- };
480
- /**
481
- * Storage keys for the data associated with `RWA` token
482
- */
483
- export type IdentityVerifierStorageKey = {
484
- tag: "ClaimTopicsAndIssuers";
485
- values: void;
486
- } | {
487
- tag: "IdentityRegistryStorage";
488
- values: void;
489
- };
490
- export declare const RWAError: {
255
+ * Attempted to redeem more shares than the max amount for address.
256
+ */
257
+ 408: {
258
+ message: string;
259
+ };
491
260
  /**
492
- * Indicates an error related to insufficient balance for the operation.
261
+ * Maximum number of decimals offset exceeded
493
262
  */
494
- 300: {
263
+ 409: {
495
264
  message: string;
496
265
  };
497
266
  /**
498
- * Indicates an error when an input must be >= 0.
267
+ * Indicates overflow due to mathematical operations
499
268
  */
500
- 301: {
269
+ 410: {
501
270
  message: string;
502
271
  };
272
+ };
273
+ export declare const FungibleTokenError: {
503
274
  /**
504
- * Indicates the address is frozen and cannot perform operations.
275
+ * Indicates an error related to the current balance of account from which
276
+ * tokens are expected to be transferred.
505
277
  */
506
- 302: {
278
+ 100: {
507
279
  message: string;
508
280
  };
509
281
  /**
510
- * Indicates insufficient free tokens (due to partial freezing).
282
+ * Indicates a failure with the allowance mechanism when a given spender
283
+ * doesn't have enough allowance.
511
284
  */
512
- 303: {
285
+ 101: {
513
286
  message: string;
514
287
  };
515
288
  /**
516
- * Indicates an identity cannot be verified.
289
+ * Indicates an invalid value for `live_until_ledger` when setting an
290
+ * allowance.
517
291
  */
518
- 304: {
292
+ 102: {
519
293
  message: string;
520
294
  };
521
295
  /**
522
- * Indicates the transfer does not comply with the compliance rules.
296
+ * Indicates an error when an input that must be >= 0
523
297
  */
524
- 305: {
298
+ 103: {
525
299
  message: string;
526
300
  };
527
301
  /**
528
- * Indicates the mint operation does not comply with the compliance rules.
302
+ * Indicates overflow when adding two values
529
303
  */
530
- 306: {
304
+ 104: {
531
305
  message: string;
532
306
  };
533
307
  /**
534
- * Indicates the compliance contract is not set.
308
+ * Indicates access to uninitialized metadata
535
309
  */
536
- 307: {
310
+ 105: {
537
311
  message: string;
538
312
  };
539
313
  /**
540
- * Indicates the onchain ID is not set.
314
+ * Indicates that the operation would have caused `total_supply` to exceed
315
+ * the `cap`.
541
316
  */
542
- 308: {
317
+ 106: {
543
318
  message: string;
544
319
  };
545
320
  /**
546
- * Indicates the version is not set.
321
+ * Indicates the supplied `cap` is not a valid cap value.
547
322
  */
548
- 309: {
323
+ 107: {
549
324
  message: string;
550
325
  };
551
326
  /**
552
- * Indicates the claim topics and issuers contract is not set.
327
+ * Indicates the Cap was not set.
553
328
  */
554
- 310: {
329
+ 108: {
555
330
  message: string;
556
331
  };
557
332
  /**
558
- * Indicates the identity registry storage contract is not set.
333
+ * Indicates the SAC address was not set.
559
334
  */
560
- 311: {
335
+ 109: {
561
336
  message: string;
562
337
  };
563
338
  /**
564
- * Indicates the identity verifier contract is not set.
339
+ * Indicates a SAC address different than expected.
565
340
  */
566
- 312: {
341
+ 110: {
567
342
  message: string;
568
343
  };
569
344
  /**
570
- * Indicates the old account and new account have different identities.
345
+ * Indicates a missing function parameter in the SAC contract context.
571
346
  */
572
- 313: {
347
+ 111: {
573
348
  message: string;
574
349
  };
575
- };
576
- export declare const ClaimTopicsAndIssuersError: {
577
350
  /**
578
- * Indicates a non-existent claim topic.
351
+ * Indicates an invalid function parameter in the SAC contract context.
579
352
  */
580
- 370: {
353
+ 112: {
581
354
  message: string;
582
355
  };
583
356
  /**
584
- * Indicates a non-existent trusted issuer.
357
+ * The user is not allowed to perform this operation
585
358
  */
586
- 371: {
359
+ 113: {
587
360
  message: string;
588
361
  };
589
362
  /**
590
- * Indicates a claim topic already exists.
363
+ * The user is blocked and cannot perform this operation
591
364
  */
592
- 372: {
365
+ 114: {
593
366
  message: string;
594
367
  };
368
+ };
369
+ /**
370
+ * Storage container for token metadata
371
+ */
372
+ export interface Metadata {
373
+ base_uri: string;
374
+ name: string;
375
+ symbol: string;
376
+ }
377
+ /**
378
+ * Storage container for the token for which an approval is granted
379
+ * and the ledger number at which this approval expires.
380
+ */
381
+ export interface ApprovalData {
382
+ approved: string;
383
+ live_until_ledger: u32;
384
+ }
385
+ /**
386
+ * Storage keys for the data associated with `NonFungibleToken`
387
+ */
388
+ export type NFTStorageKey = {
389
+ tag: "Owner";
390
+ values: readonly [u32];
391
+ } | {
392
+ tag: "Balance";
393
+ values: readonly [string];
394
+ } | {
395
+ tag: "Approval";
396
+ values: readonly [u32];
397
+ } | {
398
+ tag: "ApprovalForAll";
399
+ values: readonly [string, string];
400
+ } | {
401
+ tag: "Metadata";
402
+ values: void;
403
+ };
404
+ /**
405
+ * Hook types for modular compliance system.
406
+ *
407
+ * Each hook type represents a specific event or validation point
408
+ * where compliance modules can be executed.
409
+ */
410
+ export type ComplianceHook = {
411
+ tag: "Transferred";
412
+ values: void;
413
+ } | {
414
+ tag: "Created";
415
+ values: void;
416
+ } | {
417
+ tag: "Destroyed";
418
+ values: void;
419
+ } | {
420
+ tag: "CanTransfer";
421
+ values: void;
422
+ } | {
423
+ tag: "CanCreate";
424
+ values: void;
425
+ };
426
+ export declare const ComplianceError: {
595
427
  /**
596
- * Indicates a trusted issuer already exists.
428
+ * Indicates a module is already registered for this hook.
597
429
  */
598
- 373: {
430
+ 360: {
599
431
  message: string;
600
432
  };
601
433
  /**
602
- * Indicates max claim topics limit is reached.
434
+ * Indicates a module is not registered for this hook.
603
435
  */
604
- 374: {
436
+ 361: {
605
437
  message: string;
606
438
  };
607
439
  /**
608
- * Indicates max trusted issuers limit is reached.
440
+ * Indicates a module bound is exceeded.
609
441
  */
610
- 375: {
442
+ 362: {
611
443
  message: string;
612
444
  };
613
445
  /**
614
- * Indicates claim topics set provided for the issuer cannot be empty.
446
+ * Indicates a token is not bound to this compliance contract.
615
447
  */
616
- 376: {
448
+ 363: {
617
449
  message: string;
618
450
  };
619
451
  };
620
- /**
621
- * Storage keys for the data associated with the claim topics and issuers
622
- * extension
623
- */
624
- export type ClaimTopicsAndIssuersStorageKey = {
625
- tag: "ClaimTopics";
626
- values: void;
627
- } | {
628
- tag: "TrustedIssuers";
629
- values: void;
630
- } | {
631
- tag: "IssuerClaimTopics";
632
- values: readonly [string];
633
- } | {
634
- tag: "ClaimTopicIssuers";
635
- values: readonly [u32];
636
- };
637
- /**
638
- * Error codes for the Identity Registry Storage system.
639
- */
640
- export declare const IRSError: {
452
+ export declare const ClaimIssuerError: {
641
453
  /**
642
- * An identity already exists for the given account.
454
+ * Signature data length does not match the expected scheme.
643
455
  */
644
- 320: {
456
+ 350: {
645
457
  message: string;
646
458
  };
647
459
  /**
648
- * No identity found for the given account.
460
+ * The provided key is empty.
649
461
  */
650
- 321: {
462
+ 351: {
651
463
  message: string;
652
464
  };
653
465
  /**
654
- * Country data not found at the specified index.
466
+ * The key is already allowed for the specified topic.
655
467
  */
656
- 322: {
468
+ 352: {
657
469
  message: string;
658
470
  };
659
471
  /**
660
- * Identity can't be with empty country data list.
472
+ * The specified key was not found in the allowed keys.
661
473
  */
662
- 323: {
474
+ 353: {
663
475
  message: string;
664
476
  };
665
477
  /**
666
- * The maximum number of country entries has been reached.
478
+ * The claim issuer is not allowed to sign claims about the specified
479
+ * claim topic.
667
480
  */
668
- 324: {
481
+ 354: {
669
482
  message: string;
670
483
  };
671
484
  /**
672
- * Account has been recovered and cannot be used.
485
+ * Maximum limit exceeded (keys per topic or registries per key).
673
486
  */
674
- 325: {
487
+ 355: {
675
488
  message: string;
676
489
  };
677
490
  /**
678
- * Metadata has too many entries (exceeds MAX_METADATA_ENTRIES).
491
+ * No signing keys found for the specified claim topic.
679
492
  */
680
- 326: {
493
+ 356: {
681
494
  message: string;
682
495
  };
683
496
  /**
684
- * Metadata string value is too long (exceeds MAX_METADATA_STRING_LEN).
497
+ * Invalid claim data encoding.
685
498
  */
686
- 327: {
499
+ 357: {
687
500
  message: string;
688
501
  };
689
- };
690
- /**
691
- * A country data containing the country relationship and optional metadata
692
- */
693
- export interface CountryData {
694
- /**
695
- * Type of country relationship
696
- */
697
- country: CountryRelation;
698
- /**
699
- * Optional metadata (e.g., visa type, validity period)
700
- */
701
- metadata: Option<Map<string, string>>;
702
- }
703
- /**
704
- * Represents the type of identity holder
705
- */
706
- export type IdentityType = {
707
- tag: "Individual";
708
- values: void;
709
- } | {
710
- tag: "Organization";
711
- values: void;
712
- };
713
- /**
714
- * Storage keys for the data associated with Identity Storage Registry.
715
- */
716
- export type IRSStorageKey = {
717
- tag: "Identity";
718
- values: readonly [string];
719
- } | {
720
- tag: "IdentityProfile";
721
- values: readonly [string];
722
- } | {
723
- tag: "RecoveredTo";
724
- values: readonly [string];
725
- };
726
- /**
727
- * Unified country relationship that can be either individual or organizational
728
- */
729
- export type CountryRelation = {
730
- tag: "Individual";
731
- values: readonly [IndividualCountryRelation];
732
- } | {
733
- tag: "Organization";
734
- values: readonly [OrganizationCountryRelation];
735
- };
736
- /**
737
- * Complete identity profile containing identity type and country data
738
- */
739
- export interface IdentityProfile {
740
- countries: Array<CountryData>;
741
- identity_type: IdentityType;
742
- }
743
- /**
744
- * Represents different types of country relationships for individuals
745
- * ISO 3166-1 numeric country code
746
- */
747
- export type IndividualCountryRelation = {
748
- tag: "Residence";
749
- values: readonly [u32];
750
- } | {
751
- tag: "Citizenship";
752
- values: readonly [u32];
753
- } | {
754
- tag: "SourceOfFunds";
755
- values: readonly [u32];
756
- } | {
757
- tag: "TaxResidency";
758
- values: readonly [u32];
759
- } | {
760
- tag: "Custom";
761
- values: readonly [string, u32];
762
- };
763
- /**
764
- * Represents different types of country relationships for organizations
765
- */
766
- export type OrganizationCountryRelation = {
767
- tag: "Incorporation";
768
- values: readonly [u32];
769
- } | {
770
- tag: "OperatingJurisdiction";
771
- values: readonly [u32];
772
- } | {
773
- tag: "TaxJurisdiction";
774
- values: readonly [u32];
775
- } | {
776
- tag: "SourceOfFunds";
777
- values: readonly [u32];
778
- } | {
779
- tag: "Custom";
780
- values: readonly [string, u32];
781
- };
782
- /**
783
- * Error codes for the Token Binder system.
784
- */
785
- export declare const TokenBinderError: {
786
502
  /**
787
- * The specified token was not found in the bound tokens list.
503
+ * Recovery of the Secp256k1 public key failed.
788
504
  */
789
- 330: {
505
+ 358: {
790
506
  message: string;
791
507
  };
792
508
  /**
793
- * Attempted to bind a token that is already bound.
509
+ * Indicates overflow when adding two values.
794
510
  */
795
- 331: {
511
+ 359: {
796
512
  message: string;
797
513
  };
514
+ };
515
+ export declare const ClaimsError: {
798
516
  /**
799
- * Total token capacity (MAX_TOKENS) has been reached.
517
+ * Claim ID does not exist.
800
518
  */
801
- 332: {
519
+ 340: {
802
520
  message: string;
803
521
  };
804
522
  /**
805
- * Batch bind size exceeded.
523
+ * Claim Issuer cannot validate the claim (revocation, signature mismatch,
524
+ * unauthorized signing key, etc.)
806
525
  */
807
- 333: {
526
+ 341: {
808
527
  message: string;
809
528
  };
529
+ };
530
+ export declare const ClaimTopicsAndIssuersError: {
810
531
  /**
811
- * The batch contains duplicates.
532
+ * Indicates a non-existent claim topic.
812
533
  */
813
- 334: {
534
+ 370: {
814
535
  message: string;
815
536
  };
816
- };
817
- /**
818
- * Storage keys for the token binder system.
819
- *
820
- * - Tokens are stored in buckets of 100 addresses each
821
- * - Each bucket is a `Vec<Address>` stored under its bucket index
822
- * - Total count is tracked separately
823
- * - When a token is unbound, the last token is moved to fill the gap
824
- * (swap-remove pattern)
825
- */
826
- export type TokenBinderStorageKey = {
827
- tag: "TokenBucket";
828
- values: readonly [u32];
829
- } | {
830
- tag: "TotalCount";
831
- values: void;
832
- };
833
- /**
834
- * Storage keys for the data associated with `RWA` token
835
- */
836
- export type RWAStorageKey = {
837
- tag: "AddressFrozen";
838
- values: readonly [string];
839
- } | {
840
- tag: "FrozenTokens";
841
- values: readonly [string];
842
- } | {
843
- tag: "Compliance";
844
- values: void;
845
- } | {
846
- tag: "OnchainId";
847
- values: void;
848
- } | {
849
- tag: "Version";
850
- values: void;
851
- } | {
852
- tag: "IdentityVerifier";
853
- values: void;
854
- };
855
- export declare const VaultTokenError: {
856
537
  /**
857
- * Indicates access to uninitialized vault asset address.
538
+ * Indicates a non-existent trusted issuer.
858
539
  */
859
- 400: {
540
+ 371: {
860
541
  message: string;
861
542
  };
862
543
  /**
863
- * Indicates that vault asset address is already set.
544
+ * Indicates a claim topic already exists.
864
545
  */
865
- 401: {
546
+ 372: {
866
547
  message: string;
867
548
  };
868
549
  /**
869
- * Indicates that vault virtual decimals offset is already set.
550
+ * Indicates a trusted issuer already exists.
870
551
  */
871
- 402: {
552
+ 373: {
872
553
  message: string;
873
554
  };
874
555
  /**
875
- * Indicates the amount is not a valid vault assets value.
556
+ * Indicates max claim topics limit is reached.
876
557
  */
877
- 403: {
558
+ 374: {
878
559
  message: string;
879
560
  };
880
561
  /**
881
- * Indicates the amount is not a valid vault shares value.
562
+ * Indicates max trusted issuers limit is reached.
882
563
  */
883
- 404: {
564
+ 375: {
884
565
  message: string;
885
566
  };
886
567
  /**
887
- * Attempted to deposit more assets than the max amount for address.
568
+ * Indicates claim topics set provided for the issuer cannot be empty.
888
569
  */
889
- 405: {
570
+ 376: {
890
571
  message: string;
891
572
  };
573
+ };
574
+ /**
575
+ * Error codes for the Identity Registry Storage system.
576
+ */
577
+ export declare const IRSError: {
892
578
  /**
893
- * Attempted to mint more shares than the max amount for address.
579
+ * An identity already exists for the given account.
894
580
  */
895
- 406: {
581
+ 320: {
896
582
  message: string;
897
583
  };
898
584
  /**
899
- * Attempted to withdraw more assets than the max amount for address.
585
+ * No identity found for the given account.
900
586
  */
901
- 407: {
587
+ 321: {
902
588
  message: string;
903
589
  };
904
590
  /**
905
- * Attempted to redeem more shares than the max amount for address.
591
+ * Country data not found at the specified index.
906
592
  */
907
- 408: {
593
+ 322: {
908
594
  message: string;
909
595
  };
910
596
  /**
911
- * Maximum number of decimals offset exceeded
597
+ * Identity can't be with empty country data list.
912
598
  */
913
- 409: {
599
+ 323: {
914
600
  message: string;
915
601
  };
916
602
  /**
917
- * Indicates overflow due to mathematical operations
603
+ * The maximum number of country entries has been reached.
918
604
  */
919
- 410: {
605
+ 324: {
606
+ message: string;
607
+ };
608
+ /**
609
+ * Account has been recovered and cannot be used.
610
+ */
611
+ 325: {
612
+ message: string;
613
+ };
614
+ /**
615
+ * Metadata has too many entries (exceeds MAX_METADATA_ENTRIES).
616
+ */
617
+ 326: {
618
+ message: string;
619
+ };
620
+ /**
621
+ * Metadata string value is too long (exceeds MAX_METADATA_STRING_LEN).
622
+ */
623
+ 327: {
920
624
  message: string;
921
625
  };
922
626
  };
627
+ /**
628
+ * Storage keys for the data associated with `RWA` token
629
+ */
630
+ export type RWAStorageKey = {
631
+ tag: "AddressFrozen";
632
+ values: readonly [string];
633
+ } | {
634
+ tag: "FrozenTokens";
635
+ values: readonly [string];
636
+ } | {
637
+ tag: "Compliance";
638
+ values: void;
639
+ } | {
640
+ tag: "OnchainId";
641
+ values: void;
642
+ } | {
643
+ tag: "Version";
644
+ values: void;
645
+ } | {
646
+ tag: "IdentityVerifier";
647
+ values: void;
648
+ };
923
649
  /**
924
650
  * Storage keys for the data associated with the vault extension
925
651
  */
@@ -931,165 +657,442 @@ export type VaultStorageKey = {
931
657
  values: void;
932
658
  };
933
659
  /**
934
- * Storage keys for the data associated with the allowlist extension
660
+ * Storage container for token metadata
935
661
  */
936
- export type AllowListStorageKey = {
937
- tag: "Allowed";
662
+ export interface Metadata {
663
+ decimals: u32;
664
+ name: string;
665
+ symbol: string;
666
+ }
667
+ /**
668
+ * Storage keys for the data associated with `FungibleToken`
669
+ */
670
+ export type StorageKey = {
671
+ tag: "TotalSupply";
672
+ values: void;
673
+ } | {
674
+ tag: "Balance";
938
675
  values: readonly [string];
676
+ } | {
677
+ tag: "Allowance";
678
+ values: readonly [AllowanceKey];
939
679
  };
940
680
  /**
941
- * Storage keys for the data associated with the blocklist extension
681
+ * Storage key that maps to [`AllowanceData`]
942
682
  */
943
- export type BlockListStorageKey = {
944
- tag: "Blocked";
945
- values: readonly [string];
683
+ export interface AllowanceKey {
684
+ owner: string;
685
+ spender: string;
686
+ }
687
+ /**
688
+ * Storage container for the amount of tokens for which an allowance is granted
689
+ * and the ledger number at which this allowance expires.
690
+ */
691
+ export interface AllowanceData {
692
+ amount: i128;
693
+ live_until_ledger: u32;
694
+ }
695
+ /**
696
+ * Storage keys for the modular compliance contract.
697
+ */
698
+ export type ComplianceDataKey = {
699
+ tag: "HookModules";
700
+ values: readonly [ComplianceHook];
946
701
  };
947
- export declare const FungibleTokenError: {
702
+ /**
703
+ * Error codes for document management operations.
704
+ */
705
+ export declare const DocumentError: {
948
706
  /**
949
- * Indicates an error related to the current balance of account from which
950
- * tokens are expected to be transferred.
707
+ * The specified document was not found.
951
708
  */
952
- 100: {
709
+ 380: {
953
710
  message: string;
954
711
  };
955
712
  /**
956
- * Indicates a failure with the allowance mechanism when a given spender
957
- * doesn't have enough allowance.
713
+ * Maximum number of documents has been reached.
958
714
  */
959
- 101: {
715
+ 381: {
960
716
  message: string;
961
717
  };
962
718
  /**
963
- * Indicates an invalid value for `live_until_ledger` when setting an
964
- * allowance.
719
+ * The URI exceeds the maximum allowed length.
965
720
  */
966
- 102: {
721
+ 382: {
967
722
  message: string;
968
723
  };
724
+ };
725
+ export interface SigningKey {
726
+ public_key: Buffer;
727
+ scheme: u32;
728
+ }
729
+ /**
730
+ * Signature data for Ed25519 scheme.
731
+ */
732
+ export interface Ed25519SignatureData {
733
+ public_key: Buffer;
734
+ signature: Buffer;
735
+ }
736
+ /**
737
+ * Storage keys for claim issuer key management.
738
+ */
739
+ export type ClaimIssuerStorageKey = {
740
+ tag: "Topics";
741
+ values: readonly [u32];
742
+ } | {
743
+ tag: "Pairs";
744
+ values: readonly [SigningKey];
745
+ } | {
746
+ tag: "RevokedClaim";
747
+ values: readonly [Buffer];
748
+ } | {
749
+ tag: "ClaimNonce";
750
+ values: readonly [string, u32];
751
+ };
752
+ /**
753
+ * Signature data for Secp256k1 scheme.
754
+ */
755
+ export interface Secp256k1SignatureData {
756
+ public_key: Buffer;
757
+ recovery_id: u32;
758
+ signature: Buffer;
759
+ }
760
+ /**
761
+ * Signature data for Secp256r1 scheme.
762
+ */
763
+ export interface Secp256r1SignatureData {
764
+ public_key: Buffer;
765
+ signature: Buffer;
766
+ }
767
+ /**
768
+ * Represents a claim stored on-chain.
769
+ */
770
+ export interface Claim {
969
771
  /**
970
- * Indicates an error when an input that must be >= 0
971
- */
972
- 103: {
973
- message: string;
974
- };
772
+ * The claim data
773
+ */
774
+ data: Buffer;
975
775
  /**
976
- * Indicates overflow when adding two values
977
- */
978
- 104: {
979
- message: string;
980
- };
776
+ * The address of the claim issuer
777
+ */
778
+ issuer: string;
981
779
  /**
982
- * Indicates access to uninitialized metadata
983
- */
984
- 105: {
985
- message: string;
986
- };
780
+ * The signature scheme used
781
+ */
782
+ scheme: u32;
987
783
  /**
988
- * Indicates that the operation would have caused `total_supply` to exceed
989
- * the `cap`.
990
- */
991
- 106: {
992
- message: string;
993
- };
784
+ * The cryptographic signature
785
+ */
786
+ signature: Buffer;
994
787
  /**
995
- * Indicates the supplied `cap` is not a valid cap value.
996
- */
997
- 107: {
998
- message: string;
999
- };
788
+ * The claim topic (numeric identifier)
789
+ */
790
+ topic: u32;
1000
791
  /**
1001
- * Indicates the Cap was not set.
1002
- */
1003
- 108: {
1004
- message: string;
1005
- };
792
+ * Optional URI for additional information
793
+ */
794
+ uri: string;
795
+ }
796
+ /**
797
+ * Storage keys for the data associated with Identity Claims.
798
+ */
799
+ export type ClaimsStorageKey = {
800
+ tag: "Claim";
801
+ values: readonly [Buffer];
802
+ } | {
803
+ tag: "ClaimsByTopic";
804
+ values: readonly [u32];
805
+ };
806
+ /**
807
+ * Storage keys for the data associated with `RWA` token
808
+ */
809
+ export type IdentityVerifierStorageKey = {
810
+ tag: "ClaimTopicsAndIssuers";
811
+ values: void;
812
+ } | {
813
+ tag: "IdentityRegistryStorage";
814
+ values: void;
815
+ };
816
+ /**
817
+ * Storage keys for the data associated with the claim topics and issuers
818
+ * extension
819
+ */
820
+ export type ClaimTopicsAndIssuersStorageKey = {
821
+ tag: "ClaimTopics";
822
+ values: void;
823
+ } | {
824
+ tag: "TrustedIssuers";
825
+ values: void;
826
+ } | {
827
+ tag: "IssuerClaimTopics";
828
+ values: readonly [string];
829
+ } | {
830
+ tag: "ClaimTopicIssuers";
831
+ values: readonly [u32];
832
+ };
833
+ /**
834
+ * A country data containing the country relationship and optional metadata
835
+ */
836
+ export interface CountryData {
1006
837
  /**
1007
- * Indicates the SAC address was not set.
1008
- */
1009
- 109: {
1010
- message: string;
1011
- };
838
+ * Type of country relationship
839
+ */
840
+ country: CountryRelation;
841
+ /**
842
+ * Optional metadata (e.g., visa type, validity period)
843
+ */
844
+ metadata: Option<Map<string, string>>;
845
+ }
846
+ /**
847
+ * Represents the type of identity holder
848
+ */
849
+ export type IdentityType = {
850
+ tag: "Individual";
851
+ values: void;
852
+ } | {
853
+ tag: "Organization";
854
+ values: void;
855
+ };
856
+ /**
857
+ * Storage keys for the data associated with Identity Storage Registry.
858
+ */
859
+ export type IRSStorageKey = {
860
+ tag: "Identity";
861
+ values: readonly [string];
862
+ } | {
863
+ tag: "IdentityProfile";
864
+ values: readonly [string];
865
+ } | {
866
+ tag: "RecoveredTo";
867
+ values: readonly [string];
868
+ };
869
+ /**
870
+ * Unified country relationship that can be either individual or organizational
871
+ */
872
+ export type CountryRelation = {
873
+ tag: "Individual";
874
+ values: readonly [IndividualCountryRelation];
875
+ } | {
876
+ tag: "Organization";
877
+ values: readonly [OrganizationCountryRelation];
878
+ };
879
+ /**
880
+ * Complete identity profile containing identity type and country data
881
+ */
882
+ export interface IdentityProfile {
883
+ countries: Array<CountryData>;
884
+ identity_type: IdentityType;
885
+ }
886
+ /**
887
+ * Represents different types of country relationships for individuals
888
+ * ISO 3166-1 numeric country code
889
+ */
890
+ export type IndividualCountryRelation = {
891
+ tag: "Residence";
892
+ values: readonly [u32];
893
+ } | {
894
+ tag: "Citizenship";
895
+ values: readonly [u32];
896
+ } | {
897
+ tag: "SourceOfFunds";
898
+ values: readonly [u32];
899
+ } | {
900
+ tag: "TaxResidency";
901
+ values: readonly [u32];
902
+ } | {
903
+ tag: "Custom";
904
+ values: readonly [string, u32];
905
+ };
906
+ /**
907
+ * Represents different types of country relationships for organizations
908
+ */
909
+ export type OrganizationCountryRelation = {
910
+ tag: "Incorporation";
911
+ values: readonly [u32];
912
+ } | {
913
+ tag: "OperatingJurisdiction";
914
+ values: readonly [u32];
915
+ } | {
916
+ tag: "TaxJurisdiction";
917
+ values: readonly [u32];
918
+ } | {
919
+ tag: "SourceOfFunds";
920
+ values: readonly [u32];
921
+ } | {
922
+ tag: "Custom";
923
+ values: readonly [string, u32];
924
+ };
925
+ /**
926
+ * Error codes for the Token Binder system.
927
+ */
928
+ export declare const TokenBinderError: {
1012
929
  /**
1013
- * Indicates a SAC address different than expected.
930
+ * The specified token was not found in the bound tokens list.
1014
931
  */
1015
- 110: {
932
+ 330: {
1016
933
  message: string;
1017
934
  };
1018
935
  /**
1019
- * Indicates a missing function parameter in the SAC contract context.
936
+ * Attempted to bind a token that is already bound.
1020
937
  */
1021
- 111: {
938
+ 331: {
1022
939
  message: string;
1023
940
  };
1024
941
  /**
1025
- * Indicates an invalid function parameter in the SAC contract context.
942
+ * Total token capacity (MAX_TOKENS) has been reached.
1026
943
  */
1027
- 112: {
944
+ 332: {
1028
945
  message: string;
1029
946
  };
1030
947
  /**
1031
- * The user is not allowed to perform this operation
948
+ * Batch bind size exceeded.
1032
949
  */
1033
- 113: {
950
+ 333: {
1034
951
  message: string;
1035
952
  };
1036
953
  /**
1037
- * The user is blocked and cannot perform this operation
954
+ * The batch contains duplicates.
1038
955
  */
1039
- 114: {
956
+ 334: {
1040
957
  message: string;
1041
958
  };
1042
959
  };
960
+ export interface OwnerTokensKey {
961
+ index: u32;
962
+ owner: string;
963
+ }
1043
964
  /**
1044
- * Storage key for accessing the SAC address
965
+ * Storage keys for the data associated with the enumerable extension of
966
+ * `NonFungibleToken`
1045
967
  */
1046
- export type SACAdminGenericDataKey = {
1047
- tag: "Sac";
968
+ export type NFTEnumerableStorageKey = {
969
+ tag: "TotalSupply";
1048
970
  values: void;
971
+ } | {
972
+ tag: "OwnerTokens";
973
+ values: readonly [OwnerTokensKey];
974
+ } | {
975
+ tag: "OwnerTokensIndex";
976
+ values: readonly [u32];
977
+ } | {
978
+ tag: "GlobalTokens";
979
+ values: readonly [u32];
980
+ } | {
981
+ tag: "GlobalTokensIndex";
982
+ values: readonly [u32];
1049
983
  };
1050
984
  /**
1051
- * Storage key for accessing the SAC address
985
+ * Storage keys for the data associated with the consecutive extension of
986
+ * `NonFungibleToken`
1052
987
  */
1053
- export type SACAdminWrapperDataKey = {
1054
- tag: "Sac";
988
+ export type NFTConsecutiveStorageKey = {
989
+ tag: "Approval";
990
+ values: readonly [u32];
991
+ } | {
992
+ tag: "Owner";
993
+ values: readonly [u32];
994
+ } | {
995
+ tag: "OwnershipBucket";
996
+ values: readonly [u32];
997
+ } | {
998
+ tag: "BurnedToken";
999
+ values: readonly [u32];
1000
+ };
1001
+ /**
1002
+ * Storage container for royalty information
1003
+ */
1004
+ export interface RoyaltyInfo {
1005
+ basis_points: u32;
1006
+ receiver: string;
1007
+ }
1008
+ /**
1009
+ * Storage keys for royalty data
1010
+ */
1011
+ export type NFTRoyaltiesStorageKey = {
1012
+ tag: "DefaultRoyalty";
1013
+ values: void;
1014
+ } | {
1015
+ tag: "TokenRoyalty";
1016
+ values: readonly [u32];
1017
+ };
1018
+ export type NFTSequentialStorageKey = {
1019
+ tag: "TokenIdCounter";
1055
1020
  values: void;
1056
1021
  };
1057
1022
  /**
1058
- * Storage container for token metadata
1023
+ * Represents a document with its metadata.
1059
1024
  */
1060
- export interface Metadata {
1061
- decimals: u32;
1062
- name: string;
1063
- symbol: string;
1025
+ export interface Document {
1026
+ /**
1027
+ * The hash of the document contents.
1028
+ */
1029
+ document_hash: Buffer;
1030
+ /**
1031
+ * Timestamp when the document was last modified.
1032
+ */
1033
+ timestamp: u64;
1034
+ /**
1035
+ * The URI where the document can be accessed.
1036
+ */
1037
+ uri: string;
1064
1038
  }
1065
1039
  /**
1066
- * Storage keys for the data associated with `FungibleToken`
1040
+ * Storage keys for document management.
1067
1041
  */
1068
- export type StorageKey = {
1069
- tag: "TotalSupply";
1042
+ export type DocumentStorageKey = {
1043
+ tag: "Index";
1044
+ values: readonly [Buffer];
1045
+ } | {
1046
+ tag: "Bucket";
1047
+ values: readonly [u32];
1048
+ } | {
1049
+ tag: "Count";
1070
1050
  values: void;
1051
+ };
1052
+ /**
1053
+ * Storage keys for the token binder system.
1054
+ *
1055
+ * - Tokens are stored in buckets of 100 addresses each
1056
+ * - Each bucket is a `Vec<Address>` stored under its bucket index
1057
+ * - Total count is tracked separately
1058
+ * - When a token is unbound, the last token is moved to fill the gap
1059
+ * (swap-remove pattern)
1060
+ */
1061
+ export type TokenBinderStorageKey = {
1062
+ tag: "TokenBucket";
1063
+ values: readonly [u32];
1071
1064
  } | {
1072
- tag: "Balance";
1065
+ tag: "TotalCount";
1066
+ values: void;
1067
+ };
1068
+ /**
1069
+ * Storage keys for the data associated with the allowlist extension
1070
+ */
1071
+ export type AllowListStorageKey = {
1072
+ tag: "Allowed";
1073
1073
  values: readonly [string];
1074
- } | {
1075
- tag: "Allowance";
1076
- values: readonly [AllowanceKey];
1077
1074
  };
1078
1075
  /**
1079
- * Storage key that maps to [`AllowanceData`]
1076
+ * Storage keys for the data associated with the blocklist extension
1080
1077
  */
1081
- export interface AllowanceKey {
1082
- owner: string;
1083
- spender: string;
1084
- }
1078
+ export type BlockListStorageKey = {
1079
+ tag: "Blocked";
1080
+ values: readonly [string];
1081
+ };
1085
1082
  /**
1086
- * Storage container for the amount of tokens for which an allowance is granted
1087
- * and the ledger number at which this allowance expires.
1083
+ * Storage key for accessing the SAC address
1088
1084
  */
1089
- export interface AllowanceData {
1090
- amount: i128;
1091
- live_until_ledger: u32;
1092
- }
1085
+ export type SACAdminGenericDataKey = {
1086
+ tag: "Sac";
1087
+ values: void;
1088
+ };
1089
+ /**
1090
+ * Storage key for accessing the SAC address
1091
+ */
1092
+ export type SACAdminWrapperDataKey = {
1093
+ tag: "Sac";
1094
+ values: void;
1095
+ };
1093
1096
  export declare const UpgradeableError: {
1094
1097
  /**
1095
1098
  * When migration is attempted but not allowed due to upgrade state.
@@ -1118,16 +1121,6 @@ export declare const MerkleDistributorError: {
1118
1121
  message: string;
1119
1122
  };
1120
1123
  };
1121
- /**
1122
- * Storage keys for the data associated with `MerkleDistributor`
1123
- */
1124
- export type MerkleDistributorStorageKey = {
1125
- tag: "Root";
1126
- values: void;
1127
- } | {
1128
- tag: "Claimed";
1129
- values: readonly [u32];
1130
- };
1131
1124
  /**
1132
1125
  * Rounding direction for division operations
1133
1126
  */
@@ -1155,37 +1148,47 @@ export declare const SorobanFixedPointError: {
1155
1148
  message: string;
1156
1149
  };
1157
1150
  };
1158
- export declare const CryptoError: {
1151
+ export declare const PausableError: {
1159
1152
  /**
1160
- * The merkle proof length is out of bounds.
1153
+ * The operation failed because the contract is paused.
1161
1154
  */
1162
- 1400: {
1155
+ 1000: {
1163
1156
  message: string;
1164
1157
  };
1165
1158
  /**
1166
- * The index of the leaf is out of bounds.
1159
+ * The operation failed because the contract is not paused.
1167
1160
  */
1168
- 1401: {
1161
+ 1001: {
1169
1162
  message: string;
1170
1163
  };
1164
+ };
1165
+ /**
1166
+ * Storage keys for the data associated with `MerkleDistributor`
1167
+ */
1168
+ export type MerkleDistributorStorageKey = {
1169
+ tag: "Root";
1170
+ values: void;
1171
+ } | {
1172
+ tag: "Claimed";
1173
+ values: readonly [u32];
1174
+ };
1175
+ export declare const CryptoError: {
1171
1176
  /**
1172
- * No data in hasher state.
1177
+ * The merkle proof length is out of bounds.
1173
1178
  */
1174
- 1402: {
1179
+ 1400: {
1175
1180
  message: string;
1176
1181
  };
1177
- };
1178
- export declare const PausableError: {
1179
1182
  /**
1180
- * The operation failed because the contract is paused.
1183
+ * The index of the leaf is out of bounds.
1181
1184
  */
1182
- 1000: {
1185
+ 1401: {
1183
1186
  message: string;
1184
1187
  };
1185
1188
  /**
1186
- * The operation failed because the contract is not paused.
1189
+ * No data in hasher state.
1187
1190
  */
1188
- 1001: {
1191
+ 1402: {
1189
1192
  message: string;
1190
1193
  };
1191
1194
  };
@@ -1226,8 +1229,6 @@ export interface Client {
1226
1229
  }, options?: MethodOptions) => Promise<AssembledTransaction<null>>;
1227
1230
  /**
1228
1231
  * Construct and simulate a mint transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1229
- * Public faucet mint. Once protocol restrictions are activated, each
1230
- * address gets one mint of up to 5,000 test USDC.
1231
1232
  */
1232
1233
  mint: ({ to, amount }: {
1233
1234
  to: string;
@@ -1361,8 +1362,6 @@ export interface Client {
1361
1362
  }, options?: MethodOptions) => Promise<AssembledTransaction<null>>;
1362
1363
  /**
1363
1364
  * Construct and simulate a admin_mint transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1364
- * Admin-only mint for deployment seeding and simulations. This bypasses
1365
- * the public faucet cap and must not be exposed as a user faucet path.
1366
1365
  */
1367
1366
  admin_mint: ({ admin, to, amount }: {
1368
1367
  admin: string;
@@ -1371,7 +1370,6 @@ export interface Client {
1371
1370
  }, options?: MethodOptions) => Promise<AssembledTransaction<null>>;
1372
1371
  /**
1373
1372
  * Construct and simulate a initialize transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1374
- * Deploy and configure the mock token.
1375
1373
  */
1376
1374
  initialize: ({ admin, decimals, name, symbol }: {
1377
1375
  admin: string;
@@ -1409,8 +1407,6 @@ export interface Client {
1409
1407
  public_mint_cap: (options?: MethodOptions) => Promise<AssembledTransaction<i128>>;
1410
1408
  /**
1411
1409
  * Construct and simulate a configure_protocol transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1412
- * Activate protocol-only transfer mode and mark the two perps contracts
1413
- * that may receive from users and pay back to users.
1414
1410
  */
1415
1411
  configure_protocol: ({ admin, vault, position_manager }: {
1416
1412
  admin: string;
@@ -1421,6 +1417,21 @@ export interface Client {
1421
1417
  * Construct and simulate a restrictions_active transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1422
1418
  */
1423
1419
  restrictions_active: (options?: MethodOptions) => Promise<AssembledTransaction<boolean>>;
1420
+ /**
1421
+ * Construct and simulate a set_public_mint_cap transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1422
+ */
1423
+ set_public_mint_cap: ({ admin, cap_usd }: {
1424
+ admin: string;
1425
+ cap_usd: i128;
1426
+ }, options?: MethodOptions) => Promise<AssembledTransaction<null>>;
1427
+ /**
1428
+ * Construct and simulate a set_receive_blocked transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1429
+ */
1430
+ set_receive_blocked: ({ admin, account, blocked }: {
1431
+ admin: string;
1432
+ account: string;
1433
+ blocked: boolean;
1434
+ }, options?: MethodOptions) => Promise<AssembledTransaction<null>>;
1424
1435
  /**
1425
1436
  * Construct and simulate a is_protocol_contract transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1426
1437
  */
@@ -1468,6 +1479,8 @@ export declare class Client extends ContractClient {
1468
1479
  public_mint_cap: (json: string) => AssembledTransaction<bigint>;
1469
1480
  configure_protocol: (json: string) => AssembledTransaction<null>;
1470
1481
  restrictions_active: (json: string) => AssembledTransaction<boolean>;
1482
+ set_public_mint_cap: (json: string) => AssembledTransaction<null>;
1483
+ set_receive_blocked: (json: string) => AssembledTransaction<null>;
1471
1484
  is_protocol_contract: (json: string) => AssembledTransaction<boolean>;
1472
1485
  set_protocol_contract: (json: string) => AssembledTransaction<null>;
1473
1486
  };