@silvana-one/nft 0.3.0 → 1.0.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.
Files changed (87) hide show
  1. package/README.md +12 -0
  2. package/dist/node/admin/advanced.d.ts +5 -1
  3. package/dist/node/contracts/admin.d.ts +100 -10
  4. package/dist/node/contracts/admin.js +130 -29
  5. package/dist/node/contracts/admin.js.map +1 -1
  6. package/dist/node/contracts/collection.d.ts +56 -35
  7. package/dist/node/contracts/collection.js +162 -71
  8. package/dist/node/contracts/collection.js.map +1 -1
  9. package/dist/node/contracts/nft.js +3 -0
  10. package/dist/node/contracts/nft.js.map +1 -1
  11. package/dist/node/contracts.d.ts +51 -33
  12. package/dist/node/index.cjs +447 -182
  13. package/dist/node/interfaces/collection.d.ts +5 -5
  14. package/dist/node/interfaces/events.d.ts +306 -16
  15. package/dist/node/interfaces/events.js +42 -4
  16. package/dist/node/interfaces/events.js.map +1 -1
  17. package/dist/node/interfaces/ownable.d.ts +7 -7
  18. package/dist/node/interfaces/ownable.js.map +1 -1
  19. package/dist/node/interfaces/pausable.d.ts +3 -3
  20. package/dist/node/interfaces/pausable.js.map +1 -1
  21. package/dist/node/interfaces/types.d.ts +182 -27
  22. package/dist/node/interfaces/types.js +120 -71
  23. package/dist/node/interfaces/types.js.map +1 -1
  24. package/dist/node/marketplace/auction.d.ts +7 -3
  25. package/dist/node/marketplace/auction.js +4 -4
  26. package/dist/node/marketplace/auction.js.map +1 -1
  27. package/dist/node/marketplace/bid.d.ts +5 -1
  28. package/dist/node/marketplace/bid.js +3 -5
  29. package/dist/node/marketplace/bid.js.map +1 -1
  30. package/dist/node/marketplace/nft-shares.d.ts +17 -5
  31. package/dist/node/marketplace/offer.d.ts +5 -1
  32. package/dist/node/util/div.js +10 -5
  33. package/dist/node/util/div.js.map +1 -1
  34. package/dist/node/vk.js +6 -6
  35. package/dist/node/vk.js.map +1 -1
  36. package/dist/node/zkprogram-example/game.d.ts +6 -17
  37. package/dist/node/zkprogram-example/update.d.ts +6 -17
  38. package/dist/tsconfig.node.tsbuildinfo +1 -1
  39. package/dist/tsconfig.web.tsbuildinfo +1 -1
  40. package/dist/web/admin/advanced.d.ts +5 -1
  41. package/dist/web/contracts/admin.d.ts +100 -10
  42. package/dist/web/contracts/admin.js +130 -29
  43. package/dist/web/contracts/admin.js.map +1 -1
  44. package/dist/web/contracts/collection.d.ts +56 -35
  45. package/dist/web/contracts/collection.js +162 -71
  46. package/dist/web/contracts/collection.js.map +1 -1
  47. package/dist/web/contracts/nft.js +3 -0
  48. package/dist/web/contracts/nft.js.map +1 -1
  49. package/dist/web/contracts.d.ts +51 -33
  50. package/dist/web/interfaces/collection.d.ts +5 -5
  51. package/dist/web/interfaces/events.d.ts +306 -16
  52. package/dist/web/interfaces/events.js +42 -4
  53. package/dist/web/interfaces/events.js.map +1 -1
  54. package/dist/web/interfaces/ownable.d.ts +7 -7
  55. package/dist/web/interfaces/ownable.js.map +1 -1
  56. package/dist/web/interfaces/pausable.d.ts +3 -3
  57. package/dist/web/interfaces/pausable.js.map +1 -1
  58. package/dist/web/interfaces/types.d.ts +182 -27
  59. package/dist/web/interfaces/types.js +120 -71
  60. package/dist/web/interfaces/types.js.map +1 -1
  61. package/dist/web/marketplace/auction.d.ts +7 -3
  62. package/dist/web/marketplace/auction.js +4 -4
  63. package/dist/web/marketplace/auction.js.map +1 -1
  64. package/dist/web/marketplace/bid.d.ts +5 -1
  65. package/dist/web/marketplace/bid.js +3 -5
  66. package/dist/web/marketplace/bid.js.map +1 -1
  67. package/dist/web/marketplace/nft-shares.d.ts +17 -5
  68. package/dist/web/marketplace/offer.d.ts +5 -1
  69. package/dist/web/util/div.js +10 -5
  70. package/dist/web/util/div.js.map +1 -1
  71. package/dist/web/vk.js +6 -6
  72. package/dist/web/vk.js.map +1 -1
  73. package/dist/web/zkprogram-example/game.d.ts +6 -17
  74. package/dist/web/zkprogram-example/update.d.ts +6 -17
  75. package/package.json +13 -13
  76. package/src/contracts/admin.ts +137 -24
  77. package/src/contracts/collection.ts +188 -96
  78. package/src/contracts/nft.ts +3 -0
  79. package/src/interfaces/collection.ts +11 -5
  80. package/src/interfaces/events.ts +47 -3
  81. package/src/interfaces/ownable.ts +1 -1
  82. package/src/interfaces/pausable.ts +1 -1
  83. package/src/interfaces/types.ts +152 -78
  84. package/src/marketplace/auction.ts +5 -4
  85. package/src/marketplace/bid.ts +4 -6
  86. package/src/util/div.ts +12 -5
  87. package/src/vk.ts +6 -6
@@ -1,6 +1,6 @@
1
1
  import { Field, PublicKey, Bool, UInt32, UInt64, DynamicProof, Option, Account } from "o1js";
2
2
  import { Storage } from "@silvana-one/storage";
3
- export { MintParams, MintParamsOption, MintRequest, NFTDataPacked, NFTData, CollectionData, NFTState, NFTImmutableState, NFTUpdateProof, NFTStateStruct, UInt64Option, TransferParams, MAX_ROYALTY_FEE, NFTTransactionContext, TransferExtendedParams, };
3
+ export { MintParams, MintParamsOption, MintRequest, NFTDataPacked, NFTData, CollectionData, NFTState, NFTImmutableState, NFTUpdateProof, NFTStateStruct, UInt64Option, TransferBySignatureParams, TransferByProofParams, MAX_ROYALTY_FEE, NFTTransactionContext, TransferExtendedParams, };
4
4
  declare const UInt64Option_base: Omit<import("node_modules/o1js/dist/node/lib/provable/types/provable-intf.js").Provable<Option<UInt64, bigint>, bigint | undefined>, "fromFields"> & {
5
5
  fromFields: (fields: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[]) => Option<UInt64, bigint>;
6
6
  } & (new (option: {
@@ -473,7 +473,7 @@ declare const NFTState_base: (new (value: {
473
473
  approved: PublicKey;
474
474
  metadata: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
475
475
  storage: Storage;
476
- version: UInt32;
476
+ version: UInt64;
477
477
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
478
478
  metadataVerificationKeyHash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
479
479
  creator: PublicKey;
@@ -486,7 +486,7 @@ declare const NFTState_base: (new (value: {
486
486
  approved: PublicKey;
487
487
  metadata: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
488
488
  storage: Storage;
489
- version: UInt32;
489
+ version: UInt64;
490
490
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
491
491
  metadataVerificationKeyHash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
492
492
  creator: PublicKey;
@@ -501,7 +501,7 @@ declare const NFTState_base: (new (value: {
501
501
  approved: PublicKey;
502
502
  metadata: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
503
503
  storage: Storage;
504
- version: UInt32;
504
+ version: UInt64;
505
505
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
506
506
  metadataVerificationKeyHash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
507
507
  creator: PublicKey;
@@ -559,7 +559,7 @@ declare const NFTState_base: (new (value: {
559
559
  approved: PublicKey;
560
560
  metadata: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
561
561
  storage: Storage;
562
- version: UInt32;
562
+ version: UInt64;
563
563
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
564
564
  metadataVerificationKeyHash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
565
565
  creator: PublicKey;
@@ -597,7 +597,7 @@ declare const NFTState_base: (new (value: {
597
597
  storage: Storage | {
598
598
  url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[] | bigint[];
599
599
  };
600
- version: number | bigint | UInt32;
600
+ version: number | bigint | UInt64;
601
601
  isPaused: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
602
602
  metadataVerificationKeyHash: string | number | bigint | import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
603
603
  creator: PublicKey | {
@@ -618,7 +618,7 @@ declare const NFTState_base: (new (value: {
618
618
  approved: PublicKey;
619
619
  metadata: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
620
620
  storage: Storage;
621
- version: UInt32;
621
+ version: UInt64;
622
622
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
623
623
  metadataVerificationKeyHash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
624
624
  creator: PublicKey;
@@ -632,7 +632,7 @@ declare const NFTState_base: (new (value: {
632
632
  approved: PublicKey;
633
633
  metadata: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
634
634
  storage: Storage;
635
- version: UInt32;
635
+ version: UInt64;
636
636
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
637
637
  metadataVerificationKeyHash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
638
638
  creator: PublicKey;
@@ -649,7 +649,7 @@ declare const NFTState_base: (new (value: {
649
649
  approved: PublicKey;
650
650
  metadata: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
651
651
  storage: Storage;
652
- version: UInt32;
652
+ version: UInt64;
653
653
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
654
654
  metadataVerificationKeyHash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
655
655
  creator: PublicKey;
@@ -721,7 +721,7 @@ declare const NFTState_base: (new (value: {
721
721
  approved: PublicKey;
722
722
  metadata: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
723
723
  storage: Storage;
724
- version: UInt32;
724
+ version: UInt64;
725
725
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
726
726
  metadataVerificationKeyHash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
727
727
  creator: PublicKey;
@@ -735,7 +735,7 @@ declare const NFTState_base: (new (value: {
735
735
  approved: PublicKey;
736
736
  metadata: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
737
737
  storage: Storage;
738
- version: UInt32;
738
+ version: UInt64;
739
739
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
740
740
  metadataVerificationKeyHash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
741
741
  creator: PublicKey;
@@ -788,7 +788,7 @@ declare class NFTUpdateProof extends DynamicProof<NFTState, NFTState> {
788
788
  declare const NFTData_base: (new (value: {
789
789
  owner: PublicKey;
790
790
  approved: PublicKey;
791
- version: UInt32;
791
+ version: UInt64;
792
792
  id: UInt64;
793
793
  canChangeOwnerByProof: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
794
794
  canTransfer: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -803,7 +803,7 @@ declare const NFTData_base: (new (value: {
803
803
  }) => {
804
804
  owner: PublicKey;
805
805
  approved: PublicKey;
806
- version: UInt32;
806
+ version: UInt64;
807
807
  id: UInt64;
808
808
  canChangeOwnerByProof: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
809
809
  canTransfer: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -820,7 +820,7 @@ declare const NFTData_base: (new (value: {
820
820
  } & Omit<import("node_modules/o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
821
821
  owner: PublicKey;
822
822
  approved: PublicKey;
823
- version: UInt32;
823
+ version: UInt64;
824
824
  id: UInt64;
825
825
  canChangeOwnerByProof: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
826
826
  canTransfer: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -857,7 +857,7 @@ declare const NFTData_base: (new (value: {
857
857
  fromFields: (fields: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[]) => {
858
858
  owner: PublicKey;
859
859
  approved: PublicKey;
860
- version: UInt32;
860
+ version: UInt64;
861
861
  id: UInt64;
862
862
  canChangeOwnerByProof: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
863
863
  canTransfer: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -880,7 +880,7 @@ declare const NFTData_base: (new (value: {
880
880
  x: Field | bigint;
881
881
  isOdd: Bool | boolean;
882
882
  };
883
- version: number | bigint | UInt32;
883
+ version: number | bigint | UInt64;
884
884
  id: number | bigint | UInt64;
885
885
  canChangeOwnerByProof: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
886
886
  canTransfer: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -895,7 +895,7 @@ declare const NFTData_base: (new (value: {
895
895
  }) => {
896
896
  owner: PublicKey;
897
897
  approved: PublicKey;
898
- version: UInt32;
898
+ version: UInt64;
899
899
  id: UInt64;
900
900
  canChangeOwnerByProof: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
901
901
  canTransfer: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -911,7 +911,7 @@ declare const NFTData_base: (new (value: {
911
911
  toInput: (x: {
912
912
  owner: PublicKey;
913
913
  approved: PublicKey;
914
- version: UInt32;
914
+ version: UInt64;
915
915
  id: UInt64;
916
916
  canChangeOwnerByProof: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
917
917
  canTransfer: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -930,7 +930,7 @@ declare const NFTData_base: (new (value: {
930
930
  toJSON: (x: {
931
931
  owner: PublicKey;
932
932
  approved: PublicKey;
933
- version: UInt32;
933
+ version: UInt64;
934
934
  id: UInt64;
935
935
  canChangeOwnerByProof: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
936
936
  canTransfer: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -976,7 +976,7 @@ declare const NFTData_base: (new (value: {
976
976
  }) => {
977
977
  owner: PublicKey;
978
978
  approved: PublicKey;
979
- version: UInt32;
979
+ version: UInt64;
980
980
  id: UInt64;
981
981
  canChangeOwnerByProof: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
982
982
  canTransfer: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -992,7 +992,7 @@ declare const NFTData_base: (new (value: {
992
992
  empty: () => {
993
993
  owner: PublicKey;
994
994
  approved: PublicKey;
995
- version: UInt32;
995
+ version: UInt64;
996
996
  id: UInt64;
997
997
  canChangeOwnerByProof: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
998
998
  canTransfer: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -1018,7 +1018,7 @@ declare class NFTData extends NFTData_base {
1018
1018
  static new(params: {
1019
1019
  owner: string | PublicKey;
1020
1020
  approved?: string | PublicKey;
1021
- version?: number;
1021
+ version?: number | bigint | string;
1022
1022
  id?: bigint | string;
1023
1023
  canChangeOwnerByProof?: boolean;
1024
1024
  canTransfer?: boolean;
@@ -1050,12 +1050,14 @@ declare const CollectionData_base: (new (value: {
1050
1050
  requireTransferApproval: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1051
1051
  mintingIsLimited: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1052
1052
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1053
+ pendingCreatorIsOdd: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1053
1054
  }) => {
1054
1055
  royaltyFee: UInt32;
1055
1056
  transferFee: UInt64;
1056
1057
  requireTransferApproval: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1057
1058
  mintingIsLimited: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1058
1059
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1060
+ pendingCreatorIsOdd: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1059
1061
  }) & {
1060
1062
  _isStruct: true;
1061
1063
  } & Omit<import("node_modules/o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
@@ -1064,12 +1066,14 @@ declare const CollectionData_base: (new (value: {
1064
1066
  requireTransferApproval: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1065
1067
  mintingIsLimited: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1066
1068
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1069
+ pendingCreatorIsOdd: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1067
1070
  }, {
1068
1071
  royaltyFee: bigint;
1069
1072
  transferFee: bigint;
1070
1073
  requireTransferApproval: boolean;
1071
1074
  mintingIsLimited: boolean;
1072
1075
  isPaused: boolean;
1076
+ pendingCreatorIsOdd: boolean;
1073
1077
  }>, "fromFields"> & {
1074
1078
  fromFields: (fields: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[]) => {
1075
1079
  royaltyFee: UInt32;
@@ -1077,6 +1081,7 @@ declare const CollectionData_base: (new (value: {
1077
1081
  requireTransferApproval: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1078
1082
  mintingIsLimited: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1079
1083
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1084
+ pendingCreatorIsOdd: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1080
1085
  };
1081
1086
  } & {
1082
1087
  fromValue: (value: {
@@ -1085,12 +1090,14 @@ declare const CollectionData_base: (new (value: {
1085
1090
  requireTransferApproval: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1086
1091
  mintingIsLimited: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1087
1092
  isPaused: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1093
+ pendingCreatorIsOdd: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1088
1094
  }) => {
1089
1095
  royaltyFee: UInt32;
1090
1096
  transferFee: UInt64;
1091
1097
  requireTransferApproval: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1092
1098
  mintingIsLimited: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1093
1099
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1100
+ pendingCreatorIsOdd: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1094
1101
  };
1095
1102
  toInput: (x: {
1096
1103
  royaltyFee: UInt32;
@@ -1098,6 +1105,7 @@ declare const CollectionData_base: (new (value: {
1098
1105
  requireTransferApproval: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1099
1106
  mintingIsLimited: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1100
1107
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1108
+ pendingCreatorIsOdd: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1101
1109
  }) => {
1102
1110
  fields?: Field[] | undefined;
1103
1111
  packed?: [Field, number][] | undefined;
@@ -1108,12 +1116,14 @@ declare const CollectionData_base: (new (value: {
1108
1116
  requireTransferApproval: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1109
1117
  mintingIsLimited: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1110
1118
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1119
+ pendingCreatorIsOdd: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1111
1120
  }) => {
1112
1121
  royaltyFee: string;
1113
1122
  transferFee: string;
1114
1123
  requireTransferApproval: boolean;
1115
1124
  mintingIsLimited: boolean;
1116
1125
  isPaused: boolean;
1126
+ pendingCreatorIsOdd: boolean;
1117
1127
  };
1118
1128
  fromJSON: (x: {
1119
1129
  royaltyFee: string;
@@ -1121,12 +1131,14 @@ declare const CollectionData_base: (new (value: {
1121
1131
  requireTransferApproval: boolean;
1122
1132
  mintingIsLimited: boolean;
1123
1133
  isPaused: boolean;
1134
+ pendingCreatorIsOdd: boolean;
1124
1135
  }) => {
1125
1136
  royaltyFee: UInt32;
1126
1137
  transferFee: UInt64;
1127
1138
  requireTransferApproval: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1128
1139
  mintingIsLimited: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1129
1140
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1141
+ pendingCreatorIsOdd: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1130
1142
  };
1131
1143
  empty: () => {
1132
1144
  royaltyFee: UInt32;
@@ -1134,6 +1146,7 @@ declare const CollectionData_base: (new (value: {
1134
1146
  requireTransferApproval: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1135
1147
  mintingIsLimited: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1136
1148
  isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1149
+ pendingCreatorIsOdd: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1137
1150
  };
1138
1151
  };
1139
1152
  /**
@@ -1165,7 +1178,6 @@ declare class CollectionData extends CollectionData_base {
1165
1178
  static unpack(packed: Field): CollectionData;
1166
1179
  static isPaused(packed: Field): import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1167
1180
  static requireTransferApproval(packed: Field): import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1168
- static mintingIsLimited(packed: Field): import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1169
1181
  }
1170
1182
  declare const MintParams_base: (new (value: {
1171
1183
  name: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
@@ -1264,7 +1276,7 @@ declare const MintParams_base: (new (value: {
1264
1276
  x: Field | bigint;
1265
1277
  isOdd: Bool | boolean;
1266
1278
  };
1267
- version: number | bigint | UInt32;
1279
+ version: number | bigint | UInt64;
1268
1280
  id: number | bigint | UInt64;
1269
1281
  canChangeOwnerByProof: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1270
1282
  canTransfer: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -1871,7 +1883,150 @@ declare const MintRequest_base: (new (value: {
1871
1883
  */
1872
1884
  declare class MintRequest extends MintRequest_base {
1873
1885
  }
1874
- declare const TransferParams_base: (new (value: {
1886
+ declare const TransferBySignatureParams_base: (new (value: {
1887
+ address: PublicKey;
1888
+ to: PublicKey;
1889
+ price: UInt64Option;
1890
+ context: NFTTransactionContext;
1891
+ }) => {
1892
+ address: PublicKey;
1893
+ to: PublicKey;
1894
+ price: UInt64Option;
1895
+ context: NFTTransactionContext;
1896
+ }) & {
1897
+ _isStruct: true;
1898
+ } & Omit<import("node_modules/o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
1899
+ address: PublicKey;
1900
+ to: PublicKey;
1901
+ price: UInt64Option;
1902
+ context: NFTTransactionContext;
1903
+ }, {
1904
+ address: {
1905
+ x: bigint;
1906
+ isOdd: boolean;
1907
+ };
1908
+ to: {
1909
+ x: bigint;
1910
+ isOdd: boolean;
1911
+ };
1912
+ price: bigint | undefined;
1913
+ context: {
1914
+ custom: bigint[];
1915
+ };
1916
+ }>, "fromFields"> & {
1917
+ fromFields: (fields: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[]) => {
1918
+ address: PublicKey;
1919
+ to: PublicKey;
1920
+ price: UInt64Option;
1921
+ context: NFTTransactionContext;
1922
+ };
1923
+ } & {
1924
+ fromValue: (value: {
1925
+ address: PublicKey | {
1926
+ x: Field | bigint;
1927
+ isOdd: Bool | boolean;
1928
+ };
1929
+ to: PublicKey | {
1930
+ x: Field | bigint;
1931
+ isOdd: Bool | boolean;
1932
+ };
1933
+ price: bigint | UInt64Option | UInt64 | {
1934
+ isSome: boolean | Bool;
1935
+ value: bigint | UInt64;
1936
+ } | undefined;
1937
+ context: NFTTransactionContext | {
1938
+ custom: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[] | bigint[];
1939
+ };
1940
+ }) => {
1941
+ address: PublicKey;
1942
+ to: PublicKey;
1943
+ price: UInt64Option;
1944
+ context: NFTTransactionContext;
1945
+ };
1946
+ toInput: (x: {
1947
+ address: PublicKey;
1948
+ to: PublicKey;
1949
+ price: UInt64Option;
1950
+ context: NFTTransactionContext;
1951
+ }) => {
1952
+ fields?: Field[] | undefined;
1953
+ packed?: [Field, number][] | undefined;
1954
+ };
1955
+ toJSON: (x: {
1956
+ address: PublicKey;
1957
+ to: PublicKey;
1958
+ price: UInt64Option;
1959
+ context: NFTTransactionContext;
1960
+ }) => {
1961
+ address: string;
1962
+ to: string;
1963
+ price: {
1964
+ prototype: {
1965
+ isSome: boolean;
1966
+ value: any;
1967
+ assertSome: {};
1968
+ assertNone: {};
1969
+ orElse: {};
1970
+ };
1971
+ toFields: {};
1972
+ toAuxiliary: {};
1973
+ sizeInFields: {};
1974
+ check: {};
1975
+ toValue: {};
1976
+ fromValue: {};
1977
+ toCanonical?: {} | null | undefined;
1978
+ fromFields: {};
1979
+ from: {};
1980
+ none: {};
1981
+ };
1982
+ context: {
1983
+ custom: string[];
1984
+ };
1985
+ };
1986
+ fromJSON: (x: {
1987
+ address: string;
1988
+ to: string;
1989
+ price: {
1990
+ prototype: {
1991
+ isSome: boolean;
1992
+ value: any;
1993
+ assertSome: {};
1994
+ assertNone: {};
1995
+ orElse: {};
1996
+ };
1997
+ toFields: {};
1998
+ toAuxiliary: {};
1999
+ sizeInFields: {};
2000
+ check: {};
2001
+ toValue: {};
2002
+ fromValue: {};
2003
+ toCanonical?: {} | null | undefined;
2004
+ fromFields: {};
2005
+ from: {};
2006
+ none: {};
2007
+ };
2008
+ context: {
2009
+ custom: string[];
2010
+ };
2011
+ }) => {
2012
+ address: PublicKey;
2013
+ to: PublicKey;
2014
+ price: UInt64Option;
2015
+ context: NFTTransactionContext;
2016
+ };
2017
+ empty: () => {
2018
+ address: PublicKey;
2019
+ to: PublicKey;
2020
+ price: UInt64Option;
2021
+ context: NFTTransactionContext;
2022
+ };
2023
+ };
2024
+ /**
2025
+ * Represents the parameters required for transferring an NFT using a signature.
2026
+ */
2027
+ declare class TransferBySignatureParams extends TransferBySignatureParams_base {
2028
+ }
2029
+ declare const TransferByProofParams_base: (new (value: {
1875
2030
  address: PublicKey;
1876
2031
  from: PublicKey;
1877
2032
  to: PublicKey;
@@ -2029,9 +2184,9 @@ declare const TransferParams_base: (new (value: {
2029
2184
  };
2030
2185
  };
2031
2186
  /**
2032
- * Represents the parameters required for transferring an NFT.
2187
+ * Represents the parameters required for transferring an NFT using a proof.
2033
2188
  */
2034
- declare class TransferParams extends TransferParams_base {
2189
+ declare class TransferByProofParams extends TransferByProofParams_base {
2035
2190
  }
2036
2191
  declare const TransferExtendedParams_base: (new (value: {
2037
2192
  from: PublicKey;