@medialane/sdk 0.9.2 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -19,9 +19,9 @@ declare const MARKETPLACE_1155_CONTRACT_MAINNET = "0x02bfa521c25461a09d735889b46
19
19
  declare const MARKETPLACE_1155_CLASS_HASH_MAINNET = "0x01b674aad934be85abc7c1970265cbf7e9bc7d586a90f0a67112c201636dbdd3";
20
20
  /** First mainnet block for the current Medialane Protocol ERC-1155 deployment. */
21
21
  declare const MARKETPLACE_1155_START_BLOCK_MAINNET = 9260304;
22
- declare const COLLECTION_721_CONTRACT_MAINNET = "0x05c49ee5d3208a2c2e150fdd0c247d1195ed9ab54fa2d5dea7a633f39e4b205b";
22
+ declare const COLLECTION_721_CONTRACT_MAINNET = "0x07c2207d200a1dce1cc82a117d8ba91dabfe3d1cc5072d9e4cdd9654fbb0ff10";
23
23
  /** @deprecated Use COLLECTION_721_CONTRACT_MAINNET. */
24
- declare const COLLECTION_CONTRACT_MAINNET = "0x05c49ee5d3208a2c2e150fdd0c247d1195ed9ab54fa2d5dea7a633f39e4b205b";
24
+ declare const COLLECTION_CONTRACT_MAINNET = "0x07c2207d200a1dce1cc82a117d8ba91dabfe3d1cc5072d9e4cdd9654fbb0ff10";
25
25
  declare const DROP_FACTORY_CONTRACT_MAINNET = "0x03587f42e29daee1b193f6cf83bf8627908ed6632d0d83fcb26225c50547d800";
26
26
  declare const POP_FACTORY_CONTRACT_MAINNET = "0x00b32c34b427d8f346b5843ada6a37bd3368d879fc752cd52b68a87287f60111";
27
27
  /** NFTComments on-chain comment system — immutable, no admin key. */
@@ -865,9 +865,23 @@ interface ApiCollectionProfile {
865
865
  telegramUrl: string | null;
866
866
  hasGatedContent: boolean;
867
867
  gatedContentTitle: string | null;
868
+ slug: string | null;
868
869
  updatedBy: string | null;
869
870
  updatedAt: string;
870
871
  }
872
+ interface ApiCollectionSlugClaim {
873
+ id: string;
874
+ slug: string;
875
+ contractAddress: string;
876
+ chain: string;
877
+ walletAddress: string;
878
+ status: "PENDING" | "APPROVED" | "REJECTED";
879
+ adminNotes: string | null;
880
+ notifyEmail: string | null;
881
+ reviewedAt: string | null;
882
+ createdAt: string;
883
+ updatedAt: string;
884
+ }
871
885
  interface ApiCreatorProfile {
872
886
  walletAddress: string;
873
887
  chain: string;
@@ -937,6 +951,7 @@ declare class ApiClient {
937
951
  private post;
938
952
  private patch;
939
953
  private del;
954
+ private checkResponse;
940
955
  getOrders(query?: ApiOrdersQuery): Promise<ApiResponse<ApiOrder[]>>;
941
956
  getOrder(orderHash: string): Promise<ApiResponse<ApiOrder>>;
942
957
  getActiveOrdersForToken(contract: string, tokenId: string): Promise<ApiResponse<ApiOrder[]>>;
@@ -1038,6 +1053,21 @@ declare class ApiClient {
1038
1053
  * Update creator profile. Requires Clerk JWT; wallet must match authenticated user.
1039
1054
  */
1040
1055
  updateCreatorProfile(walletAddress: string, data: Partial<Omit<ApiCreatorProfile, "walletAddress" | "chain" | "updatedAt">>, clerkToken: string): Promise<ApiCreatorProfile>;
1056
+ /** Check if a collection slug is available (public, no auth). */
1057
+ checkCollectionSlugAvailability(slug: string): Promise<{
1058
+ available: boolean;
1059
+ reason?: string;
1060
+ }>;
1061
+ /** Submit a slug claim for a collection. Requires Clerk JWT — caller must be the collection owner. */
1062
+ submitCollectionSlugClaim(contractAddress: string, slug: string, clerkToken: string, notifyEmail?: string): Promise<{
1063
+ claim: ApiCollectionSlugClaim;
1064
+ }>;
1065
+ /** Returns all slug claims submitted by the authenticated wallet. Requires Clerk JWT. */
1066
+ getMyCollectionSlugClaims(clerkToken: string): Promise<{
1067
+ claims: ApiCollectionSlugClaim[];
1068
+ }>;
1069
+ /** Resolve a collection slug to a full collection. Returns null if not found. */
1070
+ getCollectionBySlug(slug: string): Promise<ApiCollection | null>;
1041
1071
  /**
1042
1072
  * Upsert the authenticated user's wallet address in the backend DB.
1043
1073
  * Call after onboarding when ChipiPay confirms the wallet address.
@@ -2259,9 +2289,6 @@ declare const CollectionRegistryABI: readonly [{
2259
2289
  }, {
2260
2290
  readonly name: "ip_nft";
2261
2291
  readonly type: "core::starknet::contract_address::ContractAddress";
2262
- }, {
2263
- readonly name: "is_active";
2264
- readonly type: "core::bool";
2265
2292
  }];
2266
2293
  }, {
2267
2294
  readonly type: "function";
@@ -2900,6 +2927,1180 @@ declare const IPCollection1155ABI: readonly [{
2900
2927
  readonly outputs: readonly [];
2901
2928
  readonly state_mutability: "external";
2902
2929
  }];
2930
+ declare const IPCollectionABI: readonly [{
2931
+ readonly type: "impl";
2932
+ readonly name: "IPCollectionImpl";
2933
+ readonly interface_name: "ip_collection_erc_721::interfaces::IIPCollection::IIPCollection";
2934
+ }, {
2935
+ readonly type: "struct";
2936
+ readonly name: "core::byte_array::ByteArray";
2937
+ readonly members: readonly [{
2938
+ readonly name: "data";
2939
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
2940
+ }, {
2941
+ readonly name: "pending_word";
2942
+ readonly type: "core::felt252";
2943
+ }, {
2944
+ readonly name: "pending_word_len";
2945
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
2946
+ }];
2947
+ }, {
2948
+ readonly type: "struct";
2949
+ readonly name: "core::integer::u256";
2950
+ readonly members: readonly [{
2951
+ readonly name: "low";
2952
+ readonly type: "core::integer::u128";
2953
+ }, {
2954
+ readonly name: "high";
2955
+ readonly type: "core::integer::u128";
2956
+ }];
2957
+ }, {
2958
+ readonly type: "struct";
2959
+ readonly name: "core::array::Span::<core::integer::u256>";
2960
+ readonly members: readonly [{
2961
+ readonly name: "snapshot";
2962
+ readonly type: "@core::array::Array::<core::integer::u256>";
2963
+ }];
2964
+ }, {
2965
+ readonly type: "struct";
2966
+ readonly name: "ip_collection_erc_721::types::Collection";
2967
+ readonly members: readonly [{
2968
+ readonly name: "name";
2969
+ readonly type: "core::byte_array::ByteArray";
2970
+ }, {
2971
+ readonly name: "symbol";
2972
+ readonly type: "core::byte_array::ByteArray";
2973
+ }, {
2974
+ readonly name: "base_uri";
2975
+ readonly type: "core::byte_array::ByteArray";
2976
+ }, {
2977
+ readonly name: "owner";
2978
+ readonly type: "core::starknet::contract_address::ContractAddress";
2979
+ }, {
2980
+ readonly name: "ip_nft";
2981
+ readonly type: "core::starknet::contract_address::ContractAddress";
2982
+ }];
2983
+ }, {
2984
+ readonly type: "enum";
2985
+ readonly name: "core::bool";
2986
+ readonly variants: readonly [{
2987
+ readonly name: "False";
2988
+ readonly type: "()";
2989
+ }, {
2990
+ readonly name: "True";
2991
+ readonly type: "()";
2992
+ }];
2993
+ }, {
2994
+ readonly type: "struct";
2995
+ readonly name: "ip_collection_erc_721::types::CollectionStats";
2996
+ readonly members: readonly [{
2997
+ readonly name: "total_minted";
2998
+ readonly type: "core::integer::u256";
2999
+ }, {
3000
+ readonly name: "total_archived";
3001
+ readonly type: "core::integer::u256";
3002
+ }, {
3003
+ readonly name: "total_transfers";
3004
+ readonly type: "core::integer::u256";
3005
+ }, {
3006
+ readonly name: "last_mint_time";
3007
+ readonly type: "core::integer::u64";
3008
+ }, {
3009
+ readonly name: "last_archive_time";
3010
+ readonly type: "core::integer::u64";
3011
+ }, {
3012
+ readonly name: "last_transfer_time";
3013
+ readonly type: "core::integer::u64";
3014
+ }];
3015
+ }, {
3016
+ readonly type: "struct";
3017
+ readonly name: "ip_collection_erc_721::types::TokenData";
3018
+ readonly members: readonly [{
3019
+ readonly name: "collection_id";
3020
+ readonly type: "core::integer::u256";
3021
+ }, {
3022
+ readonly name: "token_id";
3023
+ readonly type: "core::integer::u256";
3024
+ }, {
3025
+ readonly name: "owner";
3026
+ readonly type: "core::starknet::contract_address::ContractAddress";
3027
+ }, {
3028
+ readonly name: "metadata_uri";
3029
+ readonly type: "core::byte_array::ByteArray";
3030
+ }, {
3031
+ readonly name: "original_creator";
3032
+ readonly type: "core::starknet::contract_address::ContractAddress";
3033
+ }, {
3034
+ readonly name: "registered_at";
3035
+ readonly type: "core::integer::u64";
3036
+ }];
3037
+ }, {
3038
+ readonly type: "interface";
3039
+ readonly name: "ip_collection_erc_721::interfaces::IIPCollection::IIPCollection";
3040
+ readonly items: readonly [{
3041
+ readonly type: "function";
3042
+ readonly name: "create_collection";
3043
+ readonly inputs: readonly [{
3044
+ readonly name: "name";
3045
+ readonly type: "core::byte_array::ByteArray";
3046
+ }, {
3047
+ readonly name: "symbol";
3048
+ readonly type: "core::byte_array::ByteArray";
3049
+ }, {
3050
+ readonly name: "base_uri";
3051
+ readonly type: "core::byte_array::ByteArray";
3052
+ }];
3053
+ readonly outputs: readonly [{
3054
+ readonly type: "core::integer::u256";
3055
+ }];
3056
+ readonly state_mutability: "external";
3057
+ }, {
3058
+ readonly type: "function";
3059
+ readonly name: "mint";
3060
+ readonly inputs: readonly [{
3061
+ readonly name: "collection_id";
3062
+ readonly type: "core::integer::u256";
3063
+ }, {
3064
+ readonly name: "recipient";
3065
+ readonly type: "core::starknet::contract_address::ContractAddress";
3066
+ }, {
3067
+ readonly name: "token_uri";
3068
+ readonly type: "core::byte_array::ByteArray";
3069
+ }];
3070
+ readonly outputs: readonly [{
3071
+ readonly type: "core::integer::u256";
3072
+ }];
3073
+ readonly state_mutability: "external";
3074
+ }, {
3075
+ readonly type: "function";
3076
+ readonly name: "batch_mint";
3077
+ readonly inputs: readonly [{
3078
+ readonly name: "collection_id";
3079
+ readonly type: "core::integer::u256";
3080
+ }, {
3081
+ readonly name: "recipients";
3082
+ readonly type: "core::array::Array::<core::starknet::contract_address::ContractAddress>";
3083
+ }, {
3084
+ readonly name: "token_uris";
3085
+ readonly type: "core::array::Array::<core::byte_array::ByteArray>";
3086
+ }];
3087
+ readonly outputs: readonly [{
3088
+ readonly type: "core::array::Span::<core::integer::u256>";
3089
+ }];
3090
+ readonly state_mutability: "external";
3091
+ }, {
3092
+ readonly type: "function";
3093
+ readonly name: "transfer_collection_ownership";
3094
+ readonly inputs: readonly [{
3095
+ readonly name: "collection_id";
3096
+ readonly type: "core::integer::u256";
3097
+ }, {
3098
+ readonly name: "new_owner";
3099
+ readonly type: "core::starknet::contract_address::ContractAddress";
3100
+ }];
3101
+ readonly outputs: readonly [];
3102
+ readonly state_mutability: "external";
3103
+ }, {
3104
+ readonly type: "function";
3105
+ readonly name: "archive";
3106
+ readonly inputs: readonly [{
3107
+ readonly name: "token";
3108
+ readonly type: "core::byte_array::ByteArray";
3109
+ }];
3110
+ readonly outputs: readonly [];
3111
+ readonly state_mutability: "external";
3112
+ }, {
3113
+ readonly type: "function";
3114
+ readonly name: "batch_archive";
3115
+ readonly inputs: readonly [{
3116
+ readonly name: "tokens";
3117
+ readonly type: "core::array::Array::<core::byte_array::ByteArray>";
3118
+ }];
3119
+ readonly outputs: readonly [];
3120
+ readonly state_mutability: "external";
3121
+ }, {
3122
+ readonly type: "function";
3123
+ readonly name: "transfer_token";
3124
+ readonly inputs: readonly [{
3125
+ readonly name: "from";
3126
+ readonly type: "core::starknet::contract_address::ContractAddress";
3127
+ }, {
3128
+ readonly name: "to";
3129
+ readonly type: "core::starknet::contract_address::ContractAddress";
3130
+ }, {
3131
+ readonly name: "token";
3132
+ readonly type: "core::byte_array::ByteArray";
3133
+ }];
3134
+ readonly outputs: readonly [];
3135
+ readonly state_mutability: "external";
3136
+ }, {
3137
+ readonly type: "function";
3138
+ readonly name: "batch_transfer";
3139
+ readonly inputs: readonly [{
3140
+ readonly name: "from";
3141
+ readonly type: "core::starknet::contract_address::ContractAddress";
3142
+ }, {
3143
+ readonly name: "to";
3144
+ readonly type: "core::starknet::contract_address::ContractAddress";
3145
+ }, {
3146
+ readonly name: "tokens";
3147
+ readonly type: "core::array::Array::<core::byte_array::ByteArray>";
3148
+ }];
3149
+ readonly outputs: readonly [];
3150
+ readonly state_mutability: "external";
3151
+ }, {
3152
+ readonly type: "function";
3153
+ readonly name: "list_user_tokens_per_collection";
3154
+ readonly inputs: readonly [{
3155
+ readonly name: "collection_id";
3156
+ readonly type: "core::integer::u256";
3157
+ }, {
3158
+ readonly name: "user";
3159
+ readonly type: "core::starknet::contract_address::ContractAddress";
3160
+ }];
3161
+ readonly outputs: readonly [{
3162
+ readonly type: "core::array::Span::<core::integer::u256>";
3163
+ }];
3164
+ readonly state_mutability: "view";
3165
+ }, {
3166
+ readonly type: "function";
3167
+ readonly name: "list_user_collections";
3168
+ readonly inputs: readonly [{
3169
+ readonly name: "user";
3170
+ readonly type: "core::starknet::contract_address::ContractAddress";
3171
+ }];
3172
+ readonly outputs: readonly [{
3173
+ readonly type: "core::array::Span::<core::integer::u256>";
3174
+ }];
3175
+ readonly state_mutability: "view";
3176
+ }, {
3177
+ readonly type: "function";
3178
+ readonly name: "get_collection";
3179
+ readonly inputs: readonly [{
3180
+ readonly name: "collection_id";
3181
+ readonly type: "core::integer::u256";
3182
+ }];
3183
+ readonly outputs: readonly [{
3184
+ readonly type: "ip_collection_erc_721::types::Collection";
3185
+ }];
3186
+ readonly state_mutability: "view";
3187
+ }, {
3188
+ readonly type: "function";
3189
+ readonly name: "get_collection_count";
3190
+ readonly inputs: readonly [];
3191
+ readonly outputs: readonly [{
3192
+ readonly type: "core::integer::u256";
3193
+ }];
3194
+ readonly state_mutability: "view";
3195
+ }, {
3196
+ readonly type: "function";
3197
+ readonly name: "is_valid_collection";
3198
+ readonly inputs: readonly [{
3199
+ readonly name: "collection_id";
3200
+ readonly type: "core::integer::u256";
3201
+ }];
3202
+ readonly outputs: readonly [{
3203
+ readonly type: "core::bool";
3204
+ }];
3205
+ readonly state_mutability: "view";
3206
+ }, {
3207
+ readonly type: "function";
3208
+ readonly name: "get_collection_stats";
3209
+ readonly inputs: readonly [{
3210
+ readonly name: "collection_id";
3211
+ readonly type: "core::integer::u256";
3212
+ }];
3213
+ readonly outputs: readonly [{
3214
+ readonly type: "ip_collection_erc_721::types::CollectionStats";
3215
+ }];
3216
+ readonly state_mutability: "view";
3217
+ }, {
3218
+ readonly type: "function";
3219
+ readonly name: "is_collection_owner";
3220
+ readonly inputs: readonly [{
3221
+ readonly name: "collection_id";
3222
+ readonly type: "core::integer::u256";
3223
+ }, {
3224
+ readonly name: "owner";
3225
+ readonly type: "core::starknet::contract_address::ContractAddress";
3226
+ }];
3227
+ readonly outputs: readonly [{
3228
+ readonly type: "core::bool";
3229
+ }];
3230
+ readonly state_mutability: "view";
3231
+ }, {
3232
+ readonly type: "function";
3233
+ readonly name: "get_token";
3234
+ readonly inputs: readonly [{
3235
+ readonly name: "token";
3236
+ readonly type: "core::byte_array::ByteArray";
3237
+ }];
3238
+ readonly outputs: readonly [{
3239
+ readonly type: "ip_collection_erc_721::types::TokenData";
3240
+ }];
3241
+ readonly state_mutability: "view";
3242
+ }, {
3243
+ readonly type: "function";
3244
+ readonly name: "is_valid_token";
3245
+ readonly inputs: readonly [{
3246
+ readonly name: "token";
3247
+ readonly type: "core::byte_array::ByteArray";
3248
+ }];
3249
+ readonly outputs: readonly [{
3250
+ readonly type: "core::bool";
3251
+ }];
3252
+ readonly state_mutability: "view";
3253
+ }, {
3254
+ readonly type: "function";
3255
+ readonly name: "is_transferable_token";
3256
+ readonly inputs: readonly [{
3257
+ readonly name: "token";
3258
+ readonly type: "core::byte_array::ByteArray";
3259
+ }];
3260
+ readonly outputs: readonly [{
3261
+ readonly type: "core::bool";
3262
+ }];
3263
+ readonly state_mutability: "view";
3264
+ }];
3265
+ }, {
3266
+ readonly type: "constructor";
3267
+ readonly name: "constructor";
3268
+ readonly inputs: readonly [{
3269
+ readonly name: "ip_nft_class_hash";
3270
+ readonly type: "core::starknet::class_hash::ClassHash";
3271
+ }];
3272
+ }, {
3273
+ readonly type: "event";
3274
+ readonly name: "ip_collection_erc_721::IPCollection::IPCollection::CollectionCreated";
3275
+ readonly kind: "struct";
3276
+ readonly members: readonly [{
3277
+ readonly name: "collection_id";
3278
+ readonly type: "core::integer::u256";
3279
+ readonly kind: "key";
3280
+ }, {
3281
+ readonly name: "owner";
3282
+ readonly type: "core::starknet::contract_address::ContractAddress";
3283
+ readonly kind: "data";
3284
+ }, {
3285
+ readonly name: "name";
3286
+ readonly type: "core::byte_array::ByteArray";
3287
+ readonly kind: "data";
3288
+ }, {
3289
+ readonly name: "symbol";
3290
+ readonly type: "core::byte_array::ByteArray";
3291
+ readonly kind: "data";
3292
+ }, {
3293
+ readonly name: "base_uri";
3294
+ readonly type: "core::byte_array::ByteArray";
3295
+ readonly kind: "data";
3296
+ }];
3297
+ }, {
3298
+ readonly type: "event";
3299
+ readonly name: "ip_collection_erc_721::IPCollection::IPCollection::CollectionOwnershipTransferred";
3300
+ readonly kind: "struct";
3301
+ readonly members: readonly [{
3302
+ readonly name: "collection_id";
3303
+ readonly type: "core::integer::u256";
3304
+ readonly kind: "key";
3305
+ }, {
3306
+ readonly name: "previous_owner";
3307
+ readonly type: "core::starknet::contract_address::ContractAddress";
3308
+ readonly kind: "data";
3309
+ }, {
3310
+ readonly name: "new_owner";
3311
+ readonly type: "core::starknet::contract_address::ContractAddress";
3312
+ readonly kind: "data";
3313
+ }, {
3314
+ readonly name: "timestamp";
3315
+ readonly type: "core::integer::u64";
3316
+ readonly kind: "data";
3317
+ }];
3318
+ }, {
3319
+ readonly type: "event";
3320
+ readonly name: "ip_collection_erc_721::IPCollection::IPCollection::TokenMinted";
3321
+ readonly kind: "struct";
3322
+ readonly members: readonly [{
3323
+ readonly name: "collection_id";
3324
+ readonly type: "core::integer::u256";
3325
+ readonly kind: "key";
3326
+ }, {
3327
+ readonly name: "token_id";
3328
+ readonly type: "core::integer::u256";
3329
+ readonly kind: "key";
3330
+ }, {
3331
+ readonly name: "owner";
3332
+ readonly type: "core::starknet::contract_address::ContractAddress";
3333
+ readonly kind: "data";
3334
+ }, {
3335
+ readonly name: "metadata_uri";
3336
+ readonly type: "core::byte_array::ByteArray";
3337
+ readonly kind: "data";
3338
+ }];
3339
+ }, {
3340
+ readonly type: "event";
3341
+ readonly name: "ip_collection_erc_721::IPCollection::IPCollection::TokenMintedBatch";
3342
+ readonly kind: "struct";
3343
+ readonly members: readonly [{
3344
+ readonly name: "collection_id";
3345
+ readonly type: "core::integer::u256";
3346
+ readonly kind: "key";
3347
+ }, {
3348
+ readonly name: "token_ids";
3349
+ readonly type: "core::array::Span::<core::integer::u256>";
3350
+ readonly kind: "data";
3351
+ }, {
3352
+ readonly name: "owners";
3353
+ readonly type: "core::array::Array::<core::starknet::contract_address::ContractAddress>";
3354
+ readonly kind: "data";
3355
+ }, {
3356
+ readonly name: "operator";
3357
+ readonly type: "core::starknet::contract_address::ContractAddress";
3358
+ readonly kind: "data";
3359
+ }, {
3360
+ readonly name: "timestamp";
3361
+ readonly type: "core::integer::u64";
3362
+ readonly kind: "data";
3363
+ }];
3364
+ }, {
3365
+ readonly type: "event";
3366
+ readonly name: "ip_collection_erc_721::IPCollection::IPCollection::TokenArchived";
3367
+ readonly kind: "struct";
3368
+ readonly members: readonly [{
3369
+ readonly name: "collection_id";
3370
+ readonly type: "core::integer::u256";
3371
+ readonly kind: "key";
3372
+ }, {
3373
+ readonly name: "token_id";
3374
+ readonly type: "core::integer::u256";
3375
+ readonly kind: "key";
3376
+ }, {
3377
+ readonly name: "operator";
3378
+ readonly type: "core::starknet::contract_address::ContractAddress";
3379
+ readonly kind: "data";
3380
+ }, {
3381
+ readonly name: "timestamp";
3382
+ readonly type: "core::integer::u64";
3383
+ readonly kind: "data";
3384
+ }];
3385
+ }, {
3386
+ readonly type: "event";
3387
+ readonly name: "ip_collection_erc_721::IPCollection::IPCollection::TokenArchivedBatch";
3388
+ readonly kind: "struct";
3389
+ readonly members: readonly [{
3390
+ readonly name: "tokens";
3391
+ readonly type: "core::array::Array::<core::byte_array::ByteArray>";
3392
+ readonly kind: "data";
3393
+ }, {
3394
+ readonly name: "operator";
3395
+ readonly type: "core::starknet::contract_address::ContractAddress";
3396
+ readonly kind: "data";
3397
+ }, {
3398
+ readonly name: "timestamp";
3399
+ readonly type: "core::integer::u64";
3400
+ readonly kind: "data";
3401
+ }];
3402
+ }, {
3403
+ readonly type: "event";
3404
+ readonly name: "ip_collection_erc_721::IPCollection::IPCollection::TokenTransferred";
3405
+ readonly kind: "struct";
3406
+ readonly members: readonly [{
3407
+ readonly name: "collection_id";
3408
+ readonly type: "core::integer::u256";
3409
+ readonly kind: "key";
3410
+ }, {
3411
+ readonly name: "token_id";
3412
+ readonly type: "core::integer::u256";
3413
+ readonly kind: "key";
3414
+ }, {
3415
+ readonly name: "from";
3416
+ readonly type: "core::starknet::contract_address::ContractAddress";
3417
+ readonly kind: "data";
3418
+ }, {
3419
+ readonly name: "to";
3420
+ readonly type: "core::starknet::contract_address::ContractAddress";
3421
+ readonly kind: "data";
3422
+ }, {
3423
+ readonly name: "operator";
3424
+ readonly type: "core::starknet::contract_address::ContractAddress";
3425
+ readonly kind: "data";
3426
+ }, {
3427
+ readonly name: "timestamp";
3428
+ readonly type: "core::integer::u64";
3429
+ readonly kind: "data";
3430
+ }];
3431
+ }, {
3432
+ readonly type: "event";
3433
+ readonly name: "ip_collection_erc_721::IPCollection::IPCollection::TokenTransferredBatch";
3434
+ readonly kind: "struct";
3435
+ readonly members: readonly [{
3436
+ readonly name: "from";
3437
+ readonly type: "core::starknet::contract_address::ContractAddress";
3438
+ readonly kind: "data";
3439
+ }, {
3440
+ readonly name: "to";
3441
+ readonly type: "core::starknet::contract_address::ContractAddress";
3442
+ readonly kind: "data";
3443
+ }, {
3444
+ readonly name: "tokens";
3445
+ readonly type: "core::array::Array::<core::byte_array::ByteArray>";
3446
+ readonly kind: "data";
3447
+ }, {
3448
+ readonly name: "operator";
3449
+ readonly type: "core::starknet::contract_address::ContractAddress";
3450
+ readonly kind: "data";
3451
+ }, {
3452
+ readonly name: "timestamp";
3453
+ readonly type: "core::integer::u64";
3454
+ readonly kind: "data";
3455
+ }];
3456
+ }, {
3457
+ readonly type: "event";
3458
+ readonly name: "ip_collection_erc_721::IPCollection::IPCollection::Event";
3459
+ readonly kind: "enum";
3460
+ readonly variants: readonly [{
3461
+ readonly name: "CollectionCreated";
3462
+ readonly type: "ip_collection_erc_721::IPCollection::IPCollection::CollectionCreated";
3463
+ readonly kind: "nested";
3464
+ }, {
3465
+ readonly name: "CollectionOwnershipTransferred";
3466
+ readonly type: "ip_collection_erc_721::IPCollection::IPCollection::CollectionOwnershipTransferred";
3467
+ readonly kind: "nested";
3468
+ }, {
3469
+ readonly name: "TokenMinted";
3470
+ readonly type: "ip_collection_erc_721::IPCollection::IPCollection::TokenMinted";
3471
+ readonly kind: "nested";
3472
+ }, {
3473
+ readonly name: "TokenMintedBatch";
3474
+ readonly type: "ip_collection_erc_721::IPCollection::IPCollection::TokenMintedBatch";
3475
+ readonly kind: "nested";
3476
+ }, {
3477
+ readonly name: "TokenArchived";
3478
+ readonly type: "ip_collection_erc_721::IPCollection::IPCollection::TokenArchived";
3479
+ readonly kind: "nested";
3480
+ }, {
3481
+ readonly name: "TokenArchivedBatch";
3482
+ readonly type: "ip_collection_erc_721::IPCollection::IPCollection::TokenArchivedBatch";
3483
+ readonly kind: "nested";
3484
+ }, {
3485
+ readonly name: "TokenTransferred";
3486
+ readonly type: "ip_collection_erc_721::IPCollection::IPCollection::TokenTransferred";
3487
+ readonly kind: "nested";
3488
+ }, {
3489
+ readonly name: "TokenTransferredBatch";
3490
+ readonly type: "ip_collection_erc_721::IPCollection::IPCollection::TokenTransferredBatch";
3491
+ readonly kind: "nested";
3492
+ }];
3493
+ }];
3494
+ declare const IPNftABI: readonly [{
3495
+ readonly type: "impl";
3496
+ readonly name: "ERC721Metadata";
3497
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
3498
+ }, {
3499
+ readonly type: "struct";
3500
+ readonly name: "core::byte_array::ByteArray";
3501
+ readonly members: readonly [{
3502
+ readonly name: "data";
3503
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
3504
+ }, {
3505
+ readonly name: "pending_word";
3506
+ readonly type: "core::felt252";
3507
+ }, {
3508
+ readonly name: "pending_word_len";
3509
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
3510
+ }];
3511
+ }, {
3512
+ readonly type: "struct";
3513
+ readonly name: "core::integer::u256";
3514
+ readonly members: readonly [{
3515
+ readonly name: "low";
3516
+ readonly type: "core::integer::u128";
3517
+ }, {
3518
+ readonly name: "high";
3519
+ readonly type: "core::integer::u128";
3520
+ }];
3521
+ }, {
3522
+ readonly type: "interface";
3523
+ readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
3524
+ readonly items: readonly [{
3525
+ readonly type: "function";
3526
+ readonly name: "name";
3527
+ readonly inputs: readonly [];
3528
+ readonly outputs: readonly [{
3529
+ readonly type: "core::byte_array::ByteArray";
3530
+ }];
3531
+ readonly state_mutability: "view";
3532
+ }, {
3533
+ readonly type: "function";
3534
+ readonly name: "symbol";
3535
+ readonly inputs: readonly [];
3536
+ readonly outputs: readonly [{
3537
+ readonly type: "core::byte_array::ByteArray";
3538
+ }];
3539
+ readonly state_mutability: "view";
3540
+ }, {
3541
+ readonly type: "function";
3542
+ readonly name: "token_uri";
3543
+ readonly inputs: readonly [{
3544
+ readonly name: "token_id";
3545
+ readonly type: "core::integer::u256";
3546
+ }];
3547
+ readonly outputs: readonly [{
3548
+ readonly type: "core::byte_array::ByteArray";
3549
+ }];
3550
+ readonly state_mutability: "view";
3551
+ }];
3552
+ }, {
3553
+ readonly type: "impl";
3554
+ readonly name: "ERC721MetadataCamelOnly";
3555
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
3556
+ }, {
3557
+ readonly type: "interface";
3558
+ readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
3559
+ readonly items: readonly [{
3560
+ readonly type: "function";
3561
+ readonly name: "tokenURI";
3562
+ readonly inputs: readonly [{
3563
+ readonly name: "tokenId";
3564
+ readonly type: "core::integer::u256";
3565
+ }];
3566
+ readonly outputs: readonly [{
3567
+ readonly type: "core::byte_array::ByteArray";
3568
+ }];
3569
+ readonly state_mutability: "view";
3570
+ }];
3571
+ }, {
3572
+ readonly type: "impl";
3573
+ readonly name: "IPNftImpl";
3574
+ readonly interface_name: "ip_collection_erc_721::interfaces::IIPNFT::IIPNft";
3575
+ }, {
3576
+ readonly type: "enum";
3577
+ readonly name: "core::bool";
3578
+ readonly variants: readonly [{
3579
+ readonly name: "False";
3580
+ readonly type: "()";
3581
+ }, {
3582
+ readonly name: "True";
3583
+ readonly type: "()";
3584
+ }];
3585
+ }, {
3586
+ readonly type: "struct";
3587
+ readonly name: "core::array::Span::<core::integer::u256>";
3588
+ readonly members: readonly [{
3589
+ readonly name: "snapshot";
3590
+ readonly type: "@core::array::Array::<core::integer::u256>";
3591
+ }];
3592
+ }, {
3593
+ readonly type: "interface";
3594
+ readonly name: "ip_collection_erc_721::interfaces::IIPNFT::IIPNft";
3595
+ readonly items: readonly [{
3596
+ readonly type: "function";
3597
+ readonly name: "mint";
3598
+ readonly inputs: readonly [{
3599
+ readonly name: "recipient";
3600
+ readonly type: "core::starknet::contract_address::ContractAddress";
3601
+ }, {
3602
+ readonly name: "token_id";
3603
+ readonly type: "core::integer::u256";
3604
+ }, {
3605
+ readonly name: "token_uri";
3606
+ readonly type: "core::byte_array::ByteArray";
3607
+ }];
3608
+ readonly outputs: readonly [];
3609
+ readonly state_mutability: "external";
3610
+ }, {
3611
+ readonly type: "function";
3612
+ readonly name: "archive";
3613
+ readonly inputs: readonly [{
3614
+ readonly name: "token_id";
3615
+ readonly type: "core::integer::u256";
3616
+ }];
3617
+ readonly outputs: readonly [];
3618
+ readonly state_mutability: "external";
3619
+ }, {
3620
+ readonly type: "function";
3621
+ readonly name: "is_archived";
3622
+ readonly inputs: readonly [{
3623
+ readonly name: "token_id";
3624
+ readonly type: "core::integer::u256";
3625
+ }];
3626
+ readonly outputs: readonly [{
3627
+ readonly type: "core::bool";
3628
+ }];
3629
+ readonly state_mutability: "view";
3630
+ }, {
3631
+ readonly type: "function";
3632
+ readonly name: "get_collection_id";
3633
+ readonly inputs: readonly [];
3634
+ readonly outputs: readonly [{
3635
+ readonly type: "core::integer::u256";
3636
+ }];
3637
+ readonly state_mutability: "view";
3638
+ }, {
3639
+ readonly type: "function";
3640
+ readonly name: "get_registry";
3641
+ readonly inputs: readonly [];
3642
+ readonly outputs: readonly [{
3643
+ readonly type: "core::starknet::contract_address::ContractAddress";
3644
+ }];
3645
+ readonly state_mutability: "view";
3646
+ }, {
3647
+ readonly type: "function";
3648
+ readonly name: "base_uri";
3649
+ readonly inputs: readonly [];
3650
+ readonly outputs: readonly [{
3651
+ readonly type: "core::byte_array::ByteArray";
3652
+ }];
3653
+ readonly state_mutability: "view";
3654
+ }, {
3655
+ readonly type: "function";
3656
+ readonly name: "all_tokens_of_owner";
3657
+ readonly inputs: readonly [{
3658
+ readonly name: "owner";
3659
+ readonly type: "core::starknet::contract_address::ContractAddress";
3660
+ }];
3661
+ readonly outputs: readonly [{
3662
+ readonly type: "core::array::Span::<core::integer::u256>";
3663
+ }];
3664
+ readonly state_mutability: "view";
3665
+ }, {
3666
+ readonly type: "function";
3667
+ readonly name: "token_exists";
3668
+ readonly inputs: readonly [{
3669
+ readonly name: "token_id";
3670
+ readonly type: "core::integer::u256";
3671
+ }];
3672
+ readonly outputs: readonly [{
3673
+ readonly type: "core::bool";
3674
+ }];
3675
+ readonly state_mutability: "view";
3676
+ }, {
3677
+ readonly type: "function";
3678
+ readonly name: "get_full_token_data";
3679
+ readonly inputs: readonly [{
3680
+ readonly name: "token_id";
3681
+ readonly type: "core::integer::u256";
3682
+ }];
3683
+ readonly outputs: readonly [{
3684
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::byte_array::ByteArray, core::starknet::contract_address::ContractAddress, core::integer::u64)";
3685
+ }];
3686
+ readonly state_mutability: "view";
3687
+ }, {
3688
+ readonly type: "function";
3689
+ readonly name: "get_token_creator";
3690
+ readonly inputs: readonly [{
3691
+ readonly name: "token_id";
3692
+ readonly type: "core::integer::u256";
3693
+ }];
3694
+ readonly outputs: readonly [{
3695
+ readonly type: "core::starknet::contract_address::ContractAddress";
3696
+ }];
3697
+ readonly state_mutability: "view";
3698
+ }, {
3699
+ readonly type: "function";
3700
+ readonly name: "get_token_registered_at";
3701
+ readonly inputs: readonly [{
3702
+ readonly name: "token_id";
3703
+ readonly type: "core::integer::u256";
3704
+ }];
3705
+ readonly outputs: readonly [{
3706
+ readonly type: "core::integer::u64";
3707
+ }];
3708
+ readonly state_mutability: "view";
3709
+ }];
3710
+ }, {
3711
+ readonly type: "impl";
3712
+ readonly name: "ERC721Impl";
3713
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721";
3714
+ }, {
3715
+ readonly type: "struct";
3716
+ readonly name: "core::array::Span::<core::felt252>";
3717
+ readonly members: readonly [{
3718
+ readonly name: "snapshot";
3719
+ readonly type: "@core::array::Array::<core::felt252>";
3720
+ }];
3721
+ }, {
3722
+ readonly type: "interface";
3723
+ readonly name: "openzeppelin_token::erc721::interface::IERC721";
3724
+ readonly items: readonly [{
3725
+ readonly type: "function";
3726
+ readonly name: "balance_of";
3727
+ readonly inputs: readonly [{
3728
+ readonly name: "account";
3729
+ readonly type: "core::starknet::contract_address::ContractAddress";
3730
+ }];
3731
+ readonly outputs: readonly [{
3732
+ readonly type: "core::integer::u256";
3733
+ }];
3734
+ readonly state_mutability: "view";
3735
+ }, {
3736
+ readonly type: "function";
3737
+ readonly name: "owner_of";
3738
+ readonly inputs: readonly [{
3739
+ readonly name: "token_id";
3740
+ readonly type: "core::integer::u256";
3741
+ }];
3742
+ readonly outputs: readonly [{
3743
+ readonly type: "core::starknet::contract_address::ContractAddress";
3744
+ }];
3745
+ readonly state_mutability: "view";
3746
+ }, {
3747
+ readonly type: "function";
3748
+ readonly name: "safe_transfer_from";
3749
+ readonly inputs: readonly [{
3750
+ readonly name: "from";
3751
+ readonly type: "core::starknet::contract_address::ContractAddress";
3752
+ }, {
3753
+ readonly name: "to";
3754
+ readonly type: "core::starknet::contract_address::ContractAddress";
3755
+ }, {
3756
+ readonly name: "token_id";
3757
+ readonly type: "core::integer::u256";
3758
+ }, {
3759
+ readonly name: "data";
3760
+ readonly type: "core::array::Span::<core::felt252>";
3761
+ }];
3762
+ readonly outputs: readonly [];
3763
+ readonly state_mutability: "external";
3764
+ }, {
3765
+ readonly type: "function";
3766
+ readonly name: "transfer_from";
3767
+ readonly inputs: readonly [{
3768
+ readonly name: "from";
3769
+ readonly type: "core::starknet::contract_address::ContractAddress";
3770
+ }, {
3771
+ readonly name: "to";
3772
+ readonly type: "core::starknet::contract_address::ContractAddress";
3773
+ }, {
3774
+ readonly name: "token_id";
3775
+ readonly type: "core::integer::u256";
3776
+ }];
3777
+ readonly outputs: readonly [];
3778
+ readonly state_mutability: "external";
3779
+ }, {
3780
+ readonly type: "function";
3781
+ readonly name: "approve";
3782
+ readonly inputs: readonly [{
3783
+ readonly name: "to";
3784
+ readonly type: "core::starknet::contract_address::ContractAddress";
3785
+ }, {
3786
+ readonly name: "token_id";
3787
+ readonly type: "core::integer::u256";
3788
+ }];
3789
+ readonly outputs: readonly [];
3790
+ readonly state_mutability: "external";
3791
+ }, {
3792
+ readonly type: "function";
3793
+ readonly name: "set_approval_for_all";
3794
+ readonly inputs: readonly [{
3795
+ readonly name: "operator";
3796
+ readonly type: "core::starknet::contract_address::ContractAddress";
3797
+ }, {
3798
+ readonly name: "approved";
3799
+ readonly type: "core::bool";
3800
+ }];
3801
+ readonly outputs: readonly [];
3802
+ readonly state_mutability: "external";
3803
+ }, {
3804
+ readonly type: "function";
3805
+ readonly name: "get_approved";
3806
+ readonly inputs: readonly [{
3807
+ readonly name: "token_id";
3808
+ readonly type: "core::integer::u256";
3809
+ }];
3810
+ readonly outputs: readonly [{
3811
+ readonly type: "core::starknet::contract_address::ContractAddress";
3812
+ }];
3813
+ readonly state_mutability: "view";
3814
+ }, {
3815
+ readonly type: "function";
3816
+ readonly name: "is_approved_for_all";
3817
+ readonly inputs: readonly [{
3818
+ readonly name: "owner";
3819
+ readonly type: "core::starknet::contract_address::ContractAddress";
3820
+ }, {
3821
+ readonly name: "operator";
3822
+ readonly type: "core::starknet::contract_address::ContractAddress";
3823
+ }];
3824
+ readonly outputs: readonly [{
3825
+ readonly type: "core::bool";
3826
+ }];
3827
+ readonly state_mutability: "view";
3828
+ }];
3829
+ }, {
3830
+ readonly type: "impl";
3831
+ readonly name: "ERC721CamelOnly";
3832
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
3833
+ }, {
3834
+ readonly type: "interface";
3835
+ readonly name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
3836
+ readonly items: readonly [{
3837
+ readonly type: "function";
3838
+ readonly name: "balanceOf";
3839
+ readonly inputs: readonly [{
3840
+ readonly name: "account";
3841
+ readonly type: "core::starknet::contract_address::ContractAddress";
3842
+ }];
3843
+ readonly outputs: readonly [{
3844
+ readonly type: "core::integer::u256";
3845
+ }];
3846
+ readonly state_mutability: "view";
3847
+ }, {
3848
+ readonly type: "function";
3849
+ readonly name: "ownerOf";
3850
+ readonly inputs: readonly [{
3851
+ readonly name: "tokenId";
3852
+ readonly type: "core::integer::u256";
3853
+ }];
3854
+ readonly outputs: readonly [{
3855
+ readonly type: "core::starknet::contract_address::ContractAddress";
3856
+ }];
3857
+ readonly state_mutability: "view";
3858
+ }, {
3859
+ readonly type: "function";
3860
+ readonly name: "safeTransferFrom";
3861
+ readonly inputs: readonly [{
3862
+ readonly name: "from";
3863
+ readonly type: "core::starknet::contract_address::ContractAddress";
3864
+ }, {
3865
+ readonly name: "to";
3866
+ readonly type: "core::starknet::contract_address::ContractAddress";
3867
+ }, {
3868
+ readonly name: "tokenId";
3869
+ readonly type: "core::integer::u256";
3870
+ }, {
3871
+ readonly name: "data";
3872
+ readonly type: "core::array::Span::<core::felt252>";
3873
+ }];
3874
+ readonly outputs: readonly [];
3875
+ readonly state_mutability: "external";
3876
+ }, {
3877
+ readonly type: "function";
3878
+ readonly name: "transferFrom";
3879
+ readonly inputs: readonly [{
3880
+ readonly name: "from";
3881
+ readonly type: "core::starknet::contract_address::ContractAddress";
3882
+ }, {
3883
+ readonly name: "to";
3884
+ readonly type: "core::starknet::contract_address::ContractAddress";
3885
+ }, {
3886
+ readonly name: "tokenId";
3887
+ readonly type: "core::integer::u256";
3888
+ }];
3889
+ readonly outputs: readonly [];
3890
+ readonly state_mutability: "external";
3891
+ }, {
3892
+ readonly type: "function";
3893
+ readonly name: "setApprovalForAll";
3894
+ readonly inputs: readonly [{
3895
+ readonly name: "operator";
3896
+ readonly type: "core::starknet::contract_address::ContractAddress";
3897
+ }, {
3898
+ readonly name: "approved";
3899
+ readonly type: "core::bool";
3900
+ }];
3901
+ readonly outputs: readonly [];
3902
+ readonly state_mutability: "external";
3903
+ }, {
3904
+ readonly type: "function";
3905
+ readonly name: "getApproved";
3906
+ readonly inputs: readonly [{
3907
+ readonly name: "tokenId";
3908
+ readonly type: "core::integer::u256";
3909
+ }];
3910
+ readonly outputs: readonly [{
3911
+ readonly type: "core::starknet::contract_address::ContractAddress";
3912
+ }];
3913
+ readonly state_mutability: "view";
3914
+ }, {
3915
+ readonly type: "function";
3916
+ readonly name: "isApprovedForAll";
3917
+ readonly inputs: readonly [{
3918
+ readonly name: "owner";
3919
+ readonly type: "core::starknet::contract_address::ContractAddress";
3920
+ }, {
3921
+ readonly name: "operator";
3922
+ readonly type: "core::starknet::contract_address::ContractAddress";
3923
+ }];
3924
+ readonly outputs: readonly [{
3925
+ readonly type: "core::bool";
3926
+ }];
3927
+ readonly state_mutability: "view";
3928
+ }];
3929
+ }, {
3930
+ readonly type: "impl";
3931
+ readonly name: "ERC721EnumerableImpl";
3932
+ readonly interface_name: "openzeppelin_token::erc721::extensions::erc721_enumerable::interface::IERC721Enumerable";
3933
+ }, {
3934
+ readonly type: "interface";
3935
+ readonly name: "openzeppelin_token::erc721::extensions::erc721_enumerable::interface::IERC721Enumerable";
3936
+ readonly items: readonly [{
3937
+ readonly type: "function";
3938
+ readonly name: "total_supply";
3939
+ readonly inputs: readonly [];
3940
+ readonly outputs: readonly [{
3941
+ readonly type: "core::integer::u256";
3942
+ }];
3943
+ readonly state_mutability: "view";
3944
+ }, {
3945
+ readonly type: "function";
3946
+ readonly name: "token_by_index";
3947
+ readonly inputs: readonly [{
3948
+ readonly name: "index";
3949
+ readonly type: "core::integer::u256";
3950
+ }];
3951
+ readonly outputs: readonly [{
3952
+ readonly type: "core::integer::u256";
3953
+ }];
3954
+ readonly state_mutability: "view";
3955
+ }, {
3956
+ readonly type: "function";
3957
+ readonly name: "token_of_owner_by_index";
3958
+ readonly inputs: readonly [{
3959
+ readonly name: "owner";
3960
+ readonly type: "core::starknet::contract_address::ContractAddress";
3961
+ }, {
3962
+ readonly name: "index";
3963
+ readonly type: "core::integer::u256";
3964
+ }];
3965
+ readonly outputs: readonly [{
3966
+ readonly type: "core::integer::u256";
3967
+ }];
3968
+ readonly state_mutability: "view";
3969
+ }];
3970
+ }, {
3971
+ readonly type: "impl";
3972
+ readonly name: "SRC5Impl";
3973
+ readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
3974
+ }, {
3975
+ readonly type: "interface";
3976
+ readonly name: "openzeppelin_introspection::interface::ISRC5";
3977
+ readonly items: readonly [{
3978
+ readonly type: "function";
3979
+ readonly name: "supports_interface";
3980
+ readonly inputs: readonly [{
3981
+ readonly name: "interface_id";
3982
+ readonly type: "core::felt252";
3983
+ }];
3984
+ readonly outputs: readonly [{
3985
+ readonly type: "core::bool";
3986
+ }];
3987
+ readonly state_mutability: "view";
3988
+ }];
3989
+ }, {
3990
+ readonly type: "constructor";
3991
+ readonly name: "constructor";
3992
+ readonly inputs: readonly [{
3993
+ readonly name: "name";
3994
+ readonly type: "core::byte_array::ByteArray";
3995
+ }, {
3996
+ readonly name: "symbol";
3997
+ readonly type: "core::byte_array::ByteArray";
3998
+ }, {
3999
+ readonly name: "base_uri";
4000
+ readonly type: "core::byte_array::ByteArray";
4001
+ }, {
4002
+ readonly name: "collection_id";
4003
+ readonly type: "core::integer::u256";
4004
+ }, {
4005
+ readonly name: "registry";
4006
+ readonly type: "core::starknet::contract_address::ContractAddress";
4007
+ }];
4008
+ }, {
4009
+ readonly type: "event";
4010
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
4011
+ readonly kind: "struct";
4012
+ readonly members: readonly [{
4013
+ readonly name: "from";
4014
+ readonly type: "core::starknet::contract_address::ContractAddress";
4015
+ readonly kind: "key";
4016
+ }, {
4017
+ readonly name: "to";
4018
+ readonly type: "core::starknet::contract_address::ContractAddress";
4019
+ readonly kind: "key";
4020
+ }, {
4021
+ readonly name: "token_id";
4022
+ readonly type: "core::integer::u256";
4023
+ readonly kind: "key";
4024
+ }];
4025
+ }, {
4026
+ readonly type: "event";
4027
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
4028
+ readonly kind: "struct";
4029
+ readonly members: readonly [{
4030
+ readonly name: "owner";
4031
+ readonly type: "core::starknet::contract_address::ContractAddress";
4032
+ readonly kind: "key";
4033
+ }, {
4034
+ readonly name: "approved";
4035
+ readonly type: "core::starknet::contract_address::ContractAddress";
4036
+ readonly kind: "key";
4037
+ }, {
4038
+ readonly name: "token_id";
4039
+ readonly type: "core::integer::u256";
4040
+ readonly kind: "key";
4041
+ }];
4042
+ }, {
4043
+ readonly type: "event";
4044
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
4045
+ readonly kind: "struct";
4046
+ readonly members: readonly [{
4047
+ readonly name: "owner";
4048
+ readonly type: "core::starknet::contract_address::ContractAddress";
4049
+ readonly kind: "key";
4050
+ }, {
4051
+ readonly name: "operator";
4052
+ readonly type: "core::starknet::contract_address::ContractAddress";
4053
+ readonly kind: "key";
4054
+ }, {
4055
+ readonly name: "approved";
4056
+ readonly type: "core::bool";
4057
+ readonly kind: "data";
4058
+ }];
4059
+ }, {
4060
+ readonly type: "event";
4061
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
4062
+ readonly kind: "enum";
4063
+ readonly variants: readonly [{
4064
+ readonly name: "Transfer";
4065
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
4066
+ readonly kind: "nested";
4067
+ }, {
4068
+ readonly name: "Approval";
4069
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
4070
+ readonly kind: "nested";
4071
+ }, {
4072
+ readonly name: "ApprovalForAll";
4073
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
4074
+ readonly kind: "nested";
4075
+ }];
4076
+ }, {
4077
+ readonly type: "event";
4078
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
4079
+ readonly kind: "enum";
4080
+ readonly variants: readonly [];
4081
+ }, {
4082
+ readonly type: "event";
4083
+ readonly name: "openzeppelin_token::erc721::extensions::erc721_enumerable::erc721_enumerable::ERC721EnumerableComponent::Event";
4084
+ readonly kind: "enum";
4085
+ readonly variants: readonly [];
4086
+ }, {
4087
+ readonly type: "event";
4088
+ readonly name: "ip_collection_erc_721::IPNft::IPNft::Event";
4089
+ readonly kind: "enum";
4090
+ readonly variants: readonly [{
4091
+ readonly name: "ERC721Event";
4092
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
4093
+ readonly kind: "flat";
4094
+ }, {
4095
+ readonly name: "SRC5Event";
4096
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
4097
+ readonly kind: "flat";
4098
+ }, {
4099
+ readonly name: "ERC721EnumerableEvent";
4100
+ readonly type: "openzeppelin_token::erc721::extensions::erc721_enumerable::erc721_enumerable::ERC721EnumerableComponent::Event";
4101
+ readonly kind: "flat";
4102
+ }];
4103
+ }];
2903
4104
 
2904
4105
  /**
2905
4106
  * Normalize a Starknet address to a 0x-prefixed 64-character hex string.
@@ -2991,4 +4192,4 @@ declare function build1155FulfillmentTypedData(message: Record<string, unknown>,
2991
4192
  */
2992
4193
  declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
2993
4194
 
2994
- export { type ActivityType, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, ApiClient, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintItemParams, COLLECTION_1155_CLASS_HASH_MAINNET, COLLECTION_1155_CONTRACT_MAINNET, COLLECTION_721_CONTRACT_MAINNET, COLLECTION_CONTRACT_MAINNET, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type ClaimConditions, CollectionRegistryABI, type CollectionSort, type CollectionSource, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateDropParams, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, DEFAULT_RPC_URL, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, ERC1155CollectionService, ERC1155_COLLECTION_CLASS_HASH_MAINNET, ERC1155_FACTORY_CONTRACT_MAINNET, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, type Fulfillment, INDEXER_START_BLOCK_MAINNET, IPCollection1155ABI, IPCollection1155FactoryABI, IPMarketplaceABI, type IPType, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, MARKETPLACE_1155_CLASS_HASH_MAINNET, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_1155_START_BLOCK_MAINNET, MARKETPLACE_721_CLASS_HASH_MAINNET, MARKETPLACE_721_CONTRACT_MAINNET, MARKETPLACE_721_START_BLOCK_MAINNET, MARKETPLACE_CLASS_HASH_MAINNET, MARKETPLACE_CONTRACT_MAINNET, MARKETPLACE_START_BLOCK_MAINNET, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintItemParams, type MintParams, NFTCOMMENTS_CONTRACT_MAINNET, type Network, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type RetryOptions, SUPPORTED_NETWORKS, SUPPORTED_TOKENS, type SortOrder, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, type TxResult, type WebhookEventType, type WebhookStatus, build1155CancellationTypedData, build1155FulfillmentTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFulfillmentTypedData, buildOrderTypedData, encodeByteArray, formatAmount, getListableTokens, getTokenByAddress, getTokenBySymbol, normalizeAddress, parseAmount, resolveConfig, shortenAddress, stringifyBigInts, u256ToBigInt };
4195
+ export { type ActivityType, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, ApiClient, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionSlugClaim, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintItemParams, COLLECTION_1155_CLASS_HASH_MAINNET, COLLECTION_1155_CONTRACT_MAINNET, COLLECTION_721_CONTRACT_MAINNET, COLLECTION_CONTRACT_MAINNET, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type ClaimConditions, CollectionRegistryABI, type CollectionSort, type CollectionSource, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateDropParams, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, DEFAULT_RPC_URL, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, ERC1155CollectionService, ERC1155_COLLECTION_CLASS_HASH_MAINNET, ERC1155_FACTORY_CONTRACT_MAINNET, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, type Fulfillment, INDEXER_START_BLOCK_MAINNET, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNftABI, type IPType, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, MARKETPLACE_1155_CLASS_HASH_MAINNET, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_1155_START_BLOCK_MAINNET, MARKETPLACE_721_CLASS_HASH_MAINNET, MARKETPLACE_721_CONTRACT_MAINNET, MARKETPLACE_721_START_BLOCK_MAINNET, MARKETPLACE_CLASS_HASH_MAINNET, MARKETPLACE_CONTRACT_MAINNET, MARKETPLACE_START_BLOCK_MAINNET, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintItemParams, type MintParams, NFTCOMMENTS_CONTRACT_MAINNET, type Network, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type RetryOptions, SUPPORTED_NETWORKS, SUPPORTED_TOKENS, type SortOrder, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, type TxResult, type WebhookEventType, type WebhookStatus, build1155CancellationTypedData, build1155FulfillmentTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFulfillmentTypedData, buildOrderTypedData, encodeByteArray, formatAmount, getListableTokens, getTokenByAddress, getTokenBySymbol, normalizeAddress, parseAmount, resolveConfig, shortenAddress, stringifyBigInts, u256ToBigInt };